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> |
||
|---|---|---|
| .. | ||
| n8n | ||
| setup | ||
| superpowers | ||
| api-reference.md | ||
| architecture.md | ||
| cooler-env.template | ||
| data-flows.md | ||
| data-model.md | ||
| minimax-multi-site-audit-prompt.md | ||
| modules.md | ||
| multi-site-assessment.md | ||
| operations.md | ||
| pwa-install-verification.md | ||