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

@ -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.