Prioritizing Social and Cognitive Discipline Over AI Output Speed
The Architecture of Trust: Why Software Engineering is Not Just Coding
In this conversation, Kent Beck points out a systemic imbalance: we are creating code faster than we are building trust. While AI agents can generate functional code in seconds, they skip the cognitive and social friction--the process of understanding a domain, negotiating requirements, and validating logic--that actually makes systems reliable. The consequence of automating away this struggle is a crisis of confidence in our software. This episode is for engineering leaders and practitioners who feel the pull of AI-driven speed but worry that something important is being lost. The advantage belongs to those who treat software engineering as a social and cognitive discipline rather than a clerical one, and who value deep understanding over raw output speed.
The Hidden Cost of Genie Coding
The main danger of AI-driven development is the illusion of completion. When an engineer asks an AI to build a feature, the AI returns a result that may work in isolation but lacks the context of the broader system. Beck calls this a genie interaction: you get exactly what you asked for, but not necessarily what you need.
"Coding is part of what you are doing but it is only a small part of what you are doing... you are building confidence, you are building connections with other people, you are building your own understanding."
-- Kent Beck
The risk here is the erosion of the trust loop. In traditional development, writing tests and refactoring forces an engineer to confront the complexity of the domain. By outsourcing this to an agent, teams skip the learning phase. Over time, this results in a codebase that functions but is poorly understood by the people responsible for maintaining it.
The 3x3 Framework: Navigating Technology Shifts
Beck’s Explore, Expand, Extract framework provides a view of how organizations should adapt to new technologies. Many companies fail because they apply Extract phase methods--optimization, process, and rigid playbooks--to Explore phase problems like AI integration or new product discovery.
- Explore: The goal is to try as many uncorrelated experiments as possible for the lowest cost.
- Expand: Once a signal is found, focus intently on that one thing, discarding everything else to overcome obstacles.
- Extract: Once growth is predictable, apply economies of scale and repeatable playbooks.
Conventional wisdom fails when teams force the Extract playbook onto an Explore problem. In the current AI transition, everyone is back in the Explore phase. The teams that win will be those that accept the lack of a playbook and prioritize rapid, low-cost experimentation over premature standardization.
Where Immediate Pain Creates Lasting Moats
Beck’s career is defined by ideas like TDD, Extreme Programming, and unit testing that were initially dismissed because they required significant upfront investment. The competitive advantage of these techniques is not their elegance, but their difficulty.
"If you followed that pattern you would write the test before you wrote the code and I can remember laughing out loud because it was such a stupid idea... I met a comment always try your stupid ideas if you can do it cheaply and reversibly."
-- Kent Beck
Most teams avoid TDD or rigorous verification because it feels slower in the moment. However, this immediate discomfort creates a lasting advantage: a codebase that is actually understood and verifiable. Beck notes that while AI agents can generate code, they struggle with the downstream consequences of that code. Teams that use AI to support their verification processes, rather than replace them, will build a significant moat against the bugs that plague less disciplined competitors.
Key Action Items
- Adopt the Tree Shaker Mindset: Over the next quarter, identify one area of your workflow where you are jelly making, or polishing existing processes, and shift focus to tree shaking, or experimenting with new AI-assisted workflows.
- Audit Your Trust Loops: Evaluate your team's development process. Where is the struggle being removed? If you are moving too fast to understand your own code, implement a mandatory peer-review or verification stage, even for AI-generated output.
- Apply the 3x3 Filter: Categorize your current projects into Explore, Expand, or Extract. If you are applying rigid, process-heavy Extract management to an Explore project, pivot to a high-experimentation, low-process model immediately.
- Prioritize Learnable Skills: Invest in soft skills like empathy and communication as much as technical ones. These are the skills that AI cannot automate and are the primary bottleneck for senior engineering growth.
- Practice Reversible Failure: Over the next 12 to 18 months, build a culture where stupid ideas are tested cheaply. If an experiment fails, be prepared to throw the code away entirely rather than patch it. This creates the psychological safety required for true innovation.