$ ctrlaltroot
Analysis

The agent is the muscle, the spec is the brain

The senior engineer's planning habit becomes the process, and the spec is the first software artefact a business can read.

I spent an evening on Spec-Driven Development with Coding Agents, the DeepLearning.AI course taught by Paul Everitt of JetBrains (full course on YouTube). One line stayed with me:

“The agent is the muscle, but the spec is the brain.”

Spec-Driven Development with Coding Agents — course title card Spec-Driven Development with Coding Agents DeepLearning.AI · Paul Everitt (JetBrains) · full course, free youtube.com

The two motions

Juniors open the editor and start typing. Seniors plan, and the code at the end is almost a formality. Everitt says it outright: “most of your work as a developer is in planning and validation rather than implementing.”

Spec-driven development takes the senior habit and makes it the process. The better you understand the technology, the further upstream the real work moves.

The course’s architect framing puts the weight there: your role is to “design, supervise the construction, then review and accept the results.” The leverage moves to architecture questions, and hardcore coders become hardcore about those. Its compiler comparison fits. Almost nobody reads machine code; everybody reads source. Declarative infrastructure got there a decade ago: you edit the manifest, and the running system converges to it. A spec is the same move again: human language becomes the layer you work in, and code becomes the build artefact.

Course slide titled 'Act as a supervisor': a column headed You, listing design, supervise, review, accept and 'or ask for changes', beside a column headed Builders (and agents) over a crane illustration with the note 'know how to do their jobs'.
Who does what, in the course's framing — DeepLearning.AI × JetBrains

The workflow

The spec-driven development loop brain brain muscle brain CONSTITUTION mission · tech stack roadmap PLAN feature spec IMPLEMENT code from the spec VALIDATE check the result REPLANNING between features · new branch · revise, update, improve
The loop, with the weight at the front. Three of the four phases are spec work; only implementation is the agent's.
  • Constitution. Mission, tech stack, roadmap: one markdown file. “Just one way to formalize these project-level details”; a top-level agents.md does the same job.
  • Feature loop. Plan, implement, validate. Each feature on its own branch, clean slate in between.
  • Replanning. Between features, on its own branch: revise the constitution, update the roadmap, improve the process, “so you can keep track of which versions of it produced which code.”
Course slide titled 'The constitution': a document containing Mission, Tech stack and Roadmap, each beside the question it answers — what is the core idea, how does it fit with the tech stack, what features are planned.
What goes into the constitution — DeepLearning.AI × JetBrains

And you do not have to build that scaffolding yourself. GitHub’s open-source Spec Kit ships SDD ready-made: structured processes, reusable templates, documented outcomes, with bug fixing and idea assessment as extensions. It is already past 150k stars. Start there, and customise once the habit sticks.

github/spec-kit — repository card GitHub's SDD toolkit github/spec-kit · ★ 152k stars · MIT licence github.com

Slop vs a product

The course’s word for vibe coding is slop. Specs are “a key differentiator between vibe coding some slop and engineering a viable software product.” Flip one sentence in the spec, “use SQLite with Prisma” to MongoDB, and hundreds of lines of code change with it. An agent carries no state from one session to the next, so the spec is the project’s memory. Without one, in Andrew Ng’s words, you are “leaving these important decisions up to the whims of the coding agent.”

Course slide titled 'Benefits of spec-driven development with coding agents': three labelled panels — control code with small changes to spec, eliminate context decay, improve intent fidelity.
The three benefits the course opens with — DeepLearning.AI × JetBrains

The agreement between the humans

The line that matters most is not about the loop:

“The constitution captures the agreement on key decisions between the human and the agent, but also the agreement between the humans.”

A spec is the first artefact in a software project a non-technical stakeholder can actually review. Not the code, not the PR. The people who own the risk can read what they are signing off on, and disagree before it is implemented instead of after. That is the governance story in one sentence. Six years of running a consultancy taught me the same lesson: the projects that went wrong were the ones whose brief lived in a kickoff call and nowhere else.

The symbiosis

Agents speed up the planning half too. I can have the agent draft the plan, then interrogate it. It asks the questions I did not have in mind. I bring the intent, it produces the outcome, faster than I can. Intent is the human half of the work; outcome is the agent’s.

Where I already work this way

I did not learn this from the course. It is just how I work. When I set up my agentic desktop, I started with a holistic planning document and an agent rather than an individual skill, describing the whole desktop from a process perspective instead of an agent perspective. The agent drafted the overview: every skill, how each is set up, which profiles they group into. That scaffold was immediately more stable than a first skill that holds too much or competes with its neighbours. If I had started atomically, with a single skill, I would not have noticed how the skills depend on each other.

The same pattern has been in VS Code for about a year, in its Plan agent and the planning documents it produces. I had just never called it spec-driven development.

Still open

I have not run the course’s replanning flow yet, and spec versioning is “an evolving topic.” Keeping specs and code in sync across a team is where I expect the friction, but that is a guess from one evening, not experience. I want to see what a constitution looks like after six months of real deadlines: source of truth, or ceremony nobody re-reads. If yours has been through that, I would like to hear how it held up.

Course slide titled 'Project evolution': a timeline running Constitution, Replanning, Replanning, with two feature phases beneath it, each running specification, implementation, validation.
The replanning flow between features — DeepLearning.AI × JetBrains

The course closes with “the specs you write today become the memory of your projects tomorrow.” It is the same argument as evals as the release gate, from the other end: evals govern what ships, specs govern what gets built. As far as I can tell, agents in production need both ends governed.

Both ends of the loop are human brain muscle brain SPEC what gets built IMPLEMENT code from the spec EVALS what ships
Both ends are human. Specs govern what gets built, evals govern what ships; the agent sits in the middle.

← all notes · subscribe via RSS