Developer preview — docs versioned from day one.
Architecture & Specification Reference · v1

Governed missions,
specified end-to-end.

MasterEngine is a governed business-mission execution platform. This reference traces the eight-stage execution chain, inspects the v1-draft mission-spec schema, and reviews six worked specimen specs — each labelled for exactly what it is.

SPEC FORMAT v1 — DRAFT · DOCS v1.1 · REVISED 2026-11-09

§1 · The execution chain

Every mission walks the same eight stages

This chain is the platform's core guarantee. Skipping a stage isn't possible — a mission that can't clear authorization never reaches execution, and a mission with no evidence never counts as done.

Fig. 1 — The eight-stage execution chain1Contractthe promise2Tenantboundaryone tenant3Verifiedidentitywho runs it4Authorizationthe decision5GovernedActionbounded6Durableworkflowdurable7Executionthe work8Evidencethe record
Fig. 1 — The eight-stage execution chain. Stage 4, authorization, is the decision point: the diamond.
  1. Contracts

    The mission declares its goal, success criteria, and bounds on value, cost, and risk.

  2. Tenant boundary

    The mission is pinned to one tenant. PostgreSQL forced row-level security enforces isolation across organization, workspace, and environment.

  3. Verified identity

    The mission executes as an authenticated, verified identity — the basis for everything authorization can grant.

  4. Deterministic policy and authorization

    A policy engine — not a model — decides what is allowed. Same inputs always produce the same verdict.

  5. Governed Action transaction

    Each authorized action executes as a transaction: atomic, audited, and bounded by the contract.

  6. Durable workflow

    Workflows run on Temporal: they survive restarts, retries are explicit, and long-running missions can't silently die.

  7. Connector or model execution

    Connectors reach external systems; models do the cognitive work. Both operate strictly inside what policy authorized.

  8. Evidence and outcome

    Every step is recorded on the evidence timeline, comparing expected vs. actual value, cost, and risk.

Design principle

Models are kept out of the authorization path. They propose, they execute, they summarize — but the decision to allow an action is made by deterministic policy. That separation is what makes a mission governed instead of merely automated.

§2 · System walkthrough

A governed mission, traced in five minutes

A conceptual walkthrough of the MasterEngine execution chain. No SDK is required for this walkthrough — it maps the exact stages every mission passes through, and the data each stage inspects and emits.

1

Minute 1 — The contract

The mission declares what it must achieve and what success looks like, up front. The contract is the mission's promise: scope, expected value, acceptable cost, and risk bounds. Everything downstream is measured against it.

2

Minute 2 — The tenant boundary

The mission is bound to exactly one tenant. Tenant isolation is enforced by PostgreSQL forced row-level security, so data cannot leak across organizations, workspaces, or environments.

3

Minute 3 — The verified identity

Every mission executes as a verified identity — never as an anonymous agent. Identity determines which authorizations can even be requested.

4

Minute 4 — Deterministic authorization

A deterministic policy engine decides what the mission is allowed to do. Models propose actions; models never decide authorizations. The policy decision is reproducible: same inputs, same verdict, every time.

5

Minute 5 — Execution and evidence

Authorized actions run as governed Action transactions inside a durable workflow (Temporal). Connectors or models perform the work, and every step lands on the evidence timeline — expected vs. actual value, cost, and risk.

§

The trace, complete

Contract → tenant boundary → verified identity → deterministic authorization → governed execution → evidence. The full record is in the execution-chain docs; worked specimens are in the recipe library.

§3 · Routes through this reference

Three ways into the record

§1–§3

Docs

The execution chain in depth, the platform architecture principles, and the v1 mission-spec format (draft).

Read the docs →

App. A

Recipes

Worked specimen mission specs for common business missions — each stamped illustrative, none runnable.

Review the specimens →

Rev.

Changelog

The revision history of this reference, and the public roadmap for these docs and the platform.

Read the revisions →

Evaluating MasterEngine for a pilot? The product preview and intake live on the flagship — masterengine.ai. This reference carries no intake of its own.