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.
This commit is contained in:
2026-06-18 13:10:59 +02:00
parent f678473892
commit 169a71f3e3
21 changed files with 513 additions and 30 deletions

View File

@@ -0,0 +1,21 @@
# Loop regulator dashboard
Regenerated 2026-06-18 (manual bootstrap collection, LOOP-WP-0004 T05).
## 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 |
## Pending regulator actions
- **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)
## Promotion queue
None — kaizen stack promoted 2026-06-18 (DEC-005).

View File

@@ -0,0 +1,43 @@
# Regulator session template (optimization agent)
LOOP-WP-0004 T04 — run after health collector or manual bootstrap-log review.
## Prepare bundle
```bash
# From coulomb-loop (contracts only — optimization agent runs in target repo)
kaizen-agentic schedule prepare optimization --target /home/worsch/kaizen-agentic
```
Include in session context (attach or paste):
- `loops/regulator/dashboard.md`
- Tail of each `loops/*/health.jsonl` (last 10 lines)
- Each `loops/*/cadence.yml`
- `loops/kaizen-stack/bootstrap-log.md` (manual_rescues)
- `loops/kaizen-stack/supplier-notes.md`
## Session outputs
1. **Per loop:** promote / hold / demote recommendation with evidence
2. **Noise:** definitions or crons to disable or throttle
3. **Supplier friction:** items for `supplier-notes.md`
4. **Proposals:** updated `cadence.yml` drafts (human commits — no autonomous cron changes)
## Session close
```bash
kaizen-agentic metrics record optimization --success --time <s> --quality <0-1> \
--target /home/worsch/kaizen-agentic
```
Record decision in state-hub when promotion/demotion approved.
## Promotion checklist (all must hold)
- Bootstrap exit from source workplan met
- `false_positive_rate < 0.2` over last 7 cycles
- `manual_rescues == 0` over last 3 cycles
- Regulator recommends promote
See `loops/regulator/state-machine.md`.

View File

@@ -0,0 +1,53 @@
# Supplier customer-repo playbook draft
LOOP-WP-0004 T07 — customer synthesis for kaizen-agentic reuse. **Absorbed into
supplier playbook v1** (`kaizen-agentic/docs/integrations/customer-engagement-playbook.md`).
This file records coulomb-loop-specific evidence and open gaps.
## Minimal customer repo layout
```
INTENT.md SCOPE.md workplans/LOOP-WP-*
docs/adr/ docs/decisions/ history/
activity-definitions/ loops/<loop-id>/
```
## Bootstrap checklist (proven on coulomb-loop)
1. Register in state-hub (`coulomb_social`)
2. LOOP-WP-0000 — ADRs, DEC-001004, roster
3. Pilot `schedule init --engagement` on target repos
4. Copy ActivityDefinitions; enable incrementally (metrics → coach → optimization)
5. 3/3 hourly E2E cycles → regulator promotes to daily
6. `metrics record --emit-event` for event-driven quality path
## Cadence ramp template
| Phase | Mechanism | Exit |
|-------|-----------|------|
| bootstrap | hourly crons | 3 consecutive E2E cycles, 0 manual rescues |
| stabilize | daily | 14 cycles, FP rate < 20% |
| operate | weekly | regulator approval |
Per-loop state: `loops/<id>/cadence.yml`
## Supplier / customer boundary
| Customer (coulomb-loop) | Supplier (kaizen-agentic) |
|---------------------------|---------------------------|
| Roster, cadence policy, definitions | Agents, CLI, emit-event, playbook |
| Loop health, supplier-notes | ADR-005/006 contracts |
| activity-core handoff docs | Resolver specs posted to state-hub |
## Open supplier gaps (2026-06-18)
| Gap | Owner | Status |
|-----|-------|--------|
| `event-payload` resolver | activity-core | R1 posted to hub inbox |
| `metrics rotation-signals` CLI | kaizen-agentic | ADR-004 follow-on |
| CI failure probe resolver | activity-core | LOOP-WP-0002 T06 deferred |
| Shell `reuse_surface_report_gaps` | activity-core | LOOP-WP-0003 T02 |
## Reuse target
Second customer engagement ≤50% setup effort vs coulomb-loop bootstrap.