4 changed files with 28 additions and 2 deletions

No files matched your search

+1
View File
@@ -1414,6 +1414,7 @@ Branch feature/user-writing-web-rules, UNMERGED (human gate).
- **Amendment 8 (2026-10-25, model per project and per conversation)**: user ask (one Claude Code conversation per project, often concurrent: Fable on one, opus on another). Measured headless (scratchpad modeltest): project `.claude/settings.local.json` `"model"` wins over user settings, `--settings '{"model":…}'` wins over both; same scopes as packs. `/model` writes the TRACKED user settings.json (fable landed there 2026-10-25): never the per-project route. Applied: tracked default `opus`, this repo local `claude-fable-5-1[1m]`. Phase 5 profile = `enabledPlugins` + `model`; doctor warns when tracked `model` ≠ `opus`. Residuals accepted by the user: interpreters (`python3 -c`, `node -e`) rest on prose + classifier (491/661 calls from sub-agents, an ask rule would fail executors); Bash write forms out of the routing guard until a measured evasion.
- **Status (2026-10-29)**: accepted, phase 1 shipped 2026-10-29 (BDR-130): next phase 5
- **Status (2026-11-16)**: accepted, all phases shipped: 0 925dafa, 0b 06012ea, 4a 017a28b, 1 9a20ca7, 5 3cc4e0d, 2 29624d7, 4b dfadf8a, 4c ddb04f4, 4d dcb593a. Phase 3 closed unbuilt 2026-11-03 (60f28a6). Per-phase /context delta unrecorded for 4a 5 2 4b-4d; headless 26.2k (10-29) to 27.1k (11-12), interactive 40k (11-03), gap LRN-270, synced skills cut BDR-141
- **Status (2026-11-21)**: accepted, amended 2026-11-21 (user): tracked default model opus[1m] (2bcb75b), doctor checks it (bugfix/doctor-model-default)
## BDR-126 — model-router `/model <name>` scope dialog: project / conversation / everywhere [accepted] (2026-10-25)
+1
View File
@@ -796,3 +796,4 @@ rules:
- /hotfix gates-abandon-id (5bba6ce, bugfix/gates-abandon-id UNMERGED): ABANDON regex anchored to numeric id, catch-all malformed ERROR, leading whitespace accepted (robustness challenger: game ledger indented handoff silently MET). 3 lenses + 1 confirmation, security PASS.
- /hotfix challenge-cutoff (343ccc2): confirmation BLOCKER/MAJOR on revised point not revised again, [deferred] for human; memory commit carries · TODO +n/-m. Rule applied to own run: r2 additions (stop-before-dispatch, hotfix escape) deferred to user. TODO triage: 28 dropped (no evidence/date/user ask), 51 → 24 open, list in .claude/tasks/plans/2026-11-21-todo-triage.md. MEASURE re-anchored 343ccc2.
- BDR-125 phases audit 2026-11-21: all phases shipped, residual blocks done, F faunosteo verified done on its develop (530af1b, fa41bc2e); TODO F closed. Only open phase-adjacent: release (develop 235 ahead of main v3.0.0).
- /hotfix doctor-model-default: doctor passes on opus[1m], tracked default per user 2026-11-21 (BDR-125 status amended).
@@ -0,0 +1,24 @@
# CONTRACT — doctor-model-default
- date: 2026-11-21 | flow: hotfix | branch: bugfix/doctor-model-default
- status: active
- run-base: 0d0ba78484e3356b661f3bc8577ed970c9036974
## REQUEST (verbatim — IMMUTABLE)
doctor.sh:155-156 warns "settings.json model is opus[1m] (tracked default is opus)" on every run, but the user decided 2026-11-21 to keep `opus[1m]` as the tracked default ("laisse le opus 1m"; committed 2bcb75b 2026-11-16). Fix: doctor passes on `opus[1m]` (the tracked default) and warns on anything else, naming opus[1m] as the default.
## CLARIFICATIONS
none — request complete
## ACCEPTANCE CRITERIA
1. Symptom gone: doctor.sh passes on `opus[1m]` with "settings.json model is opus[1m]" and its warn branch names `opus[1m]` as the tracked default; no "tracked default is opus)" text left.
CHECK: grep -q '^if \[ "$_m" = "opus\[1m\]" \]; then pass "settings.json model is opus\[1m\]"$' doctor.sh && grep -q '(tracked default is opus\[1m\])"; fi$' doctor.sh && [ "$(grep -c 'tracked default is opus)' doctor.sh)" -eq 0 ] && bash doctor.sh 2>&1 | grep -q 'settings.json model is opus\[1m\]$' && echo DOCTOR_OK
EXPECT: DOCTOR_OK
EVIDENCE: MET exit=0 marker-found :: DOCTOR_OK
2. Shell lint stays clean on doctor.sh.
CHECK: shellcheck doctor.sh && echo LINT_OK
EXPECT: LINT_OK
EVIDENCE: MET exit=0 marker-found :: LINT_OK
## FILE SCOPE
- doctor.sh
- this contract (run artifact)
+2 -2
View File
@@ -152,8 +152,8 @@ else
warn "user-scope residue: $(diff <(echo "$_ep_head") <(echo "$_ep_work") | grep '^[<>]' | tr -s ' ' | tr '\n' ';'); restore per MIGRATION "Profiles and packs" step 1"
fi
_m="$(jq -r '.model // "-"' "$REPO/settings.json" 2>/dev/null || echo "-")"
if [ "$_m" = opus ]; then pass "settings.json model is opus"
else warn "settings.json model is $_m (tracked default is opus)"; fi
if [ "$_m" = "opus[1m]" ]; then pass "settings.json model is opus[1m]"
else warn "settings.json model is $_m (tracked default is opus[1m])"; fi
unset _ep_head _ep_work _m
echo ""