<?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 Peter Oh on Medium]]></title>
        <description><![CDATA[Stories by Peter Oh on Medium]]></description>
        <link>https://medium.com/@peterohsw?source=rss-ed5ae9611ca2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6EI8jD1z81Dq7MqS_HirWg.jpeg</url>
            <title>Stories by Peter Oh on Medium</title>
            <link>https://medium.com/@peterohsw?source=rss-ed5ae9611ca2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 11:05:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@peterohsw/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[Coding Agents Can’t Automate Away Human Judgment]]></title>
            <link>https://medium.com/@peterohsw/coding-agents-cant-automate-away-human-judgment-f4ebe1baa35e?source=rss-ed5ae9611ca2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4ebe1baa35e</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[openai-codex]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Peter Oh]]></dc:creator>
            <pubDate>Tue, 27 Jan 2026 04:48:45 GMT</pubDate>
            <atom:updated>2026-01-27T04:48:45.396Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LEczH51NOjUDBJncio-_yQ.png" /></figure><p>After 450 Tickets, Cognitive Balance and Human Judgment Become the Scarce Resource</p><p>When I wrote my first two articles, I was trying to make sense of something that had quietly taken over my nights and weekends. The first was about <a href="https://medium.com/@peterohsw/from-vibe-coding-to-systems-engineering-how-i-scaled-my-ai-dev-workflow-744e00ec0041"><strong>moving from vibe-coding to something more disciplined — building a multi-agent AI development system</strong></a><strong> </strong>that could scale without collapsing under its own complexity. The second reflected on <a href="https://medium.com/@peterohsw/what-218-tickets-taught-me-about-scaling-ai-coding-agents-704e5f52fd80"><strong>what held up after 218 tickets</strong></a>, when the novelty wore off, and patterns in agent behavior, roles, and guardrails became impossible to ignore.</p><p>Readers of the second article might remember that Gemini-cli misbehaved badly enough that I eventually fired Gemini. From conversations with others who have used Gemini-cli, that behavior seems fairly consistent. Gemini-cli is simply too creative to be contained within a strict QA role.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9wtyiocUM1L4rfJXzC-5Cw.png" /><figcaption>Gemini-cli responded when I ran out of patience</figcaption></figure><p>I replaced it with another Codex instance, and the performance difference was night and day. That consistency — Codex as both engineer and QA, and Claude-code as the steady and reliable architect — is what allowed me to move from 218 tickets to more than 400. But along the way, something shifted.</p><blockquote>As the cost and time required to get work done through coding agents collapsed, the work itself stopped being the bottleneck. I did.</blockquote><p>Instead of debugging prompts or fixing workflows, I found myself wrestling with questions no agent could answer. What should I work on next? What deserves cleanup versus tolerance? Which debt is strategic, and which is just laziness wearing a disguise?</p><p>In practice, I was playing every role at once: product manager, engineering manager, architect, engineer, QA, security engineer, and database administrator. Not because the agents couldn’t code — but because they couldn’t decide what mattered.</p><p>Agents execute extremely well. They don’t choose which decisions to make. That distinction becomes painfully clear once the system starts moving faster than you can maintain the foundation it runs on!</p><h4>The Unsexy Work That Automation Accelerates</h4><p>One of the biggest myths about AI-driven development is that it removes toil. What it actually does is accelerate everything — including the unglamorous work that doesn’t ship new features.</p><p>CI/CD was the first wake-up call. In the first ten days of January alone, I burned through roughly 2,000 minutes of GitHub Actions. Not because anything was broken, but because jobs were mis-scoped, duplicated, or simply unnecessary. Automation didn’t optimize itself. It amplified inefficiency until the bill made it impossible to ignore.</p><p>No agent tells you it’s time to tame the CI/CD tiger. I had to step back and decide which tests and jobs should run on pull requests, which should run on merges to main, and which actually mattered before deploying to production.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4WIRgR9-kvSmSBsNjycvcw.jpeg" /><figcaption>Unchecked CI/CD jobs led to burning through 2000 minues within 10 days</figcaption></figure><p>Then there was test data. Analytics dashboards started to look… off. The counts didn’t add up. Trends felt noisy. Eventually, I realized the obvious: test data wasn’t being cleaned up after runs. Supabase didn’t know or care whether rows were “real” or “temporary.” Storage grew. Costs crept up. The system did exactly what it was told — and charged me for it.</p><p>That meant stopping feature work to teach the agents how to clean up after themselves, updating test scripts, and enforcing discipline that no model would volunteer to uphold.</p><p>Admin functionality was another slow burn. Feature flags multiplied. Permissions expanded. Toggles accumulated for edge cases that once felt small. Each flag made sense in isolation. Together, they created an admin surface that demanded ongoing attention, documentation, and cleanup. I had to balance admin usability, operational efficiency, and cognitive load — all at once.</p><p>Complexity crept in more quietly. Cyclomatic complexity rose as features piled on. Refactors stopped being optional hygiene and became mandatory just to preserve comprehension. No agent ever suggested slowing down to protect structural integrity. That’s not a failure — it’s simply not their job. The guardrails I put in place did their job; they halted a merge to main! I could override it or take time to instruct the agents to refactor the code to stay below the threshold, essentially paying down tech debt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-xzSwhHtEzUAuKFLdr0Pdw.jpeg" /><figcaption>Cyclomatic Complexity checks as part of CI run</figcaption></figure><p>Automation didn’t remove these problems. It made them arrive sooner.</p><h4>Architecture Is Still a Human Responsibility</h4><p>If there’s one lesson that crystallized for me in this phase, it’s this: architecture is not code. It’s judgment exercised over time.</p><p>Agents are excellent at execution. They’re good at local optimization. They follow constraints faithfully when those constraints are explicit. What they don’t do — at least not today — is decide where boundaries should exist in the first place.</p><p>No agent notices when a zone boundary has been violated. No agent wakes up worried about long-term coherence. No agent feels the accumulating risk of a system that’s becoming harder to reason about.</p><blockquote>Those decisions still sit squarely with humans.</blockquote><p>As the system grew, enforcing domains, lint rules, complexity thresholds, and CI gates became non-negotiable. Not because the agents were reckless, but because scale demands that violations be impossible — not merely discouraged.</p><p>That kind of thinking — prioritization, boundary-setting, saying no — isn’t something you can automate away. It’s the work. And it mirrors what real teams and startups juggle every day: balancing feature velocity, cognitive load, and human judgment. That burden doesn’t disappear with AI-assisted development. It compresses time and increases frequency.</p><h4>Full Auto Mode: Power, Fragility, and Cost</h4><p>For most of the system’s life, I acted as a human-in-the-loop — posting messages between terminals running coding agents to move tickets from TO-DO to MERGED, DEPLOYED, and DONE. It was predictable and consistent. The downside was obvious: nothing progressed while I was away from my keyboard. I couldn’t take advantage of token reset windows or idle time if I was busy.</p><p>About 20 tickets ago, curiosity got the better of me. I pushed hard into full auto mode. Non-interactive execution — codex on steroids. Minimal human intervention. Let the harness run. I started the agents inside a script that looped and polled an S3-based mailbox to advance the workflow.</p><p>There are real upsides. You can kick off work and reclaim your time. Long-running tasks don’t require babysitting. For well-understood, repeatable changes, it feels like leverage. There’s a strange satisfaction in stepping away and coming back to a terminal that shows the PR has been merged and is waiting to be deployed.</p><p>But the fragility shows up quickly.</p><p>Permissions become a first-class concern when nothing is interactive. Security boundaries that once felt theoretical suddenly matter. Tools break in ways that stall the entire workflow. It took multiple tickets to harden the scripts the agents call to prevent breakdowns in the automated workflow. Contracts between agents are harder to enforce when no human is watching the seams.</p><p>In one case, acceptance criteria weren’t programmatically enforced. The QA agent kept suggesting “improvements” that were completely outside the scope of the ticket. The engineer agent happily complied. Turn after turn. I didn’t interrupt — partly out of curiosity. Surely it would converge.</p><p>It didn’t.</p><p>After 16 turns, the workflow halted — not because the job was done, but because credits ran out. The agents didn’t stop because they were finished. They stopped because they were out of fuel.</p><blockquote>Even the old problems don’t go away in full auto mode — they just get more expensive. Prompt drift still happens. Misinterpretations still occur. The difference is that mistakes compound quietly instead of being corrected mid-flight.</blockquote><p>I found myself facing a real tradeoff. Interactive mode is slower, but human judgment intervenes early. Full auto is faster, but far less forgiving. One optimizes for predictability. The other optimizes for autonomy.</p><p>You don’t get both for free.</p><p>Another thing I learned. I assumed that Codex running in CLI and exec modes behaves the same. I was wrong. In exec mode, Codex thinks more, explores more options, tries to be comprehensive, and aims to be perfect. Even though it appeared faster because there were fewer interruptions and interactions, it was consuming more tokens and not necessarily better. While I now have the option to go into full auto mode, I’m not convinced I will get more value from it.</p><h4>What I’d Tell Builders and Founders</h4><p>For founders, solo builders, or anyone considering starting something now: the barrier has never been lower. The time from idea to working system is astonishingly short. Feedback loops are compressed. You’ll experience both gratification and frustration faster than you expect.</p><p>That’s a good thing. Just build something. Watch what cracks. Start over if you need to.</p><p>For those considering full auto mode with agents, don’t think of it as a leap of faith. Think of it as a risk transfer. You’re not removing responsibility — you’re deciding when you’ll discover where it sits.</p><blockquote>Autonomy is powerful. It’s also unforgiving.</blockquote><h4>The Real Lesson</h4><p>Looking back, none of the hardest problems I encountered were solved by smarter models or better prompts. They were solved by clearer priorities, tighter boundaries, and a willingness to slow down when the system demanded it.</p><p>AI accelerates systems. Systems amplify values. Humans still choose which values matter.</p><p>The future of AI-assisted development isn’t about letting agents run free. It’s about knowing exactly when to take your hands back on the wheel.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4ebe1baa35e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[# What 218 Tickets Taught Me About Scaling AI Coding Agents]]></title>
            <link>https://medium.com/@peterohsw/what-218-tickets-taught-me-about-scaling-ai-coding-agents-704e5f52fd80?source=rss-ed5ae9611ca2------2</link>
            <guid isPermaLink="false">https://medium.com/p/704e5f52fd80</guid>
            <category><![CDATA[systems-thinking]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[agentic-workflow]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <dc:creator><![CDATA[Peter Oh]]></dc:creator>
            <pubDate>Mon, 05 Jan 2026 06:02:19 GMT</pubDate>
            <atom:updated>2026-01-05T06:02:19.172Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dOcBkGFjLsqcIGCAm6h_kQ.png" /></figure><h3>What 218 Tickets Taught Me About Scaling AI Coding Agents</h3><p>When I published my first article about moving from <a href="https://medium.com/@peterohsw/from-vibe-coding-to-systems-engineering-how-i-scaled-my-ai-dev-workflow-744e00ec0041"><strong>vibe coding</strong> to a multi-agent AI development workflow</a>, the system was still young. It worked — but it hadn’t yet been tested under sustained, real-world load.</p><p>Since then, the system has processed <strong>218 tickets</strong>, grown to <strong>44K lines of code across 262 files</strong>, and expanded well beyond its original scope. Along the way, it absorbed new capabilities that forced architectural change, not just incremental tweaks.</p><p>What I learned surprised me.</p><p>Scaling AI coding agents is <strong><em>not</em></strong> primarily about better prompts or smarter models. It’s about <strong><em>roles, boundaries, context discipline, and guardrails</em></strong> — the same forces that govern successful human engineering organizations.</p><p>This is what actually held up. And what didn’t.</p><h4>From Vibe Coding to an Agent Organization</h4><p>The first major shift was formalizing agent roles — and enforcing them.</p><p>The system now operates with three clearly defined agents:</p><p>- <strong>Architect (Claude)</strong><br> Responsible for system design, planning, and writing epics and stories.<br>- <strong>Engineer (Codex) </strong><br> Implements solutions strictly according to the plan.<br>- <strong>QA (Gemini) </strong><br> Validates correctness, coverage, and regressions — without modifying source code.</p><p>This separation sounds obvious. But in practice, <strong><em>role clarity matters more for AI agents than it does for humans</em></strong>.</p><blockquote>Agents don’t just differ in intelligence. <br>They differ in <strong><em>behavioral tendencies</em></strong>.</blockquote><h4>When the “Smarter” Agent Was the Worst Engineer</h4><p>At one point, I deliberately swapped roles.</p><p>Gemini was assigned as the Engineer, and Codex as QA, using a ticket of comparable complexity.</p><p>The results were unambiguous:</p><p>- Gemini required <strong>five reworks</strong> to land the implementation correctly.<br>- Codex, acting as QA, consistently identified issues but lacked implementation efficiency.<br>- When roles were restored, Codex completed similar tickets cleanly and predictably.</p><p>Then something unexpected happened.</p><p>On a subsequent ticket — without being prompted — the Architect agent (Claude) <strong>explicitly recommended assigning Codex as the Engineer</strong>, citing prior performance.</p><p>I have screenshots to prove it. <em>[You may have a totally different experience from mine.]</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kbk1_yZDN86vadra2FJM0A.png" /><figcaption>5 Rounds by Gemini to get it right</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jl--SZFEO0BH2s10jzOaMw.png" /><figcaption>Claude-code recommends assigning the next ticket to Codex</figcaption></figure><p>This wasn’t prompt engineering. <br>It was <strong><em>emergent systems behavior</em></strong>: performance history influencing orchestration decisions.</p><blockquote>Agent selection is an organizational design problem, not a model comparison problem.</blockquote><h4>What Long-Running Agent Behavior Reveals</h4><p>After 218 tickets, patterns emerge that don’t show up in short demos.</p><p>Here’s what sustained use revealed:</p><p><strong>Gemini (QA)</strong><br> — Crashed 4 times<br> — Violated role boundaries 3 times by attempting to modify source code<br><strong>Claude (Architect)</strong><br> — Violated role once by drifting into implementation (largely to preserve token usage)<br><strong>Codex (Engineer)</strong><br> — Zero role violations<br> — Most consistent execution across the entire system</p><blockquote>At scale, <strong><em>agent reliability compounds</em></strong>. <br>Small violations that feel tolerable early become expensive over time.</blockquote><p>Agents are not stateless tools. <br>They develop observable behavioral signatures.</p><h4>Scaling the System Changed the Architecture</h4><p>As the workflow matured, the system absorbed new capabilities that were <strong><em>not</em></strong> minor enhancements. Each one forced architectural changes across ingestion, indexing, security, and deployment.</p><p>Notable additions included:</p><p>- <strong>Email forwarding and indexing</strong><br>- <strong>Scanned PDF ingestion and processing</strong><br>- <strong>Token usage tracking as a first-class concern across indexing and querying</strong><br>- <strong>A WebApp for administration and analytics</strong><br>- <strong>A separate CI/CD pipeline for the WebApp</strong>, with its own gates and labels<br>- <strong>Full GitHub Actions workflows</strong> for the core system:<br> — Security scans<br> — Cyclomatic complexity checks<br> — Smoke tests<br> — End-to-end tests<br> — Baseline quality evaluations before production deployment</p><p>These features touched multiple domains simultaneously.</p><blockquote>This is where <em>vibe coding breaks down</em>.<br>Without constraints and guardrails, every new feature increases entropy.</blockquote><h4>Token Economics Became a Systems Problem</h4><p>As the system scope expanded, token usage emerged as a real bottleneck<strong>—not because of individual LLM calls, but because of coordination overhead among coding agents</strong>.</p><p>I introduced <strong>token cost ledgers</strong> to track consumption per ticket and per role.</p><p>The baseline was revealing:</p><p>- <strong>~22K tokens per ticket</strong><br>- Architect consumed <strong>48%</strong><br>- Jira interactions were the single largest contributor</p><blockquote>This wasn’t wasted “thinking.” <br>It was wasted <strong>coordination</strong>.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*puNgsD_lM3q18Zg8cRG0Lw.png" /><figcaption>Token consumption using Jira ADF</figcaption></figure><h4>Leaner Collaboration Through Context Packets</h4><p>To reduce coordination friction, I redesigned how agents exchange information.</p><p>Instead of long Jira comment threads and repeated context re-ingestion, I introduced <strong>context packets</strong>:</p><p>- Each ticket has an <strong>S3-backed context folder</strong><br>- Canonical artifacts produced by:<br> — Architect<br> — Engineer<br> — QA<br>- A <strong>manifest file</strong> records:<br> — Artifact type<br> — Producing role<br> — Timestamp<br> — Purpose</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1o-PUWGHgW4AwobdnwlLBQ.png" /><figcaption>Example of QA S3 artifact</figcaption></figure><p>Before starting work, each agent reads the manifest and existing artifacts.</p><p>Jira comments were removed entirely.</p><blockquote>Context stopped being conversational. <br>It became canonical.</blockquote><p><strong>Results:</strong><br>- Tokens per ticket dropped to <strong>~13K</strong><br>- Architect usage fell to <strong>38%</strong><br>- Engineer usage rose (by design) to <strong>~48%</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4NWQ28d2lj4h7ZL9FuJtrw.png" /><figcaption>Token consumption after switching to S3 artifacts and manifest</figcaption></figure><p>This wasn’t optimization by prompt. <br>It was optimization by <strong>workflow design</strong>.</p><h4><strong>Compact Knowledge Beat Tool Sprawl</strong></h4><p>I experimented with MCP-based integrations for tools like Jira. They worked — but at a cost:</p><p>- Frequent re-authentication<br>- Higher token consumption<br>- Increased brittleness</p><p>Instead, I introduced <strong>compact, role-specific JSON manuals</strong>:<br>- Tools<br>- Scripts<br>- Workflow expectations<br>- Known pitfalls</p><p>Each manual is:<br>- Small<br>- Deterministic<br>- Consulted before any work begins</p><p>This dramatically reduced:<br>- Curl brittleness<br>- Tool misuse<br>- Context over-fetching</p><p>Sometimes the most scalable solution is the least flashy one.</p><h4>Domains, Zones, and Guardrails Are Non-Negotiable</h4><p>As functionality expanded, I introduced <strong><em>domain zones</em></strong>:<br>- Search<br>- Security<br>- Admin and permissions<br>- Indexing<br>- WebApp</p><p>Cross-zone contamination is enforced via <strong>lint rules</strong>.</p><p>On top of that:<br>- Cyclomatic complexity thresholds are enforced in CI<br>- Violations fail the build<br>- Production deployment is gated by automated checks</p><p>Architecture documentation is generated automatically on every release:<br>- Modules and functions<br>- Dependency graphs<br>- Schemas</p><blockquote>At scale, violations must be impossible — not merely discouraged.</blockquote><p>This is what allowed the system to grow without fear of degradation.</p><h4>What All of This Was Actually Solving</h4><p>Every change described above addressed three core problems:</p><p>1. <strong>Efficient token usage in a multi-agent development system</strong><br>2. <strong>Scalable growth without losing control</strong><br>3. <strong>Preserving architectural integrity across agents and humans</strong></p><p>Once these were solved, something shifted.</p><p>Adding functionality stopped feeling risky. <br>Maintenance stopped feeling fragile.</p><p>The system became <strong><em>boring</em></strong> — in the best possible way.</p><h4>What I’d Tell Anyone Building with Coding Agents</h4><p>If you want real leverage from AI coding agents:</p><p>- Treat them like an engineering organization<br>- Define roles clearly and enforce them<br>- Budget tokens like compute<br>- Prefer small shared truths over massive prompts<br>- Build guardrails early<br>- Measure everything</p><p>The agentic age won’t be won by smarter agents alone.</p><p>It will be won by teams who learn how to <strong>engineer the systems those agents operate in</strong>. This is not something coding agents do proactively today, at least not yet, but I’m sure the big techs are working on it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=704e5f52fd80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[# From Vibe-Coding to Systems Engineering: How I Scaled My AI Dev Workflow]]></title>
            <link>https://medium.com/@peterohsw/from-vibe-coding-to-systems-engineering-how-i-scaled-my-ai-dev-workflow-744e00ec0041?source=rss-ed5ae9611ca2------2</link>
            <guid isPermaLink="false">https://medium.com/p/744e00ec0041</guid>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[agentic-workflow]]></category>
            <category><![CDATA[codex-cli]]></category>
            <category><![CDATA[cursor]]></category>
            <dc:creator><![CDATA[Peter Oh]]></dc:creator>
            <pubDate>Tue, 16 Dec 2025 14:16:54 GMT</pubDate>
            <atom:updated>2025-12-16T14:16:54.254Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ilvylY_dbzLWOWCfXycMHA.png" /></figure><h3><strong>From Vibe-Coding to Systems Engineering: How I Scaled My AI Dev Workflow</strong></h3><p>I didn’t start out trying to build a “system.”</p><p>I had an idea for a personal knowledge base — something that could ingest my documents, journals, emails, WhatsApp chats, and Notion notes and eventually reason over them using Custom GPT. Like many people, I started by <strong>vibe-coding</strong> with ChatGPT: one-off scripts, quick integrations, and glue code to connect Supabase, Railway, and a custom GPT.</p><p>It worked. Until it didn’t.</p><p>As the scope expanded — more data sources, more query types, more persistence, more correctness requirements — the cracks started to show. What began as a simple app quietly turned into a sprawling piece of software. And vibe-coding stopped being enough.</p><p>The core insight that followed was uncomfortable but clarifying:</p><blockquote>AI doesn’t break when it gets smarter. It breaks when the system around it doesn’t scale.</blockquote><h4>From Scripts to a System (The Breaking Point)</h4><p>At first, my velocity felt infinite, especially when it was a completely green field! I jumped between tools as needed:<br>* <strong>VS Code</strong> for local edits<br>* <strong>Cursor</strong> for fast refactors<br>* <strong>Antigravity</strong> and <strong>Claude-code</strong> for deeper reasoning<br>* <strong>ChatGPT</strong> for exploration and one-off scripts generation</p><p>Each tool was good at something. None of them shared context well.</p><p>Over time, several problems compounded. Token usage ballooned, and rate limits became real constraints. Context switching between tools meant I had to repeat myself constantly. Worse, each agent documented its own plans, but nothing was canonical. Refactors became risky because there was no stable “fallback point,” and the codebase grew faster than my mental model could keep up.</p><p>What started as a handful of scripts became:<br>* 30,000+ lines of code<br>* 150+ scripts, test, source files<br>* 10+ modules<br>* 25+ tables</p><p>At that point, rewriting wasn’t an option. What I needed wasn’t a better prompt or a smarter model. <strong><em>I needed a system that could evolve without collapsing under its own growing complexity.</em></strong></p><h4>Mental Model: From Assistant to Teammate</h4><p>The shift was not technical. It was conceptual.</p><p>Most AI coding workflows assume a single assistant that writes code, reviews it, and implicitly approves itself. That model collapses the moment the codebase becomes non-trivial.</p><p>Instead, I adopted a model I already trusted from real-world experience leading engineering teams:<br>1. One role <strong>writes</strong>.<br>2. One role <strong>reviews</strong>.<br>3. Another role <strong>owns intent and decisions</strong>.</p><p>In my setup, <strong>Codex</strong> acts as the <strong><em>Writer/</em>Claude-code</strong> acts as the <strong><em>Reader/Architect</em></strong>, and I remain the <strong><em>Orchestrator</em></strong>. All actions happen in iTerm2 between the AI coding agents. No more IDEs.</p><p>This wasn’t about slowing things down. It was about restoring <strong>cognitive independence</strong>. Once creation and review stopped sharing the same loop, quality stopped being accidental.</p><h4>System Architecture (Where Truth Lives)</h4><p>This system is not defined by which tools I used. It’s defined by <strong>where the truth lives</strong>.</p><p>At a high level:<br>* Jira <strong>holds intent:</strong> Scope, acceptance criteria, and workflow state.<br>* <strong>GitHub holds execution:</strong> Branches, PRs, and review history.<br>* <strong>AI agents operate through contracts:</strong> Explicit roles, permissions, and a set of tools they have access to<br>* <strong>A bot identity represents automation:</strong> Not a personal account, and not an invisible actor.</p><p>The result isn’t just an automation pipeline. It’s an <strong><em>execution ledger</em></strong><em> </em>— a durable record of why a functionality exists or why a particular software behavior performs the way it does, how it was built, and who/what validated it. Jira and GitHub serve as the conduit for shared context, with a clear contract between two AI coding agents and the human in the loop, who remains entirely in control. I could inspect the Jira ticket, its history and comments, and the specific PR linked in the Jira ticket.</p><h4>The Joy of a Working System</h4><p>This structure brought a profound shift to my work on my personal project. There is a distinct, almost tactile satisfaction in watching a Jira ticket move across the board — not because I dragged it, but because the system did.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*liECtY8iUIZa6dzlcWxlUA.png" /><figcaption>Snapshot of the Jira Board</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EJOVreqHgXHAdXWOWoNehQ.png" /><figcaption>Example of a Jira ticket</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BSj__09SjVhjIsF_VT4BDg.png" /><figcaption>An epic with pretty decent amount of work done!</figcaption></figure><p>Seeing a PR generated by the ‘Writer’ agent, then receiving a thoughtful critique from the ‘Reviewer’ agent, felt like watching a well-oiled machine. The back-and-forth was captured, the decisions were recorded, and when I finally clicked merge, it wasn’t a leap of faith.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0A3CD7MIH96_PFwStPCfjQ.png" /><figcaption>Selection of PRs</figcaption></figure><p>When the deployment pipeline turned green, and I opened my knowledge base to use the new capability, the joy wasn’t just in the feature itself. It was in the deep, confident knowledge of its history. I knew exactly why it existed, how it came to be, and that its creation was repeatable. It wasn’t magic; it was engineering.</p><p>Claude-code and Codex have completed 30+ Jira tickets, including bug fixes that would normally require careful human review. That throughput is only possible because the system now absorbs complexity — allowing velocity to increase without pushing either the AI agents or me into cognitive overload.</p><h4>Why This Matters for Agentic Memory</h4><p>The irony wasn’t lost on me.</p><p>I was building an <strong>agentic memory layer</strong> — schemas, episodic storage, reference tracking, TTLs — a system designed to <strong><em>remember</em></strong>. But the way the code was being produced had no memory of its own.</p><p>Without traceability, refactors become fear-driven and regressions become mysterious. If AI is going to help build memory systems, the process that creates those systems must itself be <strong>memorable</strong>: inspectable, explainable, and reconstructable months later. In fact, I was able to prompt one of them to review all completed Jira tickets and PRs, write up a retrospective, and compare the work done against the plan!</p><blockquote>Vibe-coding produces output. Systems need history, traceability, and auditability.</blockquote><h4>Tradeoffs &amp; Failure Modes</h4><p>This approach is not free.</p><p><strong>1. Slower than demos</strong><br>I give up the illusion of infinite speed. Reviews take time. Acceptance criteria matter.</p><p><strong>2. More friction upfront</strong><br>Roles must be defined. Boundaries enforced. Nothing “just happens” anymore — and that’s the point.</p><p><strong>3. Tooling won’t save you</strong><br>The hardest failures I hit weren’t model-related. They were filesystem permission issues, sandbox boundaries, and identity confusion. AI accelerates you straight into infrastructure reality.</p><p><strong>4. The biggest misconception</strong><br>People think AI fails because it lacks context. While partially true, in practice, AI fails because <strong>we don’t give it structure</strong> to ensure context is preserved and shared.</p><h4>Synthesis: What Experienced Engineers See Differently</h4><p>Experienced engineers don’t obsess over which editor or model is best. They obsess over ownership, review boundaries, rollback paths, and decision records.</p><blockquote>This system made something very clear to me: <strong>AI doesn’t reduce the need for engineering discipline. It raises the cost of not having it.</strong></blockquote><p>When AI is treated as a first-class participant — with roles, identity, and limits — it becomes more reliable, not less. Not because the model is smarter, but because the system is.</p><h4>The Real Shift</h4><p>I believe there’s still a place for “vibe-coding”, especially for rapid prototyping, ideation, etc. This shift is more appropriate when the scope and complexity of the software exceed the ability of a single AI tool to support at scale, with quality and predictability.</p><p>The future of AI-assisted engineering isn’t about faster typing. It’s about <strong>designing workflows where intelligence compounds instead of evaporates</strong> as systems grow.</p><p>Agentic systems don’t need more autonomy; they need better constraints that enable shared context and clear contracts for how they work together, with the human in complete control of the workflow.</p><p>A final thought. If you want AI to help you build long-lived systems — memory layers, platforms, infrastructure — start by giving it something most demos ignore: <strong>A place in the team, not just the editor.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=744e00ec0041" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>