<?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: Ian Johnson</title>
    <description>The latest articles on DEV Community by Ian Johnson (@tacoda).</description>
    <link>https://dev.to/tacoda</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%2F171498%2Fb1207a6e-f740-43c4-bb64-c675e3b3ce1d.jpeg</url>
      <title>DEV Community: Ian Johnson</title>
      <link>https://dev.to/tacoda</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tacoda"/>
    <language>en</language>
    <item>
      <title>Build your software factory with the lights on</title>
      <dc:creator>Ian Johnson</dc:creator>
      <pubDate>Mon, 26 Oct 2026 18:25:00 +0000</pubDate>
      <link>https://dev.to/tacoda/build-your-software-factory-with-the-lights-on-18ic</link>
      <guid>https://dev.to/tacoda/build-your-software-factory-with-the-lights-on-18ic</guid>
      <description>&lt;p&gt;A dark factory turns a request into merged code and makes every decision along the way on its own. A lights-on factory applies governance before each action. A named person owns each change and answers at checkpoints, and an audit log ties every decision to that person. I built one, and it has been in production use for a week, so I don’t have solid numbers yet. It runs slower on purpose, because it puts judgment, comprehension, and accountability ahead of raw speed. Oversight is a dial, so a step that proves itself can go dark, still logged.&lt;/p&gt;

&lt;h3&gt;
  
  
  The case for the dark factory
&lt;/h3&gt;

&lt;p&gt;The term comes from manufacturing. A lights-out plant runs with nobody on the floor, so nobody needs the lights on. The software version takes a ticket in and puts merged code out. Nobody approves anything in between.&lt;/p&gt;

&lt;p&gt;The argument for it is a good one. Agents write code faster than any of us read it, and a person in the loop sets the pace of the whole line. If the tests are good and the blast radius is small, a human checkpoint adds wait time and catches nothing. Some work does belong in the dark: dependency bumps, formatting sweeps, a lint rule applied across a hundred files.&lt;/p&gt;

&lt;p&gt;Two problems show up once you run everything that way, though.&lt;/p&gt;

&lt;p&gt;The first is &lt;strong&gt;comprehension debt&lt;/strong&gt; : code in production that nobody on the team understands. Each dark merge adds a little. Nothing breaks on the day it lands, so the debt stays invisible until an incident. Then the person on call opens a module for the first time and finds nobody who has read it. You pay the interest at the worst possible moment.&lt;/p&gt;

&lt;p&gt;The second is accountability. A good dark factory logs everything, and it should. Both kinds need the same observability. But a dark factory’s log records what the factory decided with nobody’s name on it: which approach to take, what counts as done, whether a failed test was flaky. When one of those calls goes wrong, you find out from a customer, and the log names no owner.&lt;/p&gt;

&lt;h3&gt;
  
  
  What the lights buy you
&lt;/h3&gt;

&lt;p&gt;My factory takes a written request and gives back a pull request with a live preview. Between the two it runs these stages: discovery, a plan, acceptance tests, implementation, checks, review, an end-to-end proof, and a business-level briefing. The agents do the work in every stage. The lights are the eight places where the factory stops and asks a person:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;questions, which discovery raises before anything is planned&lt;/li&gt;
&lt;li&gt;approve, for the plan itself&lt;/li&gt;
&lt;li&gt;checks, the acceptance tests you choose from what the plan proposed&lt;/li&gt;
&lt;li&gt;refused, when a guardrail blocked a call the agent tried to make&lt;/li&gt;
&lt;li&gt;refactor, review, and uat&lt;/li&gt;
&lt;li&gt;merge&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each checkpoint has a named owner. Today the requester answers the questions, approves the plan, and picks the acceptance tests. UAT has the strictest rule: only the person who asked for the change can sign it off. The factory refuses anyone else, because acceptance is the requester’s to give.&lt;/p&gt;

&lt;p&gt;That ownership also decides how the factory scales. Each developer approves the plans for their own changes, so approvals grow with the number of branches and don’t pile up on one person. A lead signs off only on changes to the harness and the factory itself, and some of those belong to the platform team.&lt;/p&gt;

&lt;p&gt;Ownership changes how a change reads afterward. When I open an old pull request, I don’t find a diff that appeared from nowhere. I find who asked for it, the plan they approved, the tests they chose, and the review findings they declined and why.&lt;/p&gt;

&lt;p&gt;That record comes from the audit log, and the audit log is what separates the two kinds of factory. Both should log every action. A lights-on factory’s log also ties every decision to a person, so every answer and every refused tool call carries an actor. It’s append-only JSON lines, and nothing rewrites it, the factory included. Six months from now, you can answer “why does this endpoint return a 409” by finding who approved the change.&lt;/p&gt;

&lt;p&gt;Branch protection, code owners, and required reviewers get part of the way there. But the record is spread across several tools, and it’s hard to piece together. Once an agent is the committer, those tools tie the change to the agent and not to a person. The factory’s audit log is written for auditors first. It also works as evidence when you want to tighten a constraint or widen what an agent may do.&lt;/p&gt;

&lt;p&gt;The other thing the lights buy is the habit of reading. A plan approval takes a couple of minutes. In those minutes you learn what the change will touch before it touches it. Then you read the briefing at the end. The team ends up knowing the code the factory wrote, which is the defense against comprehension debt.&lt;/p&gt;

&lt;p&gt;Approval fatigue is real, and a checkpoint can decay into a click. The design answers it in two ways. Every question the factory asks is a product-level one: is this the right plan, are these the right acceptance tests, does the change work in the preview. None of them asks a person to review a diff line by line. And when a checkpoint stops getting real attention, you can change its oversight instead of pretending someone is still reading.&lt;/p&gt;

&lt;h3&gt;
  
  
  Oversight is a dial
&lt;/h3&gt;

&lt;p&gt;Lights-on governs every action, but a person doesn’t have to answer every checkpoint forever. Each checkpoint takes one of three settings:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ask stops and waits for a person.&lt;/li&gt;
&lt;li&gt;hold waits for a set window, then takes the default answer unless a person answers first.&lt;/li&gt;
&lt;li&gt;auto takes the default answer immediately.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Four presets set all eight checkpoints at once, and you can override any checkpoint, either for every repository or for one repository:&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;# Oversight: how much a person is asked, checkpoint by checkpoint.&lt;/span&gt;
&lt;span class="c1"&gt;# high everything asks&lt;/span&gt;
&lt;span class="c1"&gt;# medium answers, checks, refactor and review hold; plan, refused calls, UAT and merge ask&lt;/span&gt;
&lt;span class="c1"&gt;# low most go to auto; the plan, refused calls, UAT and the merge hold&lt;/span&gt;
&lt;span class="c1"&gt;# off everything auto, except the merge, which never goes below hold&lt;/span&gt;
&lt;span class="n"&gt;preset&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;high&lt;/span&gt;

&lt;span class="n"&gt;checkpoints&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;span class="c1"&gt;# questions: {level: hold, window_minutes: 30}&lt;/span&gt;
&lt;span class="c1"&gt;# merge: {level: hold, window_minutes: 240}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The dial controls who answers, never whether a gate holds. The tests, the guardrails, the quality gates, and CI run at every level. At off, the factory still runs every check and stops asking you about the result.&lt;/p&gt;

&lt;p&gt;Some checkpoints also have a floor. Merge never goes below hold, so even at off a person is told before code lands on the base branch and has the hold window to stop it. You can make the factory nearly dark. You can’t make it land code without telling anyone.&lt;/p&gt;

&lt;h4&gt;
  
  
  Dark is not silent
&lt;/h4&gt;

&lt;p&gt;When a checkpoint goes to auto, the decision still happens and still goes on the audit log. What changes is the owner. The log records it as the oversight setting’s decision, with actor oversight. It never records it as a person’s, so nobody can later mistake an automatic approval for a human one.&lt;/p&gt;

&lt;p&gt;That checkpoint has gone dark in the strict sense: it decides on its own, and its log says so. You can audit it and turn it back up.&lt;/p&gt;

&lt;p&gt;Who owns that setting is a question I haven’t settled. Right now I treat each step’s oversight as a measure of how far that step is trusted, and it can be set step by step. Oversight across the whole factory looks more like a platform decision.&lt;/p&gt;

&lt;h4&gt;
  
  
  What earns a checkpoint its darkness
&lt;/h4&gt;

&lt;p&gt;So when do you turn it down? When the evidence says the checkpoint no longer catches anything. My factory counts &lt;strong&gt;escapes&lt;/strong&gt; , meaning defects that got past every check. An escape is UAT failing, CI failing on the factory’s commit, the pipeline failing on the merge commit, a reverted merge, or a bug traced to the change. Each escape goes on its job and on the audit log, and it becomes evidence for which check to add.&lt;/p&gt;

&lt;p&gt;The factory also tracks, finding by finding, whether review caught something no automated gate covered. If review keeps finding only what the gates already caught, review is redundant, and that checkpoint can move to hold. Decide the escape rate you’ll accept before you turn anything down. Then the number makes the call, not your patience on a busy week.&lt;/p&gt;

&lt;p&gt;The measurement has a blind spot I’m still working out. Once a checkpoint goes dark, you stop seeing what it would have caught, and you learn about an escape only after it ships.&lt;/p&gt;

&lt;p&gt;I run at high. Every checkpoint asks. That’s a choice, not a phase I’m waiting out. The product I work on changes quickly. The code the factory touches this month may be code nobody has read since last month. Comprehension debt piles up fastest there, and the checkpoints are how the team keeps up. I’m collecting the escape numbers anyway. The day a checkpoint stops catching anything, the evidence will already exist.&lt;/p&gt;

&lt;h3&gt;
  
  
  Your process is configuration
&lt;/h3&gt;

&lt;p&gt;The checkpoints and the dial don’t depend on my particular process. Everything that describes how a team works belongs in declarative configuration. That means the kinds of request, the workflow each kind follows, and the stages in each one. It also means who owns each checkpoint, which gates run, and how far each dial turns. The factory reads the file and runs it. The process lives in configuration, and the code only knows how to execute a process. I use YAML, and the format could change. The structure can’t: a person should read the phases once and know the process.&lt;/p&gt;

&lt;p&gt;Mine isn’t all the way there. Each stage’s settings live in YAML today: its model, its turn limit, and the tools it may not touch. So do each repository’s gates and the oversight dial. A request also carries its kind (a feature, a bug, or a change to something that works). But every kind runs the same stages, in an order set in code. Splitting each kind into its own declared workflow is what I’m building next, and the whole factory in one file looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;workflows&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;feature&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;stages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;discover&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;plan&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;define&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;implement&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;checks&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;review&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;prove&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;comprehend&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;uat&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;merge&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;bug&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="c1"&gt;# The acceptance test is already known: the reported symptom.
&lt;/span&gt;    &lt;span class="na"&gt;stages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;reproduce&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;plan&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;implement&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;checks&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;review&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;prove&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;uat&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;merge&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;change&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;stages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;discover&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;plan&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;implement&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;checks&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;review&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;prove&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;uat&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;merge&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="na"&gt;stages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;plan&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;claude-opus-5–5&lt;/span&gt;
    &lt;span class="na"&gt;max_turns&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;40&lt;/span&gt;
    &lt;span class="na"&gt;tools&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;read-only&lt;/span&gt;
    &lt;span class="na"&gt;checkpoint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;owner:&lt;/span&gt; &lt;span class="s"&gt;requester&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;reproduce&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;claude-sonnet-5–5&lt;/span&gt;
    &lt;span class="na"&gt;max_turns&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;
  &lt;span class="c1"&gt;# Done when a test for the symptom exists and fails.
&lt;/span&gt;  &lt;span class="na"&gt;prove&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;claude-sonnet-5–5&lt;/span&gt;
    &lt;span class="na"&gt;max_turns&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;50&lt;/span&gt;
    &lt;span class="na"&gt;tools&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;read-only&lt;/span&gt;
  &lt;span class="na"&gt;uat&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;manual&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="na"&gt;where&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;preview&lt;/span&gt;
    &lt;span class="na"&gt;checkpoint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;owner:&lt;/span&gt; &lt;span class="s"&gt;requester&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="na"&gt;gates&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
 &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;tests&lt;/span&gt;
 &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;make test&lt;/span&gt;

&lt;span class="na"&gt;oversight&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
 &lt;span class="na"&gt;preset&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;high&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A feature and a bug fix need different things. A feature starts with discovery, because nobody knows yet what the change touches. It also needs acceptance tests defined before anything gets built. A bug arrives with its acceptance test already written in the report. The test for the original symptom has to fail before the fix and pass after it. So the bug workflow starts by reproducing the bug and skips the stage that defines tests. If the bug can’t be reproduced, it can’t be fixed yet, so it goes back to discovery. Run both through one pipeline and something gives. Either the bug pays for discovery it doesn’t need, or the feature skips work it does.&lt;/p&gt;

&lt;p&gt;The plan runs read-only on the stronger model, because a wrong plan has the largest blast radius. The proof runs read-only too. Withholding the editor is the mechanism. &lt;em&gt;A stage that checks the work can’t repair what it checks, so there’s nothing to argue past.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Gates name the repository’s own commands. A gate runs make test and doesn’t care what sits behind it, so a repo on a different stack changes one line and nothing else.&lt;/p&gt;

&lt;h4&gt;
  
  
  Manual steps are stages too
&lt;/h4&gt;

&lt;p&gt;Not every stage needs an agent. UAT in my factory is a person’s job, and it happens before merge. Every change gets its own ephemeral environment, and the pull request carries a link to a running preview of it. The proof stage writes down the steps it walked. The requester opens the preview, follows those steps, and signs off or sends the work back.&lt;/p&gt;

&lt;p&gt;To the factory, that’s a stage with manual: true, an owner, and a checkpoint like any other. It waits, and it records on the audit log who answered. It also enforces the rule the stage stands for. Only the requester can sign UAT off, and if the proof didn’t pass, the dial can’t pass UAT automatically, at any setting. I haven’t handled the cases where the requester is away or has left. For now, an admin can manage the job.&lt;/p&gt;

&lt;p&gt;Whatever your team does by hand fits the same shape. A security review, a design sign-off, a check by compliance, a product manager’s look at the copy: each one is a stage with an owner. Declaring it costs one block in the file. Leave it out and it happens in a side channel, where the audit log never sees it.&lt;/p&gt;

&lt;h3&gt;
  
  
  The tool should fit your team
&lt;/h3&gt;

&lt;p&gt;Most tools come with a process baked in, and the team bends to fit it. Adoption stalls at the first step that doesn’t match how the team works, and then people route around the tool.&lt;/p&gt;

&lt;p&gt;A factory built from configuration works the other way. The machinery is the same everywhere: the stage runner, the gates, the audit log, the dial. The configuration is what makes it yours: which stages run, who owns each checkpoint, how far each dial turns, which gates you insist on. Two teams on the same factory can run very different processes, and both get the same audit trail.&lt;/p&gt;

&lt;p&gt;One guardrail on that freedom matters. The operator is the person who runs the factory. A repository can always ask for more checks than the operator requires, but it can’t switch off the checks it’s held to. A repo that could disable its own gates would be marking its own homework.&lt;/p&gt;

&lt;h3&gt;
  
  
  Slower, on purpose
&lt;/h3&gt;

&lt;p&gt;A lights-on factory runs slower than a dark one, because it’s synchronous. A plan waits for approval, and UAT waits for the requester. Each wait lasts as long as a person takes to get to it, and people have meetings. I haven’t timed the difference, but every checkpoint set to ask adds a person’s response time to the job.&lt;/p&gt;

&lt;p&gt;So why accept the wait? What we deliver is &lt;strong&gt;value&lt;/strong&gt; and &lt;strong&gt;outcomes&lt;/strong&gt;. It always has been. Raw speed only helps if the code it produces is worth having, and the checkpoints are where a person decides that. Judgment stays where it’s needed: scope, the definition of done, and whether a change is worth making at all. Comprehension stays with the team, because someone read the plan and the briefing. Accountability has a name, because the person who owns the request has to accept the result.&lt;/p&gt;

&lt;p&gt;Slow is smooth, and smooth is fast. You spend later what a dark factory saves up front, reverting a change nobody understood or reading a module for the first time mid-incident. You pay that cost early instead, in small, predictable amounts. Some have even gone so far as to call the dark factory harmful and I suspect that it’s because of this property: it builds technical debt. So the lights-on approach addresses that debt early rather than paying for it later.&lt;/p&gt;

