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:
2026-07-02 23:40:45 +02:00
parent 1c3fa03533
commit dc699be976
9 changed files with 891 additions and 8 deletions

View File

@@ -4,11 +4,12 @@ type: workplan
title: "Ops-Warden Cross-Runtime Memory Profile And Contracts"
domain: communication
repo: phase-memory
status: proposed
status: finished
owner: codex
topic_slug: phase-memory
created: "2026-07-02"
updated: "2026-07-02"
state_hub_workstream_id: "0f817f83-bb43-4e60-b3a7-b7cca0e9e6ed"
---
# PMEM-WP-0016: Ops-Warden Cross-Runtime Memory Profile And Contracts
@@ -81,8 +82,9 @@ activation budget — not in storage location.
```task
id: PMEM-WP-0016-T01
status: todo
status: done
priority: high
state_hub_task_id: "53dbc3f0-d2cb-4e0a-b558-64166ab976f3"
```
Author the `ops-warden-coordination` memory profile covering routing,
@@ -102,8 +104,9 @@ Acceptance:
```task
id: PMEM-WP-0016-T02
status: todo
status: done
priority: high
state_hub_task_id: "6933918e-3ae0-4e0b-aade-1fbcf88ef0a1"
```
Define the `phase_memory.ops_warden.runtime.v1` contract: canonical store path
@@ -123,8 +126,9 @@ Acceptance:
```task
id: PMEM-WP-0016-T03
status: todo
status: done
priority: high
state_hub_task_id: "9d436ccb-11df-49f1-82bd-eb75b1834018"
```
Define metadata-only event schemas for coding agent sessions (Claude, Codex,
@@ -143,8 +147,9 @@ Acceptance:
```task
id: PMEM-WP-0016-T04
status: todo
status: done
priority: high
state_hub_task_id: "2f1f65a3-9a82-4854-83bb-20ef5eb3bac8"
```
Build an ops-warden activation pack that retrieves relevant coordination
@@ -164,8 +169,9 @@ Acceptance:
```task
id: PMEM-WP-0016-T05
status: todo
status: done
priority: medium
state_hub_task_id: "ba0d35b3-2de1-483f-9761-cec5cbe3e8da"
```
Add evaluation scenarios and trend metrics for ops-warden memory quality across
@@ -184,8 +190,9 @@ Acceptance:
```task
id: PMEM-WP-0016-T06
status: todo
status: done
priority: medium
state_hub_task_id: "d430906b-6852-4328-8bc9-ad8c79fa8b03"
```
Publish a live-shaped ops-warden adapter pack and conformance suite for
@@ -217,4 +224,13 @@ Acceptance:
## Closure Review
Pending implementation.
Implemented cross-runtime memory contracts and activation helpers:
- `ops-warden-coordination` profile fixture with activation budgets and
`secrets_allowed: false`.
- `phase_memory.ops_warden.runtime.v1` contract with canonical store path,
`session_kind` coverage, and secret-field rejection.
- Agent session event schema supporting claude, codex, grok, and future agent ids.
- `activate_ops_warden_memory`, stabilized route matching, and ops-warden adapter
pack with evaluation scenarios and report helpers.
- Contract documentation in `docs/ops-warden-memory-contract.md`.