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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user