coulomb-loop/loops/regulator/session-template.md

43 lines
1.3 KiB
Markdown
Raw Normal View History

# 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`.