Implement WARDEN-WP-0024 experiential memory and agent sessions.
Add phase-memory bridge, warden memory CLI, route/access/sign recording, memory-aware worker planning with OpenRouter skip, tests, wiki, and AGENTS.md orientation for Claude, Codex, Grok, and future agent sessions.
This commit is contained in:
parent
2f532699fa
commit
04929e7981
9 changed files with 568 additions and 14 deletions
23
AGENTS.md
23
AGENTS.md
|
|
@ -156,6 +156,29 @@ get wrong.
|
|||
<!-- Append repo-specific agent instructions below this marker.
|
||||
The state-hub template sync preserves content after this line. -->
|
||||
|
||||
## Experiential memory (WARDEN-WP-0024)
|
||||
|
||||
ops-warden shares a **phase-memory** store across worker ticks, coding agent
|
||||
sessions, and operator CLI use.
|
||||
|
||||
**At session start** (Claude Code, Codex, Grok, or future agents):
|
||||
|
||||
```bash
|
||||
export WARDEN_AGENT_ID=grok # or claude, codex
|
||||
warden memory activate --json
|
||||
```
|
||||
|
||||
**During work:** use normal `warden route` / `warden access` / `warden sign`;
|
||||
episodes are recorded automatically unless `WARDEN_MEMORY=0`.
|
||||
|
||||
**Store:** `~/.local/share/warden/memory/` (override: `WARDEN_MEMORY_STORE`).
|
||||
|
||||
**Worker:** `warden worker run --brain llm` skips OpenRouter when stabilized
|
||||
routing memory matches. See `wiki/OpsWardenMemory.md`.
|
||||
|
||||
Requires `phase-memory` on `PYTHONPATH` or installed; contract in
|
||||
`phase-memory/docs/ops-warden-memory-contract.md`.
|
||||
|
||||
---
|
||||
|
||||
## Workplan Convention (ADR-001)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue