agentleFS
OpenAIKnown publisheropenai/codex/codex-rs/exec-server/src/sandbox_integrity/AGENTS.md

codex / sandbox_integrity

AGENTS.md128k starsChanged 53 days agoApache-2.0View on GitHub

These checks currently emit telemetry only. Findings and preparation errors must not change sandbox construction, permissions, approvals, or command execution. Supported backends are Seatbelt, bubblewrap, and MXC; legacy Windows is out of scope. - Backends supply complete dependency inventories and interpret the request's original filesystem policy: resolve command temp directories and MXC volumes, and reuse the backend's deny-glob expansion where enforcement expands globs. - The runner prepares dependency facts and invokes each checker per dependency. Checkers remain independent of inventories…

Trending

Less talk lately.about the whole repository

Dec 2025: 7 mentionsJan 2026: 12 mentionsFeb 2026: 12 mentionsMar 2026: 7 mentionsApr 2026: 4 mentionsMay 2026: 3 mentionsJun 2026: 8 mentionsJul 2026: 17 mentionsAug 2026: 8 mentionsSep 2026: 6 mentionsOct 2026: 7 mentionsNov 2026: 7 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the openai/codex repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about openai/codex

The biggest 5 of 133 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 133

Talked about on Hacker News, Bluesky and GitHub (133 times).

On Hacker News · 47

42 more on Hacker News

On Bluesky · 46

41 more on Bluesky

On GitHub · 40

35 more on GitHub
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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 repository6 other files it gives its agents.

The file

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

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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. Very specific:

    Use the process-global metrics client.

    line 21
  2. Distinctive:

    Do not infer approval from policy shape.

    line 48

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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

Sandbox integrity: scope and review contract

These checks currently emit telemetry only. Findings and preparation errors must not change sandbox construction, permissions, approvals, or command execution. Supported backends are Seatbelt, bubblewrap, and MXC; legacy Windows is out of scope.

Responsibilities

  • Backends supply complete dependency inventories and interpret the request's original filesystem policy: resolve command temp directories and MXC volumes, and reuse the backend's deny-glob expansion where enforcement expands globs.
  • The runner prepares dependency facts and invokes each checker per dependency. Checkers remain independent of inventories and telemetry. Blocking work runs on the blocking pool with a five-second caller timeout. Timeouts use the existing check metric (dependency=preparation, outcome=error, error_kind=timeout). Late results are discarded; cancelling the blocking task or its scanner subprocess is deferred.
  • Telemetry derives bounded tags from the policy, dependency facts, and checker results. Never emit paths, environment values, or error text. A missing metrics client disables emission, never the checks themselves. Use the process-global metrics client; separately injected clients in programs embedding Codex are outside this phase's scope.

Deliberate approximation

Honor the basic read/write/deny rules. Do not reconstruct native enforcement or audit OS ACLs. Additional backend protections can produce false positives; additional write grants (such as Seatbelt scratch access) can produce false negatives. Backend glob/symlink nuances and writable hard-link aliases are not fully modeled. The separate glob scan can differ from enforcement's snapshot. Metrics describe observed checker outcomes, not accuracy or missed violations.

MXC scanner discovery currently uses which, while enforcement uses Command. Their search-order and environment differences can select different executables or cause only one scan to use the internal walker. This is an accepted telemetry limitation for this phase; changing production scanner selection is deferred.

These are accepted limitations of this phase, not requests to duplicate backend implementations. Review against this scope. Regressions in explicit policy handling, executor context, or reporting remain actionable; this is not a blanket exemption for false positives or false negatives.

Eligibility

Skip SandboxOverride::EscalatedSandboxWithRestrictions before preparation or telemetry: these approved escalations retain only deny-read restrictions. An ordinary configured :root = write policy with denials is still checked. Do not infer approval from policy shape.

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.