“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 Alvoeiro, Leads Factory's core agent harness (as he states in the talk, 2026). Leads the agent harness that runs the Missions system he describes, so he sees its production behavior first-hand; he also speaks for a vendor that sells the product.
Factory sells AI or agent tools or services, so it has a reason to publish flattering numbers about AI. The passage stays in the archive; read it with that in mind.
How this was checked
Checked against the source by a first reader, then confirmed independently by a second reader who fetched the source without seeing the first reader's notes (Independent review agent (Claude Sonnet), blind second pass from passage text and citation only, no repository access, 2026-11-18).
Exact match in whisper at 06:17.
How to cite this passage
Luke Alvoeiro (Factory), “The Multi-Agent Architecture That Actually Ships”, AI Engineer (YouTube), 2026-05-06, at 06:17. https://www.youtube.com/watch?v=ow1we5PzK-o Archived at https://the-ai-record.com/passages/factory-validation-contract-written-before-code-2026
Context. On assigning different models to the planning, implementation and validation roles in a Factory mission. The cut skips a passage on a skill Factory calls Droid Whispering.
Context. Describing the two validators a Factory mission runs after each milestone. The cut skips the rest of the user testing validator's description.