Files
coulomb-loop/activity-definitions/weekly-metrics-health-sweep.md
tegwick 27e05552a2 Complete LOOP-WP-0005: DEC-008 weekly operate promotion
Operator override per ADR-003 closes the stabilize observation window
early (day 2/14) and promotes all four loops to weekly Mon crons.
Activity definitions renamed coulomb-daily-* → coulomb-weekly-*;
cadence.yml, dashboard, SCOPE, and health records updated.
activity-core definition sync still required on operator side.
2026-06-19 01:39:47 +02:00

1.2 KiB

id, name, enabled, owner, governance, status, trigger, context_sources
id name enabled owner governance status trigger context_sources
coulomb-weekly-metrics-health-sweep Weekly Metrics Health Sweep (coulomb-loop backup) false coulomb-loop coulomb_social proposed
type cron_expression timezone misfire_policy
cron 0 6 * * 1 Europe/Berlin skip
type query params bind_to
kaizen discover_kaizen_projects
marker roster
.kaizen/metrics /home/worsch/coulomb-loop/loops/kaizen-stack/roster.yaml
context.projects

Weekly Metrics Health Sweep (backup)

Operate-phase backup per LOOP-WP-0002. Primary path is event-driven low-success-rate-review; enable only if the event bus is down.

id: flag-low-success-weekly
for_each: context.projects
bind_as: p
condition: 'context.p.summary.success_rate < 0.8 and context.p.summary.execution_count >= 5'
action:
  task_template: "Review {context.p.agent} success rate on {context.p.repo}"
  description: |
    Agent metrics below threshold on {context.p.repo}.
    kaizen-agentic metrics show <agent>
    kaizen-agentic metrics optimize <agent>
    Load agents/agent-optimization.md for review.
  target_repo: context.p.repo
  priority: high
  labels: ["kaizen", "quality-escalation", "coulomb-loop", "backup"]