inspect: clarify model component boundary matching

main

Commit

dipree2mo ago

Make modelComponentsMatch compute the following-component index explicitly so the last-component boundary case is obvious and in-bounds by construction. Clarify that follow == len(long)-1 is intentionally allowed because the span is still not a suffix and the last component can provide the numeric version/date boundary.

Add a direct helper regression for the largest valid offset, suffix rejection, and non-numeric last-boundary rejection.

Entire-Checkpoint: 9e3910ab2382

Checkpoints

Checkout the hand off doc that I just added.

PiOpus 4.8
View session
Checkpoint 1