Tech Debt
shad0w edited this page 2026-06-22 23:40:08 +05:30

Page revisions

3 Commits

Author SHA1 Message Date
shad0w
106148f13f docs(tech-debt): TD-4 crewing vetting gates partial enforcement 2026-06-22 23:40:08 +05:30
2029ae7083 docs: PO cancellation + supersede (#53), inventory-reversal tech debt (#55)
- PO-Lifecycle: CANCELLED status + Cancellation & supersede section
- Roles: cancel_po (MANAGER + SUPERUSER)
- Purchase-Orders: cancelled POs exportable with CANCELLED watermark
- Data-Model: cancelledAt/cancellationReason/supersededById
- Tech-Debt: TD-3 inventory increments not reversed on cancel (#55)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 12:23:09 +05:30
c6bec19d85 docs: add Tech Debt register and Inventory-on-Approval deep-dive
- New "Inventory on Approval" page: intended design (add ordered items to the
  delivery site stock at approval), the NEXT_PUBLIC_INVENTORY_ENABLED flag
  (UI-only gate), and how it actually behaves in prod -- dormant, because POs
  carry no siteId under the vessel-only cost-centre model and the write is not
  flag-gated. Includes remediation options.
- New "Tech Debt" register (Engineering section): TD-1 inventory-on-approval
  dormant path; TD-2 migrations not coupled to the build (caused the paymentDate
  P2022 prod incident).
- Sidebar links both pages; Inventory and Catalogue corrects the approval line
  and cross-links the new pages.
2026-06-21 03:00:58 +05:30