Platform runtime · zero deps · ontology-first

FabricFabricPlatform

An ontology-based, agent-native runtime for governed business applications. The platform owns the mechanics of mutation; verticals plug in their domain ontology.

The one-line invariant

Every mutation passes through one pipeline

UI click, AI agent call, signed-token request, scheduled worker — every domain mutation in a Fabric app travels the same path. There are no exceptions.

Actor
  → ActionInvocation
    → PolicyEvaluation
      → StateMachine
        → Handler / Saga
          → AdapterInvocation
            → AssetEvent
              → Projection

Call paths

Three ways in. No fourth path.

Every mutation reaches invokeAction through one of three paths — each with its own auth model, all with the same policy gate.

01

Authenticated session

A logged-in user. Permissions checked against the active session.

02

Verified external token

Signed magic-link or webhook. Token verified before invoke.

03

System / agent / scheduled

Internal worker, AI agent with credential scopes, or cron sweep.

What `@fabric/platform` is

Portable. Boundary-tested. Yours to bind.

  • Zero runtime dependencies.
  • No database client. No ORM.
  • No vertical vocabulary in the core.
  • Every contract parameterised by TDb so you bind your own persistence client.
  • A boundary test keeps the platform clean: vertical names, Prisma, and concrete database imports fail CI if they leak in.