fix: verify Codex runtime submissions before mutation#563
Draft
Stahl-G wants to merge 1 commit into
Draft
Conversation
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.
Summary
RoleTaskEnvelopefrom the verified Store prefix and require exact strict-model equality in both advisory validation and acceptanceRoot cause and invariant
Runtime ingress previously used partial validators and could read large source packs or create Invocation/scratch state before the complete submission was bounded and verified. This change makes one shared non-authoritative admission kernel the precondition for mutation while SQLite receipts remain the only business authority. Host-private staging is inert and reverified; it never decides legality.
State x Path coverage
task_instructions, is reconstructed from the invocation-start receipt and exact pre-start Store snapshotValidation
python -Ogit diff --check: passedScope / non-goals
Six files only under the frozen Unit A allowlist. No SQL or migration changes, CLI/init-web changes, runtime assets, docs, RUN-UX, LAJ/QP, legacy compatibility, or
runtime install --runtime allfollow-up. README surfaces do not change.Candidate checkpoint:
a4cf35e68ea823a2ffa8914144b8150f63d41b88on basebd08ac92f5de777ecec4c0127d9efa4309fc3b01. During the Human Build Week freeze this PR remains Draft and must not merge.