oficina / equipo Public

Brief: final gaps before certification

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev d15b1e7206542f75f5a8ef8a750169c97dda5df1 parent ad40828
1 file changed, +43 −0
  • docs/superpowers/plans/CODEX-BRIEF-final-gaps.md +43 −0

CI passed — run details

diff --git a/docs/superpowers/plans/CODEX-BRIEF-final-gaps.md b/docs/superpowers/plans/CODEX-BRIEF-final-gaps.md
new file mode 100644
index 00000000..3e759b6d
--- /dev/null
+++ b/docs/superpowers/plans/CODEX-BRIEF-final-gaps.md
@@ -0,0 +1,43 @@
+# Brief: last gaps before Paul's certification run (Opus review of ad40828)
+
+Branch `final-gaps` from main ad40828. Read CONTROLLER-REPORT-approval-
+controls.md and CONTROLLER-REPORT-certification-gaps.md. AUTHORISATION
+as CODEX-BRIEF-live-turn-failures.md (paul@tito.io Claude + Codex only,
+sequential, no full gate, no bundle, no credential contents, no
+sign-ins); you may play the person via the guide's terminal reader.
+Budget 25 model turns. Controller decisions:
+
+- H1 Codex tools that can never pass: `read_mcp_resource` (always
+ exposed by 0.165.0; Equipo's MCP server has no resources),
+ `request_user_input`, `write_stdin` (declined in run 4). Make each
+ genuinely exercisable in the workspace routing check:
+ * Equipo's MCP server serves exactly one static, read-only resource
+ (e.g. `equipo://routing-check`, short fixed text, no data, same for
+ every tuple; no other resources; list/templates reflect it) so
+ read_mcp_resource and the list tools pass on a real call. Keep the
+ coordinator's inventory rules consistent.
+ * request_user_input: the routing turn asks it once and the answer path
+ (automatic in routing, as today) completes it.
+ * write_stdin: the routing turn first starts a process with
+ exec_command that waits on stdin (e.g. `head -n1`), then writes to
+ it.
+ Prove all Codex workspace routing rows `pass` live for codex-Engineering.
+ If any tool truly cannot be exercised, stop and write the question.
+- H2 Claude auto-allow (answers.go workspaceNativePath and the protected
+ check): auto-allow only ABSOLUTE paths under /workspace; a relative
+ `path`/`file_path` is never auto-allowed (it goes through the normal
+ person path, or is refused if that is what policy says). For Glob,
+ compute the pattern's literal base directory (components before the
+ first glob metacharacter) and run the symlink/protected check on
+ path+base; auto-allow only if that passes. Tests for relative paths,
+ `cd`-style relative escapes, and a pattern whose base is a symlink.
+- H3 Fix the comment at 07d9f80 to state the residual race (a symlink
+ swapped after Equipo's check is still caught by Claude's own
+ symlink-aware deny rules for /home; recorded as accepted residual risk)
+ and add that to docs/superpowers/plans/CONTROLLER-REPORT-final-gaps.md.
+- H4 Terminal reader: flush pending input (TCIFLUSH) before each prompt
+ so a stray line cannot answer the next prompt; test with a pty.
+- H5 Targeted tests, ONE full `make -k ci` (rerun at most twice). Commit
+ subject < 80, body `Co-Authored-By: Astra <noreply@openai.com>`, push.
+ CONTROLLER-REPORT-final-gaps.md with the launch log. Scratch removed;
+ nothing running; no copy-review server. Print a five-line summary.