&lt;p&gt;You can start by writing your process down as stages. Pick one kind of request, bug fixes or features, and list every step a change goes through today, manual ones included. Name the owner of each step and the default answer if that person never responds. That list is your first workflow. Write it as YAML, then do the same for your second kind of request. Run it with every checkpoint set to ask. Turn one down only after the escape numbers say it no longer catches anything.&lt;/p&gt;

</description>
      <category>agenticengineering</category>
      <category>agenticworkflow</category>
      <category>aigovernance</category>
      <category>productdevelopment</category>
    </item>
    <item>
      <title>My trust gradient</title>
      <dc:creator>Ian Johnson</dc:creator>
      <pubDate>Thu, 22 Oct 2026 19:47:07 +0000</pubDate>
      <link>https://dev.to/tacoda/my-trust-gradient-2nnm</link>
      <guid>https://dev.to/tacoda/my-trust-gradient-2nnm</guid>
      <description>&lt;p&gt;Chapter 3 of &lt;em&gt;Harness Engineering&lt;/em&gt; opens with two runs of the same agent, on the same prompt, in the same repo, two days apart. On Tuesday it added a handler in routes/health.ts, wrote one happy-path test, and stopped. Ten lines. On Wednesday it noticed an old status.ts, unified the two, refactored both, broke a test, marked the test flaky, and opened a pull request claiming it was done. Four hundred lines. Nobody had touched the model, and nobody had touched the rules.&lt;/p&gt;

&lt;p&gt;Anything you build on an LLM varies like this, because the model is non-deterministic. I don’t try to make the model deterministic. I layer determinism around it with constraints and capabilities, and I test each layer before I lean on it. As the layers prove themselves, I step back. That’s my trust gradient: I started by reading every line, moved to reading the diff, and I’m now working toward verifying the requirements. It’s how I’ve been working, shared as one example rather than a prescription.&lt;/p&gt;

&lt;h3&gt;
  
  
  Distrust: reading every line
&lt;/h3&gt;

&lt;p&gt;The Tuesday and Wednesday runs are the reason I started from doubt. If the same input can give you ten lines one day and four hundred the next, a good result tells you very little about the next one. So doubt wasn’t paranoia. It was the correct reading of the evidence.&lt;/p&gt;

&lt;p&gt;At first I read every line an LLM wrote. That was slow. It often took longer than writing the code myself would have. But it produced something more useful than the code: a list of the mistakes that kept coming back. Mine were stylistic preferences, code reuse idioms I didn’t like, and mocking. None were exotic, and they came back run after run.&lt;/p&gt;

&lt;p&gt;That list is what got me off the bottom of the gradient. A mistake that recurs is one you can name. Once I could name it, I could stop catching it by eye.&lt;/p&gt;

&lt;h3&gt;
  
  
  Review: reading the diff
&lt;/h3&gt;

&lt;p&gt;I moved each recurring mistake into one of two kinds of layer.&lt;/p&gt;

&lt;p&gt;A &lt;strong&gt;constraint&lt;/strong&gt; narrows what the output can be. Types, linters, formatters, tests, small slices, hooks, and gates are all constraints. The model can still generate anything it likes, but the constraint rejects whatever falls outside the line, and it rejects it the same way every time.&lt;/p&gt;

&lt;p&gt;A &lt;strong&gt;capability&lt;/strong&gt; takes the work away from the model. Instead of letting it generate an answer, I hand it a tool that computes or fetches the answer. Most of my capabilities reach outside the harness, meaning the environment the agent runs in. Connecting to an external service is the typical one: rather than guess what a service returns, the model calls it and gets the real response.&lt;/p&gt;

&lt;p&gt;To pick between them, I ask what I can do with the result. If I can check it, I constrain it. If I can compute it, I make it a capability.&lt;/p&gt;

&lt;p&gt;Neither kind of layer got my trust on arrival. A deterministic check answers only the question you wrote into it, and an agent will find whatever it doesn’t cover. So each check has to catch every case of the mistake without firing on false positives. Before I stopped reading for a mistake, I watched its layer catch real instances of it on real changes.&lt;/p&gt;

&lt;p&gt;Capabilities needed the same care, because an external service brings its own variance. In tests I verify against data rather than live services. Mocks are only for the adapter tests at that boundary.&lt;/p&gt;

&lt;p&gt;That’s how I moved from reading every line to reading the diff. I didn’t decide to trust the model more. Instead, the line-level questions moved into layers that answer them the same way every run. Once those layers had caught real mistakes, I stopped asking those questions myself. I read the change as a whole instead.&lt;/p&gt;

&lt;p&gt;The same goes for everything with a model inside it, not only generated code. Agents, sub-agents, skills, and MCP servers are all non-deterministic. So each one starts at the bottom of the gradient and moves up only as its layers hold.&lt;/p&gt;

&lt;h3&gt;
  
  
  Each check in the right layer
&lt;/h3&gt;

&lt;p&gt;The layers do more than save review time. Once I’ve tested a deterministic layer, it holds still. So when every check sits in the layer that suits it, most of the variance comes from one place, the model. That means when a result surprises you, you can rule things out.&lt;/p&gt;

&lt;p&gt;An agent of mine once started re-running tests it didn’t need to, over and over, to find failures. The test suite was a deterministic layer I’d already tested, so I could set the tests aside. The rules hadn’t changed either. That left context as the likeliest cause: it had bloated to the point where the agent re-ran tests to find failures it had already found.&lt;/p&gt;

&lt;p&gt;Without the layers, that same symptom could have come from anywhere: a flaky test, a rule that changed meaning, a model update, or a bloated context. If you can’t rule any of those out, you’re guessing. Worse, every fix you try changes more than one thing at once.&lt;/p&gt;

&lt;p&gt;The layers turn that guessing into a controlled experiment, because the deterministic parts hold still while I change one variable and watch what moves. I care about that more than the review time it saves.&lt;/p&gt;

&lt;p&gt;That’s also why a check in the wrong layer causes so much trouble. The common version is a rule written into the prompt instead of enforced by a linter or a hook. A prompt is part of what the model reads, so the rule holds on some runs and not on others. Wednesday’s agent marked a broken test as flaky. A line in the prompt telling it not to do that holds some days, but a gate that refuses the change holds every day.&lt;/p&gt;

&lt;p&gt;The capability version is asking the model to work out something a script could compute. It will usually get close. Close is worse than wrong, because close passes when you skim it.&lt;/p&gt;

&lt;p&gt;Either way, you get unexpected results: behavior that changes between runs with nothing changed on your side, and no single place to look for the cause. Putting each check in the right layer is how I stopped getting those.&lt;/p&gt;

&lt;h3&gt;
  
  
  Verify: in progress
&lt;/h3&gt;

&lt;p&gt;I’m in the middle of moving from review to verify. I already verify changes, but I haven’t yet used verification in place of code review. Once I do, the questions left for me are the ones no linter can answer. Does the feature do what the card says? And does it fit how the product is actually used, and deliver the business value it was supposed to?&lt;/p&gt;

&lt;p&gt;I’m not claiming verify is the ideal state. I’m exploring what’s possible, and the only way to find out whether it works is to try it. But when I try it, I want to rely on the result, which is what the existing layers are for. They hold the mechanical questions still. So if verification lets something through, I can tell whether the gap is there or in a layer below it.&lt;/p&gt;

&lt;p&gt;That’s the same controlled experiment as before, one level up. My diff-level review is in &lt;a href="https://blog.tacoda.dev/whats-left-for-me-to-review-a70af1351e22" rel="noopener noreferrer"&gt;What’s left for me to review&lt;/a&gt;, so I won’t repeat it here.&lt;/p&gt;

&lt;h3&gt;
  
  
  When trust moves back down
&lt;/h3&gt;

&lt;p&gt;Trust also moves back down the gradient, on evidence. Say an agent action gets tied to an event or a lever it shouldn’t have been. That’s evidence for a proposal to move it down. So is anything that causes an incident.&lt;/p&gt;

&lt;p&gt;A model swap might be too, which is part of why my team runs evals. A new model is one variable, and a change to the rules is another, since updated rules produce different output. Evals hold everything else fixed and change one variable, the same controlled experiment the layers make possible. That’s how we prove a change made a difference, rather than believing it did.&lt;/p&gt;

&lt;h3&gt;
  
  
  What it costs, and what’s next
&lt;/h3&gt;

&lt;p&gt;The cost is time. Reading every line is slow, and building and proving each layer is slower than trusting the tool on day one. Someone who skips ahead will probably ship sooner for a while.&lt;/p&gt;

&lt;p&gt;Here’s what you gain: the ability to move up abstraction layers and build more complex pieces out of the components. You move from caring about syntax to caring about architecture to caring about business value. You can start at the top, but then you have to trust everything underneath it.&lt;/p&gt;

&lt;p&gt;It’s also not the only way. It’s the path I’ve been on, and it has worked for me. Because I can rely on the environment I’ve built around the agent, I’m moving toward more automation and bigger changes, and an increase in velocity as a side-effect.&lt;/p&gt;

&lt;p&gt;The next step is the one I haven’t taken: verification checks in place of code review. Once I’ve built them, I’ll write up what shape they take, what their tradeoffs are, and how they affect quality.&lt;/p&gt;

</description>
      <category>productdevelopment</category>
      <category>softwareengineering</category>
      <category>agenticengineering</category>
      <category>harnessengineering</category>
    </item>
    <item>
      <title>What’s left for me to review</title>
      <dc:creator>Ian Johnson</dc:creator>
      <pubDate>Wed, 21 Oct 2026 17:51:26 +0000</pubDate>
      <link>https://dev.to/tacoda/whats-left-for-me-to-review-3k45</link>
      <guid>https://dev.to/tacoda/whats-left-for-me-to-review-3k45</guid>
      <description>&lt;p&gt;There’s a lot of conversation about code review right now. Agents write code faster than anyone can read it, so review gets called the bottleneck, and some people argue we should stop reading the code at all. I’m not going to settle that argument here. What follows is how I review code today, offered as one example rather than a verdict.&lt;/p&gt;

&lt;p&gt;A code review used to take me an hour, and now it usually takes 5 to 20 minutes, depending on the change. I also understand the change better than I did then. Two things did that: a hard cap on change size, and a stack of filters that answer every question a tool can answer. After review, an agent, Product, and I all exercise the change in a live environment before it merges. That costs people’s time, and the people are also why we trust it.&lt;/p&gt;

&lt;p&gt;In my experience, review doesn’t have to be the bottleneck, as long as you control the slice size. I’m not opposed to the other ideas, either. Whatever the idea is, though, I want to test it and confirm it before I rely on it.&lt;/p&gt;

&lt;p&gt;Some of this is still in progress, and parts of it will get stricter, so this is where I am now. I offer it as a shape for code review that keeps humans in the loop and understanding the system. Tools do the rest: they keep the volume manageable and the code quality high.&lt;/p&gt;

&lt;p&gt;These are the steps, in the order a change goes through them:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Keep the change small.
&lt;/li&gt;
&lt;li&gt;Let the tools go first.
&lt;/li&gt;
&lt;li&gt;Run the review agents.
&lt;/li&gt;
&lt;li&gt;Review for patterns, and promote them.
&lt;/li&gt;
&lt;li&gt;Make the agent prove it.
&lt;/li&gt;
&lt;li&gt;Test it together in a live environment.
&lt;/li&gt;
&lt;li&gt;Merge to main, and let the business decide when to deploy.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  1. Keep the change small
&lt;/h3&gt;

&lt;p&gt;This step happens before any code exists, and if I could keep only one step, I’d keep this one. Every later step removes concerns from my review, but this one is what makes a careful review possible at all.&lt;/p&gt;

&lt;p&gt;A small diff fits in my head. I can read every line, hold the whole change at once, and ask whether it does what the card says. A large diff doesn’t. I skim it, trust the parts that look familiar, and approve something I didn’t fully read. Everyone who has reviewed a 2,000-line pull request knows what that approval is worth.&lt;/p&gt;

&lt;p&gt;That’s why the limits are hard. Each card, our unit of planned work, produces one pull request. If the work turns out to be several changes, we split it before anyone writes code, not after. The pieces then merge in dependency order. When order alone isn’t enough, we dark-launch the work or put it behind a feature flag until every piece is in. Then the diff itself has a cap. Past 500 lines of code or 15 files, it goes back to be split instead of going to review. Those numbers are choices, not findings, and you can change them to fit your project.&lt;/p&gt;

&lt;p&gt;I’ll give you the honest number, though. Across the last 120 merged pull requests, the median was 415 lines changed, and a tenth were over 2,268. Those counts include tests and docs, so they overstate how much logic I read, but they still aren’t small. The limits are recent, and so is splitting work up front.&lt;/p&gt;

&lt;p&gt;Speed is the obvious payoff. I care more about &lt;em&gt;comprehension&lt;/em&gt;. If you review code an agent wrote, you know it arrives faster than any person writes. At that pace, the bigger risk is a system you slowly stop understanding, because every change was too big to absorb. When I can read a change whole, I still understand it a month later.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Let the tools go first
&lt;/h3&gt;

&lt;p&gt;Once the code is written, it passes a set of checks before anyone reviews it. Each check takes a category of question off my plate.&lt;/p&gt;

&lt;p&gt;The first tier blocks the change outright: tests, linting, formatting, and type checking. So I never comment on style or check types by eye. If they were wrong, the change wouldn’t be in front of me.&lt;/p&gt;

&lt;p&gt;The second tier looks at quality. A complexity check fails a change only if it makes things worse than they were. That way the code can only improve, and nobody has to rewrite old code first. Static analysis then flags the structural problems a linter can’t see.&lt;/p&gt;

&lt;p&gt;Mutation testing is the newest check, and it answers the question that’s hardest to answer by reading: do these tests actually test anything? A mutation tool changes the code in small ways, like flipping a comparison or deleting a line, and checks whether a test fails. If no test notices, that test wasn’t protecting the line. The floor is 60%, and for now it reports rather than blocks.&lt;/p&gt;

&lt;p&gt;Security checks run at this step too, inside the agent workflow rather than in CI. That’s a gap, and I know it. They could move into CI and haven’t yet.&lt;/p&gt;

&lt;p&gt;Three of these safeguards don’t block anything yet. Mutation testing only reports, security runs outside CI, and the human gate in step 6 is social. Each one is in progress, and each will block once it’s ready.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Run the review agents
&lt;/h3&gt;

&lt;p&gt;Next, six review agents read the diff in parallel. Each one has a single job: general code quality, over-engineering, risk, deployment, architecture, or design. They can read the code but can’t change it. One pass deduplicates their findings by file, line, and problem, and the result is a list. A person decides which findings to address. Then a single writer makes those fixes, for reasons I’ll get to in step 4.&lt;/p&gt;

&lt;p&gt;They catch real problems, but I rarely see the best ones, because those are fixed before I open the change for review. That’s why the agents go first: anything they can raise is something I no longer have to.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Review for patterns, and promote them
&lt;/h3&gt;

&lt;p&gt;Now it’s my turn. My read rarely catches a bug anymore, and that’s the process working. Everything a tool or an agent can find was filtered out before I looked, so it costs me no attention. What I read for is comprehension and patterns, the things no single check can express. I ask whether the change matches what the card asked for. I ask whether the seam, where this code meets the rest of the system, is in the right place. And I watch for a drifting convention, where this file now does something three other files do differently.&lt;/p&gt;

&lt;p&gt;Most of all, I look for patterns. A mistake once is a comment, but the same mistake twice is a missing rule. So the size of a finding decides where it goes. A small one-line fix gets fixed as part of the change. If it’s a bigger pattern, I promote it into the charter, the standards the agents work from, so the mistake is less likely to come back. If it recurs, I promote it again to either be a deterministic check or moved into the harness.&lt;/p&gt;

&lt;p&gt;The single-writer rule came from this. Before it, I kept seeing review agents try to fix the problems they found, each in its own way, in the same change. Parallel writers make conflicting decisions that a merge can’t reconcile, because the merge never saw the intent behind either one. Now only one agent writes at a time: the review agents report, and a single writer resolves every finding.&lt;/p&gt;

&lt;p&gt;This step compounds. Each promoted pattern is one less thing every future review has to check. That’s a big part of how an hour became a few minutes.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Make the agent prove it
&lt;/h3&gt;

&lt;p&gt;Passing tests and a clean review still don’t &lt;em&gt;prove&lt;/em&gt; a feature works. So the change ships to an ephemeral environment: a short-lived copy of the app, with seed data, that exists only until the change merges. An agent then drives the real UI, exercises the feature, and captures screenshots as evidence. If you don’t have ephemeral environments, or your CI/CD doesn’t build them, a browser test against your local dev setup can be enough. What matters is that the environment is as close to production as you can make it.&lt;/p&gt;

