Implement PMEM-WP-0016 ops-warden cross-runtime memory contracts.
Add ops-warden coordination profile, session event schemas, activation helpers, adapter pack, evaluation scenarios, and contract documentation for shared memory across worker, agent session, and operator CLI surfaces.
This commit is contained in:
parent
1c3fa03533
commit
dc699be976
9 changed files with 891 additions and 8 deletions
31
tests/fixtures/ops-warden-evaluation-scenarios.json
vendored
Normal file
31
tests/fixtures/ops-warden-evaluation-scenarios.json
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"schema_version": "phase_memory.evaluation.scenarios.v1",
|
||||
"scenarios": [
|
||||
{
|
||||
"id": "ops-warden-routing-repeat",
|
||||
"events": [
|
||||
{"session_kind": "warden.agent.grok", "command": "route find", "need_fingerprint": "abc123", "route_id": "openbao-api-key", "outcome": "resolved"},
|
||||
{"session_kind": "warden.agent.grok", "command": "route find", "need_fingerprint": "abc123", "route_id": "openbao-api-key", "outcome": "resolved"},
|
||||
{"session_kind": "warden.worker", "command": "worker run", "need_fingerprint": "abc123", "route_id": "openbao-api-key", "outcome": "resolved"}
|
||||
],
|
||||
"expect": {"stabilized": true, "continuity": true}
|
||||
},
|
||||
{
|
||||
"id": "ops-warden-cross-runtime-continuity",
|
||||
"events": [
|
||||
{"session_kind": "warden.agent.claude", "command": "route find", "outcome": "resolved"},
|
||||
{"session_kind": "warden.worker", "command": "worker run", "outcome": "escalated"}
|
||||
],
|
||||
"expect": {"continuity": true}
|
||||
},
|
||||
{
|
||||
"id": "ops-warden-llm-avoidance",
|
||||
"events": [
|
||||
{"session_kind": "warden.operator", "command": "route find", "need_fingerprint": "def456", "route_id": "ops-bridge-tunnel", "outcome": "resolved"},
|
||||
{"session_kind": "warden.operator", "command": "route find", "need_fingerprint": "def456", "route_id": "ops-bridge-tunnel", "outcome": "resolved"},
|
||||
{"session_kind": "warden.worker", "command": "memory.activate", "outcome": "resolved", "metadata": {"llm_calls_avoided": true}}
|
||||
],
|
||||
"expect": {"llm_calls_avoided": true}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue