generated from coulomb/repo-seed
feat: complete LOOP-WP-0003 and LOOP-WP-0004
Registry hygiene: 3-round pilot bootstrap smoke, helix_forge rollout expansion, daily cadence promotion (DEC-006). Loop regulator: daily collector and weekly session cadence (DEC-007), rotation runbook (T09).
This commit is contained in:
10
loops/regulator/cadence.yml
Normal file
10
loops/regulator/cadence.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
loop: loop-regulator
|
||||
phase: stabilize
|
||||
collector_cron: "0 11 * * *"
|
||||
regulator_session_cron: "0 11 * * 1"
|
||||
promoted_at: "2026-06-18"
|
||||
regulator_approval: approved
|
||||
notes: >
|
||||
Promoted 2026-06-18 (LOOP-WP-0004 T08). Collector daily 11:00 after first-order
|
||||
daily chains complete. Regulator optimization session weekly Monday 11:00.
|
||||
Emergency demotion remains event-driven (immediate task).
|
||||
@@ -1,21 +1,27 @@
|
||||
# Loop regulator dashboard
|
||||
|
||||
Regenerated 2026-06-18 (manual bootstrap collection, LOOP-WP-0004 T05).
|
||||
Regenerated 2026-06-18 (LOOP-WP-0004 T05/T08).
|
||||
|
||||
## Summary
|
||||
|
||||
| Loop | Phase | Last health | Agent success | Manual rescues | Notes |
|
||||
|------|-------|-------------|---------------|----------------|-------|
|
||||
| kaizen-improvement-stack | stabilize | 2026-06-18T10:16Z | 0.85 | 0 | 3/3 E2E exit; daily crons active |
|
||||
| quality-escalation | bootstrap | 2026-06-18T10:16Z | — | 0 | Waiting on event-payload R1 |
|
||||
| registry-hygiene | bootstrap | 2026-06-18T10:16Z | — | 0 | Artifacts ready; sweep disabled |
|
||||
| Loop | Phase | Last health | Manual rescues | Recommendation |
|
||||
|------|-------|-------------|----------------|----------------|
|
||||
| kaizen-improvement-stack | stabilize | 2026-06-18T10:16Z | 0 | **hold** — monitor daily cron |
|
||||
| quality-escalation | bootstrap | 2026-06-18T10:16Z | 0 | **hold** — blocked on activity-core R1 |
|
||||
| registry-hygiene | stabilize | 2026-06-18T11:22Z | 0 | **hold** — daily sweep; enable when resolver ships |
|
||||
| loop-regulator | stabilize | 2026-06-18T11:22Z | 0 | **hold** — daily collector per DEC-007 |
|
||||
|
||||
## Pending regulator actions
|
||||
## Rotation queue (T09)
|
||||
|
||||
- **quality-escalation:** hold at bootstrap until `low-success-rate-review` smoke passes
|
||||
- **registry-hygiene:** manual scope-analyst smoke on pilot slice (T05) before enable
|
||||
- **kaizen-improvement-stack:** monitor first daily cron cycle (08:00 metrics chain)
|
||||
| Repo | Saturation score | Action |
|
||||
|------|------------------|--------|
|
||||
| kaizen-agentic | n/a (<14 cycles) | keep active |
|
||||
| the-custodian | n/a | keep active |
|
||||
| activity-core | n/a | keep active |
|
||||
|
||||
## Promotion queue
|
||||
No rotation recommended. See `rotation-runbook.md`.
|
||||
|
||||
None — kaizen stack promoted 2026-06-18 (DEC-005).
|
||||
## Regulator cadence (DEC-007)
|
||||
|
||||
- Collector: daily 11:00
|
||||
- Session: weekly Monday 11:00
|
||||
1
loops/regulator/health.jsonl
Normal file
1
loops/regulator/health.jsonl
Normal file
@@ -0,0 +1 @@
|
||||
{"timestamp":"2026-06-18T11:22:00Z","loop":"loop-regulator","phase":"stabilize","manual_rescues":0,"false_positive_rate":0.0,"notes":"DEC-007 daily collector + weekly session; T09 rotation runbook committed, no rotation executed"}
|
||||
52
loops/regulator/rotation-runbook.md
Normal file
52
loops/regulator/rotation-runbook.md
Normal file
@@ -0,0 +1,52 @@
|
||||
# Repo rotation runbook (ADR-004)
|
||||
|
||||
LOOP-WP-0004 T09 — manual rotation during bootstrap; automation deferred to
|
||||
`kaizen-agentic metrics rotation-signals` CLI.
|
||||
|
||||
## Saturation assessment
|
||||
|
||||
Per `rotation-policy.yml`, compute signals for each active repo (14-cycle window):
|
||||
|
||||
| Signal | Source |
|
||||
|--------|--------|
|
||||
| quality_plateau | `avg_quality_delta < 0.02` vs prior window |
|
||||
| success_stable | `success_rate >= 0.85` |
|
||||
| optimizer_stall | 0 new actionable recommendations |
|
||||
| marginal_gain | 0 progress events / merged changes |
|
||||
|
||||
**Rotate when:** ≥3 of 4 signals true (saturation_score ≥ 0.75).
|
||||
|
||||
```bash
|
||||
# Per pilot repo (supplier CLI follow-on)
|
||||
kaizen-agentic metrics show coach --target /home/worsch/<repo>
|
||||
kaizen-agentic metrics show optimization --target /home/worsch/<repo>
|
||||
kaizen-agentic metrics optimize --target /home/worsch/<repo>
|
||||
```
|
||||
|
||||
## Manual rotation procedure
|
||||
|
||||
1. Run regulator session (`session-template.md`); confirm saturation recommendation
|
||||
2. Update `loops/kaizen-stack/roster.yaml`:
|
||||
- Move repo from `active` → `saturated`
|
||||
- Promote next slug from `expansion_queue`
|
||||
3. Patch saturated repo `.kaizen/schedule.yml`:
|
||||
```yaml
|
||||
agents:
|
||||
optimization:
|
||||
enabled: false
|
||||
```
|
||||
4. Record decision in state-hub (`record_decision` or progress event)
|
||||
5. Append rotation event to `loops/kaizen-stack/health.jsonl`
|
||||
|
||||
## Bootstrap status (2026-06-18)
|
||||
|
||||
No rotation executed — pilots still accumulating metrics (<14 cycles).
|
||||
**Next review:** after 14 daily kaizen-stack cycles or explicit operator request.
|
||||
|
||||
## Automation path
|
||||
|
||||
After 2 successful manual rotations:
|
||||
|
||||
- Enable `saturation_score` in health collector definition
|
||||
- Supplier ships `metrics rotation-signals` (KAIZEN-WP-0008 extension)
|
||||
- Regulator may auto-recommend; human still commits roster changes
|
||||
Reference in New Issue
Block a user