MEGAINFRA-WEBAPP/docs/superpowers/plans
DEls f007b5e8fb feat(schema): require site on every ingested collection
Tightened site from optional to required on fuel_logs, timesheet_entries,
delivery_notes and purchase_orders now that every route writes it and
every historical row has been backfilled. plant_hours_log was already
required (matches docs/data-model.md's documented invariant, confirmed
against production). timesheets (the document collection) was already
required from Task 6 -- a no-op here, not a regression.

fuel_sheets.site and plant_hours_sheets.site deliberately stay optional:
those sheets can legitimately span multiple sites.

Verified: creating a fuel_logs row with no site now gets a hard 400
(validation_required) from PocketBase itself.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-11 15:32:48 +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 Plan: Purchase Order upload + n8n ingestion implementation 2026-08-19 02:16:22 +02:00
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 feat(schema): require site on every ingested collection 2026-09-11 15:32:48 +02:00