Record the model file as per-machine state outside goal 1's setup

This commit is contained in:
2026-10-02 09:09:12 +02:00
parent a2212fe1f8
commit 56a2985a6f
+1 -1
View File
@@ -34,7 +34,7 @@
## loop-claude: each project's model lives in `~/.claude/loop-claude-models.json`, which only loop-claude writes
2026-09-26, lilleman. Serves goal 4. Claude Code rewrites the user settings' `model` whenever one is picked inside a session, so a loop reading settings runs whatever was picked last; `~/.claude/loop-claude-models.json` has loop-claude as its one writer, and every claude it starts gets that model as `--model`. The file is per machine, outside the synced allowlist, since a tracked file the loop writes would dirty the checkout. Against goal 1, a new machine asks once per project; lilleman kept it per machine on 2026-10-02. Valid while Claude Code keeps rewriting the settings' model from inside a session.
2026-09-26, lilleman. Serves goal 4. Claude Code rewrites the user settings' `model` whenever one is picked inside a session, so a loop reading settings runs whatever was picked last; `~/.claude/loop-claude-models.json` has loop-claude as its one writer, and every claude it starts gets that model as `--model`. The file is per machine, outside the synced allowlist, since a tracked file the loop writes would dirty the checkout. A project's model is a per-machine choice, outside the setup goal 1 shares, so a new machine asks once per project; lilleman, 2026-10-02. Valid while Claude Code keeps rewriting the settings' model from inside a session.
## review: a pass gets at most three rounds per chunk; instead of a fourth, the run asks the human