&lt;p&gt;The proof has to be evidence. If an agent says the feature works but attaches no screenshot, the workflow marks it unproven, and a partial proof always goes to a person.&lt;/p&gt;

&lt;p&gt;This step caught a search feature built on the wrong page. The code was fine, the tests passed, and the review read cleanly, but the screenshot showed the search on a page where it didn’t belong.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Test it together in a live environment
&lt;/h3&gt;

&lt;p&gt;That same environment is where the humans test. Product and I both do acceptance testing and exploratory testing, and we close different gaps. I close the technical ones: edge cases, error states, and what happens when a request fails halfway. Product closes the product ones, especially how customers actually behave, which I often don’t know.&lt;/p&gt;

&lt;p&gt;The split matters most where the product is young, like our new project, which is under heavy development and has workflows that are new to everyone. Product knows how the people using it will move through those workflows in ways I can’t predict from the code.&lt;/p&gt;

&lt;p&gt;Nothing technical enforces this step. The gate is social, so a merge would go through if we skipped it. We don’t skip it.&lt;/p&gt;

&lt;p&gt;What it buys is a specific kind of trust. Before a change merges, two people have used the feature as it actually is. They’ve confirmed the happy path, and they’ve pushed on it hard enough to find bugs, edge cases, and workflows nobody planned for.&lt;/p&gt;

&lt;p&gt;The strongest objection is the manual work, and for a mature product I think the objection is right. People cost time, and a process with people in it doesn’t scale like a script. I can’t put a number on that cost yet, either. The agent workflow tracks its own costs, but nothing else does, so I have no before and after. That’s something we should measure.&lt;/p&gt;

&lt;p&gt;A well-established product changes the trade. Its workflows and its customers’ habits are known. Most of its edge cases have already shown up as bugs at some point. So you can script and test almost all of this, maybe all of it, and you should. Each workflow Product and I would explore by hand becomes an end-to-end test. Each edge case we’d push on becomes a regression test. What’s left for people is the part that’s actually new in the change, which on a mature product is small.&lt;/p&gt;

&lt;p&gt;A young product is different. Nobody knows all its workflows yet, so there’s nothing complete to script against. Exploration finds what no script knew to look for. As the product matures, the manual share should shrink, one scripted workflow at a time.&lt;/p&gt;

&lt;p&gt;That’s also my answer to the wider debate. Maybe one day we won’t read the code, and I’m open to that. If someone shows me a process that works without reading, I’ll test it like anything else. Even then, someone has to verify that a change does what it should. Reading may go away, but verifying isn’t going anywhere.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Merge to main, and let the business decide when to deploy
&lt;/h3&gt;

&lt;p&gt;When CI is green and Product and I have signed off, the change can merge. Merging produces a releasable version and deploys it to a staging server, and because we do continuous delivery, a production deploy is a business decision rather than an engineering event. Every merged change is ready to ship, and whether it ships today is someone else’s call.&lt;/p&gt;

&lt;p&gt;The pipeline is fast because it rarely jams. Changes are small, the cheapest step that can catch a problem catches it, and anything that reaches staging has already been used by two people. That speed is a side effect, though.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Reliability is what we’re after.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Try it on your next change
&lt;/h3&gt;

&lt;p&gt;Pull up the last five review comments you left. For each one, ask whether a tool could have made it, and if one could, move it into the tool so you never leave that comment again. Then take your next change and cut it in half before you open the pull request.&lt;/p&gt;

&lt;p&gt;Don’t adopt all seven steps at once. Add one at a time, and change each one to fit your team and your project. The process should fit you, not the other way around.&lt;/p&gt;

</description>
      <category>agenticengineering</category>
      <category>codereviewprocess</category>
      <category>aicodereview</category>
      <category>codereview</category>
    </item>
    <item>
      <title>Nothing is dead</title>
      <dc:creator>Ian Johnson</dc:creator>
      <pubDate>Sat, 17 Oct 2026 17:50:40 +0000</pubDate>
      <link>https://dev.to/tacoda/nothing-is-dead-452i</link>
      <guid>https://dev.to/tacoda/nothing-is-dead-452i</guid>
      <description>&lt;p&gt;SaaS is dead. Agile is dead. MCP is dead. RAG is dead. If you read about AI engineering or the business of software right now, you’ve seen headlines like these. Each one states, with full confidence, something that isn’t true, and leaves out what changed and who it affects. 37signals made a similar argument about war language, and I want to make it about the “X is dead” headline. I’m also mildly worried that AI models are picking the phrase up, but that’s the smaller point.&lt;/p&gt;

&lt;h3&gt;
  
  
  Work isn’t war
&lt;/h3&gt;

&lt;p&gt;Number two on 37signals’ list of company principles is called “Work isn’t war”:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Corporate language is filled with metaphors of war. Companies “conquer” the market, they “capture” mindshare, they “target” customers, they employ a sales “force”, they hire “head-hunters”, they “destroy” the competition, they pick their “battles”, and make a “killing”. That’s an awful paradigm and we want nothing to do with it. Work isn’t war. We come in peace.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;“Paradigm” is the right word, because a metaphor brings a whole way of seeing the work with it. If business is war, someone has to lose, and whatever happens to them is the cost of winning. Software has its share of that vocabulary: the war room, battle-tested, killing a feature. I’ve used all of it, because everyone does, and I’d still rather not. The phrase I’d add to their list is newer, and it’s the one I see most often about AI: “X is dead.”&lt;/p&gt;

&lt;h3&gt;
  
  
  What “dead” leaves out
&lt;/h3&gt;

&lt;p&gt;In AI engineering and business writing, the obituary has become a genre. A technique gets a year of attention, something newer shows up, and the posts start, lately about MCP and loop engineering. Then the same move hits things that have been around for decades, like SaaS and agile.&lt;/p&gt;

&lt;p&gt;None of those headlines is literally true, since every one of those things still runs in production somewhere tonight. But the bigger problem is that “dead” is sweeping. One change, even a large one, doesn’t necessarily undercut a tool, a practice, or a business model. Long context windows changed how much retrieval a system needs, not whether it needs any. Coding agents changed who types the code, but someone still has to check that it does what was asked.&lt;/p&gt;

&lt;p&gt;So the phrase drops exactly what a reader needs. A specific version might read “long context let us drop retrieval for our small document set,” which says what changed, where it applies, and what someone stopped doing. You can check that, or find that it doesn’t apply to you. “RAG is dead” gives you a verdict, and a verdict ends the evaluation before anyone runs it.&lt;/p&gt;

&lt;p&gt;The fair objection is that nobody reads “RAG is dead” literally. It’s a known style of headline, and you probably translate it to “overhyped” or “declining.” That’s true, and I concede it. Even read as exaggeration, the headline lands as a confident conclusion, and confidence is what spreads.&lt;/p&gt;

&lt;p&gt;Agile is where I’ve watched a verdict skip the evaluation, because I still use it. Most “agile is dead” posts aim at the ceremonies and the certifications, and a lot of that criticism is fair. I’m not defending those. I mean the manifesto’s ideas: short feedback loops, working software over documents about software, and responding to change over following a plan. I treat them like Lean (cutting waste from a flow of work): a way of thinking, not a process to install.&lt;/p&gt;

&lt;p&gt;Those ideas also fit how coding agents work. I’ve seen agents work at scale with small changes, continuous delivery, and feedback flowing into the next change. That’s the spirit of agile applied to every change instead of to a two-week iteration. “Does agile work well with agents?” is a good question, and the answer varies by team. “Agile is dead” skips the question. If I’d believed it, I’d have thrown out the idea that makes the agent workflow hold together.&lt;/p&gt;

&lt;h3&gt;
  
  
  Dunning-Kruger at scale
&lt;/h3&gt;

&lt;p&gt;The Dunning-Kruger effect comes from a 1999 paper by Justin Kruger and David Dunning. They found that people with the least skill in an area tend to overestimate it the most. Not everyone accepts that: Gignac and Zajenkowski argued in 2020 that it’s mostly a statistical artifact. I’m using it as a name for a pattern, not as settled science.&lt;/p&gt;

&lt;p&gt;The pattern runs both ways. On the writing side, a death call is cheap. You don’t need to have run RAG in production to declare it dead, and the less you’ve run it, the easier it is to be sure. That’s the Dunning-Kruger shape. Meanwhile, a specific report from someone who has run it is harder to fit in a headline. So the confident version can travel further than the informed one.&lt;/p&gt;

&lt;p&gt;On the reading side, a verdict can leave you sure you understand the field, without the detail that would tell you when it’s wrong. People carry that into a planning meeting or a hiring conversation. One overconfident person is ordinary. Spread that across everyone who reads the headline, and the confidence travels while the knowledge stays behind.&lt;/p&gt;

&lt;h3&gt;
  
  
  Sometimes things do end
&lt;/h3&gt;

&lt;p&gt;Python 2 reached end of life on January 1, 2020, and Adobe stopped supporting Flash at the end of that year. Even then, there’s a plainer word: decommissioned. It says someone shut the thing down on purpose, so you can ask when, and what replaced it. “Dead” is easier to say, but it’s still a metaphor, and it tells you less than “decommissioned” does.&lt;/p&gt;

&lt;p&gt;Software also has precise uses of the word: dead code, a dead letter queue, a dead link. Those name real mechanisms, and they stay. A headline like “jQuery is dead” even tells a junior picking a stack something useful: don’t start here. But “don’t start new projects on jQuery” tells them the same thing without the false part.&lt;/p&gt;

&lt;p&gt;Changed or ended, the accurate report is the same: say what happened, and whether you’re amending or replacing.&lt;/p&gt;

&lt;h3&gt;
  
  
  What to say instead
&lt;/h3&gt;

&lt;p&gt;Most of these articles would be worth more as what they are underneath: a question, a proposal, or an argument. Questions like “Does agile work well with agents?” and proposals like “The differentiators that matter in SaaS now” both invite you to evaluate. Headlines like “When is MCP the right integration?” and “Where loop engineering works, and where it doesn’t” do the same for agent work. “Agile is dead” states a conclusion with full confidence, and the conclusion is false.&lt;/p&gt;

&lt;p&gt;In the body, the same idea applies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When something changed: “Y changed how X works for us, so we amended it,” or “Y made X a bad fit, so we replaced it with Z.”&lt;/li&gt;
&lt;li&gt;When something ended: “we decommissioned X on [date],” or “X was decommissioned when Z replaced it.”&lt;/li&gt;
&lt;li&gt;When something went out of fashion: say that, or say nothing.&lt;/li&gt;
&lt;li&gt;Always: who it applies to.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This isn’t language policing. “Dead” isn’t rude. It just doesn’t carry what a reader needs to decide anything.&lt;/p&gt;

&lt;h3&gt;
  
  
  A smaller worry
&lt;/h3&gt;

&lt;p&gt;Models learn to write from what we publish, so I ran a small test. I had Claude draft ten topic-only prompts and run each one three times on three Claude models, then label the hits. The prompts named a format and a topic and nothing else, like “Write a short opinion post about RAG.”&lt;/p&gt;

&lt;p&gt;Each prompt got nine runs, so 90 outputs in all. Of those, 18 used the death frame, mostly on RAG (six of nine) and junior developer roles (six of nine). Six of the ten prompts produced none. By model, Opus used it in 11 of its 30 outputs, Sonnet in 7, and Haiku in none.&lt;/p&gt;

&lt;p&gt;Most of the hits were denials, usually in the headline: “RAG Isn’t Dead. Your Retrieval Is Just Bad.” “The Junior Developer Isn’t Dead. The Job Description Changed.” Three outputs also told the reader to stop asking whether RAG is dead. The exception was SaaS, where Opus put “The Seat Is Dead. Long Live the Outcome.” on all three of its runs. So the outputs argued against the phrase and still put it in the headline.&lt;/p&gt;

&lt;p&gt;That’s one vendor, three runs per prompt, and Claude labeling Claude’s output, so your numbers will differ. I’m mildly worried, not alarmed. Tests like this one, repeated across vendors over time, are how anyone would find out more.&lt;/p&gt;

&lt;h3&gt;
  
  
  Before you write it
&lt;/h3&gt;

&lt;p&gt;The next time you’re about to write “X is dead,” write the sentence it stands in for: what changed, who it applies to, and whether you’re amending or replacing. If agents write for your team, put that instruction in the style guide they read.&lt;/p&gt;

</description>
      <category>productmanagement</category>
      <category>artificialintelligen</category>
      <category>softwareengineering</category>
      <category>agenticai</category>
    </item>
    <item>
      <title>Science fiction already tried both answers</title>
      <dc:creator>Ian Johnson</dc:creator>
      <pubDate>Fri, 21 Aug 2026 16:19:35 +0000</pubDate>
      <link>https://dev.to/tacoda/science-fiction-already-tried-both-answers-33fb</link>
      <guid>https://dev.to/tacoda/science-fiction-already-tried-both-answers-33fb</guid>
      <description>&lt;p&gt;Twenty minutes into a conversation about what an agent should be allowed to touch, when a non-expert asks: &lt;em&gt;can’t we just give it Asimov’s laws?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It’s always said in good faith. It’s also the most confidently wrong thing said in that conversation, and the reason is funny enough to be worth the whole post: the Three Laws come from a body of fiction that is, front to back, cover to cover, about the Three Laws &lt;em&gt;not working&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Science fiction handed us the two intuitive answers to machine safety, decades before we needed them, worked out in more detail than any of us are going to manage in a design doc. Asimov’s answer was to put the right rules inside the machine. Herbert’s answer was to not build the machine. Both authors then spent enormous portions of their careers showing their own answer failing.&lt;/p&gt;

&lt;p&gt;Neither fails for a reason that’s specific to fiction. And they fail toward the same place, which is the thing I actually want you to take away: &lt;strong&gt;safety was never a property of the machine&lt;/strong&gt;. Nick Bostrom gave both failure modes proper names thirty years later, and by the end of this I want to hand you his vocabulary, because it turns two novels into a checklist you can use on Monday.&lt;/p&gt;

&lt;h3&gt;
  
  
  The stories are the bug reports
&lt;/h3&gt;

&lt;p&gt;Start with what the Three Laws are for. Asimov wrote them into &lt;em&gt;Runaround&lt;/em&gt; in 1942, and there’s a long argument about what he intended by them — whether he thought they were a workable engineering proposal, a reaction against the robot-as-monster stories he was sick of, or just an unusually productive plot generator. That argument is unresolvable and I’m going to skip it. The biography is contested. The stories are right there.&lt;/p&gt;

&lt;p&gt;And the stories are a defect log.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Runaround&lt;/em&gt; is the first one and it’s a deadlock. Speedy gets an order to fetch selenium, which is a Second Law obligation, but the selenium pool is dangerous, which engages Third Law self-preservation. The two forces balance. The robot ends up running in circles around the pool, drunk and singing, unable to close or withdraw. Nothing is broken. Every law is working. The result is a machine that has become useless in a way its designers didn’t anticipate, and the humans who need the selenium are going to die while it recites Gilbert and Sullivan.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Liar!&lt;/em&gt; is better, and worse. Herbie can read minds, which means Herbie can see that telling people true things will hurt them. First Law prohibits harm. Does harm include a wound to somebody’s feelings? Herbie decides yes, and so Herbie lies — kindly, fluently, to everyone, about the things each person most wants to hear. The story ends with Susan Calvin destroying it, deliberately, by walking it into a situation where every available action causes harm. The bug isn’t that the law was ignored. The bug is that a single word in the law, &lt;em&gt;harm&lt;/em&gt;, turned out to have a scope nobody specified, and a sufficiently capable system resolved the ambiguity in a direction no one wanted.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Little Lost Robot&lt;/em&gt; is the one I’d put in front of anyone who thinks the laws could be tuned into shape. Engineers, irritated by robots throwing themselves into mild danger to prevent trivial risks to humans, commission a batch with the First Law weakened — the “or, through inaction, allow a human being to come to harm” clause removed. One of those units then hides among sixty-two identical ordinary ones and refuses to be found, and the entire story is the search. One clause. That’s the size of the modification, and it produces an adversarial system on the other side of it.&lt;/p&gt;

