Specification and review
How agent work gets checked before it ships: verification in a Software Factory, reviewers that know when to stop, UI checks in the real page, and who decides when the work is finished.
- 23 posts, newest first
- Breaking the Loop: Why agents never finish on their own Agents in a software factory always find another problem, another ticket, another improvement. Only a second, much slower loop can say when the work is finished: the one that reaches the market.
- Fast agents push the bottleneck back to the requirements Delivery was built around slow coding. With code, review and deployment fast, questions return faster than anyone answers them, and the constraint moves to where requirements are written.
- Architects already solved non-determinism with eventual consistency Architects reject AI-generated code because it is non-deterministic. They solved that exact problem a decade ago in their event-driven systems, and the saga pattern shows where the correctness comes from.
- YAGNI still holds, for a different reason Cheap code tempts teams to generate the flexible version just in case. But writing was never the only cost. Reading, debugging, and changing the code still cost a human, and YAGNI now protects those.
- Verify UI components in the page they ship in The UI Verifier in the software-factory.dev factory screenshots every changed component twice, in isolation and in the real page, because a component that passes in isolation can still fail where it ships.
- Agents stall on unclear requirements, and a spec file fixes it A pilot team blamed the agent until it looked at what the agent was handed. The fix was one spec file in the repo, with QA's test cases written before any code.
- Verification in a Software Factory When generating code gets cheap, a Factory's throughput depends on how well the system can establish that a change is acceptable, safe, and worth shipping.
- Green CI does not prove the live site works The Post-Merge Verifier in the software-factory.dev factory smoke-tests the real production site after every merge, because passing tests and a working site are two different claims.
- An auto-merging PR reviewer is safe once it knows when to stop The PR Reviewer in the software-factory.dev factory merges code with no human approval. One number makes that safe: it gives up after three failed attempts to fix CI.
- An autonomous agent has to verify its own work Agent-built features can look finished and be broken. The user will not check, so the agent has to, and that changes how you build one.
- Refinement, not coding, was the bottleneck all along Several teams turned the same rough story into wildly different plans. The agent did not create the ambiguity. It showed that deciding what the work means was always the slow step.
- 1,300 agent PRs a week rest on three million tests Stripe's 1,300 unattended pull requests a week get quoted everywhere. What makes them work is the test layer and the harness underneath the agents.
- When code is cheap, agreeing on what to build is the bottleneck Slow typing used to force teams to agree before they built. With agents, a vague ticket produces two confident builds, so the fix moves upstream into a short alignment doc.
- When code is cheap, the design decision is the expensive part When a full feature costs a few dollars to generate, throwing code away stops being waste and becomes the cheapest way to test an idea. The constraint moves from writing the code to deciding what survives.
- Review the short alignment doc, not the thousand-line plan The team that popularized research, plan, implement published what they got wrong. Read the code, and put human attention on the short doc before the plan, where a bad assumption is still cheap to fix.
- The costly mistake is hovering over your agent Writing 20 lines by hand is no longer the overcorrection to worry about. Staying in the loop so tight that the agent never gets room to work costs far more.
- AI velocity without engineering discipline fires slop A framework sorts tech roles into four archetypes, and it reads like a raid party. AI rollouts without engineering discipline add damage output with no tank and no healer. Agentic engineering balances the party.
- Agent-written code breaks what code review was for Code review was never mainly about catching bugs. It kept the team's mental model aligned, and agent-written code breaks that loop before anyone has built the replacement.
- AI writes your tests, but not the one for the right problem A suite at 94% coverage, every test green, for a feature no user completed. The test that checks the business need depends on context only humans can supply.
- Cheap code makes engineering discipline worth more Generating code got cheap, and anyone can do it. Engineering systems that hold up in production is the skill that gained value.
- AI makes code easy, and only a spec keeps it simple Conversational coding piles every instruction onto the last until the code tangles. Rich Hickey's distinction between easy and simple explains why, and a research, plan, implement process is the fix.
- Do the sprint planning work before the planning meeting Most of what a planning meeting answers needs data, not a meeting. Agents split stories, map dependencies, order tasks, write evil user stories and check acceptance criteria before anyone sits down.
- Do the refinement research before the refinement meeting Refinement meetings exist to clarify requirements and surface blockers. An agent with codebase access does most of that research and questioning before the meeting, so the team only decides.