aurum-gate

September 20, 2026 · View on GitHub

Confidence is the karat stamp. Probability opens the door — confidence decides if gold flows automatic, or a human holds the pour.

@ormus/aurum-gate is a tiny TypeScript router for confidence-gated actions — the Ormus take on Jev Pattern 2 (per-action floors, human escalations, refuse-below bands). Pair it with TypeSafe Jev / Vercel AI SDK style scoring; this package stays dependency-light and mock-friendly.

Inspired by the public TypeSafe and Vercel Jev pattern guides, and the spirit of Daniel Ch’s free master-Jev teaching: measure twice, act once, escalate when the metal is soft.

Install

npm i @ormus/aurum-gate
# peers: ai, @typesafe-ai/sdk (optional at runtime — wire your own scorer)

Quick pour

import { AurumGate } from '@ormus/aurum-gate';

const gate = new AurumGate({
  thresholds: {
    'refund.issue': { minProbability: 0.7, autoConfidence: 0.92, refuseBelow: 0.3 },
  },
});

gate.resolve({ actionId: 'refund.issue', probability: 0.88, confidence: 0.95 });
// → { decision: 'auto', ... }

Decisions: auto | escalate | refuse.

Liquid Gold siblings

RepoRole
aurum-gateYou are here — Pattern 2 confidence gates
quicksilver-judgeRaven Judge PR pre-filter
gold-assayVibium UI proof scorer
molten-cascadePattern 4 Jev→code→LLM
karat-filterPattern 5 retrieve-then-judge
liquid-goldIndex of the set

Scripts

npm test      # vitest, mocked — no live API
npm run build

License

MIT © 2026 Ormus Solutions