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

@@ -20,8 +20,8 @@ The [Core And Integration API Roadmap](../core-integration-api.md) established
the core/integration boundary. The reassessment below distinguishes its completed
work from the remaining audit remediation.
The **45 original finding entries** reduce to **25 outstanding catalog entries
and nine resolved entries**. Repeated responsibility findings are
The **45 original finding entries** reduce to **24 outstanding catalog entries
and ten resolved entries**. Repeated responsibility findings are
merged. Regression gaps are attached to the defects they protect rather than
counted as additional runtime bugs. In particular, TEST-001, TEST-002, and
TEST-004 each cover several distinct defects; TEST-003's native-fixture oracle
@@ -65,8 +65,8 @@ Original P2/P3 ratings and relative refactoring priorities are retained for
context; they are not one universal severity scale. No audit establishes a P1
incident or a measured end-to-end production speedup.
CAT-001, CAT-002, CAT-007, CAT-011, CAT-012, CAT-013, CAT-015, CAT-016, and
CAT-034 are resolved;
CAT-001, CAT-002, CAT-004, CAT-007, CAT-011, CAT-012, CAT-013, CAT-015,
CAT-016, and CAT-034 are resolved;
the other entries remain outstanding. The original reports and their baseline
observations are historical.
"Refactoring" denotes a maintenance opportunity, not a confirmed runtime
@@ -136,6 +136,9 @@ unnecessary transient allocation, not a proven permanent leak.
**Assessment:** Source-established algorithmic opportunity; original P2.
**Status:** Resolved. Position intervals are validated, sorted, and coalesced
before only their union is visited, with literal source-order regression cases.
**Source:** [EFF-002](02-efficiency.md#eff-002--build-cited-text-from-coalesced-ranges-not-a-document-wide-bitmap).
`CitationResolver.CitedText` allocates document-sized buffers and scans every