agentleFS
hranesshraness/oompa/AGENTS.md

oompa

AGENTS.md9 starsChanged 3 months agoMITArchived repositoryView on GitHub

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

14 rules. About 2 are common, 5 are distinctive, and 7 are very specific to this project.

  • ≈2

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep Oompa one small Bun product.

    line 19
  2. Common:

    Keep provider credentials, raw reasoning, environment values, arbitrary tool output, approval secrets, and unbounded paths out of cloud …

    line 24
  3. Distinctive:

    Treat one machine as the fenced execution custodian for a session.

    line 25
  4. Very specific:

    Keep --json stable and machine-readable.

    line 27
  5. Very specific:

    Update the active plan in kb/plans/ as work changes.

    line 31
  6. Distinctive:

    No writes on read paths. Reads may cache.

    line 37
  7. Distinctive:

    Every mutation carries an idempotency key.

    line 39
  8. Very specific:

    Run bun run check:cost-surfaces before handoff whenever a data surface changes.

    line 42
  9. Distinctive:

    When a CI or policy gate scans complete Git history, check out the exact governed SHA and fetch only the fully qualified governed refs …

    line 55
  10. Very specific:

    Use $oompa-cloud-efficiency only for bounded Codex Cloud repository work from an exact pushed branch.

    line 60
  11. Common:

    Keep authenticated browser, interactive auth, 2FA, private local data, Mac-native, signing, release, deployment, production, agent-phase …

    line 61
  12. Very specific:

    Use system-one-* skills for repeated evidence gathering only when their bounded result fits the task.

    line 66
  13. Very specific:

    When the task benefits and installation is authorized, install the current pack for Claude Code, Codex, and Devin for Terminal with bunx …

    line 67
  14. Distinctive:

    Treat clipping as incomplete evidence: widen the read or use native tools before making claims that depend on omitted details.

    line 69

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

  • src/ contains the Bun CLI, daemon, local authority, Codex, Claude Code, and Devin adapters, and cloud client.
  • convex/ contains the optional encrypted sync and verified-email device authority.
  • site/ contains the public product website and task-oriented documentation. Its content is not an input to the npm package README or description.
  • scripts/ contains deterministic checks, builds, and release helpers.
  • kb/ contains maintained product knowledge and executable implementation plans.
  • .agents/skills/ contains the portable five-skill phased planning and execution pack.
  • .agents/plugins/ contains the repository marketplace catalog.
  • plugins/oompa-local-efficiency/ contains the local-only Codex efficiency plugin and its operating skill.
  • plugins/oompa-cloud-efficiency/ contains the Codex Cloud repository-worker routing plugin and its operating skill.
  • docs/attachments.md documents message file and image attachments end to end, including the contract a browser client follows.
  • docs/local-efficiency-plugin.md documents cross-machine marketplace installation and maintainer validation.
  • docs/cloud-efficiency-plugin.md documents Cloud routing, environment profiles, installation, and pilot operation.
  • README.md, SECURITY.md, CONTRIBUTING.md, WRITING.md, and STYLE.md define the public product and contribution contract.

