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.…
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 35,266 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 repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-bulk-archive-changeSkill
- openspec-continue-changeSkill
- openspec-exploreSkill
- openspec-ff-changeSkill
- openspec-new-changeSkill
- openspec-onboardSkill
- openspec-sync-specsSkill
- openspec-verify-changeSkill
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
- Very specific: line 11
The schema is frozen: Do not add, rename, or remove fields in packages/schema to make a task easier.
- Very specific: line 12
Fixtures are sacred: Never edit files under fixtures/ by hand.
- Distinctive: line 23
If a spec scenario and the code disagree, the spec wins.
- Very specific: line 24
Keep Track boundaries: changes under packages/ui should not reach into parsers.
- Distinctive: line 28
Prefer asking over assuming for: schema semantics, pricing edge cases, anything touching fixtures or privacy.
≈ “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.
Files
AGENTS.md — instructions for coding agents working in this repo
You are implementing RunRay. Read before writing any code:
openspec/project.md— conventions and glossary (binding).- The active change under
openspec/changes/— itsproposal.md,design.md, and spec deltas are the requirements. Work fromtasks.md, one task at a time, and tick tasks off as you complete them. docs/05-ARCHITECTURE.md— module boundaries, CLI surface, performance budgets.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/schemato make a task easier. Schema changes require a version bump, a human decision, and updates todocs/02-DATA-MODEL.mdand all goldens. - Fixtures are sacred. Never edit files under
fixtures/by hand. New fixtures go throughscripts/scrub-fixture.tsand must carry theSCRUBBEDmarker. Never commit real prompt text, real paths, or usernames. Goldens infixtures/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
developand open pull requests againstdevelop. Never targetmain: it only takes releases fromdevelopandhotfix/*branches, and a required check rejects anything else (see CONTRIBUTING.md → Branches). - One task from
tasks.mdper 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 testgreen, 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/uishould not reach into parsers; changes underpackages/coreshould not import fromui.
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.
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.

