unu Gate

Let AI safely operate real software systems.

Gateway uses a Next.js SSR console and a Cloudflare Worker API hot path. UNU sits below it as the operation protocol: AI changes must declare intent, pass route checks, and leave receipts.

Production shape

Traditional app code, UNU admission underneath.

Intent gate

AI proposes route + changed files before code is accepted

World model

Active points and candidates live under the UNU protocol ledger

Receipts

Every operation records actor, route, files, checks, and result

Drift loop

Hashes and checks demote stale truth back to candidate state

How AI is constrained

Code remains TypeScript. Authority lives in UNU receipts.

  1. AI writes a change intent row with a work route and changed files.
  2. The Gateway gate verifies the route allows those files.
  3. Next.js, Worker, database, and UNU tests run as ordinary production checks.
  4. A receipt records the operation for replay, drift, and future promotion data.