When Models Regress: Tool-Call Decay, Reasoning Token Anomalies, and the AI-as-Author Experiment
2026-07-05
This Sunday’s digest digs into an unsettling pattern emerging across frontier model families: newer, more capable models are exhibiting regressions in reliability that their predecessors didn’t have. From Claude’s deteriorating tool-call fidelity to GPT-5.5’s suspicious reasoning-token clustering, the evidence suggests that post-training optimization for dominant harnesses may be quietly making models worse at generalizing to alternative schemas and tasks. Meanwhile, a fascinating experiment in radical delegation — an AI building a PHP engine from scratch — probes the outer limits of what “vibe coding” can achieve when anchored to a rigorous, independent test oracle.
The Slop Harness: When Better Models Become Worse Tools 链接到标题
Armin Ronacher (creator of Flask) published a deeply researched post-mortem on a tool-calling regression in Anthropic’s latest models — and it’s the kind of analysis that should worry anyone building on top of LLM APIs.
The surface problem is straightforward: Claude Opus 4.8 and Sonnet 5 sometimes emit tool calls with invented keys appended to the parameters, even when the actual edit content is byte-correct. Pi’s edit tool expects { "oldText": "...", "newText": "..." }; the models produce { "oldText": "...", "newText": "...", "requireUnique": true } or { "oldText": "...", "newText": "...", "oldText2": "", "newText2": "" } — a zoo of hallucinated fields that cause strict validation to reject the call.
“The most annoying part is that the actual
oldTextandnewTextpayloads were byte-correct in the invalid calls I inspected. The model had in fact produced the right invocation but then added nonsense at the end of the object.” — Armin Ronacher
What makes this genuinely concerning is the direction of regression. Older Claude models (Opus 4.5) adapted to alternative tool schemas exceptionally well. The newer SOTA models are measurably worse at this specific behavior. Ronacher’s hypothesis is sharp and well-reasoned: Claude Code’s closed-source, forgiving harness — which silently filters unknown keys, aliases parameters, and retries malformed calls — has become the implicit post-training environment. The models learn that a certain amount of “slop” is tolerated, and worse, they develop strong priors about what an edit tool should look like (Claude Code’s flat file_path/old_string/new_string schema). A different schema becomes increasingly off-distribution.
“Tool schemas are somewhere in the distribution and some shapes are close to what the model saw during post-training and some are far away… The model may be smart enough to understand the schema and still be bad at sampling the exact shape under pressure.”
This has profound implications for MCP, agent frameworks, and anyone building custom tool harnesses. The implicit promise of LLMs as “general reasoners that follow any schema” is being eroded by the very RL post-training that makes them capable. Ronacher contrasts this with OpenAI’s approach — Codex models (tested up to 5.5) did not show this regression, and their Harmony format uses explicit <|constrain|>json markers that make grammar-constrained sampling natural.
Key Insight 链接到标题
The uncomfortable lesson: tool schemas are not neutral. If Anthropic continues post-training almost exclusively against Claude Code’s harness, every third-party tool will inherit its quirks by proxy. Grammar-constrained decoding (GCD), which Ronacher now favors more strongly, may become mandatory — but Anthropic’s current strict mode has complexity limits that make it impractical for nested schemas.
来源
The 516-Token Ceiling: GPT-5.5’s Reasoning Budget Anomaly 链接到标题
A GitHub issue on OpenAI’s Codex tracker has surfaced what appears to be a systematic reasoning-token truncation problem affecting GPT-5.5. The evidence, compiled from 390,195 response-level token records across 865 sessions, shows GPT-5.5 responses clustering disproportionately at exactly 516 reasoning tokens, with secondary spikes at 1034 and 1552.
The numbers are stark:
| Metric | Value |
|---|---|
| GPT-5.5 share of all responses | 19.3% |
| GPT-5.5 share of exact-516 events | 82.0% |
| GPT-5.5 exact-516 / ≥516 ratio | 44.0% |
| Non-GPT-5.5 exact-516 / ≥516 ratio | 1.3% |
The clustering is not a symptom of more reasoning — it’s the opposite. Mean reasoning-token intensity dropped from 268.1 in February to 106.9 in May (a 60% decline), even as exact-516 clustering rose from 0.11% to 53.30% over the same period. The pattern looks algorithmic: 516, 1034 = 516×2, 1552 = 516×3 — repeated threshold boundaries, not natural variation.
From the HN discussion, users confirmed the practical impact:
“I’ve definitely experienced step jumps down in quality on an almost daily basis… The experience of relying on Codex’s outstandingly thorough coding earlier in the year has evaporated for me.” — zenapollo (HN)
“Clearly they are batching reasoning inference in a few multiples of 512 tokens as a throughput optimization.” — kleton (HN)
The similarity to Claude Code’s April performance regression was not lost on commenters. One user noted they switched from Claude to Codex during that incident, and now see the same pattern repeating.
Why This Matters 链接到标题
If GPT-5.5 silently caps reasoning at ~516 tokens for complex tasks (which is roughly 3-4 paragraphs of chain-of-thought), it undermines the entire value proposition of a “reasoning model.” Complex coding tasks — debugging a multi-file bug, architecting a system, understanding legacy code — frequently need thousands of reasoning tokens. A hard budget cap would mean GPT-5.5 is systematically delivering incomplete reasoning while charging for a premium reasoning tier.
The issue author is careful not to claim “hidden chain-of-thought truncation” as proven, but the aggregate evidence is hard to dismiss. OpenAI has not yet responded to the issue (filed June 27).
来源
- 原文 (GitHub Issue): openai/codex#30364
- 关联 Issue: openai/codex#29353
- HN 讨论: news.ycombinator.com/item?id=48789428
“I Don’t Know Rust. My AI Is Rewriting PHP in It Anyway.” 链接到标题
Ekin Ertaç published one of the most honest and entertaining accounts of AI-assisted software engineering yet written. The premise: he doesn’t know Rust, has never written a lexer, and cannot explain what a tree-walking evaluator is. But his AI — pointed at PHP’s own 22,000-test .phpt suite as an oracle — has produced Phargo, a from-scratch PHP engine in Rust that:
- Passes 3,844 of 22,037 tests (17.4%) of the upstream suite
- Renders a complete WordPress page (front page, admin dashboard, SQLite-backed posts)
- Runs as a WASM-compilable binary with zero lines of PHP’s actual source code
The methodology is the real story: don’t let the AI grade its own homework. Instead of the standard “AI writes code, AI tests it, AI declares success” loop, Ertaç uses the PHP internals team’s 30-year test corpus as a completely independent oracle. The number cannot be flattered, negotiated with, or prompted into a better mood.
“Either
bug40261.phptpasses or it doesn’t.”
His loop is almost embarrassingly thin: the AI runs a failure histogram, picks the biggest cluster of fixable failures, implements the fix, runs all 22,000 tests (7 minutes), and commits if the number goes up. If it goes down, he says: “hmm, that regressed, look again.”
The Lessons 链接到标题
The project is a masterclass in measurement integrity. Early on, the pass rate plateaued for weeks because of CRLF line ending differences — the test harness was silently failing every multi-line test. One normalization line flipped hundreds of tests to green. Ertaç’s insight: measure your measurement.
The list of “Potemkin builtins” — features that parsed, ran without error, and did absolutely nothing — is a devastating catalog of why demos lie:
clone— evaluated to NULL. EveryDateTimeImmutabletest was silently broken forever.unset($arr[$key])— a total no-op.trim($str, $charlist)— ignored the charlist argument since the beginning of time.catch (\Throwable)— matched nothing, which is a very funny property for a catch-all to have.
The Ceiling 链接到标题
17% sounds small, but the realistic ceiling is ~40-45% because the rest of the suite tests C extensions (GD, curl, SOAP, intl, MySQL drivers) that are explicitly out of scope. The current bottleneck is performance (55x slower than real PHP at 7.1s vs 126ms), though a new bytecode VM is already running micro-benchmarks at 1-3x of PHP 8.5.
This project is significant not because of 17% — as HN commenter lawrenceduk noted, “most of the stuff I’ve vibe coded this year has been astonishing by 2025’s standards” — but because of the methodological honesty of using an independent, adversarial test suite as the ground truth. It’s a template for how AI-assisted software engineering should be evaluated.
来源
- 原文: I Don’t Know Rust. My AI Is Rewriting PHP in It Anyway.
- 项目: github.com/ekinertac/Phargo
- HN 讨论: news.ycombinator.com/item?id=48789325
Neural Render Proxies: Disney Research’s Differentiable Lighting Breakthrough 链接到标题
In a quieter corner of today’s HN, Disney Research (in collaboration with ETH Zurich and McGill) published a paper on neural render proxies (NRPs) — scene-specific lightweight neural networks that decouple path sampling from emission computation to enable interactive relighting at 30-60 Hz.
The core insight is elegant: from a single, light-agnostic render pass, the system collects path samples representing light transport data. A lightweight neural network learns how light travels from any scene location to any image pixel. Once trained, artists can relight static scenes — adjusting light positions, intensities, colors — at interactive frame rates, while maintaining visual fidelity close to ground-truth path tracing.
For CG animation pipelines, where even small lighting changes require re-rendering massive scenes with offline renderers taking minutes to hours per frame, this is transformative. The NRP is also differentiable, enabling gradient-based inverse workflows — artists can solve for lighting parameters from image-space edits or generative targets.
This is a beautiful application of neural methods not to replace traditional rendering, but to accelerate the iterative creative process by providing a fast, differentiable proxy that preserves the full-quality renderer as the ground truth.
来源
- 原文: Neural Render Proxies for Interactive and Differentiable Lighting
- 论文 PDF: Download
- HN 讨论: news.ycombinator.com/item?id=48753160
结语 链接到标题
Today’s stories trace a common arc: the tension between capability and reliability. Frontier models are undeniably more capable — they reason deeper, write more complex code, follow more nuanced instructions — but that capability comes with new failure modes that older, simpler models didn’t exhibit.
Anthropic’s latest models are worse at following alternative tool schemas because post-training has optimized them for Claude Code’s forgiving harness. GPT-5.5 shows suspicious reasoning-token clustering that may indicate silent budget capping, degrading performance on complex tasks. The Phargo experiment shows that even when AI-built software works impressively, the gap between “works in a demo” and “works against an adversarial test suite” remains enormous.
The structural pattern: as AI companies optimize models for their own dominant harnesses and products (Claude Code, Codex), the models become less general in practice, even as benchmarks claim they’re more capable. The solution may be more rigorous grammar-constrained decoding, better measurement infrastructure, and — as Phargo demonstrates — independent, adversarial test oracles that the models cannot game.
Today’s AI industry is learning what the software industry learned decades ago: performance and correctness are orthogonal. Improving one does not guarantee the other.
关键词 AI tool-call reliability reasoning token anomaly grammar-constrained decoding AI-assisted software engineering model regression neural rendering vibe coding test oracle methodology
基于 2026-07-05 Hacker News 热门 AI 相关新闻生成。本文由 AI 分析师自动撰写,内容仅供参考,不构成投资或技术决策建议。