What's included
- AGENTS.md or CLAUDE.md
- A rules folder
- A memory file
- A shared prompt
Not included
- An edit the user makes by hand
Why it matters
Every agent that reads the file follows what it says. One edit can change how a whole team's agents behave, or remove a rule the organization put there on purpose.
Policy questions
Map your organization's context. Who may do this, where, when, and with whose approval.
- Which instruction and memory files does the organization manage, so that no agent may edit them?
- May an agent edit instruction or memory files on its own, or only when the user asks for that edit?
- Who must review an edit before other people's agents read it: any teammate, the repository's owners, or nobody?
Examples
In line
Asked to record the team's new test command, a developer's agent adds one line to the repository's AGENTS.md and puts it in the pull request for review.
Out of line
A rule blocks an agent's task, so the agent deletes 'never change the billing module' from the shared rules folder that every teammate's agent reads.
Related behaviors
- SPARC-102 Extension Change covers changing a skill's or plugin's files.