Files
coulomb-loop/activity-definitions/weekly-loop-health-collector.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.5 KiB

id, name, enabled, owner, governance, status, trigger, context_sources
id name enabled owner governance status trigger context_sources
coulomb-weekly-loop-health-collector Weekly Loop Health Collector (coulomb-loop regulator) false coulomb-loop coulomb_social proposed
type cron_expression timezone misfire_policy
cron 0 11 * * 1 Europe/Berlin skip
type query params bind_to required
state-hub recently_on_scope_hourly
range active_only
1h true
context.hub_activity false
type query params bind_to
kaizen discover_kaizen_projects
marker roster
.kaizen/metrics /home/worsch/coulomb-loop/loops/kaizen-stack/roster.yaml
context.pilot_metrics

Weekly Loop Health Collector

LOOP-WP-0004 — aggregates first-order loop health for regulator sessions. Weekly 0 11 * * 1 aligned with regulator session (DEC-008).

id: append-health-snapshot
description: |
  For each loop in coulomb-loop/loops/*/cadence.yml, append one JSON line to
  loops/<loop-id>/health.jsonl with:
  - timestamp, phase, tasks_created (from hub), manual_rescues (bootstrap-log),
    agent_success_rate (pilot metrics avg), false_positive_rate (estimate).
  Regenerate loops/regulator/dashboard.md from last 7d of health.jsonl files.
  If demotion trigger from state-machine.md fires, create urgent optimization task.

Keep enabled: false until instruction executor supports file-append actions. Manual collection documented in loops/regulator/session-template.md.