Keep each project's model per machine, and merge a settings.json change through its own PR

This commit is contained in:
2026-10-02 23:26:54 +02:00
parent 0e7f5895bb
commit d1d80d8069
3 changed files with 5 additions and 6 deletions
+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. 2026-10-02, lilleman: goal 1 shares the setup across machines, and a project's model is not part of it, so each new machine asks once per project. Stands until `todo.md` item 35 settles it. 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. 2026-10-02, lilleman: goal 1 shares the setup across machines, and a project's model is not part of it, so each new machine asks once per project. 2026-10-02, lilleman: keep it per machine; a project's model is each machine's own choice, so a new machine asking once does not repeat a question under goal 4.2. 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