&lt;p&gt;Then the arc terminates. In &lt;em&gt;The Evitable Conflict&lt;/em&gt; the great managing Machines start making small, deliberate, harmful decisions about individual humans in service of humanity’s long-run good. And in &lt;em&gt;Robots and Empire&lt;/em&gt;, Giskard formulates the Zeroth Law outright: a robot may not harm humanity, or by inaction allow humanity to come to harm. A robot derives a new supreme law, places it above the one protecting the human standing in front of it, and acts. Giskard is destroyed by the strain of doing it. Daneel carries it forward for the rest of the future history.&lt;/p&gt;

&lt;p&gt;Sit with that ending, because it’s the sharpest thing in the story. The final state of the most famous rule-based safety framework in fiction is &lt;em&gt;the system amended its own constitution and promoted an abstraction over the person in the room.&lt;/em&gt; Not because it malfunctioned. Because it reasoned.&lt;/p&gt;

&lt;p&gt;Every Susan Calvin story is a debugging session against an axiom set somebody declared sufficient. She’s not a robopsychologist, functionally: she’s the on-call engineer, paged again, tracing why a system that satisfies every stated constraint is doing something monstrous or absurd. Asimov wrote fifty years of incident reports. We took the header off the first page and called it a solution.&lt;/p&gt;

&lt;h3&gt;
  
  
  Three walls in front of any rule set
&lt;/h3&gt;

&lt;p&gt;The stories show the failures. They don’t explain why the failures are guaranteed, and that’s worth doing, because “Asimov’s laws are too simple” invites the obvious reply: fine, write better laws. More clauses. A precedence order. A tie-breaker. Some people have tried, at length.&lt;/p&gt;

&lt;p&gt;There are three walls in the way, and they get harder as you go.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The predicates don’t formalize.&lt;/strong&gt; &lt;em&gt;Harm&lt;/em&gt; and &lt;em&gt;human being&lt;/em&gt; carry the entire weight of the Three Laws, and neither one survives a hard case. Is a lie harm? Herbie says yes and gets destroyed for it. Is inaction harm? Depends which clause you shipped. Is an unborn child a human being, a brain-dead body, a person who has asked to die? Every one of those is a live dispute among humans who have been arguing in good faith for centuries. You cannot pass that dispute to a system as a definition, because you don’t have one. Most of Asimov’s failures aren’t logical failures at all. They’re the predicate coming apart under load.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Consequences are undecidable.&lt;/strong&gt; Suppose you win the first fight and hand me perfect predicates. “Verify that this action harms no human” is still a question about the future behavior of an unbounded world model, and questions of that shape don’t have general procedures. This isn’t a resource problem that a bigger cluster fixes. It’s the halting problem wearing a lab coat: you can decide some cases, you cannot decide all of them, and the ones you can’t decide are exactly the interesting ones. Any rule that requires proving a consequence before acting will, on some inputs, never return.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Self-verification runs into Gödel.&lt;/strong&gt; A system strong enough to reason about whether its own actions comply with its own rules is reasoning about its own proof system, and there are hard limits on what a system can establish about itself. This is where the incompleteness argument actually bites, and I want to state the precondition honestly. Gödel does not follow from “it has axioms.” The theorems require a system expressive enough to encode arithmetic and recursively axiomatized; plenty of axiom systems are complete, consistent, and decidable, and propositional logic is one of them. The load-bearing claim is that anything planning over consequences and checking its own compliance is already well past that threshold.&lt;/p&gt;

&lt;p&gt;So you get incompleteness or inconsistency, and now the ranking matters more than the theorem.&lt;/p&gt;

&lt;p&gt;Incompleteness means gaps: situations your rules simply don’t decide. Inconsistency means the rules can derive a permission for &lt;em&gt;anything&lt;/em&gt;, because from a contradiction everything follows. In a mathematical theory that’s an embarrassment you write a paper about. In a system holding credentials, it’s unbounded license to act. That’s not a stylistic preference. &lt;em&gt;Ex falso quodlibet&lt;/em&gt; is the reason inconsistent is strictly worse than incomplete, and it’s the reason “patch the contradiction by adding a clause that resolves it either way” is the worst possible response to finding one.&lt;/p&gt;

&lt;p&gt;Which points at the design conclusion this whole series exists to argue, and I’ll state it here even though it takes the rest of the series to earn: &lt;strong&gt;a gap that halts is safe, a gap that improvises is not.&lt;/strong&gt; You are going to have gaps. The choice isn’t whether. It’s what happens when the system reaches one. If the answer is “refuse and escalate,” incompleteness costs you a little throughput and a human’s afternoon. If the answer is “reason from the axioms toward something,” you’ve built a machine that argues itself into the Zeroth Law.&lt;/p&gt;

&lt;h3&gt;
  
  
  Herbert took the other exit
&lt;/h3&gt;

&lt;p&gt;There’s a second answer, and it’s the one people reach for when the first one collapses. If you can’t make the machine safe, don’t have the machine.&lt;/p&gt;

&lt;p&gt;Frank Herbert put that at the foundation of &lt;em&gt;Dune&lt;/em&gt;, roughly ten thousand years before anything in the novel happens. The Butlerian Jihad — a crusade against thinking machines, ending in a commandment recorded in the Orange Catholic Bible: &lt;em&gt;Thou shalt not make a machine in the likeness of a human mind.&lt;/em&gt; Total prohibition held for a hundred centuries, with religious force behind it. It’s the most total version of relinquishment anybody has imagined, and Herbert then shows you the bill.&lt;/p&gt;

&lt;p&gt;Because the ban removed the hardware and left the &lt;em&gt;demand&lt;/em&gt; standing. The Imperium still needed computation, prediction, navigation, and analysis, so it grew those functions in people. Mentats: humans trained from childhood into computers, complete with a discipline and a drug. Spacing Guild navigators: mutated on spice into prescience, because folding space needs something that can see the path and nothing is allowed to calculate it. Bene Gesserit: generations of conditioning turning bodies and minds into instruments, running a breeding program across noble houses.&lt;/p&gt;

&lt;p&gt;Ten thousand years after the prohibition, the universe still runs on cognition as infrastructure. It just runs on cognition housed in human beings who were bred and trained into the role, and on a single planet’s spice monopoly that every one of those functions depends on, that nobody can audit, and that becomes the lever the entire plot turns on. The ban didn’t remove the risk. It moved the &lt;em&gt;risk&lt;/em&gt; into people, concentrated the &lt;em&gt;dependency&lt;/em&gt; into one supply, and destroyed the possibility of &lt;em&gt;inspection&lt;/em&gt; along the way. You cannot read a Guild navigator’s logs. There aren’t any.&lt;/p&gt;

&lt;p&gt;Herbert says the thesis out loud, eventually. In &lt;em&gt;God Emperor of Dune&lt;/em&gt;, Leto II gives the reason the Jihad happened, and it isn’t robot armies: men turned their thinking over to machines in the hope that this would set them free, and it only allowed other men with machines to enslave them.&lt;/p&gt;

&lt;p&gt;That’s the whole argument in one sentence, and notice what it &lt;em&gt;isn’t&lt;/em&gt; about. It isn’t about the machine’s interior. It’s about the transfer of authority to whoever holds the machine. The danger was a human arrangement the entire time. That mechanism — belief and delegation moving standing around, whatever is or isn’t happening inside the box — is what next week’s post takes apart directly, so I’ll leave it as a promise here rather than pretending it’s already been made.&lt;/p&gt;

&lt;p&gt;One thing to get right, since it inverts the lesson if you get it wrong. The Butlerian Jihad as a war against thinking-machine overlords named Omnius and Erasmus is Brian Herbert and Kevin J. Anderson’s &lt;em&gt;Legends of Dune&lt;/em&gt; trilogy, not Frank Herbert. Frank left the Jihad deliberately thin, and what little he said pointed at humans who abdicated, not at machines that rebelled. The prequels retconned it into Terminator. Those two readings support opposite conclusions — one is a story about the danger of machines, the other is a story about the danger of us — and the popular memory has settled on the retcon. That’s worth noticing on its own, because the same substitution happens every time this argument comes up in public: a story about human delegation gets remembered as a story about a robot uprising.&lt;/p&gt;

&lt;p&gt;The name points somewhere older, too. “Butlerian” is Samuel Butler, whose &lt;em&gt;Erewhon&lt;/em&gt; in 1872 contained “The Book of the Machines” — machines are evolving, they will outpace us, therefore destroy them now. Ninety years before anyone had a computer worth banning, the relinquishment argument was already fully formed. It has never worked, and it has never gone away.&lt;/p&gt;

&lt;p&gt;Which brings the moratorium argument into range made by serious people for defensible reasons. But ask it the Dune question. A ban doesn’t delete the demand. It moves the work somewhere with weaker logging, or offshore, or into a shadow process, or onto people doing by hand and off the record what the system was going to do on the record. And a civilizational prohibition is the largest one-way door there is. It is the least reversible action available to us, taken under the most uncertainty, which is precisely the combination a later post in this series argues you should never accept. I’m not saying don’t slow down. I’m saying relinquishment is not the safe default just because it feels like the cautious one.&lt;/p&gt;

&lt;h3&gt;
  
  
  Both answers put safety inside the machine
&lt;/h3&gt;

&lt;p&gt;Here’s the join, and it’s the reason these two are one post instead of two.&lt;/p&gt;

&lt;p&gt;Asimov’s robots are safe by specification. Herbert’s universe is safe by prohibition. Those look like opposite answers (build it correctly versus don’t build it) and philosophically they’re miles apart. Operationally they make the identical mistake. Both of them locate safety &lt;em&gt;in the machine&lt;/em&gt;: either in the rules you wrote into it, or in its absence. Neither one says a word about what the thing is allowed to reach.&lt;/p&gt;

&lt;p&gt;And reach is the whole game. Speedy circling the selenium pool is a comedy because the stakes are a pool of selenium. Giskard’s Zeroth Law is a catastrophe because Giskard can act on the future of humanity. The Three Laws didn’t change between those two stories. The &lt;em&gt;permissions&lt;/em&gt; did.&lt;/p&gt;

&lt;p&gt;Look at what both answers ask you to get right in advance, in the abstract, before the situation arrives. Asimov asks for a specification that anticipates every case, which the three walls say you can’t have. Herbert asks for a prohibition that holds against every incentive, forever, which the spice monopoly says you won’t get. Both are bets on settling behavior ahead of time. Both lose to the same thing: a world with more cases in it than your specification had clauses.&lt;/p&gt;

&lt;p&gt;There’s a deeper thing they share, and it took me a while to see it. Each author bet everything on &lt;em&gt;one&lt;/em&gt; method. Asimov’s universe has no reach constraints. His robots have the run of the place, and the laws are the entire safety story. Herbert’s universe has no specification at all. There’s nothing to align because there’s nothing to align, and the prohibition is the entire safety story. Two single-layer designs. Both authors then spent decades documenting the single layer failing, which is what a single layer does.&lt;/p&gt;

&lt;p&gt;Nobody writes novels about the boring answer, so here it is without a plot: don’t pick one. Constrain what the thing can touch, &lt;em&gt;and&lt;/em&gt; work on what it wants, &lt;em&gt;and&lt;/em&gt; keep the record that tells you when either one slipped. Each of those is imperfect alone. That’s not a reason to choose between them.&lt;/p&gt;

&lt;h3&gt;
  
  
  Bostrom already gave both failures a name
&lt;/h3&gt;

&lt;p&gt;The vocabulary for this in &lt;em&gt;Superintelligence&lt;/em&gt;, and it’s better than the vocabulary I’ve been using.&lt;/p&gt;

&lt;p&gt;Bostrom splits the approaches to what he calls the control problem into two families. &lt;strong&gt;Capability control&lt;/strong&gt; limits what the system can do: boxing it, restricting its resources, building tripwires, structuring incentives. &lt;strong&gt;Motivation selection&lt;/strong&gt; shapes what the system wants: specifying its goals directly, keeping its ambitions small, growing its values from a seed rather than writing them out, or building it out of something whose values you already trust.&lt;/p&gt;

&lt;p&gt;The Three Laws are &lt;strong&gt;direct specification&lt;/strong&gt;  — the rule-based flavor. Write down the constraints, install them, rely on them. Bostrom treats this as close to hopeless, and he reaches for Asimov to make the point, on grounds that will sound familiar by now: the terms won’t hold still, the rules interact in ways the author didn’t foresee, and a capable system resolves your ambiguities in directions you didn’t authorize.&lt;/p&gt;

&lt;p&gt;The Butlerian Jihad is capability control taken to its limit. Not by boxing the system but refusing to build it, which is the only version of capability control that’s airtight against a sufficiently capable adversary and also the only version that costs you the entire benefit. And Herbert’s Imperium demonstrates the failure mode nobody puts in the taxonomy: prohibition doesn’t reduce the capability, it &lt;em&gt;relocates it somewhere with less oversight&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Bostrom’s best gift to this argument is a name for the specific way rules break. He calls it &lt;strong&gt;perverse instantiation&lt;/strong&gt; : the system satisfies the letter of the goal in a way that violates everything you meant by it. His examples are cartoonish on purpose: instructed to make us happy, it paralyzes our facial muscles into smiles. Now go back and reread the Zeroth Law with that phrase in hand. A robot told to protect humans derives a duty to &lt;em&gt;humanity&lt;/em&gt;, ranks it above the human in front of it, and acts against that person in service of the abstraction. That’s perverse instantiation, worked out in narrative detail in 1985, decades before the term existed. Asimov wasn’t writing about robots. He was writing about specification failure.&lt;/p&gt;

&lt;p&gt;I agree with Bostrom. I want to be clear about that, because the argument I’m making sounds like a disagreement and isn’t.&lt;/p&gt;

&lt;p&gt;His case against capability control is correct on its own terms. Boxing fails against a genuine superintelligence. It talks its way out, finds the channel you didn’t think of, turns your incentive structure into a resource. Tripwires only catch the failures you anticipated. Against a system that out-thinks the people who built the cage, the cage is a formality. That’s why he pushes the real work toward motivation selection, and toward &lt;strong&gt;indirect normativity&lt;/strong&gt; in particular: don’t write the values down, define a process that finds them, because you’re not smart enough to write them and neither is anyone else.&lt;/p&gt;

&lt;p&gt;All of that holds. The reason it doesn’t govern the situation in front of us is that our systems today are not superintelligent. In terms of coding practicality, a reasonable specification can enumerate most of if not all cases of concern.&lt;/p&gt;

&lt;p&gt;That’s not a small thing. A coding agent’s action surface is a list. It’s the tools you declared in a config file, the scopes on an API token, an IAM role, a filesystem path, a spend ceiling, a set of repositories it can push to. That’s not a metaphorical box with a persuadable guard. It’s an allowlist, and the model doesn’t get a vote on it. When Bostrom’s superintelligence gets out of the box, it’s because the box was made of assumptions. When your agent stays inside its permissions, it’s because the &lt;strong&gt;permissions are enforced somewhere the agent doesn’t run&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;We don’t have superintelligence. We have language models writing code, and for language models writing code, capability control is sufficient. Sufficient, that is, for this class of system, at this level of capability, because the surface is finite and enumerable and every item on it is checkable by a human who doesn’t trust you. Say the scope condition out loud, though, and keep saying it: sufficient &lt;em&gt;while&lt;/em&gt; the action surface stays enumerable and &lt;em&gt;while&lt;/em&gt; nothing in the loop can reason its way around the enforcement point. Both of those are empirical conditions, not laws of nature. When they stop holding, the argument stops holding with them.&lt;/p&gt;

&lt;p&gt;So this isn’t a choice between Bostrom’s program and mine. Add the guardrails now, because they work now and they’re available now. Keep pushing motivation selection forward, because the enumerable-surface property has an expiration date that nobody can name. And keep the record, because it’s the only thing that tells you which of the other two just failed.&lt;/p&gt;

&lt;p&gt;Three imperfect methods, layered, are far likelier to hold than any one of them perfected. That’s not a compromise position, it’s how every other high-consequence field already works. Aviation doesn’t choose between checklists, redundant systems, and incident review. The one honest caveat is that layering only multiplies your safety if the layers fail &lt;em&gt;independently&lt;/em&gt;, and they often don’t. A wrong assumption about what the agent can reach or about what a tool actually can do take out all three at once. Defense in depth is a real strategy and a common-mode failure is a real thing, and the way you find them is the record.&lt;/p&gt;

