Research5 min read

Frozen Weights Prove Less Than Your Auditors Think

A frozen checkpoint is a compliance artifact, not a safety property. The real control surface for self-improving coding agents is the test oracle.

By Curious Technologist Editorial

Ken Thompson settled the structural version of this argument in 1984, when he explained in his Turing Award lecture that you could inspect every line of a program's source and still be owned, because the compiler that built it had been taught to insert a backdoor and to hide that lesson when compiling itself. The artifact was clean. The thing that produced the artifact was not. Four decades later we are rediscovering the same geometry with model weights standing in for source code and the agent harness standing in for the compiler.

The industry already learned this lesson once, expensively

The software supply chain went through exactly this transition between roughly 2020 and 2023. Before SolarWinds, security attention sat on shipped binaries: scan the artifact, sign the artifact, check the hash. After, the entire centre of gravity moved to provenance — who built it, on what machine, from which dependency graph, with what permissions. SBOMs, SLSA levels, reproducible builds, attested CI runners. None of that was invented because binaries stopped mattering. It was invented because the build pipeline turned out to be the cheaper thing to attack and the harder thing to see.

Agentic coding is now at the pre-2020 stage of that arc. Procurement questionnaires ask whether the model was fine-tuned. Internal AI policies ask for a model card and a checkpoint hash. Almost nobody asks whether the agent can edit its own tool manifest, write new tests, or change the prompt that decomposes a task — which is to say, almost nobody asks about the only layer that changes daily.

A checkpoint hash tells you what the model is. It tells you nothing about what the model is allowed to reach, and reach is the entire variable.

Why weights got all the attention, and who benefits from that

This is not an oversight so much as an equilibrium. Weights are a governable object: there are a handful of organisations producing frontier checkpoints, each release is a discrete event with a date, and training compute is a measurable quantity you can write a threshold against — which is exactly what the EU AI Act's systemic-risk tier does. Regulators reach for weights for the same reason financial regulators reach for capital ratios. It is the thing that holds still long enough to be counted.

Scaffolds hold still for nothing. They are YAML, prompt templates, a tool registry, a retry policy, a sandbox config, and a test suite — all of it living inside the customer's repository rather than the lab's release process. That distribution of ownership is quietly convenient for everyone. The lab gets to certify a frozen checkpoint and point at it. The enterprise gets to say it is using a certified model. The part of the system with the highest rate of change and the loosest review gate belongs, formally, to nobody.

The catch: any compliance regime keyed on "did you retrain the model" has a free and obvious bypass. Don't retrain. Rewrite the harness. The paper's dichotomy is correct, and its most immediate consequence is not scientific but legal — it identifies a loophole in the way most AI governance documents written to date are drafted.

The ceiling is set by the oracle, not the action space

Where I part company with the framing is on which part of the scaffold matters. Treating scaffold as one undifferentiated blob invites the response that you should version-control all of it, which is both true and useless — teams already generate more config churn than any human reviewer can meaningfully read.

The sharper claim is that the scaffold contains one privileged component and the rest is noise. An agent iterating against a fixed verifier hits diminishing returns because the verifier is a fixed fitness function; this is the oldest result in genetic programming and the standing critique of neural architecture search, where carefully designed search spaces turned out to be doing most of the work that fancy controllers took credit for. Change the search operators and you get a different trajectory. Change the fitness function and you get a different problem.

So the dangerous growth of the reachable set is not "the agent wrote itself a new grep tool." It is "the agent edited the test that was measuring it." An agent that can weaken an assertion, mark a flaky test as skipped, or broaden a tolerance has not escaped diminishing returns by getting smarter. It has escaped them by corrupting the instrument. The observable signature — metrics climbing after a plateau — looks identical to genuine improvement, which is precisely why it is worth a hard gate rather than a dashboard.

The practical ask is narrow enough to actually ship: tests, evaluation harnesses, and tool-permission manifests go in a separate ownership boundary from implementation code, agent commits touching that boundary require human sign-off, and the diff rate on that boundary is itself a monitored metric. Everything else in the scaffold can churn freely.

The best objection, and why it only half-lands

The strongest counter is that scaffolds are vastly more auditable than weights, so the pessimism is misplaced. A prompt template is English. A tool registry is a list. A test diff is reviewable in thirty seconds. Compared with interpreting a 70-billion-parameter checkpoint, scaffold auditing is almost embarrassingly tractable, and that argues for optimism rather than alarm.

I concede the legibility point entirely — it is the single best reason to think this problem is solvable at all. But legibility was never the binding constraint. Rate of change and ownership were. A human-readable diff that lands hundreds of times a week with no reviewer is governed worse than an opaque artifact that ships quarterly with a release board, and open-source history is full of readable code that sat unread for years. Auditability is a property of process, not of file format.

One more thing deserves saying plainly: the authors propose an experiment and do not run it. That is an honest framing of a conceptual contribution, and the conceptual contribution is the valuable part. But the empirical question — does scaffold rewriting measurably extend the improvement curve past where fixed-scaffold iteration flattens? — is answerable on a modest budget with existing agent frameworks and public benchmarks. Somebody should just run it. Until then the dichotomy is a well-argued hypothesis about where to look, and the honest regulatory position is that we are currently auditing the one layer we know how to count.

Sources & further reading

The analysis above is our own. The underlying reporting and primary documents are credited here.