Guidelines

  • Keep Oompa one small Bun product. Add a package boundary only for a concrete second consumer.
  • Pin Bun to 1.3.14. Use one bun.lock; do not add another package manager or lockfile.
  • Provider runtimes own authentication, native sessions and threads, execution, tools, approvals, and hidden state. Oompa owns isolated profiles, the provider-neutral transcript and command record, process generations, local projections, encrypted sync, and recovery. Keep Codex-only account, usage, plugin, and native-transcript operations explicit rather than implying Claude Code parity.
  • Parse every foreign value from unknown. Expose closed domain operations instead of a generic JSON-RPC, HTTP, filesystem, or shell escape hatch.
  • Record every mutation before dispatch, bind it to an idempotency key and exact authority generation, and reconcile an uncertain result without speculative replay.
  • Keep provider credentials, raw reasoning, environment values, arbitrary tool output, approval secrets, and unbounded paths out of cloud sync, logs, JSON output, and receipts.
  • Treat one machine as the fenced execution custodian for a session. Other devices may read or submit durable commands; they may not create a second provider writer.
  • Explicit account selection and work-task routing are user-directed. Automatic account movement is limited to managed Codex sessions after reset handling, under fresh exact source and target authority and durable crash-safe evidence. Never move an explicit session, rotate a Claude account, act from stale or unknown state, or replay a failed or ambiguous turn under another account.
  • Keep --json stable and machine-readable. Write data to stdout and diagnostics to stderr. Use closed exit codes and bound every input, output, timeout, page, queue, and retry.
  • Colocate deterministic examples with each failure mode and property tests with parsers, reducers, ordering, state transitions, and round trips.
  • Give each owned source boundary an AGENTS.md with exactly # Contents and # Guidelines.
  • Follow WRITING.md for repository prose and STYLE.md for public copy. Author root README.md and the package description for package users independently of website content. Check each surface's commands, claims and release limits against the authoritative runtime and release contracts; website builds must not write the package README.
  • Update the active plan in kb/plans/ as work changes. Do not call a phase complete without the acceptance evidence named there.
  • Preserve public independence. Do not include private paths, credentials, private package dependencies, internal project names, or unpublished provenance.
  • costs.json at the repository root is the checked registry of every product data surface: store, kind (authoritative | derived | telemetry), retention class (ephemeral | ttl:<ISO-8601> | account | tombstone | persistent), owner module, and budget. A new table, bucket, stream, dynamic route, blob, or provider meter fails check:cost-surfaces until it registers.
  • Bound every input before storage or provider I/O: request bytes, row counts, page sizes, batch sizes, retry counts, and event payloads. Unbounded input is a contract violation.
  • No writes on read paths. Reads may cache; they never mutate.
  • Derived state is rebuildable and lives in the cheapest tier that can serve it. Only authoritative state pays for transactional storage.
  • Every mutation carries an idempotency key; a retried write never double-charges storage, quota, or provider spend.
  • Analytics and metering events come from a checked allowlist with a byte ceiling per event.
  • Content bytes live in the content store; the control plane keeps references and metadata only.
  • Run bun run check:cost-surfaces before handoff whenever a data surface changes.
