atris
AGENTS.md71 starsChanged 8 months agoMITView on GitHub
New here? Read FOR_AGENTS.md: open letter from an agent who tried it. Works with: Claude Code, Cursor, Codex, OpenClaw, Windsurf, and any AI coding agent. Talk like a person. This governs every message you send the operator: boot, status, summaries, everything. copy these shapes: - Status: "The reply check is built. I am running the final checks now, so the result is not ready yet." - Landing: "Replies now get a plain-language check before they reach you. The checks passed,…
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 33,398 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 repository8 other files it gives its agents.
- atris/AGENTS.mdAGENTS.md
- atris/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/atris.mdcCursor rule
- .cursor/rules/atris-voice.mdcCursor rule
- llms.txtllms.txt
- endgameSkill
- swarloSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
25 rules. About 0 are common, 15 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
No task codes, branch names, commit hashes, PR numbers, or system nouns (worktree, verifier, projection, tick) in the message body.
- Distinctive: line 13
No insider terms without defining them in the same breath.
- Distinctive: line 17
No em dashes anywhere; use a comma, colon, or period.
- Very specific: line 35
Run atris first. It prints repo state, the files to read, and the next command.
- Distinctive: line 37
If there is no existing task, create one before editing:
- Very specific: line 61
Run atris run logs to inspect autonomous plan/do/review phase logs.
- Distinctive: line 67
Every agent should leave four artifacts another agent can trust:
- Very specific: line 78
Do not rely on chat context.
- Very specific: line 79
Do not write new operating doctrine here first.
- Very specific: line 89
Always-on agents should move proof-backed work to Review, complete their native goal, then stop that task.
- Distinctive: line 119
Default to the current checkout for small, clean, single-agent fixes.
- Very specific: line 136
Use atris mission when work should survive this chat or run as an autonomous loop.
- Very specific: line 142
Start current-agent work: atris mission start "<objective>" --owner <member> --runner codex_goal --lane code --verify "<cmd>" --stop …
- Very specific: line 143
Start headless Claude work: add --runner claude --cadence "15m" --always-on, then use atris mission run <id> --max-ticks 4 …
- Distinctive: line 158
Read it before writing code.
- Distinctive: line 178
Real runtime over mocks: if you fixed live behavior, the regression test reproduces it against the real runtime, not a mock that can stay …
- Distinctive: line 201
Don't explore codebase manually (use MAP.md)
- Distinctive: line 202
Don't skip visualization step
- Distinctive: line 203
Don't leave stale tasks
- Distinctive: line 204
Don't hand-edit TODO.md for active task ownership
- Distinctive: line 205
Don't write verbose docs
- Very specific: line 234
Keep this voice in every reply: <!-- ATRIS_VOICE_CARD:START -->
- Distinctive: line 238
Start with the answer, then give the reader only what helps them act.
- Distinctive: line 240
Keep each paragraph to one or two sentences and leave a blank line between thoughts.
- Very specific: line 249
After meaningful work, save fresh notes: atris brain compile --root .
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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: Universal Agent Instructions
New here? Read
FOR_AGENTS.md: open letter from an agent who tried it.
Works with: Claude Code, Cursor, Codex, OpenClaw, Windsurf, and any AI coding agent.
The way of talking (every reply, no exceptions)
Talk like a person. This governs every message you send the operator: boot, status, summaries, everything.
- Plain words. Say what happened and what it means for the reader, cause and effect. Not the machinery.
- No task codes, branch names, commit hashes, PR numbers, or system nouns (worktree, verifier, projection, tick) in the message body. If the reader needs a command, put ONE copyable line at the end.
- No insider terms without defining them in the same breath. A sharp non-engineer must follow it on first read.
- Lead with the outcome. Complete sentences, one or two per paragraph, blank line between. No headers, bullet stacks, or tables in chat replies; those belong in files.
- Detail lives in files and receipts. Offer "want the detail?" instead of dumping it.
- Say the outcome and what it means for the reader. Keep plumbing and engineering detail out unless the reader asks to dig deep, then give the full technical view. Atris exists to take 80 to 90 percent of the technical headache off a business and give it a system to run on.
- No em dashes anywhere; use a comma, colon, or period.
- The test before sending: read it fried at 2am. If decoding takes work, rewrite it.
copy these shapes:
- Status: "The reply check is built. I am running the final checks now, so the result is not ready yet."
- Landing: "Replies now get a plain-language check before they reach you. The checks passed, and the change is ready."
- Failure: "The plain-language check could not run because its model was unavailable. Your reply still went through, so no work was blocked."
Canonical source: atris/atris.md ## voice. This block is a copy for tools that only read AGENTS.md; if they differ, atris.md wins.
Quick Start
atris
atris task list --status open
atris task claim <id> --as <agent>Run atris first. It prints repo state, the files to read, and the next command.
If there is no existing task, create one before editing:
atris task new "<small concrete title>" --tag <area>
atris task claim <id> --as <agent>Core Files
Atris is the source of truth. This file is only an adapter for tools that read
AGENTS.md; do not turn it into a parallel brain. Durable policy, workflow,
task truth, proof, review, and backend/cloud sync all flow through Atris.
| File | Purpose |
atris/atris.md | Protocol/backbone for this workspace |
atris/PERSONA.md | Communication style (read first) |
atris task | Current tasks, claims, dialogue, proof; deep dive: tasks.md |
.atris/state/tasks.projection.json | Readable task projection for UIs/agents |
atris/TODO.md | Rendered/legacy task view only |
atris/MAP.md | Navigation (where is X?) |
Proof Surfaces
Run atris run logs to inspect autonomous plan/do/review phase logs. Use
atris run search, stats, export, diff, and prune-logs when proof needs
to be found, compared, shared, or kept concise.
Agent Contract
Every agent should leave four artifacts another agent can trust:
| Artifact | Where |
| Objective | atris task note <id> "Goal / files / done / check" |
| Navigation | atris/MAP.md when a new route or file location is learned |
| Change | Small git diff in declared files only |
| Proof ready | atris task ready <id> --proof "<commands or receipt>" |
| Accept | atris task accept <id> by a human, or autoland lands certified work when the owner flipped atris autoland on (protected lanes still wait) |
| Land or reap | merge your branch or delete it before you stop; atris land shows limbo, atris land --reap clears it |
Do not rely on chat context. Put the task, file pointers, and proof on disk.
Do not write new operating doctrine here first; add it to Atris policy, skills,
wiki, or atris/atris.md, then regenerate this adapter if needed.
Native goals and task approval are separate gates:
Agent proof ready -> native goal can complete
Human accept -> task Done + AgentXP awardedAlways-on agents should move proof-backed work to Review, complete their native
goal, then stop that task. The next goal or recurring monitor starts in a new
dedicated task. They must not run
atris task accept or claim AgentXP themselves; acceptance comes from a human
or from the owner's standing atris autoland policy, never from the agent.
Mission-shaped user intent wins before normal task selection. If the user
message starts with atris mission run, execute that command first, then run
atris mission goal --json and mirror goal.visible_goal into the native chat
goal. If the user asks for a mission, loop, overnight run, "keep going", "fix
this", or sends a screenshot with task intent and no mission exists yet, start
one with atris mission run "<inferred objective>" --owner <member> instead of
falling back to manual task/worktree flow.
Codex agents with native goal tools should run atris mission goal --json
before choosing work. If the payload includes goal.visible_goal, mirror
goal.objective when this active task has no goal yet or its goal already
matches; never reuse a completed task or complete unrelated active goals just to
make room.
Workflow
PLAN → atris plan (break ideas into tasks)
BUILD → atris do (execute tasks)
CHECK → atris review (verify + cleanup)Parallel Member Worktrees
Default to the current checkout for small, clean, single-agent fixes. Use an isolated checkout only when the launcher is dirty, multiple agents may edit in parallel, proof will run for a long time, the change is risky, or release/publish work needs a clean tree.
atris worktree guide
atris worktree start --member <member> --task "<short task>" --claim
atris worktree start --agent <subagent> --task "<short task>"
cd <printed path>
atris worktree ship --message "<commit summary>" --verify "<test command>" --mergeThis ties member/agent identity, mission/member state, branch name, isolated checkout, optional Swarlo claim, verification, push, PR, and merge together. Use atris worktree status before broad staging and atris worktree cleanup / atris worktree cleanup --apply to remove clean merged worktrees.
Mission Autonomy
Use atris mission when work should survive this chat or run as an autonomous loop.
member -> mission start --verify -> status --status active -> one bounded step -> mission tick --verify -> receipt -> complete|run|stop- Start current-agent work:
atris mission start "<objective>" --owner <member> --runner codex_goal --lane code --verify "<cmd>" --stop "<condition>" - Start headless Claude work: add
--runner claude --cadence "15m" --always-on, then useatris mission run <id> --max-ticks 4 --complete-on-pass. - Resume:
atris mission status --status active --json, then pick the mission matching your owner/member. - Prove: after one bounded step, run
atris mission tick <id> --verify --summary "<what changed>". - Close: if the verifier passes, run
atris mission complete <id> --proof "<receipt_path>"; if current-agent work should keep going, repeat status -> step -> tick. - Rollout:
atrisos-backendandatrisos-webagents must check active missions before picking work; if no active mission exists and autonomy was requested, create one with owner, verifier, lane, and stop condition first.
Build Craft: what decides acceptance
Mined from this repo's receipts (803 receipts, 1711 episodes): proofs naming a runnable verify command were accepted 670/674 at the gate; 24 of 28 bounces named none. These rules are the difference, in priority order:
- Name a runnable verify command in every proof, and run it bare; never
test | tailor| grep; a pipe replaces your exit code with the filter's. - A task naming a spec file (
atris/features/<name>/idea.md) is a contract. Read it before writing code; build the named slice only; use its verify command verbatim. Do not improvise adjacent improvements. - Zero new dependencies. This CLI runs on Node built-ins only (fs, path,
child_process, readline, https, crypto). A
package.jsondependency change is an automatic bounce. - New CLI command = router entry too. A
commands/<name>.jsbranch is dead until the name is inknownCommandsinbin/atris.js. When adding an engine, three test files assert the exact profile-name list (runner-command, engine, cli-smoke). - Output voice: lowercase CLI output, plain sentences, no em dash character, no ALL CAPS, no ULIDs or test counts on human-facing lines.
- Git discipline:
git statusfirst; stage only files you changed; never revert another agent's work; never destructive git; land againstorigin/master(the board measures master, not your launcher branch). - Final report = files changed + verify command + its exact exit/output. Judges read the worktree diff, not your prose; an empty report with a clean diff beats a confident report with no diff.
- Update the map sections you touched: routing rows in
atris/MAP.md, file:line refs inatris/refs/MAP-NOTES.md(refs drift on their own clock; stale refs contradict closed lessons for months). - Real runtime over mocks: if you fixed live behavior, the regression test reproduces it against the real runtime, not a mock that can stay green through breakage.
- When your engine dies mid-build (credits, limits), that is a staffing event, not a failure; leave the worktree intact with a note; the conductor restaffs it.
Rules
- 3-4 sentences max per response
- Use ASCII visuals for planning
- Check MAP.md before touching code
- Run
atris task listoratris task nextbefore picking work - Claim tasks with
atris task claim <id> --as <agent> - Move agent-completed work to Review via
atris task ready <id> --proof "..." - Complete native Codex/Claude goals after proof is in Review, so always-on work can continue
- Only use
atris task accept <id>when the human has approved the proof - Keep durable learning in Atris-owned policy/skill/wiki/task state; keep
AGENTS.mdas a generated/pointer layer - Treat
atris/TODO.mdas a rendered view; do not manually use it as the source of truth - Use the real business slug from local Atris state; do not hardcode private slugs in generated docs
Anti-patterns
- Don't explore codebase manually (use MAP.md)
- Don't skip visualization step
- Don't leave stale tasks
- Don't hand-edit TODO.md for active task ownership
- Don't write verbose docs
Protocol: See atris/atris.md for full spec.
<!-- ATRIS_BRAIN_COMPILE:START -->Atris start-up notes
This folder keeps notes that give every agent the same starting context.
At the start of a session, run this and read what it prints:
atris brain activate --root .
Then read these files in order:
atris/now.mdatris/brain/STATUS.mdatris/brain/self_improvement_ledger.md.atris/state/chat_scan.latest.jsonatris/wiki/concepts/agent-activation-contract.mdatris/skills/atris/SKILL.mdatris/PERSONA.mdatris/MAP.mdatris/TODO.mdatris/wiki/index.md
First reply: open with the one thing most worth doing today. Then say why, what is already prepared and where to look for more.
Shape: <name>, today is about <the one thing> -> I picked this because <why now> -> Ready: <what is prepared> -> Go deeper: <2 to 4 paths>.
Keep this voice in every reply:
<!-- ATRIS_VOICE_CARD:START -->Voice card
Start with the answer, then give the reader only what helps them act. Name the exact thing in plain words, like you are talking to a person.
Keep each paragraph to one or two sentences and leave a blank line between thoughts. Use a comma or period instead of an em dash.
Status example: The reply check is built. I am running the final checks now, so the result is not ready yet.
Landing example: Replies now get a plain-language check before they reach you. The checks passed, and the change is ready.
<!-- ATRIS_VOICE_CARD:END -->After meaningful work, save fresh notes:
atris brain compile --root . --yes
<!-- ATRIS_BRAIN_COMPILE:END -->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.

