Resolve citations using coalesced source ranges

This commit is contained in:
2026-11-26 01:32:35 +00:00
parent 97bcf8cae6
commit 4b03a439cb
4 changed files with 72 additions and 13 deletions

View File

@@ -235,6 +235,11 @@ concrete containers. No shared-array ban, JSON round trip, or option-copier merg
## Stage 5 — Resolve Sparse Citations From Coalesced Intervals
**Completed.** Citation resolution validates in input order, sorts and coalesces
position intervals, and visits only selected units. Literal tests cover sparse,
overlapping, disjoint, invalid, non-monotonic, and empty-text cases. The specified
shared and validator tests pass; no performance timing claim or follow-up remains.
**Coverage:** CAT-004. **Prerequisites:** none.
Rewrite `dnd/shared/citations.go` as selected. Validate refs in input order before