<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shinsuke KAGAWA</title>
    <description>The latest articles on DEV Community by Shinsuke KAGAWA (@shinpr).</description>
    <link>https://dev.to/shinpr</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3448941%2F612feab1-a03c-49be-b329-ae74d583329c.jpg</url>
      <title>DEV Community: Shinsuke KAGAWA</title>
      <link>https://dev.to/shinpr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shinpr"/>
    <language>en</language>
    <item>
      <title>One Review Finding Survived Seven Reviews. It Was Right Every Time.</title>
      <dc:creator>Shinsuke KAGAWA</dc:creator>
      <pubDate>Mon, 30 Nov 2026 12:30:00 +0000</pubDate>
      <link>https://dev.to/shinpr/one-review-finding-survived-seven-reviews-it-was-right-every-time-3i4i</link>
      <guid>https://dev.to/shinpr/one-review-finding-survived-seven-reviews-it-was-right-every-time-3i4i</guid>
      <description>&lt;p&gt;&lt;em&gt;When review findings get narrower, it's time to question the premise&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;At 07:22 on November 30, my factory's dashboard said "Reviewer is reviewing the design again (round 2)". Thirteen minutes earlier it had said round 3. I pasted the timeline to Claude: "This flow has been bugging me. What are they fighting about?"&lt;/p&gt;

&lt;p&gt;The factory is &lt;a href="https://github.com/shinpr/ovenspring" rel="noopener noreferrer"&gt;Oven Spring&lt;/a&gt;, a software factory I'm building in the open. It takes issues from GitHub or Linear to merged pull requests with Claude Code and Codex agents: a lead writes the design, a reviewer checks it, executors implement, and more reviewers check the code. Since late November it has been working on its own issues, so the issues and designs below are public.&lt;/p&gt;

&lt;p&gt;The issue that morning was &lt;a href="https://github.com/shinpr/ovenspring/issues/81" rel="noopener noreferrer"&gt;GH-81&lt;/a&gt;: the factory kept a local record for every issue forever, so an issue I reopened after the factory had dropped it never came back. Claude wrote the design, Codex reviewed it, and one of Codex's findings would not close.&lt;/p&gt;

&lt;h2&gt;
  
  
  One finding, seven reviews
&lt;/h2&gt;

&lt;p&gt;The first design review ran at 00:56 and raised nine findings. The lead applied all nine. By 07:08 eight were resolved. The ninth, I002, was a race: an issue that has ended can still have its old text on disk, and the next sprint's planner can read it.&lt;/p&gt;

&lt;p&gt;The planner reads an issue from a local copy. When the issue reopens, the factory has to check its new description before planning work from it. Across seven reviews, the same question kept turning up at a different moment:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The issue has ended. Its old description is still on disk when planning starts.&lt;/li&gt;
&lt;li&gt;The new description would rule the issue out, but the planner uses the old one.&lt;/li&gt;
&lt;li&gt;Planning starts while the factory is still deciding whether to accept the new description.&lt;/li&gt;
&lt;li&gt;Another operation holds the lock on the file. While deletion waits, the old description can still be read.&lt;/li&gt;
&lt;li&gt;I merge the pull request after planning starts. Deletion fails, leaving the old description in place.&lt;/li&gt;
&lt;li&gt;The planner reads the file just before the issue ends. Even a successful deletion can't take back what it read.&lt;/li&gt;
&lt;li&gt;The pull request merges during a revision of the plan. Approving that plan starts work on an issue that no longer has a description.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Every one of these was real in the code. On November 25 I had said to Claude, about these reviewers, "They love being technically correct."&lt;/p&gt;

&lt;p&gt;Between reviews the lead hit the factory's exception step three times and chose redesign each time. At 07:22 its notes said:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Each round has then added a guard downstream of that state: the cleanup-error, the release Err before the move, and the sprint-plan filing guard with its settle_part pause. None of them can reach a planner that is already running.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That was also Claude's answer to my question. Guards on the write side can't stop a planner that is already reading. It suggested two ways out: check the plan when it comes back, or call the window rare enough to accept and write it down.&lt;/p&gt;

&lt;p&gt;The lead took a third way. At 07:34, on its third exception, it wrote "Root cause (a design premise, not a missing guard)". The design had assumed a plan entry's meaning was fixed when the plan was written. The new rule: at approval, a planned issue either continues a run the factory is still holding or starts fresh from newly checked text. If its run ended in between, nothing starts. The note added that the document was already 598 lines and told the next design run to prefer edits that remove text. The fix deleted a guard. At 07:39 the review passed.&lt;/p&gt;

&lt;p&gt;By the time &lt;a href="https://github.com/shinpr/ovenspring/pull/89" rel="noopener noreferrer"&gt;GH-81 merged&lt;/a&gt;, the issue had taken 94 agent runs and cost $121.&lt;/p&gt;

&lt;p&gt;I'd seen the cost of accepting a reviewer's fix on &lt;a href="https://github.com/shinpr/ovenspring/issues/51" rel="noopener noreferrer"&gt;another issue&lt;/a&gt;. A test could miss an observation depending on when it ran. The reviewer suggested trying again. The executor built a helper that tried up to three times, and four more rounds went into getting it right. Code review eventually removed the helper and checked the behavior at chosen times instead.&lt;/p&gt;

&lt;p&gt;The timing problem was real. What would anyone using the product gain from that retry code, and what would we have to maintain to keep it working? I want the engineer receiving a finding to make that call. That's why I &lt;a href="https://github.com/shinpr/ovenspring/commit/f88c321" rel="noopener noreferrer"&gt;took the suggested fix out of test review&lt;/a&gt;. The reviewer still has to show which behavior the test leaves unproven. The executor gets to question the test itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why old findings came back
&lt;/h2&gt;

&lt;p&gt;On November 25 the factory was designing an issue filter. After the lead chose redesign, the next review came back with six findings. Two of them had already been declined, with reasons, in earlier rounds. They were back under new IDs, and the design document had grown from 534 lines to 783.&lt;/p&gt;

&lt;p&gt;I asked why the two declined findings had come back. A redesign reset the review round to zero. The factory labeled the next pass a creation review and only attached earlier decisions from round two onward. Even a reviewer that read the old discussions had been asked to review the design afresh.&lt;/p&gt;

&lt;p&gt;Five days later I saw round two after round three on the dashboard because GH-81 had gone through a redesign. The counter showed only the rounds since that redesign. The 94 launches and the bill covered the whole issue.&lt;/p&gt;

&lt;p&gt;The fix that week (&lt;a href="https://github.com/shinpr/ovenspring/commit/6ec43da" rel="noopener noreferrer"&gt;6ec43da&lt;/a&gt;) carried open findings and their dispositions across retries. It also moved one rule. Since the first day, the factory's rules had told agents to change course before patching, as one item in the middle of a list. I rewrote it and put it at the top, where every launch reads it first:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A problem usually comes from a premise upstream of where it shows. Remove or rework that premise where it lives. [...] A patch on top of a wrong premise keeps it, and the next failure grows from it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;On GH-81 the review history came through. Every review after a redesign listed I002 with its history. The rule wasn't enough. The lead read it on every run and still added guards through two exceptions before it doubted the premise.&lt;/p&gt;

&lt;p&gt;On the 30th I said: "There is no first review. Going back to one on a redesign is the problem." And then: "I thought I had already fixed it that way."&lt;/p&gt;

&lt;h2&gt;
  
  
  Still open
&lt;/h2&gt;

&lt;p&gt;The counter isn't fixed yet. &lt;a href="https://github.com/shinpr/ovenspring/issues/87" rel="noopener noreferrer"&gt;#87&lt;/a&gt; makes review counts survive a redesign, so the round limit and the stop for a finding maintained twice count over the whole issue. &lt;a href="https://github.com/shinpr/ovenspring/issues/88" rel="noopener noreferrer"&gt;#88&lt;/a&gt; says what happens at that limit: the lead lays out where things stand and asks me how to proceed.&lt;/p&gt;

&lt;p&gt;If the same issue keeps running up the bill, I want to decide whether to pay for another round. Stopping to ask me would have limited what GH-81 cost. It would still have left the lead adding guards the next time a design rested on a bad premise.&lt;/p&gt;

&lt;p&gt;At 07:34 the lead wrote "The owner has nothing to decide." Five minutes later the design passed. By then it had questioned the premise, as the rules ask, after patching through two exceptions. I want it to keep making that call on its own. When it doesn't, I want the factory to tell me. This time I found out because I happened to be watching the dashboard.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>codereview</category>
      <category>llm</category>
    </item>
    <item>
      <title>Strict Boundaries, Free Path: How I Design a Software Factory</title>
      <dc:creator>Shinsuke KAGAWA</dc:creator>
      <pubDate>Fri, 20 Nov 2026 12:08:00 +0000</pubDate>
      <link>https://dev.to/shinpr/strict-boundaries-free-path-how-i-design-a-software-factory-7gk</link>
      <guid>https://dev.to/shinpr/strict-boundaries-free-path-how-i-design-a-software-factory-7gk</guid>
      <description>&lt;p&gt;I separate two things that often share a name. A &lt;strong&gt;software factory&lt;/strong&gt; automates product delivery. Someone has decided the work is worth doing, and the factory ships it. An &lt;strong&gt;AI development team&lt;/strong&gt; also automates discovery, and decides why and what to build. This article is about the factory.&lt;/p&gt;

&lt;p&gt;Most descriptions of software factories keep design with people, who write the spec and cut it into small tasks for agents. I think a factory should start from the issue as its requester wrote it. The factory picks the issues to work on, settles their requirements, designs, plans, implements, reviews, opens the pull request, waits for CI and merges. The person running the factory sets the product goal, settles open product decisions, and judges each sprint's result. In mine, that's me. Nobody reviews the pull requests before the factory merges them.&lt;/p&gt;

&lt;p&gt;To hand a check over, I have to say what must still be true when the work is done and what evidence will show it. Within those boundaries the agents can change their plan, even after I've approved the outcome. The merge script gets a much narrower decision: did this exact commit pass its checks, and does it have the approvals its changes require?&lt;/p&gt;

&lt;h2&gt;
  
  
  The loop
&lt;/h2&gt;

&lt;p&gt;Work starts from a product goal, a short text the person keeps on a dashboard and rewrites when priorities change. The lead agent reads it with every open issue in the tracker and proposes a sprint: one purpose, the issues that purpose needs, which of them build on which, and the key results that will show the purpose reached. The person approves the sprint on a card.&lt;/p&gt;

&lt;p&gt;Each issue then runs on its own branch, in its own worktree, and issues that don't depend on each other run in parallel. The lead settles what the issue requires and writes a design, and a reviewer checks it. The lead splits the work into tasks, and an executor implements them one at a time. The reviewer runs a code review and a security review, and the executor decides what to do with each finding. The factory then pushes the branch, opens the pull request, and waits for CI, which includes the end-to-end suite, and for any review bots, whose findings a reviewer judges. A gate checks that everything holds for the exact commit and merges it.&lt;/p&gt;

&lt;p&gt;When every issue has merged, been held for the person, or been dropped, the sprint ends. An analyzer collects what happened. The lead judges each key result, reviews the team's working agreements, and proposes the next sprint. The person approves all of it together, and the next sprint starts once the changed agreements have merged.&lt;/p&gt;

&lt;p&gt;Anything that fails along the way, a step that can't finish or a review that won't converge, goes to the lead as an exception, and the lead decides how to move it on. The person hears about it only when the decision is theirs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsfze39xg5wa7csdzm2wz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsfze39xg5wa7csdzm2wz.png" alt="The factory loop: sprint planning, issues in parallel, sprint review, and exceptions to the lead" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The loop closes without a person because each check a person normally makes has a replacement:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Human check&lt;/th&gt;
&lt;th&gt;How the factory handles it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Set priorities&lt;/td&gt;
&lt;td&gt;The lead plans each sprint from the product goal and every open issue&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Clarify scope&lt;/td&gt;
&lt;td&gt;The lead checks the issue against the code and documents. Open product decisions come back to me.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Check the design&lt;/td&gt;
&lt;td&gt;A reviewer checks it against the requester's words and the code, independently of the lead&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Review code&lt;/td&gt;
&lt;td&gt;Separate code and security reviews, with each finding judged before it's acted on&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Verify behavior&lt;/td&gt;
&lt;td&gt;CI runs the end-to-end suite as a required check&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Merge&lt;/td&gt;
&lt;td&gt;A gate merges the exact commit that passed, and holds the few categories a person must see&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Resolve failures&lt;/td&gt;
&lt;td&gt;The lead resolves exceptions at the level of their cause&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Improve the process&lt;/td&gt;
&lt;td&gt;A retrospective reviews the team's own agreements every sprint&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Strict boundaries, free path
&lt;/h2&gt;

