Answer stability round 1: 2 🔴, 3 🟡; anchor .gitattributes to the root settings.json, sort the new imports, isolate the checkout tests from the host's git, start a new install's Update at git fetch, fix the filter's docstring

This commit is contained in:
2026-10-21 21:59:53 +02:00
parent d18b064e43
commit b57704d237
8 changed files with 83 additions and 43 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ git init
git remote add origin ssh://git@gitea.larvit.se:21022/lilleman/claude-config.git
```
Then run Update's commands.
Then run Update's commands, from `git fetch` on: a new checkout has no model pick to stage.
Have Python 3.11 or newer as `python3` on `PATH`, and for Rust projects `rust-analyzer` on `PATH`, which the `rust-analyzer-lsp` plugin needs. Install every plugin `settings.json` enables:
@@ -60,7 +60,7 @@ Have git store `settings.json` without `"model"`, so a model you pick with `/mod
git config filter.settings.clean bin/settings_filter.py
```
After a pick, `git status` may still list `settings.json`, and `git pull` refuses to update it. `git add settings.json` clears that, with nothing to commit. A pull that changes `settings.json` then drops the model; pick it again with `/model`.
After a pick, `git status` may still list `settings.json`, and `git pull` refuses to update it. `git add settings.json` clears that, with nothing to commit. A pull that changes `settings.json` then drops the model. Pick one with `/model` on each new machine, and again after such a pull.
Link `loop-claude` onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/loop-claude`. Run `loop-claude` only in a sandbox with no direct access to a production environment, such as a dedicated VM: every claude it starts, the interactive ones included, skips every permission prompt.