Add metrics CLI for project-scoped agent performance records.

Implement record, show, list, and export commands; document session-close
protocol template; extend cheat sheet and agency-framework docs; add CLI tests.
This commit is contained in:
2026-06-16 01:38:42 +02:00
parent 5cd3da3166
commit 97b7eb8cba
6 changed files with 303 additions and 5 deletions

View File

@@ -121,10 +121,10 @@ kaizen-agentic metrics export <agent> # Dump executions.jsonl to stdout
### Tasks
- [ ] T05 — Implement `metrics` CLI command group (record, show, list, export)
- [ ] T06 — Integrate `metrics record` into session-close protocol template for pilot agents
- [ ] T07 — CLI tests for metrics commands (click.testing, temp project dir)
- [ ] T08 — Update `docs/CLI_CHEAT_SHEET.md` and `docs/agency-framework.md` with metrics section
- [x] T05 — Implement `metrics` CLI command group (record, show, list, export)
- [x] T06 — Integrate `metrics record` into session-close protocol template for pilot agents
- [x] T07 — CLI tests for metrics commands (click.testing, temp project dir)
- [x] T08 — Update `docs/CLI_CHEAT_SHEET.md` and `docs/agency-framework.md` with metrics section
### Definition of done