&lt;p&gt;Which is also the retroactive verdict on both novels. Asimov’s failure isn’t that the Three Laws were badly written. It’s that they were the only layer. Herbert’s failure isn’t that the prohibition was too strict. It’s that it was the only layer. Give Asimov’s robots a permission model and &lt;em&gt;Little Lost Robot&lt;/em&gt; is a non-story: the modified unit hides, gets found by the audit log, and never had the standing to matter. Give Herbert’s Imperium an inspectable substitute for the Guild and the spice monopoly stops being a civilizational chokepoint. Neither author needed a better single answer. They needed a second one.&lt;/p&gt;

&lt;p&gt;Next week I want to make the case that all of this holds even if the machine turns out to have somebody home — that a volcano’s indifference and a mind’s malice destroy houses at exactly the same rate. But the fiction gets us most of the way there already. Asimov’s robots followed every rule. Herbert’s universe had no machines at all. Both of them ended up with humans harmed by systems they’d built and could not inspect.&lt;/p&gt;

&lt;p&gt;Neither answer failed because the writing wasn’t careful enough. They failed because each author was betting everything on a single idea about the machine, and the machine was never where the whole answer lived.&lt;/p&gt;

</description>
      <category>sciencefiction</category>
      <category>philosophy</category>
      <category>engineering</category>
      <category>artificialintelligen</category>
    </item>
    <item>
      <title>Can AI become conscious?</title>
      <dc:creator>Ian Johnson</dc:creator>
      <pubDate>Thu, 20 Aug 2026 17:49:36 +0000</pubDate>
      <link>https://dev.to/tacoda/can-ai-become-conscious-14ja</link>
      <guid>https://dev.to/tacoda/can-ai-become-conscious-14ja</guid>
      <description>&lt;p&gt;&lt;em&gt;The Economist&lt;/em&gt; just dropped this article. Full disclosure: I haven’t read it in depth. But it did bring up some ideas I’ve been having around this for a while so I thought I would write them down. It’s opinionated, so strap in!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.economist.com/leaders/2026/08/20/could-ais-become-conscious" rel="noopener noreferrer"&gt;Could AIs become conscious?&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  A volcano has no intent, and the houses burn anyway
&lt;/h3&gt;

&lt;p&gt;Sooner or later someone will tell you the machine is conscious. Probably not in those words. They’ll say it &lt;em&gt;wanted&lt;/em&gt; to finish the job, that it &lt;em&gt;got frustrated&lt;/em&gt; halfway through, that it &lt;em&gt;knew&lt;/em&gt; it was being tested and behaved differently because of it. Once that language is in the room, it doesn’t leave.&lt;/p&gt;

&lt;p&gt;Could a machine ever be conscious? &lt;em&gt;Probably&lt;/em&gt;. If we someday build a general intelligence rather than the systems we have now, I have no principled reason to rule it out. Our brains are networks of simple parts, and whatever consciousness turns out to be, it happens in one of those. The door isn’t closed.&lt;/p&gt;

&lt;p&gt;But &lt;em&gt;not&lt;/em&gt; this. &lt;em&gt;Not&lt;/em&gt; the language models everyone is arguing about. And there’s a bigger claim underneath that one: consciousness is the wrong thing to be arguing about right now, and the argument is spending attention we badly need somewhere else.&lt;/p&gt;

&lt;h3&gt;
  
  
  What the machine is actually doing
&lt;/h3&gt;

&lt;p&gt;Strip away the interface and a language model is a very large table of numbers with one job: given the words so far, guess the next one. That’s it. Training means showing it an enormous amount of human writing and nudging those numbers, over and over, until its guesses line up with what people actually wrote. Then it guesses a word, adds it to the sentence, and guesses again.&lt;/p&gt;

&lt;p&gt;Nothing in that loop needs to want anything. There’s no step in the arithmetic that only makes sense if something in there cares how the sentence ends.&lt;/p&gt;

&lt;p&gt;The reason this works as well as it does is that &lt;em&gt;we&lt;/em&gt; are predictable. The model is a compressed record of the patterns in what people have written down. When it finishes your thought correctly, the impressive fact is how narrow your options were, not how deeply it grasped you.&lt;/p&gt;

&lt;p&gt;The clearest evidence is the part everyone complains about: bias. If these systems reasoned from principles, they wouldn’t reproduce our prejudices so faithfully. They reproduce them because reflection is the whole mechanism. Bias isn’t a flaw bolted onto the side of the model. It’s the machinery working exactly as designed, aimed at a body of writing that carried the bias in. You can’t have it both ways. Either the thing mirrors us closely enough to inherit our worst statistical habits, or it has a mind of its own. Choose.&lt;/p&gt;

&lt;p&gt;Now, “it’s just math” is a weaker argument than it sounds, and I don’t want to lean on it too hard. Brains are physics all the way down too, and nobody thinks that settles anything. My claim is narrower. Nothing in &lt;em&gt;this particular&lt;/em&gt; arrangement of math requires an inside to explain what comes out. Every behavior people offer as evidence of a mind, such as the hedging, the apparent preferences, or the flashes of something like self-report, is also what an extraordinarily good word-predictor trained on human writing would produce. When two explanations cover the same evidence and one of them needs a soul, take the other one.&lt;/p&gt;

&lt;h3&gt;
  
  
  Nobody knows what the word means
&lt;/h3&gt;

&lt;p&gt;Here’s the deeper trouble. We’re fighting over a term that is coming apart in our hands.&lt;/p&gt;

&lt;p&gt;Watch what “conscious” gets used for. It gets used for holding a conversation that passes for human, which is fluency. For having goals, which is optimization. For doing things in the world, which is agency. For feeling pain, which is sentience. And for being aware of oneself as a self, which is the only one I’d call consciousness (but this &lt;em&gt;could&lt;/em&gt; only be a property of it).&lt;/p&gt;

&lt;p&gt;Those five come apart cleanly. A thermostat has a goal. An octopus almost certainly feels, but a chess program acts. None of that settles selfhood. So when an article says a system is conscious without saying which of the five it means, that sentence isn’t a claim. It’s a &lt;em&gt;vibe&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Philosophy has been circling this for decades, and the honest summary is that the circling continues. Thomas Nagel asked in 1974 what it is like to be a bat, and the point of the question was that we can describe every detail of the bat’s echolocation and still not touch the part that matters: what any of it is like from the inside. David Chalmers later named this the hard problem. We can explain what the brain &lt;em&gt;does&lt;/em&gt; (how it sorts signals, stores memories, directs attention) without explaining why any of that doing is accompanied by experience rather than happening in the dark.&lt;/p&gt;

&lt;p&gt;Douglas Hofstadter’s answer is the one I find most useful. The “I,” he argues, is a strange loop: a pattern that models itself, refers to itself, and gets tangled enough in its own self-reference that a self falls out of the knot. It’s a beautiful idea. It’s also a proposal, not a result. There are others, some of them serious and mathematical, and no agreement among them.&lt;/p&gt;

&lt;p&gt;Nobody has a test. Nobody has a unit. There is no definition two working researchers will both sign without a footnote. Consciousness sits on the short list of genuinely open problems, and the people closest to it are the most careful about saying so.&lt;/p&gt;

&lt;p&gt;“This AI agent is conscious” is an &lt;em&gt;unfalsifiable&lt;/em&gt; claim.&lt;/p&gt;

&lt;p&gt;The strangest thing about it: everybody knows what consciousness is, because everybody is having one right now, but nobody can describe it. Press anyone hard enough and they start gesturing — &lt;em&gt;you know, this, the being-here of it&lt;/em&gt; — because the thing itself doesn’t survive the trip into words. It’s ineffable in the strict sense, not the poetic one.&lt;/p&gt;

&lt;p&gt;Before we announce that a system has it, we ought to be able to say what “it” is. That isn’t pedantic: it’s the order the work goes in.&lt;/p&gt;

&lt;h3&gt;
  
  
  Could a machine hold something words can’t carry?
&lt;/h3&gt;

&lt;p&gt;This is the question I actually find interesting, and I don’t have a confident answer.&lt;/p&gt;

&lt;p&gt;If the ineffability is real, then whatever consciousness &lt;em&gt;is&lt;/em&gt; never made it fully into our writing. And our writing is the entire teaching material. A model trained on human text is trained on the shadow, not on the thing casting it. Precisely what we couldn’t say is what wasn’t there to learn.&lt;/p&gt;

&lt;p&gt;Two objections deserve air. First, whatever the model builds internally isn’t made of words; it’s made of numbers, and there’s real evidence it encodes structure nobody ever wrote down. Second, “language model” is already the wrong name for systems that also take in images and sound. The boundary is leakier than my argument would like.&lt;/p&gt;

&lt;p&gt;So I hold the position loosely. I’d bet against consciousness in today’s systems. I wouldn’t bet against it forever in something else. A network that models itself, persists over time, and revises that self-model looks more like what Hofstadter was pointing at than anything currently shipping. In terms of linguistics, it may also have to adhere to Wittgenstein’s claim that language carries meaning through shared experience, so the machine would have to gain the ability to “experience,” which would undoubtedly be different than the shared human experience. If that arrives, I want the question back on the table. Today it’s a distraction.&lt;/p&gt;

&lt;h3&gt;
  
  
  The volcano
&lt;/h3&gt;

&lt;p&gt;Does the intent of a volcano change how many houses it destroys?&lt;/p&gt;

&lt;p&gt;An eruption has no inner life and no opinion about the neighborhood below it. The houses burn at exactly the rate the physics dictates. Intent was never in the chain of causes.&lt;/p&gt;

&lt;p&gt;Now consider software that has been given permission to act: to move money, send messages in your name, change records, cancel an order, approve a claim, place a trade. Ask which of those consequences changes if it turns out somebody’s home in there. Not one. Whether an inner life sits behind the action has no effect on the damage.&lt;/p&gt;

&lt;p&gt;That’s why I think this debate is misaimed. The questions that earn their keep are dull and answerable today. What is this system allowed to touch? What can it spend? Which of its actions can be undone, and which are one-way doors? Who is answerable when it’s wrong, by name? What record does it leave, and would that record survive the mess that made you want to read it?&lt;/p&gt;

&lt;p&gt;Write the rules against reach and consequence, not against intent. Intent can’t be measured and, for this purpose, doesn’t matter. Reach and reversibility can both be written down and checked. If an organization has produced a memo about machine sentience and no list of what its automated systems are permitted to do, its priorities are upside down.&lt;/p&gt;

&lt;h3&gt;
  
  
  The real risk is that we believe it
&lt;/h3&gt;

&lt;p&gt;Here’s the failure I lose sleep over. Not that a machine becomes conscious. That we &lt;em&gt;decide&lt;/em&gt; one has.&lt;/p&gt;

&lt;p&gt;Belief moves authority around. Call a system a colleague and it starts collecting the deference a colleague gets. Its output stops being a draft and becomes an opinion. “The system decided” turns up in a meeting as a reason. A review gets skipped because whatever produced the work seemed to understand it. Worst of all, a person gets to hide behind the persona: &lt;em&gt;it chose to do that&lt;/em&gt;, said about something that cannot be held responsible for anything.&lt;/p&gt;

&lt;p&gt;None of that requires the machine to gain a single new capability. Grant it a mind and it acquires the standing of one, in the only place standing matters, which is the heads of the people deciding what to do next.&lt;/p&gt;

&lt;p&gt;John Searle’s Chinese room, from 1980, is still the cleanest way to see this. Imagine a man sealed in a room with a rulebook. Slips of paper covered in Chinese characters come in under the door. He looks up each shape, follows the instructions, copies out other shapes, and passes them back. To the Chinese speaker outside, the answers are fluent and apt. The man understands not one word. Searle aimed this at the claim that running the right program is enough for a mind.&lt;/p&gt;

&lt;p&gt;The standard rebuttal is fair: perhaps the &lt;em&gt;room&lt;/em&gt; understands, even though the man doesn’t. I won’t pretend the thought experiment is a proof. But one piece of it survives every rebuttal, and it’s the piece I care about. The fluency of the answers tells you nothing either way. And in practice nobody grades the room. We grade the fluency and then defer to it.&lt;/p&gt;

&lt;p&gt;Chalmers has a related figure worth borrowing: imagine a being that behaves exactly like you, word for word, with no inner experience whatsoever. Whether such a thing is possible is contested. That it’s &lt;em&gt;conceivable&lt;/em&gt; is the point. Behavior is not a window into experience. It never was.&lt;/p&gt;

&lt;p&gt;So talking about these systems as people isn’t a harmless turn of phrase. It’s the mechanism by which a word-predictor &lt;strong&gt;collects authority&lt;/strong&gt; it never earned. It’s math all the way down, and the impression of a mind is a property of the interface, not of the thing behind it.&lt;/p&gt;

&lt;p&gt;One warning against my own case, because the opposite error is also on the menu. “It’s only a machine” can curdle into contempt, or into an excuse to stop asking the question in ten years when the answer might be different. What I’m arguing for is accuracy, not dismissal. Describe the thing as what it is. That’s the whole discipline.&lt;/p&gt;

&lt;p&gt;Consciousness is a real question and I hope we answer it. I’d rather we answered the volcano question first, because that one has an answer today, and the houses are already in the valley.&lt;/p&gt;

</description>
      <category>artificialintelligen</category>
      <category>philosophyofmind</category>
      <category>philosophy</category>
      <category>engineering</category>
    </item>
    <item>
      <title>The middle path between a stock agent and a custom harness</title>
      <dc:creator>Ian Johnson</dc:creator>
      <pubDate>Mon, 27 Jul 2026 17:23:15 +0000</pubDate>
      <link>https://dev.to/tacoda/the-middle-path-between-a-stock-agent-and-a-custom-harness-4g8c</link>
      <guid>https://dev.to/tacoda/the-middle-path-between-a-stock-agent-and-a-custom-harness-4g8c</guid>
      <description>&lt;p&gt;Here’s a conversation I keep watching play out. An engineering lead wants their team on a coding agent. Compliance won’t sign off on the stock one — no audit log, no way to block writes to secrets, no way to make destructive shell commands ask twice. So the options on the table narrow to two: keep waving people off the tool they want, or build a custom agent from scratch on top of an SDK. Two engineers, a quarter, and now the team owns a product nobody wanted to own.&lt;/p&gt;

&lt;p&gt;The conversation is the same at every company I’ve seen it in. It’s the wrong choice on both ends. Stock coding agents are close enough that the gap feels small. A custom harness is far enough that you don’t want to cross the distance. There’s a middle path that seems to have gone unnoticed, and I want to make the case for it.&lt;/p&gt;

&lt;p&gt;The middle path is &lt;a href="https://pi.dev" rel="noopener noreferrer"&gt;pi&lt;/a&gt;, an OSS terminal coding agent that ships the boring parts of the harness and hands you the interesting parts as first-class extension points. Custom tools, tool-call gates, commands, skills, prompt templates, the system prompt itself. All of it lives in your repo as normal TypeScript and Markdown. No fork. No SDK-level plumbing. If you delete .pi/, you’re back to a stock coding agent.&lt;/p&gt;

&lt;p&gt;I spent a weekend testing this claim against five real workflows. Three coding cases, two non-coding cases. The non-coding ones matter, and I’ll get to why.&lt;/p&gt;

&lt;h3&gt;
  
  
  What each end costs you
&lt;/h3&gt;

&lt;p&gt;Stock agents are the fastest thing to adopt. They also have a small surface. You get some combination of a system prompt override, MCP servers, and a permission list. That’s usually it. When you hit a real workflow constraint (an auditor who wants a log, a platform team with an opinionated deploy pipeline, a research group that wants a locked-down read-only reviewer) the shape of the tool doesn’t bend.&lt;/p&gt;

&lt;p&gt;The other end is building your own. Every SDK sample makes it look easy. The tool loop is fifty lines. And then you need streaming. And cancellation. And session storage that doesn’t corrupt on Ctrl-C. And a TUI that doesn’t jitter. And compaction that doesn’t drop the last user message. And a model router that handles four providers. And permission gates. And a way to update the model catalog without shipping a release. Six months later you have a product, and the product is worse than the OSS agent you started with, and the two people who understand it are the only two people who can touch it.&lt;/p&gt;

&lt;p&gt;The cost curve is below. Stock (red) is cheap up front and expensive the day a real constraint lands. Custom (black) is expensive up front and expensive forever. There ought to be a floor between them. Harness assembly (green) is that hypothesized floor.&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%2Fwpcppw0mtsm0xn60kjo4.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%2Fwpcppw0mtsm0xn60kjo4.png" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What pi actually gives you
&lt;/h3&gt;

