Repository navigation
fix(codex): repair coordination and approval evidence - #18
Merged
Merged
Conversation
Codex native lifecycle, file events and projectless app context did not consistently match the existing coordination and verification assumptions. Root cause: Native interruptions were ignored or hidden by rounded observations; ended children lost question and reply ownership; transcript-tail attribution lost metadata; bounded waits and diagnostic artifacts were mistaken for persistent monitoring or delivered changes. Reconcile native stops using precise admissions, retain Codex question and reply identity, show pending requests and crew scores, validate registered checkout scratch access, audit native changes with bounded metadata, recognize supported uv proof commands and protect active Codex logs. Preserve Claude behavior with provider-specific paths and paired controls. Document real host checks separately from source contracts. Verified: Targeted red-green baseline proofs, affected Python 3.9 and 3.13 tests, independent source and scratch-security reviews, test audits and scanners passed. Full Python 3.9 and 3.13 validation is still running; installed-host acceptance remains partial. Refs: #15
The full suite exposed a parity fixture that treated command text as an active Codex wake source after that behavior had been corrected. Keep Claude foreground and background assertions. For Codex, prove command text alone still warns, synchronize a real registered child wait before checking Stop, and verify the reminder returns after bounded termination and cleanup. Verified: The original case failed in the 4,385-test Python 3.13 run. The corrected case passes independently; 104 parity and gate tests pass, the changed case fails against 3a3bb8d, and independent review approves. Full Python 3.9 and resumed CI remain in progress. Refs: #15
Corrected user grants and later decision answers can arrive in one Codex turn and must retain their own transcript-backed evidence. Root cause: Codex steering messages share turn_id, but prompt evidence deduplicated that identifier as if it uniquely identified one user message. Bind Codex evidence to the native turn and complete-message digest, confirm exact genuine transcript text, and retain atomic legacy replay protection. Keep Claude prompt identities unchanged and document the update/restart boundary. Verified: 123 affected tests pass on Python3.13 and3.9;7 regressions fail baseline6ac8eed and pass5 repetitions; independent security controls and168 review tests pass on bothPythons; docs, test audit, stubs and diff checks pass. Refs: https://github.com/fireflysoftwaresolutions/devkit
Ship the reviewed Codex coordination and approval evidence corrections together in one versioned release. Synchronize the CLI, Claude and Codex plugin, and Desktop manifest versions with the changelog. Package metadata changes do not alter Claude behavior. Verified: Release metadata tests pass on Python3.13 and3.9; Python3.9 reports108 raw tests. Three JSON versions match VERSION26.11.14;48 changelog links resolve; final independent review approves the26-file release diff. Refs: https://github.com/fireflysoftwaresolutions/devkit
Distinct genuine user messages can share a Codex turn, while existing settlement evidence must remain readable after the grant identity upgrade. Root cause: The strict grant identity decoder narrowed the shared settlement reader, and settlement hooks and queues still keyed distinct messages by the whole native turn. Keep new grant admission strict, restore bounded legacy reading, propagate complete message identity through Codex settlement and queue consumption, and preserve legacy replay protection in both orders. Document fresh native step identity and explicit completion for Codex coordination. Verified: 380 affected tests passed on Python3.13 and3.9; six regressions fail18944d0 and pass five repetitions. Independent security and code reviews each passed37focused tests on both runtimes; security review also passed123adjacent tests. Test audit, scoped stubs, docs structure/links and diff checks passed;15 historical changelog prose warnings remain. Final committed-tree CI follows. Refs: #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 and why
Codex could retain a stopped crew member, lose actionable questions or late answers, and treat an expired wait as continued monitoring. This release repairs those coordination boundaries and recognizes corrected user approvals within one native turn while preserving Claude behavior.
Changes
How to verify
84e564ce6409fc8a6fcae6b29eb1ad1ba5385424ad15e7ae2f9f8eed2db0ec96. No extraction or global installation occurred.Risk and rollback
Runtime changes are limited to Codex paths, with paired Claude controls. Restart Codex sessions after updating; concurrent old/new writers for one session are not certified. Final local Semgrep reported zero findings across 497 rules and 611 files, but five rule timeouts limit coverage (three in guard.py, one in hooks.py, one in progress.py). Remote security in run 44 also passed with zero findings and nine timeouts: cli.py 1, gitx.py 1, guard.py 3, hooks.py 1, pipelines.py 1, progress.py 2. Logs retain these limits; scanner exit zero is not exhaustive SAST. OSV/Trivy found no supported dependency/vulnerability inventory, and Zizmor reported one ignored and one suppressed result. No credentials, installed hooks, or managed approval records were changed for delivery.
An operator can return to the previous pinned release through the supported installer and restart affected sessions.
Links