agentleFS
hranesshraness/oompa/convex/AGENTS.md

oompa / convex

AGENTS.md9 starsChanged 3 months agoMITArchived repositoryView on GitHub

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
  1. Common:

    Use one Convex Auth credentials provider.

    line 13
  2. Distinctive:

    Treat the authenticated user plus active device plus current auth epoch as the minimum write authority.

    line 15
  3. Common:

    Never accept plaintext session content, provider credentials, raw protocol data, raw reasoning, approval secrets, arbitrary tool output, or …

    line 16
  4. Distinctive:

    Keep functions strict and bounded.

    line 17
  5. Very specific:

    Add a table only with an explicit entry in every exhaustive hosted map: lifecycle policy, quota genesis, account deletion, device …

    line 19

≈ “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

Contents

  • schema.ts defines Oompa cloud identity, device, envelope, projection, lease, command, and retention state.
  • Auth modules implement verified-email login and device enrollment.
  • authorityReductionCapacity.ts preserves 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.ts exposes 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.ts audits 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 ambiguous under a strictly later authority. Never let a recovery path publish applied for 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.json cost-discipline registry checked by check:cost-surfaces.

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.