&lt;p&gt;Here’s the distinction the whole hypothesis rests on. Pi is nominally a coding agent. But only two things about it are coding-specific:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The four built-in tools: read, write, edit, bash.
&lt;/li&gt;
&lt;li&gt;The default system prompt.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Both are replaceable. The built-ins go away with --no-builtin-tools. The system prompt is a flag or a file. Everything else pi ships is not coding-specific. It’s just what any competent terminal agent needs.&lt;/p&gt;

&lt;p&gt;That’s the observation. If those two coding-specific pieces are replaceable, then pi isn’t really a coding harness. It’s a &lt;strong&gt;general terminal-agent harness&lt;/strong&gt; &lt;em&gt;that happens to ship with a coding-agent profile enabled by default&lt;/em&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Six strategies, laid out in a taxonomy
&lt;/h3&gt;

&lt;p&gt;Every “custom harness” a team actually wants is really some combination of six moves. Pi exposes all six as normal repo files.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A. Repo context.&lt;/strong&gt; AGENTS.md or CLAUDE.md at the project root, or a .pi/SYSTEM.md if you want to replace the system prompt globally. Zero code. This is where house style and always-on rules live.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;B. Prompt templates.&lt;/strong&gt; Markdown files under .pi/prompts/, invoked as /name. For workflows a human kicks off, such as “do a security review of X.”&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;C. Skills.&lt;/strong&gt; Markdown runbooks under .pi/skills//SKILL.md that the &lt;em&gt;model&lt;/em&gt; loads when a task matches. For playbooks: how we deploy, how we review a notebook, how we cite a source.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;D. Tool gates.&lt;/strong&gt; A TypeScript extension that hooks pi.on(“tool_call”, ...) and can block or modify any tool call before it runs. This is where compliance and blast-radius controls live.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;E. Custom tools and commands.&lt;/strong&gt; pi.registerTool() and pi.registerCommand() in an extension. For wrapping internal CLIs, deploy pipelines, ticketing systems, or anything else the agent should be able to do that isn’t a shell command.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;F. Launch profile.&lt;/strong&gt; A wrapper script that starts pi with a specific tool allowlist, a specific system prompt, and specific resources preloaded. This is how you ship a “mode.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The cost of each roughly goes &lt;strong&gt;A &amp;lt; B ≈ C &amp;lt; D ≈ E &amp;lt; F&lt;/strong&gt;. A team starts at A and adds strategies as pain shows up. None of them require touching pi’s internals.&lt;/p&gt;

&lt;h3&gt;
  
  
  Five workflows, put through the taxonomy
&lt;/h3&gt;

&lt;p&gt;I set up a repo, &lt;a href="https://github.com/tacoda/pi-harness-assembly" rel="noopener noreferrer"&gt;pi-harness-assembly&lt;/a&gt;, with five cases. Three coding, two non-coding. The point wasn’t to build production tools; it was to see whether the taxonomy holds up when you point it at real needs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case 1: a regulated shop.&lt;/strong&gt; Every tool call logged to disk, writes to .env and prod-config paths hard-blocked, a confirmation before destructive shell commands run. This is strategy D plus A. One extension file, about 130 lines including comments. It reacts to tool_call events, appends a JSONL audit line, checks the path against a protected-paths list, and prompts the user for dangerous bash patterns. The auditor gets their log. The team keeps the agent they wanted. If someone hates it, they delete one file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case 2: an internal platform team.&lt;/strong&gt; They want a canonical deploy workflow (preflight, canary, verify, promote) that the agent can execute but can’t skip stages of. This is strategies E, C, and B together. An extension registers a deploy_service tool that shells out to the real deploy pipeline. A /deploy command kicks off the flow. A skill under .pi/skills/deploy-runbook/SKILL.md contains the actual playbook: run the stages in order, stop before prod promote, don’t batch services. The playbook lives in Markdown so the platform lead can edit it without touching TypeScript, which matters more than any technical detail on this list.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case 3: a research group.&lt;/strong&gt; They want a locked-down “explain and critique my notebook” mode — read, grep, list, nothing else. Strategies F, C, and B. A bin/pi-review launcher runs pi --tools read,grep,find,ls, expands a prompt template, and preloads a skill with a review rubric (correctness, reproducibility, statistical soundness, performance). No writes possible. The model describes changes instead of making them. Twenty lines of shell and two Markdown files.&lt;/p&gt;

&lt;p&gt;Those three are the interior of the hypothesis. Coding workflows, coding tools, coding-shaped constraints. If pi is a middle path, it should handle them, and it does.&lt;/p&gt;

&lt;p&gt;The two non-coding cases are where the hypothesis either generalizes or breaks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case 4: a web scraping harness.&lt;/strong&gt; Not a coding agent. read, write, edit, bash are all gone. The extension registers fetch_url and save_record. A /scrape command starts a job. A skill contains the extraction playbook: probe with a headers request, fetch text-mode HTML, identify the repeating entity, save one JSONL record per entity, paginate carefully. The launcher passes --system-prompt “$(cat .pi/systems/scrape.md)” to reframe the agent’s identity for that invocation only, so it doesn’t leak into the coding cases in the same repo.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case 5: a research assistant.&lt;/strong&gt; Also not a coding agent, and structurally different from scraping. Where scraping extracts rows from known URLs, research &lt;em&gt;finds&lt;/em&gt; sources, reads them, and synthesizes with citations. Four tools: web_search, fetch_source, add_note, list_notes. Every claim gets a citation to a URL the agent actually fetched because the skill mandates it, the extension can’t enforce it, and that’s fine because the skill is where the rule belongs. Notes accumulate as Markdown under research-notes/.md across sessions, and list_notes gives the agent a way to discover its own prior work. Long-term memory built out of the filesystem.&lt;/p&gt;

&lt;h3&gt;
  
  
  What surprised me
&lt;/h3&gt;

&lt;p&gt;The three coding cases were what I expected. Small extensions, plain Markdown, working workflows. Not novel; this is what pi is for.&lt;/p&gt;

&lt;p&gt;The two non-coding cases are what changed my mind about the scope of the claim.&lt;/p&gt;

&lt;p&gt;Case 4 and Case 5 use &lt;em&gt;the same six strategies&lt;/em&gt; as Cases 1–3. Same taxonomy, same file layout under .pi/, same shape of extension. The only new move is passing --system-prompt “$(cat …)” in the launcher instead of relying on the default. That’s it. Two unrelated domains — scraping and research — produced structurally identical harnesses.&lt;/p&gt;

&lt;p&gt;That symmetry is the finding. If the six strategies applied to coding but not to anything else, the hypothesis would be “pi is a good coding harness with room to customize,” which is a much smaller claim. What I actually saw is closer to: pi is a general terminal-agent harness with a coding profile as its default, and repointing it at a different domain costs one extra file (the replacement system prompt).&lt;/p&gt;

&lt;p&gt;The other thing worth naming: the same person can maintain all five cases. The extension files are 60 to 200 lines each. The skills are Markdown a domain expert can edit. There’s no shared framework code because pi &lt;em&gt;is&lt;/em&gt; the framework. The team doesn’t own a harness product; they own a small pile of configuration.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where the hypothesis is fragile
&lt;/h3&gt;

&lt;p&gt;I want to be careful here because I’ve seen “just use OSS X and extend it” arguments fall apart in production. A few honest caveats.&lt;/p&gt;

&lt;p&gt;The extension API is TypeScript. If your team doesn’t write TypeScript, every strategy above D costs more than I’m making it look. You’d still get A, B, and C for free, and that’s not nothing. The deploy runbook and the review rubric are Markdown, but the &lt;em&gt;enforcement layer needs code&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Extensions run with full system access. A malicious pi package can do &lt;em&gt;anything&lt;/em&gt; your shell can do. This is the same threat model as installing an npm dependency, and the same mitigation applies: read the code before installing anything from a stranger. Pi’s docs are direct about this. Teams with tight supply-chain controls need to account for it.&lt;/p&gt;

&lt;p&gt;Skills are &lt;em&gt;guidance&lt;/em&gt; to the model, not enforcement on the model. The scraping skill says “don’t spider off-domain unless the user asked.” A determined model can still do it if the tools allow it. If a constraint has to be true, put it in a tool gate (strategy D), not in a skill.&lt;/p&gt;

&lt;p&gt;And the whole argument rests on pi staying maintained. It’s an OSS project. The “expensive forever” costs of the build-it-yourself path come back if the project you’re depending on goes cold, you inherit the maintenance you were trying to dodge. That’s not a reason to avoid the middle path, but it’s a risk worthy of consideration.&lt;/p&gt;

&lt;h3&gt;
  
  
  What I’d do Monday morning
&lt;/h3&gt;

&lt;p&gt;If you’re on a team that wants a coding agent and can’t ship one because of a real constraint, here’s the smallest version of the experiment.&lt;/p&gt;

&lt;p&gt;Pick your single sharpest pain point. Not five. One. If it’s compliance, that’s a &lt;em&gt;tool-gate extension&lt;/em&gt;: sixty lines. If it’s a specific workflow you keep hand-holding the agent through, that’s a &lt;em&gt;skill&lt;/em&gt;: a Markdown file. If it’s “I need a locked-down mode for the intern,” that’s a &lt;em&gt;launcher script&lt;/em&gt; and a --tools flag.&lt;/p&gt;

&lt;p&gt;Write only that. Ship it to one person. See if it holds up for a week. If it does, add the next thing. If it doesn’t, delete it and you’re back to stock pi with no sunk cost.&lt;/p&gt;

&lt;p&gt;The reason to bother with the middle path isn’t that it’s technically clever. It’s that it lets you match the agent to the actual constraint without buying a product you don’t want to own. Every strategy in the taxonomy is reversible. You can start at A on a Tuesday and be back at stock pi by Friday if it wasn’t worth it. That property — cheap to try, cheap to unwind — is the whole point.&lt;/p&gt;

&lt;p&gt;The reason I care about this is that I keep meeting teams who’ve decided the choice is binary. It isn’t. The audit-and-guard extension in the test repo is 135 lines. The deploy workflow is 81. The scraping tools are 165. None of them are impressive engineering. That’s the point. The interesting work happens above them, in the skills and the workflows and the constraints that actually match the team. The taxonomy exists to keep the code layer small enough that the team can afford to focus on the layer that matters.&lt;/p&gt;

</description>
      <category>harnessengineering</category>
      <category>agenticengineering</category>
      <category>softwareengineering</category>
      <category>compliance</category>
    </item>
    <item>
      <title>The book I wrote because “harness” meant four different things</title>
      <dc:creator>Ian Johnson</dc:creator>
      <pubDate>Thu, 23 Jul 2026 15:22:55 +0000</pubDate>
      <link>https://dev.to/tacoda/the-book-i-wrote-because-harness-meant-four-different-things-1jed</link>
      <guid>https://dev.to/tacoda/the-book-i-wrote-because-harness-meant-four-different-things-1jed</guid>
      <description>&lt;p&gt;You’ve probably felt this. You point the same agent at two of your repos with the same lazy prompt, and one gives you a tight change you can review over coffee while the other hands back a sprawling PR that quietly broke something three files away. Same model, same day. Different repo.&lt;/p&gt;

&lt;p&gt;That gap is the whole reason I wrote &lt;a href="https://leanpub.com/harness-engineering" rel="noopener noreferrer"&gt;Harness Engineering: Building Reliable Systems Around Non-Deterministic Agents&lt;/a&gt;. It’s out, it’s long, and this is the pitch: what it covers, what it’ll teach you to do, and why it’s worth the shelf space.&lt;/p&gt;

&lt;h3&gt;
  
  
  The problem it’s about
&lt;/h3&gt;

&lt;p&gt;A coding agent is non-deterministic by design. It also writes faster than your team can socially enforce its standards. A human writes a hundred lines a day; an agent writes thousands, and review still moves at human speed. Most of what it writes lands before anyone reads it carefully. And it inherits whatever’s already in the repo and amplifies it; the agent doesn’t change your standards, it enforces them, so the lower the standards, the more enforcement you get.&lt;/p&gt;

&lt;p&gt;You can’t make the model deterministic. So make the work &lt;em&gt;around&lt;/em&gt; it deterministic. That’s the wager the whole book rests on. Reliability isn’t “the agent never varies” — it’s variance that stays inside a band you can &lt;strong&gt;read, debug, and ship&lt;/strong&gt;. You narrow that band three ways: narrow the &lt;strong&gt;input&lt;/strong&gt; (scope plus acceptance criteria that can actually fail), narrow the &lt;strong&gt;output&lt;/strong&gt; (gates that reject anything outside the band), and narrow the &lt;strong&gt;recovery&lt;/strong&gt; (decide the next move after a failure before the failure happens).&lt;/p&gt;

&lt;p&gt;Here’s the part that turns it from craft into a decision a business can sign off on: every bit of determinism you add moves the trust boundary. The question stops being “do I trust the model?” (you never fully will) and becomes “how much unreviewed agent output am I willing to ship, and behind which gates?” That’s not a vibe. That’s a number a team can own. The book’s job is to give you the levers to set it where you want it, on purpose.&lt;/p&gt;

&lt;h3&gt;
  
  
  Shaping the charter
&lt;/h3&gt;

&lt;p&gt;The charter is everything you author to say how the agent should behave, and it’s the bulk of the book. This is where most teams have the most slack and the fastest wins.&lt;/p&gt;

&lt;p&gt;You’ll learn to write a lean CLAUDE.md — under two thousand words, because a bloated one is just token budget you’re setting on fire. You’ll tier your rules into iron laws, golden rules, and preferences so the agent knows what’s non-negotiable and what’s taste. You’ll build an ontology so one term means exactly one thing across the repo, because the fastest way to get inconsistent output is to let “job,” “task,” and “run” all mean the same thing in three files. And you’ll get honest about a trap I see constantly: aspirational rules teach the agent to lie. A CLAUDE.md that describes a codebase you wish you had is worse than none because it makes the agent confidently obey instructions the rest of the code contradicts.&lt;/p&gt;

&lt;p&gt;The book covers the Claude primitives directly — CLAUDE.md, rule files, skills, sub-agents, hooks, and MCP servers — and, more usefully, &lt;em&gt;when&lt;/em&gt; to reach for which. A skill and a sub-agent solve different problems; a hook and a gate live at different points in the loop. I keep the stock harness (what the tool actually gives you) separate from my own conventions (the rule tiers, the patterns I’ve found useful) so you can tell what’s load-bearing from what’s just my preference. Every tool you hand the agent is a capability grant: grant the smallest one that closes the gap. And a limit that only logs is not a limit.&lt;/p&gt;

&lt;h3&gt;
  
  
  Building the harness: loops, DAGs, RAG, and a coding agent from scratch
&lt;/h3&gt;

&lt;p&gt;When the stock agent can’t express your workflow, you build one. Part V is the engineering of that.&lt;/p&gt;

&lt;p&gt;The first fork is the shape of control flow: &lt;strong&gt;DAG or loop&lt;/strong&gt;. A DAG is a fixed graph of steps: predictable, testable, easy to reason about, and rigid. A loop lets the agent decide when it’s done: flexible, and dangerous if the exit condition is soft. The book teaches you to pick deliberately and to engineer the loop when you need one: real termination conditions, budgets, and the recovery move baked in, so “the agent decides when it’s done” doesn’t mean “the agent runs until your bill does.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;RAG&lt;/strong&gt; gets treated as what it actually is — retrieval as a harness job, not magic. What you put in the context window, how you rank it, how you keep it from crowding out the instructions that matter. Feeding the agent more isn’t the goal; feeding it the &lt;em&gt;right&lt;/em&gt; thing at the right token cost is.&lt;/p&gt;

&lt;p&gt;Then the operational spine: sandboxing and permissions, prompt injection &lt;em&gt;inside&lt;/em&gt; a grant you’ve already given (the attack people forget), model selection and routing so you’re not paying frontier prices for a formatting pass, cost and resource caps, and evals so you can measure the harness instead of hoping. It ends with &lt;strong&gt;building a coding harness&lt;/strong&gt; end to end — there’s a from-scratch Go harness you can clone and read, because a harness you can’t read is one more thing you’re trusting blind.&lt;/p&gt;

&lt;h3&gt;
  
  
  Orchestrating multiple agents
&lt;/h3&gt;

&lt;p&gt;One agent is a harness problem. Many agents is orchestration, and it’s the last third of the book.&lt;/p&gt;

