<?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 Naofel EL ALOUANI on Medium]]></title>
        <description><![CDATA[Stories by Naofel EL ALOUANI on Medium]]></description>
        <link>https://medium.com/@naofel.eal?source=rss-a0420b692856------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*asxVfjKshdabzndw2ZWv5Q.jpeg</url>
            <title>Stories by Naofel EL ALOUANI on Medium</title>
            <link>https://medium.com/@naofel.eal?source=rss-a0420b692856------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 21:31:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@naofel.eal/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[Our AI Agent Does Not Write Code. It Ships Features.]]></title>
            <link>https://medium.com/totalenergies-digital-factory/our-ai-agent-does-not-write-code-it-ships-features-e5d679d67d71?source=rss-a0420b692856------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5d679d67d71</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Naofel EL ALOUANI]]></dc:creator>
            <pubDate>Mon, 25 May 2026 20:26:58 GMT</pubDate>
            <atom:updated>2026-05-25T20:26:58.512Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>How we built an autonomous orchestrator that reads tickets, implements code, and follows up on review feedback — while keeping developers in control of what ships.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Eh48tjZYi8V9y0aX3_zAeg.png" /><figcaption>PANDA</figcaption></figure><p>We use Jira for ticketing, GitHub for version control and code review, and AI-powered coding agents to assist developers. At some point, a natural question emerged: what if we could automate the entire implementation cycle — from ticket intake to delivered code?</p><p>This article presents PANDA (Project Automation &amp; Delivery Assistant), an orchestration system we built to answer that question. PANDA connects Jira, GitHub, and an AI coding agent into a continuous delivery pipeline that operates autonomously while keeping humans in control of quality.</p><h3>The problem: mechanical work in a creative process</h3><p>The lifecycle of a typical ticket in a development team follows a predictable pattern:</p><figure><img alt="Typical ticket process" src="https://cdn-images-1.medium.com/max/1024/1*edTcPO2wjWKfUn7UXwk4yg.png" /><figcaption>Typical Ticket Process</figcaption></figure><p>This cycle takes between 4 and 6 hours of effective work per ticket. The key insight is that most of these steps are mechanical when the ticket is well-defined: reading a clear specification, navigating a familiar codebase, applying a bounded change, addressing review comments.</p><p>The question is not whether an AI agent can write code — it can. The real engineering challenge is: <strong>can we orchestrate an agent to manage the full lifecycle reliably, in a production environment, with proper security boundaries?</strong></p><h3>How PANDA works</h3><p>PANDA is an autonomous orchestrator that operates in explicit workflow phases. Each phase has clear entry and exit conditions, and the system transitions between them based on events from Jira and GitHub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eGWLRtT_J9KFst9xuYfjUQ.gif" /><figcaption>PANDA Jira Ticket Transition GIF</figcaption></figure><h3>Phase 1: Ticket intake</h3><p>The orchestrator continuously polls Jira. When a ticket transitions to “To Do”, PANDA evaluates its eligibility. Tickets with insufficient context (missing description, unclear acceptance criteria, ambiguous scope) are moved to “Blocked” with a comment explaining what information is needed.</p><p>Eligible tickets trigger the implementation pipeline: the orchestrator clones the relevant repositories, creates a feature branch, and launches the agent.</p><blockquote><em>PANDA supports multi-repository workflows. When a ticket spans a backend service and a frontend application, the agent works across both codebases and the orchestrator opens the corresponding pull requests.</em></blockquote><h3>Phase 2: Implementation</h3><p>The agent receives the ticket context and the checked-out repositories. It analyzes the existing code, implements the solution, and signals completion. The orchestrator then commits the changes, pushes to the remote, and opens pull requests on GitHub.</p><p>A complex multi-repository implementation typically completes in approximately 30 minutes (using Claude Opus as the underlying model).</p><h3>Phase 3: Technical validation</h3><p>A developer reviews the pull request. When review comments are posted, the orchestrator detects them and relaunches the agent on the reviewed branch. The agent addresses the feedback and pushes corrections. This cycle repeats until the reviewer approves.</p><h3>Phase 4: Business validation</h3><p>Once the pull request is merged, the ticket automatically transitions to “To Validate”. If the product owner posts a Jira comment with feedback, the agent picks up the ticket again, implements the corrections, and opens a new pull request.</p><h3>Phase 5: Done</h3><p>When all validations pass, the ticket reaches its terminal state.</p><h3>End-to-end sequence</h3><p>Here is the complete flow from ticket intake to delivery, showing how the orchestrator, agent, and external systems interact:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ZByCGMCmI7syMnF9WU3wQ.png" /><figcaption>End To End PANDA Sequence Diagram</figcaption></figure><h3>Architecture: two containers, zero trust</h3><p>Security is non-negotiable when giving an AI agent shell access to production code. PANDA’s architecture is built around a single principle: <strong>the agent never handles business-system secrets</strong>.</p><h3>The orchestrator</h3><p>The orchestrator holds all credentials and manages every interaction with external systems:</p><ul><li><strong>Polling</strong> — Continuously monitors Jira and GitHub for state changes</li><li><strong>Git operations</strong> — Clone, fetch, push, branch creation</li><li><strong>Credentials</strong> — Holds Jira API token and GitHub App private key</li><li><strong>Workflow</strong> — Manages state transitions and enforces timeouts</li><li><strong>Safety</strong> — Detects stale runs, kills zombie processes on startup</li></ul><h3>The agent</h3><p>The agent is deliberately constrained. It can write code, nothing else, to avoid any malicious prompt injection in the ticket:</p><ul><li><strong>Credentials</strong> — Receives only the LLM provider API key</li><li><strong>Workspace</strong> — Operates within a shared volume</li><li><strong>Communication</strong> — HTTP callbacks to orchestrator only</li></ul><h3>Design decisions: what PANDA deliberately does not do</h3><h3>No automated code review</h3><p>The technical validation remains human. PANDA accelerates implementation; it does not remove control over what ships to production. Every line of generated code is reviewed by a developer before merge.</p><p><strong>The bottleneck has moved.</strong> It is no longer implementation capacity. It is the ability to write well-defined tickets and to review pull requests promptly.</p><h3>No inference from ambiguity</h3><p>A poorly described ticket is a blocked ticket. Rather than guessing intent, the orchestrator identifies ineligible tickets and explicitly requests the missing information.</p><blockquote><em>Ticket quality directly determines implementation quality. This is by design — it incentivizes better ticket writing across the team.</em></blockquote><h3>No persistent state beyond the filesystem</h3><p>There is no database and no durable queue. PANDA persists workflows as JSON files and reconstructs state from Jira and GitHub on every poll cycle. This makes the system resilient to restarts and eliminates an entire class of state-synchronization bugs.</p><h3>What drastically improves implementation quality</h3><p>PANDA’s output is only as good as the context it receives. Beyond well-written tickets, we found that a few repository-level artifacts make a dramatic difference in implementation quality.</p><h3>AGENTS.md</h3><p>A dedicated file at the root of each repository that tells the agent <em>how</em> to work in this specific codebase. It includes coding conventions, naming patterns, testing expectations, commit message format, and common pitfalls.</p><p>Think of it as onboarding documentation — but for the agent. Without it, the agent produces generic code. With it, the output matches the team’s standards.</p><h3>Business documentation</h3><p>A purely functional document explaining the project’s domain context: what the application does, who the users are, what the core business rules are, and how features relate to each other. This gives the agent the “why” behind the code — without it, implementations are technically correct but miss domain nuances.</p><h3>Technical documentation</h3><p>A document describing the system’s architecture: how services interact, what external systems are involved (APIs, databases, message brokers), the project structure, and deployment topology. This prevents the agent from making incorrect assumptions about where code should live or how systems communicate.</p><h3>The compound effect</h3><p>Individually, each document helps. Together, they transform the agent from a generic code generator into something that understands your project. The investment in writing these artifacts pays off on every single ticket PANDA processes.</p><h3>Impact on team dynamics</h3><p>Since deploying PANDA, our team’s operating model has shifted. Developers no longer spend the majority of their time on well-defined implementation work. They focus on activities that require human judgment:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IKz84nleQt4xW0gVSo4b0g.png" /><figcaption>PANDA Impact</figcaption></figure><h3>Current limitations and roadmap</h3><p>PANDA processes tickets sequentially today. Upcoming developments include:</p><ul><li>Parallel execution: Processing multiple tickets concurrently</li><li>Pre-PR validation: Running automated test suites before opening pull requests</li></ul><h3>Summary</h3><p>PANDA is a performance optimization tool. It accelerates the implementation phase — the most time-consuming and mechanical part of the delivery cycle. But like any tool, its output quality depends directly on the inputs it receives.</p><p>To exploit PANDA at its full potential:</p><ul><li><strong>Well-structured tickets</strong> — Clear description, acceptance criteria, explicit scope</li><li><strong>AGENTS.md</strong> — Coding conventions, project patterns, and guidelines the agent must follow</li><li><strong>Business documentation</strong> — Domain context, business rules, and glossary</li><li><strong>Technical documentation</strong> — Architecture, external system interactions, project structure</li><li><strong>Consistent codebase</strong> — Clean, coherent code that the agent can learn from by example</li></ul><p>The better the context, the better the implementation. PANDA does not replace the need for clarity — it rewards it.</p><h3>Getting started</h3><p>PANDA is open-source and available on GitHub:</p><p><a href="https://github.com/Naofel-eal/PANDA">https://github.com/Naofel-eal/PANDA</a></p><p>Contributions, feedback, and questions are welcome.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5d679d67d71" width="1" height="1" alt=""><hr><p><a href="https://medium.com/totalenergies-digital-factory/our-ai-agent-does-not-write-code-it-ships-features-e5d679d67d71">Our AI Agent Does Not Write Code. It Ships Features.</a> was originally published in <a href="https://medium.com/totalenergies-digital-factory">TotalEnergies Digital Factory</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>