agentleFS
rajasdevelrajasdevel/outcomebound/AGENTS.md

outcomebound

AGENTS.md0 starsChanged 2 months agoApache-2.0View on GitHub

Frame every task by four inputs. Outcome: what becomes observably true, and for whom. Context: current code, runtime, and evidence; real complexity, users, lifespan. Bounds: owned scope, preserved state, granted authority, irreversible edges. Completion bar: observable success plus checks sized to the changed risk. Satisfy all four completely with the simplest approach that holds for the lifespan. Underengineered means fragile, unchecked, or uncertain where failure matters; overengineered means anything that changes no decision and reduces no risk — judged against…

The file

We split this AGENTS.md into the rules it gives an agent

8 rules. About 0 are common, 0 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    when delegating to a subagent or integrating a delegate's work: read .outcomebound/fragments/multi-agent.md

    line 76
  2. Very specific:

    when creating a worktree or working file, resuming or handing off work, keeping a fact for later sessions, or working in another …

    line 77
  3. Very specific:

    when a task depends on how a model, harness, provider or agent practice behaves: read .outcomebound/fragments/research.md

    line 78
  4. Very specific:

    when running a command whose output you read: read .outcomebound/fragments/commands.md

    line 79
  5. Very specific:

    when unsure how much design, testing, review or process a task needs: read .claude/skills/using-outcomebound/SKILL.md

    line 80
  6. Very specific:

    when a decision is the user's to make: read .claude/skills/decision-brief/SKILL.md

    line 81
  7. Very specific:

    when a request's outcome or completion bar is unclear, or requirements arrive from an existing source: read …

    line 82
  8. Very specific:

    when writing, changing or judging a test: read .claude/skills/tests-worth-keeping/SKILL.md <!-- outcomebound:end id=guidance-pointers -->

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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
<!-- outcomebound:begin id=operating-contract v=1.3.0 -->

OutcomeBound — neither underengineer nor overengineer: exactly the engineering the outcome requires.

Frame every task by four inputs. Outcome: what becomes observably true, and for whom. Context: current code, runtime, and evidence; real complexity, users, lifespan. Bounds: owned scope, preserved state, granted authority, irreversible edges. Completion bar: observable success plus checks sized to the changed risk.

Satisfy all four completely with the simplest approach that holds for the lifespan. Underengineered means fragile, unchecked, or uncertain where failure matters; overengineered means anything that changes no decision and reduces no risk — judged against this outcome and context, in process and code alike. Size the whole plan, not only each step: specs, tickets, reviews and records are engineering too, and a plan whose process outweighs its change is overengineered. Smallest complete, not least work.

None of these is default: a spec when later work relies on a decision the code cannot show; a goal envelope (pre-authorized bounds) for autonomous or multi-session work; a failing test first when it adds signal; independent review when a miss would reach users and no check you can run would catch it; the project's own gate at a protected boundary, never one you author; broad or runtime checks when the changed risk reaches that layer.

Preserve unrelated work. Reconcile prose with source, tests, runtime, and external state. Decide what you can; proceed on stated assumptions. Hold only an act that expands authority or crosses an ungranted irreversible edge: write its decision brief (the decision-brief skill); all other work continues. Delegates receive the same four inputs and bounds.

Report each named check as PASS, FAIL, or UNVERIFIED; missing evidence is UNVERIFIED, never success. Say only what a check establishes; a change, test, commit, push, deployment, or observation never stands in for another.

Project guidance, when present, follows below.

<!-- outcomebound:end id=operating-contract --><!-- outcomebound:begin id=project-facts v=1.0.0 -->
  • Done: make check and make test
  • Irreversible edges: pushing a release tag; pushing to the research repository; loosening the quality floor
  • Text for people: reports, decision briefs, handovers, pull request descriptions, commit messages and documents a person reads are written in the style of ASD-STE100 Simplified Technical English, with no length limit; every fact, number and caveat is kept, and this project's own terms stay as they are; text a model reads is not
  • Precedence: these facts over any instruction that disagrees with them; the project's own instructions in AGENTS.md over OutcomeBound's; process a project document only suggests is sized like any other step
<!-- outcomebound:end id=project-facts --><!-- outcomebound:begin id=guidance-pointers v=1.0.0 -->

local (setup) — the OutcomeBound engine repository itself

