MagWorksManaged Intelligence

Layer 3 — the product

In plain language

The product is where the platform meets people: the workshop where Matter & Gas designs and builds Solutions (Studio), the thing a client buys (a Solution), the dashboard and API through which they reach it, and the governed machinery that changes any of it. It is one deployed AWS application — Next.js on the front, forty-eight purpose-built Lambda functions behind it, composed from the substrate and composition packages below.

What it owns

  • Studio — the operator surface for authoring, testing, publishing and operating Capabilities.
  • Solutions — the sole commercial object: a named binding of one client to a set of Capabilities and their configuration.
  • The Governed Operation Kernel — how every production change happens: dry-run, attributed approval, execute, verify, ledger.
  • Per-tenant knowledge — client corpora with fail-closed isolation, explicit grants, staged ingestion and provable erasure.
  • The Front Door — the public intake on matterandgas.com, itself a Solution running on the platform.
  • Our API — the published v1 HTTP contract for buffered and streamed runs, relationship memory and run evidence.
  • Tools — governed outward actions such as email, with review gates and allow-lists.
  • The resolver — the only code that knows both @mag/* and @magpie/*; it compiles a Capability into a workflow definition.
  • The customer dashboard — sign-in, entitlements, runs, subscription and team, per client tenant.

Pages

  1. Studio — how Solutions are made
  2. Solutions — what a client buys
  3. The Governed Operation Kernel
  4. Per-tenant knowledge
  5. The Front Door — a Solution in the wild
  6. Our API
  7. Tools and the outside world

By the numbers

  • 48 Lambda functions, each with its own least-privilege execution role.
  • 22 architecture decision records (ADR-0001 … ADR-0011, ADR-0025 … ADR-0042).
  • 622 unit-test files, roughly ten thousand test cases — including mirror suites that gate every substrate version upgrade.
  • 12 registered governed operations (see the kernel page).

Sources

  • matterandgas-com/amplify/functions/ — the function inventory.
  • matterandgas-com/docs/adr/ — the decision records.
  • matterandgas-com/tests/unit/ — the test suite.