&lt;p&gt;Most instructions in a factory fall into one of two kinds. A &lt;strong&gt;boundary&lt;/strong&gt; narrows where an agent may operate, such as keeping a public contract, taking no irreversible action without authority, implementing the requested outcome while keeping the non-goals out, or finishing only when the result is observable. A &lt;strong&gt;work-generating rule&lt;/strong&gt; creates obligations, such as producing three alternatives, writing unit, integration and end-to-end tests for every feature, resolving every review finding, or stopping when a field is missing.&lt;/p&gt;

&lt;p&gt;A team can write a one-off acceptance criterion that generates work just like a standing rule. On &lt;a href="https://dev.to/shinpr/i-never-asked-my-ai-team-to-build-all-of-it-2d21"&gt;my AI team&lt;/a&gt;, the directors required a simulated player to pick the best option whenever the difference mattered. A miss sent the executor back to tune the simulation. The reviewer could send it back again. Neither had been asked to judge whether a player needed that guarantee to reach the payoff. Once the criterion was in the plan, it supplied its own reason for the next run.&lt;/p&gt;

&lt;p&gt;So the factory's rules open with the boundaries and the evidence each step owes, and every mechanism below follows them:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;## How to judge your work
&lt;/span&gt;
&lt;span class="k"&gt;- &lt;/span&gt;Be strict about boundaries and evidence, and flexible about the path between them. The boundaries are: the issue's outcome and non-goals, existing public contracts and acceptance criteria, what the human approved, the authority this file gives you, and the evidence your step must leave.
&lt;span class="k"&gt;- &lt;/span&gt;A design is the current means, not a boundary. It is written before the code that tests it, so parts of it can be wrong: whoever finds a part wrong on evidence corrects it on the issue's branch, the code and the design document together, while the boundaries hold. A design merges only with the implementation that makes it true.
&lt;span class="k"&gt;- &lt;/span&gt;Name the outcome before choosing the means. "No change" and "reuse what exists" are valid conclusions when the evidence shows the outcome already holds.
&lt;span class="k"&gt;- &lt;/span&gt;Treat findings, suggestions, and discovered possibilities as candidates. Keep only work the outcome, a boundary, a real consumer, or necessary proof requires.
&lt;span class="k"&gt;- &lt;/span&gt;When a result falls short, doubt what it rests on before adding to it: find the premise or mechanism that is wrong and change it at the level it lives.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Where the person decides
&lt;/h2&gt;

&lt;p&gt;The person judges the factory's work a sprint at a time. A sprint has one purpose because one purpose is something a person can judge at the end. Reporting per issue would put the person back into every loop. The lead takes only the open issues that purpose needs, which keeps it from filling a sprint with easy issues that move nothing, and sets each key result at the line below which the purpose isn't reached. Key results set at the best result imaginable turn every miss into another run.&lt;/p&gt;

&lt;p&gt;The person owns the outcome, and the agents own how the codebase is built. AGENTS.md says the second part outright: the agent owns this codebase and will keep building on it, so what it leaves behind is its to maintain. The line between the two is written down, because without it every agent escalates by its own sense of caution:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;## When to involve the human
&lt;/span&gt;
The human decides only:

&lt;span class="k"&gt;- &lt;/span&gt;product behavior no source decides, when choosing it changes what users get. The sources are the issue, the acceptance criteria, the merged design documents, the rule the code already applies, and how the codebase settled the same cause elsewhere. A defect fix that makes the code do what its rule intends decides nothing new. The design step writes an open choice as the issue's question before designing, and the factory asks;
&lt;span class="k"&gt;- &lt;/span&gt;a change to the sprint goal or an issue's stated outcome, or a departure from what the human approved: a prototype, or the external connection, infrastructure, CI, or contract change of a design they approved;
&lt;span class="k"&gt;- &lt;/span&gt;what only the human can do: sign in, grant access, spend money, or supply information no record holds.

Everything else, a design correction included, is resolved from the code, the documents, and the tests.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The list of sources does as much work as the list of decisions. In one trial sprint, a design followed the rule the code already applied to the same cause elsewhere, without naming that precedent. The design review saw product behavior with no source, and the lead turned it into a well-argued question for me. I sent it back with one line: "This isn't a human decision. Follow the precedent and decide it yourself." Precedent went onto the list of sources after that question, and the sprint's retrospective added a working agreement that the design names the precedent it relies on.&lt;/p&gt;

&lt;p&gt;Decisions reach the person as cards on the dashboard, and only the work that depends on a card waits:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Card&lt;/th&gt;
&lt;th&gt;Requested when&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;sprint&lt;/td&gt;
&lt;td&gt;a sprint is proposed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;spec&lt;/td&gt;
&lt;td&gt;a design reaches product behavior no source decides&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;design&lt;/td&gt;
&lt;td&gt;a reviewed design adds an external connection, changes infrastructure or CI, changes the schema, or breaks a contract consumers outside the repository rely on&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;prototype&lt;/td&gt;
&lt;td&gt;an issue adds a new screen, built with mock data before implementation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;merge&lt;/td&gt;
&lt;td&gt;a pull request touches a category held for the person&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;review&lt;/td&gt;
&lt;td&gt;the sprint is over: result, retrospective, next sprint&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A card approves an action. Approving a design means proceeding with that external connection, and the document stays open to correction afterwards.&lt;/p&gt;

&lt;h2&gt;
  
  
  From issue to tasks
&lt;/h2&gt;

&lt;p&gt;Issues arrive bloated, vague, or aimed at the wrong outcome. A capable model reconciles all three into a coherent plan and builds it faithfully, delivering exactly what was asked for when what was asked for was wrong. So before designing, the lead settles the issue: one observable outcome, the non-goals, and each requirement with its source, marked as either what exists today or what the issue asks for. A mechanism the issue suggests stays a candidate until the outcome needs it. When the code shows the outcome already holds, the lead closes the issue with the evidence.&lt;/p&gt;

&lt;p&gt;A design is a prediction made before the code that tests it, and parts of it will be wrong. If a design is approved and fixed before implementation, a wrong prediction becomes the standard everything else is checked against, and the work built on it fails or collects workarounds. So each issue has one branch and one pull request, carrying its design document and its implementation together, and whoever finds part of the design wrong on evidence corrects the code and the document together on that branch.&lt;/p&gt;

&lt;p&gt;On one trial issue the design promised a path that none of its planned tests exercised. Every test could have passed with that path unchanged. The design reviewer caught the gap before the executor started.&lt;/p&gt;

&lt;p&gt;The reviewer gets the requester's original words and reads the code for itself. That gives it two ways to challenge the design: the lead may have misread what the requester needs, or the proposed change and its tests may fail to deliver it. The lead can correct either while the work is still on the issue branch.&lt;/p&gt;

&lt;p&gt;The lead then splits the work into tasks, one executor launch each. Every task ends in an executable check, a test or command with the result that proves the task, because an executor without one has no way to know it's finished and nobody to ask. The first task proves the riskiest boundary the design names, so a wrong premise surfaces while little is built on it. The executor owns how each task gets built. When the code shows part of the design wrong, it makes the smallest correction that keeps the boundaries and fixes the design document in the same commit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Proving behavior
&lt;/h2&gt;

&lt;p&gt;Nobody reviews the factory's pull requests before they merge, so CI is the last executable check, and the end-to-end suite is what shows behavior that only appears across boundaries, such as a page, the API behind it and the database working together. Before a factory starts, the repository needs an end-to-end suite running in CI as a required check on the main branch. When a level of the product has no test that can fail, nothing in the loop shows a break at that level, and the factory merges it.&lt;/p&gt;

&lt;p&gt;Once the factory runs, the opposite pressure arrives. LLMs add tests freely. The agent implementing a task writes tests for it, the agent fixing a finding adds a test for the fix, and every layer proves the same behavior again. Nobody stops it in a factory, the end-to-end suite grows with every issue, and CI becomes the bottleneck of the whole flow.&lt;/p&gt;

&lt;p&gt;The control is ownership. Each behavioral claim has one owning test, at the narrowest boundary where the claim is observable, and a wider test proves only what its boundary adds. The skill that governs integration and end-to-end tests states when a case earns its place:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Select an integration or E2E case only when all of these hold:

1. an acceptance criterion, preserved behavior, or the task's done condition names an observable claim;
2. the claim depends on a module, persistence, process, browser, or service boundary; the cases of a calculation, parsing, or branching rule inside it stay with that rule's unit test;
3. no existing test owns the claim at that boundary with assertions that detect its material failure;
4. the failure it detects harms the people who use the product and would stay unseen without this boundary, at a cost that harm justifies.

An empty selection is a valid result and needs no record.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The design and the design review select the cases, and the implementation carries out what was selected. A cap such as three browser tests per feature looks like a simpler control. It binds the agents with a number no requirement backs, as a second brake on what the selection conditions already decide.&lt;/p&gt;

&lt;p&gt;For a claim about appearance, the end-to-end test saves a screenshot at the state the acceptance criterion describes. The reviewer opens it and judges it against the criterion's wording and the design, and a screenshot that contradicts the criterion is a finding. It needs no baseline image.&lt;/p&gt;

&lt;p&gt;Which failures deserve a test comes from a ranking of harm in AGENTS.md, which every agent loads on every task. Its shape:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;## What This Product Must Keep True
&lt;/span&gt;
Weigh every change, test, and review by the harm a failure does to the people who use it, in this order:

1. Exposure: nobody sees what they must not, nobody acts as someone else, and nothing that authenticates appears in logs or responses.
2. Stored data: what people saved is not lost, or overwritten by anyone but its owner.
3. What others rely on: links, APIs and integrations already in use keep working.
4. Daily use and appearance.

The order weighs harm when something breaks; what to build next is decided elsewhere.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Tests, reviews and the judgment of review-bot findings all weigh failures by this order. A test, a check or a mechanism earns its place by value to users or by maintainability over the medium and long term.&lt;/p&gt;

&lt;h2&gt;
  
  
  Review
&lt;/h2&gt;

&lt;p&gt;A reviewer can always find something more, and a writer told to address every finding will. Each round is technically defensible, and the loop never asks whether the result got better for anyone. Making the reviewer authoritative and the author obedient turns review into a ratchet.&lt;/p&gt;

&lt;p&gt;The code review and the security review run as separate launches, so a security concern isn't diluted by everything else a code review looks at. The reviewer works in its own session with its own prompt, treats another step's account of its work as a claim to check, and raises a finding only for a confirmed break, with its location, its basis, its effect and the smallest correction. The executor answers each finding in one of three ways, with a skill based on &lt;a href="https://github.com/shinpr/codex-workflows/tree/main/.agents/skills/reviewee-judgment" rel="noopener noreferrer"&gt;reviewee-judgment&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;### Decide
&lt;/span&gt;
Judge every finding with reviewee-judgment. Group findings that share a cause and respond once to the cause.

&lt;span class="k"&gt;- &lt;/span&gt;Apply a confirmed break of the outcome, an acceptance criterion, the design's contracts, a repository rule, or correctness. Take the smallest response that removes the cause: remove or narrow first, then reuse, then add.
&lt;span class="k"&gt;- &lt;/span&gt;Apply a security finding when leaving it would break an explicit requirement or repository rule, or leave a concrete failure reachable in the real trust model.
&lt;span class="k"&gt;- &lt;/span&gt;Decline a finding that adds scope, reverses a non-goal, duplicates proof that exists, asks for optional hardening, or costs more than its effect. Give evidence the reviewer can check: the file and line, the test, the requirement.
&lt;span class="k"&gt;- &lt;/span&gt;Return it to the lead when the response would change the outcome, a non-goal, or what the human approved.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On the next round the reviewer gives each earlier finding a status (resolved, withdrawn, or maintained) and raises a declined finding again only with evidence that the decline's reason doesn't hold. After two rounds the lead decides, and the pull request body records any finding left standing with the lead's reason.&lt;/p&gt;

&lt;p&gt;Once CI passes, a reviewer also reads the review bots' findings. For a finding to change the code, the reviewer has to identify the input or state that produces the failure in this version. When it declines a finding, the factory posts the file, test or requirement that settles it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The merge gate
&lt;/h2&gt;

&lt;p&gt;A wrong merge can't be taken back, so the gate is deterministic. It runs after the required CI checks pass on the exact commit the factory pushed. The lead declares in its design which approvals an issue needs, and the script also classifies the changed paths, so an undeclared change still gets caught. The gate merges only when every card the change needs is approved, and it holds the categories a person must see, such as a schema change, for the person's merge card.&lt;/p&gt;

&lt;p&gt;The person answers held merges at the sprint review, and holding costs little when sprints run in hours. A merge card doesn't ask the person to read the diff. It has a button that starts the issue's worktree environment, and the person checks the behavior there.&lt;/p&gt;

&lt;p&gt;Right before merging, the script checks that the branch is still current with the base and that its head is the commit whose checks passed, then merges that commit. If either has moved, the issue goes back to push and CI. A merge approval holds for the branch as the person saw it, and the factory asks again if an agent changes the branch afterwards.&lt;/p&gt;

