diff --git a/.superpowers/sdd/2026-09-18-hybrid-delivery-note-ingestion/progress.md b/.superpowers/sdd/2026-09-18-hybrid-delivery-note-ingestion/progress.md index b65fe4c..2fb1438 100644 --- a/.superpowers/sdd/2026-09-18-hybrid-delivery-note-ingestion/progress.md +++ b/.superpowers/sdd/2026-09-18-hybrid-delivery-note-ingestion/progress.md @@ -166,3 +166,4 @@ Task 12: fix round 1/5 dispatched (7 findings plus regression coverage requested Task 12: fix round 1/5 complete (7 addressed; code commit 2914eef; focused tests/typecheck/migration self-test/diff check passed) Task 12: fix round 1/5 migration follow-up complete (code commit 310219d; configured dry-run now passes before new collections exist) Task 12: fix round 2/5 complete (code commit 11bc1a4; 2 findings addressed; focused tests/typecheck/diff check passed) +Task 12: fix round 3/5 complete (code commit eed128e; delivery-note audit identity bound; focused posting tests/typecheck/diff check passed) diff --git a/.superpowers/sdd/2026-09-18-hybrid-delivery-note-ingestion/task-12-report.md b/.superpowers/sdd/2026-09-18-hybrid-delivery-note-ingestion/task-12-report.md index ab24fe6..4a7c867 100644 --- a/.superpowers/sdd/2026-09-18-hybrid-delivery-note-ingestion/task-12-report.md +++ b/.superpowers/sdd/2026-09-18-hybrid-delivery-note-ingestion/task-12-report.md @@ -43,6 +43,14 @@ Production migration was not applied and `DN_STAGED_INGESTION_ENABLED` was not c - Follow-up code commit: `310219d09bc464f3e01bc9a5054e36c98c3714a7` keeps the additive migration dry-run valid before `dn_review_events` exists; `--self-test` and configured `--dry-run` both pass. - Production migration was not applied and `DN_STAGED_INGESTION_ENABLED` was not changed. +## Fix round 3 + +- Code commit: `eed128ebb3818b89b7828adc0d8e461518dfdca5` +- Audit identity now reads and validates `after.delivery_note` in addition to event key, batch, note, and action. A same-note event pointing to another delivery note is treated as a collision and remains pending. +- Added the mismatched-delivery-note regression test. +- Focused verification: 9 posting tests passed; `npm run typecheck` passed; `git diff --check` passed. +- Production migration was not applied and `DN_STAGED_INGESTION_ENABLED` was not changed. + ## Fix round 2 - Code commit: `11bc1a4b6bb9bebb7e145449346bc46a99c437cf`