oompa / convex
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
- desktop/AGENTS.mdAGENTS.md
- kb/AGENTS.mdAGENTS.md
- plugins/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- site/AGENTS.mdAGENTS.md
- src/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
5 rules. About 2 are common, 2 are distinctive, and 1 is very specific to this project.
≈2
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 13
Use one Convex Auth credentials provider.
- Distinctive: line 15
Treat the authenticated user plus active device plus current auth epoch as the minimum write authority.
- Common: line 16
Never accept plaintext session content, provider credentials, raw protocol data, raw reasoning, approval secrets, arbitrary tool output, or …
- Distinctive: line 17
Keep functions strict and bounded.
- Very specific: line 19
Add a table only with an explicit entry in every exhaustive hosted map: lifecycle policy, quota genesis, account deletion, device …
≈ “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
schema.tsdefines Oompa cloud identity, device, envelope, projection, lease, command, and retention state.- Auth modules implement verified-email login and device enrollment.
authorityReductionCapacity.tspreserves dedicated deletion reserves for new identities and uses versioned padding on an existing unique active subject plus a job reserve for legacy backfill. Inline reservation charges bytes without another identity record; consumption proves the subject patch does not grow, and cleanup releases the full padded subject exactly once.- Sync and command modules authorize exact device and lease generations. Session commands are lease-fenced; device commands are addressed to a device and fenced by that daemon's boot authority instead.
commandLifecycle.tsexposes a bounded read-only authority-reduction quota diagnostic. It shares current ledger validation with quota accounting, emits aggregate ceiling counts and keeps unknown byte costs explicit.quota.tsaudits predecessor ledger upgrades and exposes bounded read-only corruption reason counts and missing-shape histograms through the same classifier. Its distinct empty-memory completion requires both owner memory indexes empty and inserts only absent memory authority rows. The older unmarked five-resource predecessor additionally requires the indexed owner detail stream empty before adding zero live-chunk authority; compact history and existing counters remain intact. Diagnosis never grants repair authority or changes stored counters.- Tests prove rate limits, transactions, encryption boundaries, recovery, and retention.
Guidelines
- Use one Convex Auth credentials provider. Do not add a second identity provider or accept email as authority after login.
- Store only purpose-separated challenge digests. Codes are one-time, rate-limited, and expire.
- Treat the authenticated user plus active device plus current auth epoch as the minimum write authority.
- Never accept plaintext session content, provider credentials, raw protocol data, raw reasoning, approval secrets, arbitrary tool output, or environment values.
- Keep functions strict and bounded. Reject unknown fields, stale revisions, stale leases, and replayed idempotency keys.
- Close an effect that may already have begun as
ambiguousunder a strictly later authority. Never let a recovery path publishappliedfor an effect it did not observe. - Add a table only with an explicit entry in every exhaustive hosted map: lifecycle policy, quota genesis, account deletion, device revocation, the maintenance categories that sweep it, and the
costs.jsoncost-discipline registry checked bycheck:cost-surfaces.
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.

