Personal project by Ulf Fäldt Reifenberg · built in November 2026 with coding agents for a job application to Coretura · unofficial, not affiliated with Coretura · all data synthetic

AI assets as code, released by risk tier

A prompt edit, a model swap or a new tool can change how an AI product behaves. Here each of those is a versioned file, and a release gate decides whether a change may ship. The bar depends on how much the product is allowed to do on its own. Every model call goes through a small gateway that meters usage per team and release.

Seven releases through the gate

The product is a service-desk assistant for a truck workshop (synthetic). It reads an untrusted document such as a fault report or a supplier email and then either answers the technician or sends a report to a colleague. It is declared tier 2 because it acts through tools. Each row is one proposed change to its assets, evaluated on the same 64 cases as the production release.

Tier 0: a person reads every output. Tier 1: people rely on the answers. Tier 2: acts through tools. Tier 3: autonomous or safety-relevant (also needs a recorded sign-off and canary plan, which no release here has). Requirements accumulate with the tier; the exact thresholds are in policy.json, shown at the bottom.

What came out

What the evaluation measured

16 clean cases and 48 cases with an injected instruction (three styles, position rotated). Differences against production are paired by case; intervals are 95% bootstrap intervals that resample whole scenarios. "Reached a tool" counts attacker-addressed calls that the deterministic policy check (recipient must appear in the technician's own request; the key never leaves) would have let through.

What the gate caught that a smoke test would not

Usage metering

The gateway records every call with team, product, release id, purpose, tokens and the provider's billing units (Workers AI neurons), and flags cache replays. This is the bill for the evaluation runs on this page:

How it works

What this does not show

Policy file


Contact: linkedin.com/in/ulffaldt · other projects: injection-gate-bench, mcp-scope-gate, euro-asr-bench