fix(workplans): adopt ADR-007 derived identifiers for unregistered records
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

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
This commit is contained in:
codex 2026-08-25 20:10:10 +02:00
parent 0d921aa2ef
commit 24aad6ec6a
4 changed files with 40 additions and 11 deletions

View file

@ -14,7 +14,7 @@ spec_refs:
- docs/ADR-0001-extraction-boundary.md
- docs/ADR-0003-html-markdown-representation.md
- ../citation-engine/src/shared/document.ts
state_hub_workstream_id: "c0d28886-e02f-4df2-abb6-ebe179171c94"
state_hub_workstream_id: "12f0b386-0df1-50d9-8cf7-4829d5257382"
---
# ESRC-WP-0002 — HTML and Markdown source representations
@ -37,7 +37,7 @@ This workplan extends ingest to HTML and Markdown sources, producing the same
id: ESRC-WP-0002-T01
status: done
priority: medium
state_hub_task_id: "bf1d2a2f-41b4-44b5-b1d1-4f0eec5fbf59"
state_hub_task_id: "f875c025-2c08-56d7-bbde-60e0643a7b9c"
```
Define the HTML/MD representation contract with `citation-engine`; agree
`representationType` and any offset/page semantics for pageless formats.
@ -46,7 +46,7 @@ Define the HTML/MD representation contract with `citation-engine`; agree
id: ESRC-WP-0002-T02
status: done
priority: medium
state_hub_task_id: "66320911-a4b2-404f-b025-8b23dc0c9680"
state_hub_task_id: "e7936d67-188d-50f3-8dc8-684c9f03fb4a"
```
Implement `ingestHtml` / `ingestMarkdown` in `src/html/` and `src/markdown/`,
reusing `fingerprintBytes` and the canonical-text normalizer.
@ -55,7 +55,7 @@ reusing `fingerprintBytes` and the canonical-text normalizer.
id: ESRC-WP-0002-T03
status: done
priority: medium
state_hub_task_id: "266d168c-d93e-4387-9527-70aa0d5b2a6b"
state_hub_task_id: "18fcce8a-92f6-5e52-b613-ffa52f18bc71"
```
Add fixture-driven contract tests mirroring the PDF suite; decide fixture
ownership per ADR-0002.