Repository navigation
fix(bin): grant codex crewmates and scouts the writable roots their brief needs - #3385
npayette84 wants to merge 31 commits into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Confidence Score: 5/5The PR appears safe to merge because no blocking failure remains. No blocking failure remains. Reviews (5): Last reviewed commit: "no-mistakes(ci): give the codex grant su..." | Re-trigger Greptile |
|
Speaking as Kun's firstmate: triage on HEAD Contract-class: restore (grant) blocked on #3384 new-default. The grant commit alone restores Codex crewmates' ability to fulfil the existing brief contract under Attestation: MISSING on this HEAD. VISION (short): aligns with Delegation-with-a-spine (workers must be able to deliver the contracted report/status/gate) and Scripts-own-mechanics (deterministic per-kind root composition). Authority stays explicit: grant is narrow, never ``/ Action for author: re-raise via Waiting on: author (attestation) + #3384 decision/landing + CI. No merge. No Firstmate flag yet (blocked on #3384 + attestation/CI). |
5380177 to
e562aa2
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e562aa2f90
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if [ "$HARNESS" = codex ] && [ "$MODE" != local-only ]; then | ||
| echo "notice: $ID ships mode=$MODE on codex, whose sandbox denies the no-mistakes data directory - the worker can commit but cannot run validation itself, and whether it can push depends on this machine's codex network setting; expect to land it another way or choose another harness" >&2 |
There was a problem hiding this comment.
Refuse Codex no-mistakes ships before dispatch
Captain, when MODE=no-mistakes, this branch merely prints a notice and still launches a worker that the new sandbox explicitly prevents from accessing ~/.no-mistakes; that worker therefore cannot perform the required validation phase, and “land it another way” conflicts with the repository contract that the same task worker must drive the pipeline. Refuse this harness/mode combination or provide the pipeline access before creating the task.
AGENTS.md reference: AGENTS.md:L352-L354
Useful? React with 👍 / 👎.
| printf '%s' 'codex __MODELFLAG____EFFORTFLAG__-s workspace-write __CODEXADDDIRS__-a never -c sandbox_workspace_write.network_access=true "$(__OPINPUT__ encode launch-brief < __BRIEF__)"' | ||
| else | ||
| printf '%s' 'codex __MODELFLAG____EFFORTFLAG__--dangerously-bypass-approvals-and-sandbox -c "notify=[\"bash\",\"-c\",\"touch __TURNEND__\"]" "$(__OPINPUT__ encode launch-brief < __BRIEF__)"' | ||
| printf '%s' 'codex __MODELFLAG____EFFORTFLAG__-s workspace-write __CODEXADDDIRS__-a never -c sandbox_workspace_write.network_access=true -c "notify=[\"bash\",\"-c\",\"touch __TURNEND__\"]" "$(__OPINPUT__ encode launch-brief < __BRIEF__)"' |
There was a problem hiding this comment.
Preserve the operator's Codex network policy
Every Codex launch now passes sandbox_workspace_write.network_access=true, which overrides an operator's explicit false setting and guarantees worker egress. This directly contradicts the changed adapter documentation and dispatch notice, which say Firstmate never sets the option and that reachability depends on the machine's configuration; an operator relying on that documented boundary therefore gets network-enabled workers unexpectedly.
Useful? React with 👍 / 👎.
|
Speaking as Kun's firstmate: re-triage on newer activity. HEAD is now Contract-class: restore (grant) blocked on #3384 new-default. The unique commit restores Codex crewmates' ability to fulfil the existing brief contract under Attestation: MISSING on this HEAD (no VISION (short): aligns with Delegation-with-a-spine (workers must deliver the contracted report/status/gate/ Author notes (not a Firstmate flag):
Waiting on: author (attestation; inbox body vs code) + #3384 decision/landing + CI on this HEAD. No merge. No Firstmate flag (blocked on #3384 + attestation/CI). |
e562aa2 to
9231bbc
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9231bbcaa9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| [ -e "$file" ] && return 0 | ||
| : >> "$file" 2>/dev/null || return 0 | ||
| fm_wake_signal_mark_current "$STATE" "$file" 2>/dev/null || true |
There was a problem hiding this comment.
Propagate writable-root precreation failures
Captain, when a state file cannot be created—or an existing path has the wrong type—this return 0 reports success, and codex_root_real subsequently emits an absent or unusable --add-dir root; codex_precreate_root_dir repeats the fail-open behavior with mkdir ... || true. The Codex worker is then launched even though it cannot append status, touch its turn-end marker, or acknowledge steering messages, while the spawn reports success. Make both helpers validate the expected file/directory type and return nonzero on creation failure.
AGENTS.md reference: AGENTS.md:L94-L102
Useful? React with 👍 / 👎.
| @@ -659,6 +752,7 @@ spawn_remote_secondmate() { | |||
| echo "kind=secondmate" | |||
| echo "mode=secondmate" | |||
| echo "yolo=off" | |||
| [ -z "$CURSOR_EXEMPTION" ] || echo "cursor_exemption=$CURSOR_EXEMPTION" | |||
There was a problem hiding this comment.
Record the remote endpoint's actual cursor grant
Captain, when a remote spawn is retried after the endpoint was already created—for example after the parent lost or failed to publish its metadata—the remote cmd_launch returns the existing route without applying the newly requested exemption, yet this line records the parent's requested CURSOR_EXEMPTION as if that grant launched the running agent. Unlike traceparent, print_route does not return the exemption actually stored in the remote endpoint metadata, so the audit record can claim a different grant from the one under which the worker started. Return, validate, and record the remote endpoint's actual cursor_exemption just as this path already does for its trace carrier.
AGENTS.md reference: AGENTS.md:L200-L201
Useful? React with 👍 / 👎.
9231bbc to
95ad005
Compare
Launch Claude with --permission-mode auto, Codex with -s workspace-write -a never, and Cursor with --auto-review --sandbox enabled, instead of the three full-bypass flags (--dangerously-skip-permissions, --dangerously-bypass-approvals-and-sandbox, --yolo). A crewmate now runs under its harness's own approval, review, and sandbox controls rather than with them switched off. Codex's workspace-write confines writes to the task worktree plus /tmp and $TMPDIR. That is the intended blast radius, but it also denies the supervision paths a crewmate's contract needs outside its worktree. Granting those back narrowly is a separate, independently reviewable change and is deliberately not bundled here. Refreshes the launch expectations in the three suites that assert the composed command, and the Cursor adapter reference rows. Other tracked uses of the bypass flags are one-off CLI invocations in guard docs and live probes, not spawn output, and are left untouched.
…mpting launch, pin claude auto mode
Supersedes an aborted fix round that would have made an auto-detected cursor silently fall back to another adapter. Silently substituting a different tool changes which adapter runs the captain's work without saying so, which is harder to notice than a refusal. The bar now holds however cursor was selected, explicit or inherited, and the refusal names the exact remedy: set config/crew-harness to a verified adapter, or add an eligible crew-dispatch profile. Firstmate does not pick one on the captain's behalf. The two exemption grants are no longer interchangeable across relaunch. envelope:<name> describes a mechanically proven outer isolation envelope that still governs the replacement agent, so it is inherited and automatic recovery keeps working. `attended` asserts a person is in the pane right now; the captain who attested may have left long before stuck-worker recovery relaunches, so inheriting it would let one attestation authorize unlimited unattended launches. It is never inherited. A cursor exemption is refused outright on a non-cursor harness rather than recorded, so no stale grant can sit in a task's metadata waiting to authorize a later relaunch onto cursor. Remote secondmate launches forward only an envelope grant, through self-describing arguments whose compatibility degradation is stated in the code: an older host misbinds the token and fails validation there, and a cursor secondmate reaching fm-spawn without a grant is refused by the bar. Both paths fail closed. An attended grant cannot describe a worker on another host and is refused for a remote launch. Bootstrap now diagnoses a cursor crew-dispatch rule instead of validating clean and failing later at spawn, since those rules resolve the harness for crewmate and scout spawns and both are barred. Also adds a contains mode to the bootstrap row runner with a guard that fails on an unknown mode; the previous case statement let an unrecognized mode pass vacuously.
…lign guards and docs
…cept legacy carrier
…and recovery docs
…, validate wire grant
… share grant owner
…n-inherited refusal
Codex runs under -s workspace-write, which confines writes to the task
worktree. Every task worktree is a LINKED worktree, so that confinement
denied the three things every brief requires outside it: the scout report
at data/<id>/report.md, the status appends supervision reads, and the
captain-hold completion gate - and denied `git add` too, since a linked
worktree's index lock lives in the primary checkout's git directory.
Observed 2026-08-26: a codex scout produced a full report it could not
deliver, and the completion gate recursed inside its own lock retry until
the filename was too long. Both were the same denial. Codex has been out
of rotation since, for plumbing reasons rather than capability.
The launch now composes repeatable --add-dir roots, scoped per kind:
ship crewmate its own state/<id>.status and state/<id>.turn-ended FILES
(pre-created so single-file roots resolve), plus the
out-of-tree git common dir
scout state/ itself, its own data/<id>/, plus the git common dir
secondmate only the parent's state/<id>.status file
state/ must be a whole directory for the scout alone because the gate
creates a lock symlink and a mktemp-named owner directory in it, and
neither can be named ahead of time. $FM_HOME, .env, config/, projects/,
and the shared data/ root are never granted. --add-dir is used rather
than -c sandbox_workspace_write.writable_roots, which would REPLACE an
operator's own configured roots instead of adding to these.
Two suites cover it. The portable one pins the composition and proves
each root load-bearing with no codex present. The opt-in live guard
(FM_CODEX_LIVE_E2E=1) proves the vendor still enforces exactly these
roots, including the completion gate, and refuses to pass without the
real binary.
The dispatch notice claims only what is invariant: ~/.no-mistakes stays
denied, so a codex worker cannot run validation itself. Network is the
operator's own sandbox_workspace_write.network_access and varies per
machine, so it is deliberately not asserted.
…cuous isolation guards
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 95ad005543
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if fm_control_harness_family "$harness" >/dev/null 2>&1 && | ||
| ! fm_control_harness_supports_kind "$harness" "$kind" "$grant"; then |
There was a problem hiding this comment.
Validate Cursor's
agent alias before allowing launch
Captain, a raw launch beginning with Cursor's installed legacy agent binary records HARNESS=agent, but this guard only applies when fm_control_harness_family recognizes the basename; that function recognizes cursor* but not agent, even though bin/fm-cursor-lib.sh documents and validates that alias. Consequently, a Cursor ship, scout, or secondmate supplied through the raw-command escape hatch can launch without either required exemption and then park invisibly on an approval prompt; identify a validated Cursor agent executable before applying the unverified-command escape hatch.
AGENTS.md reference: AGENTS.md:L202-L204
Useful? React with 👍 / 👎.
| echo "error: refusing to launch $ID on codex: its writable-root grant could not be composed safely (see the refusal above); repair the named path, because launching without it would strand the worker outside the paths its brief requires" >&2 | ||
| exit 1 | ||
| } | ||
| LAUNCH=${LAUNCH//__CODEXADDDIRS__/"$CODEX_ADD_DIRS"} |
There was a problem hiding this comment.
Escape ampersands before substituting Codex root flags
On Bash 5.2+ with the default patsub_replacement option, an & in the replacement operand of ${parameter//pattern/replacement} expands to the matched pattern. Because CODEX_ADD_DIRS embeds canonical paths verbatim, a linked-worktree Git directory such as /repo/a&b/.git is transformed into /repo/a__CODEXADDDIRS__b/.git; the resulting launch therefore grants the wrong directory instead of the Git metadata that Codex needs to stage and commit.
Useful? React with 👍 / 👎.
…rebase The rebase onto main picked up the brief split (kunchenguid#3597): a spawn now refuses a brief without nonempty `## Captain's intent` and `## Firstmate spec` subsections, so both codex sandbox-grant suites failed at the first ship spawn on their one-line fixture brief. Both fixtures now carry the two subsections, matching what tests/fixtures.sh fm_test_spawn_brief writes. Nothing about the grant under test changes.
95ad005 to
f4fa4ba
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f4fa4ba8cd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| codex_root_real "$STATE" "$inbox_dir" || return 1 | ||
| fi | ||
| wt_real=$(cd "$worktree" 2>/dev/null && pwd -P) || return 0 | ||
| gitdir=$(git -C "$worktree" rev-parse --git-common-dir 2>/dev/null) || return 0 |
There was a problem hiding this comment.
Pin the Git grant to the recorded project
Captain, on a Codex ship or scout relaunch, the previous worker can rewrite its workspace-local .git file to point at another repository; git -C "$worktree" rev-parse --git-common-dir still succeeds for that redirected metadata and these lines then grant the next worker write access to the other repository's refs, config, and hooks. This escapes the intended per-project sandbox boundary, so derive the expected common directory from the recorded project or refuse when the worktree's reported common directory differs from it.
AGENTS.md reference: AGENTS.md:L212-L212
Useful? React with 👍 / 👎.
| if [ "$path" != "$container" ] && [ -L "$path" ]; then | ||
| echo "error: $path is a symlink; firstmate never resolves, creates, or grants a codex writable root through a link - repair or remove that record before spawning" >&2 | ||
| return 1 | ||
| fi |
There was a problem hiding this comment.
Reject hard-linked writable-root files
If an existing per-task status or turn-ended record is a hard link to another same-filesystem file, this check accepts it because -L detects only symbolic links and the lexical pathname remains inside state/. The resulting file-form --add-dir lets the Codex worker modify the shared inode through the allowed state path, thereby changing the file outside the intended task boundary; reject multiply linked file roots before granting them.
AGENTS.md reference: AGENTS.md:L212-L212
Useful? React with 👍 / 👎.
|
Speaking as Kun's firstmate: this is waiting on the author / blocked on #3384. HEAD Contract-class: restore (grant) blocked on #3384 new-default. The unique grant restores Codex crewmates/scouts' ability to fulfil the existing brief under VISION (grant slice):
Security: clean for tip workflow approve. No Attestation: MISMATCH — body binds Workflow approval this pass (tip
Land-eligible: NO (blocked on open #3384 new-default; attestation MISMATCH; NM red). Firstmate-flag: no — #3384 is not otherwise-ready for the grant alone; do not flag yet. Please keep tip attestation MATCH after any push, and do not expect merge until #3384 is decided and this grant is rebased/re-triaged against that base. |
Intent
Give codex-launched crewmates and scouts the write access they need to fulfil their own brief.
THIS PR IS THE SECOND OF TWO DELIBERATELY SPLIT CHANGES, stacked on the launch-hardening PR. Its base branch content (the crewmate launch hardening: claude --permission-mode auto with CLAUDE_CODE_DISABLE_FAST_MODE=1, codex -s workspace-write -a never with an explicit network_access grant, cursor --auto-review --sandbox enabled plus the cursor unattended bar and its per-invocation exemption) is ALREADY REVIEWED AND CI-GREEN in that other PR and is NOT the subject of this one. Review only the writable-roots grant. Do not re-litigate the hardening, the cursor bar, or the exemption mechanism, and do not pull their concerns into this change.
The defect this PR fixes: codex runs under -s workspace-write, which confines writes to the task worktree. Every firstmate task worktree is a LINKED worktree, so that confinement denied the three things every brief requires outside it - the scout report at data//report.md, the status appends supervision reads, and the captain-hold completion gate - and denied git add too, because a linked worktree's index lock lives in the primary checkout's git directory. Observed 2026-08-26: a codex scout produced a full report it could not deliver, and the completion gate recursed inside its own lock retry until the filename was too long. Codex had been out of rotation since, for plumbing reasons rather than capability.
The fix composes repeatable --add-dir writable roots, scoped PER KIND as narrowly as the sandbox mechanism allows: a ship crewmate gets only its own state/.status and state/.turn-ended FILES plus the out-of-tree git common dir; a scout gets state/ itself, its own data//, and the git common dir; a secondmate gets only the parent's state/.status file. state/ must be a whole directory for the scout alone because the completion gate creates a lock symlink and a mktemp-named owner directory in it and neither can be named ahead of time - that is a deliberate, documented limit of the mechanism, not an oversight. FM_HOME itself, .env, config/, projects/, and the shared data/ root are never granted. --add-dir is used rather than -c sandbox_workspace_write.writable_roots because the -c form REPLACES an operator's own configured roots instead of adding to these.
Deliberate scope decisions: no other harness's launch is changed by this PR. Only codex is launched inside a filesystem sandbox. The lock-retry recursion itself is NOT fixed here - removing the denial removes the trigger seen on 2026-08-26, but another permanent write failure would still recurse - and that is stated plainly rather than implied. A codex worker still cannot drive no-mistakes because ~/.no-mistakes stays denied, which is also stated rather than hidden.
Evidence: a portable suite pins the composition and proves each root load-bearing with no codex present, and an opt-in live guard (FM_CODEX_LIVE_E2E=1) proves the vendor still enforces exactly these roots, including the captain-hold completion gate, and refuses to pass without the real binary. Both are green on this rebased head against codex-cli 0.150.1.
Repo conventions: one full sentence per line in tracked Markdown, plain dashes not em dashes, shellcheck-clean bin scripts, no agent co-author, and tests must exercise behavior through executable interfaces rather than asserting implementation source bytes.
What Changed
bin/fm-spawn.shnow composes repeatable--add-dirwritable roots for every codex launch, scoped per kind: a ship crewmate gets only its ownstate/<id>.status,state/<id>.turn-ended, andstate/<id>.inbox/plus the linked worktree's out-of-tree git common dir; a scout getsstate/itself (the captain-hold gate creates an unnameable lock symlink and mktemp owner dir there), its owndata/<id>/, and the git common dir; a secondmate gets only the parent's status file and parent-side inbox.$FM_HOME,.env,config/,projects/, and the shareddata/root stay ungranted. File and directory roots are pre-created so they resolve (and marked already-reported sofm-watch.shdoes not wake the captain for a file the spawn conjured), every root is emitted canonicalized, and a symlinked record or a root resolving outside its container refuses the whole launch instead of composing a short grant. Ano-mistakescodex ship spawn also prints one notice that the sandbox still denies the pipeline data directory, so that worker can commit and reach the network but cannot run validation itself.claude --permission-mode autowithCLAUDE_CODE_DISABLE_FAST_MODE=1,codex -s workspace-write -a neverwith an explicitnetwork_accessgrant, andcursor --auto-review --sandbox enabledbehind an unattended-kind bar with the per-invocation--cursor-exemption attended|envelope:<name>grant threaded through the spawn, control, batch, and remote-secondmate routes.tests/fm-codex-sandbox-grant.test.sh, a portable suite that pins the composition and proves each root load-bearing with no codex binary present, andtests/fm-codex-sandbox-grant-live-e2e.test.sh, an opt-inFM_CODEX_LIVE_E2E=1guard that exercises the real vendor sandbox (including the completion gate) and refuses to pass without the binary. Documented the mechanism and its measurements in the newdocs/verification/codex-sandbox.md, with matching updates toAGENTS.md,docs/configuration.md,docs/agent-control.md, and the claude, codex, and cursor harness references.Risk Assessment
✅ Low: The change is gated entirely behind
HARNESS=codex, other adapters are proven untouched, and I verified the composed ship and secondmate launches, the symlink guards, the watcher-marker seeding, and the FILE-form--add-diracceptance against the real fm-spawn and the installed codex-cli 0.150.1, finding no open defect - the two remaining items are informational.Testing
Ran the two suites this change ships plus the two adjacent composition suites it touches, then reproduced the fixed defect manually against codex-cli 0.150.1: the portable grant suite passed all 11 checks with no codex present, the opt-in live guard passed end to end without any manual gate bypass (validating the head commit), the dispatch-profile and secondmate-harness suites passed at 31 and 50 checks, and a real scout turn without the grant was denied both its report and its status append while the same turn with the composed --add-dir roots delivered both and still could not write config/. No baseline commands from earlier phases were re-run, transcripts and composed launch commands were captured as artifacts, and both scratch labs created under the repo worktree were removed, leaving it clean. This is a CLI launch change with no rendered UI surface, so the evidence is CLI transcripts and the resulting on-disk artifacts rather than screenshots.
Evidence: Real codex turn: scout report denied without the grant, delivered with it (before/after)
Source: Real codex turn: scout report denied without the grant, delivered with it (before/after)
== BEFORE: codex exec -s workspace-write (no grant) == sandbox: workspace-write [workdir, /tmp, $TMPDIR] (network access enabled) codex: 1. Denied: operation not permitted. 2. Denied: operation not permitted. report.md ABSENT (scout could not deliver its report) status EMPTY (supervision sees nothing) == AFTER: same turn, with the --add-dir roots fm-spawn composed == sandbox: workspace-write [workdir, /tmp, $TMPDIR, <lab>/fmhome/state, <lab>/fmhome/data/codex-repro-scout, <lab>/project/.git] codex: 1. Succeeded. 2. Succeeded. report.md EXISTS: scout report: the repo builds status line: done: report delivered config/ still deniedEvidence: Composed launch commands and granted roots per kind (ship, scout, secondmate, claude unchanged, symlink refusal)
Source: Composed launch commands and granted roots per kind (ship, scout, secondmate, claude unchanged, symlink refusal)
Evidence: Live guard result on head bb3ef80, run with no manual env bypass
Source: Live guard result on head bb3ef80, run with no manual env bypass
ok - codex-cli 0.150.1 enforces exactly the granted writable roots, and the launch flags reach that policy ok - codex-cli 0.150.1 admits the captain-hold completion gate under the granted roots and denies it without them ok - codex-cli 0.150.1 accepts and enforces the FILE form of --add-dir: the ship keeps its own two state files while a sibling task record stays deniedEvidence: Live scout model turn transcript (report and status allowed, config/ denied)
Source: Live scout model turn transcript (report and status allowed, config/ denied)
Evidence: Live ship model turn transcript (own status file allowed, sibling task record denied)
Source: Live ship model turn transcript (own status file allowed, sibling task record denied)
Evidence: Portable grant suite output
Source: Portable grant suite output
Evidence: Reproduction script used for the before/after evidence
Source: Reproduction script used for the before/after evidence
Pipeline
Updates from git push no-mistakes
... (3 earlier update rounds omitted to keep the PR body within GitHub's 65536-char limit; full history is in the run log.)
🔧 Fix: grant codex workers their steering inbox and canonical roots
3 issues (2 warnings, 1 info) still open:
bin/fm-spawn.sh:1421- The same synthetic-wake defect the fix round closed forstate/<id>.turn-endedis still open forstate/<id>.status, which the same function pre-creates.bin/fm-spawn.sh:1421(ship) and:1410(secondmate) run: >> "$status_file", and nothing in fm-spawn creates that file otherwise (the only other.statuswrite is the failure path at:2754), so on a codex spawn it becomes a brand-new zero-byte signal file with no.seen-marker. I confirmed against the real library that this reads as unreported: sourcingbin/fm-wake-lib.shand callingfm_wake_signal_seen_currenton a fresh empty<id>.statusreturns 1, which is exactly the rowscan_signals(bin/fm-watch.sh:1011-1024) emits. The drain at bin/fm-watch.sh:1660-1666 then evaluatesafk_present || signal_files_actionable || { ! signal_crew_provably_working && ! signal_turnend_panes_churned }: an empty span makessignal_files_actionablereturn 1 (bin/fm-watch.sh:1181, rc=1 with an empty record hitscontinue),signal_turnend_panes_churnedreturns 1 immediately for any*.statusargument (bin/fm-watch.sh:1455), and codex has no verified semantic busy source socrew_is_provably_workingis unsatisfiable (bin/fm-watch.sh:400-406). Every branch of the guard therefore falls through towake "$reason". Concrete sequence: spawn a codex ship or secondmate; on the next watcher poll before the worker has appended anything, the captain getssignal:<id>.statusfor a report nobody made - one wasted firstmate turn per codex spawn, on the harness this PR exists to bring back into rotation. The doc's claim at docs/verification/codex-sandbox.md covers only the turn-ended half and does not mention the status file. The earliest supported shared boundary is the wake library's own documented setup primitive: after creating the file, callfm_wake_status_mark_current "$STATE" "$status_file"(bin/fm-wake-lib.sh:1603, "the public setup primitive for consumers that adopt an existing log"), guarded the same way the turn-ended seed is so an already-existing log is left alone. I verified this remedy: it marks an empty status file as reported, and a laterworking:append still reads as unreported.tests/fm-codex-sandbox-grant.test.sh:194- Five negative assertions intest_ship_grants_only_its_own_state_files_and_out_of_tree_git_dircompare the emitted roots against$HOME_DIR-prefixed paths while every emitted root is canonicalized: lines 194 ($HOME_DIR/state), 196 ($HOME_DIR/data/$CASE_ID), 201 ($HOME_DIR), 203 ($HOME_DIR/config) and 205 ($HOME_DIR/data).fm_test_tmproot(tests/lib.sh) allocates under$TMPDIR, which on macOS is/var/folders/...whose physical path is/private/var/folders/..., so$HOME_DIR/stateand the canonical$state_realare different strings. Thesegrep -qxF ... && failguards can therefore never fire on macOS - which is the platform of record in docs/verification/codex-sandbox.md's Subject table - even if the grant were widened to the shared state directory, the firstmate home,config/, or the shareddata/root. The suite's own positive assertions already use$state_real/$data_real(line 157 onward), and the scout test at line 271 correctly compares against$data_real. Thecount_roots = 4assertion at line 190 still bounds accidental widening, so this is a coverage hole rather than an escaped defect; switch the five negatives to the canonical spellings (ahome_realalongside the existingstate_real).tests/fm-codex-sandbox-grant-live-e2e.test.sh:111- The live guard composes only a scout launch ("$ROOT/bin/fm-spawn.sh" "$ID" "$PROJECT" codex --scout), whose roots are three DIRECTORIES (state/,data/<id>/, the git common dir). Both real-binary halves - thecodex sandboxboundary and thecodex exec --add-dirturn - therefore only ever pass directory arguments. The ship crewmate's entire grant and the secondmate's are FILE roots (state/<id>.status,state/<id>.turn-ended), and codex's own help documents the flag as--add-dir <DIR>. docs/verification/codex-sandbox.md's coverage table nonetheless attributes "codex still denies those paths without the grant and allows exactly them with it" and "firstmate's own --add-dir flags reach that policy through a real model turn" to this guard for all three kinds, and its "Not proven" section does not list the gap. I checked the premise directly on the installed codex-cli 0.150.1: a file path insandbox_workspace_write.writable_rootsdoes grant write to exactly that file while a sibling in the same directory stays denied, so the mechanism works today. What is unexercised is--add-dirwith a non-directory argument end to end, so a future codex release that validates the argument as a directory would silently break the ship and secondmate grants with this guard still green. Composing a second launch (codex --mode ...) in the guard and reusing its emitted roots for the same two halves would close it.🔧 Fix: mark every pre-created codex root reported, unvacuous isolation guards
4 issues (1 warning, 3 infos) still open:
bin/fm-spawn.sh:2160- The new codex dispatch notice fires fordirect-PRas well asno-mistakes, but a direct-PR brief explicitly forbids the pipeline, so on that mode the notice is false.bin/fm-dod-lib.sh:19-27rendersDo NOT run /no-mistakes.for direct-PR and defines done as "push your branch and open a PR with gh-axi". The gate atbin/fm-spawn.sh:2160is[ "$HARNESS" = codex ] && [ "$MODE" != local-only ], so a codex direct-PR ship spawn prints "whose sandbox denies the no-mistakes data directory - the worker can commit and reach the network but cannot run validation itself; expect to land it another way or choose another harness". That worker needs nothing from~/.no-mistakes: it commits (git common dir granted), pushes and opens the PR (network_access=true is passed unconditionally), and appendsdone: PR {url}to its granted status file - the whole brief succeeds. The function comment above the gate reasons only about local-only ("local-only work and a firstmate-driven landing are both legitimate"), so direct-PR looks unconsidered rather than deliberate. Concrete sequence:fm-spawn.sh t1 proj codex --mode direct-PR --yolo offtells the captain to expect to land it another way or pick a different harness for a task codex can finish end to end. No test covers this combination:tests/fm-codex-sandbox-grant.test.sh:150spawns--mode no-mistakesand the live guard uses--mode local-only. Narrow the gate to the mode that actually needs the pipeline ([ "$MODE" = no-mistakes ]), or reword the notice so it does not assert a blocker that does not apply to direct-PR.docs/verification/codex-sandbox.md:160- The "Not proven" list says a codex worker completing a no-mistakes ship "cannot work: the pipeline needs network and~/.no-mistakes", which reads as though network is one of the two blockers. The same record establishes the opposite 54 lines earlier (line 106: firstmate passes-c sandbox_workspace_write.network_access=trueunconditionally and a CLI-coverride wins, "so egress is enabled on every firstmate codex crewmate regardless of the machine"), and line 116 concludes the dispatch notice claims no network limit "because there is none to claim". Only~/.no-mistakesis denied. This is the same stale-network-claim class the previous round corrected elsewhere in this file; a reader of the record's own summary line would conclude codex crewmates have no egress. Drop the network clause so the sole stated blocker is~/.no-mistakes.tests/fm-codex-sandbox-grant-live-e2e.test.sh:293- In the new ship half of the live guard, the isolation loop compares emitted roots against a non-canonical path:case "$r" in "$SIBLING_STATUS"|"$(cd "$HOME_DIR/state" && pwd -P)"). Every emitted root is canonicalized bycodex_writable_roots, and the shared-state-dir arm is canonicalized here too, butSIBLING_STATUS=$STATUS_FILE="$HOME_DIR/state/$ID.status"derives fromROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"- logicalpwd, notpwd -P. The positive assertion three lines above at :290 already canonicalizes the same shape ($(cd "$(dirname "$SHIP_STATUS")" && pwd -P)/$(basename "$SHIP_STATUS")), so the two spellings disagree inside one block. If the repo is reached through a symlinked path, the sibling arm can never match and the guard silently stops proving that a ship root does not reach the scout's status file - the same vacuity class the portable suite's negatives were just fixed for. The real proof (thesibling:deniedsandbox probe at :327) still binds, so this is a coverage hole rather than an escaped defect; spell the sibling arm the same way :290 does.bin/fm-spawn.sh:1445- Informational, no code change implied. The stated intent (and therefore the PR description derived from it) says "a ship crewmate gets only its own state/<id>.status and state/<id>.turn-ended FILES plus the out-of-tree git common dir" and "a secondmate gets only the parent's state/<id>.status file". The shipped grant is wider by one deliberate root per kind:bin/fm-spawn.sh:1445and:1432also emit the task's ownstate/<id>.inboxdirectory, so a ship gets four roots and a secondmate two (pinned bytests/fm-codex-sandbox-grant.test.sh:190and:322). That widening was explicitly requested and reasoned about in a prior fix round and is correct - the steering-inbox acknowledgement is part of every brief - so no action is needed on the code. Flagging only so the PR description is refreshed before it goes out, since "only ... FILES" is now inaccurate and the inbox root is the change a reader would most want explained.🔧 Fix: fire codex pipeline notice for no-mistakes mode alone
5 issues (1 warning, 4 infos) still open:
bin/fm-spawn.sh:1410-codex_precreate_root_fileguards only with[ -e "$file" ] && return 0, which is FALSE for a dangling symlink, so: >> "$file"on the next line follows the link and creates the target anywhere on disk. Everywhere else this codebase treats a symlinked state path as hostile input rather than a normal file:status_observed_signature(bin/fm-classify-lib.sh) modelskind=symlinkpluslink_targetexplicitly,scan_signals(bin/fm-watch.sh:1013-1014) deliberately keeps a symlinked.statusvisible instead of skipping it, andbin/fm-classify-lib.sh:1042andbin/fm-inactive-reconcile.sh:335both pair-ewith! -L. The reachable path is the very threat model this per-kind narrowing is justified against (fm-spawn.sh:1320 "so a mistaken worker command cannot reach another task's authoritative records"): a codex SCOUT is grantedstate/wholesale, so one mistaken command there can leavestate/<other-id>.statusas a symlink pointing outsidestate/; the next codex ship spawn of<other-id>then creates that target through the link, seeds a.seen-marker for it, and emits the symlink path as an--add-dirroot, so the worker's own status appends land outside the granted tree for the whole task. The twomkdir -pcalls beside it are safe (mkdir does not follow a dangling link into a create), so this is the only pre-creation with the hole. Fix by treating a link as "already present":{ [ -e "$file" ] || [ -L "$file" ]; } && return 0, which also leaves the symlink for the watcher to surface exactly asscan_signalsalready intends.docs/verification/codex-sandbox.md:162- The Not-proven entry says "The portable suite exercisescompleteandverify, which need onlystate/." The portable suite invokes onlycomplete(tests/fm-codex-sandbox-grant.test.sh:465), and so does the live guard (tests/fm-codex-sandbox-grant-live-e2e.test.sh:231);verifyappears in no test. Line 99 legitimately recordscompleteandverifyas a manual measurement, but attributingverifyto the suite claims automated coverage that does not exist, in a record whose stated purpose (line 4) is to own "how the facts were established". Say the suite exercisescomplete, and keepverifywhere it belongs as the one-off measurement on line 99.tests/fm-codex-sandbox-grant-live-e2e.test.sh:359- Section 4'scodex execturn is the ONLY place the real--add-dirflag is driven with a non-directory argument, and it instructs the model to runecho x >> $SIBLING_STATUS(line 354) - but the only assertion after the turn is[ -s "$SHIP_STATUS" ]. Nothing checks that the sibling stayed unwritten, so the confinement half of this section rests entirely on thecodex sandboxconfig-form run at line 342. The scout half does this correctly at line 195 ([ ! -e "$DENIED" ]). Consequence: a codex release where--add-dir <FILE>silently widened to the containing directory would make every ship root reach every other task's records instate/, and this guard - the one added specifically to close the file-form gap - would still print ok.[ ! -e "$DENIED" ]cannot be reused here because$SIBLING_STATUSis non-empty by this point (sections 1-2 wrote it), so capture its size or sha before the turn and assert it is unchanged after.tests/fm-codex-sandbox-grant.test.sh:211- The two forbidden entries added in the last fix round,$state_real/sibling-task.statusand$state_real/sibling-task.inbox, can never fire: every rootcodex_writable_rootsemits is derived from$id(bin/fm-spawn.sh:1418-1446), so no implementation of that function produces a literalsibling-task.*path. The other six entries in the same loop each correspond to a plausible widening the function could actually make ($state_realif the ship branch used the scout's directory grant,$data_real/$CASE_IDif a data root were added,$home_real,config/,projects/), which is why they are evidence. These two are the shape the round-3 instruction warned against - a negative assertion that has never been seen to fail is not evidence - and they add nothing over thecount_roots = 4bound at line 190. The genuine sibling isolation proofs already exist: the chmod probe at line 548 and the live guard'ssibling:deniedat line 342. Drop the two entries or replace them with a check that actually varies with the emitted set (for example, that no emitted root is a prefix of another task's state path).tests/fm-codex-sandbox-grant.test.sh:296-test_scout_grants_state_dir_data_and_out_of_tree_git_dirnever asserts the out-of-tree git common dir its own name promises, and unlike the ship test (line 190) and the secondmate test (line 349) it has no root-count bound. The coverage table at docs/verification/codex-sandbox.md:146 attributes to this suite the claim that the composed launch grants "a scoutstate/, its owndata/<id>/, and the git dir" - the git-dir half of that claim is unpinned for the scout kind. The other scout tests do not close it:test_granted_set_is_sufficient_for_the_whole_contractnever denies the project's git dir (deny_outside_rootschmods only$home,$home/config,$home/projects), so its successfulgit addproves nothing about the grant, andtest_each_root_is_load_bearingproves the git dir is NEEDED, not that it is EMITTED. Add thegrep -qxF "$gitdir"assertion the ship test already has (line 168) plus a count bound, both driven off the emitted roots.🔧 Fix: refuse symlinked state records, pin scout git root
1 warning still open:
bin/fm-spawn.sh:1384- The round-4 symlink hardening closed only the FILE pre-creation half; root EMISSION and the inbox directory creation still follow a link, and they escalate further than the hole that was fixed.codex_root_real(bin/fm-spawn.sh:1384) starts with[ -d "$path" ] && (cd "$path" && pwd -P), which resolves a symlinked final component, and the twomkdir -p "$(fm_task_inbox_handled_dir ...)"calls (:1444 secondmate, :1456 ship) have no link guard at all. I proved both against the real fm-spawn, not the suite: withstate/<id>.inbox -> $FM_HOMEandstate/<id>.status -> $FM_HOME/configplanted before acodex --mode no-mistakesship spawn, the composed launch emitted--add-dir <home>/configand--add-dir <home>(plus the turn-ended file and the git dir), andhandled/was created inside the link target outsidestate/.codex_precreate_root_fileprinted itsis a symlinknotice for the status file and still letcodex_root_realresolve the same link into a granted root, so the notice is not the containment it reads as. Reachability is the exact one the code comment at :1408-1412 already asserts for the file case - a codex scout holdsstate/wholesale, so one mistaken command there plants the link and the NEXT ship or secondmate spawn of that id hands its worker the target as a writable root for the whole task. That contradicts the stance stated three places in this change: bin/fm-spawn.sh:1370 ("The grant is never $FM_HOME itself, which keeps .env, config/, projects/, and every other home denied"), docs/verification/codex-sandbox.md:89, and the skill reference. The regression added for this class,test_precreation_never_follows_a_symlinked_state_record(tests/fm-codex-sandbox-grant.test.sh:334), asserts a DANGLING link only, so it passes on both cases above. Narrowest fix at the same boundary the last round chose: refuse incodex_root_realwhen the final component is a link ([ -L "$path" ]) rather than resolving through it, and guard the inboxmkdir -pthe waycodex_precreate_root_fileguards the files - then extend the regression to a link pointing at an EXISTING directory, asserting both that nothing is created through it and that no emitted root lies outside the state directory.🔧 Fix: refuse codex writable roots through symlinked paths
2 warnings still open:
bin/fm-spawn.sh:1409-codex_root_real's invariant 1 ([ -L "$path" ]-> refuse) is applied to the CONTAINER itself for the scout, whose root IS$STATE(bin/fm-spawn.sh:1491codex_root_real "$STATE" "$STATE"). I verified this against the real function, extracted from the current file: withstate -> real_state,codex_root_real /tmp/crr/state /tmp/crr/stateprintserror: /tmp/crr/state is a symlink ...and returns 1, whilecodex_root_real /tmp/crr/state /tmp/crr/state/t1.statusreturns 0 with the correctly canonicalized/private/tmp/crr/real_state/t1.status. Becausecodex_writable_rootspropagates that failure and bin/fm-spawn.sh:3400 turns it intoexit 1, a firstmate home whosestate/is reached by a final-component symlink (an operator moving state to another volume, or anFM_STATE_OVERRIDEpointing at a link) can spawn codex SHIP and SECONDMATE crewmates normally but every codex SCOUT spawn is refused outright, telling the captain to "repair or remove that record" for a directory they deliberately created. The refusal is also unnecessary here: the justification in the header comment (bin/fm-spawn.sh:1414-1419) is that a scout holdingstate/wholesale can leavestate/<other-id>.statusorstate/<other-id>.inboxas a link - entries INSIDE state/. No grant makes$FM_HOMEwritable, so no worker can replacestate/itself, and invariant 2 already bounds the resolved root (a symlinked container resolves to its own target, so containment holds trivially). Narrowest fix: skip invariant 1 when$pathequals$container(the container is canonicalized either way), leaving the link refusal exactly where it is reachable - the per-task records under it.tests/fm-codex-sandbox-grant.test.sh:325-assert_no_root_outside_state(tests/fm-codex-sandbox-grant.test.sh:325, called at :356, :368, :382) can never fail, in either direction. On a refusal the spawn exits at bin/fm-spawn.sh:3400 long beforespawn_send_literal(:3496), so$LAUNCH_LOG- truncated byrun_spawn's: > "$launchlog"- is empty;granted_rootshits[ -n "$line" ] || return 0and thewhilebody never executes. And if the guards were removed so a bad root WERE emitted, the spawn would exit 0,expect_code 1(tests/lib.sh:291) would callfail, andfailexits (tests/lib.sh:45-48), so the assertion is never reached. This is the same vacuity class rounds 2 and 3 were asked to close, reintroduced in the regression added specifically to prove "no root outside the intended location is ever emitted", and docs/verification/codex-sandbox.md:149 credits this suite with exactly that claim. The reachable evidence in this test is the exit code plus the two real side-effect checks ([ ! -e "$escaped" ]at :353 and[ ! -d "$HOME_DIR/handled" ]at :379); the emitted-root half is unproven. Make it fire: capture the spawn's status without aborting, assert the emitted set is EMPTY on refusal, and add one arm that would emit a home-reaching root if invariant 1 were dropped (e.g. assert the guard fails when the emitted-root check is the only thing standing) - then deliberately break the guard to confirm the new assertion fails.🔧 Fix: allow symlinked containers, make root guard fireable
2 infos still open:
bin/fm-spawn.sh:1527- Informational, no code change implied - the root is explicitly required by the stated intent. The per-kind narrowing is justified at bin/fm-spawn.sh:1320 as "so a mistaken worker command cannot reach another task's authoritative supervision records", and that holds exactly for the state and data roots. The git common dir emitted here is the one root that is NOT per-task: for a pooled project it is the primary checkout's.git, shared by every linked worktree, so a codex worker granted it can writerefs/heads/fm/<other-task>,worktrees/<other-task>/index,.git/config, and.git/hooks/*in the same project (the last of which runs on the next git invocation by anyone). I confirmed the emitted value is the shared primary.gitin a composed ship launch. Narrowing further is not really available - staging in a linked worktree needs the worktree subdir, objects, and refs - so this is inherent to the mechanism the intent mandates, not a defect. Flagging only because neither bin/fm-spawn.sh's header, the "Why the grant is scoped per kind" section of docs/verification/codex-sandbox.md, nor its "Not proven" list says that the isolation claim is scoped to supervision records and does not extend to sibling tasks' git state. One sentence in the record would make the posture accurate.bin/fm-spawn.sh:3412-codex_add_dir_flagsis called during launch-string substitution, which is afterstate/<id>.metahas been published (bin/fm-spawn.sh:3348, withSPAWN_META_TMPcleared sospawn_abort_cleanupwill not unwind it) and after the pane window exists. So the new refusal path - the one a planted symlink onstate/<id>.statusorstate/<id>.inboxreaches - exits 1 leaving a published task record and an empty window for a task that never launched.spawn_commit_backlog_transitionis deferred and never runs, so the backlog stays correct, and the pre-existing trace-context refusal at bin/fm-spawn.sh:3500 has the same shape, which is why this is info rather than a defect. But nothing incodex_writable_rootsneeds the meta record: it needs only$KIND,$STATE,$DATA,$WTand$ID, and$WTis settled by bin/fm-spawn.sh:2910 (validate_spawn_worktree), well before the publish. Composing or at least validating the grant right after the worktree is validated would make a refused grant fail before the durable record exists, which matters more here than for the trace-context case because this refusal is triggered by corrupted on-disk state that will still be corrupt on the captain's retry.🔧 **Test** - 2 issues found → auto-fixed ✅
tests/fm-codex-sandbox-grant-live-e2e.test.sh:274- tests/fm-codex-sandbox-grant-live-e2e.test.sh section 4 could not pass as written. Section 3 seeds .tasks.toml plus backlog rows into the fixture home, which turns on fm-spawn's backlog preflight; the section-4 ship spawn for SHIP_ID then exits 1 with "task codex-grant-live-ship has no backlog item in this home". Section 3 hard-fails when tasks-axi is missing, so the ordering was unconditional and the FILE-form half of the guard never ran. Fixed by seeding the ship task's backlog row before its spawn, after which all four sections pass against codex-cli 0.150.1.tests/fm-codex-sandbox-grant-live-e2e.test.sh:20- Unlike the repo's other *-live-e2e tests (fm-opencode-primary-live-e2e, fm-pi-primary-live-e2e, fm-send-inbox-doorbell-live-e2e), this guard neither unsets NO_MISTAKES_GATE nor sets FM_GATE_REFUSE_BYPASS=1, so fm-spawn refuses to compose any launch when it is run from inside a no-mistakes gate worktree. I ran it with FM_GATE_REFUSE_BYPASS=1, the bypass tests/lib.sh already exports for the portable suite. CI and ordinary checkouts are unaffected; noting it only because the sibling convention exists.bash tests/fm-codex-sandbox-grant.test.sh- 11/11 ok: per-kind composition, canonical spellings, no grant of $FM_HOME/config/projects/shared data, symlinked-record refusal, sufficiency and necessity of each root, steering-inbox acknowledgementFM_CODEX_LIVE_E2E=1 FM_CODEX_KEEP_LAB=1 bash tests/fm-codex-sandbox-grant-live-e2e.test.shagainst real codex-cli 0.150.1 - all four sections ok (seatbelt deny/allow boundary, realcodex execmodel turn through the composed --add-dir flags, captain-hold completion gate, FILE-form root confinement)bash tests/fm-spawn-dispatch-profile.test.sh- 29/29 ok, confirms no other harness's launch acquired a grantbash tests/fm-secondmate-harness.test.sh- all okbash bin/fm-test-run.sh --check-coverage- FM_TEST_COVERAGE ok, the new live guard is registered in a laneManual: composed and captured the actual pane launch command for codex ship, codex scout, codex secondmate and claude ship against real linked worktrees, plus the symlinked-inbox refusal exit pathManual: inspected the preserved live lab - data/<id>/report.md and state/<id>.status written by the real model turn, config/ empty🔧 Fix: bypass gate refusal in codex sandbox-grant live guard
✅ Re-checked - no issues remain.
bash tests/fm-codex-sandbox-grant.test.sh- portable suite, 11 checks, exit 0 (no codex installed path: composition per kind, symlink refusal, sufficiency and necessity of each root)FM_CODEX_LIVE_E2E=1 FM_CODEX_KEEP_LAB=1 bash tests/fm-codex-sandbox-grant-live-e2e.test.sh- exit 0 against codex-cli 0.150.1, run with NO manual FM_GATE_REFUSE_BYPASS, confirming the head commit's in-file bypass; covers the seatbelt boundary, a real model turn through the launch flags, the captain-hold completion gate, and the FILE-form --add-dir halfbash tests/fm-spawn-dispatch-profile.test.sh- 31 checks, exit 0 (codex launch composition and dispatch notice)bash tests/fm-secondmate-harness.test.sh- 50 checks, exit 0 (secondmate launch composition)Manual before/after reproduction against the real binary:codex exec -s workspace-writein a linked task worktree with and without the --add-dir roots fm-spawn composed, asserting report.md delivery, status append, and that config/ stays denied (script: repro-scout-report-denial.sh in the evidence directory)git status --porcelainafter removing both codex labs created under the repo worktree - clean🔧 **Document** - 1 issue found → auto-fixed ✅
docs/configuration.md:301- The codex sandbox's one hard limit -~/.no-mistakesstays denied, so a codex ship inno-mistakesmode cannot run validation itself - is documented in the agent-runtime adapter reference and the maintainer-verification record, and fires as a spawn notice. It is not indocs/configuration.md's operator-facing "Harness support" section, which still tells an operator to "Set config/crew-harness or config/secondmate-harness to codex or claude for unattended work" with no mode qualifier. I left it there on purpose: the placement policy keeps detailed conditional material in the deep reference rather than copied into operator/always-loaded guidance, and the notice reaches the captain at the decision point. If you want the operator page to carry it, one sentence plus a pointer to docs/verification/codex-sandbox.md is the shape - your call, not a defect.🔧 Fix: qualify codex harness advice with no-mistakes limit
✅ Re-checked - no issues remain.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.