feat(effort): wire phase shifts in the 13 orchestrators and the handover writer

This commit is contained in:
bastien
2026-09-28 19:44:22 +02:00
parent 4a450ea6bc
commit 3c58160d0c
15 changed files with 64 additions and 0 deletions
+3
View File
@@ -26,6 +26,7 @@ allowed-tools:
MODEL GATE (blocking): run `$HOME/.claude/lib/model-gate.md` BEFORE any
step below. Verdict `small` → STOP — print the gate's remedy, end the
turn, dispatch nothing.
EFFORT SHIFTS: follow `$HOME/.claude/lib/effort-shift.md` (BDR-NEXT): medium when a dispatch span starts, own level before challenge synthesis, low at the bookkeeping tail, max at escalation.
## TARGET
$ARGUMENTS
@@ -120,6 +121,7 @@ TOTALS: <N blocking, N warn, N info>
If no issues found: report clean state and stop.
`Skill(effort-xhigh)` first (effort-shift: reflection resumes).
## STEP 3b — CHALLENGE THE SCOPE (before approval)
The STEP 3 report is the proposed cleanup scope — worth attacking before the
human approves it. It is still inline, so FIRST persist it to
@@ -173,6 +175,7 @@ is approved, stop — no dispatch.
2. **Dispatch the executor** — sonnet by frontmatter pin, do not override:
```
Skill(effort-medium) # effort-shift: dispatch span starts
Agent(subagent_type="code-cleaner")
prompt: "SCOPE: .claude/audits/CODE-CLEAN-SCOPE.md
APPROVED: <the approved item list, incl. any per-item exported-symbol clears>