coulomb-loop/loops/regulator/health-model.md

23 lines
697 B
Markdown
Raw Normal View History

# Loop Health Model
Per LOOP-WP-0004 T01. Metrics appended to `loops/<loop-id>/health.jsonl`.
## Per-loop metrics
| Field | Source |
|-------|--------|
| `tasks_created` | state-hub / activity-core |
| `tasks_completed` | state-hub task status |
| `manual_rescues` | `bootstrap-log.md` entries |
| `false_positive_rate` | duplicate tasks / total |
| `agent_success_rate` | `.kaizen/metrics/<agent>/summary.json` |
| `mean_session_time_sec` | metrics executions |
## Per-repo rotation (ADR-004)
| Field | Source |
|-------|--------|
| `saturation_score` | `rotation-policy.yml` signals |
| `marginal_gain` | hub progress events + git activity proxy |
See `rotation-policy.yml` for thresholds.