molten-cascade

September 20, 2026 · View on GitHub

System One skims the slag. Code hammers what is sharp. Frontier fire only for the stubborn ore.

@ormus/molten-cascade implements Jev Pattern 4: a three-stage pour — Jev triage → deterministic code → LLM. Most tickets should never touch the expensive burner.

Paraphrased from the cascade ideas in public TypeSafe / Vercel Jev materials and the accessible master-Jev curriculum: escalate only when confidence and determinism both fail.

Install

npm i @ormus/molten-cascade

Quick pour

import { runCascade, mockJevTriage, mockCodeStage, mockLlmStage } from '@ormus/molten-cascade';

await runCascade(
  { id: '1', intent: 'normalize text', payload: { text: '  Hi ' } },
  { jev: mockJevTriage, code: mockCodeStage, llm: mockLlmStage },
);

Swap mocks for real Jev Nouls / AI SDK calls when you wire production.

Liquid Gold siblings

RepoRole
aurum-gatePattern 2 gates
quicksilver-judgeRaven pre-filter
gold-assayVibium assay
molten-cascadeYou are here — Pattern 4
karat-filterPattern 5
liquid-goldIndex

Scripts

npm test
npm run build

License

MIT © 2026 Ormus Solutions