When to Vibe

work safe

There is a spectrum we are discovering where “Vibe Coding” is at one end and towards the other are spec-driven dark factories. But, it’s not an all-or-nothing proposition. You don’t even need ‘Full Agentic’. These are some stops I’ve found along the way.

Human in the Loop and Verification on the vibe to spec spectrum

Vibe Coding

I once told the bot, “I want a console-based bottle-sort puzzle. The setup should be random but ensure a solution. I should be able to restart or get a new solution.” Then I had a game.

For smaller things where we care about having something and poor quality doesn’t matter too much, this is fine. I like it for smaller things. For larger things, I usually have more of an opinion about how things look…

UI + feature files

My current work project has some setup idiosyncrasies. We have a directory of external libraries and several configs to manage, all outside of the git directory. It is also cross-platform so I have to navigate several different IDEs.

So in this case I opened Xcode and wrote some placeholder screens that were laid out exactly how I wanted them. Next, I wrote a couple of files describing the major features the same way I would hand off to another dev. I listed git command lines, referred to directories, and used button names to describe actions. I then introduced the two concepts to my in-IDE agent and worked on one feature at a time, then used it myself.

I know what I want, and I am skilled enough at the UI that I can use that as part of my specification. Now I can easily open the Xcode, VS Code, or Android Studio of any worktree. Creating a new tree is as easy as naming it, and it’s put in the correct relative location to make all the config and binaries link correctly. My workflow has been very streamlined.

On this part of the spectrum, I’m the user, my needs are specific, and I’m really expecting only happy paths. I’m willing to deal with failures myself as they come up.

Iterative Specification

I’ve done this a couple of ways. Matt Pocock’s Wayfinding for a blog migration, EXACT-mapping for several projects, and simply specifying Architecture Decision Records and discussing a backlog that then gets more detailed one at a time. For UI, I’ve been letting the model help, with input and my own taste, starting with mockups. Once we have the task agreed upon, I can leave the agent to handle the building.

At this part of the spectrum, we are tackling more ambitious projects. We are starting to care about quality where we aren’t the sole user and we must address unexpected situations because the moment a user isn’t you is the moment they step off the happy path. We start having ‘distributed systems’, like html front end and APIs on the back end. We have to deal with generalizations beyond our bespoke computer or existing data.

The core of these workflows are:

  1. Break up work into useable chunks
  2. Agree on the definition of done
  3. Write enough validation to trust the software works
  4. Explore the solution space iteratively
  5. Pick the next work based on user value or risk mitigation

The Agilist in me dances at the thought of this way of working. It is product development.

Dark Factories

I’ve not worked on this end of the spectrum, but I can see it from my house. What works here? Something where the work is well defined. Something likely on-going.

The features of a factory.

  1. A 2-way task list - GitHub actions, Jira, etc that humans and agents can write with
  2. Discovery of new work. - Sentry, logs, or other Error Detection. Errors turn into tasks.
  3. Agents to pull approved work
  4. Validation systems - agent code review, system tests, human gates
  5. Continuous Deployment - human gates can still apply, but the goal is deployable software.
  6. Minimal human intervention beyond the task-list and the deployment gates

Where do I see it working? Here are a few projects I can see where the effort in building the factory seems useful

Migrations

I’ve just finished working on a mobile app migration. The first stage was converting MAUI software to Android / iOS native. This has a definite scope. There is little ambiguity. Don’t change it, just make it work. Our existing tests define the system and corner cases. The architecture might not be a 1-to-1 mapping as Kotlin, .Net, and Swift all have slightly different asynchronous models, but the new system will rhyme. We did not go this far on this project because agentic development was still considered a core risk at the time we started. We might behave differently if we were starting today.

Brownfield and Stable

I’ve deployed SlowPlay for some basic user testing. I’m happy with the feature set. But I want to make sure errors are handled with minimal impact on my time. Performance issues? Investigate them. Crashes? Patch them. Then deploy and wait for more feedback. I will likely switch to this mode of development for this project’s ongoing maintenance. New work will likely continue to be hands on.

Regulated Software

These are FDA and FAA projects. This is where things get inventive. We’ve done Agile in regulated domains. We do understand the core problem these regulations are meant to address as well as the myths of what they don’t. Regulated Software runs on specification documents with tracked changes like SharePoint, DOORS, or anything else. Test cases must cover these requirements to ensure the system is what we said. We must prove each requirement has passed the tests. Traceability must be independently cross-reviewed to ensure the tests are applicable to the requirement and provide adequate coverage.

I’m not opposed to agents generating our test cases. I would start with humans for reviewing the test traceability, but the tests MUST be automated. This is our Input to the factory. Implementers cannot alter the test definitions by policy, but they need access to run the automated tests and iterate until their selected work is completed.

Let me sum up!

“It depends.” It always has. How much automation and how much trust given depends on a lot of factors. How reliable must the software be? How specific should the software be defined? How thoroughly reviewed and tested do you need the software? Each project has its own universe of needs outside of just being code. And that should impact the way the work is done.