Extract engine from citation-evidence umbrella (CENG-WP-0001)

Bootstrap @citation-evidence/engine as a standalone TypeScript package
with shared types and engine services copied from the umbrella MVP.
All 89 tests pass with lint and typecheck clean.
This commit is contained in:
2026-06-22 18:02:05 +02:00
parent 62ba1d1140
commit 78085e1eb3
56 changed files with 7915 additions and 205 deletions

View File

@@ -318,15 +318,14 @@ This repository should be:
---
## MVP Coordination — Code Lives Upstream
## MVP Coordination — Extraction Complete
During the umbrella-first MVP phase (decided 2026-05-24), **the source code
for this subsystem does not live in this repository yet**. It lives in the
umbrella repo at `citation-evidence/src/engine/` and `citation-evidence/src/shared/`.
The umbrella-first MVP (CE-WP-0001..0008) stabilized the engine API. Code now
lives in this repository under `src/shared/` and `src/engine/`, extracted from
`citation-evidence` per `workplans/CENG-WP-0001-intent-placeholder.md`.
This INTENT.md documents the *intended* responsibilities and boundaries.
When the engine's interfaces have stabilized through actual MVP use, the
corresponding code extracts into this repository.
The umbrella repo still carries a copy during the transition to a workspace
dependency. This repository is the canonical home going forward.
**Shared contracts** (vocabulary, state enums, relation types, selector
taxonomy, event types, viewer adapter, canonical text normalization, allowed