citation-engine/wiki
tegwick 86d10e7e90
All checks were successful
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 9s
Promote DomRange and Structural selector types for non-PDF anchoring
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.
2026-07-09 09:18:42 +02:00
..
README.md Implement CENG-WP-0002: package distribution and publish readiness 2026-06-22 19:45:11 +02:00
SharedContracts.md Promote DomRange and Structural selector types for non-PDF anchoring 2026-07-09 09:18:42 +02:00

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

  1. Land the change in citation-evidence/wiki/SharedContracts.md (and any runtime types in citation-engine/src/shared/ if enums or shapes change).
  2. Copy/sync to citation-engine/wiki/SharedContracts.md.
  3. Run pnpm test in both repos.
  4. Bump @citation-evidence/engine version 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).