Repository navigation
research(#151): Wave 1 checksum-page evidence + Wave 2 framing contract - #159
Closed
DrunkOnJava wants to merge 3 commits into
Closed
DrunkOnJava wants to merge 3 commits into
DrunkOnJava wants to merge 3 commits into
Conversation
… contract Probe-only investigation for Discussion #112 / @STE1200 Finding 1. Adds control-vs-strip evidence probe, synthetic multi-page fixture tests, and a Wave 2 framing contract draft. No production inflate wiring. Co-authored-by: DrunkOnJava <[email protected]>
7 tasks
Owner
Author
|
Merge decision (judge: narrow / accept scoped contract) Reviewed against current
Squash-merging now without waiting on remaining CI. |
Resolve DISC-112 probe report conflict: keep Worker C chunk-oracle addendum and the #160 path-gated production note. Refresh framing contract + Worker C report for judge narrow scope (no universal strip). Co-authored-by: DrunkOnJava <[email protected]>
Owner
Author
|
Merge decision (judge: narrow / accept scoped contract) Re-reviewed after #158 and #160 landed on
Squash-merging without waiting on CI. |
Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava
added a commit
that referenced
this pull request
Aug 29, 2026
Wave 2 Worker A: complete narrowed Finding 1 contract on top of #162. - Synthetic checksum_page_framing suite (bare fails / gated strip passes) - Writer verify uses bare inflate (no false strip on strip-clean encoder) - Contract/probe docs from Wave 1 #159 + Wave 2 evidence - Formats/Latest remains ungated; Partitions/Global stay gated Credit @STE1200. Refs #151 / Discussion #112.
Owner
Author
|
Closing — superseded (judge: narrow / accept scoped contract) Review outcome for Finding 1 / #151:
Close reason: superseded by content already on
|
DrunkOnJava
added a commit
that referenced
this pull request
Aug 31, 2026
…-06) Splits the mixed strict/lossy `summarize()` into two intentional variants and deprecates the original. - summarize_strict() -> Result<Summary> (API-04): returns Err on ANY parse failure — BasicFileInfo, PartAtom (when present but malformed), class-name enumeration. Absence of an optional PartAtom is treated as success-with-None rather than error. - summarize_lossy() -> Result<Decoded<Summary>> (API-05): returns a Decoded wrapper that accumulates partial-parse issues into `diagnostics.failed_streams` instead of short-circuiting. Only propagates the error when BasicFileInfo itself is unreadable (without it there's no versioned identity to report). - summarize() (API-06): #[deprecated] — the old mixed behaviour (strict on BFI, lossy on PartAtom + class-names) becomes a compatibility shim that calls through to summarize_lossy() and drops the diagnostics. Callers migrated in the same commit: - src/bin/rvt_info.rs → summarize_lossy (CLI tolerates partial) - tests/samples.rs → summarize_strict (corpus samples must parse cleanly; partial data would mask regressions) 302 lib tests pass. No deprecation warnings remain in-tree. Also closes #159 — the external Diagnostics accumulator (API-02) now has a direct caller that populates it, not just the scaffolded path.
DrunkOnJava
added a commit
that referenced
this pull request
Aug 31, 2026
Wave 2 Worker A: complete narrowed Finding 1 contract on top of #162. - Synthetic checksum_page_framing suite (bare fails / gated strip passes) - Writer verify uses bare inflate (no false strip on strip-clean encoder) - Contract/probe docs from Wave 1 #159 + Wave 2 evidence - Formats/Latest remains ungated; Partitions/Global stay gated Credit @STE1200. Refs #151 / Discussion #112.
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
Wave 1 Worker C investigation for Discussion #112 / issue #151 (credit @STE1200).
Probe/docs/tests only — does not wire page stripping into production inflate callers.
Partitions/*streams.Contents
examples/probe_checksum_page_evidence.rs— control vs strip evidence probetests/checksum_page_framing.rs— synthetic multi-page inject/strip/round-tripdocs/re/wave1-checksum-paged-framing-contract-2026-08-29.mdreports/security/DISC-112-wave1-worker-c-2026-08-29.mdTest plan
cargo test --release --test checksum_page_framing2024_Core_Interior.rvtPartitions/46 + Formats/Latestsrc/production inflate behavior changes in this PRNote
Low Risk
No production decode or writer behavior changes; only documentation, an example probe, and contract/regression tests.
Overview
Wave 1 investigation for Discussion #112 / issue #151: probe, docs, and tests only — production still uses bare inflate; nothing wires
strip_revit_page_checksumsintosrc/call sites.Adds
probe_checksum_page_evidenceto compare control (stored CFB + inflate) vs strip-then-inflate on real streams, with optional JSON and--all-pagedmode.checksum_page_framingtests inject synthetic 353-byte page trailers and pin round-trip behavior, path gating viaprepare_stream_for_inflate, and multi-member chunk recovery after strip.Documentation records independent reproduction that large
Partitions/*streams gain successful gzip members after strip (e.g. Core InteriorPartitions/46), whileFormats/Latest~48% schema loss is not reproduced on the redistributable corpus (structured schema counts stay flat). A Wave 2 framing contract draft maps current bare-inflate entry points and specifies strip-before-inflate rules, acceptance oracles, and writer/decode boundaries. Security reports get a 2026-08-29 addendum linking the new evidence.Reviewed by Cursor Bugbot for commit 838482d. Configure here.