Files
coulomb-loop/activity-definitions/hourly-metrics-health-sweep.md
tegwick e783dc9a2b Bootstrap coulomb-loop engagement: governance, loops, and activity definitions.
Register with state-hub, accept DEC-001–004 and ADR-004 rotation policy, scaffold
pilot roster, hourly ActivityDefinition copies, and bootstrap log after schedule
init on three custodian pilot repos.
2026-06-18 04:53:51 +02:00

1.1 KiB

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

Hourly Metrics Health Sweep

Bootstrap fallback per DEC-002 option A until kaizen.metrics.recorded events ship.

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