Engineering

A real engine under the AI

AI can only give genuine insight if the project data is trustworthy, so the trustworthy part was built first. Project Intelligence, the AI engine that reads your documents and meeting notes against the plan, the risks and the action items, only reasons as well as the foundation underneath it: the plan computed correctly, access enforced correctly, and every change on the record. Scheduling is unglamorous and easy to get subtly wrong, which is exactly why so few tools do it. A few of the decisions underneath ProjectMetrix.

The scheduling engine started as an open-source engine, if you would rather read code than prose. The product's engine was ported from it and proven identical, then hardened: today it is pinned by more than a thousand tests and by 222 test cases written independently by OpenAI, whose expected results are never edited to match the code.

The engine owns every date

Clients write inputs: durations, dependencies, constraints, calendars. Every computed field is written only by the scheduling engine, which is pure and deterministic: same plan in, same dates out, byte for byte. That's what makes what-if simulation trivial and testing honest.

What-if is free, by design

The engine has no database access and no clock. Simulating a change is copying the plan, applying the change and running it again, with no special code path and nothing written. That is why every agent proposal can show its consequences before a human approves it.

Fast enough to feel instant

A full recompute of a 1,000-plus task network runs in milliseconds. The first implementation was two orders of magnitude slower; profiling pointed at calendar arithmetic, and memoizing the working-day map fixed it. Measured, not assumed.

Access control at the database row

One account per customer, deployed to its own instance, with access inside it enforced by the database itself through row-level security, not by remembering to add a filter in application code. Work you aren't granted returns nothing on read and is rejected on write, including confidential projects kept out of inherited access, verified by tests that deliberately try.

Every change is on the record

An append-only audit log captures who changed what, when, and what it looked like before, including which AI assistant proposed it and which human approved. It's the compliance story and the training corpus at the same time.

Enterprise identity, day one

Single sign-on via OIDC, with people looked up live in the directory a company already runs, so nothing is copied into the app and nothing goes stale. Signing in never grants access by itself, and people who should be nameable (sponsors, vendors, SMEs) don't need accounts.

One API, no divergence

One API serves the interface and the assistant. When the assistant changes a plan, it runs the same edit code as the plan grid, so a change made in chat and the same change made in the grid produce the same plan, and tests prove it.

Upgrades that can't corrupt data

Every schema change is a numbered migration that is never edited once shipped. It is checked by database tests on every push, rehearsed on a restored copy of production, and applied in a single transaction, so an upgrade either completes or changes nothing.

Deployable where the customer needs it

One deployment per customer, configured entirely from the environment, with document storage as a setting (a local folder or an S3 bucket), so running inside a customer's own environment is a deployment choice rather than a rewrite.

How the pieces fit together

The browser draws; the API authorizes, persists and audits; the engine computes. Nothing else is allowed to produce a date, which is what makes every number on screen explainable and reproducible.

Front end

The plan grid and Gantt render what they are told and capture edits. They perform no date arithmetic. A dragged bar reports where it was dropped and waits to be told what the plan now looks like.

API service

Authentication, tenancy, validation, transactions and the audit trail. It applies the edit, loads the plan, calls the engine, and saves the results and the audit entry in a single transaction, so the stored dates always follow from the stored inputs.

Scheduling engine

A pure module with no database, no clock and no network. Plan in; dates, float, critical path and a list of conflicts out. A bad plan is always reported, never thrown away.

Data platform

PostgreSQL holds the declared inputs and the computed results, with access control enforced in the database. Computed values are a cache of the last run, always deletable, always reproducible.

Agents

The Project Control Agent acts only through a small set of validated tools, and every result is checked before it is kept. It writes findings and suggestions, never project data, so there is no back door into the plan: a person accepts or dismisses each one.

Background workers

Agent runs and the Jira sync run in background workers, separately from the request path, so a long run never slows anyone's page load, and a run that stalls is detected and released.

Questions about the architecture?

Happy to go deeper on any of it, the scheduling engine especially. The open-source engine is the shortest route to seeing how the determinism and the test approach actually work.

Get in touch Back to the product GitHub