Complete source index reuse across extractors
This commit is contained in:
@@ -107,6 +107,10 @@ or unresolvable citations remain detectable, not silently repaired.
|
||||
Campaign references and generated context can disambiguate or route work, never
|
||||
supply new source evidence.
|
||||
|
||||
Extraction borrows the run's whole-source index for source ordering, grounding,
|
||||
and scene fallback; standalone calls construct a local index when none is supplied.
|
||||
See [Module Internals](modules.md#preparing-operations) for its ownership boundary.
|
||||
|
||||
Typed chains retain separate structural, source, identity/domain, durable-schema,
|
||||
and advisory responsibilities; [Configuration](../config.md#production-validator-keys-and-default-chains)
|
||||
owns their order and replacement rules. Extraction containment requires the
|
||||
|
||||
@@ -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 **24 outstanding catalog entries
|
||||
and ten resolved entries**. Repeated responsibility findings are
|
||||
The **45 original finding entries** reduce to **23 outstanding catalog entries
|
||||
and eleven 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,7 +65,7 @@ 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-004, CAT-007, CAT-011, CAT-012, CAT-013, CAT-015,
|
||||
CAT-001, CAT-002, CAT-004, CAT-005, 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.
|
||||
@@ -152,6 +152,11 @@ dimension from each sparse lookup; it is not a measured overall runtime claim.
|
||||
|
||||
**Assessment:** Source-established algorithmic opportunity; original P2.
|
||||
|
||||
**Status:** Resolved. A run-owned index is shared by extraction and cache
|
||||
decoding; all ten D&D extraction paths use it, with local fallback for standalone
|
||||
calls. Tests cover run isolation, changed source layouts, cache reuse, and
|
||||
representative supplied-index extraction. No production speedup was measured.
|
||||
|
||||
**Source:** [EFF-001](02-efficiency.md#eff-001--reuse-the-full-source-position-index-across-extraction-jobs).
|
||||
|
||||
Ten D&D extractors build the same document-position map per applicable chunk
|
||||
|
||||
@@ -319,6 +319,15 @@ The optional index is not a new required caller argument.
|
||||
|
||||
## Stage 9 — Complete Extraction Index Reuse
|
||||
|
||||
**Completed.** Spells, combat turns, enemy events, and scene descriptions now
|
||||
borrow the run index, with local construction when omitted. Combat eligibility
|
||||
still returns before ordering construction. The six registry/occurrence paths
|
||||
use the same optional ordering constructor; location grounding shares its index,
|
||||
and scene reuse/fallback validates against the same whole-source index. Focused
|
||||
extractor and pipeline tests, pipeline/shared race tests, and full tests, vet,
|
||||
and build passed. Cross-run layout and cache checks are covered by the preceding
|
||||
framework tests. No production speedup was measured or follow-up deferred.
|
||||
|
||||
**Coverage:** CAT-005 completion. **Prerequisites:** Stages 6–8.
|
||||
|
||||
Migrate spells, combat turns, enemy events, and scene-description extractors.
|
||||
|
||||
Reference in New Issue
Block a user