From 24aad6ec6a6b0b5ac28efd2638f0c66d52f459f3 Mon Sep 17 00:00:00 2001 From: codex Date: Tue, 25 Aug 2026 20:10:10 +0200 Subject: [PATCH] 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 --- WORK-RECORDS.md | 29 +++++++++++++++++++ ...C-WP-0002-html-markdown-representations.md | 8 ++--- workplans/ESRC-WP-0003-metadata-enrichment.md | 8 ++--- workplans/ESRC-WP-0004-citation-recovery.md | 6 ++-- 4 files changed, 40 insertions(+), 11 deletions(-) create mode 100644 WORK-RECORDS.md diff --git a/WORK-RECORDS.md b/WORK-RECORDS.md new file mode 100644 index 0000000..5f5024d --- /dev/null +++ b/WORK-RECORDS.md @@ -0,0 +1,29 @@ +# Work Records — evidence-source + +> Generated by `statehub fix-consistency` (CUST-WP-0061-T04, work-record +> stage 3). Do not edit by hand — edit the source file/block listed for +> each record and re-run fix-consistency to refresh this index. Archived +> workplans are omitted; closed decisions/intakes/engagements stay listed +> so recently-resolved work is still visible. [auto] + +| Kind | ID | Status | Lane | Source | +| --- | --- | --- | --- | --- | +| workplan | ESRC-WP-0001 | finished | — | workplans/ESRC-WP-0001-bootstrap-standalone-source-repo.md | +| workplan | ESRC-WP-0002 | finished | — | workplans/ESRC-WP-0002-html-markdown-representations.md | +| workplan | ESRC-WP-0003 | finished | — | workplans/ESRC-WP-0003-metadata-enrichment.md | +| workplan | ESRC-WP-0004 | finished | — | workplans/ESRC-WP-0004-citation-recovery.md | +| task | ESRC-WP-0001-T01 | done | — | workplans/ESRC-WP-0001-bootstrap-standalone-source-repo.md | +| task | ESRC-WP-0001-T02 | done | — | workplans/ESRC-WP-0001-bootstrap-standalone-source-repo.md | +| task | ESRC-WP-0001-T03 | done | — | workplans/ESRC-WP-0001-bootstrap-standalone-source-repo.md | +| task | ESRC-WP-0001-T04 | done | — | workplans/ESRC-WP-0001-bootstrap-standalone-source-repo.md | +| task | ESRC-WP-0001-T05 | done | — | workplans/ESRC-WP-0001-bootstrap-standalone-source-repo.md | +| task | ESRC-WP-0001-T06 | done | — | workplans/ESRC-WP-0001-bootstrap-standalone-source-repo.md | +| task | ESRC-WP-0001-T07 | done | — | workplans/ESRC-WP-0001-bootstrap-standalone-source-repo.md | +| task | ESRC-WP-0002-T01 | done | — | workplans/ESRC-WP-0002-html-markdown-representations.md | +| task | ESRC-WP-0002-T02 | done | — | workplans/ESRC-WP-0002-html-markdown-representations.md | +| task | ESRC-WP-0002-T03 | done | — | workplans/ESRC-WP-0002-html-markdown-representations.md | +| task | ESRC-WP-0003-T01 | done | — | workplans/ESRC-WP-0003-metadata-enrichment.md | +| task | ESRC-WP-0003-T02 | done | — | workplans/ESRC-WP-0003-metadata-enrichment.md | +| task | ESRC-WP-0003-T03 | done | — | workplans/ESRC-WP-0003-metadata-enrichment.md | +| task | ESRC-WP-0004-T01 | done | — | workplans/ESRC-WP-0004-citation-recovery.md | +| task | ESRC-WP-0004-T02 | done | — | workplans/ESRC-WP-0004-citation-recovery.md | diff --git a/workplans/ESRC-WP-0002-html-markdown-representations.md b/workplans/ESRC-WP-0002-html-markdown-representations.md index cd7e2a2..3ac8593 100644 --- a/workplans/ESRC-WP-0002-html-markdown-representations.md +++ b/workplans/ESRC-WP-0002-html-markdown-representations.md @@ -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. \ No newline at end of file diff --git a/workplans/ESRC-WP-0003-metadata-enrichment.md b/workplans/ESRC-WP-0003-metadata-enrichment.md index 4232327..7b15619 100644 --- a/workplans/ESRC-WP-0003-metadata-enrichment.md +++ b/workplans/ESRC-WP-0003-metadata-enrichment.md @@ -13,7 +13,7 @@ spec_refs: - README.md - src/pdf/ingest.ts - src/pdf/metadata.ts -state_hub_workstream_id: "831267a1-fc93-4872-a25b-73793d9c5df4" +state_hub_workstream_id: "16444f5e-93f2-5a7f-a2f1-92284315d041" --- # ESRC-WP-0003 — Metadata enrichment @@ -29,7 +29,7 @@ it into the `Document` record without breaking the pure-over-bytes contract. id: ESRC-WP-0003-T01 status: done priority: low -state_hub_task_id: "45eeef15-41a9-4abd-9436-ed77e2c6b3a4" +state_hub_task_id: "01187f2c-f6fa-549e-91ad-a0acc46bcd36" ``` Enumerate available PDF metadata sources (info dict, XMP) via PDF.js and decide precedence vs. caller-supplied options (caller wins). @@ -38,7 +38,7 @@ precedence vs. caller-supplied options (caller wins). id: ESRC-WP-0003-T02 status: done priority: low -state_hub_task_id: "41ca090f-c709-420a-b7c5-8332e4e82bd1" +state_hub_task_id: "95176499-3ae7-586d-bce4-a96c075632ab" ``` Implement extraction into a normalized metadata shape; keep it optional so minimal-metadata PDFs still ingest cleanly. @@ -47,7 +47,7 @@ minimal-metadata PDFs still ingest cleanly. id: ESRC-WP-0003-T03 status: done priority: low -state_hub_task_id: "0004881b-6577-4a62-a2ff-cbb5c4706b1b" +state_hub_task_id: "83fa3027-61f7-5bb9-95ce-ffbe58c90ebd" ``` Contract tests over the fixture corpus asserting extracted vs. overridden metadata precedence. \ No newline at end of file diff --git a/workplans/ESRC-WP-0004-citation-recovery.md b/workplans/ESRC-WP-0004-citation-recovery.md index f324872..c872085 100644 --- a/workplans/ESRC-WP-0004-citation-recovery.md +++ b/workplans/ESRC-WP-0004-citation-recovery.md @@ -13,7 +13,7 @@ spec_refs: - INTENT.md - README.md - docs/ADR-0004-citation-recovery-boundary.md -state_hub_workstream_id: "2ce8b799-d67c-4dbf-aac5-0ff1f0363d62" +state_hub_workstream_id: "78db778e-5911-5ed7-be29-c4716fd7929d" --- # ESRC-WP-0004 — Citation recovery and source discovery hooks @@ -35,7 +35,7 @@ selector model. id: ESRC-WP-0004-T01 status: done priority: low -state_hub_task_id: "e7ff29b9-f04f-44f5-a23a-b028fc20a80b" +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. @@ -44,7 +44,7 @@ Design the recovery boundary with the anchor layer: define what id: ESRC-WP-0004-T02 status: done priority: low -state_hub_task_id: "88a512d1-70e0-4bfa-b6b0-c1e4e31abb97" +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). \ No newline at end of file