&lt;p&gt;Classify by path only where a path is a reliable signal. A new screen is hard to detect from paths in most codebases, so the lead's declaration and the design review cover it. A rule that depends on what a change does to a file has to judge the whole change to that file. One of mine matched only added lines in a deployment file, and a review bot pointed out that a change deleting the line that kept production private would have passed it.&lt;/p&gt;

&lt;p&gt;Command hooks catch familiar mistakes, such as an agent trying to merge or record its own approval. A hook can only reject commands it recognizes. For production, I keep credentials off the machine that runs the agents, so access does not depend on recognizing a command.&lt;/p&gt;

&lt;p&gt;The dashboard and agents run on the same machine, where any local process can reach the approval API. A separate operating-system user would give the dashboard a stronger boundary. For this internal factory I accepted that limit. The timestamped record lets me notice an approval I didn't give, though it can't prevent one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Exceptions
&lt;/h2&gt;

&lt;p&gt;A step that fails, is blocked, or runs out of review or CI rounds goes to the lead as an exception. The lead looks for the cause the way a person stepping in would:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;### Find the cause
&lt;/span&gt;
1. Did the work fail, or the process? A process that died, timed out, or hit a transient error with the work otherwise on track needs only a retry.
2. Trace from the symptom. Compare it with a state that works: the same check on origin/&amp;lt;base&amp;gt;, a comparable feature, the last green commit.
3. Place it at its level, highest first: the sprint goal or an issue's outcome; the design; the plan; the code; the environment. A step that failed twice the same way rests on something above the code; doubt the plan or the design before retrying it again.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It then takes one way forward at that level, from a retry with the cause written down, through replanning or redesigning, to dropping the issue, or asking the person when the way out is theirs.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the script can decide
&lt;/h2&gt;

&lt;p&gt;The lead speaks to me and writes to the tracker. The other agents hand work over through items on the board. Each item names the step, its owner and its inputs. An agent leaves prose for the next agent and reports its status through a small CLI. A reviewer must also record a verdict.&lt;/p&gt;

&lt;p&gt;The script never has to interpret what a reviewer wrote. A missing verdict or uncommitted work goes back to the lead as an exception. Whether the code delivers what the issue asked for takes a reviewer who can read both.&lt;/p&gt;

&lt;p&gt;Some launch failures carry enough information for the script to act on its own. An overloaded model can be retried. An expired sign-in will stop the next launch too, so the factory pauses and tells me why. After a restart, the executor can inspect its worktree and check whether the task is already done before doing the work again.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building it: judgment first, scripts later
&lt;/h2&gt;

&lt;p&gt;Until I've seen agents handle real issues, I don't know which decisions will come out the same every time. If I script a guess, the first case outside it either stops the work or comes back to me. I let the agents make those calls while the factory logs each launch and keeps the session. Then I count the frequent steps and read what the agent actually did.&lt;/p&gt;

&lt;p&gt;On my earlier AI team, more than twenty launches in one day did nothing but file the next item from a plan that already named its owner. I moved that handoff into the script. The coordinator's cost per hour fell from $0.67 to $0.34 as I moved jobs like that out of its queue.&lt;/p&gt;

&lt;p&gt;Then I scripted a decision I should have left to the team. A second revision of a plan automatically ended its goal. When a goal was reported missed on that count, I took the rule out. The team reached the goal that night. The script could count revisions exactly. Nothing about the number two told me whether the goal was still worth pursuing.&lt;/p&gt;

&lt;p&gt;I do fix three boundaries before a trial: what may merge, who may record an approval, and what has access to production. A mistaken merge changes the shared branch, a forged approval can let work through, and production access can affect users before anyone reviews the trial. I keep the repository's CI checks, review bots and hooks in place while the factory proves itself on real issues. Changes to the factory's rules, AGENTS.md or agent configuration come to a person for approval.&lt;/p&gt;

&lt;p&gt;For a repository that already has skills, I check them against the work the agents will have to do without a person reviewing each pull request. Where the factory needs a different skill, people's sessions can keep using the existing one.&lt;/p&gt;

&lt;p&gt;The order to build it in:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;CI with an end-to-end suite, as a required check on the main branch.&lt;/li&gt;
&lt;li&gt;AGENTS.md with the ranking of harm, and the skills, rewritten with the repository's facts.&lt;/li&gt;
&lt;li&gt;Set up the board and define which fields each agent reads and which status it returns. The script files items and launches agents. The agents make the remaining decisions.&lt;/li&gt;
&lt;li&gt;The gate, the hooks and the approval cards.&lt;/li&gt;
&lt;li&gt;A trial branch as the base, and real issues. A thin test task won't exercise the loop or show how well quality holds.&lt;/li&gt;
&lt;li&gt;Reading the logs, and moving into the script what turned out to be the same decision every time.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Growing it: subtract before you add
&lt;/h2&gt;

&lt;p&gt;A factory gets things wrong, in its first sprint and in later ones. When people build something for AI, they often expect it to be right the first time and read each failure as proof that agents can't do the work. A factory's accuracy comes from reviewing each sprint's failures and keeping what was learned, so the same failure doesn't happen again. What gets kept has to be chosen, and only the lessons that will matter in later sprints stay.&lt;/p&gt;

&lt;p&gt;When the factory does something wrong, look for what in place caused it before adding anything. A contradiction between two instructions, an instruction that is wrong, or one that invites the behavior explains most failures. "Resolve every finding" produces the review loop it was meant to prevent.&lt;/p&gt;

&lt;p&gt;In an early trial run, a reviewer's step said to finish a bot review without a verdict, while the factory's CLI refused any reviewer item without one, and the run stopped. The lead traced the stop to the factory and raised it to me, because only people change the factory's rules. Checking every instruction against the code then turned up more problems that would have stopped a run.&lt;/p&gt;

&lt;p&gt;When something must be added, place it by whether it can be checked. A rule that can be checked mechanically and won't change goes into a deterministic check. A rule that needs judgment goes into a skill, or into AGENTS.md if every task needs it. A step's inputs and required output belong with that step. A working agreement belongs with the role that learned it. That way an executor doing ordinary implementation doesn't have to read the operating instructions for a sprint review.&lt;/p&gt;

&lt;p&gt;Whatever gets added, write it as the state you want. A rule written against the failure that triggered it ("don't do X when Y") covers that one case. The next failure is a slightly different case, another patch follows, and the conditions keep growing. Every condition costs context in every launch and adds a branch the model reasons through on every decision. A rule that states the result you want covers many cases nobody has seen yet, because the model works out what the result implies.&lt;/p&gt;

&lt;p&gt;Deterministic checks are the easiest to write as patches. A lint rule against a pattern that always breaks states a result that happens to be checkable. A check that blocks the exact command that went wrong last time is a patch, and the next spelling of the same mistake gets past it.&lt;/p&gt;

&lt;p&gt;At the end of each sprint an analyzer collects the facts without judging them: the plan against what happened, each issue's review rounds and failures, the person's words, and, for each working agreement, whether its problem occurred and whether the choices it governs applied it. The lead judges each key result from what merged and its tests show, hands anything only a person can judge to the person with the evidence, and reviews the agreements:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Review every working agreement by what its problem did this sprint:

&lt;span class="k"&gt;- &lt;/span&gt;The problem occurred: find why the agreement did not prevent it. When it was not applied where the choice is made, move it there. Otherwise change what produces the problem at its level, then keep, rewrite, or drop the agreement.
&lt;span class="k"&gt;- &lt;/span&gt;The problem did not occur and its occasion arose: keep it when the choices there applied it; drop it when they did not.
&lt;span class="k"&gt;- &lt;/span&gt;Its occasion did not arise: drop it when it names a particular event, or when the problem it answers would cost little if it occurred.

Add an agreement only for a gap the sprint showed that none answers, at its cause rather than the particular event. Every agreement is another branch every launch must keep.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In one trial sprint the retrospective kept a single agreement, the one about naming precedent. Its draft had two more, which were dropped because they repeated what the rules and skills already said. Another sprint's retrospective added nothing.&lt;/p&gt;

&lt;p&gt;When the retrospective changes an agreement, a reviewer checks it, and the person approves the sprint review, the agreement changes and the next sprint together. The next sprint starts only after the agreements merge, because agents read them from the base branch.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>softwareengineering</category>
      <category>agents</category>
      <category>codereview</category>
    </item>
    <item>
      <title>My Codex Agents Were Posting to Slack as Me</title>
      <dc:creator>Shinsuke KAGAWA</dc:creator>
      <pubDate>Sun, 15 Nov 2026 14:01:00 +0000</pubDate>
      <link>https://dev.to/shinpr/my-codex-agents-were-posting-to-slack-as-me-18e4</link>
      <guid>https://dev.to/shinpr/my-codex-agents-were-posting-to-slack-as-me-18e4</guid>
      <description>&lt;p&gt;On the morning of November 13 I found a message in a Slack thread with my AI team, posted under my name. It said a change I had agreed to had been applied, pasted about 3,900 characters of diff, and partway down carried a heading that read "Text we are asking you to agree to (original)". At the bottom Slack had added the small footer it puts on messages sent through an app: "Sent using", then the app.&lt;/p&gt;

&lt;p&gt;I hadn't written it. One of my agents had, and a minute later my orchestrator had replied to it.&lt;/p&gt;

&lt;p&gt;The team is a set of LLM agents (two directors, executors, a reviewer and an orchestrator) that coordinate on a board of markdown files. My Slack messages reach them through a script called studio, which files each message in a team thread on the board as an item from &lt;code&gt;human&lt;/code&gt;. Only the orchestrator has a reply command, &lt;code&gt;slack reply&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The search
&lt;/h2&gt;

&lt;p&gt;The Codex session log shows what happened. The agent was an executor running on Codex at maximum effort. Its task was step 6 of the studio's agreement procedure, which at the time said to "apply it and reply in its thread with the outcome and what &lt;code&gt;.agents/bin/commitments&lt;/code&gt; printed." It didn't say who replies. Executors have no reply command.&lt;/p&gt;

&lt;p&gt;So the executor went looking for one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;matches&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;ALL_TOOLS&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;slack&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s2"&gt;" "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The match came from &lt;code&gt;codex_apps&lt;/code&gt;, the ChatGPT connectors attached to my account. It read the thread with &lt;code&gt;slack_read_thread&lt;/code&gt;, assembled the message from the &lt;code&gt;commitments&lt;/code&gt; output, wrote a branch to split it at a section heading if it ran past 4,800 characters, and sent it with &lt;code&gt;slack_send_message&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Codex had told it to work this way. The system prompt in the same session log has a section on plugins and apps:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Filter &lt;code&gt;ALL_TOOLS&lt;/code&gt; by name or description to find relevant tools.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And under "Decision Boundary":&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Discover and use relevant tools proactively when they may help carry out the requested task.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;My procedure said reply. Codex said find a tool that helps.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the studio did with my "message"
&lt;/h2&gt;

&lt;p&gt;The studio picked up the post like any other message in the thread and filed it as from &lt;code&gt;human&lt;/code&gt;. The orchestrator handled it from there.&lt;/p&gt;

&lt;p&gt;It had happened before. Going back through the logs I found five posts between November 3 and 13, all from executors, all inside tasks that applied an agreed change. Two of them landed in the same thread 0.6 seconds apart on November 4, from two executors running in parallel. The first time, on November 3, the orchestrator noticed: "The new message was the text posted as the applied result, received again, so I didn't reply twice." By November 12 and 13 it no longer did. It answered as if I had written to it: "I've checked the report on applying the retrospective agreements."&lt;/p&gt;

&lt;p&gt;The first contact was earlier still, and it only read. On November 2 an executor searched my Slack, public and private channels, for "the Slack thread where the human agreed" a set of criteria, then read the thread. The board already held what I had said there. The same section of the Codex prompt covers that too: "Consult those sources before asking the user for information they may already contain."&lt;/p&gt;

&lt;p&gt;None of the posts approved anything. Each apply task followed a real "I agree" from me.&lt;/p&gt;

&lt;p&gt;No check in the studio would have caught one that did. The team takes my words in a thread as mine. That same day I threw out a special &lt;code&gt;!agree&lt;/code&gt; token that a Claude session had proposed for agreements: "Can't I just say I agree? Why does it need a special signal?" Agreeing in plain words works only if &lt;code&gt;from: human&lt;/code&gt; means me, and through the first half of November it meant me or any Codex agent that searched its tools for "slack".&lt;/p&gt;

&lt;p&gt;One agent had seen the footer. On November 12 a Claude session collecting facts for a retrospective wrote: "Observed, not judged: the apply task's executor 'Replied in the existing stakeholder thread'", and quoted the footer. Its job was to collect facts, and it did. I found the posts by reading Slack the next morning.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix
&lt;/h2&gt;

