Order Control Tower

Monitor orders, inventory, and shipments across suppliers, plants, logistics, and depots. A deterministic engine computes the facts; validated AI explains them; approved workflows resolve them — alert → explanation → action → resolution.

Phase 1 — Scaffold, schema, seed

Multi-tenant foundation in place. Sign in, create or select an organization, then open the dashboard to see your workspace's seeded data (and confirm another org sees none of it).

  • Next.js (App Router) + TypeScript strict, Clerk organizations = tenancy
  • Neon Postgres + Drizzle schema ported from db/schema.sql
  • Seed CLI: pnpm seed pack-01 --workspace <org id>
  • Workspace scoping enforced in code (withWorkspace) + architecture lint