Share the source index with validators

This commit is contained in:
2026-11-26 05:12:19 +00:00
parent 60e732bbe8
commit d66cfe3986
43 changed files with 191 additions and 68 deletions

View File

@@ -108,7 +108,11 @@ 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.
and scene fallback. Validators reuse it for source-reference checks, citation
resolution, and applicable invariants; standalone calls construct a local index
when none is supplied. `DocumentIndexForSource` and
`NewCitationResolverForSource` in [shared helpers](../../internal/modules/dnd/shared/)
provide those optional-index paths.
See [Module Internals](modules.md#preparing-operations) for its ownership boundary.
Typed chains retain separate structural, source, identity/domain, durable-schema,