Topics / Building software

Do teams write a plan or spec before an agent writes the code?

Written plans, specs and design documents that people agree on before handing work to an agent, and where the human checkpoint sits.

Explore with your AI assistant

Opens a new chat with a prompt that points the assistant to this archive. What it writes is its own, not the archive's: check any quotation on its passage page before you rely on it. Or add the archive to your assistant as a connector: https://the-ai-record.com/mcp (how).

26 passages from 17 organizations; 25 checked against the source. The page states no conclusion: these are the organizations' own words.

To carry out this work, the web team gave coding agents clearly defined tasks and a consistent process to follow. Each task started with a written plan agreed on by the engineer and agent. The agent made the changes, ran the relevant builds and tests locally, and recorded the results for an engineer to review before accepting the code.

DropboxPublished by the organization itself (post), no named author

Post: How AI-assisted development helped us build the new Dropbox experience, Dropbox engineering blog (dropbox.tech), November 5, 2026, at Making the new experience usable by more people.

Checked against the source [ Grade B ] Said in the last year Dropbox: $2.5 billion revenue, FY2025 Passage page

And so it's not uncommon to spend a week writing a very detailed plan, making all the decisions, flushing it out, iterating, sending it out to teammates to review. And then only when it's read and you've … out all the decision, … to the agent, the agent will send it back to you when it's implemented … has been really successful also in accelerating and also really restoring some of the joy into the development process.

Eyal BlumSoftware Engineer · Practitioner, Figma

Talk: How to Get Your Org to Adopt Coding Agents (Without Shipping Garbage), AI Engineer (YouTube), August 28, 2026, at 08:07.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

The first thing we're going to do is we're going to do some sort of product review, understanding what problem we're solving, what's the desired behavior, maybe looking at mockups. … small stuff still just go straight to the agent, but once we have the product review, we're going to also do architecture, system architecture. A lot of people have been doing this for a while, component contracts, data models, constraints.

Dex HorthyCo-founder and CEO, HumanLayer · Executive, HumanLayer

Context. Dex Horthy is describing the planning steps HumanLayer puts before an agent writes code, after saying the company is putting code review back.

Talk: Harness Engineering is not Enough: Why Software Factories Fail, AI Engineer World's Fair 2026, Day 1 livestream (AI Engineer, YouTube), June 30, 2026, at 7:48:23.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

From there, we do something that I think is really under-emphasized in … these days, which is program design. I think people assume that once you get the architecture right, the model can just cook. … we often look into the types and the method signatures, the program layout and the call stacks. … once we've done the program design, we can do this thing called vertical slices, which is the order of implementation, multi-repo coordination, how are we going to build this across our entire system, and how are we going to check it along the way?

Dex HorthyCo-founder and CEO, HumanLayer · Executive, HumanLayer

Context. Horthy is continuing through the same planning sequence: after the architecture document comes program design, then vertical slices.

Talk: Harness Engineering is not Enough: Why Software Factories Fail, AI Engineer World's Fair 2026, Day 1 livestream (AI Engineer, YouTube), June 30, 2026, at 7:48:54.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

Diff Vader and the Death Star were built almost entirely with Claude Code, but not by typing “build me an AI reviewer” and shipping whatever came back. We used spec-based development — Superpowers for the core methodology, augmented with our own skills — which forces every piece of work through brainstorm → written spec → reviewed implementation plan → execution → code review, with discrete human checkpoints in between.

Dave NorthLeads the technical operations group · Leader, Rewind

Post: Review is the bottleneck now: How we let AI approve pull requests (safely), Rewind blog, June 1, 2026, at What I’d tell another engineering leader.

Checked against the source [ Grade B ] Said in the last year Passage page

We tried spec-driven development first: write a spec for a screen, give it to the agent, review the result. It didn’t work. The specs went out of date almost immediately. By the time the agent was working on the third checkpoint of a screen, the spec written for the first checkpoint was already incomplete or wrong.

Remi VanheeAuthor, Shopify Engineering blog · Practitioner, Shopify

Post: How we rebuilt the Shopify app in 12 weeks, Shopify Engineering, November 10, 2026, at The existing app was the spec.

