generated from coulomb/repo-seed
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:
@@ -1,13 +1,13 @@
|
|||||||
---
|
---
|
||||||
id: coulomb-hourly-metrics-health-sweep
|
id: coulomb-hourly-metrics-health-sweep
|
||||||
name: Hourly Metrics Health Sweep (coulomb-loop bootstrap)
|
name: Daily Metrics Health Sweep (coulomb-loop backup)
|
||||||
enabled: false
|
enabled: false
|
||||||
owner: coulomb-loop
|
owner: coulomb-loop
|
||||||
governance: coulomb_social
|
governance: coulomb_social
|
||||||
status: proposed
|
status: proposed
|
||||||
trigger:
|
trigger:
|
||||||
type: cron
|
type: cron
|
||||||
cron_expression: "45 * * * *"
|
cron_expression: "0 6 * * *"
|
||||||
timezone: Europe/Berlin
|
timezone: Europe/Berlin
|
||||||
misfire_policy: skip
|
misfire_policy: skip
|
||||||
context_sources:
|
context_sources:
|
||||||
@@ -19,9 +19,10 @@ context_sources:
|
|||||||
bind_to: context.projects
|
bind_to: context.projects
|
||||||
---
|
---
|
||||||
|
|
||||||
# Hourly Metrics Health Sweep
|
# Daily Metrics Health Sweep (backup)
|
||||||
|
|
||||||
Bootstrap fallback per DEC-002 option A until `kaizen.metrics.recorded` events ship.
|
Stabilize-phase backup per LOOP-WP-0002 T07. Primary path is event-driven
|
||||||
|
`low-success-rate-review`; enable this definition only if the event bus is down.
|
||||||
|
|
||||||
```rule
|
```rule
|
||||||
id: flag-low-success-hourly
|
id: flag-low-success-hourly
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
id: coulomb-low-success-rate-review
|
id: coulomb-low-success-rate-review
|
||||||
name: Low Agent Success Rate Review (event-driven)
|
name: Low Agent Success Rate Review (event-driven)
|
||||||
enabled: false
|
enabled: true
|
||||||
owner: coulomb-loop
|
owner: coulomb-loop
|
||||||
governance: coulomb_social
|
governance: coulomb_social
|
||||||
status: proposed
|
status: proposed
|
||||||
@@ -15,8 +15,8 @@ context_sources:
|
|||||||
|
|
||||||
# Low Agent Success Rate Review
|
# Low Agent Success Rate Review
|
||||||
|
|
||||||
Activates after KAIZEN-WP-0008 T03 (`metrics record --emit-event`). Until then,
|
Enabled 2026-06-18 after activity-core event-payload resolver (ACTIVITY-WP-0011).
|
||||||
use `hourly-metrics-health-sweep.md`.
|
Fallback: `hourly-metrics-health-sweep.md` at daily `0 6 * * *`.
|
||||||
|
|
||||||
```rule
|
```rule
|
||||||
id: flag-low-success-rate
|
id: flag-low-success-rate
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
loop: quality-escalation
|
loop: quality-escalation
|
||||||
phase: bootstrap
|
phase: stabilize
|
||||||
cron: "45 * * * *"
|
cron: "0 6 * * *"
|
||||||
event_primary: low-success-rate-review
|
event_primary: low-success-rate-review
|
||||||
sweep_fallback: hourly-metrics-health-sweep
|
sweep_fallback: hourly-metrics-health-sweep
|
||||||
stabilize_target:
|
stabilize_target:
|
||||||
event: enabled
|
event: enabled
|
||||||
sweep_cron: "0 6 * * *"
|
sweep_cron: "0 6 * * *"
|
||||||
regulator_approval: pending
|
regulator_approval: approved
|
||||||
notes: Event path blocked on activity-core R1; hourly sweep ready as fallback
|
notes: >-
|
||||||
|
Event path proven 2026-06-18 (ACTIVITY-WP-0011 + NATS smoke, tasks_spawned=1).
|
||||||
|
low-success-rate-review enabled; hourly sweep retired to daily backup cron (disabled).
|
||||||
@@ -4,7 +4,7 @@ type: workplan
|
|||||||
title: "Reactive Quality Escalation (signal-driven improvement)"
|
title: "Reactive Quality Escalation (signal-driven improvement)"
|
||||||
domain: coulomb_social
|
domain: coulomb_social
|
||||||
repo: coulomb-loop
|
repo: coulomb-loop
|
||||||
status: active
|
status: finished
|
||||||
owner: coulomb-loop
|
owner: coulomb-loop
|
||||||
topic_slug: coulomb_social
|
topic_slug: coulomb_social
|
||||||
supplier: kaizen-agentic
|
supplier: kaizen-agentic
|
||||||
@@ -26,20 +26,20 @@ tasks:
|
|||||||
status: done
|
status: done
|
||||||
title: Hourly metrics sweep fallback until event bus is live
|
title: Hourly metrics sweep fallback until event bus is live
|
||||||
- id: T05
|
- id: T05
|
||||||
status: todo
|
status: done
|
||||||
title: Wire activity-core event trigger and smoke test
|
title: Wire activity-core event trigger and smoke test
|
||||||
- id: T06
|
- id: T06
|
||||||
status: done
|
status: done
|
||||||
title: Add test-maintenance escalation path for CI-degraded repos
|
title: Add test-maintenance escalation path for CI-degraded repos
|
||||||
- id: T07
|
- id: T07
|
||||||
status: todo
|
status: done
|
||||||
title: Promote sweep cadence from hourly to daily after stabilization
|
title: Promote sweep cadence from hourly to daily after stabilization
|
||||||
state_hub_workstream_id: "d4d3b624-dad3-4e1d-9db3-e84548d133de"
|
state_hub_workstream_id: "d4d3b624-dad3-4e1d-9db3-e84548d133de"
|
||||||
---
|
---
|
||||||
|
|
||||||
# LOOP-WP-0002 — Reactive Quality Escalation
|
# LOOP-WP-0002 — Reactive Quality Escalation
|
||||||
|
|
||||||
**Status:** active
|
**Status:** finished
|
||||||
**Owner:** coulomb-loop (customer)
|
**Owner:** coulomb-loop (customer)
|
||||||
**Supplier:** kaizen-agentic
|
**Supplier:** kaizen-agentic
|
||||||
**Depends on:** LOOP-WP-0001 (metrics scaffold on pilot repos)
|
**Depends on:** LOOP-WP-0001 (metrics scaffold on pilot repos)
|
||||||
@@ -172,18 +172,19 @@ Cron: `45 * * * *` (offset from LOOP-WP-0001 hourly chain).
|
|||||||
|
|
||||||
```task
|
```task
|
||||||
id: LOOP-WP-0002-T05
|
id: LOOP-WP-0002-T05
|
||||||
status: todo
|
status: done
|
||||||
priority: medium
|
priority: medium
|
||||||
state_hub_task_id: "a5d8a6e1-9908-49a5-8976-900c433cd325"
|
state_hub_task_id: "a5d8a6e1-9908-49a5-8976-900c433cd325"
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Sync sweep definition to activity-core
|
Completed 2026-06-18 after activity-core ACTIVITY-WP-0011 event-payload resolver:
|
||||||
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
|
|
||||||
|
|
||||||
When event bus is ready, enable `low-success-rate-review` and keep sweep as
|
1. `low-success-rate-review` enabled and synced (`da7a9af7-7bec-5677-9520-3c6ee6d01964`)
|
||||||
backup only.
|
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
|
## Part 3 — Test health path
|
||||||
|
|
||||||
@@ -212,16 +213,16 @@ Defer full fleet CI integration until daily phase.
|
|||||||
|
|
||||||
```task
|
```task
|
||||||
id: LOOP-WP-0002-T07
|
id: LOOP-WP-0002-T07
|
||||||
status: todo
|
status: done
|
||||||
priority: low
|
priority: low
|
||||||
state_hub_task_id: "fa4205f4-6058-495c-bcaa-40c20f27f9aa"
|
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
|
1. Hourly sweep retired (`enabled: false`, cron promoted to `0 6 * * *`)
|
||||||
2. Enable event-driven `low-success-rate-review`
|
2. Event-driven `low-success-rate-review` primary (`enabled: true`)
|
||||||
3. Retain daily backup sweep at `0 6 * * *`
|
3. `loops/quality-escalation/cadence.yml` → `phase: stabilize`
|
||||||
|
|
||||||
## Definition of done
|
## Definition of done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user