# Brief: live open round 2 — Codex runtime home (controller decision)

Same worktree/branch `live-open-failures`, at 07f6984. Read
CONTROLLER-REPORT-live-open-failures.md first. Same HARD RULES as round 1
(never read account-home contents, never launch providers against Paul's
homes, no live gate, read-only on ~/.local/share/equipo*).

Problem: in the disposable STAGED runtime home, pinned codex 0.165.0
app-server creates at startup `.tmp`, `tmp`, `goals_1.sqlite`,
`installation_id`, `memories_1.sqlite`, `queue_1.sqlite`, `skills/.system`
(your empty-home recording). The runtime-home validator refuses `.tmp` and
`skills`, so every Codex specialist open would fail again.

Controller decision (fixed):
- D1 Skills: first look for a 0.165.0 config/feature switch that stops the
  bundled system skills being installed or loaded (check `codex --help`,
  `app-server --help`, `-c` keys accepted under `--strict-config`, the
  config readback in the recorded `equipo:3` response, the binary's
  feature list via `codex features list` if it exists). Verify with the
  empty-home probe. If a switch exists, add it to the launcher's argv for
  every Codex launch (specialist + coordinator), keep `skills` refused,
  and assert the config readback shows it disabled.
  If NO switch exists: allow `skills/.system` only when its whole tree
  (relative paths, kinds, modes, sizes, sha256 of each file) matches a
  recorded manifest captured from the pinned binary in an empty home and
  pinned to codex.ExecutableSHA256; anything else under `skills` refused.
  Also verify via config/tool readback that no skill-provided tool is
  exposed to specialists; if one is, refuse.
- D2 Scratch and state: allow exactly `.tmp`, `tmp` (directories, owned by
  the runner uid, no setuid, no symlinks escaping), `installation_id`
  (regular file), and the sqlite files `goals_1.sqlite`,
  `memories_1.sqlite`, `queue_1.sqlite` plus their `-shm`/`-wal`
  siblings (regular files), all in the staged runtime home only, never
  the source home. Nothing else new. Memories: if a config key disables
  Codex memories, set it too and check the readback.
- D3 Replay: an end-to-end test that runs the real pinned codex app-server
  in an empty bwrap home through the production specialist Open path as
  far as it can go unauthenticated (it should now fail on the missing
  account, not on containment). Same for the coordinator. Skip with a
  clear message when the pinned binary is absent (CI), so CI stays green.
- D4 Targeted tests, then ONE full `make -k ci` (rerun at most twice).
  Update the controller report with a "Round 2" section. Commit subject
  < 80 chars, body `Co-Authored-By: Astra <noreply@openai.com>`, push.
  Scratch under $TMPDIR removed. Print a five-line summary.
