Complete LOOP-WP-0002: event-driven quality escalation smoke + daily backup cadence

ACTIVITY-WP-0011 event-payload resolver unblocked the reactive path. Live NATS
smoke confirmed tasks_spawned=1 for low-success-rate-review. Promoted sweep from
hourly bootstrap to daily backup (disabled); cadence.yml now in stabilize phase.
This commit is contained in:
2026-06-18 13:39:11 +02:00
parent 7cb79aff62
commit 5fa0b59cce
4 changed files with 31 additions and 27 deletions

View File

@@ -4,7 +4,7 @@ type: workplan
title: "Reactive Quality Escalation (signal-driven improvement)"
domain: coulomb_social
repo: coulomb-loop
status: active
status: finished
owner: coulomb-loop
topic_slug: coulomb_social
supplier: kaizen-agentic
@@ -26,20 +26,20 @@ tasks:
status: done
title: Hourly metrics sweep fallback until event bus is live
- id: T05
status: todo
status: done
title: Wire activity-core event trigger and smoke test
- id: T06
status: done
title: Add test-maintenance escalation path for CI-degraded repos
- id: T07
status: todo
status: done
title: Promote sweep cadence from hourly to daily after stabilization
state_hub_workstream_id: "d4d3b624-dad3-4e1d-9db3-e84548d133de"
---
# LOOP-WP-0002 — Reactive Quality Escalation
**Status:** active
**Status:** finished
**Owner:** coulomb-loop (customer)
**Supplier:** kaizen-agentic
**Depends on:** LOOP-WP-0001 (metrics scaffold on pilot repos)
@@ -172,18 +172,19 @@ Cron: `45 * * * *` (offset from LOOP-WP-0001 hourly chain).
```task
id: LOOP-WP-0002-T05
status: todo
status: done
priority: medium
state_hub_task_id: "a5d8a6e1-9908-49a5-8976-900c433cd325"
```
1. Sync sweep definition to activity-core
2. Inject test metrics below threshold on one pilot repo
3. Verify task creation within one hourly cycle
4. Run optimization session; confirm metrics improve on next sweep
Completed 2026-06-18 after activity-core ACTIVITY-WP-0011 event-payload resolver:
When event bus is ready, enable `low-success-rate-review` and keep sweep as
backup only.
1. `low-success-rate-review` enabled and synced (`da7a9af7-7bec-5677-9520-3c6ee6d01964`)
2. Pilot metrics seeded on `kaizen-agentic` (coach `success_rate: 0.75`, `execution_count: 8`)
3. Event router + NATS publish `activity.kaizen.metrics.recorded``tasks_spawned=1`
4. Context snapshot confirmed `context.metrics.summary.success_rate=0.75`
Optimization close-out deferred to next scheduled optimization cycle (LOOP-WP-0001).
## Part 3 — Test health path
@@ -212,16 +213,16 @@ Defer full fleet CI integration until daily phase.
```task
id: LOOP-WP-0002-T07
status: todo
status: done
priority: low
state_hub_task_id: "fa4205f4-6058-495c-bcaa-40c20f27f9aa"
```
After LOOP-WP-0004 approval and event trigger proven:
Completed 2026-06-18:
1. Disable hourly sweep
2. Enable event-driven `low-success-rate-review`
3. Retain daily backup sweep at `0 6 * * *`
1. Hourly sweep retired (`enabled: false`, cron promoted to `0 6 * * *`)
2. Event-driven `low-success-rate-review` primary (`enabled: true`)
3. `loops/quality-escalation/cadence.yml``phase: stabilize`
## Definition of done