Repository navigation
docs(audits): zsync golden-byte stability audit (#2086) - #3683
Merged
Merged
Conversation
Pin the wire-boundary invariants for the four planned zsync-inspired matching optimizations (bithash, seq-match, prune, compact-keys), inventory existing golden tests on the match/delta path, and flag the one gap (no wire-byte pin for duplicate-basis-block COPY-token sequences) that #2069 must close before landing.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Pin the wire-boundary invariants for the four planned zsync-inspired matching optimizations (bithash, seq-match, prune, compact-keys), inventory existing golden tests on the match/delta path, and flag the one gap (no wire-byte pin for duplicate-basis-block COPY-token sequences) that #2069 must close before landing.
4 tasks done
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Pin the wire-boundary invariants for the four planned zsync-inspired matching optimizations (bithash, seq-match, prune, compact-keys), inventory existing golden tests on the match/delta path, and flag the one gap (no wire-byte pin for duplicate-basis-block COPY-token sequences) that #2069 must close before landing.
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
docs/audits/zsync-golden-byte-stability.md, a 620-line evidence-based audit verifying the four planned zsync-inspired matching optimizations (bithash, seq-match, prune, compact-keys) cannot perturb wire-emitted bytes.crates/protocol/tests/golden_protocol_v28_mplex_delta_stats.rs,golden_protocol_v29_wire.rs::golden_v29_sum_head_md4, the codec goldens) and the structural correctness suites incrates/match/andcrates/engine/.[A,A,A]basis withAAsource.MatchIndexlookup ->DeltaToken::Copy->script_to_wire_delta->write_token_streamend-to-end with line citations.Test plan
docs/audits/).crates/,tests/,Cargo.toml,Cargo.lock,tools/, or workflow changes.docs/audits/style (verified againstfuzzy-basis-search.md,zstd-batch-compatibility.md,known-failures-eliminate.md).path/to/file.rs:LINEformat.