Repository navigation
Conversation
…6k hashes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LG44gYUGuwLMB2hw7HQGbM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LG44gYUGuwLMB2hw7HQGbM
…ob stop; fix test field Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LG44gYUGuwLMB2hw7HQGbM
… hashes); say what they prove Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LG44gYUGuwLMB2hw7HQGbM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LG44gYUGuwLMB2hw7HQGbM
This branch has not been deployed
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.
Follow-up to #739. The queue stores each file's first-16-KiB MD5 (
Hash16k) printed the way nzbget prints an MD5: the digest bytes last to first, in upper-case hex (renameanalyzer::print). #739 fixed par-rename withparrenamer::parse_printed_hash16k. Live PAR still read the queue's text in digest order, so no queue hash ever matched its par2 entry.Change
parchecker::live_hash16kread hex in digest order. It is removed. Every 16k hash hint that reaches live PAR now goes through one helper,parchecker::live_hint_hash16k, which isparrenamer::parse_printed_hash16k. That covers the queue's text (articledl, queuecoord, postproc, the namespace capture and recheck) and the hint built from a file's first article. Its users:parchecker.rs: first-article binding,resolve_live_source_id,streaming_session_source_lengthparchecker/live_namespace.rs:candidate,follow_rename, the bound-hash check inbindfirst_article_hash16know prints its hint the same way the queue does (renameanalyzer::print). Every hint is in one form, so the text comparisons in the namespace recheck also compare like with like.twin.rsparse_md5: digest-order MD5s in its own storedupefallbackhash16k_ofandhex_lower(desc.hash_16k): digest order on both sidesdirectrenamer::regular_name: printed text on both sidespostprocpar-rename: already fixed by Post-processing trusts live PAR's verified set: no second par verify, par2 index loaded once #739queue_hash16k).Tests
live_hint_hash16k_reads_printed_known_vectors: MD5("") printed is7E42F8EC980980E904B2008FD98C1DD4; lower case is accepted; the digest-order text does not parse to the digest; wrong lengths and non-hex input are refusedlive_hint_hash16k_round_trips_printed_and_first_article: 256 digests, plus first articles longer and shorter than 16 KiBlive_queue_printed_hash_binds_an_obfuscated_fileliveparrarobfuscatedandliveparrarobfuscatedslow. They use the production options with DirectRename=yes, and the RAR volumes are posted under random names with no extension. They check that live PAR repairs as the download ends, never stops on a source identity, and that post-processing trusts it (no par-check, nothing missing).live_obfuscated_article_uses_checked_hash_mapping_and_owned_ramlive_obfuscated_completed_source_reads_its_committed_pathlive_queue_printed_hash_binds_and_keeps_first_article_binding(the binding test under its earlier name)live_repair_refuses_a_target_whose_name_and_binding_disagreelive_repair_takes_an_obfuscated_target_and_certifies_it_through_par_renamedirectrenamer). The direct rename gives the files their par2 names using those same hashes, so live PAR then binds them by name. I tried three variants (par2 first, par2 last, a slow line) on main and on this head. They gave the same results and the same log lines. So the end-to-end effect on main is hidden by the direct rename, and the unit tests above are the control that fails on main.liveparrarobfuscatedonce fell back to a par-check with "a slice rebuilt ahead waits for its file to complete". That is the rebuilt-ahead certification, not hashes.Validation (GitHub Actions unavailable; farm gate on head 84b9090)
Linux x86_64:
These ran at load 30 to 46 on rustyget-x86-a. Their logs show live PAR deferred for lack of ParBuffer ("16 MB is available"), so a batch repair ran instead.
Linux arm64:
macOS (m5air): MAC_LINES
Review: G2G on 84b9090. That was a full clean-room review on 76513e5, then a delta-only re-review of its notes.
Deploy: DEPLOY_LINE
🤖 Generated with Claude Code
https://claude.ai/code/session_01LG44gYUGuwLMB2hw7HQGbM