feat(agency): complete WP-0002 Part 3 — E2E tests, docs, sys-medic cross-refs, bugfix
T25: add tests/test_e2e_agency_framework.py — 16 E2E tests covering the full memory lifecycle (init, show, brief, clear) and protocol list/show commands. T26: replace agency-framework.md protocols placeholder with full documentation — location convention, frontmatter schema, CLI reference, sys-medic memory extensions, and protocols table. T27: add Related Documents footer to agent-sys-medic.md linking to the k3s protocol runbook, ADR-002, ADR-003, and agency-framework.md. Fix: rename CLI command function list() → list_agents() to stop it shadowing Python's built-in list(). The shadow caused memory_brief() to invoke the agent-list command instead of constructing a list from dict keys, producing the agent list as output on every `memory brief` invocation. All 27 WP-0002 tasks complete. Test suite: 51 passed, 1 skipped. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -355,3 +355,12 @@ sys-medic's memory file (`.kaizen/agents/sys-medic/memory.md`) extends the base
|
||||
```
|
||||
|
||||
These sections are maintained by the session-close protocol above.
|
||||
|
||||
---
|
||||
|
||||
# Related Documents
|
||||
|
||||
- **Protocol runbook:** `agents/protocols/sys-medic/k3s-node-health-assessment.md`
|
||||
- **Memory convention:** `docs/adr/ADR-002-project-memory-convention.md`
|
||||
- **Protocols convention:** `docs/adr/ADR-003-protocols-artifact-convention.md`
|
||||
- **Agency framework:** `docs/agency-framework.md`
|
||||
|
||||
Reference in New Issue
Block a user