Repository navigation
fix(#151): narrow checksum-page strip gate (exclude Formats/Latest) - #161
Merged
Merged
Conversation
Wave 2 Worker A under judge verdict *narrow*. Strip 353-byte page trailers only on Partitions/* and listed Global/* via inflate_stream_* wrappers; keep raw inflate_at path-agnostic. Formats/Latest stays ungated (class_names regression). Writer verify uses bare inflate (strip-clean encoder output). Synthetic multipage fixtures + Wave 1 contract/probe docs. Credit @STE1200. Co-authored-by: DrunkOnJava <[email protected]>
Keep Wave 2 Worker A incremental work (checksum_page_framing suite, writer bare-inflate verify, contract docs) on top of the #162 Formats exclusion already on main. Co-authored-by: DrunkOnJava <[email protected]>
This was referenced Aug 29, 2026
cursor Bot
pushed a commit
that referenced
this pull request
Aug 29, 2026
Unblock CI fmt gate inherited from #161 framing tests. Co-authored-by: DrunkOnJava <[email protected]>
7 tasks
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 2 Worker A under the Wave 1 judge verdict narrow (#151 comment / Discussion #112).
Credit: @STE1200 — reporter. Distinguishes reported vs independently reproduced.
PR #160 wired production strip too broadly (including
Formats/Latest). This PR narrows the gate per judge + evidence:Contract
inflate_at.inflate_at(strip-clean encoder; no paged encoder yet).class_names9579→8575 regression).Gated call sites
Partitions/*viainflate_all_chunks_for_streamGlobal/*viainflate_stream_*Formats/Latestviainflate_stream_*inflate_at/inflate_all_chunkswriter::decompress_streamTests
cargo test --release --lib compression::tests(21 ok)cargo test --release --test checksum_page_framing(11 ok)cargo test --release --lib(848 ok)Refs #151 · Discussion #112 · supersedes broad Formats strip from #160.
Note
Medium Risk
Changes core decompression behavior for large partition/Global streams and Formats decode policy; incorrect gating could cause silent drift or schema/class-name regressions, though coverage is heavy on synthetics and writer verify paths.
Overview
Wave 2 narrows issue #151 checksum-page stripping after a broad #160 gate: production strip now applies only to
Partitions/*and listedGlobal/*DB streams viais_checksum_paged_stream, whileFormats/Latestis excluded because naive strip regressesclass_nameson redistributable corpora without reproducing the reported ~48% schema loss.is_revit_paged_loader_candidatekeeps reviter-aligned paths (including Formats) for probes; rawinflate_at/inflate_all_chunksstill never strip. Writer patch verification switchesdecompress_streamback to bareinflate_atso strip-clean truncated-gzip output ≥65 249 bytes is not false-stripped (WRT-13).Adds
tests/checksum_page_framing, retargets compression unit tests from Formats to Partitions, writer regressions (empty-patch byte identity, large Formats patch), aprobe_checksum_page_evidenceexample, and Wave 2 contract / evidence / writer-audit docs plus updated security reproduction notes and capability matrix wording.Reviewed by Cursor Bugbot for commit b9e6b6a. Configure here.