Define real DomRangeSelector, StructuralSelector, StructureMap, and containerPath fields so evidence-anchor can implement HTML/Markdown selector creation and resolution. Update SharedContracts.md with field shapes and DomSelectionCapture payload. |
||
|---|---|---|
| .. | ||
| README.md | ||
| SharedContracts.md | ||
Wiki — citation-engine
SharedContracts sync
SharedContracts.md in this directory is a conformance copy for tests
(e.g. evidence-link.test.ts enum parity checks). It is not authoritative.
Authoritative source: citation-evidence/wiki/SharedContracts.md
When contracts change
- Land the change in
citation-evidence/wiki/SharedContracts.md(and any runtime types incitation-engine/src/shared/if enums or shapes change). - Copy/sync to
citation-engine/wiki/SharedContracts.md. - Run
pnpm testin both repos. - Bump
@citation-evidence/engineversion if the change is breaking for consumers.
Test reference path
src/shared/evidence-link.test.ts reads wiki/SharedContracts.md relative
to src/shared/ (../../wiki/SharedContracts.md).