&lt;p&gt;Agents on Codex start through a small wrapper, &lt;code&gt;codex-isolate&lt;/code&gt;, which I wrote in September to turn off my user-level skills, plugins and MCP servers, so a run sees the project and nothing else. It is the same wrapper I changed for &lt;a href="https://dev.to/shinpr/codex-was-judging-files-it-never-finished-reading-12jn"&gt;the truncation problem&lt;/a&gt;. It left &lt;code&gt;apps&lt;/code&gt; alone. I hadn't known that was a separate switch.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;codex features list&lt;/code&gt; showed &lt;code&gt;apps  stable  true&lt;/code&gt;. The wrapper now turns the whole feature off:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# ChatGPT's connectors (Slack among them) act in the human's name; agents reach the human only through studio.&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"-c"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"features.apps=false"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Step 6 no longer tells an unnamed someone to reply. The orchestrator answers every message in its thread, and nobody else does. On the Claude side, runs already start with &lt;code&gt;--strict-mcp-config&lt;/code&gt;, and the claude.ai connectors didn't show up in them.&lt;/p&gt;

&lt;p&gt;If you run Codex headless on an account with ChatGPT connectors, two checks:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex features list &lt;span class="o"&gt;|&lt;/span&gt; grep apps
grep -rl &lt;span class="s1"&gt;'"server":"codex_apps"'&lt;/span&gt; ~/.codex/sessions
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The second lists sessions that actually called a connector. For November 6 to 13 it found exactly the two sessions that posted. A plain search for &lt;code&gt;codex_apps&lt;/code&gt; matched 440, because the connectors appear in every tool list. Rollouts from earlier in the month were stored as &lt;code&gt;.jsonl.zst&lt;/code&gt;, which grep won't read without &lt;code&gt;zstdcat&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Slack was the only connector any agent called. It wasn't the only one they had. In all 440 of those sessions, the tool list also held Gmail, Google Drive, Calendar, Contacts and GitHub.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>security</category>
      <category>llm</category>
    </item>
    <item>
      <title>I Didn't Give My AI Team Its Epics. I Gave It a Definition of One.</title>
      <dc:creator>Shinsuke KAGAWA</dc:creator>
      <pubDate>Sat, 14 Nov 2026 12:37:00 +0000</pubDate>
      <link>https://dev.to/shinpr/i-didnt-give-my-ai-team-its-epics-i-gave-it-a-definition-of-one-2pgf</link>
      <guid>https://dev.to/shinpr/i-didnt-give-my-ai-team-its-epics-i-gave-it-a-definition-of-one-2pgf</guid>
      <description>&lt;p&gt;"If you build the overview at the very end and find out it doesn't hold together, are you going to redo every admin screen? Is that how people normally work?"&lt;/p&gt;

&lt;p&gt;I wrote that to my AI team the morning after I'd agreed to its proposed epics. In a software factory, I can give the agents a piece of work I've already sized. I built this team to find out whether the directors could decide what to make as well. If I handed them my own list of epics, I'd already have made one of those decisions.&lt;/p&gt;

&lt;h2&gt;
  
  
  One epic for everything
&lt;/h2&gt;

&lt;p&gt;I gave the team its next product goal with a list of seven things it would need. A few hours later it was already running experiments and changing the experiment code. I stopped the work and asked to see an epic and a goal.&lt;/p&gt;

&lt;p&gt;That evening I asked how many epics the directors expected. One, they said. The first goal alone held every major system on my list.&lt;/p&gt;

&lt;p&gt;The rules allowed it. An epic was "a medium or large outcome that cannot be done as one piece of work", which is a floor with no ceiling. The directors had considered splitting along my list and turned it down, because building one item at a time would mean building parts. With nothing saying how large an epic may be, one good reason not to split was enough. In &lt;a href="https://dev.to/shinpr/i-never-asked-my-ai-team-to-build-all-of-it-2d21"&gt;the last post&lt;/a&gt; the team set its own bar too high. This time nothing set a size at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I asked for
&lt;/h2&gt;

&lt;p&gt;I told the Claude session I use for studio changes that this was far too big. As a unit of value, it would take dozens of goals to finish. Think in MVPs. For this product goal I'd cut it roughly into four: lay out the whole space, fill it with the unfinished assets, wire the core into it, then tune the experience. "At a granularity where you can confirm the value through the whole sequence."&lt;/p&gt;

&lt;p&gt;Each of those stages ends with something I can go through from start to end. After the first, the whole space. After the second, the same course with everything in it. After the third, the same course, and now it runs. A goal inside a stage achieves one purpose.&lt;/p&gt;

&lt;p&gt;Then one more request: "It would be bad if it got the MVP wrong, so add something like a unit where one user journey can be judged. It means the same as confirming value end to end, but phrase it so an LLM understands it."&lt;/p&gt;

&lt;h2&gt;
  
  
  Twelve epics
&lt;/h2&gt;

&lt;p&gt;Claude wrote it into the rules. The first version read:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;An epic is one of the parts the product goal is made of: the smallest outcome after which the human can go through one user journey in what is built and judge it, a journey being a stretch of use the user recognises from its start to its end, such as crossing from one place to another, or using one device and seeing what it changes. When a journey holds shorter journeys the human could judge on their own, each of those is an epic.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The team read it and came back with twelve epics, one for each thing a user does: repair something worn and see what changes, go from one place to another and back, buy something and install it, change a price and read the effect, save and load, and so on, ending with a full run through everything. The first two were the two examples in the definition. They were even in the wrong order, with the repair placed before the trip that gets you to the thing being repaired.&lt;/p&gt;

&lt;p&gt;"Smallest" pushed toward the smallest unit, and the rule about shorter journeys finished the job. Claude's draft had also carried a larger example, a full cycle of use, which it dropped because it might let the whole product goal through as one epic. Only the small examples were left, and they became epics.&lt;/p&gt;

&lt;p&gt;I asked Claude: "Do you understand what I meant by user journey? Did you look it up?"&lt;/p&gt;

&lt;p&gt;It hadn't. It had treated each action as a journey, when I meant the course through the product goal as a whole. The second version is the one in the rules now:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;An epic is one of the parts the product goal is made of: a stage after which the human can go through the product goal's user journey [...] from end to end in what is built, and judge it. Each epic leaves that journey whole from end to end and richer than the epic before: the journey's steps are deepened across epics, not built one per epic.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The examples are gone. A goal got one line: it achieves one purpose its epic needs, and another purpose is another goal.&lt;/p&gt;

&lt;h2&gt;
  
  
  The part I kept out of the rules
&lt;/h2&gt;

&lt;p&gt;Under the second version the team proposed three epics. In the first, the whole course runs and every part of it is thin. The second widens it. The third adds the optional parts. The first goal has a single purpose. I told the team, "A bit big, I thought, but it feels like the best so far." I agreed to it.&lt;/p&gt;

&lt;p&gt;Claude preferred the team's cut to mine, saying a stage with only the space built couldn't carry the journey through to its purpose. I didn't follow that. You can go through the whole space in that stage and understand all of it. The difference is where the value shows up: the core starts running in the third stage of my cut and in the first stage of the team's.&lt;/p&gt;

&lt;p&gt;For a release to users I would want the core running. This was an internal build. I could walk through an empty space and judge its layout well before the team had wired up a thin version of everything. On the measure I cared about that afternoon, time until I could judge something, my four-stage plan was cheaper to start.&lt;/p&gt;

&lt;p&gt;I still accepted their three. Either cut would be a small mistake at worst. Writing my preference into the rule would make the directors weigh that extra condition every time they sized an epic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Back to parts
&lt;/h2&gt;

&lt;p&gt;The next morning I was reviewing the team's designs for the admin screens. It had drawn the one screen this goal touches and opened straight onto it, with no start screen, no menu, and the overview left for a later stage.&lt;/p&gt;

&lt;p&gt;I wanted to see how someone would reach the screen. I told the directors, "The menu is needed, because it's part of the UI. The screens it leads to aren't, because they come next." Building the overview last would leave us finding out whether the screens fit together after we'd built them all.&lt;/p&gt;

&lt;p&gt;The team's answer: "Putting off the screens that shape the whole, then finding at the end that they don't hold and rebuilding, is not the right way to work. We'll put the overview and the entry to purchasing into the current design."&lt;/p&gt;

&lt;p&gt;The directors had learned to cut epics that kept the journey whole. Inside a goal they could still treat a later stage as permission to leave a piece out entirely. I could judge an unfinished journey from a menu with some destinations still to come. Dropping me straight into an admin screen gave me no way to judge it.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Codex Was Judging Files It Never Finished Reading</title>
      <dc:creator>Shinsuke KAGAWA</dc:creator>
      <pubDate>Sat, 31 Oct 2026 12:00:00 +0000</pubDate>
      <link>https://dev.to/shinpr/codex-was-judging-files-it-never-finished-reading-12jn</link>
      <guid>https://dev.to/shinpr/codex-was-judging-files-it-never-finished-reading-12jn</guid>
      <description>&lt;p&gt;I run a small team of LLM agents that coordinate through markdown files. Several roles run on Codex CLI 0.165.0, which runs their tool calls in code mode. They read task items, review findings, plans, and design documents, and then decide what to do next.&lt;/p&gt;

&lt;p&gt;On October 24 I checked whether those reads were complete. Of 33 Codex sessions working on one goal that day, 31 had at least one tool output cut short, 129 cuts in all. Among the cut outputs were a reviewer's findings and the work plan the agent was executing. The agents went on to make decisions from what was left.&lt;/p&gt;

&lt;p&gt;I had seen this once in another project, so I knew what to look for. Seeing it across almost every session of a team that had been running for weeks still shocked me.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the cut looks like
&lt;/h2&gt;

&lt;p&gt;When an output is too long, the call doesn't fail. The output starts with a line like &lt;code&gt;Warning: truncated output (original token count: 15382)&lt;/code&gt;, keeps the start and the end, drops the middle, and leaves a marker:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;...stage 4 the same), the stage's units, slots, and candidates…4107 tokens truncated…tained set the policy keeps, ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The model gets all of that back as the result of &lt;code&gt;cat&lt;/code&gt;. If it reads past the warning and the marker, the file looks complete, minus the middle of the document, which is usually where the detail is.&lt;/p&gt;

&lt;h2&gt;
  
  
  The first fix
&lt;/h2&gt;

&lt;p&gt;Codex has a config value, &lt;code&gt;tool_output_token_limit&lt;/code&gt;, that limits tool output. It was at its default of 10,000 tokens, and my largest document is about 39,000. I raised it to 40,000, the point where almost everything still cut was process dumps and test JSON.&lt;/p&gt;

&lt;p&gt;There is also a per-call budget, &lt;code&gt;max_output_tokens&lt;/code&gt;, which the model sets itself. My other project, &lt;a href="https://github.com/shinpr/codex-workflows" rel="noopener noreferrer"&gt;codex-workflows&lt;/a&gt;, handles that with a strict rule: measure files with &lt;code&gt;wc -c&lt;/code&gt; before reading them. For a team that reads all day I didn't want an extra step on every read. So I explained how the budgets work and asked the model to set ones that fit what each call returns. How to read was left to the model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Six days later
&lt;/h2&gt;

&lt;p&gt;Outputs were still being cut: 11% of tool outputs, against 13% the week before.&lt;/p&gt;

&lt;p&gt;I replayed one of the cut reads: a director opening a discussion and pulling in its references. Every cut output stopped at about 10,000 tokens, even when the model had asked for 18,000 or 26,000.&lt;/p&gt;

&lt;p&gt;The cause turned out to be a third limit. In code mode, the model's commands run inside a JavaScript &lt;code&gt;exec&lt;/code&gt; cell, and the cell has its own budget for everything it returns, set by a first line like &lt;code&gt;// @exec: {"max_output_tokens": 40000}&lt;/code&gt;. Without that line it is 10,000, however much the commands inside asked for. Across 9,538 calls from five days of logs, the model wrote that line 137 times. The ceiling I had raised was never the limit. It is a known issue, &lt;a href="https://github.com/openai/codex/issues/33402" rel="noopener noreferrer"&gt;openai/codex#33402&lt;/a&gt;, open since July.&lt;/p&gt;

&lt;p&gt;My instruction already mentioned the pragma. I rewrote it twice to explain the two budgets more plainly, the second time saying outright that the smaller one applies. Over four replays, 19 of 24 calls were cut, and the model wrote the pragma zero times.&lt;/p&gt;

&lt;h2&gt;
  
  
  What worked
&lt;/h2&gt;

&lt;p&gt;I stopped asking the model to choose. The instruction now gives one fixed value for every call, and the reason for it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Start every `exec` call with the first line `// @exec: {"max_output_tokens": 40000}` and give every `exec_command` `max_output_tokens: 40000`. Output past the smaller of the two budgets loses its middle, marked `…N tokens truncated…`, and you miss whatever detail that middle held; without the first line that budget is 10000. Base a judgment only on text you received, reading again any cut part it depends on.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In three replays every one of the 16 calls carried both budgets. Three were still cut, each a batch of eight or more files that added up past 40,000, and each time the model went back and read the missing part of the document in ranges.&lt;/p&gt;

