chore(consistency): write back state-hub workplan/task IDs [auto]
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 3s

fix-consistency C-06/C-11 registered ESRC-WP-0002..0004 and the
ESRC-WP-0001 tasks; IDs written back into the workplan files.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
tegwick 2026-07-08 20:56:39 +02:00
parent 48741cec72
commit df6acad828
4 changed files with 18 additions and 0 deletions

View file

@ -66,6 +66,7 @@ T01 extraction boundary and import plan
id: ESRC-WP-0001-T01
status: done
priority: high
state_hub_task_id: "ec3eb16b-cbc1-4a12-af66-5e5b8b6a51ca"
```
Turn the current umbrella `src/source/` slice into an explicit extraction map.
@ -95,6 +96,7 @@ the extraction relies on copying `citation-engine` shared types locally.
id: ESRC-WP-0001-T02
status: done
priority: high
state_hub_task_id: "ddf957d8-51bb-4767-9399-f6a3966319fa"
```
Create the minimal standalone development surface for this repo.
@ -121,6 +123,7 @@ runtime host.
id: ESRC-WP-0001-T03
status: done
priority: high
state_hub_task_id: "8fa78d4c-8859-4e74-b5e6-245a1ea0f3cc"
```
Port the current headless PDF ingest pipeline from
@ -149,6 +152,7 @@ Acceptance: a consumer can pass PDF bytes to this repo and receive a valid
id: ESRC-WP-0001-T04
status: done
priority: high
state_hub_task_id: "c6d27e23-4eaa-4fc7-9d6c-30bab0e003ad"
```
The upstream source slice currently includes browser-facing helpers for local
@ -178,6 +182,7 @@ browser/session-only behavior after extraction.
id: ESRC-WP-0001-T05
status: done
priority: high
state_hub_task_id: "2724bf73-c93e-4f6e-8709-07b4f9d7df5e"
```
Re-establish the source repo's own verification surface.
@ -205,6 +210,7 @@ source-to-anchor round-trip remains an umbrella integration test.
id: ESRC-WP-0001-T06
status: done
priority: high
state_hub_task_id: "41bfbb26-e3d3-46f2-9bad-64e3e8eab334"
```
Finish the extraction by making the umbrella consume this repo instead of its
@ -229,6 +235,7 @@ package rather than the local `src/source/` copy for the PDF slice.
id: ESRC-WP-0001-T07
status: done
priority: medium
state_hub_task_id: "ca080b04-5c8a-46e4-be87-8592d448f20b"
```
Once the PDF extraction lands, make the repo describe its actual state.

View file

@ -13,6 +13,7 @@ spec_refs:
- README.md
- docs/ADR-0001-extraction-boundary.md
- ../citation-engine/src/shared/document.ts
state_hub_workstream_id: "c0d28886-e02f-4df2-abb6-ebe179171c94"
---
# ESRC-WP-0002 — HTML and Markdown source representations
@ -34,6 +35,7 @@ This workplan extends ingest to HTML and Markdown sources, producing the same
id: ESRC-WP-0002-T01
status: todo
priority: medium
state_hub_task_id: "bf1d2a2f-41b4-44b5-b1d1-4f0eec5fbf59"
```
Define the HTML/MD representation contract with `citation-engine`; agree
`representationType` and any offset/page semantics for pageless formats.
@ -42,6 +44,7 @@ Define the HTML/MD representation contract with `citation-engine`; agree
id: ESRC-WP-0002-T02
status: todo
priority: medium
state_hub_task_id: "66320911-a4b2-404f-b025-8b23dc0c9680"
```
Implement `ingestHtml` / `ingestMarkdown` in `src/html/` and `src/markdown/`,
reusing `fingerprintBytes` and the canonical-text normalizer.
@ -50,6 +53,7 @@ reusing `fingerprintBytes` and the canonical-text normalizer.
id: ESRC-WP-0002-T03
status: todo
priority: medium
state_hub_task_id: "266d168c-d93e-4387-9527-70aa0d5b2a6b"
```
Add fixture-driven contract tests mirroring the PDF suite; decide fixture
ownership per ADR-0002.

View file

@ -12,6 +12,7 @@ updated: "2026-07-08"
spec_refs:
- README.md
- src/pdf/ingest.ts
state_hub_workstream_id: "831267a1-fc93-4872-a25b-73793d9c5df4"
---
# ESRC-WP-0003 — Metadata enrichment
@ -27,6 +28,7 @@ it into the `Document` record without breaking the pure-over-bytes contract.
id: ESRC-WP-0003-T01
status: todo
priority: low
state_hub_task_id: "45eeef15-41a9-4abd-9436-ed77e2c6b3a4"
```
Enumerate available PDF metadata sources (info dict, XMP) via PDF.js and decide
precedence vs. caller-supplied options (caller wins).
@ -35,6 +37,7 @@ precedence vs. caller-supplied options (caller wins).
id: ESRC-WP-0003-T02
status: todo
priority: low
state_hub_task_id: "41ca090f-c709-420a-b7c5-8332e4e82bd1"
```
Implement extraction into a normalized metadata shape; keep it optional so
minimal-metadata PDFs still ingest cleanly.
@ -43,6 +46,7 @@ minimal-metadata PDFs still ingest cleanly.
id: ESRC-WP-0003-T03
status: todo
priority: low
state_hub_task_id: "0004881b-6577-4a62-a2ff-cbb5c4706b1b"
```
Contract tests over the fixture corpus asserting extracted vs. overridden
metadata precedence.

View file

@ -12,6 +12,7 @@ updated: "2026-07-08"
spec_refs:
- INTENT.md
- README.md
state_hub_workstream_id: "2ce8b799-d67c-4dbf-aac5-0ff1f0363d62"
---
# ESRC-WP-0004 — Citation recovery and source discovery hooks
@ -34,6 +35,7 @@ selector model.
id: ESRC-WP-0004-T01
status: todo
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.
@ -42,6 +44,7 @@ Design the recovery boundary with the anchor layer: define what
id: ESRC-WP-0004-T02
status: todo
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).