8 hours ago · 10 min read1943 words · Tech · hide

Open a production agent codebase and look at what sits directly downstream of an LLM call. You’ll almost always find a check — a JSON parser, a Pydantic schema, a non-empty assertion — and it’s easy to assume the boundary is guarded. In When Code Becomes an LLM Call (Weng et al., Oct 2026 preprint), researchers audited 496 LLM call sites across 40 open-source agentic systems (13.4 million lines of code) and found the opposite. Nearly half (48%) of LLM outputs directly drove program control flow or execution, and 73% of those ran with zero human review. Programs structurally enforced 78% of code-side constraints, yet left 67% of prompt-side constraints as bare natural-language requests. Most revealing was what the authors call the Post-Condition Illusion: 82% of call sites ran some post-check, yet 63% of expected constraints went unmet and only 5.3% satisfied their full contract. Agreement across independent raters who didn’t see the surrounding code was ≥0.95, and minimal…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town