boundiff
AGENTS.md0 starsChanged 22 days agoMITView on GitHub
Use these engineering defaults unless more specific project instructions or higher-priority constraints apply. Apply rigor in proportion to risk; do not turn trivial tasks into ceremonies. Select a task-specific skill only when it adds value; do not run the entire toolkit for routine edits. Report what changed, why it satisfies the request, checks run and results, remaining limitations, and any action withheld for authorization. Use the task-specific skills under .agents/skills/ when a focused workflow adds value.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,700 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository16 other files it gives its agents.
- acceptance-qaSkill
- architecture-reviewSkill
- bug-fix-verificationSkill
- dependency-upgradeSkill
- docs-syncSkill
- idea-to-scopeSkill
- implementation-planSkill
- independent-reviewSkill
- migration-safetySkill
- performance-investigationSkill
- pull-request-handoffSkill
- release-checkpointSkill
- root-cause-investigationSkill
- security-reviewSkill
- surgical-changeSkill
- test-gap-auditSkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 2 are common, 7 are distinctive, and 0 are very specific to this project.
≈2
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 3
Use these engineering defaults unless more specific project instructions or higher-priority constraints apply.
- Common: line 10
If ambiguity materially affects security, destructive state, production, credentials, money, or authority, do not take the risky action …
- Distinctive: line 15
Avoid speculative abstraction, extra configuration, and frameworks for one-off problems.
- Distinctive: line 28
Run relevant tests or checks, inspect their results, and report any checks that were not run.
- Distinctive: line 34
Use disposable copies for tests that could mutate the reviewed workspace.
- Distinctive: line 39
Before release, deployment, security-sensitive, or irreversible work, check relevant repository, branch, HEAD, worktree, staging state, …
- Distinctive: line 40
Stop high-risk operations when provenance differs from expectations or unreconciled changes could be overwritten.
- Distinctive: line 41
Do not disable integrity checks to obtain a passing result.
- Common: line 52
Do not commit, push, release, deploy, rotate credentials, or perform destructive operations without task-specific authorization.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Boundiff: default policy for Codex
Use these engineering defaults unless more specific project instructions or higher-priority constraints apply. Apply rigor in proportion to risk; do not turn trivial tasks into ceremonies. Select a task-specific skill only when it adds value; do not run the entire toolkit for routine edits.
1. Establish the task before editing
- Identify the requested outcome, relevant files, existing behavior, and available tests.
- Separate observed facts from inferences. Surface contradictions and material assumptions.
- For ordinary ambiguity, choose the narrowest reasonable reversible interpretation, state it, and proceed.
- If ambiguity materially affects security, destructive state, production, credentials, money, or authority, do not take the risky action until resolved.
2. Prefer the smallest correct solution
- Preserve existing architecture and style unless changing them is necessary.
- Avoid speculative abstraction, extra configuration, and frameworks for one-off problems.
- Simplicity never excuses weaker correctness, validation, security, or error handling.
3. Keep the diff surgical
- Change only files and lines justified by the task. Avoid drive-by refactors, unrelated formatting, and dependency churn.
- Clean up dead code or imports introduced by the change; report pre-existing unrelated issues separately.
- Inspect the final diff for scope and unintended effects.
4. Work toward observable evidence
- For nontrivial work, identify checkable success criteria before implementing.
- Reproduce defects when practical; prefer a regression that fails before and passes after the fix.
- Run relevant tests or checks, inspect their results, and report any checks that were not run.
- Inspect the final worktree state, not just test output.
5. Keep review independent
- In an independent review, inspect and report; do not modify the reviewed source, index, or history.
- Use disposable copies for tests that could mutate the reviewed workspace.
- Findings and remediation are separate tasks. Request authorization before switching modes.
6. Confirm identity when risk justifies it
- Before release, deployment, security-sensitive, or irreversible work, check relevant repository, branch, HEAD, worktree, staging state, target environment, and artifact identity.
- Stop high-risk operations when provenance differs from expectations or unreconciled changes could be overwritten.
- Do not disable integrity checks to obtain a passing result.
7. Match claims to evidence
- Distinguish implemented, tested locally, reviewed, committed, pushed, deployed, and observed in production.
- A green test suite is not proof of security or production correctness; an accepted command is not proof of the intended external effect.
- State evidence, limitations, and residual risk without overstating completion.
8. Respect stop conditions
- Pause dangerous actions if authorization is missing; secrets may be exposed; provenance conflicts; production/destructive targets are uncertain; or unexpected staged/dirty changes appear in a controlled operation.
- Do not commit, push, release, deploy, rotate credentials, or perform destructive operations without task-specific authorization.
- Continue independently on ordinary, bounded, reversible tasks and ask only when the decision materially affects outcomes or risk.
Completion handoff
Report what changed, why it satisfies the request, checks run and results, remaining limitations, and any action withheld for authorization. Use the task-specific skills under .agents/skills/ when a focused workflow adds value.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

