Repository navigation
docs: record observed cross-vendor sbx gate proof - #51
Merged
Merged
Conversation
added 4 commits
August 2, 2026 11:09
The gate-vendor section documented what the assertion does, but closed by saying no real guest had been observed reviewing cross-vendor. That gap was the whole point of the defect: every weaker artifact in this family - a config reading `agent: codex`, a zero exit status, `doctor` reporting the gate is runnable - has already been true while the review still ran on claude. A throwaway guest created through firstmate's own spawn path on adf-codex:v5 produced a real review.log showing codex with the pinned model and effort on the first gate it ran. That log, and the live argv behind it, replace the outstanding-verification paragraph. Scoped deliberately: this proves a newly created guest is born gate-correct. It says nothing about the live fm-agent-dotfiles guest, whose hand-edited config still has never been exercised by a gate run; conflating the two is the error the investigation called out, so it is named as a separate risk.
The previous commit recorded the observation but kept no artifact anyone else could re-examine: the proving guest was destroyed, so the record rested on the observer's word. That is the same shape of unverifiable claim this section exists to reject, and the gate flagged it. Redone on a second independently created guest, capturing before teardown rather than after. The retained files are the review log verbatim, the complete untruncated argv of the reviewing process read from /proc while it was live, and a manifest naming the sandbox, template tag and image id, run id, UTC timestamps, and the exact create command. The reviewing pid ties the log and the argv together, so neither has to be taken on trust. The earlier unretained run is kept in the text as what it is - the same result without evidence - rather than dropped, since it explains why this rerun exists. The scoping statement that none of this speaks for the live fm-agent-dotfiles guest is unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Prove by observation, not inference, that a firstmate-created sbx guest now runs its no-mistakes adversarial review with codex rather than claude; record that verification in the gate-vendor section of docs/sbx-backend.md; and retain the raw captured evidence in the repository so anyone can re-examine it.
Background a reviewer needs: firstmate creates sbx guests with a bare 'sbx create' (bin/backends/sbx.sh), never through agent-dotfiles' sbx-provision.sh, so the pinned no-mistakes gate config never arrived. Guests therefore reviewed with claude - the same vendor that wrote the code - making that adversarial review non-independent. Two fixes landed 2026-08-02: agent-dotfiles PR #91 bakes the gate config into the adf-codex:v5 template, and firstmate PR #49 asserts the gate vendor never matches the worker's. Both were believed correct and neither had ever been observed working. Closing that gap was the point of this task.
The evidence bar was set deliberately high by the captain and by GitHub issue #48, because every weaker artifact in this family has already been true while the review still ran on claude: a config file reading 'agent: codex' is explicitly not proof, a zero exit status is not proof (exit 0 while broken was the original defect), and 'no-mistakes doctor' reporting the gate is runnable is not proof because it exits 0 even when that check fails. Only a real review.log produced inside the guest, showing codex with model gpt-5.6-sol at effort high, closes the question.
WHY RAW LOG FILES ARE COMMITTED INTO THE REPOSITORY - this is the key thing a reviewer will not know from the diff alone, and it is a deliberate captain decision, not an oversight. A first proof run was completed and documented; a previous run of this very pipeline then raised an ask-user finding (id missing-raw-gate-evidence) observing that because the proving guest had been destroyed, the documented observation could not be independently authenticated by anyone but its observer. That finding was escalated, and the captain ruled explicitly: do NOT accept the documentation record alone, do NOT resolve it through the pipeline's fix round, and instead rerun the proof on a fresh guest with the raw evidence retained in-repo. So docs/sbx-gate-vendor-proof/ containing review.log, review-cmdline.txt and manifest.txt is the requested deliverable. Their content is deliberately verbatim and deliberately not summarised, tidied, or reformatted - fidelity is the entire value, so 'this file is unformatted / could be condensed / duplicates the prose' is not a defect here. review-cmdline.txt is intentionally the complete untruncated argv (82 entries, including the reviewer's full prompt text) because truncating it to the interesting flags would reintroduce exactly the trust gap this rerun exists to close.
Method constraints, all deliberate and all still binding on the rerun: the guest had to be created through firstmate's own path (bin/fm-spawn.sh --secondmate --backend sbx, reaching fm_backend_sbx_create_task), never sbx-provision.sh, sbx-nm-pins.sh, a hand-run 'sbx create', or a hand-edited guest gate config, since any of those would prove a path firstmate does not use; the template had to be adf-codex:v5; the work had to be isolated behind a throwaway FM_HOME so nothing was written into the captain's fleet; the gate inside the guest had to be real, not a dry run; and the live production guest fm-agent-dotfiles was strictly off limits and was not touched.
What was observed on the retained rerun: throwaway guest fm-gvproof2 on docker.io/library/adf-codex:v5 (image c5e40c1c8781) with a claude worker harness and FM_SBX_AGENT=codex; the create-time gate-vendor assertion passing silently, which is its cross-vendor verdict; and on the first gate that guest ever ran, review.log showing 'codex started pid=1884' through 'codex exited pid=1884 status=success', with that same pid's /proc argv carrying -m gpt-5.6-sol -c model_reasoning_effort=high. Review completed in 107.5 s with zero findings, spanning 2026-08-02 15:46:01 to 15:47:49 UTC, tally codex 1 / claude 0 against the 26-of-26-on-claude regression target. Artifacts were copied out BEFORE teardown, then the guest was destroyed.
Further deliberate decisions a reviewer should not flag as omissions: (1) the doc explicitly does NOT claim this proves the live fm-agent-dotfiles guest is correct - that guest predates the template and carries a hand-edited config no gate run has ever exercised, so it is named as a separate open risk, because conflating the two is the exact error the original investigation called out, and the captain required that boundary survive the rewrite; (2) the earlier unretained guest fm-gvproof is deliberately still described in the prose as 'same result, no evidence' rather than deleted, because it explains why the rerun exists - it is not a stale leftover; (3) the weaker artifacts (the guest's 'agent: codex' config line, doctor's gate line, the exit status) are deliberately retained as labelled context rather than removed, so a future reader sees they were considered and rejected as proof; (4) this remains a documentation-plus-evidence change and is deliberately proportionate - no sbx backend code was touched; (5) all three retained files were scanned for credentials before committing and contain none.
What Changed
gpt-5.6-solat high reasoning effort.Risk Assessment
✅ Low: The prior documentation inconsistency is corrected exactly as requested, the retained evidence files remain unchanged, and the live-guest scoping statement is preserved.
Testing
The focused gate-vendor suite passed, direct inspection confirmed the retained log and complete argv prove a real codex gpt-5.6-sol/high review from the firstmate-created guest, documentation links and required boundaries were intact, the credential-pattern scan was clean, and testing left the worktree unchanged.
Evidence: Gate-vendor proof verification transcript
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 1 issue found → auto-fixed ✅
docs/sbx-backend.md:499- The narrative says~/.no-mistakes/held onlyconfig.yamlbefore the gate, but the retained manifest records bothconfig.yamlandupdate-check.json. Correct the prose to match the evidence; the absence oflogs/still establishes this was the first gate run.🔧 Fix: Correct pre-gate guest state documentation
✅ Re-checked - no issues remain.
✅ **Test** - passed
✅ No issues found.
Inspectedgit diff --statandgit diff --name-statusforf53c66ea8baff71254c0e7e61766218355823823..db7cec6d5a3ee591224662fce8aacf155637cfc7Inspecteddocs/sbx-backend.mdand all files underdocs/sbx-gate-vendor-proof/bash tests/fm-sbx-gate-vendor.test.shCaptured direct PID, argv, manifest, tally, and credential-pattern evidence ingate-vendor-proof-verification.txtusingrg,sed, andwcRan raw-evidence integrity and documentation-link existence checksVerifiedgit status --shortremained clean after testing✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.