Hand-drawn illustration of a developer comparing code blocks with an approved plan through a magnifying glass
Hand-drawn illustration of a developer comparing code blocks with an approved plan through a magnifying glass

On 5 November, Microsoft Research described PDD Kit, a research prototype for checking AI-written code against a plan that people approve first. Parts of that plan are translated into a formal specification in Verus. A deterministic verifier — not the language model — then decides whether the code satisfies those requirements for every input covered by the model.

In Microsoft’s demonstration, the method was applied to the login flow of a Rust-based online shop. The researchers say the workflow uncovered existing bugs. Components the proof tool could not inspect — including database queries, password checking, the clock and token signing — were instead labelled as trusted and tested.

That boundary matters. A mathematical proof shows that code follows its specification; it does not show that the specification captures the right intent or that the whole system is secure. PDD Kit is also a prototype and currently verifies Rust only.

Our editorial conclusion: the interesting part is not a promise of “proven AI code”, but the explicit receipt showing what was proved, tested or assumed. That can make human review more focused, not unnecessary. This article closes our catch-up coverage from the editorial break.