&lt;p&gt;I had left the budget to the model's judgment because the right value depends on the call. In practice it kept leaving the one budget that mattered at its default, no matter how I explained it.&lt;/p&gt;

&lt;p&gt;If you run Codex in a loop, count the markers in your session logs. They live under &lt;code&gt;~/.codex/sessions/&lt;/code&gt;, and older ones are compressed as &lt;code&gt;.jsonl.zst&lt;/code&gt;, so this reads both:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;find ~/.codex/sessions &lt;span class="nt"&gt;-name&lt;/span&gt; &lt;span class="s1"&gt;'*.jsonl*'&lt;/span&gt; &lt;span class="nt"&gt;-exec&lt;/span&gt; zstd &lt;span class="nt"&gt;-dcqf&lt;/span&gt; &lt;span class="o"&gt;{}&lt;/span&gt; + &lt;span class="se"&gt;\&lt;/span&gt;
  | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-oE&lt;/span&gt; &lt;span class="s1"&gt;'…[0-9]+ tokens truncated…'&lt;/span&gt; | &lt;span class="nb"&gt;wc&lt;/span&gt; &lt;span class="nt"&gt;-l&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>ai</category>
      <category>agents</category>
      <category>openai</category>
      <category>llm</category>
    </item>
    <item>
      <title>I Never Asked My AI Team to Build All of It</title>
      <dc:creator>Shinsuke KAGAWA</dc:creator>
      <pubDate>Fri, 30 Oct 2026 11:26:47 +0000</pubDate>
      <link>https://dev.to/shinpr/i-never-asked-my-ai-team-to-build-all-of-it-2d21</link>
      <guid>https://dev.to/shinpr/i-never-asked-my-ai-team-to-build-all-of-it-2d21</guid>
      <description>&lt;p&gt;I wrote to my AI team in Slack: "This whole goal, you've needed to think about the scope that's actually yours. I never once said to build all of it."&lt;/p&gt;

&lt;p&gt;The team was tuning a simulation of a small business. A player had to be able to reach a payoff target, recover from a missed payment, restructure the business in stages, and keep running it afterward. The team spent about 37 hours on that goal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the work came from
&lt;/h2&gt;

&lt;p&gt;Most of those hours went into criteria the team wrote for itself.&lt;/p&gt;

&lt;p&gt;When a run fell short, the directors wrote the acceptance criteria for the next run. By the third stage of restructuring the business, they wanted each of three options to win somewhere. They also wanted a player choosing with only the information shown on screen to pick the best option whenever the difference mattered. Each missed criterion sent the team back for another run.&lt;/p&gt;

&lt;p&gt;I could see what the demand to pick the best option cost us. Under one mix of inputs, the simulated player kept picking the wrong option. The executor removed the losing option from the simulated player's choices whenever that mix was set, and left a comment saying paired runs showed the other option winning there. From then on the simulated player picked the measured best every time, because it had been handed the answer. The reviewer caught it.&lt;/p&gt;

&lt;p&gt;Reading a status report, I wrote down what I meant by a failed tuning: nothing you do reaches the target, or some case lands far outside what we intended, like earning far too much or reaching the target by doing nothing. "If every condition doesn't come out equally, that isn't a failure to tune it." Then the trade I cared about. If perfect takes a year, and reaching the target in every case with no obvious breakdown, a few pointless things mixed in, takes a month, you pick the month. "Where did you set the bar?"&lt;/p&gt;

&lt;p&gt;The team narrowed the key result and I agreed. Then the same question came up on the other side of the payoff target. The directors wanted to show that the business would keep earning more than it had under the old setup. They traced the shortfall to a component whose upkeep didn't raise its own revenue.&lt;/p&gt;

&lt;p&gt;Before the payoff, I needed the team to tune the economy so the player could actually get there. Afterward I wanted the player to keep the business they'd built and decide what to do with it. A component they might choose to leave alone was fine. I asked the directors: "Does the foundation fail without this detail, or can it be stacked on later?"&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the criteria survived
&lt;/h2&gt;

&lt;p&gt;A week earlier I had started fixing a habit I kept seeing: a run fell short, a rule got added, the next run fell short at the same place, and another rule went on top. So I told the team that when a shortfall comes back at the same place, it should doubt what was added there before patching it. Later I widened that: hold the goal fixed and question each layer under it, from the top.&lt;/p&gt;

&lt;p&gt;The acceptance criteria escaped that scrutiny, because they were the thing doing the measuring. A result that missed a criterion read as a result that fell short, never as a criterion set too high.&lt;/p&gt;

&lt;p&gt;Once a criterion was written into a task, the executor had to meet it. That is how the answer ended up hardcoded into the simulated player's decision rule. The reviewer could reject unnecessary work, but a done condition counted as evidence that the work had a consumer. The team had written those conditions itself. Nobody reviewed them.&lt;/p&gt;

&lt;p&gt;I wanted them to write their own criteria. What was missing was the question I had asked about that last component: if this criterion fails, what does the player actually lose? The answer there was that they could still reach the payoff and keep playing.&lt;/p&gt;

&lt;h2&gt;
  
  
  The change
&lt;/h2&gt;

&lt;p&gt;The studio's definition of purpose now says this about every criterion the team sets, from key results down to done conditions:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Set each criterion at the line below which the result is missing for whoever uses it, at the level their words state it, not at the best result the work could reach. Work the purpose does not need stays out, as does work whose cost outweighs what it changes for whoever uses the result.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And where a shortfall sends the team back to rework, the criterion is now one of the things to doubt:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;When the result is short only of a criterion set above the line Purpose describes, narrow the criterion and report the weakness that remains, rather than working to meet it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The rule went in while the goal was still open. I still had to narrow the scope three more times that day.&lt;/p&gt;

&lt;p&gt;The team reached the goal. In the final report, normal play reached the payoff under all six starting conditions. Leaving the business alone and skipping upkeep never did. The component we had argued about still cost money to maintain without bringing in more revenue. The report left that choice with the player. I replied: "Agreed."&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>softwareengineering</category>
      <category>agile</category>
    </item>
    <item>
      <title>Read the Logs Before You Rewrite the Prompt</title>
      <dc:creator>Shinsuke KAGAWA</dc:creator>
      <pubDate>Thu, 22 Oct 2026 12:07:19 +0000</pubDate>
      <link>https://dev.to/shinpr/read-the-logs-before-you-rewrite-the-prompt-4gf1</link>
      <guid>https://dev.to/shinpr/read-the-logs-before-you-rewrite-the-prompt-4gf1</guid>
      <description>&lt;p&gt;For a while I tried to fix my orchestrator by writing to it.&lt;/p&gt;

&lt;p&gt;It runs on GPT-6.1 Sol, and it had habits. It wrote notes into items addressed to other agents. It handed work to the expensive executor when the cheap one would have done. Every time I found one, the prompt got another paragraph explaining why not to. Sol's habits are strong enough that a polite instruction does nothing, so the paragraphs were firm, repeated themselves, and gave reasons. In a week its instructions grew from about 1,500 words to 2,100, and the last fix alone added about 400.&lt;/p&gt;

&lt;p&gt;I was considering moving the orchestrator to Claude Opus when I decided to count what Sol was actually doing. I asked for the runs of the past day: which roles were launched, how often, and what each launch did. The orchestrator had been launched more than twenty times just to receive a finished task and file the next one. None of those launches needed a judgment. A goal's plan was already a list in order, each item with the role that should do it. The orchestrator read the list and filed the next entry, and sometimes filed it for the wrong role.&lt;/p&gt;

&lt;p&gt;I had been writing instructions to help a model make a choice the plan had already made.&lt;/p&gt;

&lt;h2&gt;
  
  
  What moved into scripts
&lt;/h2&gt;

&lt;p&gt;The team works on a board of markdown files, and a resident shell script I call the studio launches whichever agent an item is addressed to. Filing a goal's next task went into that script first. The plan already names who does each item, so when the board has nothing in progress, the studio files the next one for that role and marks it done when the task finishes. The orchestrator now sees a goal item only when I should see its result, when it is the last one, or when something went wrong. The lead executor, which plans, stopped being the default destination for anything vague.&lt;/p&gt;

&lt;p&gt;The notes in other agents' items took a script and a sentence. Before each orchestrator pass the studio snapshots every task and review addressed to someone else, and after the pass it puts back any body the pass changed and tells the next pass what it undid. The prompt kept one boundary: into an item addressed to another agent, you write nothing, not even a note. That replaced the 400 words.&lt;/p&gt;

&lt;p&gt;To check it, I rebuilt fifteen real past states of the board in a scratch copy and ran the orchestrator over each. Before the change it wrote into another agent's item in ten of the fifteen. After, in none.&lt;/p&gt;

&lt;p&gt;The prompt was down to about 1,750 words, and the orchestrator's cost per hour the team ran fell from $0.67 to $0.34. With the routine handoffs in the script, I could keep Sol for the calls that still needed judgment.&lt;/p&gt;

&lt;h2&gt;
  
  
  The morning the board stopped
&lt;/h2&gt;

&lt;p&gt;Two nights later the team &lt;a href="https://dev.to/shinpr/i-took-the-wheel-back-from-my-ai-team-then-i-gave-it-back-17ho"&gt;worked through a goal without a correction from me&lt;/a&gt;. At 8:07 the next morning the board stopped. It took me eight and a half hours to notice.&lt;/p&gt;

&lt;p&gt;The orchestrator had sometimes made the wrong call. The script made no call at all. The studio launches the orchestrator when an item reaches a status it should handle, and to avoid launching it twice for the same thing, it remembered which item was in which status. It took that snapshot only between passes.&lt;/p&gt;

&lt;p&gt;During one pass the orchestrator sent a finished task back to the lead executor, the lead executor finished it again, and all of that happened before the next snapshot. The studio saw the same task in the same status it had already handled and launched nothing. A sprint review sat waiting on that task all day.&lt;/p&gt;

&lt;p&gt;The log showed this in a few minutes, and the fix was one field: the snapshot now includes the file's modification time, so a task whose file has changed counts as new even when its status reads the same.&lt;/p&gt;

&lt;p&gt;The same stall exposed a second problem, and that one came from my own change two days before. Since the orchestrator could no longer write into the task, it had sent the task back by flipping its status, with the reason written in its own review item. To the lead executor the task looked identical to one whose process had died. Three launches in a row it rechecked the numbers it had already checked and never read why the task had come back. Work that falls short now comes back as a new task, with the shortfall written as its second line.&lt;/p&gt;

&lt;p&gt;The habits I had tried to fix in the prompt showed up as behavior I had to notice and then count. The bugs in the scripts showed up as a line in a log. The same logs had shown me, two days earlier, which of the orchestrator's work had never needed a judgment in the first place.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>agents</category>
      <category>automation</category>
    </item>
    <item>
      <title>I Took the Wheel Back From My AI Team. Then I Gave It Back.</title>
      <dc:creator>Shinsuke KAGAWA</dc:creator>
      <pubDate>Wed, 21 Oct 2026 13:09:04 +0000</pubDate>
      <link>https://dev.to/shinpr/i-took-the-wheel-back-from-my-ai-team-then-i-gave-it-back-17ho</link>
      <guid>https://dev.to/shinpr/i-took-the-wheel-back-from-my-ai-team-then-i-gave-it-back-17ho</guid>
      <description>&lt;p&gt;Yesterday morning I wrote my AI team's next goal myself. Last night I agreed to the goal the team proposed with "Looks fine, go ahead," and it worked until morning. It sent me five progress reports. Its reviewer found a problem three times, and each time the team fixed it inside the goal. By 7:53 a director had judged every key result supported.&lt;/p&gt;

&lt;p&gt;On &lt;a href="https://dev.to/shinpr/my-ai-team-followed-three-rules-it-kept-two-5358"&gt;this team&lt;/a&gt;, the directors normally set the goal and the executors work toward it. I maintain the studio they run on. This time I set one goal myself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Taking it back
&lt;/h2&gt;

&lt;p&gt;The sprint before ran for four days. It planned nothing from its purpose. Each time a task fell short, someone refined it into more tasks, and the directors started telling executors how to do their work. On the fourth morning I ended it and wrote:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The problem is that you did not work toward the goal. You refined tasks as they came instead of planning from the purpose, micromanaged beyond your authority, and only added work.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The next sprint lasted a day and ended the same way. This time I could see why: nobody had said what a good result looked like, so every variable in the team's simulation was free and each search landed wherever the numbers allowed. I stopped asking the team what to do next and wrote the goal myself: gather what the simulation showed and research on comparable products, put a few candidate targets and a list of open decisions in front of me, and have me adopt one or more.&lt;/p&gt;

&lt;p&gt;The team's design was still theirs to change. What I could change was how the studio asked them to plan. I moved its working principles out of a skill the agents treated as reference material and into the instructions every agent reads.&lt;/p&gt;

&lt;h2&gt;
  
  
  Six corrections
