Extract binder package from citation-evidence (EBIND-WP-0001)
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s

Extracts citation-evidence/src/binder/ into this repo as the standalone
@citation-evidence/evidence-binder package: headless binding service +
in-memory link repo, active-state machine, the SharedContracts §7
rect-registry contract (registry, change pumps, hooks, SVG overlay), and
the target-neutral reference FormRenderer.

- toolchain mirrors sibling extracted repos (pnpm/tsc/vitest/eslint);
  imports rewritten from @shared/@engine aliases to the engine's
  @citation-evidence/engine package specifiers
- dependency boundary (engine + anchor only; no source/work/umbrella)
  enforced via eslint no-restricted-imports
- docs: extraction inventory + contract deltas, ADR-0001 (reference UI
  kept as supported exports), refreshed README/SCOPE/INTENT, populated
  capabilities index
- typecheck + lint green, 37 tests passing

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
tegwick 2026-07-09 01:36:33 +02:00
parent 87d4eb3006
commit a10f080f12
36 changed files with 6643 additions and 170 deletions

View file

@ -454,15 +454,18 @@ This repository should be:
---
## MVP Coordination — Code Lives Upstream
## MVP Coordination — Code Now Extracted Here
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/binder/`.
During the umbrella-first MVP phase (decided 2026-05-24), the source code for
this subsystem lived in the umbrella repo at `citation-evidence/src/binder/`.
**As of EBIND-WP-0001 (2026-07-08) it has been extracted into this repository**
under `src/`, and this repo is now the canonical home of the binder
implementation. See `docs/extraction-inventory.md` for the extraction boundary
and resolved contract deltas, and `README.md` for the current package surface.
This INTENT.md documents the *intended* responsibilities and boundaries.
When the binding model and visual-guide rect-registry contract have stabilized
through actual MVP use, the corresponding code extracts into this repository.
This INTENT.md documents the *intended* responsibilities and boundaries; the
implemented surface may be narrower than the aspirational target catalogue above
(the MVP exercises `form-field` targets).
**Shared contracts** (EvidenceLink.status enum, EvidenceLink.relation enum,
EvidenceSet shape, rect registry contract, allowed dependency edges) are