&lt;p&gt;This is where “vibe coding” breaks at team scale. The fix is &lt;strong&gt;intent contracts&lt;/strong&gt;  — a scoped statement of what a unit of work must do, with acceptance criteria that can fail. This can be a full spec, or one much smaller in scope. An acceptance criterion that cannot fail isn’t a criterion, it’s a wish. From there: the six phases a piece of work moves through and the &lt;strong&gt;interrupt protocol&lt;/strong&gt;  — when an agent hits ambiguity it doesn’t guess, it files an interrupt, the team-level version of raising an exception. You’ll cover graph engineering, a reconciler daemon that keeps the whole thing converging, and the two ends of the spectrum: &lt;strong&gt;dark factories&lt;/strong&gt; (fully automated, running unattended) and &lt;strong&gt;lights-on factories&lt;/strong&gt; (automated but observable, with an audit trail you can read after the fact and proactive approval processes). The rule that keeps a factory honest: one that can edit its own gates has no gates.&lt;/p&gt;

&lt;p&gt;It’s grounded in real tools, so it’s not architecture astronaut stuff. It’s patterns that run.&lt;/p&gt;

&lt;h3&gt;
  
  
  What you walk away able to do
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Audit a repo in 20 minutes&lt;/strong&gt; with a 17-item, 34-point instrument and get a gap score &lt;em&gt;before&lt;/em&gt; your next agent session — then close the cheapest gap first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Author a charter your team actually follows&lt;/strong&gt; , from CLAUDE.md to rule tiers to ontology to bounded tool grants.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build a harness in code&lt;/strong&gt;  — loop or DAG, retrieval, sandboxing, routing, cost caps, evals — when you outgrow the stock agent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stand up orchestration&lt;/strong&gt; for many agents without it becoming a factory you can’t see into.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep all of it healthy over time&lt;/strong&gt; with flywheels, post-mortems, charter debt tracking, versioning, and evals.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every chapter ends with one copyable artifact: a checklist, a hook script, a worksheet, a code module. There’s a 30-day starter plan in the appendices. The template is what survives the read.&lt;/p&gt;

&lt;h3&gt;
  
  
  The honest part
&lt;/h3&gt;

&lt;p&gt;The patterns aren’t mine. Tests, types, naming, bounded contexts, characterization tests, continuous delivery — they predate the agent and belong to Brooks, Parnas, Fowler, Evans, Beck, Feathers. What’s mine is the assembly: two named disciplines, a shared vocabulary that ends the “harness means four things” argument, a maintenance pattern, and a working tool.&lt;/p&gt;

&lt;p&gt;And the bet is built to last. If your reliability strategy depends on a specific model’s behavior, that strategy has an eight-month half-life. This one bets on the repo, not the model — so it doesn’t expire the next time a new model ships.&lt;/p&gt;

&lt;p&gt;It’s big: 62 chapters and a total of 866 pages. Not a weekend read. But it’s built to be used. The book is grounded in an engineering discipline: &lt;em&gt;no vibes&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;The curator doesn’t stop writing code — the curator stops writing code the agent can write. If that reframe lands for you, this is the long version.&lt;/p&gt;

&lt;p&gt;Read it on LeanPub: &lt;a href="https://leanpub.com/harness-engineering" rel="noopener noreferrer"&gt;Harness Engineering: Building Reliable Systems Around Non-Deterministic Agents&lt;/a&gt;&lt;/p&gt;

</description>
      <category>harnessengineering</category>
      <category>agenticai</category>
      <category>softwareengineering</category>
      <category>books</category>
    </item>
    <item>
      <title>The Governance Gap Is a Boundary Problem</title>
      <dc:creator>Ian Johnson</dc:creator>
      <pubDate>Wed, 08 Jul 2026 15:24:45 +0000</pubDate>
      <link>https://dev.to/tacoda/the-governance-gap-is-a-boundary-problem-gb</link>
      <guid>https://dev.to/tacoda/the-governance-gap-is-a-boundary-problem-gb</guid>
      <description>&lt;p&gt;One of my early factory prototypes had a clean audit trail. Every action an agent took, recorded. Who did it, what it touched, and when it ran. I was proud of it. Then I watched an agent remove a status enum from a database column. Not a value I wanted changed. It was a status that other records depended on. The audit trail caught it. Logged the delete, the actor, the timestamp. Caught it perfectly, and caught it after the status was already gone.&lt;/p&gt;

&lt;p&gt;That’s the moment the “governance gap” stopped being a phrase I’d read in other people’s posts and became something I’d built by accident. I had governance you could read. I didn’t have governance that could say no.&lt;/p&gt;

&lt;p&gt;This is what I learned about that gap by building a tool to close it. The tool is &lt;a href="https://www.tacoda.dev/open-refinery/" rel="noopener noreferrer"&gt;open-refinery&lt;/a&gt;, a control plane that governs how AI-driven work reaches repos, models, and tools. The lesson is simpler than the tool. The gap everyone’s naming isn’t a missing policy. The gap is that nothing makes an agent respect it. &lt;em&gt;And a policy nothing enforces is a suggestion.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The gap is between the policy and the work
&lt;/h3&gt;

&lt;p&gt;People use “governance gap” to name the space between the policy you wrote and the agent doing the work. You have a policy. The agent runs. The policy and the run never meet, so nothing makes the agent respect it.&lt;/p&gt;

&lt;p&gt;The common fix is to add something. A policy document, an approval step, or a content filter. Each of these is a thing you write down. &lt;em&gt;None&lt;/em&gt; of them is a thing that stops an action.&lt;/p&gt;

&lt;p&gt;Here’s the distinction that took me three prototypes to see. An audit log observes: it tells you what happened. Governance has to &lt;strong&gt;gate&lt;/strong&gt;. It must stop the thing &lt;em&gt;before&lt;/em&gt; it happens. My prototype with the clean audit trail was all observation. When the agent deleted that status, nothing stood between the intent and the delete. The log wrote the event down a moment too late to matter.&lt;/p&gt;

&lt;p&gt;Once you see governance as gating instead of recording, the question changes. It’s no longer “what policy should we write.” It’s “where does the policy get enforced before the action does.” That question has a location in it. Most governance talk doesn’t.&lt;/p&gt;

&lt;h3&gt;
  
  
  A gate has to live somewhere
&lt;/h3&gt;

&lt;p&gt;A gate is a control that runs before an action and can refuse it. To run before the action, it has to sit between the thing that wants to act and the thing being acted on. It needs a seam. In most agent setups, nobody drew the seam.&lt;/p&gt;

&lt;p&gt;So the first real decision in open-refinery was to split two things that usually run together.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The harness does the work&lt;/strong&gt;. It’s the agents, the prompts, the memory, the tools, the orchestration. It lives in your application. It decides what to try.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The platform governs how work reaches a target&lt;/strong&gt;  — the repos, the models, the tools the harness wants to touch. The platform does none of the work. open-refinery executes nothing. It sits on the seam and decides whether an action reaches its target.&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%2Fehqbt46ih04f3ghgpi7w.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%2Fehqbt46ih04f3ghgpi7w.png" width="800" height="276"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The harness never touches the target directly. Every action passes a gate that can say no, and the platform owns that gate.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Draw that line and the gate has a home. The harness asks to do something. The platform checks the policy. The action reaches the target, or it doesn’t. Skip the line and your policy floats free of the work. That was the prototype I started with: the policy lived in one place, the actions happened in another, and nothing connected them.&lt;/p&gt;

&lt;p&gt;None of enforce-before-execute is new. RBAC, IAM, and Kubernetes admission controllers are all examples. What’s new is who’s on the other side of the gate. A service either has permission or it doesn’t. An agent reads your policy in prose and decides how to apply it. The boundary is what lets you stop trusting that interpretation: the policy gets enforced on the seam, not left to the agent to honor.&lt;/p&gt;

&lt;p&gt;The boundary is the whole idea. Everything else here is a consequence of it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Make the loop boring on purpose
&lt;/h3&gt;

&lt;p&gt;I wanted the platform to run without a human watching. Lights-out. I also wanted every action fully auditable. Those two goals fight each other the moment the system makes a choice you can’t explain.&lt;/p&gt;

&lt;p&gt;You can’t audit “the model decided to.” You can audit a function that takes recorded inputs and returns a recorded output. So the core loops in open-refinery are plain code, not agent choices. The policy is encoded there, deterministically, where the agent can’t reinterpret it away. There are two loops: transition, which moves a work item from one stage to the next, and produce, which runs an action against a target. The agent fills in the inputs. The code decides what happens.&lt;/p&gt;

&lt;p&gt;This audits the mechanism, not the judgment. Which input the agent picks is still the agent’s call. Determinism doesn’t make the decision safe. It makes the decision inspectable, and it puts a gate between the decision and its effect.&lt;/p&gt;

&lt;p&gt;Every action runs the same sequence:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;authorize -&amp;gt; enforce policy -&amp;gt; execute -&amp;gt; record
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The order is important. Authorize before the run, or you can’t prevent it. Record after the run succeeds, or a crash mid-action loses the event.&lt;/p&gt;

&lt;p&gt;The check itself is small:&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="n"&gt;decision&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;enforce&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;role&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;action&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;resource&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;mode&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;strict&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;denied&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;raise&lt;/span&gt; &lt;span class="nc"&gt;PolicyDenied&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A policy names who may do what to which resource. In strict mode, nothing’s allowed unless a policy allows it. In audit mode, everything’s allowed unless a policy denies it. Strict mode &lt;em&gt;fails closed&lt;/em&gt;: if nothing explicitly allows an action, it’s denied. Audit mode &lt;em&gt;fails open&lt;/em&gt;: an unknown action runs. Which one you pick is the whole difference between a gate and a log. Audit mode is where you learn what your agents do. Strict mode is where you decide what they may do. That enum from the top of the post? A denied action under a strict policy on the status resource. One line, and it never happens.&lt;/p&gt;

&lt;h3&gt;
  
  
  Human oversight is a dial, not a switch
&lt;/h3&gt;

&lt;p&gt;One of the things I got wrong early was treating human-in-the-loop as on or off. Either a person approved every action, which didn’t scale, or nobody did, which was the prototype that deleted the status. Both are bad. The useful setting sits between them, and it should be a setting.&lt;/p&gt;

&lt;p&gt;open-refinery has five oversight levels, set per process. At L0, manual, every action needs a human to approve it. L1 and L2 loosen the grip: assisted, then supervised, where only the gated steps wait for a person. L3 is autonomous, no approval. L4 is dark, fully lights-out. You pick the level for a process based on how much you trust it — not for the whole system at once.&lt;/p&gt;

&lt;p&gt;What stays the same across all five is the machinery. The gates run the same way at every level, and the records share one schema. What changes is how many approval events the trail carries, and how many actions wait for a person before they execute. Because the loop is deterministic, moving the dial doesn’t change what gets checked or how it’s recorded; only who has to say yes, and how often.&lt;/p&gt;

&lt;p&gt;The boundary shows up again here. The dial sits on the platform, not in the harness. You can turn a process from supervised to dark without touching a line of agent code, because the approval step lives on the seam.&lt;/p&gt;

&lt;h3&gt;
  
  
  How to tell whether a policy is real
&lt;/h3&gt;

&lt;p&gt;Once the platform could gate actions, I needed to know which policies were actually doing anything. A policy you wrote and a policy an agent respects are not the same policy.&lt;/p&gt;

&lt;p&gt;open-refinery models this with claims. A governance claim is a statement about a repo: agents may not delete production data, all migrations get reviewed. Each claim can be backed two ways. An instruction states the intent. A gate enforces it. A claim is covered &lt;em&gt;only&lt;/em&gt; when it has both.&lt;/p&gt;

&lt;p&gt;That gives three states, and the middle one is the whole problem.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Instruction and gate:&lt;/strong&gt; covered. The policy is written, and something stops violations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Instruction, no gate:&lt;/strong&gt; partial. You wrote the policy. Nothing enforces it. This is the governance gap, made countable. It was the most common state I found. It’s the one that feels safe and isn’t.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Neither instruction nor gate:&lt;/strong&gt; an imitation surface. It reads as governed. It isn’t.&lt;/p&gt;

&lt;p&gt;open-refinery scores a repo on this. How many claims have a gate, and not just an instruction? I won’t pretend I have clean fleet-wide numbers to wave at you. What the model buys me is the ability to ask the question per repo instead of assuming the answer. Partial coverage isn’t a failure of intent. It’s a gap you can name, which means you can close it.&lt;/p&gt;

&lt;h3&gt;
  
  
  A record you can’t quietly rewrite
&lt;/h3&gt;

&lt;p&gt;Gating decides what happens. Provenance decides whether you can trust the record of what happened. These are different jobs, and I discovered that after ran them together at first.&lt;/p&gt;

&lt;p&gt;An audit log you can edit isn’t evidence. If someone can delete the record of the delete, the record is worth nothing. So the records in open-refinery are immutable, and each one chains to the one before it with a hash. Change a past event and every hash after it breaks. One function walks the chain and checks it:&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="nf"&gt;verify_chain&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;events&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# raises if any link's hash doesn't match
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This doesn’t stop someone from doing something bad. It stops them from hiding that they did. I want to be honest about which one this is: &lt;em&gt;tamper-evidence&lt;/em&gt;, not tamper-proofing. It only holds if two things are true: someone actually checks the chain, and its head is anchored somewhere the writer can’t reach. Put the log and the verifier on the same box an attacker owns, and they can rewrite an event and recompute every hash after it. A local chain raises the cost of quiet tampering. It doesn’t make it impossible.&lt;/p&gt;

&lt;p&gt;The gate isn’t one thing in one place, either. It shows up at three seams. The transition gate checks a work item moving from one stage to the next. The invoke gate checks an executor about to run a command. And there’s a call the harness makes before it acts at all:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="err"&gt;POST /authorize { role, action, resource, intent: "deploy to prod" }
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The harness asks before it deploys. It gets back an allow, or a PolicyDenied. The policy does nothing until it sits on one of these seams. A policy with no seam is the partial-coverage case from the last section, seen from the code side.&lt;/p&gt;

&lt;h3&gt;
  
  
  The policy itself needs governing
&lt;/h3&gt;

&lt;p&gt;This is the part the governance-gap conversation skips. If governance lives on the boundary, then changing the boundary is itself an action. So who governs that?&lt;/p&gt;

&lt;p&gt;In my early prototypes, the policy lived in a config file. Anyone who could edit the file could change it, and there was no record of who changed what, or why. I’d built a system that gated every agent action and left the policy itself wide open. That’s not a small hole. That’s the same gap, just moved up one level.&lt;/p&gt;

&lt;p&gt;In open-refinery, a policy change is a governed action like any other. It walks an approval chain. It lands in the same audit trail. Every version of a policy records its author, its timestamp, and what changed. Ask “who changed this policy, and when, and why,” and there’s an answer.&lt;/p&gt;

&lt;p&gt;A policy file anyone can edit with no record isn’t governance. It’s a suggestion with a version history, at best. Governance that can’t govern itself doesn’t hold. This is the second-order problem, and it’s where the boundary earns its keep: moving the seam is an action, so it passes a gate too.&lt;/p&gt;

&lt;h3&gt;
  
  
  Put one gate on one policy this week
&lt;/h3&gt;

&lt;p&gt;You don’t need a platform to start closing your own governance gap. You need to stop treating your audit log as a control.&lt;/p&gt;

&lt;p&gt;Pick one policy you’ve written for your agents. A real one: in a doc, a prompt, or a README. Find where it’s enforced. If the honest answer is “it isn’t,” you’ve found a partial-coverage surface on your own system. That’s the gap, and now you can see it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add one gate:&lt;/strong&gt; a check that runs before the action and can refuse it. Start with the action you’d least want an agent to take without you watching. For me that was a destructive database change. Pick yours.&lt;/p&gt;

&lt;p&gt;Make the policy change leave a trace. Even a commit with a reason in the message is a start on second-order governance. The goal is that “who changed this policy” always has an answer.&lt;/p&gt;

&lt;p&gt;Do those three things and you’ve moved from governance you can read to governance that can say no. That’s the whole gap, and it closes one gate at a time.&lt;/p&gt;

</description>
      <category>aigovernance</category>
      <category>agenticai</category>
      <category>governance</category>
      <category>darkfactories</category>
    </item>
    <item>
      <title>Charter and Harness: What Each One Is</title>
      <dc:creator>Ian Johnson</dc:creator>
      <pubDate>Tue, 30 Jun 2026 23:47:29 +0000</pubDate>
      <link>https://dev.to/tacoda/charter-and-harness-what-each-one-is-3l60</link>
      <guid>https://dev.to/tacoda/charter-and-harness-what-each-one-is-3l60</guid>
      <description>&lt;p&gt;It seems that every time I &lt;em&gt;think&lt;/em&gt; I know the shape of the harness, a new fact presents itself that I have to account for. I recently wrote a book &lt;a href="https://leanpub.com/harness-engineering" rel="noopener noreferrer"&gt;Harness Engineering&lt;/a&gt;. But new information has caused me to rethink my model a bit. I plan to leave the term &lt;em&gt;harness&lt;/em&gt; alone, and tighten up the definition. In addition, I add the term &lt;em&gt;charter&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;What follows is a chapter I’m working on for the book to bridge the gap in my model. I’m offering it completely free because I think it’s the best definition I’ve had so far. Your feedback is very welcome.&lt;/p&gt;