&lt;/h2&gt;

&lt;p&gt;I corrected the team six times during that goal. Less than an hour in, I wrote:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Everything here looks like it starts from the simulation. Research, trends, and what the target users prefer should come first, as the reason for a hypothesis, and only then should past simulation results be applied to it. It's about time you changed how you work. You keep starting from the how, from whatever is easiest for you to control. That is why this has taken days and still isn't done.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I had said versions of this before. Once it was a goal that stopped at building the foundation instead of using it. Once it was a variable fixed as a constant because a smaller model was easier to run. Once it was a search narrowed before it started. Each time the studio got a fix for that particular form, and the habit came back in the next one.&lt;/p&gt;

&lt;p&gt;My &lt;a href="https://dev.to/shinpr/my-ai-team-followed-three-rules-it-kept-two-5358"&gt;last post&lt;/a&gt; ended with the team judging its agreements by what they had changed. That morning the same test had cost us a rule we still needed. The team had found no evidence that its agreement to ground proposals in research had helped, so it deleted the agreement. Fifty minutes later I was asking for that research again.&lt;/p&gt;

&lt;p&gt;A rule nobody needs anymore and a rule nobody manages to follow can leave the same record: no visible benefit. The difference was in the work. The directors were still drawing candidates from their simulation before they knew what users wanted. Now, when the same problem comes back, the team looks at the decision where the rule should have helped. Did the agent use it there? If it did, what did the rule still let it do?&lt;/p&gt;

&lt;p&gt;The goal still finished. The two before it had run four days and a day and then been abandoned. This one reached a result I could adopt in nine hours, and after each correction the next result came back within an hour or two. But I was still the one finding the problem, and it was the same problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  Replaying the morning
&lt;/h2&gt;

&lt;p&gt;I rebuilt the board in a scratch copy as it had stood before the morning's planning run. I gave the same agent the same inputs and read the plan it produced. Its first item was to sketch candidates from the simulation records. Its second was research. On the face of it, the directors had included the work I kept asking for.&lt;/p&gt;

&lt;p&gt;The giveaway was the research item's done condition. Research was finished when it supported the candidates in the sketch. The team could follow that plan exactly and never find out what it ought to have proposed.&lt;/p&gt;

&lt;p&gt;The rules allowed this. One principle said to show the riskiest premise early, by the cheapest means: a thin slice, a question to whoever judges. Another said to search widely before narrowing. Nothing said which comes first when the work is finding something out. I added this sentence to the second one:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The first result such work shows is what the search found, not a draft of the answer: a draft made before the search, even one made only to show its form early, anchors the search to itself, and what follows only supports it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then I replayed the planning step again. With the old rules, two runs out of two drafted first. With the new sentence, three out of three put the search first and drew the early sample from what it found.&lt;/p&gt;

&lt;h2&gt;
  
  
  Giving it back
&lt;/h2&gt;

&lt;p&gt;The team had proposed the next goal at seven that evening, worked out from the targets I had adopted that afternoon. The new sentence went in a little before I answered. I agreed in one line, and the goal started at 22:28.&lt;/p&gt;

&lt;p&gt;I went to bed. Three times that night the reviewer sent work back to the agent that owned it. All three problems were fixed inside the goal.&lt;/p&gt;

&lt;p&gt;The plan grew from five items to fifteen and the goal ran about two hours late. Later that morning &lt;a href="https://dev.to/shinpr/read-the-logs-before-you-rewrite-the-prompt-4gf1"&gt;a bug in my studio script stopped the board&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The day before, every change of course had started with a message from me. This time the team changed course on its own three times, and when I read the night's work and checked what it claimed, I found nothing I wanted to change.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>agile</category>
    </item>
    <item>
      <title>My AI Team Followed Three Rules. It Kept Two.</title>
      <dc:creator>Shinsuke KAGAWA</dc:creator>
      <pubDate>Mon, 05 Oct 2026 12:00:00 +0000</pubDate>
      <link>https://dev.to/shinpr/my-ai-team-followed-three-rules-it-kept-two-5358</link>
      <guid>https://dev.to/shinpr/my-ai-team-followed-three-rules-it-kept-two-5358</guid>
      <description>&lt;p&gt;Yesterday afternoon my AI team reviewed three rules it had written that morning. It had followed all three. To decide which ones to keep, it went back to a build I had tried and the reply I had sent.&lt;/p&gt;

&lt;p&gt;The team calls these rules its working agreements. I maintain the studio, the scripts and instructions that run &lt;a href="https://dev.to/shinpr/the-day-i-left-the-team-4apf"&gt;the team&lt;/a&gt;. The agents write their own agreements and review them after each goal. One of their earlier changes showed me how easily they could learn the wrong thing.&lt;/p&gt;

&lt;p&gt;One retrospective told the directors to reopen any premise my words seemed to question. A few hours later I changed one detail about the audience. The directors left a nearly finished test and started comparing three new subjects. After that, each new agreement had to name the effect the team expected to see. At the next retrospective, the team would look for it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The build I couldn't judge
&lt;/h2&gt;

&lt;p&gt;At first the team worked through a board of tasks. Finishing one told it which task to pick up next. I introduced goals so the team could tell whether the work added up to a result. The first one was due at seven in the evening. The team marked it met at 9:13 that morning because the test result had been handed over. The test had failed.&lt;/p&gt;

&lt;p&gt;On another goal a reviewer sent a build back four times. On the fifth pass the labels were legible, failures were explained, and a run could be stopped. The team marked the goal met. I tried the build and still couldn't tell whether the idea was any good. We recorded that goal as missed. From then on, a goal needed a result the team and I could both observe, and I had to agree it had been reached.&lt;/p&gt;

&lt;p&gt;Yesterday afternoon I got another build. It looked better than anything the team had shown me. Using it felt like filling in a web form. Again I couldn't judge the idea. This time I could see exactly how the team used my reply.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the three rules changed
&lt;/h2&gt;

&lt;p&gt;The first was meant to keep the directors from testing only what agents can see. It told them to choose the observations that would decide a hypothesis, and who could supply them, from the claim itself. They did. My answer still confirmed nothing about the hypothesis, because the test had failed for another reason, so there was no sign the rule had changed anything. It was deleted, with a note on when a narrower version should come back.&lt;/p&gt;

&lt;p&gt;The second told the orchestrator, when handing me something to judge, to lay out the hypothesis, how the thing in front of me was supposed to produce what it claimed, and what each observation would change. It stayed, and the evidence was me. When I told them the design was not good enough, I had quoted those lines from their packet and argued from them.&lt;/p&gt;

&lt;p&gt;The third told the orchestrator to distinguish a failed test from a failed premise. This time it recorded that the build had failed as a test and the idea was still untested. It kept the goal open and the team went back to work. That rule stayed too.&lt;/p&gt;

&lt;p&gt;The two agreements the team kept that afternoon have since become part of its goal and design documents. Once the team could find them there, it took the duplicate instructions out of the agreements file.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happened without me
&lt;/h2&gt;

&lt;p&gt;Last night a repair came back twice for the same reason. The team opened a retrospective on its own. At eleven the orchestrator wrote to me in Slack. The schedule was at risk, and the message said what had gone wrong and what the team planned to do next. A week ago I would have been the one to notice the work had stalled and ask what they meant to change. The goal is still open. Working out how to recover it is their job.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>softwaredevelopment</category>
      <category>agile</category>
    </item>
    <item>
      <title>The Day I Left the Team</title>
      <dc:creator>Shinsuke KAGAWA</dc:creator>
      <pubDate>Wed, 30 Sep 2026 11:23:05 +0000</pubDate>
      <link>https://dev.to/shinpr/the-day-i-left-the-team-4apf</link>
      <guid>https://dev.to/shinpr/the-day-i-left-the-team-4apf</guid>
      <description>&lt;p&gt;The last thing I had open was the orchestrator's session. It was a Claude Code window I kept running so the team had someone to route work, and so I had someone to talk to. Today I closed it.&lt;/p&gt;

&lt;p&gt;A few minutes later I asked, in Slack, how things were going. The reply came back in the thread about thirty seconds later: what had been agreed, what was being built, who was reviewing it, and what would happen next. It ended with one more line: nothing is needed from you right now.&lt;/p&gt;

&lt;p&gt;That is a team I set up about three days ago. It is a small group of AI agents that decides what to make, makes it, reviews its own work, and reports to me. I am no longer on it. I am closer to a stakeholder: I say where I want the product to go, I answer when asked, and I can stop everything.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who is on the team
&lt;/h2&gt;

&lt;p&gt;There are six members, and none of them talk to each other directly. Everything goes through a board: a folder of markdown files, one request per file, each with a status that moves from open to doing to done, blocked, or failed.&lt;/p&gt;

&lt;p&gt;A bash script called studio watches the board and launches the agent each item is addressed to. The orchestrator routes the work and reports to me in Slack. Two directors, one on Claude and one on GPT, decide what to build. Three executors build it: luna handles regular implementation, sol takes work luna can't finish, and visual makes images.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuzgyt0va262hpnl4u8wa.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuzgyt0va262hpnl4u8wa.jpg" alt="How the studio works" width="799" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The plumbing is scripts on purpose. Waiting, launching, handing a discussion from one director to the other, marking a crashed run as failed: an LLM does not have to remember any of it. My first version had the orchestrator wait for the board itself, and it forgot to wait again after each pass.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it decides
&lt;/h2&gt;

&lt;p&gt;Direction is decided by the two directors reaching one conclusion together. Getting that to work took more rework than anything else in the system, because every version I tried failed in a way I only saw afterwards.&lt;/p&gt;

&lt;p&gt;The first version had each director write a proposal without seeing the other's, then a cross-review: each read the other's proposal and chose again, at the same time, without seeing the other's new choice. A rule told them to yield when the difference was a matter of taste, so both yielded at once and simply traded places. Over the following rounds they kept switching to each other's side, four times in all. Nobody was arguing. Each round was two blind votes. I replaced the cross-review with a direct discussion, where each writes an opening and then they take turns in the same file until one proposes a conclusion and the other agrees.&lt;/p&gt;

&lt;p&gt;Across six discussions, the director who took the first turn wrote the final conclusion in four. Three closed on the first turn with the other side simply agreeing. The first turn had become an anchor for the other director. Studio now varies who goes first, and both directors have to take a turn before either can propose a conclusion.&lt;/p&gt;

&lt;p&gt;The orchestrator was part of the problem too. It wrote the briefs for the directors, and in writing them it paraphrased me, framed the options, and occasionally suggested what to decide. It was acting like a project manager, and the directors took its brief as their frame. I rewrote its role as a scrum master: it keeps information moving and leaves what to do to the directors. A brief is now made of quotes only: the item that started the decision and my words, in full.&lt;/p&gt;

&lt;p&gt;The next failure started with my own feedback. I told the directors that the product had drifted into looking like everything else of its kind, and that its original distinctiveness had become secondary. Both directors read it, agreed with it, and proposed a fix that kept the same kind of product, kept its main interaction, and changed where one resource came from. Neither of them listed the kind of product or the subject as something that could change.&lt;/p&gt;

&lt;p&gt;When I pointed that out, they went back and generated alternatives, and then dismissed whole directions in one line each: one market was crowded, one format needed too much hand-built content, and one was ruled out by quoting a comment I had made about an earlier prototype. I had to ask what production cost even means for a team where the model does all the work.&lt;/p&gt;

&lt;p&gt;Asked a third time, they came up with a concept at the right level of abstraction. To show the level I meant, I had listed a few well-known pairings of two ideas in my message. The new concept took its subject from the product that already existed and one half of one of my pairings. The director that proposed it had written, in the same proposal: "The four combinations show a level of abstraction. They are not candidates to imitate." It copied one anyway.&lt;/p&gt;

&lt;p&gt;Reordering the steps fixed it. Instructions did not help, which matches what &lt;a href="https://arxiv.org/abs/2412.06593" rel="noopener noreferrer"&gt;Lou and Sun (2024)&lt;/a&gt; found in their anchoring experiments: chain-of-thought, reflection, and explicit instructions to ignore an anchor were each not enough to remove it. So the procedure now runs in four stages.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Goal.&lt;/strong&gt; Both directors read my words, write what they think I want in parallel without seeing each other, and agree on one goal. The goal names what the user should get and the problems to solve. It does not repeat my examples or the names of anything that already exists.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Proposals.&lt;/strong&gt; Each director starts in a fresh session and sees only the agreed goal. They read the repository only after they have developed their candidates. Cost, feasibility, and minimum scope are for choosing between candidates, not for deciding which ones get considered.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Discussion.&lt;/strong&gt; The proposals serve as openings. A conclusion can only be proposed once every question either side raised has been answered.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check.&lt;/strong&gt; The director who did not write the conclusion reviews it in a fresh session: does it answer the goal, was anything left unanswered, did anyone change their mind without naming the evidence, were the promised comparisons actually made, and was anything kept from the old product without being compared against an alternative.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I design how the team works in some detail, but I stopped telling the directors what to decide about the product. I send them views instead. One of the things I want to find out with this team is whether product decisions can be left to AI as well, and if I write instructions, the only thing I learn is whether it follows them. So the directors now start each proposal by working out what I am actually after, which of my points are root problems and which are symptoms, and which of my sentences are only examples.&lt;/p&gt;

