--- id: ESRC-WP-0004 type: workplan title: "Local citation recovery and external source discovery hooks" domain: infotech repo: evidence-source status: finished owner: codex topic_slug: citation_evidence_mvp created: "2026-07-08" updated: "2026-07-09" spec_refs: - INTENT.md - README.md - docs/ADR-0004-citation-recovery-boundary.md state_hub_workstream_id: "2ce8b799-d67c-4dbf-aac5-0ff1f0363d62" --- # ESRC-WP-0004 — Citation recovery and source discovery hooks `evidence-source`'s original intent includes recovering citations when a stored selector goes stale and discovering the external source a document was drawn from. This is the largest deferred strand and depends on the anchoring layer's selector model. ## Decisions (ADR-0004) - `evidence-source` owns re-ingest/re-fingerprint, local quote search, and a pluggable discovery hook registry (no network in core). - Stale selector detection and resolution order stay in `evidence-anchor`. ## Sketch ```task id: ESRC-WP-0004-T01 status: done priority: low state_hub_task_id: "e7ff29b9-f04f-44f5-a23a-b028fc20a80b" ``` Design the recovery boundary with the anchor layer: define what `evidence-source` owns vs. what stays in anchoring. ```task id: ESRC-WP-0004-T02 status: done priority: low state_hub_task_id: "88a512d1-70e0-4bfa-b6b0-c1e4e31abb97" ``` Prototype re-ingest/re-fingerprint recovery primitives and a discovery hook interface (no network coupling baked into the core).