Skip to main content

2 posts tagged with "architecture"

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.