docs(plan): C5 per gate (stash UI settings around finish)

This commit is contained in:
bchanot committed 2026-10-29 12:55:37 +01:00
1 parent 4bbd6e278e
commit 45977899ff
1 file changed
+1 -1
@@ -1073,4 +1073,4 @@ git commit -m "chore(agents): descriptions trimmed to ≤ 200 chars at the sourc
- **C2 — proofs** (after Task 8): `bash lib/project-rules.sh -C <project> matches '<glob>'` per new glob (faunosteo, game; `**/serverless.*` named if nowhere); one headless `claude -p` per moved path rule naming the Read tool (faunosteo supabase file, game `supabase/functions/*`, a UI file) → `path_glob_match` lines from `~/.claude/logs/instructions-loaded.jsonl`; `claude -p "/context"` vs baseline; analyzer `memory: project` check after an analyzer dispatch. All journaled. If the analyzer memory turns out disabled by `autoMemoryEnabled: false`: STOP and ask the user (revert the line, or keep it and record a BDR).
- **C3 — oracles**: `GATES_TIMEOUT=900 bash ~/.claude/lib/gates.sh run .claude/tasks/contracts/2026-10-28-context-diet-1944.md`.
- **C4 — TODO.md** (STEP 7 memory commit): phase 1 checked with its proof numbers, follow-ups added (the user removes the auto-memory dirs; any deferred item from the gate).
- **C5 — finish precondition**: `gitflow finish` checks out develop, which git refuses while the user's settings.json hunks are uncommitted (this branch changes settings.json). Before finish the user decides: commit their hunks (own `chore(settings)` commit) or `git stash push -- settings.json` around the finish and `git stash pop` after. Never `git checkout -- settings.json` / restore it (it is the live ~/.claude/settings.json and loses the edits).
- **C5 — finish precondition** (gate 2026-10-29): `gitflow finish` checks out develop, which git refuses while settings.json carries the uncommitted UI line (`"theme"`). Wrap the finish: `git stash push -m "ui settings" -- settings.json`, finish, `git stash pop`. Never `git checkout -- settings.json` / restore it (it is the live ~/.claude/settings.json). Tracked default stays `"model": "opus"`, `"switchModelsOnFlag": true`.