<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by John Lee on Medium]]></title>
        <description><![CDATA[Stories by John Lee on Medium]]></description>
        <link>https://medium.com/@rustout?source=rss-6ff2cff5ed4b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*-0e9gMFccH-UytF5YZpOcg.jpeg</url>
            <title>Stories by John Lee on Medium</title>
            <link>https://medium.com/@rustout?source=rss-6ff2cff5ed4b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 09:17:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rustout/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I Used to Ship 500 Commits a Year by Hand.]]></title>
            <link>https://medium.com/@rustout/i-used-to-ship-500-commits-a-year-by-hand-b370223ef6ad?source=rss-6ff2cff5ed4b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b370223ef6ad</guid>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[spec-driven-development]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[agentic-workflow]]></category>
            <category><![CDATA[agentic-coding]]></category>
            <dc:creator><![CDATA[John Lee]]></dc:creator>
            <pubDate>Thu, 26 Nov 2026 12:31:02 GMT</pubDate>
            <atom:updated>2026-11-26T12:31:02.586Z</atom:updated>
            <content:encoded><![CDATA[<h3>I Used to Ship 500 Commits a Year by Hand. Now I Build the Guardrails That Keep AI From Breaking Production.</h3><p><em>Why Vibe Coding hits a wall in real businesses — and how turning senior engineering intuition into executable SOPs lets both junior devs and AI agents ship safely.</em></p><blockquote><strong><em>TL;DR — The Shift from Typing Speed to Verification Speed</em></strong></blockquote><ul><li><strong>The core change:</strong> My annual commit volume stayed flat (~500/yr), but my role shifted from writing code by hand to building the deterministic tests, business SOPs, and verification scripts that keep coding agents from breaking production.</li><li><strong>Why Vibe Coding hits a wall:</strong> Generating prototypes is cheap, but in mature codebases, unconstrained AI introduces architectural drift and subtle business-logic bugs at 10x speed.</li><li><strong>The human-and-agent multiplier:</strong> Turning tacit senior knowledge into structured Markdown specs doesn’t just guide AI — it creates a single source of truth that lets both new hires and coding agents ship safely on day one.</li><li><strong>The order of operations that works:</strong></li></ul><blockquote>- Document implicit conventions first.</blockquote><blockquote>- Make “done” machine-checkable (tests/linters before agents).</blockquote><blockquote>- Mine operation logs into business SOPs.</blockquote><blockquote>- Run isolated loops (git worktree) and track failure rates.</blockquote><blockquote>- Move verification upstream (audit PM specs before writing code).</blockquote><blockquote>- Keep the revert path sacred.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5PAa1EYQbEo_rHmxUR6cjw.png" /><figcaption>The 4-Layer stack: Conventions, SOPs, Loop Engineering, SDD</figcaption></figure><p>In 2024, I pushed 493 commits to a single repository — my personal record, with 103 in one month alone. Back then, my workflow was built around mechanical speed: keyboard-first navigation, multi-cursor edits, custom snippets, and refactoring patterns memorized through years of repetition.</p><p>In 2026, I made 462 commits in that same repository. On paper, the output looks nearly identical. In practice, the diff tells a completely different story. In 2024, almost every commit was hand-written implementation code. In 2026, a large share consists of documentation, verification scripts, contract pins, and commits tagged [round-13]—traces of autonomous agent loops I ran and reviewed.</p><p>The commit count stayed flat, but my actual job changed from writing code to designing the guardrails that keep agents from breaking it.</p><p>Most writing on AI adoption swings between vendor hype and existential dread. My experience has been neither. Integrating coding agents into a mature codebase turned out to be a software engineering methods problem — one that forced me to unlearn habits I spent a decade building.</p><h3>Act 1: What “fast” used to mean</h3><p>I’ve worked as a software engineer since 2013, starting with Android apps before moving to backend systems. For most of my career, being fast meant mechanical execution speed: how quickly you could read a file, trace a call stack, and type out a refactor.</p><p>I trained that skill deliberately. Between 2018 and 2021, I maintained three practice repositories — implementing the same problems across three languages with different type systems — logging roughly 1,300 commits of pure functional programming exercises. None of it was for a product; it was just deliberate practice.</p><p>At my company, where I’ve worked since 2017, that speed paid off. I built our admin dashboard frontend essentially solo (414 of the 415 commits on that repo are mine) and became the primary author of its Go backend, which now sits at roughly 1,800 commits. Across the company’s codebase, I’ve contributed around 3,300 commits across 16 repositories.</p><p>By 2024, I had spent ten years removing friction between my brain and the keyboard. Then the keyboard stopped being the bottleneck.</p><h3>Act 2: When typing stopped mattering</h3><p>My initial reaction to adopting coding agents wasn’t excitement; it was friction. Specifically, code was suddenly appearing faster than I could verify it.</p><p>Engineers who type and refactor quickly have an implicit advantage: we review <em>while</em> we write. Every line gets sanity-checked at the moment of creation because we are the ones typing it. When an agent generates a multi-file diff at 10x your typing speed, that continuous review loop breaks down. You shift from author to auditor, reviewing large blocks of code written by a system that sounds confident even when its logic is subtly broken.</p><p>My early experiments confirmed this. I ran parallel git-worktree loops to let agents explore bug fixes autonomously across 25 rounds, generating 25 exploration logs. Three worktrees failed outright, and two more produced patches I had to discard because the implementation drifted away from our architecture. Git made everything easy to roll back, so nothing broke in production, but it proved that letting an agent run unsupervised wasn&#39;t a viable workflow.</p><p>The root cause wasn’t model capability. The real issue was that my acceptance criteria only existed in my head. An agent cannot fail a test I never wrote, and it cannot follow an architectural convention I never documented. For a decade, my typing speed had masked the fact that I was relying on unwritten tacit knowledge — and agents can’t read your mind.</p><p>That realization changed how I approach the work. In AI-assisted development, generation is cheap; verification is the real bottleneck.</p><h3>Act 3: Rebuilding the workflow in dependency order</h3><p>Over the past two years, I’ve tested dozens of agent CLIs, IDE plugins, and workflow wrappers. Specific tools change every few months, so optimizing for a single vendor is a waste of time. What actually holds up is a layered engineering methodology.</p><p>More importantly, these layers have a strict dependency order. If you skip the foundational ones, the upper layers just generate plausible-looking bugs faster.</p><h3>Layer 1: Turning onboarding SOPs into agent guardrails</h3><p>Years ago, while scaling our internal dashboard at my company, I documented our core architecture — routing patterns, data models, and permission checks — into clear Markdown SOPs. My original goal had nothing to do with AI: I wanted a junior engineer to join the team and ship production-ready code on day one without relying on tribal knowledge.</p><p>When coding agents arrived, those exact human-onboarding docs became the foundation of our AI workflow. Today, both I and fellow engineers on my team feed these same Markdown specs directly into our agents. Paired with strict automated test suites that define “done,” the rules that once kept new hires safe now keep AI agents from hallucinating architectural drift.</p><p>Without hard boundaries, an autonomous agent loop has no reliable stop condition and will happily fabricate fixes for its own mistakes. Tests and written conventions define the sandbox the agent is allowed to operate in.</p><h3>Layer 2: Mining operation logs into business context</h3><p>Code conventions tell an agent <em>how</em> to format and structure changes, but they don’t explain <em>why the business behaves the way it does</em>. That domain logic lived in senior engineers’ heads and across thousands of scattered operation logs.</p><p>To make that context legible to an agent, I extracted roughly 7,300 audit records, cleaned and clustered them using Python scripts, and distilled them into Standard Operating Procedures (SOPs) and role-intent mappings: who performs which action, under what conditions, and with what expected outcome. These documents live directly in the repository next to the source code. Because I don’t blindly trust my own data summaries either, the repo also includes the scripts required to re-derive every key metric directly from the raw logs.</p><p>Spec-driven development without business context usually produces syntactically clean code that violates implicit domain rules.</p><h3>Layer 3: Controlled loop engineering</h3><p>Once deterministic guardrails (Layer 1) and business context (Layer 2) were in place, autonomous exploration became useful. Using git worktree, I run agents in isolated sandboxes with strict retry caps, log every run, and require human review before anything merges to main.</p><p>Keeping track of failures is critical. In my 25-round benchmark, 3 rounds failed outright and 2 were unusable. Documenting why those runs failed — whether due to missing context, ambiguous specs, or test gaps — gave me concrete feedback on what to fix in Layers 1 and 2.</p><h3>Layer 4: Spec-driven development with human judgment</h3><p>At the top of the stack, the workflow shifts upstream. A PM writes a feature spec in natural language, an agent parses it into structured requirements, and a separate verification pass cross-checks those requirements for edge cases and logic gaps. This pre-code analysis has already caught real specification flaws before a single line of Go or TypeScript was written.</p><p>At that point, I step in to do the one part I don’t delegate: choosing between architectural trade-offs. Keeping a human in the loop doesn’t mean manually reading every boilerplate line; it means spending your attention on risk, system coupling, and deciding whether a feature should be built that way at all.</p><h3>Act 4: What changed, and what didn’t</h3><p>Looking at the numbers, the transformation is much more grounded than typical AI productivity claims.</p><p><strong>What didn’t change:</strong> Total output volume. My commit cadence is roughly the same as my manual peak. Agents did not make me a 10x engineer, and I remain skeptical of anyone claiming that kind of multiplier on production systems.</p><p><strong>What changed — the composition of the work:</strong></p><figure><img alt="| 2024 | 2026 | | — — | — — | | Nearly all hand-written implementation code | Mix of implementation, docs, verification scripts, and contract pins | | Inline mental verification while typing | Automated verification via tests and CI scripts | | Single-threaded execution | Parallel worktrees with sequential human review | | Tacit knowledge kept in my head | Explicit conventions and SOPs checked into the repo | | “Done” = passes manual local checks | “Done” = passes independent verification script" src="https://cdn-images-1.medium.com/max/722/0*aV4EyvwcdIAobOw9" /><figcaption>What changed from 2024 to 2026</figcaption></figure><p><strong>What changed most — side-project throughput:</strong></p><p>Personal projects that used to sit untouched in a backlog are finally shipping. Over the past few months, I built a knowledge-management system (~1,700 commits in two months), rewrote a language-learning tool (~950 commits), and turned a messy collection of daily notes into a public prompt-library repository I use every day.</p><p>A large portion of those commits were generated by agents, not typed by hand. Commit count stopped measuring typing effort the day I merged my first agent worktree — which reinforces the core shift: raw typing speed is no longer a useful metric for engineering output.</p><h3>What this means for shipping products</h3><p>For product managers and engineering leaders adopting AI tools, this shift changes what actually drives delivery speed:</p><ul><li><strong>Preventing wasted engineering cycles:</strong> Catching a contradictory requirement during automated spec analysis takes minutes. Catching it after an agent — or a developer — has already generated thousands of lines of code costs days of rework.</li><li><strong>Reusable infrastructure over one-off output:</strong> When senior engineers externalize business rules into version-controlled SOPs and automated tests, the payoff compounds. The exact same guardrails onboard new human hires faster and keep AI agents reliable across future model upgrades.</li><li><strong>Protecting production stability:</strong> Anyone can Vibe Code a standalone demo in an afternoon, but shipping safely into a live business system requires deterministic boundaries. True velocity comes from reducing the cost of verification and rollback, not just accelerating code generation.</li></ul><h3>Current limits of coding agents</h3><p>To avoid over-relying on automation, I keep four practical limitations in mind:</p><ul><li><strong>Agents lack operational intent.</strong> They optimize strictly for whatever objective is legible in their context window. Deciding whether a refactor is worth introducing cross-service coupling is a strategic call an engineer has to make, not an optimization target a model can infer.</li><li><strong>Cost-benefit awareness is human.</strong> Left unchecked, a model will gladly build an enterprise-grade abstraction layer for an internal script used by two people. Judging whether a solution is thorough or over-engineered requires business context and risk appetite.</li><li><strong>Codebases still drift.</strong> Even with good prompts, agents introduce subtle structural drift over time. Version control is what keeps that safe — never allow an agent to commit or merge changes that you cannot cleanly diff and revert.</li><li><strong>Fluency is not comprehension.</strong> Models are very good at generating plausible explanations for broken logic. For any load-bearing change, I run a structured review routine to force the agent to defend its assumptions against edge cases.</li></ul><h3>A practical order of operations</h3><p>If you are a fast, skeptical engineer sitting on a codebase full of unwritten rules, here is the sequence I wish I had followed from day one:</p><ol><li><strong>Document your conventions first.</strong> If your team’s real patterns only exist in senior engineers’ heads, agents will copy whatever bad patterns happen to be most visible in the repo.</li><li><strong>Make “done” machine-checkable.</strong> Invest in unit tests, integration tests, linters, and strict type contracts before scaling up agent usage. Verification has to exist before generation.</li><li><strong>Extract your operational logic.</strong> Mine your audit logs, support tickets, or incident reports to document how the business actually works.</li><li><strong>Run isolated loops and track failure rates.</strong> Use git worktree or containers, cap retries, and log failed runs so you can see where your guardrails are leaking.</li><li><strong>Move verification upstream.</strong> Use agents to audit specs and requirements for contradictions before generating implementation code.</li><li><strong>Protect the revert path.</strong> Keep staging gates, small PRs, and clean git histories. Autonomy is only safe when rollback is trivial.</li></ol><h3>Closing thoughts</h3><p>I still write code by hand — complex queries, critical bug fixes, and architectural prototypes — but raw typing velocity is no longer the core of my job.</p><p>The skill that matters now is verification speed: how quickly you can read a diff, spot hidden assumptions, write a test to falsify bad logic, and decide what is worth shipping. Pairing a fast code generator with slow manual review just creates a bottleneck. Pairing it with deterministic tests, clear business SOPs, and targeted human judgment turns it into a reliable engineering workflow.</p><p><em>I work as a senior software engineer in Taiwan. The repository metrics cited above are real, with internal project names and ticket IDs omitted.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b370223ef6ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>