We Asked Factory Droid Where Our Architecture Plan Would Break
By Vilmer Frost ·
Big plans are easy to write. The hard part is finding out where they break. At BatchCortex, we used Factory Droid to put our next architecture to the test while we still had room to change it.
We’re proud to be part of the Factory Guild. Here’s what we learned using Droid on a real engineering problem, and what we’d tell another builder facing the same decision. Factory Guild
The expensive part was choosing wrong
BatchCortex builds software for pharmaceutical batch monitoring. As we explored the infrastructure behind the next version, we had several plausible ways to handle batch data, run analysis, and preserve the records that explain a result.
Each option made sense on its own. Put them together and the plan got big fast. We could spend months building one version of it, only to learn that we’d made the wrong call on a decision we could have tested much earlier.
Give Droid a question worth testing
We brought Droid in while those choices were still open. We used it to research competing approaches, narrow the list, and run early tests in private. The useful part was being able to move from a design question to a test while we were still deciding what to build.
Factory’s CLI can also run Droid headlessly and return structured output. If you want to repeat an investigation later, you can script the run and keep its output alongside the test results. Factory Droid CLI
One design question from our architecture work shows the kind of boundary we cared about. Suppose we want to replay a batch to see how a new analysis behaves. We should be able to trace the output back to the original batch records. Those records should stay intact. The question is concrete enough to act on. Can we rerun the analysis with different rules and still prove that the input stayed the same?

In a separate reproduction, we queried a Parquet file with three synthetic readings using DuckDB. A threshold of greater than 10 flagged two readings. Raising it to greater than 12 flagged one. Switching back returned the original two. The file’s SHA-256 fingerprint was identical before and after the queries. That gives us one concrete result for the architecture discussion. Changing a rule can change what we flag while leaving the source file byte-for-byte intact. DuckDB Parquet documentation
That’s the level of detail we’d aim for when briefing Droid. State the assumption, say what has to stay true, and define what evidence would change the decision. “Review our architecture” can get you a long report. A focused question gives you something you can actually check.
The tests changed the plan
The first rounds of research and testing gave us a clearer basis for deciding what belonged in the next phase. We could go back through the plan and ask sharper questions. Which pieces were needed to make progress? Which could wait? Where did we need another experiment before making the call?
Our initial plan asked a lot of the first implementation. We’re ambitious about what BatchCortex can become, and the experiments helped us see where that ambition needed a better sequence. Some ideas could move forward. Others depended on questions we still had to answer. Finding those gaps early gave us the chance to change the order of the work while the cost of changing it was still low.
The tests were exploratory. They helped us compare options and narrow the scope. Decisions about production behavior still need evidence from the environment where the system will run.
Test the assumption you can least afford to get wrong
If you’re planning a large change to your software, pick the assumption that would be most expensive to discover was wrong six months from now. Give Droid enough context to investigate it. Decide up front what would make you revise the plan. Then look at what the test actually showed and make the call yourself.
That’s what we’ll carry into the next round at BatchCortex. Thanks to the Factory team and the Guild for building a community where engineers can share this kind of work while it’s still in progress.