MEGAINFRA-WEBAPP/docs/superpowers/plans
DEls b1ce964f39 docs(delivery-notes): add the inbox corrections implementation plan
Twelve tasks against the nine defects the first production run exposed.

Task 6 is the core: a three-outcome PO item matcher (matched / ambiguous /
none) with a dimension gate, where the set of integers >= 100 must match
exactly. Two naive relaxations tested during design both produced wrong
matches -- U PIPES-600 resolving to S&S Pipes-1050, Kabelflex to uPVC Pipe
-- and a wrong match applies the wrong rate to money. The task ships a
regression test asserting no known input returns a wrong match, and the
plan tells the implementer not to move the thresholds without extending
that table first.

Task 7 adds the alias table, keyed on material_code so a human decision
carries onto the next purchase order. That is what makes wording like
"Kabelflex Pipe & Coupling" -> "160mm Sleeves Black" tractable at all.

Task 11 deliberately narrows the original page-accounting guarantee: a
stray page becomes a dismissable open question instead of failing the
batch, because batch 5qzcv6tvgb6cqks promoted 3 of 3 notes correctly and
still read as a failure over a tax invoice cover sheet. The guarantee that
every detected note must promote is unchanged.

Task 12 re-runs all 34 batches and audits every ledger link, so a matcher
regression cannot land silently.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17 20:49:49 +02:00
..
2026-08-19-po-import-queue-implementation.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.md
2026-08-26-needs-review-modal-resize-and-pdf-viewer.md docs(plans): needs-review modal resize + inline PDF viewer 2026-08-26 23:00:10 +02:00
2026-08-26-pdf-url-fix-and-modal-compact.md docs(plans): PDF URL fix + modal compact 2026-08-26 23:21:26 +02:00
2026-08-26-purchasing-ui-tweaks.md docs(plans): purchasing UI tweaks — 4 small tasks with TDD-friendly bite-sized steps 2026-08-26 23:58:30 +02:00
2026-08-27-po-supplier-edit-and-dn-collapse.md docs(plan): PO supplier edit + DN collapse implementation 2026-08-27 00:50:44 +02:00
2026-08-28-fuel-attention-dismissal.md docs(plan): fuel attention dismissal implementation plan 2026-08-28 12:24:14 +02:00
2026-08-28-plant-hours-weekly-log.md docs(plan): plant hours weekly log implementation plan 2026-08-28 12:26:35 +02:00
2026-08-28-site-overhead-monthly-and-oneoff.md docs(plan): fix byDateDesc to return 0 on equal dates 2026-08-28 12:54:02 +02:00
2026-08-29-agent-tool-layer-mcp.md docs(plan): agent tool layer + read-only MCP server (phase 2B) 2026-08-29 20:13:39 +02:00
2026-08-29-chat-detail-tools-upload-pwa.md docs(plan): chat detail tools, PO upload and standalone PWA 2026-08-30 08:27:49 +02:00
2026-08-29-chat-ui-phase3.md docs(plan): chat UI + provider abstraction (phase 3) 2026-08-29 20:33:03 +02:00
2026-08-29-fuel-attention-extraction.md docs(plan): fuel attention extraction plan (phase 2A) 2026-08-29 20:04:51 +02:00
2026-08-29-metrics-extraction.md fix(vehicles): handle empty unit_type during updates 2026-08-29 19:17:14 +02:00
2026-08-30-agent-coverage-vision-pdf.md docs(plan): agent coverage gaps, vision and PDF export 2026-08-30 12:27:38 +02:00
2026-08-30-pwa-split-icon.md docs(plan): MEGA Ask vs MEGA OPS PWA split-install icon plan 2026-08-30 22:12:30 +02:00
2026-08-31-vehicle-unit-type-toggle-ui.md docs(plan): implement vehicle unit_type inline-edit UI on Fleet + Plant 2026-08-31 12:57:18 +02:00
2026-09-11-ingestion-restructure.md chore: untrack compiled Python bytecode, fix missed Task 17 checkboxes 2026-09-11 16:18:06 +02:00
2026-09-11-project-month-week.md docs(project-calendar): add the project month/week plan; fix a stale doc reference 2026-09-11 22:35:41 +02:00
2026-09-11-site-scope.md docs(site-scope): correct stale line refs, record tasks 1-5 as done 2026-09-11 23:05:10 +02:00
2026-09-11-suppliers.md docs(plan): suppliers implementation plan 2026-09-11 18:08:30 +02:00
2026-09-11-workers-timesheets-qr.md chore(assets): update application icons and logo with new designs 2026-09-11 20:54:44 +02:00
2026-09-12-mega-clock-timeclock-pwa.md docs(clock): add implementation plan for MEGA Clock timeclock PWA 2026-09-12 00:30:54 +02:00
2026-09-17-delivery-note-inbox-pipeline.md docs(delivery-notes): add the phase 2-3 inbox pipeline implementation plan 2026-09-17 12:51:03 +02:00
2026-09-17-delivery-note-unit-correctness.md docs(delivery-notes): add the phase 1 unit correctness implementation plan 2026-09-17 11:51:21 +02:00
2026-09-17-dn-inbox-corrections.md docs(delivery-notes): add the inbox corrections implementation plan 2026-09-17 20:49:49 +02:00