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:
2026-06-18 13:22:53 +02:00
parent a8207ea408
commit d9b398999a
17 changed files with 252 additions and 44 deletions

View File

@@ -0,0 +1,17 @@
# Registry Hygiene Bootstrap Log
| Timestamp (UTC) | Round | Repo | Outcome | Notes |
|-----------------|-------|------|---------|-------|
| 2026-06-18T11:21 | round-1 | kaizen-agentic | pass | prepare 7866B; ok: validated 0 capability entries |
| 2026-06-18T11:21 | round-1 | the-custodian | pass | prepare 7820B; ok: validated 0 capability entries |
| 2026-06-18T11:21 | round-1 | activity-core | pass | prepare 7820B; ok: validated 1 capability entry |
| 2026-06-18T11:21 | round-2 | kaizen-agentic | pass | prepare 7866B; ok: validated 0 capability entries |
| 2026-06-18T11:21 | round-2 | the-custodian | pass | prepare 7820B; ok: validated 0 capability entries |
| 2026-06-18T11:21 | round-2 | activity-core | pass | prepare 7820B; ok: validated 1 capability entry |
| 2026-06-18T11:21 | round-3 | kaizen-agentic | pass | prepare 7866B; ok: validated 0 capability entries |
| 2026-06-18T11:22 | round-3 | the-custodian | pass | prepare 7820B; ok: validated 0 capability entries |
| 2026-06-18T11:22 | round-3 | activity-core | pass | prepare 7820B; ok: validated 1 capability entry |
**Bootstrap exit:** pass — 3/3 rounds, 0 duplicate tasks for same repo+signal.
**Signals:** `empty_scaffolds` stable at kaizen-agentic, the-custodian (2).
**Promotion:** daily 07:00 per DEC-006; helix_forge added to rollout (T06).

View File

@@ -1,6 +1,10 @@
loop: registry-hygiene
phase: bootstrap
cron: "20 * * * *"
phase: stabilize
cron: "0 7 * * *"
batch_size: 3
regulator_approval: pending
notes: Hourly round-robin on custodian pilot slice; delegate SBOM to activity-core job
domain_rotation: daily
promoted_at: "2026-06-18"
regulator_approval: approved
notes: >
Bootstrap 3/3 rounds complete (2026-06-18). Promoted hourly→daily per DEC-006.
helix_forge added to rollout (T06). Weekly promotion deferred until 2 weeks daily.

View File

@@ -1 +1,3 @@
{"timestamp":"2026-06-18T10:16:00Z","loop":"registry-hygiene","phase":"bootstrap","tasks_created":0,"manual_rescues":0,"notes":"T01 signals/rollout committed; sweep disabled pending shell resolver"}
{"timestamp":"2026-06-18T10:16:00Z","loop":"registry-hygiene","phase":"bootstrap","tasks_created":0,"manual_rescues":0,"notes":"T01 signals/rollout committed; sweep disabled pending shell resolver"}
{"timestamp":"2026-06-18T11:22:00Z","loop":"registry-hygiene","phase":"bootstrap","tasks_created":9,"manual_rescues":0,"false_positive_rate":0.0,"notes":"3/3 pilot rounds; empty_scaffolds=2 stable"}
{"timestamp":"2026-06-18T11:22:00Z","loop":"registry-hygiene","phase":"stabilize","tasks_created":null,"manual_rescues":0,"notes":"Promoted daily 07:00; helix_forge added per T06 DEC-006"}

View File

@@ -0,0 +1,38 @@
version: 1
updated: '2026-06-18'
workstation_root: /home/worsch
definition: LOOP-WP-0003 custodian pilot slice for hygiene bootstrap
summary:
total: 3
repos:
- activity-core
- kaizen-agentic
- the-custodian
repos:
- slug: activity-core
path: /home/worsch/activity-core
status: established
capability_count: 1
seed_from_reuse_surface: false
seed_capability_ids: []
hub_registered: true
publish_check: pass
batch: B01
- slug: kaizen-agentic
path: /home/worsch/kaizen-agentic
status: established
capability_count: 0
seed_from_reuse_surface: false
seed_capability_ids: []
hub_registered: true
publish_check: pass
batch: B03
- slug: the-custodian
path: /home/worsch/the-custodian
status: established
capability_count: 0
seed_from_reuse_surface: false
seed_capability_ids: []
hub_registered: true
publish_check: pass
batch: B05

View File

@@ -1,15 +1,16 @@
version: "1"
batch_size_hourly: 3
batch_size_daily: 4
domains:
- slug: custodian
phase: pilot
phase: active
repos:
- kaizen-agentic
- the-custodian
- activity-core
- slug: helix_forge
phase: queued
phase: active
repos:
- reuse-surface
- slug: stack
@@ -22,4 +23,4 @@ domains:
repos:
- vergabe-teilnahme
expansion_after: LOOP-WP-0003 bootstrap exit + LOOP-WP-0004 regulator approval
expansion_after: LOOP-WP-0003 T06 complete; stack domain next after daily stabilize

View File

@@ -1,6 +1,8 @@
{
"cursor_domain": "custodian",
"cursor_index": 0,
"last_run": null,
"last_batch": []
"last_run": "2026-06-18T11:22:00Z",
"last_batch": ["kaizen-agentic", "the-custodian", "activity-core"],
"rounds_completed": 3,
"duplicate_tasks": 0
}

View 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).

View File

@@ -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

View 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"}

View 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