← daily

Formal proof over real code, and the person who checks the claim

A fortnight ago this was five announcements. Today it is three shipped artefacts with line counts and bug counts — plus the reminder that “verified” and “fast” are separate claims, and only one of them was measured.

Introducing AlphaProof Code

deepmind.google · 10 Nov · Kohli & Chaudhuri · 198 pts HN

DeepMind’s agentic framework for formal verification, applied to Signal. Humans choose what to prove; models translate Signal’s security goals into Lean specifications with an expert reviewing each one; Gemini Carbon agents write the proofs and then audit them, flagging roughly 1% of the codebase for human attention. The work took four weeks against the years such efforts have historically needed, and it proves properties of Signal’s compiled code rather than its design. The control is the interesting part: two previously fixed bugs were reintroduced into an isolated copy, and in both cases the system produced a machine-checked proof that the buggy version was insecure. Artefacts are being open-sourced.

The post’s body says “over six million lines” of Lean; its own meta description says three million. The linked technical paper would settle it.

Formalizing CPython

broyojo.com · 104 pts HN

The best-value link of the day, and badly underscored. Opus 5.5 was pointed at CPython and had each C function rewritten in Lean line by line, differential-tested against real Python on tens of thousands of inputs before anyone tried to prove anything, and counted only once a second agent that did not write it agreed the work held up. Result so far: 4,071 functions, 613,318 lines of Lean across 1,539 files, 18,898 theorems — and 418 bug reports in Python, about 55 of which can crash the interpreter or corrupt memory from ordinary Python code. The coverage table is honest and uneven: 35% of built-in types, 31% of grammar rules, 9% of the standard library. Its framing is the whole argument for this approach: Python has no precise written definition, so a proof is how you find the places the C code is vague.

Next-Level Benchmarking Overfitting

databasearchitects.blogspot.com · 7 Nov · Thomas Neumann · 4 pts Lobsters

Never reached Hacker News, and it is the indispensable counterweight to the two links above. The GenDB-V paper — “Stop Handcrafting Your Engine! Towards AI-Generated and Formally Verified Database Systems” — reports 22× to 61× speedups over Umbra and DuckDB in a fully verified system. Neumann shows the headline is infeasible on its face: at SF10 the TPC-H queries touch about 15GB, so memory divided by bandwidth alone is about 280ms against Umbra’s roughly 540ms total. The gains come from agents handcrafting per-query auxiliary structures computed at load time. His broader point carries past this one paper: AI agents overfit individual benchmarks with questionable techniques and drive runtimes toward zero, which already broke TPC-D once. “Formally verified” says nothing about what was measured.

Lean proof to search for US tax loopholes

lexifina.com · 9 Nov · 10 pts HN

The same method pointed at legislation, as a calibration exercise. They wrote the retirement-account rules down as moves a taxpayer can make with no strategy built in, let a blind search try every permitted sequence, and used a theorem prover to check the result on a case where the answer is already known. The search found the backdoor Roth — contribute to a traditional IRA, convert the next day, and the income limit stops nobody — and Lean proved no sequence of moves does better. Worth reading for the discipline rather than the tax: the known answer is what lets you judge whether the method works at all.

A new frontier model, and the first independent look at it

The launch page makes several checkable claims. One of them already has an in-house write-up; the rest are waiting for somebody outside.

Claude Fable 5.2 and Mythos 5.2

anthropic.com · 9 Nov · 980 pts HN

The day’s dominant story, and a product announcement, so read it for the claims rather than the framing. Same underlying model, with Mythos the gated variant for cybersecurity and life-sciences work. Output up to 30% faster than 5.1 at $8/$40 per million tokens, plus an optional fast mode that roughly 2.5×'s generation at double the price. The prerelease list is a set of things to go and verify: otherwise-infeasible software migrations, three working electronic devices designed from scratch, two open problems in black-hole physics, and Fermat’s Last Theorem formalized in 30 hours — which, read against section one, is the next big proof claim with nobody checking it yet. Safety testing included new evaluations aimed specifically at sandbox escapes.

Fable 5.2 One-Shotted My Nephew’s Dream Game

notesbylex.com · 10 Nov · Lex Toumbourou · 435 pts HN

A day-nought practitioner report with a real longitudinal baseline, which is what makes it worth a slot. His nephew drew up a beat-'em-up in January — five playable family members including the dog, twelve bosses, a story outline. The June attempt, built with Claude Code on Opus 4.8 and Fable 5, shipped and was not worth playing for more than a couple of minutes. The same brief handed to the new model produced a complete, multi-level, playable game in one pass. Same person, same spec, same tooling, eleven months apart: a cleaner comparison than most benchmarks manage.

Review at machine speed, and the measurement underneath it

One organisation now reviews more code by machine than by hand. Two papers ask whether the credit for a passing test belongs to the code at all, and a third shows how easily a measurement of agent output goes wrong.

