feat(model-router): wave 2-B — orchestrators declare phases, shifters and pins removed, frontmatter = off-state floor
The 15 Skill(effort-*) citers now call mcp__model-router__route per phase (orchestrate at a dispatch span, reflect/plan for the skill's own level, apply at the bookkeeping tail, escalate at the verify-secure caps); built-in judgment dispatches carry an explicit effort= param. lib/effort-shift.md is the route doctrine, lib/model-gate.md the mod rule (route answer = witness, /route on as remedy). Deleted: skills/effort-*, lib/effort-pins.txt/.sh, lib/model-check.sh, their tests, the installers' re-apply blocks. The mod drops its Skill(effort-*) bridge. The tracked model:/effort: frontmatter stays as the off-state floor, census-locked equal to the rows (lib/tests/effort-routing.test.sh rewritten, 140 checks; analyzer → xhigh). Contract .claude/tasks/contracts/2026-10-10-model-router-w2b-1045.md, plan r4 § W2-B: GATE 0 MET, verifier ECARTS(7) then CONFORME 10/10, security PASS, full make test green (design-tool-gate env red only).
This commit is contained in:
+1
-13
@@ -937,10 +937,6 @@ for _ext_skill in "${EXT_SKILL_NAMES[@]}"; do
|
||||
done
|
||||
echo ""
|
||||
|
||||
# Effort pins (BDR-107, BDR-108): every vendored external gets its entry
|
||||
# level from lib/effort-pins.txt, re-applied ONCE after the last vendoring
|
||||
# step (the 21st pack, STEP 8.7) — see apply_effort_pins there.
|
||||
|
||||
# ============================================================
|
||||
# STEP 8.5 — EXTERNAL SKILLS (npx skills add …)
|
||||
# ============================================================
|
||||
@@ -1005,8 +1001,7 @@ echo ""
|
||||
# profile: `lib/toggle-external.sh enable higgsfield` turns the media skills
|
||||
# on, `enable higgsfield-websites` the landing-page aid. Keeping it out of
|
||||
# link.sh and of every profile is what stops a re-run from re-enabling it
|
||||
# (BDR-093). This step runs before Step 8.7 so the effort pins are still
|
||||
# re-applied after the last vendoring step (BDR-108).
|
||||
# (BDR-093).
|
||||
echo "── Step 8.6: Higgsfield CLI + skill pack ───────────────────"
|
||||
echo ""
|
||||
# shellcheck source=lib/higgsfield-skills.sh disable=SC1091
|
||||
@@ -1128,13 +1123,6 @@ if command -v 21st &>/dev/null; then
|
||||
rm -rf "$TFD_STAGE"
|
||||
fi
|
||||
|
||||
# Effort pins (BDR-107, BDR-108): the vendored externals carry no `effort:`
|
||||
# upstream and every vendoring step above rewrites SKILL.md. Re-apply the
|
||||
# entry levels from lib/effort-pins.txt once, after the LAST such step.
|
||||
# shellcheck source=lib/effort-pins.sh disable=SC1091
|
||||
source "$REPO/lib/effort-pins.sh"
|
||||
apply_effort_pins "$REPO" || warn "effort pins: map lines rejected — fix lib/effort-pins.txt"
|
||||
|
||||
# Auth — detect, then offer login ONLY in an interactive TTY. A non-interactive
|
||||
# run (CI / headless / re-run) must never open a browser or block on OAuth.
|
||||
# Search and logo lookup are free; retrieving component code and 21st AI need
|
||||
|
||||
Reference in New Issue
Block a user