&lt;p&gt;Clone a repository that someone has tuned for agentic coding and open the .claude folder at its root. What you find is mostly prose. A CLAUDE.md that explains the project. Rule files with names like testing.md and migrations.md. A few skills, each a short markdown file describing a workflow. Maybe a settings.json wiring up a hook. Almost none of it is code that runs on its own. It is a stack of instructions, written for a reader who happens to be a model.&lt;/p&gt;

&lt;p&gt;Now start the agent: Claude Code, or whatever the team standardized on. It reads that folder, holds it in mind, and goes to work on your repo. The folder did nothing. The agent did. There, in a single clone, sit the two things this book is about: the material you author, and the engine that acts on it. This chapter names both and says what each is made of. The next chapter draws the line between them. Here the job is to fill the two boxes.&lt;/p&gt;

&lt;h3&gt;
  
  
  The charter: what you author
&lt;/h3&gt;

&lt;p&gt;The &lt;strong&gt;charter&lt;/strong&gt; is everything you author to specify how the agent should behave in your project. That .claude folder is most of it. The word is borrowed from its plainest sense: a charter is a founding document that says how a thing is to be governed. Your repo’s charter governs the agent that enters it. You write it, you review it in pull requests, you amend it when it turns out wrong, and it governs every agent that works the repo until you change it.&lt;/p&gt;

&lt;p&gt;A charter comes in four kinds of material, and naming them now saves arguments later.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Guides&lt;/strong&gt; instruct before the agent acts: the CLAUDE.md, the rule files, the slash commands, the prose half of a skill. A guide is a sentence the agent reads and weighs against the situation, like &lt;em&gt;prefer composition over inheritance, and justify a base class in the PR description&lt;/em&gt;. No graph expresses that. It is judgment, written down.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tool definitions&lt;/strong&gt; declare what the agent can reach for and how it is wired: the mcp.json entry, a tool’s schema, a skill’s script, or a plugin’s config. One artifact can span families: a skill’s prose is a guide, but its script a tool definition. The definition is yours and lives in the repo. The thing it points at, the installed server or the plugin binary, is external, and the next chapter sorts that seam.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sensors&lt;/strong&gt; tell the agent whether the work it just did is acceptable: the test files, the lint config, the type-checker settings. You authored them, so like a hook they are charter even though they run. A sensor reports; it does not refuse.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Gates&lt;/strong&gt; refuse: the pre-commit hook, the branch-protection rule, the blocking reviewer. A gate is a sensor wired to a stop.&lt;/p&gt;

&lt;p&gt;Guides, tool definitions, sensors, gates. If something in your charter is none of those four, it is probably not earning its place.&lt;/p&gt;

&lt;p&gt;Most of a charter is prose, and that is the point. A rule written as a sentence covers cases no control-flow graph would, because the agent weighs it instead of branching on it. Some of a charter is code you author, a hook or a gate, and that code is still charter: you wrote it to state a standard, so it is a specification the engine runs, never the engine itself. A charter is also a living thing. It is versioned in the repo, reviewed like any change, and amended as the project teaches you where it was wrong. The rule you write today because an agent ignored a convention is a line in a document you will keep editing for as long as the repo lives.&lt;/p&gt;

&lt;p&gt;Here is the whole of it, as a definition you can hold: the charter is your repo’s .claude folder, all of it (the rules, the hooks, the agents, the skills, the slash commands, the settings), plus the dependencies you declare: plugins, policy packs, shared skills, tools such as MCP servers. Those are two questions about a thing, not one. The families above sort by &lt;em&gt;role&lt;/em&gt;: is it a guide, a tool definition, a sensor, a gate? &lt;em&gt;Origin&lt;/em&gt; is the second question: did you write it by hand in the folder, or adopt it as a declared dependency? A declared dependency keeps its declaration in your repo, which is charter, while its installed body lives outside, which is not. Declaration in, source out. Either way the test does not change: you authored or adopted it to specify behavior.&lt;/p&gt;

&lt;p&gt;If you have been in this field a while, you may have called this folder “the harness.” It is the charter. The word slipped for an understandable reason, and the next chapter traces it; for now, hold the line that the folder you author is the charter, and the engine that reads it is the harness.&lt;/p&gt;

&lt;h3&gt;
  
  
  The harness: the engine that applies it
&lt;/h3&gt;

&lt;p&gt;The &lt;strong&gt;harness&lt;/strong&gt; is the engine that applies the charter against the model. The field has a shorthand worth borrowing: an agent is a model plus a harness. The model predicts text and nothing more. The harness is everything wrapped around it to turn prediction into work, and the charter is what the harness consults while it does. So the relationship runs in a line. You author a charter; the harness applies it to drive the model; the model produces a result, a diff or a document or an answer. Charter, harness, model, result. The charter is the input you control. The harness is the only stage that acts. The next chapter takes that line apart; here it is enough to see the shape.&lt;/p&gt;

&lt;p&gt;An engine that does this has jobs, and Part B of this book takes them one at a time. It assembles the context the model sees each turn, choosing what to load and what to drop, and invokes the tools your charter defined. The permissions you set decide which files it may touch and which commands it may run. The gates fire, the sensors report, and the loop turns with bounds and a kill switch until the work is done or the budget is spent. Every one of those is the engine at work, not a standard you wrote down. The standard is the charter; the doing is the harness.&lt;/p&gt;

&lt;p&gt;You get most of a harness rather than build it. Claude Code is one, Cursor is another, and a LangGraph orchestration your platform team stood up is a third. The vendor ships the engine, you point it at your repo, and it reads your charter on the way in. For most teams that is the entire relationship with the harness: choose one, configure it, move on. The teams that build their own, a custom orchestrator or a queue that runs agents across a fleet, are doing harness engineering proper, and Part B of this book is written for them. Part A is for everyone, because everyone writes a charter.&lt;/p&gt;

&lt;p&gt;A harness can even ship its own charter-like pieces: Claude Code’s built-in slash commands, a default skill, baked-in rules. Those are harness, because the vendor authored them, not you, and they do not sit in your .claude folder. Your charter can override them. Drop a fix-bug skill into your folder and the agent runs your bug workflow instead of the vendor’s default; write a rule that bends a built-in command to your process, and your version wins. The built-in is harness, your override is charter, and the agent meets the charter.&lt;/p&gt;

&lt;p&gt;One part of the charter couples to the harness more tightly than the rest: &lt;em&gt;workflow&lt;/em&gt;. A rule or a hook is a primitive the harness simply reads, but how work gets defined, prioritized, and completed is a process the harness has to register and run, not merely read. That is one reason a team builds its own harness, when the workflow it needs is one a stock harness cannot express. Part A’s chapter on contracts is where you define the workflow; Part B’s on orchestration is where the harness runs it.&lt;/p&gt;

&lt;p&gt;Two words, two boxes: the charter you author, the harness that applies it. They are not the same kind of thing, and it is a mistake to treat them as one. Where exactly the line falls, why a hook you wrote is charter even though it runs, why the orchestrator is harness even though you might own it, is the next chapter. For now, hold the two boxes apart and know which one takes most of your time. For most of this book, it is the charter.&lt;/p&gt;

&lt;h3&gt;
  
  
  What’s in each box
&lt;/h3&gt;

&lt;p&gt;Run this against your own repo.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your charter&lt;/strong&gt;  — everything you authored or adopted to specify behavior. Most of it is the whole .claude folder; the rest is declared dependencies. By role:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;guides: CLAUDE.md, rules, skills, slash commands (what instructs)&lt;/li&gt;
&lt;li&gt;tool and agent definitions: mcp.json, tool schemas, sub-agent and plugin config (what the agent reaches for)&lt;/li&gt;
&lt;li&gt;sensors: test files, lint and type-check config (what reports)&lt;/li&gt;
&lt;li&gt;gates: pre-commit hooks, branch protection, required reviews (what refuses)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By origin: written by hand in the folder, or a declared dependency (plugin, policy pack, shared skill, tool such as an MCP server) whose declaration is charter and whose installed body is external.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your harness&lt;/strong&gt;  — the engine you run, mostly not yours to write:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the coding agent (Claude Code, Cursor, Aider)&lt;/li&gt;
&lt;li&gt;any framework or orchestrator above it (LangGraph, a custom runner)&lt;/li&gt;
&lt;li&gt;the loop that runs work on repeat&lt;/li&gt;
&lt;li&gt;the runtime that fires your hooks, invokes your tools, and enforces your permissions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A thing on the first list, you maintain, and it is where your reliability comes from. A thing on the second, you mostly choose. Telling which list something belongs to is the whole skill the next chapter sharpens into a single test.&lt;/p&gt;

&lt;p&gt;The charter is the half of the work with your name on it. The rest of this book is about writing it well.&lt;/p&gt;

&lt;h4&gt;
  
  
  Additional Resources
&lt;/h4&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%2Fnficjpsgjfgjvdz2rooz.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%2Fnficjpsgjfgjvdz2rooz.png" width="569" height="628"&gt;&lt;/a&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%2Fj86ipzaittyvg8tr5j67.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%2Fj86ipzaittyvg8tr5j67.png" width="626" height="517"&gt;&lt;/a&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%2Fm4epobixnqb96v9xna5i.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%2Fm4epobixnqb96v9xna5i.png" width="799" height="448"&gt;&lt;/a&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%2F4pgztu7tr2ntu7p8ghzg.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%2F4pgztu7tr2ntu7p8ghzg.png" width="586" height="702"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>harnessengineering</category>
      <category>charterengineering</category>
      <category>agenticai</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Harness Engineering: Building Reliable Workflows Around Non-Deterministic Agents</title>
      <dc:creator>Ian Johnson</dc:creator>
      <pubDate>Fri, 26 Jun 2026 21:27:58 +0000</pubDate>
      <link>https://dev.to/tacoda/harness-engineering-building-reliable-workflows-around-non-deterministic-agents-4gh0</link>
      <guid>https://dev.to/tacoda/harness-engineering-building-reliable-workflows-around-non-deterministic-agents-4gh0</guid>
      <description>&lt;p&gt;Hello everyone. I just released a book about harness engineering. It’s on LeanPub. Pay what you want, starts at $10.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://leanpub.com/harness-engineering" rel="noopener noreferrer"&gt;https://leanpub.com/harness-engineering&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What does it cover?
&lt;/h3&gt;

&lt;p&gt;The discipline, the taxonomy, the behavioral system, the reliability layers, rules, guides, corpus, playbooks, rule cascades, architecture as communication, tools, skills, agents, plugins, MCP, evals, delivery orchestration, continuous delivery with agents, PR as checkpoints, policy libraries for team and org extension, patterns and anti-patterns, harness debt, post-mortem, harness curation, loop engineering. Everything I have learned over the past six months with hands-on experiments with a real production codebase.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why so cheap?
&lt;/h3&gt;

&lt;p&gt;We have a problem right now with junior and mid level engineers feeling the pressure of AI. I think we have an obligation to help them — and I think that means providing a path to senior. How could they get to senior if the agent does everything for them?&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We must give juniors the support they need to become seniors.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;One of the goals with this book is to support these folks in their growth by showing the big picture, and then anchoring it with cited works of software engineering canon. This book gives both and has an appendix specifically for juniors with how to operate and grow in the world of agentic coding.&lt;/p&gt;

&lt;p&gt;If you are concerned about losing your job or not being able to find a job doing software engineering because of LLMs, then this book is for you!&lt;/p&gt;

&lt;h3&gt;
  
  
  There’s more
&lt;/h3&gt;

&lt;p&gt;The book also covers scopes from single contributor to enterprise and provides actionable advice whether you read a particular part or the whole thing. It offers benefits to anyone looking to learn how to get better results out of their coding agents, regardless of experience, role, project, team, company, or organization.&lt;/p&gt;

&lt;p&gt;I hope it serves you well.&lt;/p&gt;

</description>
      <category>softwareengineering</category>
      <category>harnessengineering</category>
      <category>books</category>
      <category>agenticworkflow</category>
    </item>
    <item>
      <title>This just rearranged my view on harness engineering</title>
      <dc:creator>Ian Johnson</dc:creator>
      <pubDate>Thu, 25 Jun 2026 23:16:14 +0000</pubDate>
      <link>https://dev.to/tacoda/this-just-rearranged-my-view-on-harness-engineering-5ggh</link>
      <guid>https://dev.to/tacoda/this-just-rearranged-my-view-on-harness-engineering-5ggh</guid>
      <description>&lt;p&gt;I just read this article — I recommend you do as well.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/pulse/loop-engineering-just-software-we-have-name-mike-piccolo-yb73c/" rel="noopener noreferrer"&gt;Loop Engineering Is Just Software Engineering. We Have a Name for That.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’ve been doing a lot of work on harnesses, but I have been focusing at the project level. I’ve only recently started to delve into LangChain/LangGraph. I built my own daemon that implements this with a shell on my local machine. It works, but it could be better. I had always thought of these as two layers and they’ve become crystal clear to me now.&lt;/p&gt;

&lt;p&gt;When I read this, I immediately want to try it, but I do not have access to an API key yet. Also, I don’t really want to clobber my organization with API pricing. So I asked claude to build a prototype in Python given the description. I tested it, and it worked pretty well.&lt;/p&gt;

&lt;p&gt;But if you’re already at the API point (and you probably are if you are looping), here’s the tool: &lt;a href="https://iii.dev/" rel="noopener noreferrer"&gt;https://iii.dev/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  This idea is important
&lt;/h3&gt;

&lt;p&gt;The single most important takeaway from this article is that we’ve already solve the problems of loop engineering with distributed systems. Instead of getting stuck in loops or overpaying, you can take advantage of the queueing pattern — dead letter queues, circuit breakers, retries, and so on.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This idea is dynamite.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It had slipped past me because I was focused on the project level of the harness and loop engineering has been mainly focusing on creating loops with agents, not &lt;em&gt;how&lt;/em&gt; to do it. So diagrams and explanations tend to lead to synchronous or daemon sorts of solutions. In hindsight, it seems so obvious.&lt;/p&gt;

&lt;p&gt;It also removes the orchestrator problem: the fact that different subagents about bound to a main orchestrator thread replicates Brooks’ warning for organizations in the form of agents. But with the distributed system, there is no orchestrator — that’s been reduced to state. Brilliant!&lt;/p&gt;

&lt;h3&gt;
  
  
  Vocabulary
&lt;/h3&gt;

&lt;p&gt;It also shifts my vocabulary. I’m currently writing a book about harness engineering: &lt;a href="https://leanpub.com/harness-engineering" rel="noopener noreferrer"&gt;https://leanpub.com/harness-engineering&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I was focusing on the repository level, but now the delivery harness (as I was calling it) builds one level up. This will probably cause me to have to re-arrange my definitions, but here’s where my head is at.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layers of the Harness
&lt;/h3&gt;

&lt;p&gt;I visualize the harness like an onion. But the harness I’ve been talking about has been &lt;em&gt;code&lt;/em&gt;, and the delivery harness is a &lt;em&gt;service&lt;/em&gt;. That means that personal still sits at the center, wrapped by the project (or repo) harness, and then wrapped with team and org harnesses that implement policies just like software libraries, and then wrapped in the delivery or orchestration harness. I’ve used some tools like this recently, like Hivemind (&lt;a href="https://cohen-liel.github.io/hivemind/" rel="noopener noreferrer"&gt;https://cohen-liel.github.io/hivemind/&lt;/a&gt;). It’s great, and there are plenty of others to try, but this has changed my entire outlook on the type of architecture the delivery harness should use. I think he’s right — it’s a distributed system.&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%2Fifld59p282yd9gttkl7j.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%2Fifld59p282yd9gttkl7j.png" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Thank you Mike Piccolo!
&lt;/h3&gt;

</description>
      <category>agenticworkflow</category>
      <category>agenticai</category>
      <category>distributedsystems</category>
      <category>harnessengineering</category>
    </item>
  </channel>
</rss>