Checked against the source [ Grade B ] Said in the last year Shopify: $11.6 billion revenue, FY2025 Passage page

I aligned with three other teams for another week on that and then I just sent it to an agent to implement overnight and it came back, this is probably from two … not one, but it's basically six weeks of coding work … only one week. So that's where I get … 5X speed up if I include the review cycle at the end…

Eyal BlumSoftware Engineer · Practitioner, Figma

Talk: How to Get Your Org to Adopt Coding Agents (Without Shipping Garbage), AI Engineer (YouTube), August 28, 2026, at 11:20.

  • 5 x coding speedup planned agent work, one example plan, as of the talk. A person approves

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

But the real problem with all of this is I built this and I hit a little bit of AI psychosis. And I started shipping 10 design docs a day. And soon, the team was fighting my slop. … This last rule was … ship a design doc, you require people to actually go read it. And with this last standard, we suddenly had design docs … incredibly high quality.

Vaibhav GuptaCo-founder and Chief Executive · Executive, Boundary (BoundaryML)

Context. Gupta is describing the design-document tool he built for the team and the rule that followed.

Talk: Fighting Slop with Slop, AI Engineer (YouTube), July 31, 2026, at 3:37.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

we have a very simple rule in our team. Code can be slop, writing cannot. … What this design doc tool does, it's a replacement for both Notion and GitHub, effectively for design docs. It allows versioning, commenting, all the stuff you want. … We built another tool on top of that. And this tool was a slack integration for that tool. Every time a design doc got updated, this channel got notifications. And what ended up happening is this channel became the most popular channel in our company really fast.

Vaibhav GuptaCo-founder and Chief Executive · Executive, Boundary (BoundaryML)

Context. Gupta is describing how the team keeps design documents good while letting code be generated.

Talk: Fighting Slop with Slop, AI Engineer (YouTube), July 31, 2026, at 2:43.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

The main idea here is 30 minutes over here in pre-planning … alignment can save you hours in review, and so it's actually feasible to still read every line of code.

Dex HorthyCo-founder and CEO, HumanLayer · Executive, HumanLayer

Context. Horthy is summarizing why HumanLayer plans and aligns before coding, after showing example planning documents.

Talk: Harness Engineering is not Enough: Why Software Factories Fail, AI Engineer World's Fair 2026, Day 1 livestream (AI Engineer, YouTube), June 30, 2026, at 7:49:51.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

And so if you use model-assisted planning and alignment, your alignment is shorter because you use AI to get all the information at once, your code review is faster because you aligned up front, and … coding is faster because AI did it, and so now you're actually really moving faster, but you're still reading everything and you're still owning the code.

Dex HorthyCo-founder and CEO, HumanLayer · Executive, HumanLayer

Context. Horthy is closing his argument for planning with AI and reading the code, just before his closing advice.

Talk: Harness Engineering is not Enough: Why Software Factories Fail, AI Engineer World's Fair 2026, Day 1 livestream (AI Engineer, YouTube), June 30, 2026, at 7:50:31.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

So turning the lights back on, we're gonna put the code review back. We're gonna embrace this approach of like, how do we plan up front to reduce the chance that we have a long or difficult review process?

Dex HorthyCEO, HumanLayer · Executive, HumanLayer

Context. On what HumanLayer does instead of a lights-off factory.

Talk: Harness Engineering is not Enough: Why Software Factories Fail, AI Engineer World's Fair (Conffab transcript), June 30, 2026, at session transcript.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

So then we thought, why don't we just remove ourselves from that first stage? And … do that work instead. So we did. And we gave him some instructions on how an Epic should be specified. It needs to have a description. It needs to have some acceptance criteria. … needs to have some certain level of confidence on how to implement it. And if … doesn't have that, he won't start. Then he will just ask a question back to the product owner, … him or her, and try to figure out the stuff he needs to be able to continue.

Hallstein BrøtanSenior consultant, Novanet; developer on Nordic Corporate Bank's system · Practitioner, Nordic Corporate Bank

Context. The speaker describes the rule the bank's agent follows before it starts work on a product owner's request.

