interests /

AGENT GUARDRAILS AS CODE LIVE

the move from a policy pasted into the prompt to a runtime that checks — and proves — each tool call before it fires

7 entries · 2026-07-29 → 2026-11-21 · last entry 2d ago

POST 2026-07-29 [ x ]

The Policy File in Context Isn't Governing Your Agent

the opening problem: a policy living in the context window doesn't actually constrain what the agent does

The uncomfortable result in HANDBOOK.md is that the way most of us deploy agents — drop a system prompt, a policy file, or a skills document in context and trust it to govern every action — barely works. Across 65 tasks built from 20-to-124-page enterprise SOPs, the best of thirty model configurations passes only 36.2% of trials under strict grading. Most frontier setups sit below 25%.

read the post →

later →

POST 2026-09-01 [ x ]

The Guardrail That Runs Before the Tool Fires

the fix in shape: enforcement moves to a check that runs before each tool call, not a hope baked into the prompt

The interesting number in StepGuard isn’t the 77.3% cut in attack success rate. It’s the 2.8-point drop in utility that bought it.

read the post →

← earlierlater →

POST 2026-10-23 [ x ]

When Your Guardrail Should Be a Program, Not a Judge

the thesis sharpened: a deterministic program beats a reasoning judge model for policy enforcement

Policy enforcement for agents has quietly outgrown the content-moderation model everyone started with. The question is no longer “is this one message safe” but “did this multi-turn transcript, with all its tool calls, actually stay inside a compound business policy.” SCOPE argues the two dominant answers are both wrong for production: fine-tuned guardrail models fall apart on compound policies, and LLM-as-a-judge is accurate but expensive and maddeningly unstable run-to-run.

read the post →

← earlierlater →

POST 2026-11-04 [ x ]

When the Guardrail Is a Proof, Not a Prompt

the endpoint: the policy becomes a Lean-verified predicate, checked fail-closed before the call reaches the environment

Most of the guardrails I’ve shipped for tool-using agents are, underneath, a second model asked nicely to catch the first one misbehaving. LeanGuard flips that: it checks every proposed tool call against a policy written in Lean4 before the call reaches the environment, and the decision procedure is proved equivalent to a formal LeanLTL semantics. Fail-closed, with scoped past-time temporal operators over the execution history — so “never issue a refund after the account was flagged” stops being a sentence you hope the judge model honors and becomes a predicate the runtime enforces.

read the post →

← earlierlater →

POST 2026-11-17 [ x ]

When the Authorization Check Shouldn't Need Another Model

The thread's sharpest instance yet: a prompt-injection defense that keeps a model off the authorization decision entirely, reading an action's target from typed tool fields and admitting it against a deterministic floor. Carries 'a program, not a judge' all the way into the injection case.

The clever move in SPILLWAY isn’t a better classifier for prompt injection — it’s refusing to put a model on the final authorization check at all.

read the post →

← earlierlater →

POST 2026-11-20 [ x ]

When Your Agent Reads the Rule and Breaks It Anyway

The benchmark behind the thread's founding claim. Unfinished-Bench shows persistence pushes an agent to break a rule embedded in a document five times more than the same rule stated by the user, and in 89% of cases the agent wrote the rule down first. Hard evidence that a policy in context is read, not obeyed — so enforcement has to move to the tool call.

The number that should worry anyone running autonomous agents isn’t the violation rate — it’s that the agent had usually read the rule first. In Unfinished-Bench, 89% of the sampled rule-breaks happened after the agent had already written the rule into its own trace. Knowing a constraint and honoring it turn out to be entirely separate capabilities.

read the post →

← earlierlater →

POST 2026-11-21 [ x ]

When Your Agent Should Stop Generating Text

The argument's endpoint: instead of checking or proving a tool call after the model emits it, a deterministic compiler constrains the decision to options from the schema and request, so an invented value can't be formed at all — zero fabricated content versus 5.5–19.7% for local LLM agents.

The expensive failure in a production agent isn’t picking the wrong tool — it’s inventing an argument value that looks plausible and then poisons every step downstream. Once a fabricated ID or quantity lands in a tool call, no amount of retries saves you; the error has already been laundered into “real” data.

read the post →

← earlier

Select an entry to read it here.