forked from bchanot/claude
feat(agents): W2/S1 plugin split — probe (sonnet) + advisor reasoner (opus) + plugin-gate include (BDR-077)
plugin-advisor keeps its name, becomes the opus REASONER: PHASE 1 bash extracted to new plugin-probe (sonnet, facts-only PROBE REPORT), PHASE 4 apply + checkpoint hoisted to new lib/plugin-gate.md (main-loop include, doc-commit.md x6 pattern). Fail-closed: advisor ERRORs on missing report. 4 consumers rewired (plugin-check, onboard, init-project, ship-feature). In-wave planted-input smoke PASSED: probe report complete w/ fallbacks; advisor consumed every planted field (monorepo per-package note, fast-libs ctx7 reco) with zero re-detection; ERROR verdict on absent report. Census §13 (81 pass). Note: new subagent_type registers next session — resolution re-check before wave merge.
This commit is contained in:
@@ -81,6 +81,22 @@ has "skills/ship-feature/SKILL.md" 'model: "opus"'
|
||||
has "skills/init-project/SKILL.md" 'model: "opus"'
|
||||
has "lib/model-gate.md" 'model: "fable"'
|
||||
lacks "lib/model-gate.md" 'model: "sonnet" in the Agent call'
|
||||
# 13) BDR-077 W2 — plugin split: probe (sonnet, facts only) + advisor
|
||||
# reasoner (opus, PROBE REPORT is ground truth, fail-closed); gate
|
||||
# include owns checkpoint + apply; 4 consumers run the include, none
|
||||
# inline-loads the advisor anymore
|
||||
has "agents/plugin-probe.md" 'model: sonnet'
|
||||
lacks "agents/plugin-probe.md" 'AskUserQuestion'
|
||||
has "agents/plugin-advisor.md" 'model: opus'
|
||||
has "agents/plugin-advisor.md" 'PROBE REPORT'
|
||||
lacks "agents/plugin-advisor.md" 'PHASE 1 — DETECT'
|
||||
has "lib/plugin-gate.md" 'subagent_type="plugin-probe"'
|
||||
has "lib/plugin-gate.md" 'subagent_type="plugin-advisor"'
|
||||
for s in plugin-check onboard init-project ship-feature; do
|
||||
has "skills/$s/SKILL.md" 'lib/plugin-gate.md'
|
||||
# shellcheck disable=SC2016 # literal $HOME wanted: matching the exact inline-load string
|
||||
lacks "skills/$s/SKILL.md" 'Load `$HOME/.claude/agents/plugin-advisor.md`'
|
||||
done
|
||||
|
||||
printf 'model-routing census: %d pass, %d fail\n' "$pass" "$fail"
|
||||
[ "$fail" -eq 0 ]
|
||||
|
||||
Reference in New Issue
Block a user