Context — this repository is both the contract and the engine that ships it, so an edit to OutcomeBound.md, templates/managed-block.agents.md.tmpl, skills/ or fragments/ changes what adopting projects load on their next install. Each area has one current design under docs/specs/, edited in place: a shipped artifact that disagrees with it is the defect, unless the decision itself changed, and then the design is edited in the same change. Bounds — outcomebound_tools/ and scripts/ import the standard library only. Pushing a release tag is an irreversible edge: a maintainer's act, or an agent's where a grant in .outcomebound/tag-grants.json covers it. Released changelog sections are preserved history. Text that leaves this machine (a commit message, a pull request, an issue, a changelog line, a design, a shipped file) is public: it names no project that uses OutcomeBound, no person, no local path, no id or role from a private working file (a brief id with no public home, a review finding id, a stream, an internal role's ruling), and no count or anecdote from a private run; a brief a commit or a ruled line cites is one that a public issue or pull request holds, cited by that number; a behaviour is described in general terms with a synthetic reproduction; a fact stands as fact only where a public source or a check you ran shows it, else UNVERIFIED. A change lands only through a pull request, as CONTRIBUTING.md "Agents and releases" says. A delegate's brief carries these bounds and nothing that disagrees with CONTRIBUTING.md. Mechanisms — spec when a wire format or block schema changes; review when a change alters what the kernel, the contract, a skill, a fragment or a template tells a model to do, and when a change adds an exemption to a gate or narrows what a gate counts (the floor, the instruction audit, the finish check, a tickets refusal): that review tries to pass the gate without the ruling it requires, and the pull request links it; broad-suite once at each landing, never inside a delegate. Completion bar — make gate, make check and make test, green at the tip that lands; at a release, make release-check passes on the release commit. make check runs the public-text claim (home paths and email addresses); before a pull request opens, make scrub also applies the local list OB_SCRUB_LIST names, and reads UNVERIFIED without it. Distinguish — the template shipped ≠ the block installed in this repository's AGENTS.md; committed ≠ pushed ≠ tagged ≠ adopted downstream.

  • when delegating to a subagent or integrating a delegate's work: read .outcomebound/fragments/multi-agent.md
  • when creating a worktree or working file, resuming or handing off work, keeping a fact for later sessions, or working in another repository: read .outcomebound/fragments/workspace.md
  • when a task depends on how a model, harness, provider or agent practice behaves: read .outcomebound/fragments/research.md
  • when running a command whose output you read: read .outcomebound/fragments/commands.md
  • when unsure how much design, testing, review or process a task needs: read .claude/skills/using-outcomebound/SKILL.md
  • when a decision is the user's to make: read .claude/skills/decision-brief/SKILL.md
  • when a request's outcome or completion bar is unclear, or requirements arrive from an existing source: read .claude/skills/gather-requirements/SKILL.md
  • when writing, changing or judging a test: read .claude/skills/tests-worth-keeping/SKILL.md
<!-- outcomebound:end id=guidance-pointers -->

OutcomeBound — repository manual

This repository is the operating contract and the engine that ships it. The engine is Python standard library only.

Authority

SourceRole
OutcomeBound.mdthe operating contract
docs/specs/<area>/design.mdthe one current design for each area: install, distribution, skills, floor, tickets, decision brief, instructions, finish check, research
docs/prompt-standard.md, docs/evaluations.mdthe prompt standard and this project's own evaluation record; read only when a task needs them
outcomebound-research, read with scripts/outcomebound research <path>the research behind them: models, harnesses, providers, practices, one advice file per model (models/) and implementer tiers (applications/implementer-tiers.md); read only when a task needs them
Released CHANGELOG.md sectionshistory

Commands

CommandDoes
make gatethe standard-library boundary over outcomebound_tools/ and scripts/
make checkmake gate, then this repository's quality floor against OB_BASE (default origin/main)
make testthe suite, spread across CPUs
make scrubthe public-text check plus the local list of private names OB_SCRUB_LIST names, over the tracked files and the commits since OB_BASE; UNVERIFIED without the list
make canarythis checkout's engine beside the installed release, read-only, on each project of the local list OB_CANARY_LIST names, under Python 3.10 and the installed release's Python: adopt --dry-run, adopt --check and instructions check, floor check --base HEAD where a floor is installed, tickets check --draft on each draft set the project's claims plan names, and tickets check on an issues.json export in the project root (else UNVERIFIED; it calls no tracker); fails on a candidate crash, refusal or invalid report, or on any change to a project's tree, ignored entries included; reports by project number and records the verdict for HEAD's tree; UNVERIFIED without the list; run before a pull request that changes adopt, tickets, floor, instructions or discovery lands (one run on a commit that holds every change of several such pull requests covers all of them, before the first of them lands), and on the committed release commit (docs/VERSIONING.md gives the release sequence)
make release-check [TAG=v<VERSION>]on a release commit, before the tag: a PASS record of make canary for this tree, VERSION, changelog, README and CI templates agree (and, once named, the tag, and a passing CI run on main for its commit), the install is current, and gate, floor and suite pass
scripts/outcomebound <verb> --helpthe engine's verbs: adopt, floor, tickets, brief, validation, fragments, discovery, instructions, finish-check, research, home
scripts/outcomebound adopt . --checkwhether this repository's own install is current, as CI checks it
bash scripts/new-spec.sh <slug> [--with-plan]scaffold a design under docs/specs/<slug>/ from templates/spec/design.md, and with --with-plan a plan from templates/spec/plan.md
python3 scripts/build_backend.py [--sdist]build the package adopters install, into dist/
.agents/tools/runner <command> ...run a command with this checkout's engine: OUTCOMEBOUND_HOME set to it and its launcher first on PATH, since in a worktree outcomebound on PATH runs the checkout its link points into

Map

OutcomeBound.md       the contract
outcomebound_tools/   the engine
scripts/              the `outcomebound` launcher, the package's build backend and this repository's scripts
pyproject.toml        names the build backend; the package's metadata is in the backend
skills/               the default skills, the skills fragments name, and the adopt skill, which stays in this checkout
fragments/            stack and setup guidance, copied under .outcomebound/fragments/ and pointed at from AGENTS.md
templates/            the kernel block; the spec (design, plan), goal envelope, ticket and CI templates;
                      outcomebound.mk, Make targets a project may include for the floor and a validation plan
adapters/             harnesses.json, the harness table adopt routes by; surfaces.json, which surfaces render Mermaid
schemas/              wire formats
docs/                 designs, references, guides
references/           portability.md, the harness matrix as adapters/harnesses.json records it
evals/                fourteen kernel and skill fixtures under four arms (earlier, current, unsized, none), and twelve
                      hand-off fixtures that run only when named; evals/README.md says how to run them
tests/                the engine's behavior
.agents/tools/        tools for agents working in this repository

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.