🚀NEW COURSEVibe Coding AI Apps with Claude Code 🤖✨Enroll now
← All papers  /  Sep 10, 2026
Agents

Introducing Consort: A Spec-First Agent Framework for Enforced, Test-Driven Development on Live Database Branches

First page
Introducing Consort: A Spec-First Agent Framework for Enforced, Test-Driven Development on Live Database Branches
The curator’s take

Kevin Hartman (Databricks) introduces Consort, a spec-first agent framework whose engineering discipline is enforced by a deterministic orchestrator and immutable tests the agent runs inside but cannot edit.

Ask this paper

Key points
01

The framing: When an agent writes code, the development framework is the control system for a non-deterministic worker. Spec-first frameworks agree on capturing intent up front, so what separates them is how each enforces the discipline that keeps the resulting code correct and maintainable.

02

Three enforcement modes: Enforcement by persuasion, meaning prompt discipline the model may ignore; by front-loaded structure, meaning strong specs followed by a trusted build; and through controls the agent cannot edit.

03

What the third mode consists of: A deterministic orchestrator, human-approved gates, immutable tests, and a green result that must pass against a live branched database, not a mock.

04

Consort's structure: The deterministic orchestrator drives separate role agents through a spec-first design lane and a test-driven build lane on a live database branch.

05

Stated as a hypothesis: The claim that in-code enforcement keeps agent-written code honest and that specialized roles keep it maintainable is framed as a pre-registered, testable hypothesis rather than a demonstrated result. Named comparisons are GitHub Spec Kit, obra/superpowers, BMAD and GSD.

Abstract

When an agent writes code, the development framework becomes the control system for a non-deterministic worker. Spec-first, agent-driven frameworks have gained rapid traction since 2025; the installable ones, GitHub Spec Kit, obra/superpowers, BMAD, and GSD, and our own, all capture intent through a specification or durable planning artifacts. Since they agree on capturing intent up front, what separates them is how each enforces the engineering discipline that keeps agent-written code clean, correct, and maintainable. Every framework enforces that discipline somehow; they differ in how. We characterize three modes: enforcement by persuasion (prompt discipline the model may ignore), by front-loaded structure (strong specs, then a trusted build), and through controls the agent cannot edit (a deterministic orchestrator, human-approved gates, immutable tests, and a green result that must pass against a live, branched database). We introduce Consort, a spec-first, test-driven agent framework built on the third, enforcing that discipline through controls the agent runs inside but cannot bypass, in which a deterministic orchestrator drives separate role agents through a spec-first design lane and a test-driven build lane on a live database branch. We argue that enforcing the tests and gates in code keeps agent-written code honest and verifiable, while its specialized roles, like the human roles before them, are what make it maintainable, claims we frame as a pre-registered, testable hypothesis.

Every Monday
Get next week’s papers.
Subscribe on Substack