docs(delivery-notes): add the phase 2-3 inbox pipeline implementation plan
Seventeen tasks covering the batch collections, the pure segmentation and check modules, page rendering via poppler, per-page extraction, promotion, the orchestrator, the tick route, the Kanban board and the batch detail view with note correction. The design point: pages are read independently and grouped into notes by the delivery note numbers printed on them, so a note spanning three pages is one note and a page belonging to no note blocks the batch. segmentPages throws rather than return a segmentation that loses a page, and runBatch cannot reach "processed" unless notes_promoted equals notes_detected -- the check whose absence let two notes vanish from scan_20260915 while the pipeline reported success at 95% confidence. Task 16 step 7 is the regression test for exactly that: force a page read to fail and confirm the batch lands in needs_attention rather than processed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
be0d46bca8
commit
dd0ac47375
1 changed files with 3600 additions and 0 deletions
3600
docs/superpowers/plans/2026-09-17-delivery-note-inbox-pipeline.md
Normal file
3600
docs/superpowers/plans/2026-09-17-delivery-note-inbox-pipeline.md
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue