Repository navigation
fix: Restore corpus and incremental verification contracts - #5866
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Owner
Author
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5177ca2d46
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
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
Restore the corpus, progress receipt, hash and incremental-work verification contracts behind six historical findings. Attachment ingestion keeps native authored turns, lineage and durable bytes through ordinary parsing and retained replay.
Problem
Executable corpus generators supplied arbitrary transcript bytes; Attach projected native transcripts into a lossy single-turn envelope. Nested progress tests could steal the managed run ledger. The restored-content hash fixture expected unequal hashes for equal content. The incremental law allowed archive-wide refreshes through relaxed budgets and incomplete SQL measurement.
The original findings remain linked in polylogue-kx9vb: F003, F004, F048, F081, F088, F089.
Solution
Verification
Final candidate:
2e44e4fb4c11b0c2f8d2385262efb31f4164e549, treed901f0d94508e92d9e7f7355dedaa54404ec1527, including masterca80dade13d9bf51a4c4eed9fd1cb04be8b4751c.20261001T065605Z-focused-test-11546-a3be8b3e, on the clean unchanged candidate. Selected/setup/call/teardown/terminal sets are exactly equal (69 each). All 62 populated mutants, strict baseline, unrelated-growth read control, scoped/literal controls and the actual FTS shadow VM witness passed.20261001T065607Z-quick-11633-8fcbd248, on the clean candidate.Earlier complete verification is reused only where its files and production dependencies remain unchanged:
Job 5403: 345 passed in 1932.86s, exit 0, receipt
20261001T050040Z-focused-test-3975611-05cd7b7f, on clean18c25b2e467ba108b30fefff09e99a1819db6bc6. Selected/setup/call/teardown/terminal sets are exactly equal (345 each), including the loaded outer plugin receipt. Its corpus, timeout, plugin and archive writer/hash scope is unchanged. Its earlier SQL measurement is superseded by job 5435.Job 5418: 105 passed in 50.55s, exit 0, receipt
20261001T055219Z-focused-test-4080362-18b92b28, on clean integratedf2af9adf78a83a87e7ea2b2e0fc85f9743db1210. The five event/selection sets contain exactly the same 105 nodes. These parser/spool files and production dependencies remain unchanged. The master integration changed daemon/read consumers; this complete two-module selection covered them. All 19 owned files outside the SQL counter and complexity test are byte-identical to that reviewed head. This does not claim that all 345 tests ran on the final candidate.The independent full-diff review found SQL comment spellings that bypassed the global-write classifier. The correction covers all sibling header positions and protects quoted identifiers/literals. Job 5423 then reported 67 passed and 1 failed in 2305.49s; its unchanged-tree retry also failed. The scoped fixture incorrectly required one trace although SQLite repeats trigger traces and opening an archive performs other-tier bootstrap writes. The correction asserts real changed rows and every relevant index trace. An actual FTS diagnostic also exposed dropped shadow VM attribution; the final counter keeps raw trace evidence separate from normalized classification, and its new populated regression observes real positive FTS shadow VM work.
The original diagnostic reported 156 passed and 3 failed, including an actual 120-second timeout during progressing 32-session work. Explicit timeout 0 now uses managed progress/cancellation; the timeout was not raised and the comparison corpus was not reduced. Earlier complete-selection failures and unchanged-tree diagnoses remain recorded in the task. Job 5401 failed the identifier extraction typing gate (11 gates passed), corrected before 5403/5404; job 5400 was cancelled before collection. A passing retry of the transient accepted-await failure does not establish its runtime cause.
Self-review
Author full-diff review on clean 2e44e4f/tree d901f0d94508e92d9e7f7355dedaa54404ec1527 against master ca80dad. All 21 owned paths and connected call paths were reread in this context. The final cumulative two-path correction was reviewed as new code; no remaining concrete code finding. Full SQL job 5435 passed 69 tests in 2088.51 seconds on this clean unchanged head, receipt 20261001T065605Z-focused-test-11546-a3be8b3e; selected/setup/call/teardown/terminal sets are exactly equal (69 each). Final quick 5436 passed all 12, receipt 20261001T065607Z-quick-11633-8fcbd248. Independent whole 21 review at f2af remains valid for 19 unchanged blobs; final cumulative correction review and exact receipt readback are clean on the same immutable head. Earlier original 156 passed/3 failed and 120-second timeout and all subsequent diagnostics remain visible. In particular, 5423 failed with 67 passed/1 failed (same unchanged-tree retry), caused by invalid single-trace fixture expectation; FTS shadow diagnostic also exposed dropped actual VM work. Both corrected in 2e.
Generic:
Residuals
Verification covers the named selections, not the full corpus or operator archive. The operation.await lifecycle defect remains with its separate source foundation owner; this change makes no runtime cause claim. The operator disabled further hosted Codex requests; the full 21-file independent review at f2af is retained, and its final two-file correction readback is clean at 2e. Publication requires required statuses and resolution of all six existing review threads.