Fix overflow in chunk and reconciliation ranges
This commit is contained in:
@@ -153,6 +153,12 @@ comparators for unproven inputs; canonical fast paths retain their existing prem
|
||||
|
||||
## Stage 1 — Fix Accepted Range Arithmetic
|
||||
|
||||
**Completed.** Chunk planning uses overflow-safe capacity and remaining-length
|
||||
arithmetic; reconciliation bounds expansion by source distance. Regressions
|
||||
reproduced both failures before the fixes and cover maximum values, overlap,
|
||||
cited flags, and the material budget. The specified package tests pass. No
|
||||
follow-up remains for this stage.
|
||||
|
||||
**Coverage:** CAT-001/CAT-011. **Prerequisites:** none.
|
||||
|
||||
Inspect generic `chunk/units/chunker.go` and reconciliation `preparation.go` plus
|
||||
|
||||
Reference in New Issue
Block a user