agentleFS
RunRayRunRay/runray/AGENTS.md

runray

AGENTS.md2 starsChanged 3 months agoMITView on GitHub

You are implementing RunRay. Read before writing any code: 1. openspec/project.md — conventions and glossary (binding). 2. The active change under openspec/changes/ — its proposal.md, design.md, and spec deltas are the requirements. Work from tasks.md, one task at a time, and tick tasks off as you complete them. 3. docs/05-ARCHITECTURE.md — module boundaries, CLI surface, performance budgets. 4. docs/02-DATA-MODEL.md + schema/runray.schema.json — the data contract. Prefer asking over assuming for: schema semantics, pricing edge cases, anything touching fixtures or privacy.…

The file

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

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    The schema is frozen: Do not add, rename, or remove fields in packages/schema to make a task easier.

    line 11
  2. Very specific:

    Fixtures are sacred: Never edit files under fixtures/ by hand.

    line 12
  3. Distinctive:

    If a spec scenario and the code disagree, the spec wins.

    line 23
  4. Very specific:

    Keep Track boundaries: changes under packages/ui should not reach into parsers.

    line 24
  5. Distinctive:

    Prefer asking over assuming for: schema semantics, pricing edge cases, anything touching fixtures or privacy.

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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

AGENTS.md — instructions for coding agents working in this repo

You are implementing RunRay. Read before writing any code:

  1. openspec/project.md — conventions and glossary (binding).
  2. The active change under openspec/changes/ — its proposal.md, design.md, and spec deltas are the requirements. Work from tasks.md, one task at a time, and tick tasks off as you complete them.
  3. docs/05-ARCHITECTURE.md — module boundaries, CLI surface, performance budgets.
  4. docs/02-DATA-MODEL.md + schema/runray.schema.json — the data contract.

Hard rules (never violate; ask a human instead)

  • The schema is frozen. Do not add, rename, or remove fields in packages/schema to make a task easier. Schema changes require a version bump, a human decision, and updates to docs/02-DATA-MODEL.md and all goldens.
  • Fixtures are sacred. Never edit files under fixtures/ by hand. New fixtures go through scripts/scrub-fixture.ts and must carry the SCRUBBED marker. Never commit real prompt text, real paths, or usernames. Goldens in fixtures/normalized/ are regenerated only via the regen script, in a dedicated commit.
  • No runtime network calls. The only permitted network operation in the product is explicit pricing --refresh. Do not add fetches, update checks, or telemetry. The local server binds 127.0.0.1 only.
  • Determinism. Normalizer output must be stably ordered; if a change makes goldens flap, the change is wrong, not the goldens.
  • Privacy in core. Redaction happens in packages/core, never as a UI-side filter.
  • No new dependencies without a note. Adding a dependency requires a one-line justification in the PR description and a check that it doesn't pull in network access at runtime.

Workflow

  • Branch from develop and open pull requests against develop. Never target main: it only takes releases from develop and hotfix/* branches, and a required check rejects anything else (see CONTRIBUTING.md → Branches).
  • One task from tasks.md per commit/PR; conventional commit messages; reference the task id (e.g. feat(core): claude-code adapter tree reconstruction [2.2]).
  • Definition of done for any task: pnpm lint && pnpm typecheck && pnpm test green, goldens unchanged (or regenerated deliberately with justification), no schema drift (CI schema-diff clean).
  • If a spec scenario and the code disagree, the spec wins; if the spec seems wrong, stop and flag it — do not silently reinterpret requirements.
  • Keep Track boundaries: changes under packages/ui should not reach into parsers; changes under packages/core should not import from ui.

When unsure

Prefer asking over assuming for: schema semantics, pricing edge cases, anything touching fixtures or privacy. Everything else: follow the specs and ship the task.

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.