evidence-source/workplans/ESRC-WP-0004-citation-recovery.md
codex 24aad6ec6a
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
fix(workplans): adopt ADR-007 derived identifiers for unregistered records
These workplans exist only in the retired local hub. Their random pre-ADR-007
identifiers are refused by C-06 as stale references, so they cannot be
registered. Deriving from the canonical record id takes no identity from
anything: central does not hold them and the old ids die with the cache.

Records central already holds were deliberately left untouched.

Refs CUST-WP-0068-T06

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
2026-08-25 20:10:10 +02:00

50 lines
No EOL
1.4 KiB
Markdown

---
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: "78db778e-5911-5ed7-be29-c4716fd7929d"
---
# 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: "f4021f19-a899-5888-b8a9-60f4b347ccee"
```
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: "689239d5-a065-5e16-8672-5dd4bb7f3dbe"
```
Prototype re-ingest/re-fingerprint recovery primitives and a discovery hook
interface (no network coupling baked into the core).