2026-06-18 04:53:51 +02:00
|
|
|
---
|
2026-06-19 01:39:47 +02:00
|
|
|
id: coulomb-weekly-metrics-health-sweep
|
|
|
|
|
name: Weekly Metrics Health Sweep (coulomb-loop backup)
|
2026-06-18 04:53:51 +02:00
|
|
|
enabled: false
|
|
|
|
|
owner: coulomb-loop
|
|
|
|
|
governance: coulomb_social
|
|
|
|
|
status: proposed
|
|
|
|
|
trigger:
|
|
|
|
|
type: cron
|
2026-06-19 01:39:47 +02:00
|
|
|
cron_expression: "0 6 * * 1"
|
2026-06-18 04:53:51 +02:00
|
|
|
timezone: Europe/Berlin
|
|
|
|
|
misfire_policy: skip
|
|
|
|
|
context_sources:
|
2026-06-18 07:46:46 +02:00
|
|
|
- type: kaizen
|
2026-06-18 04:53:51 +02:00
|
|
|
query: discover_kaizen_projects
|
|
|
|
|
params:
|
|
|
|
|
marker: .kaizen/metrics
|
|
|
|
|
roster: /home/worsch/coulomb-loop/loops/kaizen-stack/roster.yaml
|
|
|
|
|
bind_to: context.projects
|
|
|
|
|
---
|
|
|
|
|
|
2026-06-19 01:39:47 +02:00
|
|
|
# Weekly Metrics Health Sweep (backup)
|
2026-06-18 04:53:51 +02:00
|
|
|
|
2026-06-19 01:39:47 +02:00
|
|
|
Operate-phase backup per LOOP-WP-0002. Primary path is event-driven
|
2026-06-18 15:02:41 +02:00
|
|
|
`low-success-rate-review`; enable only if the event bus is down.
|
2026-06-18 04:53:51 +02:00
|
|
|
|
|
|
|
|
```rule
|
2026-06-19 01:39:47 +02:00
|
|
|
id: flag-low-success-weekly
|
2026-06-18 04:53:51 +02:00
|
|
|
for_each: context.projects
|
|
|
|
|
bind_as: p
|
2026-06-18 08:11:09 +02:00
|
|
|
condition: 'context.p.summary.success_rate < 0.8 and context.p.summary.execution_count >= 5'
|
2026-06-18 04:53:51 +02:00
|
|
|
action:
|
2026-06-18 08:11:09 +02:00
|
|
|
task_template: "Review {context.p.agent} success rate on {context.p.repo}"
|
2026-06-18 04:53:51 +02:00
|
|
|
description: |
|
2026-06-18 08:11:09 +02:00
|
|
|
Agent metrics below threshold on {context.p.repo}.
|
2026-06-18 04:53:51 +02:00
|
|
|
kaizen-agentic metrics show <agent>
|
|
|
|
|
kaizen-agentic metrics optimize <agent>
|
|
|
|
|
Load agents/agent-optimization.md for review.
|
2026-06-18 08:11:09 +02:00
|
|
|
target_repo: context.p.repo
|
2026-06-18 04:53:51 +02:00
|
|
|
priority: high
|
2026-06-18 15:02:41 +02:00
|
|
|
labels: ["kaizen", "quality-escalation", "coulomb-loop", "backup"]
|
2026-06-18 04:53:51 +02:00
|
|
|
```
|