# Managed Codex permissions proof

Run each commit in its own checkout with freshly initialized T3 state and T3CODE_DEV_SEED=0. Use the real Codex CLI 0.172.0 and configured API provider.

In a private mount namespace, bind a directory holding requirements.toml to /etc/codex. Its contents:

```toml
allowed_sandbox_modes = ["read-only", "workspace-write"]
```

Confirm `codex exec -s danger-full-access` refuses this configuration. Start the real web dev server inside the namespace. Pair a browser, 1280x800, light theme (device pixel ratio 2). Seed an idle Codex GPT-6-Astra thread with runtimeMode full-access using the server's orchestration.dispatchCommand RPC (seed.mjs takes checkout and project id arguments). This represents an existing thread saved before managed requirements were imposed.

Open that thread. Hide the sidebar and thread details using the app's buttons so environment identifiers do not appear. Record opening Permissions, then dismiss it and send: "Reply with just the word hi. Do not run any commands." Observe the result without changing the mode. Repeat on both commits with fresh state.
