Check Claude Code's settings.json changes for a credential before committing them, and give Install the checkout commands

This commit is contained in:
2026-10-04 20:31:14 +02:00
parent 5baedb58df
commit b65c23582f
4 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ Decisions live in `docs/decisions.md`:
## Working rules
- When `~/.claude/settings.json` has uncommitted changes, commit them on a branch of their own and merge them through a PR: Claude Code writes that file from any session.
- When `~/.claude/settings.json` has uncommitted changes, commit them on a branch of their own and merge them through a PR: Claude Code writes that file from any session. Read their diff before committing: when it holds a credential, such as a token in `env` or `mcpServers`, commit nothing and ask the human.
## Scoring run