Manual · Engineering

Track B // Engineering

The engineering record

14 dated entries in build order: architecture, security and tenancy reviews, module designs, implementation plans, the delivery log, known gaps and the changelog.

Internal engineering material

This track is published for transparency and for the team. It contains security findings, tenancy and policy details, migration internals and unresolved gaps. Do not treat it as customer guidance — the manual is the authoritative source for how the product behaves.

  1. E-01

    System architecture & stack

    What the platform is built from today: frameworks, datastore, auth, storage, jobs, AI, testing and the design contract.

    Engineer8 min
  2. E-022026-07-21

    Inventory review fixes

    Design and plan for 21 issues found in an inventory subsystem audit: 5 critical, 3 type-safety, 3 performance, 6 medium, 4 low.

    Engineer6 min
  3. E-032026-07-30Historical

    Supabase → Neon migration

    Historical: moving the datastore from Supabase Postgres to Neon, Supabase Auth to a first-party auth stack, and Supabase Storage to Cloudflare R2.

    Engineer7 min
  4. E-042026-07-31Superseded

    WhatsApp hybrid gateway

    Superseded by the Telegram integration. A Meta Cloud API gateway in front of the in-app AI orchestration for executive lookups, reports, approvals and uploads.

    Engineer4 min
  5. E-052026-08-01

    Inventory security & tenancy review

    Tenant isolation, cache consistency, the role matrix and staged policy enforcement for the inventory module.

    Engineer5 min
  6. E-062026-08-01

    Telegram integration

    Replacing the WhatsApp gateway with a Telegram bot: chat-ID allowlist, secret-token webhook, approval parity with the web app, and media upload.

    Engineer7 min
  7. E-072026-08-06

    Operations & fleet security review

    Fourteen findings across trips, vehicles, drivers, advances, expenses and settlements, with fix designs F1–F7.

    Engineer6 min
  8. E-082026-08-11

    Port & warehouse modules

    The container-first model, four operation types, twelve new tables, the demurrage engine, document PDFs and the warehouse gate bridge.

    Engineer9 min
  9. E-092026-08-19

    Orders & invoices security review

    The procurement and sales order and invoice modules reviewed for cache-key leakage, cross-org references, deadlock-safe stock locking, status re-checks and transition rules.

    Engineer6 min
  10. E-102026-09-11

    Sidebar permissions & design unification

    One predicate for sidebar visibility and server route authorisation, plus a rebuilt sidebar rail on the design tokens.

    Engineer6 min
  11. E-112026-09-17

    Module gaps & fixes (current)

    The approved plan closing the operational gaps recorded in the manuals: fleet, cashbook, approvals, analytics and admin seat enforcement.

    Engineer7 min
  12. E-12

    Delivery log

    The per-task execution reports that record what each agent run actually changed, kept alongside the dated plans.

    Engineer5 min
  13. E-13

    Known gaps & roadmap

    Every limitation that survives the module-gaps plan, in one place, with the module it belongs to.

    Engineer · Administrator6 min
  14. E-14

    Changelog

    Every dated design and plan in the record, in order, with status.

    Engineer4 min