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
| Repo | Role |
|---|---|
| aurum-gate | Pattern 2 gates |
| quicksilver-judge | Raven pre-filter |
| gold-assay | Vibium assay |
| molten-cascade | You are here — Pattern 4 |
| karat-filter | Pattern 5 |
| liquid-gold | Index |
Scripts
npm test
npm run build
License
MIT © 2026 Ormus Solutions