Refinement-First Processes for AI Development | Stacy Cashmore | .NET Day 2026
In a Nutshell
Stacy Cashmore shifted from "optimization-first" AI development—where agents generated massive, broken codebases she couldn't control—to a "refinement-first" approach using specialized agents, OpenSpec specifications, test-first development with mutation testing, and vertical slice architecture. The key change was restructuring her role from passive reviewer of agent output to active problem-solver who starts with hypothesis generation and keeps humans in control of architecture decisions and quality gates. This eliminated the vicious cycle of AI writing bad code, then worse fixes, and restored developer engagement by focusing on solving user problems rather than managing code volume.
These notes were generated by AI and may contain inaccuracies.
Stacy Cashmore introduces the topic of "optimization-first" processes for developing artificial intelligence. The speaker explains that for the past two years, many people online have claimed that artificial intelligence is the right path and that its development will solve everything needed. However, the promised results were never fulfilled, particularly at the beginning.
The speaker describes going in circles with AI usage. People online were promoting AI solutions for blog posts, YouTube videos, and LinkedIn posts, claiming these tools would solve all problems. When tested on simple tasks, results were excellent, but when applied to difficult situations, results were terrible, producing poor code quality, bad user interfaces, and jobs that couldn't perform as intended.
Several benefits emerged from AI implementation. There was no more annoying routine code, and significant time was saved by avoiding writing repetitive code. AI proved useful for converting between languages, with a specific example being the conversion from TypeScript Playwright to C# Playwright, which was accomplished over several weeks or months intermittently while working in the background. Unfamiliar APIs became much easier to work with, demonstrated by writing Whisper AI programming in Python despite never having written in it before, enabling a working prototype within a day.
Sign in to read the full notes
Get access to AI-generated notes, topic timestamps, and more.





