oficina / equipo Public

Brief: live open round 3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 91565b962e0e0c1511b38a2525bb2cc77a6fbad4 parent 2ab5ea8
1 file changed, +44 −0
  • docs/superpowers/plans/CODEX-BRIEF-live-open-failures-3.md +44 −0

CI failed — run details

diff --git a/docs/superpowers/plans/CODEX-BRIEF-live-open-failures-3.md b/docs/superpowers/plans/CODEX-BRIEF-live-open-failures-3.md
new file mode 100644
index 00000000..744d6060
--- /dev/null
+++ b/docs/superpowers/plans/CODEX-BRIEF-live-open-failures-3.md
@@ -0,0 +1,44 @@
+# Brief: live open round 3 — finish round 2, then Claude runtime home
+
+Same worktree/branch; round 2 work is UNCOMMITTED in the tree (read the
+"Round 2" section of CONTROLLER-REPORT-live-open-failures.md). Same HARD
+RULES as round 1.
+
+Controller decisions:
+- E1 (answers your D2 question): YES. Allow, for Codex 0.165.0 only, in
+ the staged runtime home only, symlinks at exactly
+ `tmp/arg0-linux/codex-arg0<suffix>/{apply_patch,applypatch,codex-linux-sandbox}`
+ where `<suffix>` matches the pattern you observed (pin it narrowly), the
+ link is owned by the runner uid, and its target (read with Readlink,
+ never followed) is exactly the in-namespace pinned codex path the
+ launcher mounts (e.g. `/opt/codex`). Also allow the containing
+ directories. Any other symlink, name, or target stays
+ `runtime_special_entry`. Tests for each refusal. Make the replay pass
+ regardless of cancellation timing.
+- E2 Claude runtime home (Opus review of 07f6984, Important 1+2): the
+ Claude preflight runs the full `-p` command and Open then walks the
+ runtime home; neither has been observed. Using the pinned claude in
+ ~/.local/share/equipo/try/bin with a fresh EMPTY CLAUDE_CONFIG_DIR under
+ $TMPDIR inside the launcher's bwrap shape, run the production Claude
+ preflight/Open path as far as it goes unauthenticated (like
+ TestCodexEmptyHomeReplay; skip when the binary is absent) and record the
+ runtime-home tree (names/kinds/modes only). Allow only recorded,
+ non-policy-bearing scratch/state entries for Claude 2.1.312 with the
+ same guards as Codex; keep `plugins`, `skills`, `agents`, `commands`,
+ `hooks`, `settings*.json`, `CLAUDE.md`, MCP config refused. If a
+ settings switch prevents an entry (e.g. disabling shell snapshots,
+ session env, IDE, plugins), prefer the switch and assert it. Give
+ Claude-specific fixed reason categories so an unexpected entry names
+ its category without echoing agent-controlled names.
+- E3 Opus minors: share the auth argv constant between
+ capture_framing.go:18 and claude/launcher.go:331; check the manifest's
+ provider version as well as the binding's (capture_framing.go:19); fix
+ the comment at codex/config_readback.go:21-36 to say the two disabled
+ flags are not reflected in typed config and the live tool inventory
+ check (directlive/coordinator_inventory.go) is the real guard.
+- E4 Targeted tests, then ONE full `make -k ci` (rerun at most twice).
+ Add "Round 3" to the controller report. Commit (subject < 80 chars, body
+ `Co-Authored-By: Astra <noreply@openai.com>`; separate commits for round
+ 2 and round 3 are fine), push `live-open-failures`. Scratch removed.
+ If blocked on a decision again, commit nothing, write the question in
+ the report and print it. Print a five-line summary.