arXiv:2611.02285cs.SENov 2026

Manuscript Offprint

arXiv:2611.02285

Modern Software Engineering with Verification Agents: A Spec-First Architecture for Autonomous Synthesis, Verification IRs, and Organizational Scale

Jason Hickey

Abstract

When autonomous coding agents synthesize implementation code, formal specifications, and mechanical proofs simultaneously, the software engineering hierarchy inverts: the formal specification becomes the primary human-reviewed artifact, while source code and proof scripts become disposable build outputs. This paper presents an end-to-end architecture for agent-authored, formally verified software engineering. First, we establish a logic-agnostic foundation combining a spec-first stack inversion, a zero-code-review workflow gated by automated continuous integration (CI) checks, and a minimal Verification Intermediate Representation (VIR) lowered via a thin, verified translator. Second, we pair an extensional Computational Type Theory (CTT) specification layer with Higher-Order Abstract Syntax (HOAS) and linear resource typing in the VIR—eliminating rewrite friction for synthesis agents while defining an experiment, its protocol frozen before the first reader, to measure whether removing boundary coercions improves human specification readability. Third, we scale collaboration across multi-team organizations using Personal Spec-Copilots and a Shared Synthesis Fleet that detects cross-team Semantic Merge Conflicts and fuses modular contracts into zero-copy binaries. We illustrate this architecture on a zero-copy authenticated message router and distinguish our existing empirical baselines (salt, SaltBench, x86lean, and MetaPRL) from newly proposed components.

1. Introduction

For seventy years, much of the software stack—programming languages, optimizing compilers, software design patterns, and code review workflows—has been shaped around one scarce resource: human attention.

  • Programming Languages: Mainstream languages introduced complex syntactic sugar, implicit type coercions, operator overloading, and intricate lifetime elision rules largely for the convenience of human readers and writers.

  • Optimizing Compilers: Production toolchains such as LLVM [37] and GCC grew into large, unverified heuristic engines so that human engineers could write clean, readable, textbook code and still obtain high-performance machine binaries.

*Disclaimer: The author is employed by Google Research. The views in this paper are of the author and do not necessarily reflect the views of his employer, or any employer.

  • Software Architecture: Engineering practices enforced strict module indirection, deep object-oriented hierarchies, and “Don’t Repeat Yourself” (DRY) boundaries so that a human developer could modify one subsystem without inadvertently breaking another.

With the rise of capable coding agents, this historical constraint has inverted: code generation is now cheap and abundant, and we take as our premise that human review, not generation, is now the bottleneck. Asking a senior software engineer (SWE) to manually audit 5,000 lines of agent-generated Rust or C++ for subtle memory bugs, race conditions, or security vulnerabilities is slow, exhausting, and error-prone.

However, when a coding agent generates a formal proof alongside its implementation—and a small, mathematically trusted proof kernel [4] mechanically verifies that the implementation satisfies a 25-line formal specification—the economics of software review change fundamentally. Human engineers no longer need to inspect how the implementation works or how the proof was constructed. Instead, engineering rigor concentrates on a much smaller, higher-leverage surface: verifying that the formal specification accurately captures intended system behavior.

References (40)