Skip to content

TMS v2 — reference document ​

What TMS v2 is today, for talking about the whole system in one meeting. Every item says whether it is built (in code on main-v2-prototype at 3d70475a, 9 Nov 2026) or only designed (in the discovery workspace), so a design is never mistaken for working code.

New to v2, or about to write a spec? Start with the three business overview pages. The numbered files are reference: open the one the discussion needs.

fileread it forsize
overview.mdthe whole system on one screen: who takes part, one order's day, the records, who owns what, a spec checklist2 diagrams
foundations.mdthe eight rules every feature follows, what each guarantees and what a spec must state8 rules
v1-vs-v2.mdwhy rewrite, what stays, every change by area with its gain and trade-off, migration18 areas
01-feature-list.mdevery feature by module, status Built / Partly built / Designed / Cut154 features
02-system-overview.mdwhat the system does, component diagram, module map, build phases, where code and design disagree1 diagram
03-schema.mdevery collection: fields, types, enums, indexes, ER diagram, schema oddities28 collections
04-states-and-flows.mdlifecycle of DO, plan, task, stop, duty, COD, job; end-to-end sequences14 diagrams
05-conditions.mdbusiness rules as "when … the system must …", enforced or not, rules waiting on BigC158 rules
06-master-data.mdreference data: who creates it, who reads it, record counts, enum lists13 items
07-integrations-and-jobs.mdKafka topics, external APIs, schedules and jobs, log retention6 topics

Where things stand ​

groupbuilt / total featuresnote
Platform14 / 28jobs engine, logs, settings, files built; auth fixes are the next build
Intake / DO4 / 18Kafka intake works but uses v1 status names and overwrites any DO
Planning4 / 20optimise works inside the request; generate tasks is a stub
Master data5 / 17vehicle plate not unique; role is a fixed list
Admin / reporting3 / 11templates, export configs, field catalog only
Workforce1 / 19not started
Execution0 / 28not started; driver app v2 not started
COD0 / 13not started

Business rules: 47 enforced, 66 designed only, 28 where the code does something different, 17 still waiting on BigC.

Not in this document ​

  • Screens and UI: left out on purpose for now.
  • Why each choice was made: the decision log in the discovery workspace.
  • Diagrams are Mermaid; all 16 render cleanly with Mermaid 11.4.1 (checked 11 Nov 2026).