feat(claude): manage the global Claude Code instructions - #86
Merged
Merged
Conversation
~/.claude/CLAUDE.md was machine-local, so every machine drifted and each new session had to be told the same rules again. Bring it under chezmoi: style (short sentences, one per bullet), questions (read the docs first, never re-ask what they answer), and authority (how a session reports a block, what it may do unasked, what needs me first). Claude-Session: https://claude.ai/code/session_01VUd2Wv3nkSBpWgYBK6yhfh
Sessions kept stopping at "you can push and open a PR", which is the part they can do. Make it explicit: branches, commits, pushes and opening the pull request are already authorised; only merging needs Matt. Claude-Session: https://claude.ai/code/session_01VUd2Wv3nkSBpWgYBK6yhfh
thompsonson
commented
Sep 20, 2026
…e to drive From Matt's review of #86: - Replace the "load bearing" ban with grounding terms in the repo's glossary, in style and before asking questions. - Merging is his alone, stated as such. - Test VMs exist to be driven: installing builds, changing nix.conf, systemd units and sudoers, and creating or destroying the VM are all authorised. - Deleting is authorised for anything living only in a test environment. - Ask-first now covers production and shared machines, not test ones. Claude-Session: https://claude.ai/code/session_01VUd2Wv3nkSBpWgYBK6yhfh
Owner
Author
|
All six review points applied in
Ask-first now names production and shared machines, rather than any long-lived environment. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings
~/.claude/CLAUDE.mdunder chezmoi asdot_claude/CLAUDE.md, so every machine gets the same rules instead of each session being told them again.What the file says
Why
Three things were repeated in nearly every session: the style, asking what the documentation already answered, and stopping short of the work that was already authorised. They now live in one file that every session inherits.
Checks
chezmoi statusclean; source and live copy match.chezmoi apply --dry-runtouches this file only../tests/test.sh quickpasses.https://claude.ai/code/session_01VUd2Wv3nkSBpWgYBK6yhfh