agentleFS
itsofficialadiitsofficialadi/boundiff/AGENTS.md

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.

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
  1. Distinctive:

    Use these engineering defaults unless more specific project instructions or higher-priority constraints apply.

    line 3
  2. Common:

    If ambiguity materially affects security, destructive state, production, credentials, money, or authority, do not take the risky action …

    line 10
  3. Distinctive:

    Avoid speculative abstraction, extra configuration, and frameworks for one-off problems.

    line 15
  4. Distinctive:

    Run relevant tests or checks, inspect their results, and report any checks that were not run.

    line 28
  5. Distinctive:

    Use disposable copies for tests that could mutate the reviewed workspace.

    line 34
  6. Distinctive:

    Before release, deployment, security-sensitive, or irreversible work, check relevant repository, branch, HEAD, worktree, staging state, …

    line 39
  7. Distinctive:

    Stop high-risk operations when provenance differs from expectations or unreconciled changes could be overwritten.

    line 40
  8. Distinctive:

    Do not disable integrity checks to obtain a passing result.

    line 41
  9. Common:

    Do not commit, push, release, deploy, rotate credentials, or perform destructive operations without task-specific authorization.

    line 52

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.