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>
Adds a State Hub Task IDs table to each workplan file so task UUIDs are
always available without requiring list_tasks lookups in future sessions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Integrates sys-medic as a standard kaizen-agentic agent with YAML frontmatter,
source attribution, and single-prompt format. Validated via list and validate.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Three-part workplan (27 tasks) covering:
- Part 1: sys-medic integration as standard kaizen-agentic agent (T01-T06)
- Part 2: agency framework — project memory model, coaching meta-agent,
and CLI memory command group (T07-T16)
- Part 3: sys-medic extended with protocols runbook and node-profile
memory, built on the Part 2 framework (T17-T27)
Workstream registered in state-hub as kaizen-wp-0002-agency-framework.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Moves 8 tasks from TODO.md [Unreleased] into
workplans/kaizen-agentic-WP-0001-community-engagement.md and registers
them in the state-hub as workstream kaizen-wp-0001-community-engagement.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>