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.
This commit is contained in:
2026-06-19 01:39:47 +02:00
parent 78b82dd17b
commit 27e05552a2
22 changed files with 227 additions and 173 deletions

View File

@@ -16,7 +16,7 @@ context_sources:
# Low Agent Success Rate Review
Enabled 2026-06-18 after activity-core event-payload resolver (ACTIVITY-WP-0011).
Fallback: `daily-metrics-health-sweep.md` at `0 6 * * *`.
Fallback: `weekly-metrics-health-sweep.md` at `0 6 * * 1`.
```rule
id: flag-low-success-rate

View File

@@ -1,13 +1,13 @@
---
id: coulomb-daily-coach-orientation
name: Daily Kaizen Coach Orientation (coulomb-loop stabilize)
id: coulomb-weekly-coach-orientation
name: Weekly Kaizen Coach Orientation (coulomb-loop operate)
enabled: true
owner: coulomb-loop
governance: coulomb_social
status: proposed
trigger:
type: cron
cron_expression: "0 9 * * *"
cron_expression: "0 9 * * 1"
timezone: Europe/Berlin
misfire_policy: skip
context_sources:
@@ -15,26 +15,26 @@ context_sources:
query: discover_kaizen_scheduled_repos
params:
roster: /home/worsch/coulomb-loop/loops/kaizen-stack/roster.yaml
cadence: daily
cadence: weekly
bind_to: context.scheduled_runs
---
# Daily Kaizen Coach Orientation
# Weekly Kaizen Coach Orientation
Stabilize phase per DEC-005. Cron `0 9 * * *` Europe/Berlin.
Operate phase per DEC-008. Cron `0 9 * * 1` Europe/Berlin.
```rule
id: run-daily-coach
id: run-weekly-coach
for_each: context.scheduled_runs
bind_as: r
condition: 'context.r.agent == "coach" and context.r.enabled'
action:
task_template: "Daily coach orientation: {context.r.repo}"
task_template: "Weekly coach orientation: {context.r.repo}"
description: |
{context.r.prepare_command}
Load agents/agent-coach.md, execute coach synthesis.
Session close: kaizen-agentic metrics record coach --success --time <s> --quality <0-1> --emit-event
target_repo: context.r.repo
priority: medium
labels: ["kaizen", "agent-run", "coach", "coulomb-loop", "stabilize"]
labels: ["kaizen", "agent-run", "coach", "coulomb-loop", "operate"]
```

View File

@@ -1,13 +1,13 @@
---
id: coulomb-daily-loop-health-collector
name: Daily Loop Health Collector (coulomb-loop regulator)
id: coulomb-weekly-loop-health-collector
name: Weekly Loop Health Collector (coulomb-loop regulator)
enabled: false
owner: coulomb-loop
governance: coulomb_social
status: proposed
trigger:
type: cron
cron_expression: "0 11 * * *"
cron_expression: "0 11 * * 1"
timezone: Europe/Berlin
misfire_policy: skip
context_sources:
@@ -26,10 +26,10 @@ context_sources:
bind_to: context.pilot_metrics
---
# Daily Loop Health Collector
# Weekly Loop Health Collector
LOOP-WP-0004 — aggregates first-order loop health for regulator sessions.
Daily `0 11 * * *` after first-order chains (DEC-007).
Weekly `0 11 * * 1` aligned with regulator session (DEC-008).
```instruction
id: append-health-snapshot
@@ -38,7 +38,7 @@ description: |
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.
Regenerate loops/regulator/dashboard.md from last 7d of health.jsonl files.
If demotion trigger from state-machine.md fires, create urgent optimization task.
```

View File

@@ -1,13 +1,13 @@
---
id: coulomb-daily-metrics-health-sweep
name: Daily Metrics Health Sweep (coulomb-loop backup)
id: coulomb-weekly-metrics-health-sweep
name: Weekly Metrics Health Sweep (coulomb-loop backup)
enabled: false
owner: coulomb-loop
governance: coulomb_social
status: proposed
trigger:
type: cron
cron_expression: "0 6 * * *"
cron_expression: "0 6 * * 1"
timezone: Europe/Berlin
misfire_policy: skip
context_sources:
@@ -19,13 +19,13 @@ context_sources:
bind_to: context.projects
---
# Daily Metrics Health Sweep (backup)
# Weekly Metrics Health Sweep (backup)
Stabilize-phase backup per LOOP-WP-0002 T07. Primary path is event-driven
Operate-phase backup per LOOP-WP-0002. Primary path is event-driven
`low-success-rate-review`; enable only if the event bus is down.
```rule
id: flag-low-success-daily
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'

View File

