The Logic Pipe — how AI output becomes something you can defend

Two protocols, one job.

CAGE sets the AI up — once. ARCH verifies its work — every step.
Together they form a Logic Pipe: structured reasoning in, defensible output out.

Most people do a rough version of CAGE without naming it, and skip ARCH entirely. That’s the asymmetry worth fixing, because setup errors are visible immediately while verification errors surface later, in production, attached to your name.

Why bother

The failure this prevents is specific. AI gives you output that reads as finished. You accept it because it reads as finished. That’s granting Epistemic Credit — trusting fluency instead of doing the work of knowing.

A Logic Pipe forces the reasoning into the open, where it can be checked before it becomes a decision you own.

CAGE — the setup

Letter The short version
C Context Everything the model needs and doesn’t have. Situational, institutional, and the actual domain facts.
A Align Make it play back its understanding and its plan. Approve before it runs.
G Goals The decision this serves — not the task, the decision.
E Examples What good looks like. Yours, ideally.

Full breakdown of CAGE →

ARCH — the verification

Letter The short version
A Action What this step actually does.
R Reasoning Why — stated before the output, not after.
C Contextual Check Is the context still there, and is it still being respected?
H Horizon What this produces, and what consumes it next.

Full breakdown of ARCH →

The part most people miss

C and H belong in the harness, not the model.

You don’t ask the model to police itself — a system that checks its own work is not a control. The Contextual Check and the Horizon hand-off are enforced by the scaffolding around the model: the deterministic code you wrote and own.

This is the 98/2 principle. The harness is the 98% you own. The model is the 2% you rent. It’s the whole reason agentic systems are governable at all — and the reason “the AI decided” has never been a defence.

Two things on top

The flywheel. Every ARCH-verified output is a candidate Example for tomorrow’s CAGE. Do this consistently and your context layer compounds — it becomes an asset rather than something you retype each session.

The coordinate system. Maturity (L0–L6) and autonomy (chat → agentic) are orthogonal axes, not one ladder. Which means the neat version is wrong in a useful way:

You CAGE-initialise your agents, and you ARCH-verify your chats.

The structure is universal. What’s triaged is how much human verification each node needs.


Bring your own: post a pipe that failed. What did CAGE miss, or which ARCH check would have caught it? Failures teach more here than successes.