Enforce role-isolated workflows and persist SWE traces - #8
Merged
Conversation
areshand
force-pushed
the
codex/persist-swe-traces
branch
from
August 15, 2026 18:46
4f57ebd to
12000e8
Compare
areshand
marked this pull request as ready for review
August 16, 2026 02:18
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.
What changed
Security and responsibility boundary
launch.sh: compatibility entrypoint only; it launches the Rust workflow and contains no orchestration policy.The supervisor applies predetermined rules only. It does not make implementation or acceptance decisions. The orchestrator can read shared files and tmux sessions, but Linux permissions prevent direct repository writes.
Validation
cargo fmt -- --checkcargo test --all-targets— 18 passedcargo clippy --all-targets -- -D warningsbash tests/lifecycle.sh— passed, including the UID-sandbox environment-override regression testbash tests/run.sh— full Rust, shell, lifecycle, evaluation, provenance, and migration suite passedgit diff --checklinux/amd64; the official targeted rerun executed that baked Rust CLI successfully.Framework contract tests— Ubuntu, macOS, Python 3.8, and Python 3.13 jobs all passed.SWE-bench Pro regression evidence
Pinned first-10 baseline:
The complete first-10 rerun scored 5/10:
Rows 1, 2, 3, and 6 stayed solved, and row 4 improved. Row 5 initially regressed. Its persisted trace showed that the accepted worker patch was correct, but the orchestrator disabled lifecycle enforcement after completion and launched a repair worker that reverted the new call contract to stale visible tests.
The supervisor seal was then added, all local tests were rerun, and official row 5 was rerun from a newly baked final-code image. The official scorer returned 1/1, restoring every previously solved baseline row. Traces are retained at the configured host trace roots for later analysis.
The pull request remains draft and is not merged.