How LinkedIn Uses AI to Review 40,000 Pull Requests a Week

blog.bytebytego.com · 9 Nov · free to read · interviews

Built on interviews with a LinkedIn principal staff engineer and a senior director of engineering, so there are mechanics here rather than a press line. Across 10,000+ active repositories their in-house reviewer covers more than 40,000 pull requests in a typical week, and most of its reviews are posted before the first human reviewer opens the PR. That second fact is the one to sit with: it inverts the order of review, so the human now arrives second to an already-annotated diff — precisely the condition that earlier work on deference to automated reviewers found most dangerous.

Autonomous Code Review: Hidden-Test Results on GitHub Issues

arxiv · 2611.10098 · 6 Nov · cs.SE · paper

The experiment almost nobody runs: does a cross-provider review step actually change whether a patch passes tests it has never seen? Twelve historical GitHub issues from five repositories (five C#, five JavaScript, two Python), two directed author–reviewer pairs — GPT-6.1 Sol and Claude Sonnet 5.5 — each run twice, for 48 planned workflows. A bounded terminal agent writes the initial patch, the other provider’s model reviews it, the author model adjudicates and may revise, and the same hidden evaluator grades the initial and final patch. Small n, honestly reported; the design is the contribution.

LLM Reliability Layers Under Test: Accuracy, Yield, and the Limits of Verification

infoq.com · 10 Nov · same-day

An empirical look at stacking verification layers in an extraction pipeline, and the finding is a useful corrective to the reflex of adding another checker. Stacked LLM verification filters doubtful records rather than correcting them, so accuracy buys itself with yield; deterministic checks outperformed paid models; and the initial extraction step caps what the whole pipeline can deliver no matter how much verification sits behind it.

Safe by Accident: Crash-Testing LLM-Written Code

arxiv · 2611.10585 · 7 Nov · cs.SE · paper

The sharpest paper of the day, and it reframes what a passing evaluation proves. Evaluations run generated code once, in one environment, and credit the code with whatever passes — but the credit may belong to the environment. The authors crashed LLM-written backend code just before each database, file and email call, re-ran it the way an operator would, and judged the result under both of Python’s sqlite3 transaction modes. Across 9,100 solutions from ten models on 24 backend tasks, more than half (54%) of the database code that survives every crash in the default mode is left half-updated once the library stops quietly opening a transaction for it. The correctness was the library’s, not the code’s.

Mismeasuring the Life of a Line of Code: Lessons Learned the Hard Way

arxiv · 2611.10530 · 7 Nov · cs.SE · paper

An unusually candid methods paper, and required reading before trusting any “AI-written code doesn’t survive” statistic. Studying 32.5 million line births across 120 TypeScript repositories, the authors list ten choices that look purely technical — when a line counts as gone, what to do with lines still alive, whether to pool projects, how to evaluate a model — and show that all ten change the conclusion. Six were their own mistakes. Counting moved and rewritten lines as dead alone cuts a line’s median life from 3.0 years to a fraction of that.

What the agent is allowed to do, and where the permission leaks

Sunday’s finding was that the approval file itself is the leak. Three things shipped since that touch the same seam from different sides — and a twelfth AI platform breach landed, disclosed by the customer rather than the vendor.

From Delegation to Action Approval: Developers’ Practices with AI Coding Agents

arxiv · 2611.10058 · 6 Nov · cs.SE · paper

A survey of 203 developers who use AI coding agents, aimed squarely at the decision nobody studies: not reviewing the diff, but deciding which actions to approve. Running a shell command or reading a file has effects that never show up in the resulting code, and the headline finding is a gap in care — 61% of developers who review code carefully do not extend that care to action approval. Read it next to Sunday’s finding that a “don’t ask again” approval writes the command verbatim into a project file: the people clicking it are the ones least likely to be looking.

claude-code 2.1.321 and 2.1.322

github.com/anthropics/claude-code · npm 9–10 Nov · changelog

Two releases in two days, and the fixes are the news rather than the Fable 5.2 support. MCP OAuth requests were sending secrets such as refresh tokens to another host when a server redirected them — the trusted-redirect-URI problem, now closed. Also: a read-only Bash command could run outside the sandbox with no permission prompt; Bash permission checks judged a file write from the wrong folder and so did not prompt; deny rules and protected-file prompts did not apply to the file that a cp or mv into a directory actually writes; and a background subagent’s report could be lost when the conversation compacted before Claude answered it. Four of those five are the permission boundary failing quietly.

Secret scanning detects secrets in GitHub Actions workflow logs

github.blog · 9 Nov · public preview

A direct answer to an attack seen in the wild: the GHEIST campaign used a workflow that printed secrets into its own run log, downloaded the log through the API, then deleted the run seconds later. GitHub now scans completed run logs for provider patterns, surfaces findings in the same alert list as code, and — the load-bearing detail — keeps the alerts available after the logs are deleted. Read the limits carefully: public preview, Enterprise Cloud with Secret Protection or Advanced Security only, disabled by default, no backfill of existing logs, no notifications during the preview, and it skips generic patterns, custom patterns, AI-detected secrets and anything Actions had already masked.

Notice about the Fireworks AI incident that may impact some Notion workspaces

notion.com · 10 Nov · first-party

The twelfth AI developer platform compromised in this run of incidents, and once again the usable primary comes from the platform’s customer rather than the platform. Notion determined that under 1% of workspaces may be affected, exposing unattributable Notion AI chat transcripts used by its Insights feature — no author, no workspace label, no tool-call results, so nothing beyond the words ties a conversation to a company. Insights is disabled and open-weight serving through Fireworks has stopped. The timeline is the part to keep: Notion cut all connections pre-emptively on hearing of “potential incidents”, Fireworks said on 6 November that malicious actors may have accessed customer data and confirmed a new dataset on 8 November, which is when the transcripts turned up in it.

When the model was never the right shape

Three arguments that the expensive part of an agent is often the part you could have replaced with something smaller, cheaper or compiled — provided you measure the right thing.

Amazon saves millions by replacing Sonnet 4.6 with Strands Decider

strandsagents.com · 9 Nov · 448 pts HN

A vendor blog, but written by the two engineers who did it and carrying enough architecture to judge. Sonnet 4.6 was labelling tickets — escalations, capacity requests, alarms, security findings — into 20 categories across one of the largest internal ticketing systems there is, running a long system prompt and generating JSON on every ticket. They replaced it with a decision model, which cannot generate text at all: given state, a question and a set of options it returns a probability per option plus a confidence score. The label catalogue becomes the option set and a tuned confidence threshold replaces the prompt. Same or better accuracy on a held-out set at 98% less cost, millions a year saved, about 19 GiB on a single A10G at about 640ms a request, behind SQS → Lambda → a network-isolated SageMaker endpoint with the cutover in AppConfig. The generalisable claim: where the task is classification, a text generator was always the wrong instrument.

SPRING-5: Measuring Tool Documentation Repair for LLM Agents by Efficiency

arxiv · 2611.10040 · 5 Nov · cs.SE · paper

Methods for automatically repairing tool documentation are almost always scored on task accuracy. This benchmark scores them on cost instead: 20 tool families, 344 tasks, each with a deliberately degraded specification, a hand-written honest one, a deterministic backend and an answer key, charged against the ideal call path, with a wrong answer billed the full call budget. The finding buried in the setup is the one worth carrying: over 2,644 baseline sessions, 54% of wrong answers arrive with no rejected call at all. The agent never discovers that the documentation misled it, so nothing in its trace signals the failure.

How Much Skill Orchestration Can LLM Agents Compile Away?

arxiv · 2611.10022 · 5 Nov · cs.SE · paper

Reusable skills guide an agent through recurring requests, but every invocation still pays for the model to read the skill and rebuild its orchestration. Can that be compiled into an executable fast path without a human? The negative result comes first and is the useful half: compiling without execution evidence produces brittle plans, because the model makes incorrect assumptions about runtime bindings and recovery is then expensive. Their SkillCache takes a single trace to specialise safely. The lesson for anyone writing skills is that the skill text is not sufficient information to compile from — one real run is.

The wider frame

One account from inside a mandate, and one reading of the acceleration numbers published last week.

AI usage generates a fragile codebase

evanxmerz.com · Evan X. Merz · 118 pts HN

First-hand and specific, from someone who was laid off from Meta in May and suspects his comparative reluctance was part of it — while still generating about 90% of his code, which was the minimum for a decent rating. He now generates 100% at another large company, and names four mechanisms by which the output is brittle at SaaS scale. The first is the sharpest: agents write abundant tests of trivial get/set methods, and the end-to-end tests they write only re-cover cases the suite already covered, so the real gaps are invisible to the team because nothing measures them. He notes the article was written by a human, which on this topic is load-bearing.

AI R&D Is Accelerating Towards Potential RSI in 2027

thezvi.substack.com · 9 Nov · free to read · commentary

A close reading of METR’s assessment of how much AI is accelerating AI research inside Anthropic — the report that has been the live thread here all week. His summary of its central findings: capabilities advancing at roughly twice the March 2024 – October 2025 rate with a wide confidence interval of about 1.3× to 3×, a majority of that acceleration probably attributable to AI doing AI R&D rather than to compute, and no clear bottleneck visible. He is explicit that this is several months ahead of the AI 2027 timeline and openly argues for a conclusion, so read it as advocacy built on a real document. Useful precisely because he works through the numbers rather than around them.