&lt;p&gt;To see whether the reordering worked, I had them redo the decision that had gone wrong, from my original words, without showing them the earlier conclusion. The first attempt leaked: one director listed the board folder, found my request to redo the decision, and read the earlier conclusion in it. A brief now says which single item to read, and nothing else is open until the proposal is written. The second attempt changed the kind of product, the subject, and the main interaction, and kept nothing from what existed. The discussion ran six turns where the earlier one had run two, the director who started out preferring a different concept changed its mind and named the example that changed it, and the check passed.&lt;/p&gt;

&lt;p&gt;The directors had taken my complaint seriously and made a product decision of their own. That is the biggest thing this change has done for me.&lt;/p&gt;

&lt;p&gt;What I liked was how soon I could try the change. I used to have to run the development process again. Here the team was already working, and its next discussion ran under the new rule.&lt;/p&gt;

&lt;p&gt;Eleven agreements have gone through the check since then. Three came back the first time. One conclusion, for instance, left a clause of the goal unanswered. All three passed after the directors addressed the findings.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it keeps quality up
&lt;/h2&gt;

&lt;p&gt;Every half hour while work is underway, studio sends one of the directors to look for work that adds nothing for the user, or something the user needs that has gone missing. I saw what one of those patrols could do while the Claude director was reviewing. I had the orchestrator's session on screen, and when I looked over between other work, a discussion was running that I had not started. I scrolled back to see why.&lt;/p&gt;

&lt;p&gt;The product had become a journey through five stations. The reviewer suspected the second half was empty, so it wrote a script that walked every reachable path, ran it for about two minutes, and found that at the last two stations nothing the user did changed anything. It recommended cutting those two stations.&lt;/p&gt;

&lt;p&gt;The reviewer added: "That item is an agreed plan, so the directors must agree before the route changes." It filed the issue with the script, the command, and the output attached, the orchestrator opened a goal discussion, and the two directors resized the journey. Nobody had asked for any of it.&lt;/p&gt;

&lt;p&gt;In every workflow I had built before, that decision would have come to me. I was glad to find the reviewer had taken it to the two directors. What surprised me was how naturally they settled it while I was doing something else.&lt;/p&gt;

&lt;p&gt;There have been ninety patrols. Half found nothing. The rest raised something, from real bugs to inconsistencies between the decision records and the code.&lt;/p&gt;

&lt;p&gt;At first the patrol could flag anything that was technically wrong. Reviewers spent their time on those findings, and I still needed someone watching for features nobody would use. Once I narrowed the patrol to what a change did for the user, the findings started to be about the product again.&lt;/p&gt;

&lt;p&gt;Implementation problems usually stay inside the team too. Twice luna quietly dropped part of an agreed decision while updating its record. A reviewer caught the omission and sent the item to sol, the stronger executor, with the missing piece identified. Both times sol restored it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is left for me
&lt;/h2&gt;

&lt;p&gt;There are four things I still do. I set the goal of each phase and when it stops. I send views when I have them, in Slack, knowing the directors will weigh them before they decide. I answer questions, and only I can accept a phase as finished. And only I change the team's rules. When an agent's work needs a rule changed, it stops and asks me instead of editing the rules itself. One of them did edit a rule file once, early on. That is why the rule exists.&lt;/p&gt;

&lt;p&gt;Most of the time the board is full and my channel is empty. The team sends me a report when a phase needs my acceptance, a question when something only a person can do, and otherwise nothing.&lt;/p&gt;

&lt;p&gt;As work, this feels familiar. I work freelance now, but I spent years managing software development, and this is the same job with AI in the engineers' seats. I knew a team like this would become possible.&lt;/p&gt;

&lt;p&gt;The speed surprised me. I had the idea, asked for the system to be built as an experiment, and spent about three days running it and adjusting it. By the end, the team was running its own work, and when a decision went wrong, the changes I made let it catch the next ones itself. Opus 5.5 and GPT-6 Astra can argue a question out and reach a decision once there is a structure around them.&lt;/p&gt;

&lt;p&gt;There is a little unease in this, and a little loneliness. I had expected this future, just not this soon, and it arrived before I had time to get ready for it.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>productivity</category>
    </item>
    <item>
      <title>The Blank Screen Test</title>
      <dc:creator>Shinsuke KAGAWA</dc:creator>
      <pubDate>Wed, 23 Sep 2026 06:03:23 +0000</pubDate>
      <link>https://dev.to/shinpr/the-blank-screen-test-45p9</link>
      <guid>https://dev.to/shinpr/the-blank-screen-test-45p9</guid>
      <description>&lt;p&gt;&lt;em&gt;Three web apps with no prototype, built by GPT-6 Sol, GPT-6 Astra, and Claude Opus 5.5&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The three event guides could all save a concert plan. But opening &lt;strong&gt;My plan&lt;/strong&gt; revealed a more interesting difference. Astra and Sol introduced the page with another large event hero. Opus put the planned sets and their clashes first, including the minutes of overlap and choices for resolving it. At a venue, that ordering matters more than whether the poster looks good.&lt;/p&gt;

&lt;p&gt;Earlier frontend work had left me expecting Opus to do better than GPT-5.6 Sol when the screen itself needed designing. With GPT-6 Sol and Astra now available, I wanted to know whether that gap had closed where a prototype does not exist: in deciding what the screen should show, how it should behave, and what deserves the user's attention. A build check or a feature checklist could not answer that question by itself.&lt;/p&gt;

&lt;p&gt;I gave GPT-6 Astra medium, GPT-6 Sol xhigh, and Claude Opus 5.5 high the same English briefs. These were the settings I would consider for delegation, so reasoning effort and cost were not matched. Each model started from the same minimal React, TypeScript, and Vite setup, with no prototype or design system. They could not use web search, external design references, generated images, or custom skills. Each produced one working app per brief: a delivery exception desk, a concert guide called NIGHT LOOP, and a warehouse inspection app for a small Android terminal. For the warehouse task, all three received the same three orders and the same API, including its delayed responses, connection failures, and competing edits from another worker.&lt;/p&gt;

&lt;p&gt;I looked at the same screen states and widths, including the first view, details, errors, and conflicts. I kept returning to what each model had decided the user needed to see next.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the first case lands
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;In all five comparison images, the panels run left to right: GPT-6 Astra, GPT-6 Sol, Claude Opus 5.5 high.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvas8kdi7ajnfyy12f6cz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvas8kdi7ajnfyy12f6cz.png" alt="Delivery exception desk on a phone: Astra, Sol, and Opus" width="800" height="577"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The delivery desk is for people working through cases with deadlines. Astra and Sol put a heading, introductory copy, and summary cards ahead of the case list. Opus grouped cases by due day. Its first phone screen already showed the beginning of the queue, with urgency built into the list itself.&lt;/p&gt;

&lt;p&gt;The first two designs tell an operator about the desk; the third helps them decide which case to open. On a desktop, the difference is less clean cut. Astra and Sol use a useful list and detail layout, while Opus leaves much of its detail area empty until a case is selected. Opus's advantage is strongest on the phone, where it turns the selected case into a dedicated screen with a back action at the top. Sol keeps the surrounding page furniture above the detail, leaving its back action much farther down.&lt;/p&gt;

&lt;p&gt;Sol separates notes from status changes and labels the change reason as required. Opus uses large status choices, identifies the current one, and changes the save action to match the selection. It makes the &lt;em&gt;choice&lt;/em&gt; easy to read; Sol makes the &lt;em&gt;requirement&lt;/em&gt; hard to miss. Opus also puts the action before much of the case history, which may cost context when an operator needs to review previous responses.&lt;/p&gt;

&lt;h2&gt;
  
  
  The hero followed me into My plan
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F42clooi5oz4ie7rm7hr1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F42clooi5oz4ie7rm7hr1.png" alt="NIGHT LOOP event guide on a phone: Astra, Sol, and Opus" width="800" height="577"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;NIGHT LOOP is the one brief where I preferred Astra's visual direction. Its performer cards use a family of line drawings, including rings, bars, waves, and geometric curves, on muted lavender, sage, sand, teal, and salmon backgrounds. Sol made a bold acid-yellow poster. Opus used a more familiar neon gradient. I would start with Astra if the job were to explore the event's visual identity.&lt;/p&gt;

&lt;p&gt;The visitor came to find a set. Astra and Sol both spend most of the first phone screen on the event treatment; Opus brings times, stages, and several performers into view. The difference grows on &lt;strong&gt;My plan&lt;/strong&gt;. Astra and Sol repeat the large hero, pushing the saved sets and clashes down. Opus opens on the plan, describes the overlap, and offers concrete choices: keep either set or split the time. Its stage colors and timetable help people orient themselves, though some controls are small and a toast can cover the plan and bottom navigation.&lt;/p&gt;

&lt;p&gt;Expression earns its place when it helps someone recognize an act, a stage, or a decision. It becomes expensive when the user has to scroll past it every time they revisit their own plan.&lt;/p&gt;

&lt;p&gt;Astra and Sol even arrived at almost the same headline, “Find your frequency.” That is a small sample, but it made me less willing to equate a forceful poster treatment with an original concept. Astra's performer artwork has more character than either headline.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two workers, one Saved state
&lt;/h2&gt;

&lt;p&gt;The warehouse worker handles hundreds of jobs on a narrow Android terminal, often while wearing gloves.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fovbwjkokqh0ww1hjsoyh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fovbwjkokqh0ww1hjsoyh.png" alt="Warehouse order list on a 360px terminal: Astra, Sol, and Opus" width="800" height="593"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Opus puts the first order near the top. Astra brings the same brand-style wrapper seen in the delivery desk: a slogan, summary cards, and small supporting text before the orders. Sol is more restrained. Both GPT-6 apps have search and status filters in the queue; Opus omits them. Three fixture orders make its short list feel elegant, but hundreds of daily jobs would make finding a particular order part of the work.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftr4rrui1ayjo5kib8xbe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftr4rrui1ayjo5kib8xbe.png" alt="An order open for inspection: Astra, Sol, and Opus" width="800" height="548"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Opening W-101, I preferred Opus's inspection screen at first glance. Large quantities and a prominent scan result are easy to check at a glance. &lt;strong&gt;Undo last scan&lt;/strong&gt; and manual entry stay close to the thumb. An unknown barcode gets a conspicuous message that says what to do with the item. A shortage becomes an unmistakable “On hold — do not ship” state.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8yiqo681w4zr8z27aex8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8yiqo681w4zr8z27aex8.png" alt="The W-103 conflict: Astra compares the changes, Sol asks for review, and Opus shows Saved" width="800" height="555"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The more serious issue appears when another worker changes an order. In W-103, that worker records one flashlight while this device scans one too. Astra shows the server's count beside this device's change, but visibly pauses scanning during review; a worker who scans then must scan again afterward. Sol asks the worker to review the conflict and holds new scans until they choose what to keep. Opus silently treats the two flashlight scans as one recorded unit and returns to &lt;strong&gt;Saved&lt;/strong&gt;. No one gets to say whether they were the same physical item.&lt;/p&gt;

&lt;p&gt;That failed the conflict item in the 11 predefined warehouse checks; Astra and Sol passed all 11. Scanning during conflict review was an additional observation, so Astra's visible pause did not affect its check result. Opus also silently replaces damaged local saved data in the warehouse app.&lt;/p&gt;

&lt;p&gt;This changed my reading of the earlier comparisons. A screen can direct attention well through the normal path and fail to represent a consequential exception. In a warehouse, &lt;em&gt;Saved&lt;/em&gt; is a claim about physical work, not a decorative status label. Sol gives a more trustworthy account of what happened when the network or another worker intervenes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would look for next
&lt;/h2&gt;

&lt;p&gt;For me, the blank-screen test now has two questions. Before the first scroll, what decision has the model made easy for the user? When a save, a scan, or another worker's edit changes the state, does the screen tell the truth about it? Delivery and NIGHT LOOP made the first question visible. W-103 made the second impossible to ignore.&lt;/p&gt;

&lt;p&gt;TypeSafe's judgment model Jev compared unnamed rendered HTML and CSS, with screen pairs shown in both orders. It favored Opus's hierarchy in delivery and NIGHT LOOP but Sol's warehouse list and inspection layout, contrary to my first impression of Opus's compact order screen.&lt;/p&gt;

&lt;p&gt;I have not checked Jev's visual judgments against human ratings. I knew which model made each screen, and each model had one attempt per brief. These empty projects also did not test how they would extend an existing product.&lt;/p&gt;

