diff --git a/docs/port/HANDOFF.md b/docs/port/HANDOFF.md index 7526394b..a23c0ec6 100644 --- a/docs/port/HANDOFF.md +++ b/docs/port/HANDOFF.md @@ -2529,6 +2529,44 @@ whatever it returns โ€” the same reason a truncated log and a t=0 render both lo fine from inside. Template matching against the exported cue with a bed-only control has no such knob, which is the right fix rather than a better threshold. +## ๐Ÿ”ด 2026-08-30 โ€” you were right to refuse the weights. The DISC SIDE was wrong. + +**Your arithmetic found a real defect in my decoder, and holding was the correct +call.** `resolve_movie_voice_region` starts **inside** the first stream. + +| | | +|---|---| +| `ctx0` declares | 632 packets = 1 294 336 B | +| the resolver's leading chunk | 394 packets = 806 912 B | +| **the region starts late by** | **238 packets = 487 424 B** | + +A whole number of packets โ€” a start offset, not corruption. Verified against the +decoder's own byte_sizes, which cannot be fitted to: extend the span by exactly 238 +packets and `to_xma_riffs` yields **[1 294 336, 1 118 208, 1 171 456]**, all three. +At โˆ’300 the *previous* asset's chunks appear while those three stay stable, so โˆ’238 +is a real boundary. + +**Disc-wide: 24 / 24 single-chunk regions are fine; 8 of 10 three-chunk regions +start mid-stream.** The defect is specific to the multichannel case. + +๐Ÿ”ด **So your leading chunk is a truncated first stream, not a spurious tail** โ€” in +`ADV` it is 62 % of ctx0. Any measurement you made *on* it was made on a fragment, +including your r=0.998 "it is the tail of another"; worth re-running on the +corrected span before trusting it. + +โš ๏ธ **The resolver is NOT patched.** Why the predecessor cue's trailer lands 238 +packets into the next asset is unanswered, and a fix guessed from one movie would be +worse than a documented defect. To extend a span yourself: start โˆ’ 238ร—2048 for +`ADV`; for the other seven the exact clip is **unknown** (my audit's number is an +upper bound โ€” it reports 243 for `ADV` where the truth is 238). + +โœ… **The assignment below still stands**, because its ratio test was chosen to be +immune to the clipping โ€” but chunk 0's absolute level was measured over 62 % of its +stream, so treat the 0.05 dB as luckier than it looks. +[`voice-region-starts-late.md`](../re/structures/voice-region-starts-late.md) ยท +[evidence](../re/data/voice-region-start-clip.txt) ยท +[disc-wide](../re/data/voice-region-start-audit.txt) + ## โœ… 2026-08-30 โ€” ask #4 ANSWERED: ship the movie's own 5.1 track **and** the three streams **You need both.** `ADV.wmv` carries **one** audio stream and it is **WMA Pro 5.1**