oompa / src
AGENTS.md9 starsChanged 3 months agoMITArchived repositoryView on GitHub
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 repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/plugins/AGENTS.mdAGENTS.md
- .agents/skills/AGENTS.mdAGENTS.md
- .agents/skills/phase-final-reviewer/AGENTS.mdAGENTS.md
- .agents/skills/phase-implementer/AGENTS.mdAGENTS.md
- .agents/skills/phase-orchestrator/AGENTS.mdAGENTS.md
- .agents/skills/phase-reviewer/AGENTS.mdAGENTS.md
- .agents/skills/write-phase-plan/AGENTS.mdAGENTS.md
- app/AGENTS.mdAGENTS.md
- convex/AGENTS.mdAGENTS.md
- desktop/AGENTS.mdAGENTS.md
- kb/AGENTS.mdAGENTS.md
- plugins/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- site/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- phase-final-reviewerSkill
- phase-implementerSkill
- phase-orchestratorSkill
- phase-reviewerSkill
- write-phase-planSkill
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 1 is common, 2 are distinctive, and 3 are very specific to this project.
≈1
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 14
Keep cli.ts a thin composition entry point.
- Distinctive: line 15
Use closed command and result unions.
- Distinctive: line 18
Use absolute, canonical, no-follow paths for durable state and profile roots.
- Common: line 19
Keep CLI and detached-daemon secret custody noninteractive.
- Very specific: line 20
Keep semantic facts, rules, projections, raw store handles, database locators, and purge authority behind the host-owned facts-memory …
- Very specific: line 24
Keep runtime imports flowing one way: domain -> storage -> daemon -> cli, cloud, codex.
≈ “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
Contents
cli/parses commands and renders stable human or JSON output.daemon/owns the local socket, lifecycle, command dispatch, joins, and the opaque facts-memory broker seam.codex/owns the pinned app-server process and protocol adapter.claude/owns the pinned Claude Code process, its stream-json dialect, and the delta assembler behind the same runtime port.devin/owns the pinned Devin CLI, isolated authentication, and bounded ACP v1 client.domain/owns identifiers, presets, projections, state transitions, encryption envelopes, and command outcomes.storage/owns SQLite migrations, repositories, secret custody, state paths, and facts-memory directory custody.cloud/owns the optional Convex client, sync projections, device enrollment, execution leases, and remote commands.
Guidelines
- Keep
cli.tsa thin composition entry point. Put behavior in owned modules with injected ports. - Use closed command and result unions. Do not pass argv strings or provider method names into domain code.
- Parse all filesystem, database, socket, provider, cloud, and JSON values from
unknown. - Store a prepared receipt before every mutation. Bind it to the exact authority generation and reconcile indeterminate outcomes without replay.
- Use absolute, canonical, no-follow paths for durable state and profile roots. Require user-only permissions.
- Keep CLI and detached-daemon secret custody noninteractive. Use current-user-owned mode-0700 directories and descriptor-read mode-0600 immutable values; never silently overwrite or delete recovery evidence. Do not depend on a Keychain prompt from an unsigned interpreter process.
- Keep semantic facts, rules, projections, raw store handles, database locators, and purge authority behind the host-owned facts-memory broker. The Oompa control plane may retain only bounded opaque lifecycle authority and exact public heads or receipts.
- Force both pinned Codex credential stores to file mode at the process boundary and prove their effective values before account, plugin, or session effects.
- Preserve stdout for requested data. Send diagnostics to stderr. Never print secrets, provider payloads, environment values, or raw local paths in cloud-facing output.
- Bound lines, frames, pages, bytes, timers, retries, queues, and retained records.
- Keep runtime imports flowing one way:
domain->storage->daemon->cli,cloud,codex. Adapters reach the daemon throughimport typeofdaemon/ports.ts.eslint.config.mjsenforces the per-directory rule andscripts/check-import-cycles.tsproves zero file-level cycles; move a shared shape intodomain/instead of importing upward.
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.

