MEGAINFRA-WEBAPP/docs/superpowers/specs
DEls c73a2aad6c docs(spec): correct the suppliers migration's expected merge count
19 -> ~16 was wrong. Ran the actual normalizeSupplierName() (trim +
whitespace-collapse + uppercase) against the three example pairs cited
as evidence: only the case-variant pair (Builders Warehouse) actually
collapses. The Ikhasi pair keeps a stray space after a hyphen that
differs between variants; the Global Precast pair differs by the
"(Pty) Ltd" suffix, not case or whitespace. Neither collapses under
exact-normalized matching.

This is not a defect -- it's the conservative-matching principle in
section 3 working as designed. The correct expectation against
production is 19 raw strings -> 18 groups, one merge. Both pairs that
don't collapse are exactly the kind of ambiguous case the spec already
says should stay separate for a human to resolve, not the kind that
should be forced together by loosening the normalizer.

Caught while grounding the implementation plan in real data, before
writing a single line of the plan itself.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 18:02:18 +02:00
..
2026-08-19-po-import-queue-redesign.md docs: add PO import queue spec/plan, ignore cooler.env, rewrite n8n ingest impl 2026-08-19 22:03:39 +02:00
2026-08-19-purchase-order-upload-design.md Spec: clarify PO upload dialog does not auto-close 2026-08-19 15:03:48 +02:00
2026-08-26-needs-review-modal-compact.png docs(specs): screenshot of compact needs-review modal with working PDF 2026-08-26 23:33:33 +02:00
2026-08-26-needs-review-modal-resize-and-pdf-viewer-design.md docs(specs): fix stale URL example, 'above' wording, and add recordId notes 2026-08-26 23:34:10 +02:00
2026-08-26-pdf-url-fix-and-modal-compact-design.md docs(specs): PDF URL fix + compact needs-review modal 2026-08-26 23:20:08 +02:00
2026-08-26-purchasing-ui-tweaks-design.md docs(specs): purchasing UI tweaks — shorter upload labels, unlinked-DN styling, view PO PDF, fulfillment bug 2026-08-26 23:56:34 +02:00
2026-08-27-po-supplier-edit-and-dn-collapse-design.md docs(spec): PO detail supplier edit + DN items collapse 2026-08-27 00:49:42 +02:00
2026-08-28-fuel-attention-dismissal-design.md docs(spec): fuel attention dismissal design 2026-08-28 12:19:59 +02:00
2026-08-28-plant-hours-weekly-log-design.md docs(plant-hours): weekly log import + exception report design 2026-08-28 12:20:58 +02:00
2026-08-28-site-overhead-monthly-and-oneoff-design.md docs(spec): clarify card subtitle covers monthly + one-off 2026-08-28 12:33:53 +02:00
2026-08-30-pwa-split-icon-design.md docs(spec): MEGA Ask vs MEGA OPS PWA split-install icon design 2026-08-30 22:11:02 +02:00
2026-08-31-vehicle-unit-type-toggle-ui-design.md docs(spec): vehicle unit_type inline-edit UI (fleet + plant) 2026-08-31 12:48:57 +02:00
2026-09-11-ingestion-restructure-design.md docs(spec): add PO fulfilment model — outstanding is computed, not stored 2026-09-11 10:09:12 +02:00
2026-09-11-sidebar-restructure-design.md docs(spec): sidebar restructure — grouped nav with landing pages 2026-09-11 16:37:59 +02:00
2026-09-11-suppliers-design.md docs(spec): correct the suppliers migration's expected merge count 2026-09-11 18:02:18 +02:00