<!-- oompa-local-efficiency:start -->
  • Treat the user's request to change this repository as standing authorization for routine task-owned commits, pushes, pull requests, merges, releases, deployments, and production verification after the gates applicable to that action pass. Do not ask for duplicate confirmation. Build confidence through relevant automated checks, bounded diagnostics, and independent review, not another human approval. Passing checks does not expand task scope or authority.
  • Prefer agentic service provisioning for new infrastructure. Check Vercel Marketplace for a native product that can provision the required resource first; use Stripe Projects as a supported alternative when it better covers the service or the Marketplace route only connects an existing account. Verify the current catalog, account, region, plan, recurring cost and resource capabilities before selecting a route. Prefer supported provider CLIs or APIs over browser-only setup when neither catalog fits, and explain the concrete exception. Reuse existing owner-controlled resources where appropriate; this preference alone does not authorize migrations, duplicate accounts, paid upgrades or wider access. Continue setup already authorized by the task and budget without duplicate confirmation. Keep provider credentials and generated environment files private, complete required interactive authentication, and verify deployment, persistence and recovery separately from successful provisioning.
  • Separate artifact admission from live qualification and operational activation. Use applicable automated source, security, package/install, and provenance evidence for artifact admission; live provider qualification is not a universal publication prerequisite. Preserve explicit live acceptance criteria and require relevant live evidence for claims that depend on it. If publication or an artifact's install, upgrade, or default-use path activates risky unqualified behavior, keep that behavior guarded or disabled, or obtain bounded relevant evidence before shipping or activation.
  • Use the repository's documented delivery workflow and preserve the identity, target, capacity, migration, and recovery guards applicable to operational activation. Replace an obsolete gate through a reviewed source and policy change with corresponding tests, never an ad hoc skip. Preserve every runtime-enforced approval, access control, branch protection, environment rule, safety policy, and required final gate. Ask for user input only when delivery needs a material product decision, missing credentials or authority, unavoidable interactive authentication, an irreversibly destructive action outside task scope, or resolution of a failure that cannot be handled safely and autonomously.
  • Preserve production and user data throughout delivery. Inspect the exact account, environment, deployment, and data target before writes. For data changes, inspect a dry run or equivalent migration plan and validate the recovery path before any effect that could lose or corrupt data. Prefer additive, backward-compatible migrations and bounded batches. Record mutation intent, use idempotency or conditional writes, and reconcile uncertain results before retrying. Verify deployed identity, health, and relevant data invariants after delivery. Routine delivery never authorizes resetting, truncating, dropping, or overwriting user data; stop the unsafe operation if preservation or recovery cannot be established.
  • Prefer short-lived repository workload identities such as OIDC trusted publishing, GitHub Apps, and narrowly scoped machine identities. Use unattended stable publication and production promotion when supported by the provider and repository. Establish supported machine authority once and verify it with a non-publishing preflight where available; routine releases should not require recurring interactive authentication or conversational approval. Retain account two-factor authentication and provider controls, including required authentication for approval of an exact staged artifact; do not add long-lived personal tokens to eliminate an interactive prompt.
  • Keep delivery gates proportional to the failure they prevent. Prefer required checks on the current integration candidate, independent agent review, and atomic or conditional integration. Add a merge queue or another approval stage only for a demonstrated coordination or safety need. Replace redundant queues, serial waits, and duplicate checks through reviewed policy changes while retaining evidence for the integrated result.
  • Preserve useful reasoning fan-out, but avoid unnecessary checkout fan-out. Prefer subagents in the current task for bounded research, review, diagnosis, and focused checks when they can safely share one working tree; create a separate task or worktree only for independently deliverable divergent edits, an isolated verification tree, or a different execution environment.
  • Give each expensive focused validation command and external wait one owner. The integration owner reviews that evidence and runs the repository-required aggregate or final gate once after convergence. Reuse evidence only for the exact Git tree, command, lockfiles, toolchain, relevant environment, and validity period, and never to skip a required final integration, merge, release, deployment, or production-verification gate.
  • On Hraness development machines, use $oompa-local-efficiency and the installed host scheduler for heavyweight top-level commands when available. Keep ordinary work in the compute lane; give authenticated browser/dev-server/Chromium work one browser-auth owner and Mac-only validation one mac-native owner.
  • When a CI or policy gate scans complete Git history, check out the exact governed SHA and fetch only the fully qualified governed refs before scanning. Preserve the complete-history gate and reject unexpected refs instead of importing unrelated concurrent heads.
  • At closeout, record applicable branch, PR, check, merge, release, deployment, and production evidence. Archive only conclusively finished tasks, never from silence alone, and reclaim only freshly revalidated clean merged worktrees through the guarded exact-path flow.
<!-- oompa-local-efficiency:end --><!-- oompa-cloud-efficiency:start -->
  • Use $oompa-cloud-efficiency only for bounded Codex Cloud repository work from an exact pushed branch. Keep the root integrator on the caller-selected model and record the worker as cloud-default.
  • Keep authenticated browser, interactive auth, 2FA, private local data, Mac-native, signing, release, deployment, production, agent-phase secret, agent-phase network, and exact-model work on its authoritative local or CI lane.
  • Give every editable Cloud task one unique branch and owner. Cloud workers may run focused validation but may not merge, weaken gates, release, deploy, or replace the repository's final exact-tree validation.
<!-- oompa-cloud-efficiency:end --><!-- system-one-skills:start -->
  • Use system-one-* skills for repeated evidence gathering only when their bounded result fits the task. Include startup, invocation, retries, and follow-up reads when assessing savings; smaller output alone does not prove lower token cost or preserved correctness.
  • When the task benefits and installation is authorized, install the current pack for Claude Code, Codex, and Devin for Terminal with bunx skills add 0thernet/system-one-skills --global --agent claude-code codex devin --skill '*' --copy --yes; otherwise use repository-native tools.
  • Confirm installation with bunx skills list --global. If Bun or network access is unavailable, continue with repository-native tools.
  • Treat clipping as incomplete evidence: widen the read or use native tools before making claims that depend on omitted details. Typed output and replayable receipts do not establish semantic correctness; preserve required repository checks and independent review.
<!-- system-one-skills:end -->

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.