Skip to content

Close V5 verifier capture and custody seams - #3606

Open
joshlf wants to merge 1 commit into
Ge64gipf6sorrrdfcfdn53nwmf5wjhtsufrom
Ghkhtqyl7uarxeejpm6eu2in5vz5l3asl
Open

Close V5 verifier capture and custody seams#3606
joshlf wants to merge 1 commit into
Ge64gipf6sorrrdfcfdn53nwmf5wjhtsufrom
Ghkhtqyl7uarxeejpm6eu2in5vz5l3asl

Conversation

@joshlf

@joshlf joshlf commented Aug 29, 2026

Copy link
Copy Markdown
Member

Adversarial review after the authenticated-review aggregation repair found two remaining path-reopen races. Snapshot validation compared a candidate word_count.py with trusted bytes and later executed the candidate pathname, so a coherent replacement could run after the equality check. Static verification likewise authenticated one lock but aggregation and gate derivation could reopen the lock pathname instead of consuming the verifier capture. The built-in production-shaped test also discarded the review-evidence result and therefore did not prove the exact three source plus eight snapshot receipt inventory.

Capture regular files through one no-follow descriptor with stable before/after metadata. Compare the staged word counter with a descriptor capture, execute only the captured trusted implementation, and recheck the staged file without ever executing candidate bytes. Bind the canonical read-only STATIC-LOCK digest into the same-capture review-evidence envelope, require it to equal the separately custodied external commitment, and carry that captured digest through aggregate and gate derivation rather than reopening the path.

Strengthen the mechanical production lifecycle assertions for the exact 3+8 receipt set, eleven reviewer identities, raw receipt hashes, lock commitment, and valid-A to valid-B substitution seams. Add negative coverage for candidate word-counter replacement and mismatched captured lock evidence.

Document the remaining boundary precisely: the coordinator must maintain uninterrupted private OS-level custody of the bundle, runtime state, ancestors, and external commitment from final publication through bound-gate evaluation. Advisory modes and cooperative locks are defense in depth, not protection from a same-UID or privileged adversary; uncertain custody invalidates the run.

Validation: prepare, integration, and protocol DRAFT checks; full integration and protocol self-tests including mechanical production and synthetic lifecycles; all four semantic validators; AST parsing; git diff cleanliness; and zero bytecode/cache artifacts.

Adversarial review after the authenticated-review aggregation repair found two remaining path-reopen races. Snapshot validation compared a candidate word_count.py with trusted bytes and later executed the candidate pathname, so a coherent replacement could run after the equality check. Static verification likewise authenticated one lock but aggregation and gate derivation could reopen the lock pathname instead of consuming the verifier capture. The built-in production-shaped test also discarded the review-evidence result and therefore did not prove the exact three source plus eight snapshot receipt inventory.

Capture regular files through one no-follow descriptor with stable before/after metadata. Compare the staged word counter with a descriptor capture, execute only the captured trusted implementation, and recheck the staged file without ever executing candidate bytes. Bind the canonical read-only STATIC-LOCK digest into the same-capture review-evidence envelope, require it to equal the separately custodied external commitment, and carry that captured digest through aggregate and gate derivation rather than reopening the path.

Strengthen the mechanical production lifecycle assertions for the exact 3+8 receipt set, eleven reviewer identities, raw receipt hashes, lock commitment, and valid-A to valid-B substitution seams. Add negative coverage for candidate word-counter replacement and mismatched captured lock evidence.

Document the remaining boundary precisely: the coordinator must maintain uninterrupted private OS-level custody of the bundle, runtime state, ancestors, and external commitment from final publication through bound-gate evaluation. Advisory modes and cooperative locks are defense in depth, not protection from a same-UID or privileged adversary; uncertain custody invalidates the run.

gherrit-pr-id: Ghkhtqyl7uarxeejpm6eu2in5vz5l3asl
Validation: prepare, integration, and protocol DRAFT checks; full integration and protocol self-tests including mechanical production and synthetic lifecycles; all four semantic validators; AST parsing; git diff cleanliness; and zero bytecode/cache artifacts.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-29T10:45:54.875691Z 5f59060 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.85%. Comparing base (81f0cdb) to head (5f59060).

Additional details and impacted files
@@                        Coverage Diff                         @@
##           Ge64gipf6sorrrdfcfdn53nwmf5wjhtsu    #3606   +/-   ##
==================================================================
  Coverage                              91.85%   91.85%           
==================================================================
  Files                                     20       20           
  Lines                                   6093     6093           
==================================================================
  Hits                                    5597     5597           
  Misses                                   496      496           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants