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

@@ -48,6 +48,27 @@ kaizen-agentic status # Show current project status
kaizen-agentic validate # Validate agent installation
```
### Project Metrics (ADR-004)
```bash
# Record outcome at session close
kaizen-agentic metrics record tdd-workflow --success --time 120 --quality 0.9
kaizen-agentic metrics record tdd-workflow --failure --time 45
# Full JSON record from stdin
echo '{"success": true, "quality_score": 1.0}' | kaizen-agentic metrics record tdd-workflow --json
# Inspect metrics
kaizen-agentic metrics show tdd-workflow
kaizen-agentic metrics list
kaizen-agentic metrics export tdd-workflow
# Scaffold memory + metrics together
kaizen-agentic memory init tdd-workflow
kaizen-agentic memory init tdd-workflow --no-metrics # memory only
```
Session-close template: `docs/templates/session-close-protocol.md`
### Information
```bash
# List templates