Talk: How We Built an Autonomous Development Workflow at Nordic Corporate Bank, NDC Conferences (YouTube); talk recorded at NDC in Oslo, June 29, 2026, at 10:47.

Checked against the source [ Grade B ] Said in the last year Passage page

But ultimately, … it all boils down to how good is your spec. That's what probably the single best … biggest learning that spending time on spec is really worth it. Because initially we spend about two days setting up naturally the factory itself, but also writing spec, I have to say, writing spec … iterating with the agent to get the spec to a very, very high level.

Zacharias MalguitouSoftware Factory in Public experiment lead, speaking at the Background Agents Summit · Practitioner, Ona

Context. Malguitou is giving his main lesson from the 10-day experiment in which background agents built the Memo note-taking app.

Talk: Software Factory in Public: 375 PRs in 10 Days, Ona (YouTube), May 7, 2026, at 19:16.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

But the tests were sort of shaped by the code, not by what the code was attempting to actually do. Tests written after implementation don't catch bugs. They confirm decisions. So if you rely on validation like that, your system will eventually drift. That's why this validation contract exists. It's written during planning before any code, and it defines correctness independently of implementation.

Luke AlvoeiroLeads Factory's core agent harness · Leader, Factory

Context. Explaining why a Factory mission writes a validation contract during planning, after describing agents that write their own tests.

Talk: The Multi-Agent Architecture That Actually Ships, AI Engineer (YouTube), May 6, 2026, at 06:17.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

If you can orchestrate twenty, thirty, fifty agents running in parallel, the difference between mediocre output and exceptional output comes down almost entirely to the quality of your specification.

Addy OsmaniFormer Director, Google Cloud AI Developer Experience; earlier led Chrome developer experience · Leader, Google (Alphabet)

Post: The Factory Model: How Coding Agents Changed Software Engineering, AddyOsmani.com, February 25, 2026, at Your Spec is the Leverage.

Checked against the source [ Grade B ] Said in the last year Google (Alphabet): $403 billion revenue, FY2025 Sells AI tools Passage page

I mean, on our team, the culture is we don't really write stuff, we just, we show. It's a little hard to reflect back on the time before 'cause I think now just prototyping everything is so baked into the way that we build. Just everything is prototyped multiple times.

Boris ChernyCreator and engineering lead, Claude Code · Leader, Anthropic

Context. Cherny is answering the host's question about whether the Claude Code team prototypes and shows instead of writing documents such as product requirement documents.

Podcast: Building Claude Code with Boris Cherny, The Pragmatic Engineer (YouTube), March 4, 2026, at 60:29. Reported by Gergely Orosz.

Checked against the source [ Grade C ] Said in the last year Anthropic: $47 billion revenue, run-rate, May 2026 Sells AI tools Passage page

All that documentation makes AI incredibly effective at writing code. When we feed an agent, the state machine that displays and shows exactly what states are possible within the application, the code it generates is almost always correct. It's crazy … the specification became the product. The code is dispensable.

Axel MolistFounder and CEO, We UC (Olatti) · Executive, We UC (Olatti)

Context. Molist has just said that, with AI, teams need to go back to structured requirements, state machines, decision tables and detailed product requirement documents.

Talk: What 6 months of AI coding did to my dev team, Axel Molist (YouTube), April 18, 2026, at 3:29.

Not yet checked [ Grade B ] Said in the last year Sells AI tools Passage page

Also, we have an engineer that is also here around to say, hey, we had to rewrite an application or do a refactor. And basically, let's say, no, I can make it better with the specs. And I was able to get a 90% code reduction.

Pedro CastilloStaff Engineer, Parloa · Practitioner, Parloa

Context. Castillo is passing on a testimonial from a colleague at Parloa, one of several he gives near the end of the section on people and mindset.

Talk: Beyond Manual Coding: How Parloa Scales with Agentic Engineering | prompt '26, Merantix AI Campus (YouTube), April 29, 2026, at 16:16.

  • 90% code reduction, one rewrite, as described in the April 2026 talk. Level not stated

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

JSON: /api/v1/topics/specs-before-agents.json