Files
coulomb-loop/activity-definitions/hourly-loop-health-collector.md
tegwick 169a71f3e3 feat: advance LOOP-WP-0002/0003/0004 without activity-core blockers
Document event payload contract, draft disabled ActivityDefinitions for
CI/regulator/registry hygiene, initialize loop health snapshots and
regulator dashboard, record DEC-005 kaizen-stack promotion, and close
supplier-independent workplan tasks.
2026-06-18 13:10:59 +02:00

46 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: coulomb-hourly-loop-health-collector
name: Hourly Loop Health Collector (coulomb-loop regulator)
enabled: false
owner: coulomb-loop
governance: coulomb_social
status: proposed
trigger:
type: cron
cron_expression: "50 * * * *"
timezone: Europe/Berlin
misfire_policy: skip
context_sources:
- type: state-hub
query: recently_on_scope_hourly
params:
range: 1h
active_only: true
bind_to: context.hub_activity
required: false
- type: kaizen
query: discover_kaizen_projects
params:
marker: .kaizen/metrics
roster: /home/worsch/coulomb-loop/loops/kaizen-stack/roster.yaml
bind_to: context.pilot_metrics
---
# Hourly Loop Health Collector
LOOP-WP-0004 T03 — aggregates first-order loop health for regulator sessions.
Cron `50 * * * *` runs after kaizen stack (0810 daily) and quality sweep chain.
```instruction
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 24h 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` (T05).