<?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 Ştefănescu Liviu on Medium]]></title>
        <description><![CDATA[Stories by Ştefănescu Liviu on Medium]]></description>
        <link>https://medium.com/@liviusa?source=rss-1e186612d109------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*iQf6O4RI1TTfL6d8.</url>
            <title>Stories by Ştefănescu Liviu on Medium</title>
            <link>https://medium.com/@liviusa?source=rss-1e186612d109------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 21:42:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@liviusa/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[LoopTroop 0.6: Make Long Coding Tasks Easier to Follow]]></title>
            <link>https://medium.com/@liviusa/looptroop-0-6-make-long-coding-tasks-easier-to-follow-93064f2d0333?source=rss-1e186612d109------2</link>
            <guid isPermaLink="false">https://medium.com/p/93064f2d0333</guid>
            <dc:creator><![CDATA[Ştefănescu Liviu]]></dc:creator>
            <pubDate>Mon, 19 Oct 2026 12:23:08 GMT</pubDate>
            <atom:updated>2026-10-19T12:23:08.686Z</atom:updated>
            <content:encoded><![CDATA[<p>**Version 0.6.0 brings the big changes. Version 0.6.1 fixes bugs and makes some commands faster.**</p><p>A small code change can fit in one prompt. A bigger coding task may need questions, a plan, several coding steps, tests, and a proposed change on GitHub. It gets hard to follow if all the decisions and errors are buried in one long AI chat.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FxvdvgMKb63QdnqH_Y61CA.png" /></figure><p>LoopTroop helps manage that longer job. Several AI models help make a plan. LoopTroop breaks it into small steps, then OpenCode, the coding tool, works through them. Each task gets its own working folder, so you can review the changes before sharing them on GitHub.</p><p>LoopTroop 0.6 is one update. Version 0.6.0 brought the main changes below. Version 0.6.1 fixes bugs and is the version to install now.</p><p>## ⏭️ See why something was skipped</p><p>You can leave a note when you skip an interview question or manual test, accept a plan with gaps, cancel, or finish before changes are merged. The note stays with the task, so you can look back and see why it took that path.</p><p>## 💬 Answer each AI model in its own tab</p><p>Questions from different models now have separate tabs in the app. You can choose how long LoopTroop waits for an answer, from one to sixty minutes. The timer stops when you start responding. If time runs out, the question is declined so the model can continue.</p><p>The v0.6.1 update also lets you stop or retry one model without stopping the others. If you want to move on, you can skip every waiting question at once.</p><p>## 🔌 Use OpenCode v1 or v2</p><p>LoopTroop now works with OpenCode v2 as well as v1. You can use either version.</p><p>## 💾 Pick up more easily when a run stops</p><p>The 0.6.0 update makes it easier to continue after a crash, restart, cancellation, or retry. LoopTroop can also see when GitHub has merged your proposed code change and finish the task, even if the app is closed.</p><p>The v0.6.1 bug fixes make it easier to see what went wrong and continue with the task. They fix OpenCode startup problems, make connection errors clearer, improve how LoopTroop finds the model you chose, and handle unexpected AI replies better.</p><p>## 📜 Keep more of the story in the logs</p><p>Logs now keep more details after a reconnect, retry, or cancellation. This makes it easier to see what the AI did and where it stopped.</p><p>## ✨ Make the workspace easier to use</p><p>It’s easier to move around the app with a keyboard, and page controls are better. Drafts and answers also stay with the right task when you switch between them.</p><p>## 🛡️ Make downloads and commands safer</p><p>LoopTroop got more careful about the commands it runs, the files it reads, and your login details. Stable downloads include a way to check that they came from the project.</p><p>## 🪟 Pick an install method</p><p>Windows users can now install with Chocolatey or WinGet, and Scoop works again. Node 24.18.0 and newer can use the npm version that comes with Node, so there’s no need to install a particular npm version separately.</p><p>## 🧪 More tests, fewer surprises</p><p>The number of passing tests grew from 3,495 to 8,099 across 500 test files. They check 93.19% of the app’s code lines. In other words, tests check more of the app before a release.</p><p>## ⚡ Two speed checks</p><p>A speed check that re-read the same 64-step plan went from 24.3 milliseconds to 0.68 milliseconds. That check runs about 36 times faster; it doesn’t mean every coding task is faster by that amount.</p><p>The v0.6.1 notes say commands you run in a terminal can be up to 20 times faster. In recorded checks, status and help took about 0.3 seconds, and install packages were about 30 MB smaller.</p><p>## What LoopTroop does</p><p>LoopTroop is for coding jobs that are too big for a quick edit. In the app, each job is called a “ticket.” AI models help make a plan, OpenCode handles small steps in a separate working folder, and you can review the changes before sharing them on GitHub.</p><p>LoopTroop runs on your computer. The prompts and files you send still go to the AI service you choose in OpenCode. OpenCode can run commands on your computer, so use a virtual machine or throwaway environment for work you leave running on its own.</p><p>LoopTroop is MIT-licensed. Read the update notes and find the install instructions:</p><p>- Main 0.6.0 update: <a href="https://github.com/looptroop-ai/LoopTroop/releases/tag/v0.6.0">https://github.com/looptroop-ai/LoopTroop/releases/tag/v0.6.0</a><br>- Current version, v0.6.1: <a href="https://github.com/looptroop-ai/LoopTroop/releases/tag/v0.6.1">https://github.com/looptroop-ai/LoopTroop/releases/tag/v0.6.1</a><br>- Project: <a href="https://github.com/looptroop-ai/LoopTroop">https://github.com/looptroop-ai/LoopTroop</a><br>- Website and docs: <a href="https://www.looptroop.ovh/docs/">https://www.looptroop.ovh/docs/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93064f2d0333" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LoopTroop 0.5.x is complete: the CLI and installer release]]></title>
            <link>https://medium.com/@liviusa/looptroop-0-5-x-is-complete-the-cli-and-installer-release-6199037d9cd8?source=rss-1e186612d109------2</link>
            <guid isPermaLink="false">https://medium.com/p/6199037d9cd8</guid>
            <dc:creator><![CDATA[Ştefănescu Liviu]]></dc:creator>
            <pubDate>Wed, 26 Aug 2026 09:29:49 GMT</pubDate>
            <atom:updated>2026-08-26T09:29:49.403Z</atom:updated>
            <content:encoded><![CDATA[<p>LoopTroop 0.5.x is now complete at v0.5.9.</p><p>This is the release series where LoopTroop became installable software. It gained a CLI, a background service, one-line installers, package channels, standalone executable builds, and a release process that checks the files it publishes.</p><p>The series started with <a href="https://github.com/looptroop-ai/LoopTroop/releases/tag/v0.5.0">v0.5.0</a> and ended with <a href="https://github.com/looptroop-ai/LoopTroop/releases/tag/v0.5.9">v0.5.9</a>.</p><p>LoopTroop is still early alpha. This release is about making it easier to install, run, and verify, not about declaring it production-ready.</p><h3>The CLI</h3><p>The main change in v0.5.0 was the looptroop command.</p><p>It includes:</p><pre>looptroop setup<br>looptroop start<br>looptroop stop<br>looptroop restart<br>looptroop status<br>looptroop open<br>looptroop logs<br>looptroop doctor<br>looptroop clean</pre><p>start runs LoopTroop as a background service, so it keeps running after the shell closes. open starts the service when needed and opens the local dashboard with a signed-in link.</p><p>setup guides the first run. status reports the daemon state. doctor checks the runtime, configuration directory, database schemas, port, OpenCode, GitHub authentication, and installation channel. It also has a JSON mode for scripts.</p><p>clean finds abandoned worktrees, stale locks, and OpenCode processes that LoopTroop started. Listing is the default. Applying cleanup requires an explicit flag.</p><p>The goal was to make the normal path look like ordinary software:</p><pre>install<br>start<br>open<br>work</pre><h3>Installers became part of the product</h3><p>The 0.5.x work did not stop at adding a command. It also added several ways to install it.</p><p>The one-line installer works on macOS, Linux, WSL, and Windows PowerShell.</p><p>On macOS, Linux, or WSL:</p><pre>curl -fsSL https://www.looptroop.ovh/install | sh<br>looptroop open</pre><p>On Windows PowerShell:</p><pre>irm https://www.looptroop.ovh/install.ps1 | iex<br>looptroop open</pre><p>The installer resolves a release that contains the required files, checks the download against the published checksum, and refuses to install a file that does not match. It does not ask for sudo.</p><p>The installer uses npm, so the npm installation path remains available:</p><pre>npm install -g looptroop<br>looptroop open</pre><p>The 0.5.x series also added release support for Homebrew, Scoop, Chocolatey, WinGet, Docker, and standalone executable builds. The current availability of each channel is documented on the <a href="https://www.looptroop.ovh/docs/installation">Installation page</a>.</p><h3>Standalone executables</h3><p>v0.5.2 added standalone executable builds for macOS on Apple silicon, Linux on x64 and arm64, and Windows on x64.</p><p>The executable carries its own Node runtime. Once installed, it does not need Node in order to run LoopTroop.</p><p>The one-line installer can install the executable instead of the npm package. The upgrade path is transactional:</p><ol><li>Verify the downloaded archive.</li><li>Stop the running daemon.</li><li>Replace the executable by rename.</li><li>Check that the new executable reports the requested version.</li><li>Restore the previous executable if the new one fails.</li><li>Start the daemon again if it was running before the upgrade.</li></ol><p>The installer itself still needs Node because the installer is a Node program. The standalone file removes Node as a runtime requirement for LoopTroop after installation.</p><h3>A smaller production package</h3><p>The release also changed what the production package contains.</p><p>The server became an embeddable runtime that does not start work merely because another module imports it. The production build bundles the server and ships compiled output. The production server serves the interface itself, so there is no separate web server to configure.</p><p>The runtime also moved from the native better-sqlite3 package to Node&#39;s built-in node:sqlite. That removed the last compiled dependency from the runtime and removed one of the common causes of installation failures.</p><p>The result was a much smaller global installation, from roughly three hundred packages to sixteen.</p><h3>The release process was rebuilt</h3><p>Publishing a CLI is different from running a development server locally. A successful release has to prove that the package can be installed, started, upgraded, and removed on the platforms people use.</p><p>The 0.5.x release process now:</p><ul><li>Builds the package and release artifacts.</li><li>Records checksums for published files.</li><li>Publishes the exact built files to the supported channels.</li><li>Adds signed build provenance to release assets.</li><li>Builds and checks standalone executables.</li><li>Builds container images for Linux x64 and arm64.</li><li>Installs published releases on clean machines.</li><li>Starts the daemon and checks its health.</li><li>Tests the interface and authenticated API paths.</li><li>Stops and uninstalls the release again.</li></ul><p>The workflow is resumable. It reads the state of the tag, GitHub release, package registry, and container registries before continuing. A release is only considered finished after the published files have been compared with the files produced by the build.</p><p>The final release in the series, v0.5.9, also fixed packaging and install checks for npm 12 and repaired an edge case where a slow daemon could become impossible to stop.</p><h3>What the installation looks like now</h3><p>For a Unix-like system:</p><pre>curl -fsSL https://www.looptroop.ovh/install | sh<br>looptroop open</pre><p>For Windows PowerShell:</p><pre>irm https://www.looptroop.ovh/install.ps1 | iex<br>looptroop open</pre><p>For npm:</p><pre>npm install -g looptroop<br>looptroop open</pre><p>open starts LoopTroop in the background when it is not already running, then opens the dashboard. Use looptroop start if you want the service without opening a browser.</p><p>After that, configure a model provider through OpenCode, attach a local repository with a GitHub origin, and create a ticket.</p><p>LoopTroop does not install OpenCode. It needs OpenCode with at least one configured provider. Git and GitHub CLI are also required for the pull request step, although some installation channels provide them as dependencies.</p><h3>A note about safety</h3><p>LoopTroop runs OpenCode with broad local permissions because it is designed for long-running, unattended coding work. Git worktrees isolate changes to the attached repository, but they do not sandbox the agent process from the rest of the machine.</p><p>Use a disposable VM, cloud development machine, or another sandboxed environment when trying it.</p><h3>The result</h3><p>The 0.5.x series changed LoopTroop from something you mainly cloned and ran as a development stack into something you can install, start, inspect, upgrade, and remove.</p><p>v0.5.x is complete at v0.5.9.</p><p>Code: <a href="https://github.com/looptroop-ai/LoopTroop">github.com/looptroop-ai/LoopTroop</a></p><p>Installation guide: <a href="https://www.looptroop.ovh/docs/installation">looptroop.ovh/docs/installation</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6199037d9cd8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How LoopTroop Takes a Ticket from Idea to Pull Request]]></title>
            <link>https://medium.com/@liviusa/how-looptroop-takes-a-ticket-from-idea-to-pull-request-f22dae52939d?source=rss-1e186612d109------2</link>
            <guid isPermaLink="false">https://medium.com/p/f22dae52939d</guid>
            <dc:creator><![CDATA[Ştefănescu Liviu]]></dc:creator>
            <pubDate>Wed, 29 Jul 2026 08:26:17 GMT</pubDate>
            <atom:updated>2026-07-29T08:26:17.430Z</atom:updated>
            <content:encoded><![CDATA[<p>Most AI coding tools start when the implementation begins. LoopTroop starts earlier.</p><p>A ticket moves through a structured workflow that clarifies the request, scans the repository, compares multiple planning approaches, gathers user input, builds a PRD, decomposes the work into executable beads, prepares the workspace, implements each bead in isolation, runs tests, performs Manual QA, and prepares a pull request for review.</p><p>This article follows that process through screenshots from the application. Each image shows what the user sees at that stage, while the accompanying notes explain what the system is doing, what artifacts it produces, and which actions are available.</p><p>The goal is not to hide the complexity of AI-assisted development. It is to make each step visible, reviewable, and recoverable.</p><h3>Setup <a href="https://www.looptroop.ovh/docs/getting-started#5-attaching-your-first-project">?</a></h3><h3>Project Creation <a href="https://www.looptroop.ovh/docs/getting-started#5-attaching-your-first-project">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/0*iT8AyhW2B7PJQpxw.png" /></figure><p><em>Create a project and attach a local Git repository to LoopTroop.</em></p><p>What you can do:</p><ul><li>Set the project name, description, and appearance.</li><li>Attach a local Git repository that has a GitHub remote.</li><li>Choose how to attach a repository that LoopTroop has used before: restore its tickets, clear its tickets, or start fresh.</li><li>Change advanced options inherited from the global configuration.</li></ul><h3>Configuration <a href="https://www.looptroop.ovh/docs/configuration">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x9nMkxepbJtZsFjk.png" /></figure><p><em>Configure the main implementer, council members, effort levels, and project settings.</em></p><p>What you can do:</p><ul><li>Select the main implementer. This model is also a council member and handles implementation and other single-model steps. <a href="https://www.looptroop.ovh/docs/configuration#main-implementer-model">?</a></li><li>Select models for multi-model planning phases. <a href="https://www.looptroop.ovh/docs/configuration#council-members">?</a></li><li>Set supported effort levels for each council member and, where available, an OpenRouter routing variant such as :floor or :nitro. <a href="https://www.looptroop.ovh/docs/configuration#effort--thinking-variant">?</a></li><li>Configure the Git-hook policy: validate explicitly, run hooks for internal commits, or ignore internal-only hooks. <a href="https://www.looptroop.ovh/docs/configuration#git-hook-policy">?</a></li><li>Enable or disable Manual QA for tickets in this project. <a href="https://www.looptroop.ovh/docs/configuration#manual-qa">?</a></li><li>Set the log preview length for model tool calls. This limits only the text shown in the AI Model logs, not the content sent to the tool. <a href="https://www.looptroop.ovh/docs/configuration#logging">?</a></li></ul><p>OpenCode provider recovery <a href="https://www.looptroop.ovh/docs/configuration#opencode-provider-recovery">?</a></p><ol><li>OpenCode Retry Limit: Number of failed requests OpenCode can retry before the phase fails. <a href="https://www.looptroop.ovh/docs/configuration#opencode-retry-limit">?</a></li><li>OpenCode Retry Grace Window: Time OpenCode may remain in a retrying state before LoopTroop treats the request as failed. <a href="https://www.looptroop.ovh/docs/configuration#opencode-retry-grace-window">?</a></li><li>OpenCode Max Steps: Maximum steps OpenCode may take before its session closes. 0 allows unlimited steps. <a href="https://www.looptroop.ovh/docs/configuration#opencode-max-steps">?</a></li></ol><p>AI thinking <a href="https://www.looptroop.ovh/docs/configuration#ai-thinking">?</a></p><ol><li>AI Response Timeout: Time allowed for a planning-phase model request to complete. The default is 20 minutes. <a href="https://www.looptroop.ovh/docs/configuration#ai-response-timeout">?</a></li><li>Minimum Council Quorum: Minimum number of council members required for voting phases. <a href="https://www.looptroop.ovh/docs/configuration#min-council-quorum">?</a></li><li>Maximum Interview Questions: Maximum questions generated during the interview. <a href="https://www.looptroop.ovh/docs/configuration#max-interview-questions">?</a></li><li>Structured Output Retries: Number of fresh attempts allowed when a model returns invalid structured output. <a href="https://www.looptroop.ovh/docs/configuration#structured-output-retries">?</a></li></ol><p>Coverage <a href="https://www.looptroop.ovh/docs/configuration#coverage">?</a></p><ol><li>Coverage Follow-Up Budget: Maximum follow-up questions generated during interview coverage checks. <a href="https://www.looptroop.ovh/docs/configuration#coverage-follow-up-budget">?</a></li><li>Interview Coverage Passes: Number of coverage checks that can return the ticket to the interview when gaps remain. <a href="https://www.looptroop.ovh/docs/configuration#interview-coverage-passes">?</a></li><li>PRD Coverage Passes: Number of PRD coverage checks when gaps remain. <a href="https://www.looptroop.ovh/docs/configuration#prd-coverage-passes">?</a></li><li>Beads Coverage Passes: Number of blueprint coverage checks when gaps remain. <a href="https://www.looptroop.ovh/docs/configuration#beads-coverage-passes">?</a></li></ol><p>Implementation and workspace setup <a href="https://www.looptroop.ovh/docs/configuration#implementation--workspace-setup">?</a></p><ol><li>Max Bead Retries: Number of times a bead can retry before the phase fails. <a href="https://www.looptroop.ovh/docs/configuration#max-bead-retries">?</a></li><li>Per-Iteration Timeout: Time allowed for a bead iteration before it fails. The default is 20 minutes. <a href="https://www.looptroop.ovh/docs/configuration#per-iteration-timeout">?</a></li><li>Execution Setup Timeout: Time allowed for workspace setup before it fails. The default is 20 minutes. <a href="https://www.looptroop.ovh/docs/configuration#execution-setup-timeout">?</a></li></ol><h3>To Do <a href="https://www.looptroop.ovh/docs/ticket-flow#4-workflow-groups--board-locations">?</a></h3><h3>Backlog <a href="https://www.looptroop.ovh/docs/ticket-flow#5-phase-inventory">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/0*ldAn_wG4y-BHL6ZM.png" /></figure><p><em>Edit the ticket before starting the workflow.</em></p><p>What you can do:</p><ul><li>Edit the ticket title, description, priority, and ticket-level options.</li><li>Change advanced options that otherwise inherit from the project and global configuration.</li><li>Click Create Ticket to keep the ticket in the Backlog until you are ready to start it.</li><li>Click Create &amp; Start to start it immediately.</li><li>When the workflow starts, LoopTroop runs initial checks and moves the ticket to Scanning Relevant Files. The ticket is then locked for editing. To change it, cancel the ticket and create a new one.</li><li>You can cancel the ticket at any later point. It then moves to the Done column.</li></ul><h3>Discovery <a href="https://www.looptroop.ovh/docs/ticket-flow#3-state-machine-transition-model">?</a></h3><h3>Scanning Relevant Files <a href="https://www.looptroop.ovh/docs/ticket-flow#5-phase-inventory">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gX__zirlcKVWb-sw.png" /></figure><p><em>The main implementer scans the codebase and records relevant files.</em></p><p>What you can do:</p><ul><li>View live logs, along with artifacts and logs from earlier phases.</li><li>Review the generated index containing file paths, excerpts, relevance ratings, and rationales</li><li>Wait for automatic transition to council drafting upon completion</li><li>From this point onward, LoopTroop moves tickets between <em>Needs input</em> and <em>In progress</em> automatically. You cannot move them between Kanban columns manually.</li></ul><h3>Interview <a href="https://www.looptroop.ovh/docs/interview">?</a></h3><h3>Council Drafting Questions <a href="https://www.looptroop.ovh/docs/interview#3-how-questions-are-designed">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1MsBrrDClcukH39y.png" /></figure><p><em>Council members draft interview strategies in parallel.</em></p><p>What you can do:</p><ul><li>Monitor multi-model logs while council members independently generate candidate question lists</li><li>View each model’s progress and completed draft.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/0*yKkbAzCoPugikJCR.png" /></figure><p><em>An interview draft proposed by a council member.</em></p><h3>Voting on Questions <a href="https://www.looptroop.ovh/docs/interview#3-how-questions-are-designed">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OoRy5T979vj2mgcK.png" /></figure><p><em>Council members vote independently and anonymously.</em></p><p>What you can do:</p><ul><li>Watch voting progress across council members</li><li>View anonymized candidate questionnaires and rubric scores (evaluating question relevance and coverage)</li><li>Inspect the score breakdown and winning draft selection</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/0*QFR46ifO8xw1CZFi.png" /></figure><p><em>Example anonymized voting results.</em></p><h3>Refining Interview <a href="https://www.looptroop.ovh/docs/interview#5-live-interview-session-behavior">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Voho5FirL-qIHYrp.png" /></figure><p><em>The winning model reviews the other drafts and incorporates useful ideas.</em></p><p>What you can do:</p><ul><li>Monitor interview compilation progress</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/0*I2MtSSqvnBXTp1Qm.png" /></figure><p><em>Example of a question revised using an idea from another draft.</em></p><h3>Interviewing <a href="https://www.looptroop.ovh/docs/interview#5-live-interview-session-behavior">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NIdGfqP6-qBaCPaE.png" /></figure><p><em>Answer focused planning questions in adaptive batches of 1 to 3.</em></p><p>What you can do:</p><ul><li>Type responses to free-text questions, select options for choice-based questions, or edit earlier answers.</li><li>Skip individual questions or restore a previously skipped question.</li><li>Click Submit to process the current batch and receive the next questions or advance to coverage.</li><li>Click Skip All to mark all remaining questions as skipped and move directly to Approving Interview. The PRD phase later fills skipped questions with AI-generated answers.</li></ul><h3>Coverage Check (Interview) <a href="https://www.looptroop.ovh/docs/interview#6-skips-final-free-form-and-coverage">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EYSjJyuJ6Y66NtgT.png" /></figure><p><em>Winning model checks answers for gaps and spawns follow-up rounds if budget permits.</em></p><p>What you can do:</p><ul><li>Monitor coverage audit progress as the winning model checks collected answers against the ticket description</li><li>Return automatically to Interviewing with follow-up questions if gaps exist and budget remains.</li></ul><h3>Approving Interview <a href="https://www.looptroop.ovh/docs/interview#8-approval-editing-and-downstream-impact">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H5h4fg80rs0jdY6t.png" /></figure><p><em>Review and approve the structured interview artifact.</em></p><p>What you can do:</p><ul><li>Review questions, answers, and skipped items in the structured view or raw YAML editor.</li><li>Edit answers with draft autosave. The same protection is available on editable approval screens.</li><li>Click Save to update the authoritative interview artifact, then Approve to start Council Drafting Specs.</li><li>Before Checking Readiness begins, you can return to Approving Interview or Approving Specs and edit the artifact. Saving an edit restarts downstream planning.</li></ul><h3>Specs (PRD) <a href="https://www.looptroop.ovh/docs/prd">?</a></h3><h3>Council Drafting Specs <a href="https://www.looptroop.ovh/docs/prd#3-part-1-full-answers">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zAslMoDxNVJ7se4S.png" /></figure><p><em>Each model first resolves skipped questions, then drafts its own PRD (Product Requirements Document).</em></p><p>What you can do:</p><ul><li>Monitor Part 1 progress: council members fill skipped interview questions to create per-model Full Answers artifacts</li><li>Monitor Part 2 progress: council members draft complete PRD specifications from relevant files and Full Answers</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/0*yqZnXHG1G-U2q6R5.png" /></figure><p><em>Each model provides answers only for the interview questions the user skipped.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/0*VYEblTQmYqA5Fewu.png" /></figure><p><em>Each model then creates its own PRD draft.</em></p><h3>Voting on Specs <a href="https://www.looptroop.ovh/docs/prd#4-part-2-drafting-voting-and-refining">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NAK97b9QIesELRfx.png" /></figure><p><em>Each model independently and anonymously votes on all PRD drafts.</em></p><p>What you can do:</p><ul><li>Watch voting progress across council members</li><li>View anonymized PRD drafts and weighted rubric scores (evaluating requirement completeness, acceptance criteria quality, edge cases, test intent, and coherence)</li><li>Inspect vote resolution and winning draft selection</li></ul><h3>Refining Specs <a href="https://www.looptroop.ovh/docs/prd#4-part-2-drafting-voting-and-refining">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vSzYtAYZKgSsqCmF.png" /></figure><p><em>Winning model incorporates strong elements from competing drafts into PRD Candidate v1.</em></p><p>What you can do:</p><ul><li>Monitor refinement progress as the winning model merges missing requirements and edge cases into its winning structure</li><li>Inspect diff metadata showing what was added from losing drafts</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pBZuGTlehPONkryC.png" /></figure><p><em>Example of an addition from another draft.</em></p><h3>Coverage Check (PRD) <a href="https://www.looptroop.ovh/docs/prd#6-coverage-and-candidate-versioning">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uxt1I-8PFLMVlKyK.png" /></figure><p><em>The candidate PRD is checked against the winning Full Answers and revised until it is clean or reaches the pass cap.</em></p><p>What you can do:</p><ul><li>Monitor coverage audit progress as the candidate PRD is checked against the winning model’s Full Answers</li><li>Watch in-phase revisions (producing candidate v1, v2, and so on) when gaps are identified</li><li>Observe live version progress.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/0*86O_jRSHL5KUwx9j.png" /></figure><p><em>Example coverage gap identified during PRD verification.</em></p><h3>Approving Specs <a href="https://www.looptroop.ovh/docs/prd#7-approval-editing-and-downstream-impact">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wWeTlIWo8QtL_fn8.png" /></figure><p><em>Review the PRD requirements specification.</em></p><p>What you can do:</p><ul><li>Review requirements, acceptance criteria, edge cases, and test intent in structured view or raw YAML editor</li><li>Open the read-only Full Answers chip to view the complete interview answer set used by the winning PRD model</li><li>Review prominent coverage warnings if approval was reached after hitting the coverage pass cap</li><li>Click Fix gaps with AI to run a targeted PRD revision and fresh coverage audit for unresolved gaps</li></ul><h3>Blueprint (Beads) <a href="https://www.looptroop.ovh/docs/beads">?</a></h3><h3>Council Drafting Blueprint <a href="https://www.looptroop.ovh/docs/beads#2-what-an-approved-bead-contains">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_E2vA5x5oUcyu3cq.png" /></figure><p><em>Council members divide the specification into small beads with executable tasks and verification criteria.</em></p><p>What you can do:</p><ul><li>Monitor parallel blueprint generation as council members split the PRD into semantic task units</li><li>View task counts, dependency graph structures, and beads structure for each council member’s draft</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/0*Lhmk0dlYNPNOhkbo.png" /></figure><p><em>Example bead blueprint. During implementation, each bead is the model’s primary task context.</em></p><h3>Voting on Blueprint <a href="https://www.looptroop.ovh/docs/beads#2-what-an-approved-bead-contains">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*F0mPPn8gz62DpB1R.png" /></figure><p><em>Beads drafts rated on graph logic, file target isolation, and testing strategy.</em></p><p>What you can do:</p><ul><li>Watch voting progress across council members</li><li>View anonymized blueprints and architecture rubric scores (evaluating task decomposition, feasibility, dependency acyclicity, and testability)</li><li>Inspect vote resolution and winning blueprint selection</li></ul><h3>Refining Blueprint <a href="https://www.looptroop.ovh/docs/beads#3-storage-editing-and-approval-semantics">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OJF0Kpr7MIOjs7Bo.png" /></figure><p><em>Winning blueprint merges strong verification steps from alternative drafts.</em></p><p>What you can do:</p><ul><li>Monitor refinement progress as the winning model incorporates extra tasks, edge cases, and verification steps from losing blueprints</li><li>Inspect blueprint diff metadata</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/0*dYNYiryK2kZIpQbz.png" /></figure><p><em>Example changes to a bead after incorporating ideas from another draft.</em></p><h3>Coverage Check (Beads) <a href="https://www.looptroop.ovh/docs/beads#3-storage-editing-and-approval-semantics">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XUziSUmeWp7_I6iB.png" /></figure><p><em>The blueprint is checked against the PRD and revised when criteria are missing. The screenshot shows version 2 because the first model response was malformed and could not be repaired safely. Multiple attempts may appear when a phase encounters an error.</em></p><p>What you can do:</p><ul><li>Monitor semantic blueprint auditing against the approved PRD</li><li>Watch in-phase revisions when required PRD outcomes lack corresponding beads</li><li>Observe live version progress</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/0*oqtjn1HG0KmmdjyA.png" /></figure><p><em>Example of a clean coverage report.</em></p><h3>Expanding Blueprint <a href="https://www.looptroop.ovh/docs/beads#2-what-an-approved-bead-contains">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wdrun5DxLfMo2Awx.png" /></figure><p><em>LoopTroop adds the execution fields that are not needed while the council is drafting the semantic blueprint.</em></p><p>What you can do:</p><ul><li>Monitor expansion progress as the semantic blueprint is converted into execution-ready bead records</li><li>Verify added file targets, dependency ordering, labels, and runtime metadata</li></ul><h3>Approving Blueprint <a href="https://www.looptroop.ovh/docs/beads#3-storage-editing-and-approval-semantics">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1Z2ZgpFiUPKlA6Uk.png" /></figure><p><em>Review the dependency graph and executable plan before coding starts.</em></p><p>What you can do:</p><ul><li>Review task descriptions, acceptance criteria, dependency graphs, file targets, and planned commands or no-command reasons</li><li>Review coverage warnings if approval was reached after hitting the coverage pass cap</li><li>Click Fix gaps with AI to revise the semantic blueprint and re-run expansion for remaining gaps</li><li>Edit the plan in structured or raw editor with draft autosave, then click Save to update the authoritative plan</li></ul><h3>Pre-Implementation <a href="https://www.looptroop.ovh/docs/pre-implementation">?</a></h3><h3>Checking Readiness <a href="https://www.looptroop.ovh/docs/pre-implementation#1-pre_flight_check-deterministic-readiness-gate">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qCCK2_CkLHeLAI0n.png" /></figure><p><em>Checks workspace cleanliness, Git worktree hygiene, OpenCode reachability, and execution locks.</em></p><p>What you can do:</p><ul><li>Monitor pre-flight validation checks: workspace directory existence, required artifacts, Git worktree cleanliness, OpenCode connectivity, execution capability probe prompt, and bead graph acyclicity</li><li>Review generated pre-flight report detailing pass, warning, and failure entries</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/0*ZtTWZWyDKFT7cyfF.png" /></figure><p><em>Example of a successful readiness check.</em></p><h3>Approving Workspace Setup <a href="https://www.looptroop.ovh/docs/pre-implementation#2-waiting_execution_setup_approval-reviewable-setup-contract">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zsPBJUb__D7GZEKb.png" /></figure><p><em>Review the setup plan before implementation: readiness assessment, workspace inputs, setup steps, Git hooks, and policy.</em></p><p>What you can do:</p><ul><li>Review readiness assessment, temporary setup steps, workspace probes, command families, read-only detected Git hooks, and editable validation commands</li><li>Edit setup steps or validation commands</li><li>Click Regenerate with commentary to archive the current draft and generate a fresh setup plan based on additional input</li></ul><h3>Preparing Workspace Runtime <a href="https://www.looptroop.ovh/docs/pre-implementation#3-preparing_execution_env-temporary-runtime-setup">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QsNi5u4n2fgAMqj6.png" /></figure><p><em>Materializes approved workspace inputs, runs setup, verifies probes, and validates hooks.</em></p><p>What you can do:</p><ul><li>Monitor workspace input materialization, temporary tool provisioning and setup execution</li><li>Watch validation of the runtime wrapper and workspace probes</li><li>Review the Error (reason) screen when setup finishes blocked or fails validation.</li><li>Click Retry with extra note… from live blocked view to send a prompt directly to the preserved setup session for a manual attempt</li><li>Click Edit setup plan… from live blocked view to rewind to setup approval</li></ul><h3>Implementation <a href="https://www.looptroop.ovh/docs/beads#7-the-single-bead-execution-cycle">?</a></h3><h3>Implementing <a href="https://www.looptroop.ovh/docs/beads#7-the-single-bead-execution-cycle">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5oa3KhEbcPAEbRLF.png" /></figure><p><em>LoopTroop implements one bead at a time in dependency order, using the bead details as task context.</em></p><p>What you can do:</p><ul><li>Monitor bead-by-bead execution in real time</li><li>Track progress with the bead completion counter and ETA range in the workspace header. The displayed time is the remaining time for the current iteration. If it expires, LoopTroop starts a fresh iteration with the bead details and a note about the failure. The project configuration sets the timeout and retry budget; the defaults are 20 minutes and five iterations.</li><li>View live execution logs, visible agent responses, file modification events, and command outputs for the active bead</li><li>Inspect each bead’s status (pending, in progress, done, or error) and code-only diff.</li><li>Watch automatic Ralph recovery after a failure. It appends a structured note, resets the worktree, increments the iteration, and retries within the configured budget.</li><li>Review Error (reason) if a bead exhausts its retry budget or local commit finalization fails.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ya1zELsD1Zb1F27A.png" /></figure><p><em>Open a bead to view its details, logs, diff, and input/output in separate tabs.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T4pk30ICY8CIs46C.png" /></figure><p><em>Changes made by a bead.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3SbnjeMtZzGW2LqJ.png" /></figure><p><em>Example of a Ralph recovery loop from another ticket. The second iteration succeeds after receiving the appended note.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/0*72fCv32C9PpfBV9-.png" /></figure><p><em>All changes made during implementation, shown at the end of the phase.</em></p><h3>Post-Implementation <a href="https://www.looptroop.ovh/docs/post-implementation">?</a></h3><h3>Testing Implementation <a href="https://www.looptroop.ovh/docs/post-implementation#1-running_final_test-ticket-level-verification">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nzn8itj8KJHd9waX.png" /></figure><p><em>The main implementer creates a whole-ticket test plan and runs it with the approved runtime profile.</em></p><p>What you can do:</p><ul><li>Monitor whole-ticket test plan generation based on ticket details, PRD, and beads</li><li>Watch test command execution in the worktree through the setup wrapper</li><li>Review test results, pass/fail status per test, and output logs</li><li>Inspect the file-effects audit classifying dirty files as delivery candidates or local-only outputs</li></ul><h3>Preparing Manual QA <a href="https://www.looptroop.ovh/docs/post-implementation#15-optional-manual-qa-route">?</a></h3><ul><li>Watch the main implementer generate the checklist from the PRD and bead context.</li></ul><h3>Manual QA <a href="https://www.looptroop.ovh/docs/post-implementation#15-optional-manual-qa-route">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MGf-hyoUdsCDWQQ9.png" /></figure><p><em>Run manual verification.</em></p><p>What you can do:</p><ul><li>Run and control the application independently outside LoopTroop</li><li>Evaluate each checklist item as Pass, Waive, Fail, Pending, or Improvement.</li><li>Pass: The item meets its acceptance criteria. A note is optional.</li><li>Waive: The item does not apply or is skipped. A note is optional.</li><li>Fail: The item does not meet its acceptance criteria. A note is required. LoopTroop can create a QA bead for each failed item or combine failures into one QA bead, then return the ticket to Implementing.</li><li>Improvement: LoopTroop creates a separate Backlog ticket from the item result.</li><li>Attach links or upload files as evidence for each item</li><li>Click Skip Manual QA… to archive entered data read-only without creating fix work or child tickets</li></ul><h3>Preparing Final Commit <a href="https://www.looptroop.ovh/docs/post-implementation#3-integrating_changes-building-the-local-candidate-commit">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7iJxQmVNZfmgGlzz.png" /></figure><p><em>Runs Git-hook validation again, stages the changes, and squashes bead-level commits into a clean candidate commit.</em></p><h3>Creating Pull Request <a href="https://www.looptroop.ovh/docs/post-implementation#4-creating_pull_request-final-diff-audit-and-draft-pr-creation">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T1AewRJOX-K2SXwj.png" /></figure><p><em>Performs the final candidate audit, pushes the branch, and drafts the pull request title and description.</em></p><h3>Reviewing Pull Request <a href="https://www.looptroop.ovh/docs/post-implementation#5-waiting_pr_review-human-merge-or-finish-gate">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*djnsude-WGkllUxp.png" /></figure><p><em>Review the pull request, then finish after merging it or leave it unmerged.</em></p><p>What you can do:</p><ul><li>Review the draft pull request directly on GitHub via provided URL</li><li>Inspect Net Diff, By Bead, or By File diff views in the local workspace</li><li>Review candidate file audit, final test summary, and integration report</li><li>Click Merge PR &amp; Finish to mark PR ready, merge on GitHub, verify remote base branch, and advance to cleanup</li><li>Click Finish Without Merge to leave PR open/unmerged and advance directly to cleanup</li></ul><h3>Cleaning Up <a href="https://www.looptroop.ovh/docs/post-implementation#6-cleaning_env-remove-runtime-state-keep-the-evidence">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TwpGN5-9q0D2Ze0H.png" /></figure><p><em>Deletes temporary lockfiles, wrapper hooks, and session directories while preserving planning files and audit trails.</em></p><ul><li>After this phase, the ticket is complete and moves to the Done column of the Kanban board.</li></ul><h3>Done <a href="https://www.looptroop.ovh/docs/ticket-flow#5-phase-inventory">?</a></h3><h3>Done <a href="https://www.looptroop.ovh/docs/ticket-flow#5-phase-inventory">?</a></h3><p>What you can do:</p><ul><li>Review all ticket artifacts, logs, test reports, integration reports, PR details, and cleanup summary</li><li>Inspect final net diff and full implementation history</li><li>The ticket is read-only in this terminal state.</li></ul><h3>Canceled <a href="https://www.looptroop.ovh/docs/ticket-flow#9-retry-continue-and-blocked-error-semantics">?</a></h3><p>What you can do:</p><ul><li>Review existing artifacts and execution logs created prior to cancellation</li><li>The ticket is read-only in this terminal state.</li><li>Create a new ticket if work needs to be restarted</li></ul><h3>Errors <a href="https://www.looptroop.ovh/docs/ticket-flow#9-retry-continue-and-blocked-error-semantics">?</a></h3><h3>Error (reason) <a href="https://www.looptroop.ovh/docs/ticket-flow#9-retry-continue-and-blocked-error-semantics">?</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZAZmGnyczyNLHq8D.png" /></figure><p><em>Recovery screen that preserves the previous phase, diagnostics, and eligible continuation options.</em></p><p>What you can do:</p><ul><li>Read plain-language root cause explanation, recommended actions, and technical error details under collapsed section</li><li>Click Retry to archive the active attempt and re-enter the failed phase, or reset the failed bead during Implementing.</li><li>Click Retry with extra note… to append guidance to User Retry Notes during Implementing, or send a prompt to the preserved setup session during Preparing Workspace Runtime.</li><li>Click Continue to resume an addressable OpenCode session after transient provider, network, or rate-limit interruptions without archiving phase attempts</li><li>Click Edit setup plan… (when setup failed) to rewind to setup approval</li><li>Click Cancel to move the ticket to Canceled.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f22dae52939d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is a Ralph Loop?]]></title>
            <link>https://medium.com/@liviusa/what-is-a-ralph-loop-b6868a1e498d?source=rss-1e186612d109------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6868a1e498d</guid>
            <dc:creator><![CDATA[Ştefănescu Liviu]]></dc:creator>
            <pubDate>Wed, 22 Jul 2026 12:58:34 GMT</pubDate>
            <atom:updated>2026-07-22T12:58:34.464Z</atom:updated>
            <content:encoded><![CDATA[<p>You are watching an agent work on a feature. It edits a file, runs the tests, hits an error, patches the error, runs again, finds a second issue, tries a different approach, and then stalls. The transcript is now long. Half of it is abandoned attempts.</p><p>So you tell it to retry.</p><p>It retries in the same chat. It carries the old stack traces forward. It carries the abandoned approach forward. It carries the file contents that no longer match disk. The next attempt fails the same way, or a slightly worse way, because the model is no longer solving the clean task. It is solving the task plus the sediment of every previous attempt.</p><p>Retrying in the same chat compounds errors. Junk piles into the context.</p><p>That is the problem a Ralph Loop fixes.</p><h3>The short definition</h3><p>A Ralph Loop is what you do when an agent attempt stalls or fails:</p><ol><li>Stop the attempt.</li><li>Write a compact note of what went wrong.</li><li>Scrap the degraded session.</li><li>Retry fresh, in a clean worktree, carrying only that note forward.</li></ol><p>The attempt is time-boxed. Default is 20 minutes. If it does not finish cleanly in the box, the loop stops, writes the note, and the next iteration starts over with fresh context and that one note.</p><p>The key move is the reset. You do not continue in the polluted transcript. You throw it away and start clean, except for the failure note.</p><h3>Why retrying in the same chat fails</h3><p>Every step an agent takes leaves context behind. Some of it is useful. Some of it was useful five minutes ago and is now harmful.</p><p>When you retry in the same chat, the model keeps:</p><ul><li>old plans that were abandoned</li><li>stack traces from errors you already fixed</li><li>file contents that no longer match the repo</li><li>tool output that was only relevant to one dead branch</li><li>your corrections mixed with the model’s guesses</li></ul><p>After a while the model is not solving the task. It is doing archaeology on its own failed attempts.</p><p>A larger context window does not solve this. It gives the model more room. It does not decide what belongs in the room. Bad context pulls the model toward the wrong action even when the answer is technically somewhere in the window.</p><p>This is context rot. The working set became polluted, and the retry inherited the pollution.</p><h3>The move: scrap and retry fresh</h3><p>The fix is a boundary. The failed attempt does not get to bleed into the next one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*0NWJG4RiP_7NyCJ5.jpg" /></figure><p>The flow is:</p><ol><li>The attempt runs in its own isolated git worktree, so it never touched your main checkout.</li><li>It stalls or fails inside its time box.</li><li>The loop writes one failure note: what was being done, what went wrong, what to try next.</li><li>The worktree is discarded. The transcript is discarded.</li><li>A fresh worktree is created. A fresh session starts. The only thing carried forward is the failure note.</li></ol><p>The next attempt gets a clean workbench and one useful fact. It does not get the 2000-line log. It does not get the abandoned plan. It does not get the old file dump.</p><p>This is the same pattern a careful human uses. When you get stuck on a bug and start going in circles, you stop, write down the one thing you know is wrong, close the noisy terminal, and start over with just that note. You do not keep rereading the same dead-end output hoping this time is different.</p><h3>What a bad retry looks like</h3><pre>Keep going in the same chat.<br>Paste the full error log back in.<br>Ask it to try again.<br>Ask it to try harder.<br>Paste the log again.</pre><p>The model now has the original task, the failed attempt, the full log, your frustration, and the same wrong context that produced the failure. It will likely fail the same way. The retry did not get smarter. It just got longer.</p><h3>What a good retry looks like</h3><pre>Previous attempt failed because the password-reset test<br>creates a user without an email address.</pre><pre>Fix the fixture or guard the email access before rerunning:</pre><pre>    npm test -- password-reset</pre><pre>Retry in a fresh worktree. Do not inherit the previous transcript.</pre><p>The next attempt gets the clean task plus one specific cause. It does not get the noise. It can actually move forward.</p><h3>The failure note is the whole trick</h3><p>The reset is easy. The hard part is the note.</p><p>A good failure note preserves only what changes the next action. It answers: what was being attempted, what specifically went wrong, and what to do differently.</p><p>Good compression:</p><pre>The bead failed because the empty-state container replaced the<br>upload button, which broke keyboard focus. Keep the upload button<br>outside the conditional empty-state block. Rerun:<br>    node _check_css.js</pre><p>Bad compression:</p><pre>Tests failed. Try again.</pre><p>The bad version throws away the only useful fact. The next fresh attempt is now flying blind in a different way. It has a clean context but no idea what went wrong, so it guesses from scratch and may repeat the exact same mistake.</p><p>The failure note is what turns a reset from “start over dumb” into “start over smarter.” Each iteration of the loop carries one more useful fact forward instead of one more pile of sediment.</p><h3>Why it is called a loop</h3><p>Because it repeats. A bead may take one iteration or five. Each iteration is a fresh attempt with a growing set of failure notes and nothing else from the past. The loop ends when an attempt finishes cleanly inside its time box and passes its validation.</p><p>Failures compound into learning. They do not compound into context rot. That is the whole point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*1fyHauxmXR9UBXDS.png" /></figure><h3>Sources</h3><ul><li>Anthropic, “Effective harnesses for long-running agents”: <a href="https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents">https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents</a></li><li>Anthropic, “Effective context engineering for AI agents”: <a href="https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents">https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents</a></li><li>OpenAI Cookbook, “Context Engineering — Short-Term Memory Management with Sessions”: <a href="https://developers.openai.com/cookbook/examples/agents_sdk/session_memory">https://developers.openai.com/cookbook/examples/agents_sdk/session_memory</a></li></ul><h3>How LoopTroop uses Ralph Loops</h3><p>LoopTroop is a local, open-source GUI app for running coding tickets across local git repositories. It is built around the idea that long tasks fail when every step lives inside one endless chat, so it orchestrates around the agent instead of letting it run until it rots.</p><p>The pieces that matter here:</p><ul><li>A ticket is split into small atomic units called Beads, each with acceptance criteria and a validation command.</li><li>Each Bead runs inside its own isolated git worktree, so concurrent work never stomps on itself.</li><li>Each Bead is time-boxed, default 20 minutes.</li><li>If a Bead does not finish cleanly inside its box, the Ralph Loop stops, writes a failure note, discards the worktree and the session, and starts a fresh attempt carrying only that note.</li><li>The loop repeats until the Bead passes, or until you intervene.</li></ul><p>The effect: every retry gets a clean workbench and one useful fact. The model never has to dig its way out of its own polluted transcript. You can watch the whole thing from one pane, see every failure note, every fresh attempt, and the final diff before anything reaches your main branch.</p><p>LoopTroop is one implementation of this pattern. It is not the only way to run a Ralph Loop, but it is a worked, observable one.</p><ul><li>Site: <a href="https://www.looptroop.ovh/">https://www.looptroop.ovh/</a></li><li>GitHub: <a href="https://github.com/looptroop-ai/LoopTroop">https://github.com/looptroop-ai/LoopTroop</a></li><li>16-minute demo: <a href="https://youtu.be/LYiYkooc_iY">https://youtu.be/LYiYkooc_iY</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6868a1e498d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing a local ticket-to-PR workflow for AI software delivery]]></title>
            <link>https://medium.com/@liviusa/designing-a-local-ticket-to-pr-workflow-for-ai-software-delivery-a09975ec528f?source=rss-1e186612d109------2</link>
            <guid isPermaLink="false">https://medium.com/p/a09975ec528f</guid>
            <dc:creator><![CDATA[Ştefănescu Liviu]]></dc:creator>
            <pubDate>Tue, 14 Jul 2026 09:48:23 GMT</pubDate>
            <atom:updated>2026-07-14T09:48:23.745Z</atom:updated>
            <content:encoded><![CDATA[<p>If you have tried using AI coding agents for large, multi-file tickets, you probably know the exact moment the run starts to derail.<br>It usually starts with a simple error. The agent tries to fix it, but introduces another bug. It tries to fix that one, and now the terminal logs are piling up. Within a few iterations, the conversation history is bloated. The model starts dropping files, ignoring imports, or repeating the same mistake.<br>I call this context rot. When an AI chat session gets too long, the model loses focus. This is a systems problem, not a prompting problem.<br>To get reliable code out of an AI on complex tasks, you need a structured workflow that manages context instead of accumulating it. I spent the last five months building a local GUI orchestrator called LoopTroop to solve this.<br>Here is how I structured the workflow to keep the AI focused.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ORvOkEDanAdSvlrO15HyuA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aaSpWgrElzBt1S_G3vhPTA.gif" /></figure><p><strong>Stop guessing: the interview phase</strong><br>Before writing code or specs, the system generates targeted questions to clarify the requirements. It focuses on identifying edge cases, constraints, and dependencies.<br>You answer these questions in the interface. This step resolves ambiguities early, so the plan matches what you want.</p><p><strong>Planning with a model council</strong><br>Relying on a single model to plan a complex ticket is risky. Instead, LoopTroop uses a council of multiple models for the planning phases.<br>Several models generate independent drafts of the spec. They then score and vote on each other’s work anonymously to remove brand bias. The winner refines their draft by incorporating the best ideas from the other drafts.<br>This is slower than a one-shot prompt, but a solid plan prevents hours of debugging loops later.<br><strong>Small, atomic units</strong><br>We split the approved plan into tiny, independent tasks. Each unit has a clear objective, target files, acceptance criteria, and verification commands.<br>Instead of asking the AI to build a whole feature in one go, we make it focus on one specific unit at a time. This keeps the working context minimal.</p><p><strong>Recovering with fresh context: the Ralph loop</strong><br>When a task fails or times out, the typical reaction is to keep prompting the same session. That just adds error logs to the context, making the model more confused.<br>Instead, LoopTroop uses a recovery cycle:<br>We capture the failure details in a short note.<br>We reset the workspace back to the start of the task.<br>We start a completely new session with the original task spec and the failure note.<br>This keeps the lesson but throws away the context pollution. We limit these retries to a set number of attempts.<br><strong>Keeping the human in control</strong><br>The workflow is not fully autonomous. It requires your approval at important boundaries, such as approving specs and reviewing final changes.<br>You can monitor the entire run, view logs in real time, and inspect the final diff from a single Kanban board.<br>This approach is deliberately slow. It is not meant for quick edits, but for complex work where correctness matters.</p><p>If you want to look at the code or see how the GUI works, you can check the project on GitHub: <a href="https://github.com/looptroop-ai/LoopTroop">https://github.com/looptroop-ai/LoopTroop</a><br>Here is a short 2m 30s video showing the workflow in action: <a href="https://youtu.be/g1A2g-oOR3E">https://youtu.be/g1A2g-oOR3E</a><br>Any feedback is more than welcomed. If you tried the app and it worked or did not work, give me a sign. I am happy to talk about it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a09975ec528f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is context engineering?]]></title>
            <link>https://medium.com/@liviusa/what-is-context-engineering-788b6e80ddb6?source=rss-1e186612d109------2</link>
            <guid isPermaLink="false">https://medium.com/p/788b6e80ddb6</guid>
            <category><![CDATA[context]]></category>
            <category><![CDATA[context-engineering]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Ştefănescu Liviu]]></dc:creator>
            <pubDate>Tue, 30 Jun 2026 08:35:12 GMT</pubDate>
            <atom:updated>2026-06-30T08:35:12.893Z</atom:updated>
            <content:encoded><![CDATA[<p>Prompt engineering is about asking better.</p><p>Context engineering is about deciding what the model gets to know while it works.</p><p>That sounds like a small shift, but it changes how you build with AI. A prompt can help with a single reply. Context engineering is what you need when the model has to work across tools, files, memory, tests, retries, and several steps of a real task.</p><p>Most agent failures do not come from one bad sentence in the prompt. They come from the model seeing the wrong working set: too much history, missing files, stale decisions, huge logs, old failed attempts, or instructions that no longer match the current step.</p><p>The context window is not a filing cabinet. It is a workbench. If you pile everything onto it, the useful parts get buried.</p><h3>The short definition</h3><p>Context engineering is the practice of choosing, shaping, storing, retrieving, compressing, and isolating the information an AI system receives at each step.</p><p>That includes:</p><ul><li>the user request</li><li>system instructions</li><li>relevant files</li><li>retrieved documentation</li><li>examples</li><li>tool definitions</li><li>tool results</li><li>memory</li><li>previous decisions</li><li>error notes</li><li>acceptance criteria</li><li>the current task state</li></ul><p>The goal is not to maximize context. The goal is to give the model the right context for the next action.</p><p>Sometimes that means adding more information. Sometimes it means removing information. Sometimes it means writing information outside the chat so the next step can retrieve it cleanly.</p><h3>Why this became a real problem</h3><p>Early prompt engineering mostly dealt with single calls: write this email, summarize this document, generate this function, explain this error.</p><p>Agents are different.</p><p>An agent may plan, call tools, inspect files, make edits, run commands, read failures, retry, and prepare a final answer. That creates a long trail of context. Some of it is useful. Some of it is noise. Some of it was useful five minutes ago but is now harmful.</p><p>Coding agents make this easy to see.</p><p>Imagine an agent working on a medium-sized feature. It starts with a ticket, scans the repo, drafts a plan, edits a few files, runs tests, hits an error, patches the error, runs more tests, finds a second issue, and then tries again.</p><p>If every step keeps inheriting the whole transcript, the model starts carrying around:</p><ul><li>old plans</li><li>abandoned approaches</li><li>stack traces from fixed errors</li><li>file contents that no longer match disk</li><li>tool output that was only relevant to one branch of the attempt</li><li>user corrections mixed with model guesses</li></ul><p>After a while, the agent is no longer solving the clean task. It is solving the task plus the sediment of every previous attempt.</p><p>That is context rot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*nI2OabxxU3lplrAm.png" /></figure><h3>Larger context windows do not solve it by themselves</h3><p>A larger context window gives the model more room. It does not decide what belongs in the room.</p><p>This matters because agent context is not just “more text.” It is a live bundle of instructions, evidence, state, and tool access. Bad context can pull the model toward the wrong action even when the answer is technically somewhere in the window.</p><p>You can see the same thing in human work. Give a developer the current ticket, the target files, and the latest failing test, and they can focus. Give them every Slack message, every old branch, every failed patch, and every log from the last week, and now they have to do archaeology before they can write code.</p><p>Models have the same problem, with less judgment.</p><h3>Context engineering vs prompt engineering</h3><p>Prompt engineering asks:</p><ul><li>How should I phrase the request?</li><li>What role should the model play?</li><li>What examples should I include?</li><li>What output format do I want?</li></ul><p>Context engineering asks:</p><ul><li>What does this step need to know?</li><li>What should be stored outside the chat?</li><li>What should be retrieved now?</li><li>What should be summarized?</li><li>What should be hidden from this step?</li><li>Which tool results are worth keeping?</li><li>When should the agent start fresh?</li><li>Which artifact is the source of truth?</li></ul><p>Both matter. Good prompting still helps. But once a system has memory, tools, files, and multiple steps, the prompt is only one part of the environment.</p><h3>The four practical moves</h3><p>A useful way to think about context engineering is: write, select, compress, isolate.</p><h3>1. Write important state down</h3><p>Do not rely on the conversation transcript as the only memory.</p><p>Write important state into durable artifacts:</p><ul><li>requirements</li><li>decisions</li><li>plans</li><li>acceptance criteria</li><li>implementation notes</li><li>test results</li><li>failure summaries</li><li>review notes</li></ul><p>This gives the system something cleaner than chat history. A later step can load the current PRD or the latest failure note without dragging along every false start that produced it.</p><p>For coding agents, this is especially useful because files, specs, and test reports are easier to review than a long model transcript.</p><h3>2. Select only what matters now</h3><p>Each step should receive the smallest useful working set.</p><p>If the agent is planning, it may need the ticket, repo structure, relevant files, and user constraints.</p><p>If the agent is editing one small task, it may need only:</p><ul><li>the active task</li><li>the target files</li><li>acceptance criteria</li><li>a compact note from the last failure</li><li>the command it should run to verify the work</li></ul><p>The model does not need every planning draft or every old tool call just because those things happened earlier.</p><p>Selection is where many agent systems fail. They retrieve too much, retrieve the wrong thing, or treat all previous context as equally important.</p><h3>3. Compress noisy information</h3><p>Some information should survive, but not in full.</p><p>A 2,000-line test log may contain one useful fact: one assertion failed because the mocked user had no email address. A retry does not need the whole log. It needs the failure note.</p><p>Good compression turns messy context into useful working memory:</p><pre>Previous attempt failed because the password reset test creates a user without an email.<br>Update the fixture or guard the email access before rerunning:<br>npm test -- password-reset</pre><p>Bad compression hides the important detail:</p><pre>Tests failed. Try again.</pre><p>The point is not to summarize everything. The point is to preserve what changes the next action.</p><h3>4. Isolate phases</h3><p>Planning, coding, retrying, testing, and reviewing should not all share the same context shape.</p><p>A planner benefits from broad context. A coder benefits from narrow context. A reviewer benefits from the final diff, the requirement, and verification results. A retry often benefits from a clean session plus one compact failure note.</p><p>This is the part many people miss. Context engineering is not only retrieval. It is also deciding which information should not cross a boundary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*m3aBRcJbSJ74uL0l.jpg" /></figure><h3>What bad context looks like</h3><p>Bad context usually feels convenient at first:</p><pre>Give the model everything.<br>Keep the whole chat.<br>Paste the full logs.<br>Include every file.<br>Ask it to continue.</pre><p>That works for a while. Then the agent starts making strange choices.</p><p>It edits the wrong file because an old file dump is still in the transcript. It repeats a failed idea because the failed attempt is still nearby. It forgets the acceptance criteria because a huge tool result pushed the actual task out of focus. It treats a plan draft as if it was approved.</p><p>The model did not become lazy. The working set became polluted.</p><h3>What good context looks like</h3><p>Good context is boring in the best way.</p><p>It is explicit:</p><pre>Current phase: implementation<br>Active task: add empty-state copy to the media manager<br>Target files:<br>- app.js<br>- styles/managers-media.css</pre><pre>Acceptance criteria:<br>- Empty state appears only when no media exists.<br>- Upload button remains visible.<br>- Layout works on mobile.</pre><pre>Validation:<br>- node _check_css.js<br>- manual browser check later</pre><p>It is narrow:</p><pre>Do not modify campaign logic.<br>Do not change media upload behavior.<br>Do not run full end-to-end tests.</pre><p>It carries forward only useful failure information:</p><pre>Last attempt broke keyboard focus because the empty-state container replaced the upload button.<br>Keep the upload button outside the conditional empty-state block.</pre><p>This kind of context gives the model less room to improvise in the wrong direction.</p><h3>Context engineering is not just RAG</h3><p>Retrieval augmented generation is one technique inside context engineering. It helps the system fetch relevant information from docs, files, memories, or a database.</p><p>But context engineering is wider.</p><p>It includes tool design, memory design, artifact design, phase boundaries, retry behavior, human approval gates, and the shape of tool results.</p><p>For example, an agent with fifty tools may perform worse if every tool definition is always loaded. The system has to decide which tools belong in the current step. The same is true for files, examples, memories, and prior messages.</p><p>RAG answers: what should we fetch?</p><p>Context engineering answers: what should this model call know, what should it be allowed to do, and what should survive afterward?</p><h3>A checklist for agent builders</h3><p>Before you build a serious agent workflow, ask:</p><ul><li>What is the source of truth for the task?</li><li>Which artifacts should survive between steps?</li><li>Which old messages should be discarded?</li><li>What is the smallest useful context for this phase?</li><li>Which tools should the model see right now?</li><li>How should large tool results be stored?</li><li>What should happen after a failed attempt?</li><li>Can a human review the plan before execution?</li><li>Can a human review the final diff before merge?</li></ul><p>If the answer to most of these is “the chat has it,” the system is fragile.</p><h3>How LoopTroop applies context engineering</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*StbSQqpJwzFGs7z_.jpg" /></figure><p>LoopTroop is built around this problem in AI coding: long tasks get worse when every step lives inside one endless chat.</p><p>LoopTroop is a local, open-source GUI app for running coding tickets across local Git repositories. It is not trying to replace every coding agent. It is the orchestration layer around longer work: planning, splitting, execution, retries, logs, review artifacts, and human approval.</p><p>The relevant pieces are:</p><ul><li>LLM Council for planning</li><li>PRDs as durable specs</li><li>Beads as small implementation units</li><li>OpenCode as the execution layer</li><li>Git worktrees for isolated repo work</li><li>Ralph Loop retries for failed or stuck beads</li><li>human gates before important transitions</li></ul><p>The important context engineering move is that each stage gets a different working set.</p><p>The council can look broadly and compare plans. The PRD becomes the source of truth. Beads turn a large task into smaller units with acceptance criteria and validation commands. Execution gets one bead at a time instead of the whole project history. If a bead fails, the Ralph Loop saves a compact note, resets the attempt, and retries with fresh context rather than dragging the polluted session forward.</p><p>That is the practical version of context engineering: keep the useful state, discard the noise, and give the model a clean job at each phase.</p><p>For tiny edits, a direct chat or editor agent is usually enough. For larger tickets, especially the ones that touch several files or need multiple retries, context engineering is what keeps the agent reviewable.</p><p>The final output should not be “the AI wrote some code.” It should be a plan, a set of small tasks, logs, test commands, diffs, and a result a human can inspect without reading a giant transcript.</p><p>That is the lane LoopTroop is trying to own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aaSpWgrElzBt1S_G3vhPTA.gif" /></figure><h3>Sources</h3><ul><li>Anthropic, “Effective context engineering for AI agents”: <a href="https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents">https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents</a></li><li>Anthropic, “Effective harnesses for long-running agents”: <a href="https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents">https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents</a></li><li>OpenAI Cookbook, “Context Engineering — Short-Term Memory Management with Sessions”: <a href="https://developers.openai.com/cookbook/examples/agents_sdk/session_memory">https://developers.openai.com/cookbook/examples/agents_sdk/session_memory</a></li><li>OpenAI Cookbook, “Context Engineering for Personalization”: <a href="https://developers.openai.com/cookbook/examples/agents_sdk/context_personalization">https://developers.openai.com/cookbook/examples/agents_sdk/context_personalization</a></li><li>LangChain docs, “Context engineering in agents”: <a href="https://docs.langchain.com/oss/python/langchain/context-engineering">https://docs.langchain.com/oss/python/langchain/context-engineering</a></li><li>LangChain, “Context Engineering”: <a href="https://www.langchain.com/blog/context-engineering-for-agents">https://www.langchain.com/blog/context-engineering-for-agents</a></li><li>LoopTroop: <a href="https://www.looptroop.ovh/">https://www.looptroop.ovh/</a></li><li>LoopTroop GitHub: <a href="https://github.com/looptroop-ai/LoopTroop">https://github.com/looptroop-ai/LoopTroop</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=788b6e80ddb6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Built LoopTroop: An AI Orchestrator That Builds Apps Using AI]]></title>
            <link>https://medium.com/@liviusa/how-i-built-looptroop-an-ai-orchestrator-that-builds-apps-using-ai-0795fbbbbcc9?source=rss-1e186612d109------2</link>
            <guid isPermaLink="false">https://medium.com/p/0795fbbbbcc9</guid>
            <category><![CDATA[context-engineering]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ralph-loop]]></category>
            <category><![CDATA[llm-council]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <dc:creator><![CDATA[Ştefănescu Liviu]]></dc:creator>
            <pubDate>Tue, 23 Jun 2026 14:28:07 GMT</pubDate>
            <atom:updated>2026-06-23T14:28:07.520Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been heads-down on this for months and only now feel ready to talk about it properly.</p><p><strong>LoopTroop</strong> is a local, open-source GUI orchestrator I built. It uses OpenCode (right now, more backends in the future) to create new apps or add features, fix bugs, and improve existing codebases. It leans heavily on context engineering, Ralph loops, beads, LLM councils, and git worktrees.</p><p>Think Lovable or Replit, but with the opposite philosophy: it cares more about <strong>getting things right</strong> than shipping as fast as possible.</p><h3>The Problem That Started Everything</h3><p>Early this year I kept hitting the same wall. I’d try to add meaningful features to my own apps and the normal IDE route just became overwhelming on anything complex. Tools like Replit didn’t deliver what I needed either — they were even worse.</p><p>Around the same time Ralph loops were getting popular. I thought: <em>What if I combine Ralph loops with a proper LLM council and a full development lifecycle?</em> Maybe I could finally solve the real problems I was facing instead of fighting the tools.</p><p>I told myself it would take a month. Maybe six weeks max.</p><p>Boy, was I wrong.</p><p>(I also have a day job, kids, a house — you know, normal life.)</p><p>So me and my partner just started working on it whenever we could.</p><h3>120 Hours of Planning (The Most Important Part)</h3><p>The first 120 hours were pure planning. No code at all.</p><p>We looked at every similar project we could find and asked: what did they do well? Where did they fall short? I basically threw the initial idea at almost every model available back then and kept asking “What’s missing? What’s dumb? What should we push to later?”</p><p>Some of the Chinese open models actually gave the best suggestions. I’d take their feedback, update the plan, switch to another model, ask again, and repeat.</p><p>Once the core plan felt solid, I started digging into the actual tech stack behind it, this time leaning more on frontier models, then bouncing the new version back to the others for another round of criticism.</p><p>That whole back-and-forth took the full 120 hours.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*XAEQWVyKyDmyVoxx.gif" /></figure><h3>Actually Building It (And Why One-Shotting Was Impossible)</h3><p>Then we started implementing the plan.</p><p>I used a bunch of different harnesses — hammering GitHub CLI (insanely useful at the time because one request could just keep running for hours), Claude Code, Codex, Droid, and a couple others. I’d keep the best output from each run, steal good UI ideas from the rest, and then go back to the strongest harness (mostly Claude Code with Opus back then) to fold everything together.</p><p>Another month+ passed before it actually worked. This thing is genuinely complex. There was never any chance of one-shotting it.</p><p>After the core started working, I spent the next couple of months adding features and refining until it finally felt like the thing I had originally pictured in my head. Only then did I feel comfortable starting to talk about it publicly.</p><h3>The Tools &amp; Models I Actually Used</h3><p>Because LoopTroop itself runs an LLM council, I needed access to lots of different models at the same time for testing and building. Here’s what I leaned on:</p><ul><li>Multiple Codex Pro subscriptions + Codex-lb (the open-source load balancer so I wasn’t constantly logging in and out)</li><li>VS Code + Copilot + Copilot CLI (mainly for Claude Opus/Sonnet)</li><li>OpenCode Go subscription for smaller tasks</li><li>Antigravity (with Google Pro) for UI work and occasional Opus. Now that Flash 3.5 is out I use it constantly; it’s fast and good enough for most non-complex work</li><li>Kilo and OpenRouter to pull in free models for the council</li></ul><p>For big architectural decisions I would spin up GPT-5.5 (or 5.4) Pro and cross-check the plan across a ton of other models: MS Copilot, Z.ai GLM, Qwen, Minimax, Grok, Gemini, Deepseek, Kimi, Xiaomi, and sometimes even Mistral or Ernie. Same technique I used in my planning phase (described before) — moving the plan between different model families to catch edge cases and collect good ideas. I ended up with an architecture.md file with 10000+ lines that got so changed when I made the app actually work.</p><p>When I just wanted to know “What’s the current best way people are doing X right now?”, I usually started with Grok or Gemini.</p><p>Out of the open models, I’d currently recommend Kimi and GLM (on top of the big three).</p><p>Anything that got too complicated went straight onto the roadmap (it lives on GitHub and in the docs). That’s how I actually managed to launch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*3AeLBM48mcN0vxyz.jpg" /></figure><h3>What I’d Recommend Now (After Going Through It)</h3><p>If you’re building something genuinely complex with AI right now, here’s what I’d tell you:</p><ol><li><strong>Spend way more time on initial planning than you think you need.</strong> Run your plan through as many different models as possible. Different model families catch completely different things. Push the big scary features onto a roadmap and get as close to a real MVP as you can. Tens of hours, hundreds even if you want something serious — not a to-do app.</li><li><strong>After planning, use the strongest model you can afford for the first real iteration.</strong> I’d honestly just use LoopTroop for this now, with whatever the current top model is as the main implementer.</li><li><strong>Then settle into the real forever coding loop:</strong> Complex work? Use LoopTroop. Seriously, it’s built for exactly this. Small stuff or quick fixes? Use whatever fits your budget (full Claude/Codex/Cursor plan, OpenCode Go, or free models via OpenRouter). Just keep repeating this forever.</li><li><strong>Market and build at the same time.</strong> Don’t wait until it’s perfect. Keep shipping updates and talking about it in parallel with the development work.</li></ol><h3>See It In Action</h3><p>Here’s a full walkthrough of LoopTroop doing its thing:</p><p>Watch the full demo (16 minutes, after 6:50 the demo) on YouTube:<br><a href="https://www.youtube.com/watch?v=LYiYkooc_iY">https://www.youtube.com/watch?v=LYiYkooc_iY</a></p><p>That’s the story so far. It took way longer than I expected, cost more in subscriptions than I want to admit out loud, and taught me a ridiculous amount about how different models actually think.</p><p>If you’re building something complicated with AI agents or orchestrators right now, I’d genuinely love to hear how you’re approaching it.</p><ul><li><strong>Repository:</strong> <a href="https://github.com/looptroop-ai/LoopTroop">github.com/looptroop-ai/LoopTroop</a></li><li><strong>Docs:</strong> <a href="https://www.looptroop.ovh/docs/">looptroop.ovh/docs</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0795fbbbbcc9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>