Check Claude Code's settings.json changes for a credential before committing them, and give Install the checkout commands
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user