From bf00cc0bcd719fd22bd937fdd0768fc41649b575 Mon Sep 17 00:00:00 2001 From: DEls Date: Sat, 19 Sep 2026 18:12:40 +0200 Subject: [PATCH] docs: report queue date fallback fix --- .../task-10-report.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.superpowers/sdd/2026-09-18-hybrid-delivery-note-ingestion/task-10-report.md b/.superpowers/sdd/2026-09-18-hybrid-delivery-note-ingestion/task-10-report.md index 108093f..3ae51ba 100644 --- a/.superpowers/sdd/2026-09-18-hybrid-delivery-note-ingestion/task-10-report.md +++ b/.superpowers/sdd/2026-09-18-hybrid-delivery-note-ingestion/task-10-report.md @@ -1,12 +1,12 @@ # Task 10 report -Implementation commit: `c094aa0140dfd851bbfa2ddf3dec24a47c230e29` +Implementation commit: `e2bb799c5243d2a2b366017ac3a8503e0e050a36` -Fix round: staged candidate `doc_number`/`doc_type` are authoritative for unposted candidates; legacy delivery-note document fields are used only for posted candidates. Unknown-supplier grouping keys only on a resolved supplier relation/id while retaining OCR supplier text as evidence. Supplier candidate counts and delivery inputs are precomputed in maps, with the scoped queue using `getFullList` intentionally to avoid silent truncation. +Fix round: staged candidate `doc_number`/`doc_type` are authoritative for unposted candidates; legacy delivery-note document fields are used only for posted candidates. Unknown-supplier grouping keys only on a resolved supplier relation/id while retaining OCR supplier text as evidence. Supplier candidate counts and delivery inputs are precomputed in maps, with the scoped queue using `getFullList` intentionally to avoid silent truncation. Unposted candidates now fall back from staged date to posted/legacy date and then batch upload date when needed. Verification: -- `npm test -- --run src/lib/supplier-ledger.test.ts src/app/dashboard/financial/delivery-notes/work-queue/work-queue.test.ts` — 18 passed +- `npm test -- --run src/app/dashboard/financial/delivery-notes/work-queue/work-queue.test.ts` — 7 passed - `npm run typecheck` — passed - `git diff --check` — passed