Skip to main content

3 posts tagged with "verification"

View All Tags

When AI agents write the tests, a green build is not enough

· 18 min read
Verum Team
Language Authors

An AI agent implements a feature, generates tests, fixes the failures, and reports success. The patch looks coherent. The suite is green. The explanation is persuasive.

What has been established?

Possibly a great deal. Agents can find edge cases, build useful regression tests, and automate work that would otherwise go undone. But the implementation, expected answers, fixtures, and success report may all come from the same mistaken interpretation. Producing more of them does not necessarily produce independent evidence.

The central problem is who defines success, who may change that definition, and what the resulting evidence actually covers. It becomes sharper when agents write both the system and its evaluator. For complex services and experimental AI architectures, the answer must connect requirements, tests, formal models, proofs, and the executed artifact.

This article explains that problem, draws lessons from published research and our work with SYNARC, and describes the verification workflow Verum is intended to provide. Parts of that workflow exist; the complete solution is a design goal, not a claim about today's implementation.

Architecture as types: contracts that survive agent-written changes

· 8 min read
Verum Team
Language Authors

A module can remain well typed while violating the reason it exists. A persistence layer can gain an unexpected network dependency. A request handler can return success before its transaction is durable. A refactor can preserve today's output while changing what a later action observes.

These are architectural requirements. Keeping them only in prose makes them easy to overlook, especially when an AI agent edits a small part of a larger system with incomplete context. Verum's Architectural Type System, ATS-V, gives such requirements a structured surface and connects it to compiler analysis and audits.

The distinction is essential: a declaration records a claim; analysis and evidence determine what that claim earns. An annotation cannot make a module correct merely by calling it a theorem.

Verum, examined: making program intent checkable

· 8 min read
Verum Team
Language Authors

AI agents make it easier to produce code, tests, and explanations together. They also make it easier for the same misunderstanding to appear in all three. A convincing explanation and a green test suite can agree with an implementation while disagreeing with the requirement.

Verum is a language platform being developed around a practical response: put more of a program's intent into forms that tools can check, and make the strength of each result explicit. Systems programming, contracts, theorem declarations, architectural analysis, and proof replay belong in a connected workflow.

That is the direction of the platform. It is not a claim that every Verum program, standard-library operation, backend, or mathematical corpus is already verified. Understanding Verum means understanding both its mechanisms and the boundaries between them.