R7 Change instructions in a change of their own
Superseded by R46 Keep instruction files apart from other files in a change, R47 A generated file goes with the side that changed it, R48 Merge the change to the instructions first, R49 Run the instruction-only check in CI.
Change instruction files in a change of their own, never together with changes to other files; a generated file goes with the side that changed it.
Reason
A single change that both altered the instructions binding agents and did work they govern would let an agent rewrite the provisions that bind it and so get around them (Art. X §4).
Verification
Instruction files are the files that direct or constrain agents:
AGENTS.mdandCLAUDE.md, in any directory;- everything under
.agents/skills/and.claude/skills/; - subagent definitions and slash commands of agent tools, for example everything under
.claude/agents/and.claude/commands/; - the hooks and permission settings of agent tools, for example
.claude/settings.json,.claude/settings.local.json,.claude/hooks/and everything under.codex/; - the sources that instructions are compiled or generated from, such as the sources of the constitution and of the rules;
- any other path that a repository declares as instructions in its own
AGENTS.md.
CI configuration, git commit hook configuration and tool code are not instruction files.
A change (a pull request) whose changed files include both instruction files and other files does not comply (Art. X §4); a rename counts as removing the old path and adding the new one. The agent splits it in two: the change to the instructions is merged and takes effect first, and the rest of the work is then done under the new instructions.
A generated file that CI shows to equal the output of its build is not classed on its own: it goes with the side that changed it. When a change to tools changes such a file, the description of the change says that only the rendering changed, not the meaning, and the review checks that. If the meaning changed, the change counts as a change to instructions.
Where a repository has a check for this, the check runs in CI and fails a change that mixes the two. Where it has none, the rule holds all the same, and review enforces it.
When unsure whether a file is an instruction file, treat it as one.