@@ -1,13 +1,13 @@
---
id: coulomb-daily-metrics-optimize
name: Daily Kaizen Metrics Optimization (coulomb-loop stabilize)
id: coulomb-weekly-metrics-optimize
name: Weekly Kaizen Metrics Optimization (coulomb-loop operate)
enabled: true
owner: coulomb-loop
governance: coulomb_social
status: proposed
trigger:
type: cron
cron_expression: "0 8 * * *"
cron_expression: "0 8 * * 1"
timezone: Europe/Berlin
misfire_policy: skip
context_sources:
@@ -19,12 +19,12 @@ context_sources:
bind_to: context.projects
---
# Daily Kaizen Metrics Optimization
# Weekly Kaizen Metrics Optimization
Stabilize phase per DEC-005. Pilot roster only (DEC-001 option A). Cron `0 8 * * *`.
Operate phase per DEC-008. Pilot roster only (DEC-001 option A). Cron `0 8 * * 1`.
```rule
id: run-daily-optimizer
id: run-weekly-optimizer
for_each: context.projects
bind_as: p
condition: 'context.p.has_metrics and context.p.in_pilot_roster'
@@ -35,7 +35,7 @@ action:
Optional: kaizen-agentic metrics publish (when artifact-store configured)
target_repo: context.p.repo
priority: medium
labels: ["kaizen", "metrics", "optimizer", "coulomb-loop", "stabilize"]
labels: ["kaizen", "metrics", "optimizer", "coulomb-loop", "operate"]
```
**Supplier reference:** `kaizen-agentic/docs/integrations/activity-definitions/weekly-metrics-optimize.md`

View File

@@ -1,13 +1,13 @@
---
id: coulomb-daily-optimization-review
name: Daily Kaizen Optimization Review (coulomb-loop stabilize)
id: coulomb-weekly-optimization-review
name: Weekly Kaizen Optimization Review (coulomb-loop operate)
enabled: true
owner: coulomb-loop
governance: coulomb_social
status: proposed
trigger:
type: cron
cron_expression: "0 10 * * *"
cron_expression: "0 10 * * 1"
timezone: Europe/Berlin
misfire_policy: skip
context_sources:
@@ -15,21 +15,21 @@ context_sources:
query: discover_kaizen_scheduled_repos
params:
roster: /home/worsch/coulomb-loop/loops/kaizen-stack/roster.yaml
cadence: daily
cadence: weekly
bind_to: context.scheduled_runs
---
# Daily Kaizen Optimization Review
# Weekly Kaizen Optimization Review
Stabilize phase per DEC-005. Cron `0 10 * * *` Europe/Berlin.
Operate phase per DEC-008. Cron `0 10 * * 1` Europe/Berlin.
```rule
id: run-daily-optimization
id: run-weekly-optimization
for_each: context.scheduled_runs
bind_as: r
condition: 'context.r.agent == "optimization" and context.r.enabled'
action:
task_template: "Daily optimization review: {context.r.repo}"
task_template: "Weekly optimization review: {context.r.repo}"
description: |
{context.r.prepare_command}
kaizen-agentic metrics optimize
@@ -38,5 +38,5 @@ action:
If saturation signals fire (ADR-004), file regulator rotation recommendation.
target_repo: context.r.repo
priority: medium
labels: ["kaizen", "agent-run", "optimization", "coulomb-loop", "stabilize"]
labels: ["kaizen", "agent-run", "optimization", "coulomb-loop", "operate"]
```

View File

@@ -1,13 +1,13 @@
---
id: coulomb-daily-registry-hygiene-sweep
name: Daily Registry Hygiene Sweep (coulomb-loop stabilize)
id: coulomb-weekly-registry-hygiene-sweep
name: Weekly Registry Hygiene Sweep (coulomb-loop operate)
enabled: true
owner: coulomb-loop
governance: coulomb_social
status: active
trigger:
type: cron
cron_expression: "0 7 * * *"
cron_expression: "0 9 * * 1"
timezone: Europe/Berlin
misfire_policy: skip
context_sources:
@@ -20,17 +20,17 @@ context_sources:
query: reuse_surface_report_gaps
params:
roster: /home/worsch/coulomb-loop/loops/registry-hygiene/rollout.yaml
batch_size: 3
batch_size: 2
round_robin_state: /home/worsch/coulomb-loop/loops/registry-hygiene/round-robin-state.json
reuse_surface_bin: /home/worsch/reuse-surface/.venv/bin/reuse-surface
runner_host: bnt-lap001
bind_to: context.gaps
---
# Daily Registry Hygiene Sweep
# Weekly Registry Hygiene Sweep
LOOP-WP-0003 — daily batch from `rollout.yaml` (custodian pilot + helix_forge).
Promoted 2026-06-18 per DEC-006.
LOOP-WP-0003 — weekly batch from `rollout.yaml` (custodian pilot + helix_forge).
Promoted 2026-06-19 per DEC-008.
```rule
id: hygiene-task-per-signal
@@ -48,5 +48,4 @@ action:
labels: ["fleet-hygiene", "coulomb-loop", "scope-analyst"]
```
Enabled 2026-06-18 after ACTIVITY-WP-0013 (`2078915`). Runtime params per
activity-core R2 note `36ac3eeb` (reuse_surface_bin + runner_host).
Runtime params per activity-core R2 note `36ac3eeb` (reuse_surface_bin + runner_host).