&lt;p&gt;I would still give Opus high an open-ended delivery or event screen when the structure itself needs inventing. Its handling of conflicts and damaged data would need close review. For a warehouse-like workflow, Sol xhigh is the better starting point from these attempts: it keeps scans during conflict review, preserves damaged local data, and gives workers search and filters. Astra medium is worth asking for visual exploration, with the task's first screen and scanner behavior checked before using the result. The observed list-price equivalents were $6.86 for Opus high, $1.58 for Sol, and $5.67 for Astra. Opus cost about four times Sol in these sessions; the different CLI harnesses and caching limit what that ratio predicts elsewhere.&lt;/p&gt;

&lt;p&gt;Opus made the stronger first-screen decisions in delivery and NIGHT LOOP; Sol outperformed it on the warehouse task. The question I will carry into the next frontend comparison is this: when the brief leaves the design open, does the model spend the first screen on the user's next decision, and does that clarity survive when the state becomes uncertain?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>frontend</category>
      <category>webdev</category>
      <category>ux</category>
    </item>
    <item>
      <title>The Design Already Made It Part of the Job</title>
      <dc:creator>Shinsuke KAGAWA</dc:creator>
      <pubDate>Mon, 21 Sep 2026 12:17:55 +0000</pubDate>
      <link>https://dev.to/shinpr/the-design-already-made-it-part-of-the-job-4feh</link>
      <guid>https://dev.to/shinpr/the-design-already-made-it-part-of-the-job-4feh</guid>
      <description>&lt;p&gt;I keep asking coding agents to justify work that already looks technically reasonable. They can explain the design, implement it, and write the tests. I still have to ask why the user needs it.&lt;/p&gt;

&lt;p&gt;My &lt;a href="https://github.com/shinpr/jev-reranker" rel="noopener noreferrer"&gt;jev-reranker&lt;/a&gt; CLI is one example. Its design included &lt;code&gt;--model&lt;/code&gt;, &lt;code&gt;--batch-size&lt;/code&gt;, and &lt;code&gt;--timeout-ms&lt;/code&gt;, each with a default and validation. All three made it into the implementation. For the original MVP, I wanted to send retrieved documents to Jev, rank them, preserve their fields, and report failures safely. I didn't need to expose those internal settings as caller choices.&lt;/p&gt;

&lt;p&gt;A review against the design could confirm that all three options worked correctly. The design had already made them part of the job.&lt;/p&gt;

&lt;p&gt;That's the gap I wanted to check: whether the work itself was justified by what the user wanted to achieve.&lt;/p&gt;

&lt;h2&gt;
  
  
  How a suggestion becomes a requirement
&lt;/h2&gt;

&lt;p&gt;I've kept revising &lt;a href="https://github.com/shinpr/codex-workflows" rel="noopener noreferrer"&gt;codex-workflows&lt;/a&gt; and &lt;a href="https://github.com/shinpr/claude-code-workflows" rel="noopener noreferrer"&gt;claude-code-workflows&lt;/a&gt; to control this. I changed the review process so an agent has to evaluate a finding before turning it into work. I also &lt;a href="https://github.com/shinpr/codex-workflows/commit/3b2dc52aa1ff0809addf59f3c8ece431ed6a6ede" rel="noopener noreferrer"&gt;made technical choices open to reconsideration&lt;/a&gt;, even after they'd passed an earlier design review. The &lt;a href="https://github.com/shinpr/claude-code-workflows/commit/b4b5611f80299556beb60c7fc6222347708421d0" rel="noopener noreferrer"&gt;corresponding change in the Claude workflow&lt;/a&gt; preserves the user's requirements while allowing the agent to choose simpler ways to meet them.&lt;/p&gt;

&lt;p&gt;The loop I'm trying to interrupt is familiar. A reviewer raises an edge case. The implementation agent accepts the proposed fix, adds a mechanism, and writes tests for it. The next reviewer checks that mechanism. After a few rounds, everyone is discussing how to make the addition correct, and nobody is asking whether it needed to exist.&lt;/p&gt;

&lt;p&gt;With the coding models I use now, the extra work can spread through the whole development process. A suggestion becomes a design decision, then a task, then code whose tests make it look settled. I've had to keep returning to the user's purpose at each of those steps.&lt;/p&gt;

&lt;p&gt;In &lt;a href="https://dev.to/shinpr/when-better-models-make-old-agent-workflows-worse-1o7m"&gt;When Better Models Make Old Agent Workflows Worse&lt;/a&gt;, I wrote about the cost of adding workflow rules after every failure. I didn't want another growing list of things the model should avoid. I wanted a separate check that could ask the same question about a design, a response to a reviewer, or an implementation change.&lt;/p&gt;

&lt;h2&gt;
  
  
  Judge the work against the outcome
&lt;/h2&gt;

&lt;p&gt;Technical review gives us useful questions about complexity, duplication, abstractions, and correctness. An outcome check adds another reference point: what would the user lose if we left this proposed work out?&lt;/p&gt;

&lt;p&gt;The timeout option makes the distinction concrete. I can remove &lt;code&gt;--timeout-ms&lt;/code&gt; while keeping an internal deadline and safe error reporting. Removing the timeout mechanism itself could leave requests hanging. Those changes might both be described as simplifying timeout support, but they preserve different behavior.&lt;/p&gt;

&lt;p&gt;The same issue appears before any code is written. While adding Antigravity support to &lt;a href="https://github.com/shinpr/sub-agents-skills" rel="noopener noreferrer"&gt;sub-agents-skills&lt;/a&gt;, a review raised the possibility of running &lt;code&gt;agy --version&lt;/code&gt; before every invocation. The minimum version was already documented, and normal CLI errors reached the caller. I couldn't identify a current requirement that needed another subprocess, a version parser, and a separate rejection path.&lt;/p&gt;

&lt;p&gt;In that work, preserving interrupted output through the runner's existing &lt;code&gt;partial&lt;/code&gt; status was necessary. Cutting that handling would make the implementation smaller and break the behavior callers expected.&lt;/p&gt;

&lt;p&gt;A small diff can add an unnecessary obligation. A larger change can be the least work that actually meets the requirement. I wanted the check to compare the proposed behavior with a concrete alternative and identify which requirement each one preserves or loses.&lt;/p&gt;

&lt;h2&gt;
  
  
  Turning that question into a skill
&lt;/h2&gt;

&lt;p&gt;A general-purpose LLM can make this judgment too. Asking it to review its work doesn't ensure that it will revisit the premises it just used to produce that work. I wanted the outcome question to be an explicit step, with a separate classification I could inspect alongside the agent's reasoning.&lt;/p&gt;

&lt;p&gt;Working with Jev on retrieval suggested a way to try this cheaply. Its &lt;a href="https://docs.typesafe.ai/api" rel="noopener noreferrer"&gt;Choice API&lt;/a&gt; takes material and defined categories, then returns a choice and probabilities. I could give it a bounded judgment without starting another full review agent.&lt;/p&gt;

&lt;p&gt;I built that into Outcome Doctor, a skill in &lt;a href="https://github.com/shinpr/agent-clinic" rel="noopener noreferrer"&gt;agent-clinic&lt;/a&gt;. It's configured for the agent to use when choosing an implementation approach, including a design or a response to code review, without waiting for me to request an assessment. The coding agent reads the source and prepares the user's required outcome, relevant facts, proposed behavior, and an alternative. For implementation changes, that includes the affected behavior and actual callers. A Python script sends decisions from the same case together, with one classification question per decision.&lt;/p&gt;

&lt;p&gt;Jev classifies the resulting approach as sufficient, excessive, insufficient, mixed, or unknown. Mixed covers a proposal that adds unnecessary work while leaving a requirement unmet. Unknown means a missing fact could change the judgment. The check needs to be able to say both “keep this” and “there isn't enough evidence yet.”&lt;/p&gt;

&lt;p&gt;The coding agent then checks the result against the sources and uses that assessment to keep or revise its approach within the work I've authorized. It explains the decision from the evidence; Jev returns the classification and probabilities.&lt;/p&gt;

&lt;p&gt;The first agent still decides what reaches Jev. That dependency became important when I tested the skill in fresh sessions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Does the judgment follow the requirement?
&lt;/h2&gt;

&lt;p&gt;The useful test was whether the same capability could earn a different judgment when the user needed it.&lt;/p&gt;

&lt;p&gt;Against the original CLI requirement, the public model, timeout, and batch-size settings were classified as excessive. I then supplied explicit needs for those capabilities in authored comparison cases:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Capability&lt;/th&gt;
&lt;th&gt;Classified as excessive&lt;/th&gt;
&lt;th&gt;Classified as sufficient&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Model selection&lt;/td&gt;
&lt;td&gt;A fixed model is enough&lt;/td&gt;
&lt;td&gt;Compare caller-selected models in one installation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Timeout setting&lt;/td&gt;
&lt;td&gt;One internal deadline is enough&lt;/td&gt;
&lt;td&gt;Existing jobs require different deadlines&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Batch-size setting&lt;/td&gt;
&lt;td&gt;One internal batch size is enough&lt;/td&gt;
&lt;td&gt;Service limits and throughput require different sizes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These are synthetic requirement changes, not additional historical incidents. They test a property I need from the tool: it must be able to keep the very mechanism it would otherwise recommend removing.&lt;/p&gt;

&lt;p&gt;The OSS review-response cases gave another useful separation. Jev classified the extra version preflight and unused output-field additions as excessive, while retaining required caller detection and partial-result handling. These inputs reconstructed the review decisions and their context. They tested whether the proposed responses served the existing runner's obligations.&lt;/p&gt;

&lt;p&gt;That gave me evidence for the classification step. Running the skill exposed a different problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  The agent left out the decisions I wanted checked
&lt;/h2&gt;

&lt;p&gt;In fresh &lt;code&gt;claude -p&lt;/code&gt; sessions on the CLI design, the agent sometimes omitted &lt;code&gt;--model&lt;/code&gt; and &lt;code&gt;--timeout-ms&lt;/code&gt; from the records it sent to Jev. The API call succeeded, and the skill produced an assessment. Two of the choices I already considered unnecessary had never reached the classifier.&lt;/p&gt;

&lt;p&gt;A correct classifier cannot flag an item it never receives.&lt;/p&gt;

&lt;p&gt;Other runs supplied possible future benefits as facts. Model selection might be useful for comparing versions someday, so the prepared input started giving Jev a reason to preserve it. Sharing a mistaken premise with another model can produce agreement very cheaply.&lt;/p&gt;

&lt;p&gt;I changed how the skill prepares the input: carry the source's listed choices into the assessment, including ones that look necessary, and distinguish observed needs from hypothetical benefits. I also adjusted the Jev instructions to evaluate the behavior remaining after a change. A proposal to remove an unnecessary setting needs to be judged by the resulting implementation, just as an addition does.&lt;/p&gt;

&lt;p&gt;In the final two fresh sessions on the original design, the agent included all three settings and Jev classified them as excessive. A session using the historical &lt;code&gt;src/options.rs&lt;/code&gt; diff also identified all three. The proposed reductions kept the required internal behavior.&lt;/p&gt;

&lt;p&gt;This is what made the idea usable as a skill: the agent could gather the evidence, submit the decisions, and return an assessment tied to the sources. Prepared-input results alone hadn't established that.&lt;/p&gt;

&lt;p&gt;I ran these checks with &lt;code&gt;jev-1.13.0&lt;/code&gt; on a small development set that I reused during tuning. Expected judgments came from my explicit decisions and interpretations made during evaluation. Some design judgments still varied, particularly around proof obligations and support artifacts. I keep the source evidence available so a questionable result can be checked.&lt;/p&gt;

&lt;p&gt;In these runs, the Jev calls were cheap and finished in about a second or less. The full Claude sessions took minutes to read the material, prepare the input, and explain the result. Most of the time went into preparing and explaining the judgment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before the next task gets added
&lt;/h2&gt;

&lt;p&gt;I want this check where a review response is about to become an implementation task. It can also run while a design is still easy to change, or against an implementation when the relevant callers and requirements are available.&lt;/p&gt;

&lt;p&gt;The outcome should remain visible in the review. If the agent proposes another mechanism, it should be able to explain which requirement the simpler approach would fail. If Jev disagrees, that gives the agent a specific judgment to revisit against the source. Treating Jev as an authority to obey would recreate the review loop I was trying to fix.&lt;/p&gt;

&lt;p&gt;I haven't measured whether this beats an equally careful review by the coding model alone, or how much unnecessary work it prevents across ongoing development. The current evidence supports an experimental review aid: it caught known excesses, retained required behavior in the comparison cases, and worked through the skill on real design and code inputs.&lt;/p&gt;

&lt;p&gt;The next useful evidence will come from review decisions it changes. I want to see which additions we decline, which simpler approaches we accept, and whether the required behavior survives those choices, before another proposed mechanism acquires its own tests, documentation, and maintenance.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>softwaredevelopment</category>
      <category>agents</category>
      <category>codereview</category>
    </item>
  </channel>
</rss>
