Checking AI code: requirements become a verification contract
Microsoft presents PDD Kit, a research prototype for verifying agent-written software.
Original announcement: · Background analysis, not a new announcement.
The documented starting point
On 5 November, Microsoft Research described PDD Kit: requirements become formal specifications against which Rust code is verified. Components outside the proof still require tests. This is a research prototype, not a blanket security guarantee. [1]
What verifiable AI-written code is about
As software is produced faster, the bottleneck shifts towards understanding and acceptance. A program can run successfully while implementing the wrong business rule. A precise description of intended behaviour therefore matters. This article provides context for the 5 November research announcement; it does not report a generally available guarantee for software verification.
aresa perspective for SMEs
The immediately useful lesson for small development teams is a better verification brief. Describe rules so that correct and incorrect behaviour can be distinguished. “Access must be secure” is hard to approve. “A blocked user must not reach the record through either the interface or the API” describes testable behaviour. Formal methods may complement that process for suitable components, after people have defined the requirement.
Intent and specification are different things. If the specification omits an exception, a correct program establishes compliance with that incomplete rule. A domain expert must therefore review the rule itself. Accountability cannot be delegated to a green verification indicator, however technically sophisticated the underlying method may be.
Example: approving an internal application
Imagine an order portal where staff create drafts and management approves them. Useful checks cover more than the normal path: include concurrent edits, expired sessions and direct API requests. Define the possible states and the permission needed for each transition. This is an aresa illustration, not a description of the research team's example application.
Separate acceptance into business rules, technical integration and usability. Even if one component is verified against a specification, external services, configuration and actual operation remain separate areas to assess. This avoids turning a bounded claim about part of a program into a guarantee about the whole system.
A brief for your development partner
- Capture important rules using positive and negative examples.
- Request clear statements about the components checked and the assumptions involved.
- Document exceptions, external dependencies and required human approvals.
- Revisit the specification when the business process changes.
A practical starting point is one small but consequential rule rather than a formal description of the entire business. What matters is an understandable link between the requirement, the evidence and the approval decision. A large test suite without that link can create unwarranted confidence. A carefully explained, limited result can support a better decision about what is ready, what remains uncertain and who needs to review it before use.
Sources & origin
- Microsoft Research · PDD Kit https://www.microsoft.com/en-us/research/blog/formally-verifying-agent-written-full-stack-web-apps-with-pdd-kit/Accessed