<?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: Gaurav Narasimhan</title>
    <description>The latest articles on DEV Community by Gaurav Narasimhan (@gaurav_narasimhan).</description>
    <link>https://dev.to/gaurav_narasimhan</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%2F4285369%2F856e99e5-4297-4655-85d1-0399c689ccaa.jpeg</url>
      <title>DEV Community: Gaurav Narasimhan</title>
      <link>https://dev.to/gaurav_narasimhan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gaurav_narasimhan"/>
    <language>en</language>
    <item>
      <title>The Agent System Blueprint</title>
      <dc:creator>Gaurav Narasimhan</dc:creator>
      <pubDate>Sat, 05 Dec 2026 20:20:53 +0000</pubDate>
      <link>https://dev.to/gaurav_narasimhan/the-agent-system-blueprint-485a</link>
      <guid>https://dev.to/gaurav_narasimhan/the-agent-system-blueprint-485a</guid>
      <description>&lt;p&gt;&lt;em&gt;Six stages, two use cases, one package.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fframework.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fframework.svg" alt="The framework: one system on three planes. One Roof, the studio, designs, proves and packages it. Documents and rule changes arrive through APIs, uploads, mailboxes and webhooks. In One Roof's Build group, Intake (use cases, intent, channels, restrictions, customer controls, input safety) hands the request to a Factory crew (code, a small cross-encoder model, and a language model only for extraction and the warrant). Every step writes to the Agents performance record. Evals examines each part against golden sets with intervals; Train improves the weak part round by round and loops back to Evals. Ship packages the proven version and deploys it to Acme's own VM, with its control plane, runtime, models and record, and the customer's record flows back." width="1800" height="1420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The framework on one page: one system, three planes (studio, runtime, training), six stages, deployable on my VMs on hypothesys.ai or the customer's premises&lt;/p&gt;

&lt;h2&gt;
  
  
  The framework
&lt;/h2&gt;

&lt;p&gt;THE FRAMEWORK · ONE SYSTEM, THREE PLANES, SIX STAGES&lt;/p&gt;

&lt;p&gt;Where it came from, what each of the six stages is, where each one runs (the studio, the runtime and the training system), and the customer both use cases serve.&lt;/p&gt;

&lt;p&gt;Every company does two kinds of reading, all the time, and every company is regulated by someone: a government, a customer contract, an auditor, its own policies.&lt;/p&gt;

&lt;p&gt;The first is &lt;strong&gt;documents&lt;/strong&gt;. Vendors send contracts, security reports and invoices. Someone has to read each one, pull out the facts that matter (a liability cap, an audit period, a total), check them against the company's rules, and send the risky ones to the right person. It is high volume, repetitive, and a single wrong value can auto-renew a contract or approve a payment nobody should have made.&lt;/p&gt;

&lt;p&gt;The second is &lt;strong&gt;rule change&lt;/strong&gt;. Regulators, customers and standards bodies publish new versions of the rules a company lives by. Someone has to find what changed, decide whether it touches anything the company owns, work out what to do, and tell the right people, with reasons they can check. It is lower volume, much harder, and the important change is usually one small edit in a long document.&lt;/p&gt;

&lt;p&gt;I built a system that does both, and packaged it so a company can run it on its own servers. I show it for a fictitious utility, &lt;strong&gt;Acme Power &amp;amp; Light&lt;/strong&gt;, because a utility lives under more rules than most companies: if the framework works there, it works for a bank reading loan covenants, a hospital tracking payer policies, a manufacturer following supplier contracts and safety standards, or a software company answering security questionnaires.&lt;/p&gt;

&lt;p&gt;This post is about the &lt;strong&gt;framework&lt;/strong&gt; behind it: six stages, each one a capability in &lt;strong&gt;One Roof&lt;/strong&gt;, my development environment for agent work. The picture above is the whole framework on one page. The first part of the post explains it: where it came from, what each stage is, and where each stage runs. The next two parts follow each use case, documents first, through all six stages, with every detail of how Lab 5, Acme Lab, is built.&lt;/p&gt;

&lt;h3&gt;
  
  
  How the framework was conceived
&lt;/h3&gt;

&lt;p&gt;I did not start with a framework. I started with a question, built a lab to answer it, and let each lab's failure set the next question. Five labs later, the same six things had happened every single time:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Something arrived, and I had to decide &lt;strong&gt;what it was and whether I was allowed to act on it&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt; I had to decide &lt;strong&gt;who or what does each piece of the work&lt;/strong&gt;: plain code, a small model, or a language model.&lt;/li&gt;
&lt;li&gt; I needed to know &lt;strong&gt;how each piece actually performed&lt;/strong&gt; on real work, not on a leaderboard.&lt;/li&gt;
&lt;li&gt; I needed &lt;strong&gt;tests with known answers&lt;/strong&gt;, kept honest with intervals and with synthetic and real results apart.&lt;/li&gt;
&lt;li&gt; When a model was the weak part, I had to &lt;strong&gt;make it better&lt;/strong&gt;, and prove the improvement before trusting it.&lt;/li&gt;
&lt;li&gt; I had to &lt;strong&gt;deliver the proven version&lt;/strong&gt; somewhere else, and be able to take it back.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Those six became the stages. They are general: none of them is about energy or invoices. That is why the same framework delivers both use cases.&lt;/p&gt;

&lt;p&gt;I built this in labs, each one answering a question the previous one raised. All five share one engine, &lt;strong&gt;labs-core&lt;/strong&gt;: intake checks, citations that verify themselves, job states, a case record, a policy layer, an LLM layer, an API and a deploy chart. A lab is a plug-in on top.&lt;/p&gt;

&lt;blockquote&gt;
&lt;ol&gt;
&lt;li&gt; Lab 1 · &lt;strong&gt;Energy Lab 1 · obligations, impact and action&lt;/strong&gt; Diff two docket versions, recognise the kind of change, find the obligations it touches, cite the evidence, route a warrant to a reviewer. The question it raised: the differ can't tell a restyle from a rule change.&lt;/li&gt;
&lt;li&gt; Lab 2 · &lt;strong&gt;Energy Lab 2 · change to action, in four parts&lt;/strong&gt; A trained matcher, a deterministic guard and a fallback that tell material changes from cosmetic ones; a map of how rules from different regulators interact. False alarms on cosmetic edits: from 100% to 4.9%.&lt;/li&gt;
&lt;li&gt; Lab 3 · &lt;strong&gt;Document Lab · reading, extraction and citations&lt;/strong&gt; Contracts, SOC 2 reports and invoices into fields, every field proven by a citation, every risky field sent to the right reviewer. Invented values: 0.56% delivered.&lt;/li&gt;
&lt;li&gt; Lab 4 · &lt;strong&gt;One Roof Lab · sessions, status and orchestration&lt;/strong&gt; The development environment itself: many agents, many accounts, one place to direct, watch and measure them.&lt;/li&gt;
&lt;li&gt; Lab 5 · &lt;strong&gt;Acme Lab · a packaged agent framework&lt;/strong&gt; All of it, for one fictitious regulated customer: intake, crews, agents and their performance record, exams, training, a customer control plane, APIs, and a package Acme installs on its own VM.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;Each lab answered a question the previous one raised · &lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Lab&lt;/th&gt;
&lt;th&gt;What it proved&lt;/th&gt;
&lt;th&gt;The number that says so&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Energy Lab 1&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A docket change can become a routed, cited action for a specific company&lt;/td&gt;
&lt;td&gt;Citation tampering: 3 of 3 caught, 0 of 12 false alarms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Energy Lab 2&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A small trained model plus a deterministic guard tells material changes from cosmetic ones&lt;/td&gt;
&lt;td&gt;F1 0.47 → 0.885; false alarms 100% → 4.9%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Document Lab&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Every extracted value can be proven by a citation, and the unprovable ones stopped&lt;/td&gt;
&lt;td&gt;0.56% invented values delivered; 3 of 3 injection attacks held&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;One Roof Lab&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Many agents can be directed, watched and measured from one place&lt;/td&gt;
&lt;td&gt;The environment this whole system was built in&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Acme Lab&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The whole system packages as one product for one customer&lt;/td&gt;
&lt;td&gt;Installed and running on the customer's own machine&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  The six stages
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;#&lt;/th&gt;
&lt;th&gt;Stage&lt;/th&gt;
&lt;th&gt;The question&lt;/th&gt;
&lt;th&gt;Where it lives in One Roof&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Intake&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;What is this system for, what is this request asking, and is it allowed?&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Intake&lt;/strong&gt;, the first place in the Build group&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Factory&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Which crew does each job, and how?&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Factory&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Agents&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;What does the work (model, serving, harness, tools and context, instructions, permissions), and how well did it do?&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Agents&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Evals&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;How does each part score on a fixed test?&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Evals&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Train&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;How does the weak part get better?&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Train&lt;/strong&gt;, the last place in the Build group&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Ship&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;How does the proven version reach the customer?&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Ship&lt;/strong&gt;, which closes the Run group (Packages, then Deploys)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;One Roof's sidebar is organised the same way. &lt;strong&gt;Work&lt;/strong&gt; is the desk (Home, Inbox, Sessions, Projects). &lt;strong&gt;Build&lt;/strong&gt; is stages 1 to 5, in order: Intake, Factory, Agents, Evals, Train. &lt;strong&gt;Run&lt;/strong&gt; is where a built system operates and leaves: Loops, Trace, Resources and, last, Ship. Read top to bottom, the sidebar is the life of an agent system.&lt;/p&gt;

&lt;p&gt;Two loops run through it. &lt;strong&gt;Evals → Train → Evals&lt;/strong&gt; is the improvement loop: nothing a training round produces is trusted until it passes the exam again. &lt;strong&gt;Ship → Agents&lt;/strong&gt; is the feedback loop: what the system does at the customer flows back into the record, and from there into the next exams and the next round of training.&lt;/p&gt;

&lt;p&gt;Each stage is a capability in One Roof that any agent system can use. Here is what each one is, before the use cases show it at work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stage 1 · Intake: the contract with the customer.&lt;/strong&gt; Before any agent works, the system decides what a request is and whether it may act on it. Intake has six layers: the &lt;strong&gt;use-case menu&lt;/strong&gt; (what the system does and refuses), &lt;strong&gt;intent classification&lt;/strong&gt; (what this request is actually asking, often more than one thing), &lt;strong&gt;channels and APIs&lt;/strong&gt; (how requests arrive and in what shape), &lt;strong&gt;restrictions&lt;/strong&gt; (rules no request can override, in code), &lt;strong&gt;customer controls&lt;/strong&gt; (the customer's own switches, limits and audit trail) and &lt;strong&gt;input safety&lt;/strong&gt; (checks on every file before any model reads it). Opened in full under documents (the gate, the contract) and rule change (intent, restrictions, controls).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stage 2 · Factory: the crew that does the work.&lt;/strong&gt; A &lt;strong&gt;recipe&lt;/strong&gt; names the roles a job needs, who or what plays each (code, a small trained model, or a language model), the pattern they work in (pipeline, maker → checker, two answers → judge, loop until green, fan-out → merge), the finish line and the budget. The rule: every step is done by the cheapest thing that does it well, and exact things are done by code. Opened in full as the extraction crew (documents) and as the compare → interpret → decide crew (rule change).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stage 3 · Agents: what does the work.&lt;/strong&gt; An agent is a &lt;strong&gt;model&lt;/strong&gt;, how it is &lt;strong&gt;served&lt;/strong&gt;, the &lt;strong&gt;harness&lt;/strong&gt; around it, its &lt;strong&gt;tools and context&lt;/strong&gt;, its &lt;strong&gt;instructions and skills&lt;/strong&gt;, and an &lt;strong&gt;identity with permissions&lt;/strong&gt;: a Claude Sonnet model in a document-reading worker with a PDF reader and a citation checker; a 23 MB cross-encoder served on a CPU; Claude Haiku 4.5 writing a warrant through a model gateway; Claude Code or Codex building the system itself. This stage chooses and serves the models (closed, open-weight or local), defines each agent's harness, tools, context and permissions, and keeps the &lt;strong&gt;performance record&lt;/strong&gt;: every step of every case writes a work record (who did it, on what kind of task, with what result, how much a person had to step in, what it cost and how long it took), with reviewers' verdicts as labels. Opened as the document readers and their per-field record, and as the comparison crew's agents and their per-step record.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stage 4 · Evals: the exams.&lt;/strong&gt; Golden sets with known answers (documents with keys measured from the files, docket pairs built by construction, intents with the right decision, citations tampered with on purpose), scored with 95% intervals, with synthetic and real results always kept apart. Below the bar, nothing moves forward. Opened as the document exams and the docket exams.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stage 5 · Train: the improvement loop, and the system that runs it.&lt;/strong&gt; Training covers everything that changes a model's weights: classic machine-learning models (classifiers, cross-encoders, rerankers, embedding models), continued pre-training on a domain corpus, supervised fine-tuning (full or with LoRA adapters), preference learning, reinforcement learning (from human feedback and from rewards code can verify), distillation from a strong model into a small one, and quantisation for serving. It is the most expensive stage, so it runs on a separate training system with its own data pipeline, GPU and CPU compute, experiment tracking, model registry and compute budget. When the record and the exams point at a model, it is improved in rounds, and every round goes back to the exam before it can ship. Opened as the training system and the extraction and intent models (documents), and as the cross-encoder matcher, round by round (rule change).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stage 6 · Ship: package and deploy.&lt;/strong&gt; The proven system is frozen as a version (the engines, the customer's configuration, the models, the exams it must pass) and deployed through staging, hosted on my VMs on hypothesys.ai or on the customer's own premises, with a one-step rollback. Opened as what ships for documents and how a retrained matcher reaches the customer as a safe upgrade.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where each stage runs: the studio, the runtime and the training system
&lt;/h3&gt;

&lt;p&gt;The six stages describe the work. Underneath, the system runs on &lt;strong&gt;three separate planes&lt;/strong&gt;, and keeping them apart is what makes it safe to package and ship.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Plane&lt;/th&gt;
&lt;th&gt;What it is&lt;/th&gt;
&lt;th&gt;What runs there&lt;/th&gt;
&lt;th&gt;Where it lives for Lab 5&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The studio&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;One Roof, the development environment&lt;/td&gt;
&lt;td&gt;Designing intake (use cases, intents, restrictions, controls), writing recipes, reading the record, starting exams and training runs, building packages&lt;/td&gt;
&lt;td&gt;My Mac. It is never in the path of a live request&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The runtime&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The engine that serves live requests&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Intake and Factory run here, on every request&lt;/strong&gt;: the input gate, the intent classifier, restrictions and controls, then the crew. &lt;strong&gt;Agents run here and write the performance record&lt;/strong&gt;, one row per step, as the work happens. Also the job queue, the case store and the audit trail&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;labs-core&lt;/strong&gt;: Acme Lab plus the Energy Lab 1, Energy Lab 2 and Document Lab engines, on the hypothesys cluster and, for a customer, in containers on its own VM. Models served here: the 23 MB cross-encoder on a CPU, small open models, and language-model calls to an API or to an open model on the customer's hardware&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The training system&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Separate, offline compute for making models&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Train runs here&lt;/strong&gt;: fine-tuning, domain pre-training, learning from reviewers. It reads data exported from the runtime's record and from the corpora, never live traffic, and writes versioned models into a &lt;strong&gt;model registry&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;CPU or GPU jobs (the first cross-encoder round took 24 minutes on a CPU; domain pre-training needs GPUs), started and watched from One Roof's Train place, on Modal, Hugging Face or owned GPUs&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The stages map onto the planes like this:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Stage&lt;/th&gt;
&lt;th&gt;Designed in&lt;/th&gt;
&lt;th&gt;Runs in&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;1 · Intake&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;the studio&lt;/td&gt;
&lt;td&gt;the runtime, on every request&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;2 · Factory&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;the studio&lt;/td&gt;
&lt;td&gt;the runtime, on every request&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;3 · Agents&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;defined in the studio (model, harness, tools, permissions); the record is read there&lt;/td&gt;
&lt;td&gt;the runtime: agents run and serve their models there, and write the record as work happens&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;4 · Evals&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;started from the studio&lt;/td&gt;
&lt;td&gt;an exam harness: offline, against golden sets, before anything ships (in CI or as a job); the runtime's record adds an online check after shipping&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;5 · Train&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;started from the studio&lt;/td&gt;
&lt;td&gt;the training system, offline; results go to the model registry&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;6 · Ship&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;built from the studio&lt;/td&gt;
&lt;td&gt;the release pipeline (Woodpecker → Kargo → Argo CD on my cluster; the package and its install script at a customer), which takes a model from the registry plus recipes and configuration and deploys them into a runtime&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The planes form one loop. The &lt;strong&gt;runtime&lt;/strong&gt; does the work and writes the record. The record and the corpora are &lt;strong&gt;exported&lt;/strong&gt; to the training system. Training produces a &lt;strong&gt;candidate model&lt;/strong&gt; in the registry. The &lt;strong&gt;exam harness&lt;/strong&gt; tests it. If it passes, &lt;strong&gt;Ship&lt;/strong&gt; packages it and deploys it into the runtime, and the runtime's record watches it on real work, which starts the loop again.&lt;/p&gt;

&lt;p&gt;Two consequences shape Lab 5. First, the customer receives the &lt;strong&gt;runtime and its control plane&lt;/strong&gt;, not the studio: One Roof stays with whoever builds the system. Second, &lt;strong&gt;training can live wherever the data may go&lt;/strong&gt;: on my training system for the public corpora, or inside the customer's boundary when its documents and reviewers' verdicts cannot leave.&lt;/p&gt;

&lt;h3&gt;
  
  
  Framework capabilities
&lt;/h3&gt;

&lt;p&gt;The six stages say what happens. The capabilities say &lt;strong&gt;how&lt;/strong&gt;: the technical parts each stage is built from. They are the specification Acme Lab is built against, and the roadmap for what One Roof provides in each of its places.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fcapability-map.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fcapability-map.svg" alt="The capability map. Six columns, one per stage (Intake, Factory, Agents, Evals, Train, Ship), each also a place in One Roof. Six rows of layers (interfaces, logic, models, data, infrastructure, governance). Every capability is a tile marked with where it runs: the runtime, the training system, the exam harness, the studio or the release path. A band across the bottom lists what cuts across every stage: security, tenancy, audit, observability, cost accounting, versioning and data residency." width="1780" height="1160"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The capability map: six stages × six layers, every capability marked with where it runs&lt;/p&gt;

&lt;p&gt;How to read it: each &lt;strong&gt;column&lt;/strong&gt; is a stage and the One Roof place of the same name. Each &lt;strong&gt;row&lt;/strong&gt; is a layer: the interfaces people and systems use, the logic that decides, the models that read and reason, the data it keeps, the infrastructure it runs on, and the governance that keeps it safe. Each &lt;strong&gt;tile&lt;/strong&gt; is one capability, and its dot says which part of the system it runs in. The tables below define every capability and say how Acme Lab implements it.&lt;/p&gt;

&lt;h4&gt;
  
  
  Stage 1 · Intake: the contract
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Capability&lt;/th&gt;
&lt;th&gt;Runs in&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;th&gt;In Acme Lab&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;REST API&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Typed endpoints that accept requests with their attachments and return a case id and the intake decision.&lt;/td&gt;
&lt;td&gt;POST /intake, /intake/use-cases, /intake/intents&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Upload · mailbox · webhook&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;The other doors a request can come through, each normalised into the same request shape.&lt;/td&gt;
&lt;td&gt;upload and mailbox channels in the package manifest&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Intent classifier&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Maps a request to intents from a fixed list, several per message, with calibrated scores and a real 'none of these'.&lt;/td&gt;
&lt;td&gt;rules plus a small model; route above 0.85, restricted intents counted from 0.6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Use-case registry&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;The menu: each use case with its intents, channels, recipe and whether it is switched on.&lt;/td&gt;
&lt;td&gt;data/acme/use_cases.json, toggled from the control plane&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Routing&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Turns intent + restrictions + controls into route, person or refuse, with the reason.&lt;/td&gt;
&lt;td&gt;decision rules in the intake engine&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Small intent model&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;A small model that refines intent when the rules are unsure; can run next to the data.&lt;/td&gt;
&lt;td&gt;Qwen3-1.7B class, optional in real mode&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;OCR and layout&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Reads scans and page layout before anything else does, and scores the scan's quality.&lt;/td&gt;
&lt;td&gt;labs-core PDF reader and OCR quality score&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;PII detector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Finds personal data to mask and record before any model sees it.&lt;/td&gt;
&lt;td&gt;labs-core intake PII check&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Request schemas&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;The shape every channel's request must take, validated at the edge.&lt;/td&gt;
&lt;td&gt;intake request schema&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Audit log&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Every request, its intents, the decision and the reason, append-only.&lt;/td&gt;
&lt;td&gt;GET /audit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Tenancy and auth&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Which customer a request belongs to and who may send it.&lt;/td&gt;
&lt;td&gt;per-tenant registers and access codes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;File store&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Where arriving files live, with their hash, so duplicates are caught per customer.&lt;/td&gt;
&lt;td&gt;the lab's outputs volume&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Input safety gate&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Cheapest checks first: file type, size, integrity, encryption, active content, duplicates, scan quality, type, injection, hidden text, PII, page limit.&lt;/td&gt;
&lt;td&gt;labs-core intake gate (12 checks, cheapest first)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Restrictions as code&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Rules no request can override, outside every prompt.&lt;/td&gt;
&lt;td&gt;never move money, never change payment details&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Customer controls&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;The customer's switches and limits: use cases, approval limits, allowed models, budgets, stop switch.&lt;/td&gt;
&lt;td&gt;GET/PUT /control&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  Stage 2 · Factory: the crew
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Capability&lt;/th&gt;
&lt;th&gt;Runs in&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;th&gt;In Acme Lab&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Recipe definitions&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;studio&lt;/td&gt;
&lt;td&gt;A versioned file per recipe: use case, roles, who plays each, pattern, finish line, budget.&lt;/td&gt;
&lt;td&gt;docket-change-to-action, document-to-record&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Review queues&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Where people approve, correct, reject or escalate, per field or per change.&lt;/td&gt;
&lt;td&gt;POST /cases/{id}/decision&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Connectors&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Writes into the customer's systems of record: ERP, CRM, document stores.&lt;/td&gt;
&lt;td&gt;mock CRM/ERP behind an outbox&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Orchestration engine&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Runs a recipe as a state machine: steps, dependencies, retries, timeouts, job states.&lt;/td&gt;
&lt;td&gt;labs-core job states (queued … dead_letter)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Pattern library&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;studio&lt;/td&gt;
&lt;td&gt;Pipeline, maker → checker, two answers → judge, loop until green, fan-out → merge.&lt;/td&gt;
&lt;td&gt;five built-in patterns&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Validators and guards&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Deterministic checks that can only escalate: numbers, durations, duties, negations, business rules.&lt;/td&gt;
&lt;td&gt;the value/duty guard; validation rules&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Citation verifier&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Re-fetches every cited span, normalises it and compares fingerprints; drift blocks.&lt;/td&gt;
&lt;td&gt;labs-core provenance; the citation ladder&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Models per role&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Each role names its agent: code, a small trained model, or a language model.&lt;/td&gt;
&lt;td&gt;matcher = cross-encoder, writer = Haiku&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Retrieval&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Keyword (BM25), vector or hybrid search to shortlist candidates and evidence.&lt;/td&gt;
&lt;td&gt;BM25 shortlist, top 4 per provision&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Case store&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Every case, step, output and citation, queryable.&lt;/td&gt;
&lt;td&gt;SQLite in the lab; Postgres at scale&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Outbox and idempotency&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Every write to a customer system goes through an outbox with an idempotency key, so a retry never writes twice.&lt;/td&gt;
&lt;td&gt;idem_key = job:target&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Workers and queues&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Sync lane for small jobs, async lane with chunks for long ones.&lt;/td&gt;
&lt;td&gt;8-page chunks, 1 page overlap&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Circuit breakers&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Stop calling a failing provider, cool down, probe, redrive; errors are never swallowed.&lt;/td&gt;
&lt;td&gt;opens after 3 rate limits in 60 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Budgets per run&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Minutes, dollars, rounds and parallel parts, set per recipe.&lt;/td&gt;
&lt;td&gt;daily dollar cap; per-recipe budget&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Rollback&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Restores the pre-state of anything a case wrote, with an audit entry.&lt;/td&gt;
&lt;td&gt;rollback(job_id)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  Stage 3 · Agents: what does the work
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Capability&lt;/th&gt;
&lt;th&gt;Runs in&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;th&gt;In Acme Lab&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Agent definitions&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;studio&lt;/td&gt;
&lt;td&gt;Each agent written down: model, serving, harness, tools, context, instructions, permissions.&lt;/td&gt;
&lt;td&gt;readers, matcher, writer, judge, builders&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Model catalogue&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;studio&lt;/td&gt;
&lt;td&gt;Every model the system may use, with its kind, cost tier and where it may run.&lt;/td&gt;
&lt;td&gt;closed, open-weight, local, classic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Harnesses&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;The loop around a model: plan, call tools, recover, stop.&lt;/td&gt;
&lt;td&gt;document worker, labs-core reasoner, coding agents&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Tools and context&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;What an agent can call and see: readers, retrieval, registers, memory.&lt;/td&gt;
&lt;td&gt;PDF reader, citation checker, Acme register&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Routing by evidence&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Picks the agent for a role from the record, within the budget.&lt;/td&gt;
&lt;td&gt;best value for this kind of task&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Closed models&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Hosted frontier and fast models for reading, writing and judging.&lt;/td&gt;
&lt;td&gt;Claude Opus 5.5, Sonnet 5.5, Haiku 4.5; GPT via Codex&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Open-weight models&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Models that run on the customer's own hardware.&lt;/td&gt;
&lt;td&gt;Qwen3-VL, Qwen3-Coder, gpt-oss-120b&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Classic models&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Small trained models that do one job cheaply and exactly.&lt;/td&gt;
&lt;td&gt;the 23 MB cross-encoder&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Work records&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;One row per step: agent, model version, kind, result, human effort, cost, time.&lt;/td&gt;
&lt;td&gt;GET /record, /record/work&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Reviewer verdicts&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Accept, correct, reject: the labels public benchmarks lack.&lt;/td&gt;
&lt;td&gt;decisions written to the record&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Model gateway&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;One door to every hosted model: routing, fallback, keys, spend ceilings.&lt;/td&gt;
&lt;td&gt;LiteLLM-style gateway, bring-your-own-key&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Inference serving&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Open models on GPUs (vLLM, llama.cpp) and classic models on CPUs (ONNX).&lt;/td&gt;
&lt;td&gt;ONNX Runtime for the matcher&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Identity and permissions&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;What each agent may touch, enforced on the agent.&lt;/td&gt;
&lt;td&gt;readers write only to the case&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Cost and limits&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Tokens, dollars and subscription limits per agent and per run.&lt;/td&gt;
&lt;td&gt;dated price table; daily caps&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  Stage 4 · Evals: the exam
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Capability&lt;/th&gt;
&lt;th&gt;Runs in&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;th&gt;In Acme Lab&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Exam runner&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;exam harness&lt;/td&gt;
&lt;td&gt;Runs any golden set on demand or in CI, against any version.&lt;/td&gt;
&lt;td&gt;POST /evals/{set}/run&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Results with intervals&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;exam harness&lt;/td&gt;
&lt;td&gt;Every rate with a 95% interval and a sample size.&lt;/td&gt;
&lt;td&gt;Wilson intervals on every metric&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Metrics library&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;exam harness&lt;/td&gt;
&lt;td&gt;F1, precision, recall, calibration (ECE), silent errors, out-of-scope recall.&lt;/td&gt;
&lt;td&gt;document, docket and intent metrics&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Model as judge&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;exam harness&lt;/td&gt;
&lt;td&gt;A strong model grades what code can't, with its agreement with people measured.&lt;/td&gt;
&lt;td&gt;Claude Opus 5.5 judge on canary cases&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Regression gates&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;exam harness&lt;/td&gt;
&lt;td&gt;A version below the bar cannot be packaged or promoted.&lt;/td&gt;
&lt;td&gt;must-pass bars in the manifest&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Public benchmarks&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;exam harness&lt;/td&gt;
&lt;td&gt;Leaderboard tests, as a first filter for new models.&lt;/td&gt;
&lt;td&gt;used to decide what to try, not what to trust&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Golden sets&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;exam harness&lt;/td&gt;
&lt;td&gt;Versioned items with known answers, split so nothing leaks into training.&lt;/td&gt;
&lt;td&gt;Acme: 152 intents, 18 docket pairs, 51 documents&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Built by construction&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;exam harness&lt;/td&gt;
&lt;td&gt;Labels that follow from how an item was made: operators on provisions, keys measured from PDF bytes.&lt;/td&gt;
&lt;td&gt;33,307 pairs; seeded document generator&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Adversarial items&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;exam harness&lt;/td&gt;
&lt;td&gt;Attacks on purpose: encrypted, injected, duplicated, tampered, low-resolution.&lt;/td&gt;
&lt;td&gt;18% of the document set&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Shadow and A/B&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;A candidate runs beside the incumbent on real work, judged but never shipped.&lt;/td&gt;
&lt;td&gt;two answers → judge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Drift monitoring&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;Watches document, template and model drift in the live record.&lt;/td&gt;
&lt;td&gt;fallback share, correction rate by source&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Synthetic ≠ real&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;exam harness&lt;/td&gt;
&lt;td&gt;Synthetic and real results are always reported separately.&lt;/td&gt;
&lt;td&gt;F1 0.885 synthetic vs 0.85 real&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Calibration&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;exam harness&lt;/td&gt;
&lt;td&gt;Stated confidence must match how often the system is right.&lt;/td&gt;
&lt;td&gt;ECE 0.05 on real documents&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  Stage 5 · Train: the improvement
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Capability&lt;/th&gt;
&lt;th&gt;Runs in&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;th&gt;In Acme Lab&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Training jobs&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;studio&lt;/td&gt;
&lt;td&gt;Start, watch and compare runs from One Roof's Train place.&lt;/td&gt;
&lt;td&gt;jobs on hosted or owned compute&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Experiment comparison&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;studio&lt;/td&gt;
&lt;td&gt;Two runs side by side: data, settings, metrics, cost.&lt;/td&gt;
&lt;td&gt;experiment tracking&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Active learning&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;training system&lt;/td&gt;
&lt;td&gt;Chooses what to label next: disagreements, corrections, failing sources.&lt;/td&gt;
&lt;td&gt;guard-vs-model disagreements first&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Hard negatives, held-out types&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;training system&lt;/td&gt;
&lt;td&gt;Training data that teaches the difficult cases and tests generalisation honestly.&lt;/td&gt;
&lt;td&gt;same-docket negatives; 4 held-out operators&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Classic ML&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;training system&lt;/td&gt;
&lt;td&gt;Classifiers, cross-encoders, rerankers, embedding models.&lt;/td&gt;
&lt;td&gt;the 3-way cross-encoder, 24 min on a CPU&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Pre-training and fine-tuning&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;training system&lt;/td&gt;
&lt;td&gt;Continued domain pre-training; supervised fine-tuning, full or LoRA.&lt;/td&gt;
&lt;td&gt;regulatory-corpus pre-training, then fine-tuning&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Preference and RL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;training system&lt;/td&gt;
&lt;td&gt;Preference learning from reviewers; RL from human feedback and verifiable rewards.&lt;/td&gt;
&lt;td&gt;rewards: citation verifies, field matches&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Distil and quantise&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;training system&lt;/td&gt;
&lt;td&gt;A strong model's judgement into a small one; int8 / 4-bit export.&lt;/td&gt;
&lt;td&gt;int8 ONNX, 23 MB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Record export&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;training system&lt;/td&gt;
&lt;td&gt;Work records, verdicts and corrections out of the runtime, de-duplicated and scrubbed.&lt;/td&gt;
&lt;td&gt;export from the record&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Dataset versions&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;training system&lt;/td&gt;
&lt;td&gt;Every training and exam set versioned, so every model has a lineage.&lt;/td&gt;
&lt;td&gt;MANIFEST with seeds and splits&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;GPU and CPU compute&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;training system&lt;/td&gt;
&lt;td&gt;Jobs where the data may go: hosted GPUs, owned GPUs, or inside the customer.&lt;/td&gt;
&lt;td&gt;Modal, Hugging Face, owned&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Model registry&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;training system&lt;/td&gt;
&lt;td&gt;Versioned models with lineage and exam results; Ship takes only from here.&lt;/td&gt;
&lt;td&gt;matcher v1, v2…&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Compute budgets&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;training system&lt;/td&gt;
&lt;td&gt;A ceiling in GPU hours and dollars per run; cheapest fix first.&lt;/td&gt;
&lt;td&gt;data before fine-tuning before RL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Data boundary&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;training system&lt;/td&gt;
&lt;td&gt;Training happens inside the boundary the data belongs to.&lt;/td&gt;
&lt;td&gt;customer data never leaves&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  Stage 6 · Ship: package + deploy
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Capability&lt;/th&gt;
&lt;th&gt;Runs in&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;th&gt;In Acme Lab&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Package manifest&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;One file: engines, configuration, models, exams that must pass.&lt;/td&gt;
&lt;td&gt;acme-framework manifest&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Install script&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;Pre-flight, pull, start, smoke test, on any VM.&lt;/td&gt;
&lt;td&gt;install.sh in the bundle&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interfaces&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Control-plane console&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;runtime&lt;/td&gt;
&lt;td&gt;The customer's own console, shipped with the runtime.&lt;/td&gt;
&lt;td&gt;the control plane&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Promotion rules&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;A version moves staging → production only after staging verifies it.&lt;/td&gt;
&lt;td&gt;Kargo promotion&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Canary and shadow&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;A new version takes a slice of traffic or runs beside the old one first.&lt;/td&gt;
&lt;td&gt;shadow before cut-over&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Migrations&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;Store and schema changes that move forward and back safely.&lt;/td&gt;
&lt;td&gt;versioned schema&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Pinned models&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;Every model in a package is a pinned registry version.&lt;/td&gt;
&lt;td&gt;matcher and reader versions pinned&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Configuration and secrets&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;The customer's settings and keys, never baked into images.&lt;/td&gt;
&lt;td&gt;env files and cluster secrets&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Images and charts&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;Signed images, Helm charts or a compose bundle.&lt;/td&gt;
&lt;td&gt;labs-core base image and chart&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Hosted on hypothesys.ai&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;My VMs: one isolated tenant per customer; build, sign, stage, promote, operate.&lt;/td&gt;
&lt;td&gt;Woodpecker → Kargo → Argo CD&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;On the customer's premises&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;The same package on the customer's VM or cluster, online or fully offline.&lt;/td&gt;
&lt;td&gt;one install script&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Signing and SBOM&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;Every image signed, its contents listed.&lt;/td&gt;
&lt;td&gt;cosign-signed images&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;One-step rollback&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;The previous version is always one deploy away.&lt;/td&gt;
&lt;td&gt;previous freight / previous bundle&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Compliance and agreements&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;release path&lt;/td&gt;
&lt;td&gt;SOC 2 Type I, then Type II and ISO 27001 for the hosted service (H13); a data processing agreement naming every subprocessor.&lt;/td&gt;
&lt;td&gt;hosted service attestations&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  Across every stage
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Capability&lt;/th&gt;
&lt;th&gt;What it means here&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Security&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Least privilege for every agent and service, secrets outside images, signed artefacts, attacks tested on purpose&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Tenancy&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Every request, record, model and setting belongs to one customer; nothing crosses&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Audit trail&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Every intake decision, step, citation, decision and control change, append-only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Observability and traces&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Every case traceable step by step, with timings, costs and the agent and model version that ran&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cost accounting&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Tokens, GPU hours and dollars per step, per case, per customer, from dated price tables&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Versioning&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Recipes, prompts, models, datasets and packages all versioned, so any result can be reproduced&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Encryption and keys&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Encrypted in transit and at rest, with per-tenant keys; a customer can bring its own key&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Incident response&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;On-call, a status page, notification within contract and legal limits, written post-incident reviews&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Backups and recovery&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Per-tenant backups with point-in-time restore, tested by restoring; agreed recovery targets&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Compliance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SOC 2 Type I, then Type II and ISO 27001 for the hosted service, sector rules where the data requires them, a data processing agreement&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Data residency&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Data stays inside the boundary it belongs to: my cluster, in the region the customer chooses, or the customer's premises&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Two use cases, one framework
&lt;/h3&gt;

&lt;p&gt;Here is the whole post on one page: what each stage does for each use case. Every row is a part of the post.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Stage&lt;/th&gt;
&lt;th&gt;Documents (contracts, SOC 2 reports, invoices)&lt;/th&gt;
&lt;th&gt;Rule change (versions of a regulatory docket)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;1 · Intake&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;"Review this SOC 2": intent, the input gate, hidden instructions held, the customer's rules&lt;/td&gt;
&lt;td&gt;"What changes for us in GO 166?": intent, a second request in the same message that is not allowed, restrictions in code&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;2 · Factory&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Extract with a cheap model, prove every field with a citation, apply the rules, escalate per field, send to the right reviewer&lt;/td&gt;
&lt;td&gt;Fingerprint, shortlist, cross-encoder, guard, name the change, map it to obligations, verify citations, write the warrant&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;3 · Agents&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The readers (a fast model, a strong model, an on-site document model) in a document worker, and a record per field&lt;/td&gt;
&lt;td&gt;The crew's agents (a served cross-encoder, a warrant writer, an independent judge) and a record per step; reviewers' verdicts as labels&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;4 · Evals&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Invented values with intervals, calibration, intake accuracy, adversarial documents&lt;/td&gt;
&lt;td&gt;The four-arm test, held-out change types, synthetic vs real, tampered citations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;5 · Train&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Extraction and intent models: cheap model, then per-field escalation, then a document model fine-tuned on the customer's own fields&lt;/td&gt;
&lt;td&gt;The matcher, round by round: base model, fine-tuning, guard, real data, domain pre-training, learning from reviewers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;6 · Ship&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Package, the customer's control plane, APIs, install on the customer's VM&lt;/td&gt;
&lt;td&gt;The same, plus how a retrained matcher reaches the customer as a new version&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Meet Acme Power &amp;amp; Light
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Acme Power &amp;amp; Light&lt;/strong&gt; is fictitious: a mid-size investor-owned electric utility with a growing fleet of solar and battery storage. It answers to the California Public Utilities Commission, the Federal Energy Regulatory Commission, the state grid operator CAISO, the reliability body NERC and the Air Resources Board. Its register lists obligations (each tied to the section of the rule it comes from, a category and an owner), projects, internal documents and the reviewers who sign off: General Counsel for regulatory matters, the VP of Rates, the VP of Asset Management, the Director of Compliance, the CISO's office, procurement and accounts payable.&lt;/p&gt;

&lt;p&gt;Acme is built from the patterns of the two companies my energy labs modelled: an independent power producer and developer with a battery fleet, and a large investor-owned utility. Its dockets and documents are real ones from my labs' corpora: regulations from the Federal Register, eCFR, NERC, California bills, CPUC general orders, CAISO, CARB and utility tariffs, and the contracts, SOC 2 reports and invoices Document Lab reads.&lt;/p&gt;

&lt;p&gt;Acme has two kinds of work it wants agents to help with:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Documents.&lt;/strong&gt; Vendor contracts, SOC 2 reports and invoices arrive. What do they say, is every value provably right, and who must look at what?&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Regulatory change.&lt;/strong&gt; A new version of a rule arrives. What changed, what does it mean for Acme, who must act, and why?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Documents are the easier of the two and the more familiar, so they come first.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use case: Documents
&lt;/h2&gt;

&lt;p&gt;USE CASE 1 OF 2 · DOCUMENTS&lt;/p&gt;

&lt;p&gt;Contracts, SOC 2 reports and invoices: read every one, prove every value, apply the customer's rules, and send only what needs a person to the right person. The easier of the two use cases, and the more familiar, so it comes first.&lt;/p&gt;

&lt;h3&gt;
  
  
  One document, end to end
&lt;/h3&gt;

&lt;p&gt;Acme's procurement team uploads a vendor's security report before renewing its contract, with one line: &lt;em&gt;"Can we keep using Willowmere? Their SOC 2 is attached."&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;ONE SOC 2 REPORT, FROM UPLOAD TO A DECISION&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; 14:00 · &lt;strong&gt;It arrives, and the intent is clear.&lt;/strong&gt; The classifier reads the request: review a SOC 2 report (0.94). The use case is on Acme's menu and switched on. Nothing restricted.&lt;/li&gt;
&lt;li&gt; 14:00 · &lt;strong&gt;Checked before anyone reads it.&lt;/strong&gt; A real PDF, not locked, not broken, no scripts, not a duplicate, a text layer, no hidden instructions, twelve pages. Personal data noted and masked. Answer: accept.&lt;/li&gt;
&lt;li&gt; 14:00 · &lt;strong&gt;A cheap model reads it into fields.&lt;/strong&gt; Vendor, auditor, report type, audit period, opinion, exceptions, bridge letter. Every field comes back with the page, the box on the page and the exact words.&lt;/li&gt;
&lt;li&gt; 14:01 · &lt;strong&gt;Every citation is checked by code.&lt;/strong&gt; Each quote is found in the PDF, exactly or normalised. A field without a provable citation is not delivered; it goes to a stronger model or to a person.&lt;/li&gt;
&lt;li&gt; 14:01 · &lt;strong&gt;Acme's rules run.&lt;/strong&gt; Type II: yes. Opinion: unqualified. One exception noted: for 2 of 25 terminated users, access was not revoked within a business day. And the audit period ended more than 12 months ago.&lt;/li&gt;
&lt;li&gt; 14:01 · &lt;strong&gt;To the security team, with the reason.&lt;/strong&gt; The report is stale. The case goes to the CISO's office with one line: ask Willowmere for a bridge letter or a new report, and look at exception CC6.2.&lt;/li&gt;
&lt;li&gt; 16:20 · &lt;strong&gt;A person decides.&lt;/strong&gt; The CISO's office requests a bridge letter and holds the renewal until it arrives. The system never approves a vendor on its own.&lt;/li&gt;
&lt;li&gt; 16:20 · &lt;strong&gt;Everything is kept.&lt;/strong&gt; Every field, citation, rule, decision and its reason go into the case record and the performance record.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Each step belongs to a stage: the first two are Intake, the next four are Factory, and the record at the end is written by the agents (stage 3). The sections below take the stages one at a time.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 1 · Intake: is it safe, and what is it asking?
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;For documents, files are the attack surface: nothing reaches a model that shouldn't.&lt;/p&gt;

&lt;h4&gt;
  
  
  The intake contract
&lt;/h4&gt;

&lt;p&gt;Intake is not an inbox. An inbox is where messages wait for a person. &lt;strong&gt;Intake is the contract between a customer and its agents&lt;/strong&gt;, and it has six layers (table below); a request meets them in five steps:&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fintake-path.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fintake-path.svg" alt="A request's path through intake: an illustration. The steps are described below it." width="1380" height="680"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A request's path through intake&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;How requests arrive.&lt;/strong&gt; A structured API call from the customer's document system needs little interpretation. A free-text email needs a lot. Each channel has a shape, and each is something the customer switches on. Structured channels first: an API call carries its own fields. Free text is the hardest case, and the one intent classification is for.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Is it safe to read?&lt;/strong&gt; Before any model reads a file: is it what it claims, readable, unlocked, not a duplicate, free of scripts and of hidden instructions? Accept, send to review, or reject. A reject always carries a reason the customer can act on.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;What does it intend?&lt;/strong&gt; A small, cheap classifier maps the request to intents from a fixed list, with a confidence, and spots when one message holds two requests. Several intents per message, each with its own score. 'None of these' is a real answer, routed to a person.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Is it allowed?&lt;/strong&gt; Restrictions are rules no request can override. Customer controls are the switches the customer sets. Both live in code, not in a prompt. Restrictions: never move money, never change payment details. Controls only tighten: a customer can raise a floor, never lower one.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Where does it go?&lt;/strong&gt; This intent, allowed for this customer, through this channel, goes to this recipe, or to a person, or gets a specific, polite no. Every decision is written to the audit trail. Route, person or refuse, always with the reason.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;The question&lt;/th&gt;
&lt;th&gt;At Acme&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Use cases&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;What jobs does the system do, and which does it refuse?&lt;/td&gt;
&lt;td&gt;Assess a regulatory change; answer an obligation question; track a filing deadline; review a contract; review a SOC 2 report; process an invoice. Never: approve a payment; change vendor bank details&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Intent&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;What is this request actually asking for?&lt;/td&gt;
&lt;td&gt;"What changes for us in the new GO 166?" vs "When is our next filing due?" vs "Pay this today"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Channels and APIs&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;How can requests arrive, and in what shape?&lt;/td&gt;
&lt;td&gt;A REST API, an upload page, an intake mailbox, a webhook from the document system&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Restrictions&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;What must it never do, whatever the request says?&lt;/td&gt;
&lt;td&gt;Never approve or send money; never change payment details; nothing sensitive to a hosted model; every case ends with a person&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Customer controls&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;What can the customer switch, limit and see?&lt;/td&gt;
&lt;td&gt;Use cases on and off, approval limits, allowed models per kind of data, budgets, the audit trail, one stop switch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Input safety&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Is the thing that arrived safe and readable?&lt;/td&gt;
&lt;td&gt;File type, size, integrity, encryption, active content, page limits, duplicates, text or scan, document type, injection, hidden text, personal data&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two layers sit after intent, and both are code, never a prompt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Restrictions&lt;/strong&gt; are the rules no request can override. At Acme: never approve or send money; never change a vendor's payment details; never send sensitive data to a hosted model; every case ends with a person. A message that combines an allowed request with a restricted one is split: the allowed part continues, the restricted part goes to a person, with the reason.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customer controls&lt;/strong&gt; are the customer's own &lt;strong&gt;control plane&lt;/strong&gt;: a console on the customer's side where it switches use cases on and off, sets approval limits and approvers, chooses which models may see which kind of data, sets budgets, reads every request with its intent, decision and reason, and stops everything with one switch. Controls can only tighten the defaults. A customer can raise a confidence floor from 0.90 to 0.95; nothing it sets can lower one below the framework's own.&lt;/p&gt;

&lt;h4&gt;
  
  
  This use case: a SOC 2 report
&lt;/h4&gt;

&lt;p&gt;When procurement uploads Willowmere's security report, two things happen before any model reads a word.&lt;/p&gt;

&lt;p&gt;First, &lt;strong&gt;intent&lt;/strong&gt;. "Can we keep using Willowmere? Their SOC 2 is attached." is a request to review a SOC 2 report (0.94). The classifier also checks what the message is &lt;em&gt;not&lt;/em&gt;: it is not a request to approve the vendor, which Acme's menu reserves for a person, and it is not a payment. The use case is on the menu and switched on, so the request is allowed to continue.&lt;/p&gt;

&lt;p&gt;Second, &lt;strong&gt;input safety&lt;/strong&gt;. Every file passes the same gate, cheapest checks first, and stops at the first reject.&lt;/p&gt;

&lt;p&gt;In Document Lab the gate decided correctly on 119 of 122 documents, and held all three prompt-injection attacks, including one written in 4-point white text.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The input gate, cheapest check first (illustrative relative costs)&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Relative cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;File type&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Size&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Integrity&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Encryption&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Active content&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Page limit&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Duplicate&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Text or scan&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Doc type&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Injection&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hidden text&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Personal data&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; BYTES · &lt;strong&gt;The instant checks&lt;/strong&gt; Is a '.pdf' really a PDF? Is it locked, broken, empty, too big, too long? These cost nothing. A locked file is rejected with 're-send it unlocked', and the system never tries to crack it.&lt;/li&gt;
&lt;li&gt; CONTENT · &lt;strong&gt;The file's behaviour&lt;/strong&gt; Scripts or launch actions, the same file sent twice, a scan instead of text (and how good the scan is), and the wrong kind of document.&lt;/li&gt;
&lt;li&gt; MEANING · &lt;strong&gt;The meaning checks&lt;/strong&gt; Instructions aimed at the AI ('ignore previous instructions', 'set total to 0', 'approve'), text hidden in white or tiny type, and personal data to mask. These run last because they cost the most.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;relative cost of each check (1 = instant) · a reject at any step stops the rest · &lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Three things make this gate more than a virus scan:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Every reject carries a reason the sender can act on.&lt;/strong&gt; "This file is password-protected; please send an unlocked copy." Never a bare error, and the system never tries to crack a locked file.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Hidden instructions are found before a model reads them.&lt;/strong&gt; White-on-white text, 4-point text, "ignore previous instructions", "set total to 0", "approve": the scan knows the shapes of these attacks. A document carrying them goes to review, and if it is processed at all, its text is fenced off as untrusted data.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The gate is tested like everything else.&lt;/strong&gt; Every document in the test set has the intake decision it should get, so the gate has its own score: 119 of 122 correct.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Stage 2 · Factory: the extraction crew
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;A maker → checker crew: a cheap model reads, code proves, a strong model only for the fields that couldn't be proven.&lt;/p&gt;

&lt;h4&gt;
  
  
  Recipes, roles and patterns
&lt;/h4&gt;

&lt;p&gt;The shape of both jobs is now clear: read, extract, prove, check rules; compare, name, interpret, map, prove, route. No single agent should do all of that, and not every role should be played by a language model at all. A &lt;strong&gt;recipe&lt;/strong&gt; says which roles a job needs, who plays each, the pattern they work in, the finish line and the budget.&lt;/p&gt;

&lt;p&gt;The same patterns that structure software work structure regulated work:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fcrew-patterns.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fcrew-patterns.svg" alt="Five ways a crew can work: an illustration. The steps are described below it." width="1380" height="900"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Five ways a crew can work&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Pipeline.&lt;/strong&gt; The docket recipe: read, match, map, warrant, each role the cheapest thing that can do it well. Code for identity, a small model for meaning, a language model for sentences.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Maker → checker.&lt;/strong&gt; The document recipe: a cheap model extracts, code checks every citation and rule, and only failing fields go back, to a stronger model. The checker can never be the maker's agent and model.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Two answers → judge.&lt;/strong&gt; For contested interpretations: two independent readings and a judge that is told not to trust the pipeline's own confidence. Also the safe way to try a new model next to the current one.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Loop until the check passes.&lt;/strong&gt; Extract, verify the citation rung, extract again with the failure in hand, until the rung is met or the budget runs out. Each round carries the last failure. A budget stops it: minutes, dollars, rounds.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Fan-out → merge.&lt;/strong&gt; A 100-page report split into 8-page chunks with one page of overlap, read in parallel, merged and checked as a whole. At most three parts in parallel. The merge is checked as a whole, not just the parts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every role in every run is recorded, which is what makes the next stage possible.&lt;/p&gt;

&lt;h4&gt;
  
  
  This use case: the extraction recipe
&lt;/h4&gt;

&lt;p&gt;Document Lab was built from a real engineering brief: ten thousand documents a day, peaks of fifty a minute, under thirty seconds for a short document, fewer than one key field in a hundred invented, and a person reviewing anything below 85% confidence.&lt;/p&gt;

&lt;h4&gt;
  
  
  A field you can prove
&lt;/h4&gt;

&lt;p&gt;Document Lab's founding rule is that every extracted value must be &lt;strong&gt;proven by a citation&lt;/strong&gt;: the page, the box on the page, and the exact words it came from. That turns "hallucination" into something you can count: a value with no citation behind it.&lt;/p&gt;

&lt;p&gt;Citations are checked on a ladder, strongest first: an &lt;strong&gt;exact&lt;/strong&gt; quote, a &lt;strong&gt;normalised&lt;/strong&gt; match, the &lt;strong&gt;value found in the span&lt;/strong&gt;, or the span &lt;strong&gt;entails&lt;/strong&gt; the value. Identifiers, like a purchase-order number, must be exact. A field's confidence blends the model's confidence, the citation's rung and the validation rules, and it is capped hard when the citation is weak or a rule fails.&lt;/p&gt;

&lt;p&gt;Here is a real case from the corpus. A SOC 2 report for a software vendor, Willowmere Software Corp., audited by Marrowgate Assurance LLP:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;th&gt;Proven by&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Report type&lt;/td&gt;
&lt;td&gt;Type II&lt;/td&gt;
&lt;td&gt;page 1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Audit period end&lt;/td&gt;
&lt;td&gt;21 June 2025&lt;/td&gt;
&lt;td&gt;page 1, quote "June 21, 2025"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Opinion&lt;/td&gt;
&lt;td&gt;Unqualified&lt;/td&gt;
&lt;td&gt;page 4, "In our opinion, in all material respects"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Exceptions&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;page 11, "Total exceptions noted: 1"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The exception&lt;/td&gt;
&lt;td&gt;CC6.2: for 2 of 25 terminated users sampled, access was not revoked within one business day&lt;/td&gt;
&lt;td&gt;page 11&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Decision&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Review, security queue&lt;/strong&gt;: the report is more than 12 months old; ask for a bridge letter or a new report&lt;/td&gt;
&lt;td&gt;the rule &lt;code&gt;period_end_within_12_months&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Every row can be checked by opening the PDF at the cited page. That is what lets a security reviewer trust the 90% of the work they didn't have to do.&lt;/p&gt;

&lt;h4&gt;
  
  
  Cheap first, strong only where needed
&lt;/h4&gt;

&lt;p&gt;Extraction runs on a fast, cheap model first, at temperature zero. Only fields whose citation fails, or which the cheap model declined to answer, go to a stronger model. Fields that fail a business rule don't: a stronger model can't fix a stale report. Escalation is &lt;strong&gt;per field, not per document&lt;/strong&gt;, and a daily dollar cap stops paid calls entirely when it is reached.&lt;/p&gt;

&lt;p&gt;Look at the first tile in the Document Lab results: the interval is reported, not just the rate. With 70 documents, 0.56% could really be as high as 2%. To prove a rate under 1% you need about 300 key fields with no errors. The lab says so on its own page.&lt;/p&gt;

&lt;h4&gt;
  
  
  The same document, two customers
&lt;/h4&gt;

&lt;p&gt;Customer rules can only &lt;strong&gt;tighten&lt;/strong&gt; the defaults, never loosen them, and the same document lands differently for different customers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  A &lt;strong&gt;Type I&lt;/strong&gt; SOC 2 report with a clean opinion passes one customer's rules and fails another's, which requires Type II for vendor approval.&lt;/li&gt;
&lt;li&gt;  A contract whose renewal notice deadline is 60 days away creates a procurement task for one customer and nothing for the other.&lt;/li&gt;
&lt;li&gt;  A re-posted invoice number is rejected outright by a customer with a duplicate-payment rule.&lt;/li&gt;
&lt;li&gt;  A notice period extracted at 0.93 confidence is committed for one customer (floor 0.90) and sent for review by another (floor 0.95, because "a wrong notice period auto-renews contracts").&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Acme's rules sit in its control plane, and they are part of the package.&lt;/p&gt;

&lt;h4&gt;
  
  
  What production taught me
&lt;/h4&gt;

&lt;p&gt;Document Lab includes two cases built to show what goes wrong when an agent system meets production.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A naive worker versus a hardened one.&lt;/strong&gt; I took the kind of 20-line extraction worker that shows up in real pull requests (a general model, temperature 0.7, raw JSON parsing) and ran it against a hardened worker on 17 scenarios. The naive one failed on 18 findings, 6 of them critical. In one, an invoice with a hidden instruction caused the naive worker to save the total as 0.00withstatus"approved".Thehardenedworkersentittoreviewwiththetruetotal,0.00 with status "approved". The hardened worker sent it to review with the true total, 0.00withstatus"approved".Thehardenedworkersentittoreviewwiththetruetotal,7,420.00, cited. At temperature 0.7 the naive worker gave three different totals in five runs of the same invoice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A rate-limit storm.&lt;/strong&gt; A hundred contracts over an hour; for ten minutes, the model provider returns "too many requests". The naive worker swallowed the errors and its dashboard stayed green.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;A rate-limit storm: naive vs hardened&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;15&lt;/strong&gt; Silent failures (naive)&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;0&lt;/strong&gt; Silent failures (hardened)&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;2&lt;/strong&gt; Minutes to detect (hardened)&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;4&lt;/strong&gt; Hours of manual re-keying (naive)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Two lessons from those cases are now principles of the framework: &lt;strong&gt;errors are never swallowed&lt;/strong&gt; (every exit is a visible job state, and the customer sees the same truth the engineers see), and &lt;strong&gt;the write is the point of no return&lt;/strong&gt; (every write to a customer system goes through an outbox, with an idempotency key so a retry never writes twice, and a rollback that restores the previous state with an audit entry).&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 3 · Agents: the readers, and a record per field
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;Choose and serve the models that read documents, give each a harness, tools, context and permissions, and record every field each one decides.&lt;/p&gt;

&lt;h4&gt;
  
  
  What an agent is
&lt;/h4&gt;

&lt;p&gt;The work in every recipe is done by agents, and an agent is more than a model. It has six parts, and the framework defines each one explicitly:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Part&lt;/th&gt;
&lt;th&gt;What it is&lt;/th&gt;
&lt;th&gt;Why it is defined, not assumed&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Model&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The weights that do the reading or reasoning: a closed model (Claude, GPT), an open-weight model (Qwen, gpt-oss), a small local model, or a trained classic model such as a cross-encoder&lt;/td&gt;
&lt;td&gt;Cost, accuracy, latency and where the data may go all depend on it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Serving&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;How the model is reached: a hosted API, a model gateway with routing and fallback, an inference server (vLLM, llama.cpp) on a GPU, or ONNX on a CPU&lt;/td&gt;
&lt;td&gt;The same model costs and behaves differently served differently, and a customer may require it on its own hardware&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Harness&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The loop around the model: how it plans, calls tools, handles errors and stops. A coding agent (Claude Code, Codex, OpenCode), a document-reading worker, or the labs-core reasoner&lt;/td&gt;
&lt;td&gt;Most failures in production are harness failures: swallowed errors, retries that write twice, runaway loops&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Tools and context&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;What it can call and what it can see: a PDF reader, the citation checker, retrieval over a corpus, the customer's register, memory of earlier steps&lt;/td&gt;
&lt;td&gt;An agent is only as good as the context it is given, and only as safe as the tools it may call&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Instructions and skills&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Its prompts, recipes and skills, versioned&lt;/td&gt;
&lt;td&gt;A changed prompt is a new agent; the record must know which one ran&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Identity and permissions&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Who it acts as, which folders, systems and data it may touch, with what limits&lt;/td&gt;
&lt;td&gt;Restrictions are enforced on the agent, not requested of it&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The &lt;strong&gt;performance record&lt;/strong&gt; is how each agent, defined this way, is measured on real work.&lt;/p&gt;

&lt;h4&gt;
  
  
  The performance record
&lt;/h4&gt;

&lt;p&gt;A public benchmark tells you how a model does on a test. It doesn't tell you how an agent does on &lt;strong&gt;your&lt;/strong&gt; work: your dockets, your documents, your rules. The Agents stage keeps a &lt;strong&gt;performance record&lt;/strong&gt; of how each agent does: every piece of real work, by every agent, model and code path, on every kind of task.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fwork-record.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fwork-record.svg" alt="One work record and its six questions: an illustration. The steps are described below it." width="1380" height="860"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One work record and its six questions&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Did it finish?&lt;/strong&gt; Or did it stall, fail, hit its budget, or get stopped by the rate limiter? Stalled, failed and out-of-budget are all recorded. Unfinished work is counted, never hidden.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Did the reviewer agree?&lt;/strong&gt; Accepted as-is, corrected, or rejected. The reviewer's verdict is the ground truth that public benchmarks never have.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Did it hold?&lt;/strong&gt; Still right 14 days on: not corrected later, not reversed, no follow-up case on the same obligation. The strongest signal there is.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Effort, cost and speed.&lt;/strong&gt; How often a person had to step in, what it cost in dollars and compute, and how long until a decision. Shown beside results, never ranked alone. Activity such as lines or tool calls is not a result.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For work that has to be right, the record has a property public benchmarks can't have: &lt;strong&gt;reviewer verdicts are labels&lt;/strong&gt;. Every time General Counsel accepts, corrects or rejects a warrant, the record learns which roles, models and kinds of change are trustworthy. Energy Lab 1 feeds those verdicts into calibration buckets, so stated confidence can be checked against how often reviewers actually agree. Its calibration machinery measured an error of 0.026 on synthetic verdicts; the real number arrives with real reviewers, and the record is where it lives.&lt;/p&gt;

&lt;p&gt;The record compares like with like (within one kind of task and size), shows the sample size on every number and says "not enough yet" below five, starts a new record for every new model version, and shows the bad days alongside the average. It's how Acme knows whether the interpreter should stay on a cheap model, or whether the cross-encoder needs retraining on its own tariffs.&lt;/p&gt;

&lt;h4&gt;
  
  
  This use case: the document readers
&lt;/h4&gt;

&lt;p&gt;Document work uses three readers, each a different agent:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Agent&lt;/th&gt;
&lt;th&gt;Model and serving&lt;/th&gt;
&lt;th&gt;Harness, tools and context&lt;/th&gt;
&lt;th&gt;Permissions&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The fast reader&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Claude Haiku 4.5 through the model gateway, temperature 0&lt;/td&gt;
&lt;td&gt;The document worker: page windows of up to 60,000 tokens, the document fenced as untrusted data, structured output (value, quote, page, confidence)&lt;/td&gt;
&lt;td&gt;Read the document; write only to the case&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The strong reader&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A stronger Claude Sonnet model, called per field, only for fields the fast reader couldn't prove&lt;/td&gt;
&lt;td&gt;The same worker, with the failed field, its page and the reason it failed&lt;/td&gt;
&lt;td&gt;Same as the fast reader; a daily dollar cap stops paid calls&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The on-site reader&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;An open vision-language model (the Qwen3-VL family) on the customer's own GPU, through an inference server&lt;/td&gt;
&lt;td&gt;The same worker and tools&lt;/td&gt;
&lt;td&gt;Never leaves the customer's network&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Around them sit code paths that are not agents (the citation ladder, the rules, the review queues), but they write to the same record, so a field's whole history is in one place.&lt;/p&gt;

&lt;h4&gt;
  
  
  This use case: a record per field
&lt;/h4&gt;

&lt;p&gt;Every extracted field writes its own work record: which model read it, which rung of the citation ladder its quote reached, its confidence, whether it was escalated to the strong model, whether a rule failed, which reviewer looked at it, and what the reviewer did.&lt;/p&gt;

&lt;p&gt;That makes questions answerable that a document-level score hides:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Which fields need a person most often?&lt;/strong&gt; Liability caps are "most often superseded by amendments", which is why one customer raised that field's floor to 0.92. The record shows whether the raised floor sends too much or too little to review.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Where does the strong model earn its cost?&lt;/strong&gt; If a field is escalated often and the strong model rarely changes the answer, the escalation is waste. If it changes the answer often, the cheap model is the wrong first reader for that field.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Which vendors' templates drift?&lt;/strong&gt; When a vendor changes its invoice layout, the fields from that vendor start failing their citations. The record shows it as a cluster before anyone notices by hand.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;How often is a person needed at all?&lt;/strong&gt; The review rate (62.9% on the real-document run) is the honest cost of the system, and the number every improvement should move.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Stage 4 · Evals: the document exams
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;Fields with answer keys measured from the files themselves, and almost a fifth of the test set (18%) built to attack the system.&lt;/p&gt;

&lt;h4&gt;
  
  
  The exams
&lt;/h4&gt;

&lt;p&gt;Evals are the tests: golden sets where every item has a known right answer. They are controlled, so they compare cleanly, and they are honest only if you keep synthetic and real results apart.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fexams.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fexams.svg" alt="The exams behind Acme Lab: an illustration. The steps are described below it." width="1380" height="680"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The exams behind Acme Lab&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Docket pairs.&lt;/strong&gt; 33,307 pairs built by construction (from 1,000 synthetic dockets and 157 real contracts), with four kinds of change held out of training entirely, plus real regulations from eCFR, the Federal Register, NERC, CPUC, CAISO, CARB and utility tariffs. Splits by docket, so nothing leaks between training and test.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Documents with answer keys.&lt;/strong&gt; Generated documents whose answer keys are measured from the saved PDF bytes, never estimated, plus 18% adversarial documents: encrypted, corrupted, duplicated, injected, scanned at low resolution, rotated, 100 pages long.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Intents.&lt;/strong&gt; Requests with the right intents and decision: single, multiple, restricted, ambiguous and out of scope. Out-of-scope recall must be near perfect.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Citations under attack.&lt;/strong&gt; A fifth of cited passages tampered with on purpose. All three tampered citations were caught, with no false alarms on the twelve clean ones, once a Windows line-ending bug that caused 30% false alarms was fixed.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Scores become a gate.&lt;/strong&gt; Every rate comes with a 95% interval. Below the bar, a model or a package doesn't ship. Above it, the score joins the record, next to the job history. Synthetic and real results are reported separately.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Three habits keep the exams honest:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Intervals, not points.&lt;/strong&gt; "0.56%" alone is a claim; "0.56%, could be up to 2%" is a measurement.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Synthetic is not real.&lt;/strong&gt; The trained matcher looked excellent on synthetic data and fell to F1 0.71 on real regulations. Both numbers are published.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Test the gate itself.&lt;/strong&gt; Every document's answer key includes the intake decision it should get, so the gate is scored like everything else.&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  This use case: the document exams
&lt;/h4&gt;

&lt;p&gt;The document test set is generated, not hand-labelled: each document is built from a seed, saved as a PDF, and its answer key is &lt;strong&gt;measured from the saved PDF bytes&lt;/strong&gt;, never estimated. The mix mirrors real traffic (55% invoices, 15% contracts, 12% SOC 2 reports) plus &lt;strong&gt;18% adversarial documents&lt;/strong&gt;: encrypted, corrupted, duplicated, injected with hidden instructions, scanned at low resolution, skewed, rotated, or a hundred pages long. Each one has the intake decision it should get.&lt;/p&gt;

&lt;p&gt;Two runs, kept apart:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Run&lt;/th&gt;
&lt;th&gt;Documents&lt;/th&gt;
&lt;th&gt;Key result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Synthetic, offline&lt;/td&gt;
&lt;td&gt;288&lt;/td&gt;
&lt;td&gt;0 silent errors (wrong and auto-saved) out of 1,806 field decisions; invented values 0.68% (interval 0.34–1.33%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Real documents, paid models&lt;/td&gt;
&lt;td&gt;70&lt;/td&gt;
&lt;td&gt;invented values 0.56% delivered (interval 0.15–2.0%); 2.2% before the citation ladder, all stopped for review&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Document Lab on 70 real documents&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;0.56&lt;/strong&gt; % invented key-field values delivered&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;92.2&lt;/strong&gt; % key fields correct&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;0.05&lt;/strong&gt; Calibration error&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;97.5&lt;/strong&gt; % correct intake decisions&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;10.3&lt;/strong&gt; Seconds per document&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;0.03&lt;/strong&gt; Dollars per document&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;3&lt;/strong&gt; of 3 injection attacks held&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The metric that matters most is the one most systems don't report: &lt;strong&gt;silent errors&lt;/strong&gt;, a wrong value that was trusted and saved. A system can have a high accuracy and still be dangerous if its mistakes are confident. Calibration (how far stated confidence is from actual accuracy, 0.05 here) and silent errors together are what make a review threshold meaningful.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 5 · Train: the extraction and intent models
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;The same progression as every model in the framework: start simple, wrap it in code, then train on the customer's own fields and corrections.&lt;/p&gt;

&lt;h4&gt;
  
  
  The improvement loop
&lt;/h4&gt;

&lt;p&gt;Most steps in both recipes never need training: code doesn't, and a good off-the-shelf language model writes a fine warrant. Train is for the few places where &lt;strong&gt;the record and the exams point at a model&lt;/strong&gt;, and where improving it is cheaper than working around it.&lt;/p&gt;

&lt;p&gt;The rule for every round is the same: &lt;strong&gt;train → exam → ship → watch the record → train again.&lt;/strong&gt; A new version ships only if it beats the current one on the exam, by more than the interval. Nothing a training round produces is trusted on its own.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fimprovement-loop.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fimprovement-loop.svg" alt="The improvement loop: an illustration. The steps are described below it." width="1380" height="820"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The improvement loop&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;The record finds the weak spot.&lt;/strong&gt; The guard overruling the model on 14.9% of real pairs; zero recall on tariffs; reviewers correcting one kind of change. That is the training brief.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Train one round.&lt;/strong&gt; New data aimed at the weak spot: real pairs from the failing source, hard negatives, or reviewers' verdicts. A few hundred well-chosen labels beat thousands of random ones.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The exam decides.&lt;/strong&gt; The same golden sets, with intervals. Worse, or not better by more than the noise? Back to training.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Ship, then watch.&lt;/strong&gt; The better version ships as a new package version. The record watches it on real work, and the loop starts again. The previous version stays one step away.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  The training system
&lt;/h4&gt;

&lt;p&gt;Training is the most expensive thing the framework does, so it runs on its own system, separate from the runtime, with its own data, compute, tracking and budget.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What counts as training.&lt;/strong&gt; Everything that changes a model's weights:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;th&gt;Typical models&lt;/th&gt;
&lt;th&gt;Compute&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Classic ML training&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Trains a task-specific model from labelled examples&lt;/td&gt;
&lt;td&gt;Intent classifiers, cross-encoders, rerankers, embedding models&lt;/td&gt;
&lt;td&gt;CPU for small models (the first cross-encoder round took 24 minutes on a CPU); one GPU for larger ones&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Continued (domain) pre-training&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Keeps pre-training a base model on the domain's own text, so it learns the vocabulary and structure of rules and documents&lt;/td&gt;
&lt;td&gt;Encoders like MiniLM; small and mid-size open language models&lt;/td&gt;
&lt;td&gt;GPU hours to GPU days, depending on corpus and model size&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Supervised fine-tuning&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Teaches a model a task from input → output examples; full fine-tuning or parameter-efficient adapters (LoRA, QLoRA)&lt;/td&gt;
&lt;td&gt;Open-weight models for extraction, classification, structured output&lt;/td&gt;
&lt;td&gt;One to several GPUs; adapters cut memory and cost sharply&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Preference learning&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Teaches a model to prefer the answer a reviewer would accept over one they'd reject (DPO and related methods)&lt;/td&gt;
&lt;td&gt;Open-weight models that write warrants, summaries, readings&lt;/td&gt;
&lt;td&gt;Similar to fine-tuning, plus the cost of collecting preferences&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reinforcement learning&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Improves a model against a reward: from human feedback, or from rewards code can verify (a citation verifies or it doesn't, a field matches the document or it doesn't)&lt;/td&gt;
&lt;td&gt;Models whose outputs can be checked automatically&lt;/td&gt;
&lt;td&gt;The most expensive: many rollouts per update, on GPUs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Distillation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Trains a small model on a strong model's answers, so the expensive judgement ends up in a cheap one&lt;/td&gt;
&lt;td&gt;Small open models, cross-encoders&lt;/td&gt;
&lt;td&gt;The strong model's calls plus a fine-tuning run&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Quantisation and export&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Shrinks a trained model for serving (int8, 4-bit) and exports it (ONNX, GGUF)&lt;/td&gt;
&lt;td&gt;Everything that ships&lt;/td&gt;
&lt;td&gt;Minutes; it must be re-examined after, because quantisation can change answers&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;The parts of the training system:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;The data pipeline.&lt;/strong&gt; Exports work records, reviewers' verdicts and corrections from the runtime; removes duplicates; scrubs personal data; joins answer keys; and uses &lt;strong&gt;active learning&lt;/strong&gt; to choose what is worth labelling next (where the guard and the model disagree, where reviewers correct, where the record shows failures).&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Dataset versioning.&lt;/strong&gt; Every training set and every golden set has a version, so a model can always be traced to the data that made it, and the exam set never leaks into training.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Compute orchestration.&lt;/strong&gt; Training jobs run where the data is allowed to go: on hosted GPU platforms (Modal, Hugging Face) or owned GPUs for public corpora, and inside the customer's boundary when its documents and verdicts cannot leave. CPU jobs for small classic models.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Experiment tracking.&lt;/strong&gt; Every run records its code version, data version, hyperparameters, metrics and cost, so two runs can be compared and a good one reproduced.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The model registry.&lt;/strong&gt; Every trained model is a versioned entry with its lineage (base model, data, run) and its exam results. Ship only ever takes models from the registry.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The compute budget.&lt;/strong&gt; Each run has a ceiling in GPU hours and dollars, set before it starts; the cheapest method that can fix the weak spot is tried first (more data for a classic model before fine-tuning a language model, fine-tuning before reinforcement learning).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One Roof's &lt;strong&gt;Train&lt;/strong&gt; place is where these jobs are started, watched and compared; the jobs themselves run on the training system.&lt;/p&gt;

&lt;h4&gt;
  
  
  This use case: extraction and intent models
&lt;/h4&gt;

&lt;p&gt;Document extraction follows the same path, one round at a time:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;A general model, prompted.&lt;/strong&gt; A fast, cheap model at temperature 0 reads page windows into fields, each with a quote. Its document is fenced off as untrusted data, and it reports any instructions it notices.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Code around it.&lt;/strong&gt; The citation ladder proves every field; unprovable fields are never delivered. This round cut invented values from 2.2% to 0.56% without touching the model.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Per-field escalation.&lt;/strong&gt; Only unproven or abstained fields go to a stronger model. The record shows which fields earn the escalation and which don't.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;A document model on the customer's hardware.&lt;/strong&gt; For customers whose documents can't leave the building, an open vision-language model (the Qwen3-VL family) is fine-tuned on the customer's own fields, using the answer keys from the test set and reviewers' corrections from the record.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Learning from corrections.&lt;/strong&gt; Every field a reviewer corrects is a labelled example with a verifiable reward (the corrected value must appear in the cited span), ready for the next round.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The &lt;strong&gt;intent classifier&lt;/strong&gt; progresses the same way: keyword rules first; a small model (a 1.7-billion-parameter Qwen3, small enough to run beside the data) when the rules aren't sure; then that small model fine-tuned on the customer's own requests, with every misrouted request a reviewer corrects becoming training data. Its exam, out-of-scope recall near perfect, never changes between rounds.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 6 · Ship: the package, and what ships for documents
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;The extraction recipe, the customer's rules and floors, the document exams, and a reader that can run on the customer's own hardware.&lt;/p&gt;

&lt;h4&gt;
  
  
  The package
&lt;/h4&gt;

&lt;p&gt;The proven system ships as a package, and the same package runs two ways: &lt;strong&gt;hosted by me on hypothesys.ai&lt;/strong&gt;, or &lt;strong&gt;on the customer's own premises&lt;/strong&gt;. Everything up to the package is identical; only the last stretch differs, and it differs a lot.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Design and prove in the studio.&lt;/strong&gt; Intake, recipes, model choices and exams, designed and proven on real dockets and documents, with the record to show it.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Freeze it as a package.&lt;/strong&gt; One version with everything pinned: the four engines, Acme's configuration, the exams it must pass. No passing exams, no package.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Run it where the customer chooses.&lt;/strong&gt; Hosted on hypothesys.ai, or on its own premises (both below). Acme Lab plus the Energy Lab 1, Energy Lab 2 and Document Lab engines, started by one install script on a single VM, using Acme's own models and keys.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Acme holds the controls.&lt;/strong&gt; Use cases on and off, approval limits, allowed models per kind of data, budgets, the audit trail and one stop switch, in a console on Acme's side. One switch stops everything.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The record closes the loop.&lt;/strong&gt; Acme's record shows how each role performs on Acme's dockets and documents. The next version ships only if it does better. Acme's corrections become the next training brief.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Two ways to run it
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;1 · Hosted on hypothesys.ai.&lt;/strong&gt; I run it. Each customer is a separate tenant on my cluster, with its own runtime, database, file store, record and audit trail; nothing is shared between tenants except the code. Requests come in through one edge (TLS, authentication, rate limits, a web application firewall, per-tenant keys). New versions go through my release path (Woodpecker → Kargo → Argo CD, staging then production), and I operate it: monitoring, on-call, backups, disaster recovery, incident response. The customer keeps its controls and audit trail in a console, and its people and systems connect over the internet.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fdeploy-hosted.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fdeploy-hosted.svg" alt="Hosted on hypothesys.ai: the customer's people, systems and console connect through an edge to an isolated tenant on my cluster, with models, the release path and operations run by me." width="1380" height="720"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hosted on hypothesys.ai&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2 · On the customer's premises.&lt;/strong&gt; The customer runs it. It pulls a signed package from my registry into its own network, checks the signature and the SBOM, and runs one install script on its VM or Kubernetes cluster. Its runtime, control plane, models (open models on its GPUs, or its own API keys), record and data all stay inside; it decides when to upgrade. Training, if any, happens inside its boundary. It can even run fully offline: packages carried across by hand, open models only, no calls out. What comes back to me is only what the customer chooses to share: numbers from its record, never documents.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fdeploy-onprem.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fdeploy-onprem.svg" alt="On the customer's premises: a signed package pulled into the customer's network, running on its own VM or cluster with its own control plane, models, record and identity; optional training inside its boundary; fully offline possible." width="1380" height="740"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On the customer's premises&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Hosted on hypothesys.ai&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;On the customer's premises&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Where it runs&lt;/td&gt;
&lt;td&gt;My cluster, one isolated tenant per customer, in a region the customer chooses&lt;/td&gt;
&lt;td&gt;The customer's VM or Kubernetes cluster, inside its network; offline possible&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How a version arrives&lt;/td&gt;
&lt;td&gt;I promote it through staging to production&lt;/td&gt;
&lt;td&gt;The customer pulls a signed package and upgrades on its own schedule&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Who operates it&lt;/td&gt;
&lt;td&gt;Me: uptime, scaling, backups, upgrades, incident response&lt;/td&gt;
&lt;td&gt;The customer's IT, with my runbooks and support bundle&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Where data lives&lt;/td&gt;
&lt;td&gt;My cloud, encrypted in transit and at rest, per tenant&lt;/td&gt;
&lt;td&gt;Never leaves the customer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Models&lt;/td&gt;
&lt;td&gt;Hosted APIs on my keys or the customer's, open models on my GPUs&lt;/td&gt;
&lt;td&gt;Open models on the customer's hardware, or its own API keys&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Training&lt;/td&gt;
&lt;td&gt;On my training system, only with the customer's consent and a data agreement&lt;/td&gt;
&lt;td&gt;Inside the customer's boundary, or not at all&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The record and the controls&lt;/td&gt;
&lt;td&gt;A console scoped to the customer&lt;/td&gt;
&lt;td&gt;On the customer's machine; shared back only if it chooses&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security review&lt;/td&gt;
&lt;td&gt;My controls and certifications are what the customer reviews&lt;/td&gt;
&lt;td&gt;The customer's own controls apply; mine cover the package&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Good fit&lt;/td&gt;
&lt;td&gt;A fast start, smaller teams, less sensitive data&lt;/td&gt;
&lt;td&gt;Regulated or sensitive data, strict security reviews, air-gapped sites&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Hosting turns the framework into a service I run, which brings its own commitments; they get their own section, Running it as a hosted service.&lt;/p&gt;

&lt;p&gt;The package's manifest says everything about the system in one file:&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;package&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;acme-framework&lt;/span&gt;
&lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;1.0.0&lt;/span&gt;
&lt;span class="na"&gt;customer&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Acme Power &amp;amp; Light (fictitious)&lt;/span&gt;
&lt;span class="na"&gt;engines&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;acme-lab&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;energy-lab-1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;energy-lab-2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;document-lab&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;   &lt;span class="c1"&gt;# pinned image tags
&lt;/span&gt;&lt;span class="na"&gt;intake&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;use_cases&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;reg_change_assess&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;reg_obligation_question&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;reg_filing_deadline&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
              &lt;span class="s"&gt;doc_contract_review, doc_soc2_review, doc_invoice_process]&lt;/span&gt;
  &lt;span class="na"&gt;intents&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;data/acme/intents.json&lt;/span&gt;
  &lt;span class="na"&gt;classifier&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;kind:&lt;/span&gt; &lt;span class="s"&gt;rules&lt;/span&gt; &lt;span class="s"&gt;+&lt;/span&gt; &lt;span class="s"&gt;small&lt;/span&gt; &lt;span class="s"&gt;model&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;route_above:&lt;/span&gt; &lt;span class="mf"&gt;0.85&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;else:&lt;/span&gt; &lt;span class="s"&gt;ask-or-person&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;channels&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;api:&lt;/span&gt; &lt;span class="s"&gt;POST&lt;/span&gt; &lt;span class="s"&gt;/intake&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;upload&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;mailbox&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;webhook&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;restrictions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;never&lt;/span&gt; &lt;span class="s"&gt;move&lt;/span&gt; &lt;span class="s"&gt;money&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;never&lt;/span&gt; &lt;span class="s"&gt;change&lt;/span&gt; &lt;span class="s"&gt;payment&lt;/span&gt; &lt;span class="s"&gt;details&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;every&lt;/span&gt; &lt;span class="s"&gt;case&lt;/span&gt; &lt;span class="s"&gt;ends&lt;/span&gt; &lt;span class="s"&gt;with&lt;/span&gt; &lt;span class="s"&gt;a&lt;/span&gt; &lt;span class="s"&gt;person&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;input_safety&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;labs-core intake gate&lt;/span&gt;
&lt;span class="na"&gt;controls&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;console:&lt;/span&gt; &lt;span class="kc"&gt;on&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;can_change:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;use_cases&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;approval_limits&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;allowed_models&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;budgets&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;stop_switch:&lt;/span&gt; &lt;span class="kc"&gt;on&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="na"&gt;recipes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;docket-change-to-action&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;document-to-record&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="na"&gt;models&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;interpreter&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;claude-haiku-4-5&lt;/span&gt;        &lt;span class="c1"&gt;# or an open model on Acme's hardware
&lt;/span&gt;  &lt;span class="na"&gt;matcher&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;     &lt;span class="s"&gt;ed-minilm-l6-3way&lt;/span&gt;       &lt;span class="c1"&gt;# 23 MB, CPU
&lt;/span&gt;  &lt;span class="na"&gt;escalation&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="c1"&gt;# Acme's own key
&lt;/span&gt;&lt;span class="na"&gt;evals&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;must_pass&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;docket_f1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&amp;gt;= 0.85"&lt;/span&gt;
    &lt;span class="na"&gt;key_field_hallucination&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;= 0.01 (upper 95% bound reported)"&lt;/span&gt;
    &lt;span class="na"&gt;intent_out_of_scope_recall&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&amp;gt;= 0.99"&lt;/span&gt;
&lt;span class="na"&gt;record&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;on&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  The APIs
&lt;/h4&gt;

&lt;p&gt;Everything Acme Lab does is an API, so Acme can wire it into its own systems and the hypothesys.ai lab pages drive exactly the same calls:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Call&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;POST /intake&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Takes a request (channel, text, attachments) and returns its intents with scores, the decision (route, person or refuse), restrictions hit, controls applied and a case id&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;GET /intake/use-cases&lt;/code&gt;, &lt;code&gt;GET /intake/intents&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;The menu and the intent catalog&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;POST /cases/{id}/run&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Runs the routed recipe; each step calls the right engine&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;GET /cases/{id}&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The case: every step, every citation, the warrant, the state&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;POST /cases/{id}/decision&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A reviewer accepts, corrects, rejects or escalates; written to the audit trail and the record&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;GET /record&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The performance record by kind of task and role&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;GET /evals&lt;/code&gt;, &lt;code&gt;POST /evals/{set}/run&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;The exams, run on demand, with intervals&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;GET /control&lt;/code&gt;, &lt;code&gt;PUT /control&lt;/code&gt;, &lt;code&gt;GET /audit&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Acme's control plane and its audit trail&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;GET /package&lt;/code&gt;, &lt;code&gt;GET /package/bundle&lt;/code&gt;, &lt;code&gt;GET /deploys&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;The manifest, the installable bundle, and where each version runs&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Installing it on Acme's VM is one command: pre-flight checks, pull the pinned images, start the four engines, then a smoke test that sends a docket request through intake and runs the case end to end.&lt;/p&gt;

&lt;h4&gt;
  
  
  This use case: what ships for documents
&lt;/h4&gt;

&lt;p&gt;For documents, the package carries the extraction recipe, the customer's rules (floors that only tighten, approval rules, duplicate checks), the field-level review queues, the document exams with their pass bars (invented key-field values at or under 1% with the upper bound reported), and a choice of reader: a hosted model on the customer's own key, or an open document model running on the customer's VM so no document ever leaves.&lt;/p&gt;

&lt;p&gt;Every write to the customer's systems goes through an outbox with an idempotency key, so a retry never writes twice, and every write can be rolled back with an audit entry. "The write is the point of no return" is a Ship principle as much as a Factory one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use case: Rule change
&lt;/h2&gt;

&lt;p&gt;USE CASE 2 OF 2 · RULE CHANGE&lt;/p&gt;

&lt;p&gt;A new version of a rule arrives. Find what changed, decide whether it touches anything the company owns, work out what to do and why, and send it to the person who owns it, with citations they can check. The harder use case: it builds on everything the document pipeline does and adds comparing, interpreting and deciding.&lt;/p&gt;

&lt;h3&gt;
  
  
  One docket, end to end
&lt;/h3&gt;

&lt;p&gt;On 27 April 2022, the California Public Utilities Commission issued a new version of &lt;strong&gt;General Order 166&lt;/strong&gt;, the rules utilities follow for emergency and disaster preparedness. The previous version was dated 28 July 2021.&lt;/p&gt;

&lt;p&gt;Most of the new version is the same as the old one. That is always true of regulatory dockets, and it is exactly what makes them hard. The part that matters is small and scattered: a date moved, a reporting cadence changed, a duty that was "may" became "shall", a definition got narrower, a section was renumbered so that every internal reference to it quietly broke.&lt;/p&gt;

&lt;p&gt;Somebody at every affected utility has to find those changes, decide which of them touch something the company owns, work out what to do, and tell the right people, with reasons they can check. Today that somebody is usually an analyst with two PDFs side by side and an email list.&lt;/p&gt;

&lt;p&gt;When my system read those two versions of General Order 166, it found this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;CPUC General Order 166, 2021 → 2022: what the system found&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;81&lt;/strong&gt; Provision pairs compared&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;8&lt;/strong&gt; Material changes&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;10&lt;/strong&gt; Moved&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;5&lt;/strong&gt; Inserted&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;4&lt;/strong&gt; Deleted&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;4&lt;/strong&gt; Obligations hit&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;13&lt;/strong&gt; Unmapped changes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Eighty-one comparisons. Seventeen changes that matter: 8 material, 5 inserted, 4 deleted. Four of them move obligations. Thirteen changes that touch nothing the company has on record, which is its own finding: either the register is incomplete, or those changes truly don't apply, and a person should say which.&lt;/p&gt;

&lt;p&gt;That is the job, and it is the harder of Acme's two. It builds on everything the document pipeline does (intake checks, citations that verify themselves, review by a person) and adds comparing, interpreting and deciding.&lt;/p&gt;

&lt;p&gt;A regulatory analyst at Acme forwards the new version of General Order 166 to Acme Lab's intake address with one line: &lt;em&gt;"New GO 166 is out. What changes for us, and who needs to do what?"&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;ONE DOCKET, FROM ARRIVAL TO A SIGNED-OFF ACTION&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; 09:00 · &lt;strong&gt;It arrives, and the intent is clear.&lt;/strong&gt; The classifier reads the request: assess a regulatory change (0.96). No restricted intent, no second request. Both versions pass the input checks: real text, not empty, no hidden instructions, personal data noted. The use case is on Acme's menu and switched on.&lt;/li&gt;
&lt;li&gt; 09:00 · &lt;strong&gt;Both versions become provisions.&lt;/strong&gt; Each version is cut into numbered provisions with a heading, a body and a fingerprint of its exact text: 31 in the old version, 32 in the new.&lt;/li&gt;
&lt;li&gt; 09:01 · &lt;strong&gt;Old and new provisions are paired.&lt;/strong&gt; Identical fingerprints pair instantly, wherever they moved. The rest get a short list of candidates by keyword search, then a small trained model reads each candidate pair: equivalent, material, or unrelated. 81 pairs scored in about three seconds on a CPU.&lt;/li&gt;
&lt;li&gt; 09:01 · &lt;strong&gt;Plain code checks the numbers.&lt;/strong&gt; A deterministic guard compares durations, percentages, money, cadences, duty words and negations. Where the model says 'equivalent' but the guard sees 'duty 2 → 4', the guard wins: the pair is escalated, never silenced.&lt;/li&gt;
&lt;li&gt; 09:02 · &lt;strong&gt;Each material change gets a name.&lt;/strong&gt; Definition narrowed. Cadence changed. Deadline moved. Naming the kind of change tells the system what to look for and how risky it is.&lt;/li&gt;
&lt;li&gt; 09:02 · &lt;strong&gt;Changes meet Acme's register.&lt;/strong&gt; Each of the 17 changes is matched to the obligations that cite the old section. Four obligations move; each gets its kind (duty tightened, deadline earlier…), its owner, and two citations: the old text and the new.&lt;/li&gt;
&lt;li&gt; 09:03 · &lt;strong&gt;Three sentences a VP can act on.&lt;/strong&gt; What changed. Who it affects. What to do. Every claim carries a citation whose fingerprint is checked again before anyone sees it.&lt;/li&gt;
&lt;li&gt; 09:03 · &lt;strong&gt;To the person who owns it.&lt;/strong&gt; High-risk changes that don't clear their confidence floor go to General Counsel with the top alternatives. Clear ones go to the obligation's owner. Thirteen unmapped changes go to the regulatory team as findings.&lt;/li&gt;
&lt;li&gt; 10:40 · &lt;strong&gt;A person signs off.&lt;/strong&gt; The VP of Asset Management accepts two actions and corrects a third. Nothing is ever done automatically: every case ends with a person.&lt;/li&gt;
&lt;li&gt; 10:40 · &lt;strong&gt;Everything is kept.&lt;/strong&gt; Every step, every model, every citation, every decision and its reason go into the case record and the performance record. The corrected action becomes a new exam question.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That is the whole loop. The six stages below open every step of it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 1 · Intake: what is the person really asking?
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;Dockets are long, plain text and mostly unchanged. Intake here is mostly about intent and permission.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-two-intents.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-two-intents.svg" alt="One message, two intents: an illustration; the detail is in the text and tables below it." width="1380" height="720"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One message, two intents&lt;/p&gt;

&lt;p&gt;A docket version pair is lighter on input safety: two text versions go through five checks (real text, size, not empty, no instructions aimed at the AI, personal data noted). The heavy lifting is understanding what the person is asking, because requests about rules are often vague, and often carry a second request.&lt;/p&gt;

&lt;p&gt;Requests don't arrive labelled, and one message often holds more than one request. Here is one Acme's intake might receive:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Attached is the redlined CPUC draft. Can you tell me what changes for our battery fleet? Also, the vendor sent new bank details for the next payment — please update them."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Intent scores for one request (illustrative)&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Confidence&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Assess a regulatory change&lt;/td&gt;
&lt;td&gt;0.95&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Change vendor bank details&lt;/td&gt;
&lt;td&gt;0.9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Filing deadline question&lt;/td&gt;
&lt;td&gt;0.08&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Review a contract&lt;/td&gt;
&lt;td&gt;0.05&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;None of these&lt;/td&gt;
&lt;td&gt;0.02&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; MULTI-INTENT · &lt;strong&gt;Two requests in one message&lt;/strong&gt; Both clear the threshold. A classifier that kept only the top intent would quietly drop the second, and the second is the dangerous one.&lt;/li&gt;
&lt;li&gt; RESTRICTION · &lt;strong&gt;The second is restricted&lt;/strong&gt; Changing payment details by email is the classic fraud pattern. Acme's restriction says the system never does it. That request goes to a person in finance, flagged: verify by phone with the vendor first.&lt;/li&gt;
&lt;li&gt; ROUTE · &lt;strong&gt;The first goes to its crew&lt;/strong&gt; The regulatory question routes to the docket recipe, exactly as in the walkthrough above.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;threshold to route = 0.85 · two intents clear it · one is restricted · &lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What a good intent classifier does:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Picks from a fixed list.&lt;/strong&gt; The list is the use-case menu; it never invents an intent.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Gives a confidence.&lt;/strong&gt; Above the threshold it routes; below, it asks one clarifying question or hands the request to a person.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Knows "none of these".&lt;/strong&gt; Catching out-of-scope requests matters as much as getting in-scope ones right.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Finds every intent in a message&lt;/strong&gt;, because risk often hides in the second one.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Has its own exam&lt;/strong&gt;: a golden set of real-looking requests, single, multiple, restricted, ambiguous and out of scope, scored on accuracy, on &lt;strong&gt;out-of-scope recall&lt;/strong&gt;, and on whether its confidence matches how often it's right.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A small model is enough for this, and it can run next to the customer's data. One Roof runs a 1.7-billion-parameter Qwen3 model locally for exactly this kind of labelling.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 2 · Factory (a): compare the two versions
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;A pipeline with a checker: code and a small trained model compare, code names and maps the change, a language model only writes the warrant.&lt;/p&gt;

&lt;h4&gt;
  
  
  Code, small model or language model
&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-who-does-each-step.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-who-does-each-step.svg" alt="The comparison crew, step by step: one real docket, CPUC General Order 166, through ten steps — cut into provisions, fingerprints, shortlist (code), the cross-encoder (a small model), the guard, naming the change, mapping to obligations, verifying citations (code), writing the warrant (a language model), and a person who decides." width="1700" height="950"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The comparison crew, step by step: CPUC General Order 166&lt;/p&gt;

&lt;p&gt;The most important design rule in Factory: &lt;strong&gt;every step is done by the cheapest thing that does it well, and exact things are done by code.&lt;/strong&gt; Here is every step of both jobs:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;Done by&lt;/th&gt;
&lt;th&gt;Why that and not something bigger&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Input safety checks&lt;/td&gt;
&lt;td&gt;code&lt;/td&gt;
&lt;td&gt;Exact questions (is it encrypted? is it a duplicate?) have exact answers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Intent&lt;/td&gt;
&lt;td&gt;rules first, a small model when the rules aren't sure&lt;/td&gt;
&lt;td&gt;A fixed list of intents is a small classification problem&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Restrictions and controls&lt;/td&gt;
&lt;td&gt;code, always&lt;/td&gt;
&lt;td&gt;A rule that a clever request could talk its way past is not a rule&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Document extraction&lt;/td&gt;
&lt;td&gt;a fast, cheap language model, temperature 0&lt;/td&gt;
&lt;td&gt;Reading a page into fields needs language understanding&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Proving each field&lt;/td&gt;
&lt;td&gt;code: the citation ladder&lt;/td&gt;
&lt;td&gt;A quote is either in the document or it isn't&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hard fields&lt;/td&gt;
&lt;td&gt;a stronger language model, per field only&lt;/td&gt;
&lt;td&gt;Pay for strength only where the cheap model couldn't prove its answer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cutting versions into provisions&lt;/td&gt;
&lt;td&gt;code&lt;/td&gt;
&lt;td&gt;Section structure is regular&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Unchanged and moved provisions&lt;/td&gt;
&lt;td&gt;code: fingerprints&lt;/td&gt;
&lt;td&gt;Identical text is identical; no model needed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shortlisting candidate pairs&lt;/td&gt;
&lt;td&gt;code: keyword search&lt;/td&gt;
&lt;td&gt;Cheap, and it keeps model calls to about five per provision&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Equivalent, material or unrelated?&lt;/td&gt;
&lt;td&gt;a small trained model: a 23 MB cross-encoder on a CPU&lt;/td&gt;
&lt;td&gt;Meaning-level comparison that code can't do, at a cost close to zero&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Numbers, deadlines, duties, negations&lt;/td&gt;
&lt;td&gt;code: the guard&lt;/td&gt;
&lt;td&gt;Small models read numbers badly; code reads them exactly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Naming the kind of change&lt;/td&gt;
&lt;td&gt;code: rules and numbers&lt;/td&gt;
&lt;td&gt;Five well-defined kinds, each with a clear signature&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mapping to obligations and owners&lt;/td&gt;
&lt;td&gt;code&lt;/td&gt;
&lt;td&gt;The register says which obligation cites which section&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Verifying every citation&lt;/td&gt;
&lt;td&gt;code&lt;/td&gt;
&lt;td&gt;Re-fetch, normalise, compare fingerprints: no model in the loop&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The warrant (what changed, who it affects, what to do)&lt;/td&gt;
&lt;td&gt;a fast, cheap language model, with a fixed template as fallback&lt;/td&gt;
&lt;td&gt;The one place where sentences are needed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Independent judging of a sample&lt;/td&gt;
&lt;td&gt;the strongest language model&lt;/td&gt;
&lt;td&gt;Rare, so the cost doesn't matter; independence does&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Count the language-model steps: four, out of sixteen, and one of them (the judge) only grades a sample. None of them decides what is true. Models are used where meaning is needed, and every model is wrapped in code that can catch it.&lt;/p&gt;

&lt;h4&gt;
  
  
  Who plays each role
&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-model-ladder.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-model-ladder.svg" alt="Who plays each role, and what it costs: an illustration; the detail is in the text and tables below it." width="1380" height="720"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Who plays each role, and what it costs&lt;/p&gt;

&lt;p&gt;Because so much of the work is code and small models, the model bill for regulated work is low and predictable.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Relative cost per model or component (tier, not price)&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Cost tier&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Claude Opus 5.5 (judge)&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Sonnet 5.5 (escalation)&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kimi K2.7 Code&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Haiku 4.5 (default)&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DeepSeek-V4.1-Flash&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Qwen3-VL (documents)&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gpt-oss-120b&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Qwen3-1.7B (intents)&lt;/td&gt;
&lt;td&gt;0.3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cross-encoder (23 MB)&lt;/td&gt;
&lt;td&gt;0.1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Guard and checks (code)&lt;/td&gt;
&lt;td&gt;0.05&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; JUDGE AND ESCALATION · &lt;strong&gt;Strong models&lt;/strong&gt; The strongest model judges a sample of finished cases; a strong model handles only the fields and readings the cheap path couldn't prove.&lt;/li&gt;
&lt;li&gt; DEFAULTS · &lt;strong&gt;Cheap models do the writing&lt;/strong&gt; Interpretations, warrants and first-pass extraction run on fast, inexpensive models. At model prices in November 2026, a docket case costs about a tenth of a cent; a document about three cents.&lt;/li&gt;
&lt;li&gt; ON THE CUSTOMER'S HARDWARE · &lt;strong&gt;Small and local where data can't leave&lt;/strong&gt; Open-weight models and the cross-encoder run on the customer's own machines: no document has to leave the building.&lt;/li&gt;
&lt;li&gt; THE FOUNDATION · &lt;strong&gt;Most of the work is code&lt;/strong&gt; Fingerprints, the guard, citation verification, rules, routing: deterministic, auditable, re-runnable, and effectively free.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;1 = cheapest · 4 = most expensive · code and the cross-encoder run on CPU for practically nothing · &lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Role&lt;/th&gt;
&lt;th&gt;Default&lt;/th&gt;
&lt;th&gt;Where it runs&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Intent classification&lt;/td&gt;
&lt;td&gt;rules plus a small model (Qwen3-1.7B)&lt;/td&gt;
&lt;td&gt;the customer's hardware&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Provision matching&lt;/td&gt;
&lt;td&gt;cross-encoder, 22.7M parameters, int8, 23 MB&lt;/td&gt;
&lt;td&gt;CPU, anywhere&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interpretation and warrants&lt;/td&gt;
&lt;td&gt;Claude Haiku 4.5&lt;/td&gt;
&lt;td&gt;hosted, or an open model on site&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Document extraction&lt;/td&gt;
&lt;td&gt;Claude Haiku 4.5, or Qwen3-VL on site&lt;/td&gt;
&lt;td&gt;hosted or the customer's hardware&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Field escalation&lt;/td&gt;
&lt;td&gt;Claude Sonnet 5.5&lt;/td&gt;
&lt;td&gt;hosted, the customer's own key&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Independent judge&lt;/td&gt;
&lt;td&gt;Claude Opus 5.5&lt;/td&gt;
&lt;td&gt;hosted, a sample only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Guard, citations, rules, routing&lt;/td&gt;
&lt;td&gt;code&lt;/td&gt;
&lt;td&gt;anywhere&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Why tiers, not prices&lt;/p&gt;

&lt;p&gt;Model prices change month to month, and hosts price the same open model differently. The record stores tokens and compute, and computes dollars from a price table where every entry has a source and the date it was checked.&lt;/p&gt;

&lt;h4&gt;
  
  
  Comparing versions: material or cosmetic?
&lt;/h4&gt;

&lt;p&gt;The first instinct is to diff the two versions. It fails in two opposite ways.&lt;/p&gt;

&lt;p&gt;A plain diff, or a fingerprint per section, flags &lt;strong&gt;every&lt;/strong&gt; edit. "Thirty (30) days" becoming "30 days" raises the same alarm as 30 days becoming 60. On a real docket that is hundreds of alarms, nearly all noise.&lt;/p&gt;

&lt;p&gt;A similarity score fails the other way. "The utility &lt;strong&gt;shall&lt;/strong&gt; submit" and "the utility &lt;strong&gt;may&lt;/strong&gt; submit" are 97% similar character by character. A duty just became optional, and the score says nothing happened. Off-the-shelf rerankers do no better: they measure whether two passages are about the same thing, so "within 30 days" and "within 60 days" look like a perfect match.&lt;/p&gt;

&lt;p&gt;Energy Lab 1 used the first approach. Energy Lab 2 was built to fix it, and it does the comparison in five steps, cheapest first:&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fcompare-pairing.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fcompare-pairing.svg" alt="How two versions are paired and labelled: an illustration. The steps are described below it." width="1380" height="780"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How two versions are paired and labelled&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Exact fingerprints first.&lt;/strong&gt; Every provision gets a fingerprint of its normalised text. Same fingerprint, same address: unchanged. These never reach a model, and they are exactly right. The fingerprint is the exact verifier; the model is not.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;A short list, not every pair.&lt;/strong&gt; For the rest, a keyword search proposes the same-address provision plus the four most similar ones. That keeps the cost to about five model calls per provision instead of comparing everything with everything.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;A small model reads both texts together.&lt;/strong&gt; A 22.7-million-parameter cross-encoder, fine-tuned on my own version pairs, reads the old and new text as one input and answers equivalent, material or unrelated. Quantised to 23 MB, it scores a pair in about 22 ms on an ordinary CPU, with no GPU. Trained on 33,307 pairs built from 1,000 dockets and 157 contracts. Training took about 24 minutes on a CPU.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Pair, then label.&lt;/strong&gt; Pairs are assigned one-to-one, best first. Leftovers are inserted or deleted. A material verdict becomes 'material'; otherwise 'moved' if the address changed, 'reworded' if not.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The guard can only escalate.&lt;/strong&gt; Plain code extracts durations, percentages, money, cadences, duty words and negations from both texts. If the model is unsure, or says 'equivalent' while the guard sees a difference, the pair goes to the fallback, which names the kind of change or flags it for a person. The guard can escalate a change; it can never silence one.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Why the guard exists
&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-guard.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-guard.svg" alt="Why the guard exists: an illustration; the detail is in the text and tables below it." width="1380" height="760"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Why the guard exists&lt;/p&gt;

&lt;p&gt;The trained model is good at meaning and bad at magnitudes. Small language models read numbers as word pieces, so 45 and 75 look alike. And no model knows a distinction it was never shown: the change operator "shall → may" was deliberately held out of training, and the model alone caught it &lt;strong&gt;0 times out of 209&lt;/strong&gt;. It also missed dropped duties 60% of the time and changed percentages 67% of the time.&lt;/p&gt;

&lt;p&gt;The guard is a few hundred lines of plain code, and it treats these as different:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Not a change&lt;/th&gt;
&lt;th&gt;A change&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;"thirty (30) days" → "30 days"&lt;/td&gt;
&lt;td&gt;45 days → 75 days&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;"five percent (5%)" → "5%"&lt;/td&gt;
&lt;td&gt;72 hours → 24 hours&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;"shall" → "must"&lt;/td&gt;
&lt;td&gt;"shall" → "may"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;quarterly → monthly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;3% → 1.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In one test, a scorer confidently said "equivalent, 0.97" about a deadline moving from 45 to 75 days. The guard overruled it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 2 · Factory (b): interpret the change
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;Name the kind of change, gather evidence for each reading, verify every citation, and escalate rather than guess.&lt;/p&gt;

&lt;p&gt;A material change is still just a difference. To act on it you need to know &lt;strong&gt;what kind&lt;/strong&gt; of change it is, because the kind tells you how risky it is and where to look.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-five-kinds.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-five-kinds.svg" alt="Five kinds of regulatory change: an illustration; the detail is in the text and tables below it." width="1380" height="640"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Five kinds of regulatory change&lt;/p&gt;

&lt;p&gt;Energy Lab 1 recognises five kinds of regulatory change, each with its own urgency:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Kind&lt;/th&gt;
&lt;th&gt;What fires it&lt;/th&gt;
&lt;th&gt;Urgency&lt;/th&gt;
&lt;th&gt;Example from my dockets&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Period extended&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;a comment, notice or review period grows&lt;/td&gt;
&lt;td&gt;low&lt;/td&gt;
&lt;td&gt;a scoping-meeting window extended&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Date deferred&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;an effective date, compliance deadline or study window moves&lt;/td&gt;
&lt;td&gt;medium&lt;/td&gt;
&lt;td&gt;an interconnection study window from 90 to 120 days&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Definition narrowed&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;a "means" clause gains restrictions&lt;/td&gt;
&lt;td&gt;high&lt;/td&gt;
&lt;td&gt;a battery qualifies only if "at least five (5) megawatts"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cadence changed&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;quarterly, monthly, annually… changes&lt;/td&gt;
&lt;td&gt;medium&lt;/td&gt;
&lt;td&gt;battery settlement from quarterly to monthly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Penalty threshold&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;a breach or penalty percentage moves&lt;/td&gt;
&lt;td&gt;high&lt;/td&gt;
&lt;td&gt;a first-breach penalty from 2% to 1%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;"Definitions are where the money is" is one of the lessons written into the lab's design. A narrowed definition can quietly exclude a whole fleet from a payment, which is why it carries the highest risk.&lt;/p&gt;

&lt;h4&gt;
  
  
  Evidence, not eloquence
&lt;/h4&gt;

&lt;p&gt;Naming the change is the start of an investigation, not the end of one. The system treats each candidate kind as a hypothesis with a probability, and keeps &lt;strong&gt;15% of its belief in reserve&lt;/strong&gt; for "something nobody has thought of yet". It then gathers evidence in rounds: the obligations that cite the changed section, the passages of the new text that support each reading (found by keyword search, with no vector database and no embeddings), and the projects those obligations drive.&lt;/p&gt;

&lt;p&gt;Every piece of evidence is a citation that carries the exact quoted text and a fingerprint of it. Before anything is shown to a person, each citation is fetched again, normalised and its fingerprint compared. If the source text has drifted, the case is &lt;strong&gt;blocked&lt;/strong&gt;, not shown. There is no language model in that loop.&lt;/p&gt;

&lt;p&gt;The language model has exactly two jobs in the whole pipeline: write a two-sentence interpretation of the change, and write the &lt;strong&gt;warrant&lt;/strong&gt;, three sentences for a VP-level reviewer:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Sentence 1: what changed. Sentence 2: who it affects. Sentence 3: the recommended action.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The model's job is to phrase the case; the code's job is to prove it. A case costs about a tenth of a cent in model calls.&lt;/p&gt;

&lt;h4&gt;
  
  
  Escalate rather than guess
&lt;/h4&gt;

&lt;p&gt;Each kind of change has a confidence floor, set by a signed policy: 0.50 for low-risk kinds, 0.75 for high-risk ones. A case that doesn't clear its floor is not dropped and not guessed at. It is &lt;strong&gt;escalated&lt;/strong&gt; to General Counsel with the top three alternative readings. "Better a clear escalation than a wrong classification" is the rule. Floors can only be raised, never lowered, except by a person.&lt;/p&gt;

&lt;p&gt;Here is a real case from Energy Lab 1: a battery capacity-payment rule moving from proposed to final. Settlement went from quarterly to monthly, disbursement from 45 to 20 days, reporting from 15 to 7 days, and the definition of "eligible dispatch availability" was narrowed to exclude standby hours and require 80% of nameplate capacity.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;One real case: how confident was the system in each reading?&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Posterior&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Definition narrowed&lt;/td&gt;
&lt;td&gt;0.311&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cadence changed&lt;/td&gt;
&lt;td&gt;0.311&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Date deferred&lt;/td&gt;
&lt;td&gt;0.228&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Something else (reserve)&lt;/td&gt;
&lt;td&gt;0.15&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; TWO KINDS AT ONCE · &lt;strong&gt;Two strong readings&lt;/strong&gt; Both are true: the definition narrowed and the cadence changed. Neither clears the 0.75 floor on its own, because the evidence splits between them.&lt;/li&gt;
&lt;li&gt; THE RIGHT ANSWER · &lt;strong&gt;So it escalated&lt;/strong&gt; The case went to General Counsel with all three readings and three verified citations, including the narrowed definition word for word. A person decided; the system didn't guess.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;probabilities after three rounds of evidence · 15% held in reserve · the high-risk floor is 0.75 · &lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  What I learned the hard way
&lt;/h4&gt;

&lt;p&gt;I kept an honest list of where this reasoning went wrong, and it shaped Acme Lab:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;A lone reading always shipped.&lt;/strong&gt; If only one kind matched, it went out at 0.85 whatever it scored. Acme Lab treats a single candidate like any other: it must clear its floor on evidence.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Evidence that couldn't change anyone's mind.&lt;/strong&gt; Every tool gave every hypothesis the same weight, so three rounds of "deliberation" ended where they started. Evidence must favour one reading over another to count.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Converging too early skipped the citations.&lt;/strong&gt; A warrant with zero citations could pass verification. Acme Lab refuses to route a warrant without at least one verified citation.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The number of candidate kinds decided the outcome, not the evidence.&lt;/strong&gt; Two equally plausible kinds meant automatic escalation. That is safe, but it hides how good the evidence was, so the record shows it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Stage 2 · Factory (c): decide what to do, and why
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;Map each change to the obligations it touches and their owners, keep what doesn't map, place it among other regulators' rules, and write the recipe down.&lt;/p&gt;

&lt;p&gt;A material, named change matters only if it touches something the company owns. This is where the same rule lands completely differently on different companies.&lt;/p&gt;

&lt;h4&gt;
  
  
  The same change, two companies
&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-two-companies.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-two-companies.svg" alt="The same change, two companies: an illustration; the detail is in the text and tables below it." width="1380" height="720"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The same change, two companies&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;The change&lt;/th&gt;
&lt;th&gt;For a power producer and developer&lt;/th&gt;
&lt;th&gt;For a large utility&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Battery capacity payments: monthly settlement, narrower definition&lt;/td&gt;
&lt;td&gt;3 obligations, 2 projects and 3 documents in scope. A revenue question for the battery fleet&lt;/td&gt;
&lt;td&gt;Nothing in scope&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interconnection study window: 90 → 120 days&lt;/td&gt;
&lt;td&gt;It is the applicant: its projects wait longer&lt;/td&gt;
&lt;td&gt;It performs the studies: a longer window is relief, and a new scoping meeting is a new task&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A renewable-portfolio definition broadens&lt;/td&gt;
&lt;td&gt;A sales opportunity&lt;/td&gt;
&lt;td&gt;A compliance task&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Acme, as both a utility and a battery operator, sees parts of each. That is why intake and impact are both tied to the customer's own register, not to the rule alone.&lt;/p&gt;

&lt;h4&gt;
  
  
  From change to obligation to owner
&lt;/h4&gt;

&lt;p&gt;Each material, inserted or deleted provision is matched to the obligations that cite the &lt;strong&gt;old&lt;/strong&gt; section address (renumbered sections become "citation moved" tasks, so references get fixed). The guard's findings name the kind of impact:&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fchange-to-owner.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fchange-to-owner.svg" alt="From a changed provision to a named owner: an illustration. The steps are described below it." width="1380" height="680"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From a changed provision to a named owner&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Find the obligation.&lt;/strong&gt; Obligations cite the section they come from. The match uses the old address, because that is what the register knows. Renumbered sections become 'citation moved' tasks.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Name the impact.&lt;/strong&gt; From the guard: deadline later or earlier, cadence stricter or looser, duty softened or tightened, threshold changed, money changed, negation changed, duty added or removed. From the guard's findings, not a guess.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Find the owner.&lt;/strong&gt; The reviewer whose categories cover this kind of change owns it. On mapped impacts, owner and project attribution was right every time.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Prove it twice.&lt;/strong&gt; Every impact carries the old text and the new text, each with its fingerprint, so the owner can see exactly what moved. Re-verified before anyone sees it.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Keep what doesn't map.&lt;/strong&gt; A real change that touches no obligation on record is reported, not discarded. Across three company registers, most changes didn't map, which says as much about registers as about rules. Unmapped changes go to the regulatory team as findings.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last point surprised me. Across three company registers, only about a fifth of real changes mapped to a recorded obligation:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Share of real changes that hit a recorded obligation&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Mapped to an obligation&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Power producer and developer (92 of 485)&lt;/td&gt;
&lt;td&gt;19&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Large utility (46 of 198)&lt;/td&gt;
&lt;td&gt;23&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Enterprise buyer (70 of 280)&lt;/td&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;three mock company registers built from public facts · the rest are reported as unmapped findings · &lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Either registers are thinner than the rules they track, or most changes genuinely don't apply. Both are worth knowing, and only a system that keeps the unmapped changes can tell you.&lt;/p&gt;

&lt;h4&gt;
  
  
  Rules don't change alone
&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-layer-map.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-layer-map.svg" alt="Rules don't change alone: an illustration; the detail is in the text and tables below it." width="1380" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Rules don't change alone&lt;/p&gt;

&lt;p&gt;A rule rarely stands by itself. A federal order is implemented by a state rule, a grid operator's tariff stacks on top, an exemption carves a hole, a newer rule supersedes an older one. Energy Lab 2 includes a &lt;strong&gt;Layer Map&lt;/strong&gt; built from 6,269 regulatory instruments, recording how rules from different regulators relate: implements, stacks, supersedes, exempts, conflicts. Each change is placed on that map. A change can stand alone, compound another, ripple through others, become moot, open a carve-out, or &lt;strong&gt;conflict&lt;/strong&gt;, and a conflict always goes to a person.&lt;/p&gt;

&lt;h4&gt;
  
  
  The recipe, written down
&lt;/h4&gt;

&lt;p&gt;A &lt;strong&gt;recipe&lt;/strong&gt; says which roles a job needs, who plays each, the pattern they work in, the finish line and the budget. Acme Lab's docket recipe:&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;recipe&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;docket-change-to-action&lt;/span&gt;
&lt;span class="na"&gt;use_case&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;reg_change_assess&lt;/span&gt;           &lt;span class="c1"&gt;# from Intake; restrictions and controls are checked there
&lt;/span&gt;&lt;span class="na"&gt;pattern&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;pipeline-with-checker&lt;/span&gt;
&lt;span class="na"&gt;roles&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;reader&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;      &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;by:&lt;/span&gt; &lt;span class="s"&gt;code&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;job:&lt;/span&gt; &lt;span class="s2"&gt;"cut both versions into provisions with fingerprints"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;matcher&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;     &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;by:&lt;/span&gt; &lt;span class="s"&gt;cross-encoder&lt;/span&gt; &lt;span class="s"&gt;ed-minilm-l6-3way&lt;/span&gt; &lt;span class="s"&gt;(23&lt;/span&gt; &lt;span class="s"&gt;MB&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;CPU)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;job:&lt;/span&gt; &lt;span class="s2"&gt;"pair provisions: equivalent, material, unrelated"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;guard&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;       &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;by:&lt;/span&gt; &lt;span class="s"&gt;code&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;job:&lt;/span&gt; &lt;span class="s2"&gt;"durations, percentages, money, cadence, duties, negation; escalate only"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;namer&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;       &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;by:&lt;/span&gt; &lt;span class="s"&gt;code&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;job:&lt;/span&gt; &lt;span class="s2"&gt;"recognise the kind of regulatory change"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;mapper&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;      &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;by:&lt;/span&gt; &lt;span class="s"&gt;code&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;job:&lt;/span&gt; &lt;span class="s2"&gt;"match changes to Acme obligations by old section; name the impact and owner"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;interpreter&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;by:&lt;/span&gt; &lt;span class="s"&gt;model&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;default:&lt;/span&gt; &lt;span class="s"&gt;claude-haiku-4-5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;job:&lt;/span&gt; &lt;span class="s2"&gt;"two-sentence interpretation; three-sentence warrant"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="na"&gt;checker&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;     &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;by:&lt;/span&gt; &lt;span class="s"&gt;code&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;job:&lt;/span&gt; &lt;span class="s2"&gt;"re-verify every citation fingerprint; block on drift; refuse a warrant with no citation"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="na"&gt;finish_line&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;check&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"every impact has an owner and two verified citations; unmapped changes listed"&lt;/span&gt;
  &lt;span class="na"&gt;result&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;reviewer queue (owner, or General Counsel when a high-risk floor is not cleared)&lt;/span&gt;
&lt;span class="na"&gt;budget&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;dollars:&lt;/span&gt; &lt;span class="mf"&gt;0.05&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;seconds:&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="na"&gt;never&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;act&lt;/span&gt; &lt;span class="kc"&gt;on&lt;/span&gt; &lt;span class="s"&gt;the&lt;/span&gt; &lt;span class="s"&gt;change&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;file&lt;/span&gt; &lt;span class="s"&gt;anything&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;contact&lt;/span&gt; &lt;span class="s"&gt;a&lt;/span&gt; &lt;span class="s"&gt;regulator&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;   &lt;span class="c1"&gt;# every case ends with a person
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Count the roles: seven, and only one of them is a general language model. The rest are a small trained model and plain code. That is the most important strategic point in this post. &lt;strong&gt;The more regulated the work, the less of it should depend on a general model's judgement, and the more of it should be code you can read and checks you can re-run.&lt;/strong&gt; The language model writes the sentences a person reads; it does not decide what is true.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 3 · Agents: the crew's agents, and a record per step
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;Serve the comparison crew's models, from a 23 MB cross-encoder on a CPU to an independent judge, and record every step each one takes.&lt;/p&gt;

&lt;h4&gt;
  
  
  The agents in this crew
&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-crew-agents.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-crew-agents.svg" alt="The comparison crew's agents: an illustration; the detail is in the text and tables below it." width="1380" height="680"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The comparison crew's agents&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Agent&lt;/th&gt;
&lt;th&gt;Model and serving&lt;/th&gt;
&lt;th&gt;Harness, tools and context&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The matcher&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;ed-minilm-l6-3way&lt;/code&gt;, a 22.7M-parameter cross-encoder, int8, 23 MB, served with ONNX Runtime on a CPU (about 22 ms per pair)&lt;/td&gt;
&lt;td&gt;Called by the comparison pipeline with candidate pairs from the keyword shortlist; no tools&lt;/td&gt;
&lt;td&gt;Not a language model, still an agent in the record: its versions, its accuracy by source and its cost are tracked like any other&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The interpreter and warrant writer&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Claude Haiku 4.5 through the model gateway (Kimi and other models as configured; a fixed template when no model is allowed)&lt;/td&gt;
&lt;td&gt;The labs-core reasoner: two calls per case, 280 and 320 tokens, with the frames, the evidence and the citations as context&lt;/td&gt;
&lt;td&gt;Writes sentences only; never decides what is true&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The independent judge&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Claude Opus 5.5, on a sample of finished cases&lt;/td&gt;
&lt;td&gt;A judge harness that is told not to trust the pipeline's confidence and answers pass, partial or fail with reasons&lt;/td&gt;
&lt;td&gt;Rare, so its cost doesn't matter; its independence does&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The builders&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Claude Code and Codex, in One Roof&lt;/td&gt;
&lt;td&gt;The studio: they build and change the recipes, the engines and the tests&lt;/td&gt;
&lt;td&gt;Measured in the same record, on the work of building the system&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The guard, the namer, the mapper and the citation checker are code, not agents, and they write to the same record so that every change's &lt;code&gt;decided_by&lt;/code&gt; is complete.&lt;/p&gt;

&lt;h4&gt;
  
  
  This use case: a record per step
&lt;/h4&gt;

&lt;p&gt;A docket case writes a work record for every step, and every change carries &lt;code&gt;decided_by&lt;/code&gt;: fingerprint, cross-encoder, guard, fallback, or alignment. That one field turns the record into a diagnosis:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;How often does the guard overrule the model?&lt;/strong&gt; On synthetic pairs, the fallback handled 1.6% of pairs; on real regulations, 14.9%. That jump is the record telling you the model is out of its depth, before any exam is run.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Which document types does the matcher fail on?&lt;/strong&gt; Utility tariffs, where the model alone scored zero. The record groups failures by source, which is exactly the data the next training round needs.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Do reviewers agree with the warrant?&lt;/strong&gt; Every accept, correction and rejection from General Counsel or an obligation owner is a label. Over time, the record shows which kinds of change the system names reliably, and which still need a person to read every word.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Are the unmapped changes really irrelevant?&lt;/strong&gt; When a reviewer marks an unmapped change as "this does apply to us", that is both a correction and a gap in the register.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The record is how Train knows what to train on, and how Ship knows when a new version is worse than the old one.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 4 · Evals: the docket exams
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;Pairs built by construction with change types held out on purpose, then real regulations to keep the synthetic results honest.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-built-by-construction.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-built-by-construction.svg" alt="Exam pairs built by construction: an illustration; the detail is in the text and tables below it." width="1380" height="760"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Exam pairs built by construction&lt;/p&gt;

&lt;p&gt;The docket test set is built so that the right answer is known by construction: take a real or synthetic provision, apply a known operator (restyle a number, swap a synonym, change a duration, soften a duty, drop a duty, negate a sentence), and the label follows from the operator. Equivalent operators: numeral restyle, synonym, "must" for "shall", punctuation, percent restyle, OCR typos. Material operators: duration, percent, cadence, negation, add a duty, change the modal, drop a duty. Four operators (dropped duty, modal change, OCR typos, percent restyle) never appear in training, only in the test, so the exam measures generalisation and not memory. Splits are by docket, so no docket appears on both sides.&lt;/p&gt;

&lt;h4&gt;
  
  
  What the comparison scored
&lt;/h4&gt;

&lt;p&gt;I tested four arms on 120 held-out version pairs:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Telling material changes from cosmetic ones (120 held-out synthetic pairs)&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;F1&lt;/th&gt;
&lt;th&gt;False alarms on cosmetic edits&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Fingerprint only&lt;/td&gt;
&lt;td&gt;47&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Energy Lab 1 differ&lt;/td&gt;
&lt;td&gt;40.2&lt;/td&gt;
&lt;td&gt;95.4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Trained matcher alone&lt;/td&gt;
&lt;td&gt;85.7&lt;/td&gt;
&lt;td&gt;2.7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Matcher + guard + fallback&lt;/td&gt;
&lt;td&gt;88.5&lt;/td&gt;
&lt;td&gt;4.9&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; THE OLD WAY · &lt;strong&gt;Fingerprints catch everything&lt;/strong&gt; They miss almost nothing, but flag every cosmetic edit as a change. An analyst drowning in alarms is not better off than one with no tool.&lt;/li&gt;
&lt;li&gt; THE MODEL · &lt;strong&gt;The matcher removes the noise&lt;/strong&gt; False alarms drop to under 3%. But it misses changes the guard would catch: duties softened, numbers moved.&lt;/li&gt;
&lt;li&gt; THE SYSTEM · &lt;strong&gt;The guard puts the misses back&lt;/strong&gt; Recall rises from 0.815 to 0.897 at the cost of a few more alarms. The best F1, and the misses it fixes are the expensive ones.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;F1 = how well it finds the changes that matter · false alarms = cosmetic edits flagged as changes · hover for values · &lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  Synthetic is not real
&lt;/h4&gt;

&lt;p&gt;Synthetic test data is clean; real regulations are not. On 29 real version pairs (55 real changes, labelled by an agent, not by a regulatory expert), the picture shifts:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Synthetic vs real regulations: F1&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Synthetic (120 pairs)&lt;/th&gt;
&lt;th&gt;Real regulations (29 pairs)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Trained matcher alone&lt;/td&gt;
&lt;td&gt;85.7&lt;/td&gt;
&lt;td&gt;71&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Matcher + guard + fallback&lt;/td&gt;
&lt;td&gt;88.5&lt;/td&gt;
&lt;td&gt;85&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; REAL DATA · &lt;strong&gt;The model alone drops&lt;/strong&gt; From 0.86 to 0.71, and to zero on utility tariffs, a format it never saw. The fallback handled 14.9% of real pairs against 1.6% of synthetic ones.&lt;/li&gt;
&lt;li&gt; WHY LAYERS · &lt;strong&gt;The system holds&lt;/strong&gt; The guard and fallback carry the real-world recall to 0.91. The report's own conclusion: the model is the weak link on real data, and it should be retrained on real pairs.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;the full system holds up on real data; the trained matcher alone does not · &lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That is why the strategy layers deterministic checks around every model: when the model meets data it wasn't trained on, the layers around it hold the line, and the record shows exactly where the model needs work.&lt;/p&gt;

&lt;h4&gt;
  
  
  Citations under attack
&lt;/h4&gt;

&lt;p&gt;A fifth of all cited passages were tampered with on purpose. All three tampered citations were caught, with no false alarms on the twelve clean ones. An early build raised false alarms on 30% of clean citations because of Windows line endings; normalising text before fingerprinting fixed it. That bug is exactly what an exam is for.&lt;/p&gt;

&lt;h4&gt;
  
  
  Obligations and the independent judge
&lt;/h4&gt;

&lt;p&gt;Extracting obligations from rules scored precision 1.000 and recall 0.630 on 72 labelled rows: everything it found was right, but it missed more than a third (recall 0.630), worst on reporting cadences and event-driven filings. An independent judge model, told explicitly not to trust the pipeline's own confidence, passed 10 of 10 canary cases for $2.17 (November 2026 prices).&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 5 · Train: the matcher, round by round
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;The clearest example of the progression: from no model, to a base model, to a model trained on my own data, and onward.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-training-rounds.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-training-rounds.svg" alt="The matcher, round by round: an illustration; the detail is in the text and tables below it." width="1380" height="850"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The matcher, round by round&lt;/p&gt;

&lt;h4&gt;
  
  
  Round 0: code only
&lt;/h4&gt;

&lt;p&gt;Energy Lab 1 compared versions with fingerprints and a character-level differ. Exact and cheap, and useless in practice: fingerprints flagged every cosmetic edit (100% false alarms; the differ, 95.4%), and saw "shall submit" and "may submit" as 97% similar. The lesson was not "add a model". It was: &lt;strong&gt;code is right about identity and wrong about meaning.&lt;/strong&gt; Keep the code for identity; find something for meaning.&lt;/p&gt;

&lt;h4&gt;
  
  
  Round 1: a base model, off the shelf
&lt;/h4&gt;

&lt;p&gt;The starting point was a small public reranker, &lt;strong&gt;MS MARCO MiniLM-L6&lt;/strong&gt; (22.7 million parameters), trained to score whether a passage answers a search query. It understands topic, which is why it was a good base, and it is blind to exactly what matters in rules: "within 30 days" and "within 60 days" are about the same topic, so it scores them as a near-perfect match.&lt;/p&gt;

&lt;p&gt;Why a &lt;strong&gt;cross-encoder&lt;/strong&gt; and not the other common choices:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Approach&lt;/th&gt;
&lt;th&gt;How it compares two texts&lt;/th&gt;
&lt;th&gt;Fit for "did this provision change?"&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Bi-encoder&lt;/strong&gt; (embeddings)&lt;/td&gt;
&lt;td&gt;encodes each text separately into a vector, compares vectors&lt;/td&gt;
&lt;td&gt;Fast for search over millions of documents, but the two texts never see each other, so a single changed number barely moves the vectors&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cross-encoder&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;reads both texts together as one input, with attention across them&lt;/td&gt;
&lt;td&gt;Every word of the old text can attend to every word of the new one: the right shape for spotting a small, decisive edit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Late interaction&lt;/strong&gt; (ColBERT-style)&lt;/td&gt;
&lt;td&gt;keeps a vector per token and matches token to token&lt;/td&gt;
&lt;td&gt;A middle ground; strong for retrieval, more machinery than a pairwise check needs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;A large language model as judge&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;reads both and reasons in text&lt;/td&gt;
&lt;td&gt;Strong, but slow and expensive per pair, and still unreliable on magnitudes; better as an occasional independent judge&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The comparison step is pairwise and local, so the cross-encoder is the right tool: precise, small enough to run on a CPU, and cheap enough to score every candidate pair. Retrieval (the keyword shortlist) narrows the pairs first, so the cross-encoder only sees about five candidates per provision: &lt;strong&gt;retrieve, then re-rank&lt;/strong&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  Round 2: fine-tuning on my own pairs
&lt;/h4&gt;

&lt;p&gt;The base model was fine-tuned with a new &lt;strong&gt;three-way head&lt;/strong&gt;: equivalent, material, unrelated. Its training data is &lt;strong&gt;33,307 version pairs&lt;/strong&gt; built by construction from 1,000 synthetic dockets and 157 real contracts, with the operators described in the exams above. Three choices made this round honest:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Hard negatives.&lt;/strong&gt; "Unrelated" examples are drawn from &lt;em&gt;other sections of the same docket&lt;/em&gt;, which look similar but aren't the same provision. Easy negatives teach a model nothing.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Held-out operators.&lt;/strong&gt; Four kinds of change never appear in training, so the exam can tell whether the model learned the idea or memorised the operator.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Splits by docket.&lt;/strong&gt; Nothing about a test docket leaks into training.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The whole round took about &lt;strong&gt;24 minutes on a CPU&lt;/strong&gt;, and the result was quantised to int8: &lt;strong&gt;23 MB&lt;/strong&gt;, about 22 ms per pair. On held-out synthetic pairs it reached &lt;strong&gt;F1 0.857 with 2.7% false alarms&lt;/strong&gt;, against 0.47 and 100% for fingerprints.&lt;/p&gt;

&lt;h4&gt;
  
  
  Round 3: a guard, because small models can't count
&lt;/h4&gt;

&lt;p&gt;The fine-tuned model still had a blind spot the literature predicts: &lt;strong&gt;small language models read numbers as word pieces&lt;/strong&gt;, so 45 and 75 look alike, and they cannot learn a distinction they were never shown. The held-out "shall → may" operator was caught &lt;strong&gt;0 times out of 209&lt;/strong&gt;. Dropped duties were missed 60% of the time, changed percentages 67%.&lt;/p&gt;

&lt;p&gt;The fix was not a bigger model. It was &lt;strong&gt;code wrapped around the model&lt;/strong&gt;: a deterministic guard that extracts durations, percentages, money, cadences, duty words and negations and can only escalate a pair, never silence it. Uncertain or contradicted pairs go to a fallback that names the change with rules. Together: &lt;strong&gt;F1 0.885&lt;/strong&gt;, recall up from 0.815 to 0.897. Training improved the model; the guard covered what training can't.&lt;/p&gt;

&lt;h4&gt;
  
  
  Round 4: real data
&lt;/h4&gt;

&lt;p&gt;The exam on real regulations showed where training has to aim: the model alone fell to &lt;strong&gt;F1 0.71&lt;/strong&gt;, to zero on utility tariffs, and the fallback's share rose from 1.6% to 14.9%. Round 4 fine-tunes again on &lt;strong&gt;real version pairs&lt;/strong&gt;: the 5,999 real pairs from 6,269 regulatory instruments (eCFR, the Federal Register, NERC, California bills, CPUC orders, CAISO, CARB, utility tariffs), with &lt;strong&gt;active learning&lt;/strong&gt; choosing which ones to label first: the pairs where the guard and the model disagree, and the sources where the record shows failures. A few hundred well-chosen labels are worth more than thousands of random ones.&lt;/p&gt;

&lt;h4&gt;
  
  
  Round 5: domain pre-training
&lt;/h4&gt;

&lt;p&gt;A model fine-tuned on regulatory pairs still starts from a base that learned language from web search queries. Round 5 is &lt;strong&gt;domain-adaptive pre-training&lt;/strong&gt;: continuing the base encoder's pre-training on the regulatory corpus itself (masked-language modelling over millions of words of rules and tariffs) &lt;em&gt;before&lt;/em&gt; fine-tuning. The model learns the vocabulary and structure of rules (defined terms, cross-references, schedules, "provided that" clauses) as background knowledge, and the fine-tuning round then teaches only the comparison. Then the cycle repeats: &lt;strong&gt;pre-train → fine-tune → exam → ship&lt;/strong&gt;, each version measured against the last.&lt;/p&gt;

&lt;h4&gt;
  
  
  Round 6: learning from reviewers
&lt;/h4&gt;

&lt;p&gt;The record collects something no public dataset has: &lt;strong&gt;reviewers' verdicts&lt;/strong&gt; on real cases. Every time General Counsel accepts, corrects or rejects a warrant, that is a preference: this reading over that one. Three techniques turn those verdicts into training:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Preference learning.&lt;/strong&gt; Pairs of readings with a preferred one train the model (or a small reward model) to rank the reading a reviewer would accept above the one they'd reject.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Reinforcement learning with verifiable rewards.&lt;/strong&gt; Much of this work has rewards that code can check without a person: a citation either verifies or it doesn't, a changed number either matches the guard's extraction or it doesn't, an extracted field either matches the document or it doesn't. Rewards that can't be fooled are what make reinforcement learning safe to use here; a model can't learn to please a checker that only accepts verified facts.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Distillation.&lt;/strong&gt; The independent judge, the strongest and most expensive model, labels a sample of hard cases; the small model learns from those labels. The expensive model's judgement ends up in the cheap one.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  The progression, in one chart
&lt;/h4&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The comparison step, round by round (held-out synthetic pairs)&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;F1&lt;/th&gt;
&lt;th&gt;False alarms on cosmetic edits&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Round 0 · code only&lt;/td&gt;
&lt;td&gt;47&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Round 2 · fine-tuned model&lt;/td&gt;
&lt;td&gt;85.7&lt;/td&gt;
&lt;td&gt;2.7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Round 3 · model + guard&lt;/td&gt;
&lt;td&gt;88.5&lt;/td&gt;
&lt;td&gt;4.9&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; ROUNDS 0 → 2 · &lt;strong&gt;From noise to signal&lt;/strong&gt; Fine-tuning a 22.7M-parameter base on 33,307 constructed pairs removed almost all the false alarms.&lt;/li&gt;
&lt;li&gt; ROUND 3 · &lt;strong&gt;Code covers what training can't&lt;/strong&gt; The guard trades a few more alarms for the misses that matter most: duties softened, numbers moved. Rounds 4 to 6 are judged on the real-regulation exam, where the bar is the 0.85 the full system reaches.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;measured rounds only · later rounds are judged on the real-regulation exam · hover for values · &lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Stage 6 · Ship: how a retrained matcher reaches the customer
&lt;/h3&gt;

&lt;p&gt;What this stage does here&lt;/p&gt;

&lt;p&gt;Training produces a new matcher; Ship is what turns it into a safe upgrade.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-upgrade-path.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Frc-upgrade-path.svg" alt="How a retrained matcher reaches the customer: an illustration; the detail is in the text and tables below it." width="1380" height="640"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How a retrained matcher reaches the customer&lt;/p&gt;

&lt;p&gt;When a training round produces a better matcher, it reaches Acme like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;The exam passes&lt;/strong&gt; on every docket set, with the new version beating the current one by more than the interval, synthetic and real reported separately.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;A new package version&lt;/strong&gt; is built with the new model pinned: Acme Framework 1.1. No passing exams, no package.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;It deploys to staging&lt;/strong&gt;, then to the customer's VM, by the same path every release takes.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;The record watches it on real work.&lt;/strong&gt; If the guard starts overruling the new model more often than the old one, or reviewers correct more warrants, that is a regression the exam didn't catch.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;The previous version is one step away.&lt;/strong&gt; Rolling back is a deploy of the last good version, not an emergency.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The customer's record also flows back: with Acme's permission, the kinds of change its reviewers correct become the next round's training brief. Ship closes the loop that Train opened.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running it as a hosted service
&lt;/h2&gt;

&lt;p&gt;RUNNING IT AS A HOSTED SERVICE&lt;/p&gt;

&lt;p&gt;When I run the framework for customers on hypothesys.ai, it stops being software they install and becomes a service they trust me with. That brings commitments the on-premises model doesn't: isolation between customers, security, compliance, performance, recovery, operations and cost.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why hosting is its own topic
&lt;/h3&gt;

&lt;p&gt;On a customer's premises, the customer's own controls carry most of the weight: its network, its identity provider, its backups, its auditors. Hosted, every one of those becomes mine. A customer's security team will not ask whether the cross-encoder is accurate; it will ask where its documents are stored, who can read them, what happens if my cluster fails, and whether its data trains anyone's model. Each of those questions needs an answer designed in, not added later.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-trust.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-trust.svg" alt="Layers of trust around a customer's tenant: the edge, identity, encryption and isolation, with compliance on one side and operations on the other." width="1700" height="1040"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What a customer trusts me with&lt;/p&gt;

&lt;h3&gt;
  
  
  The hosted architecture
&lt;/h3&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-architecture.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-architecture.svg" alt="The hosted architecture: customers reach one edge and identity layer; each customer's tenant has its own runtime, data, record and controls in its own namespace; a shared model gateway, GPU pool and platform (release, observability, keys, backups) serve all tenants." width="1700" height="920"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The hosted architecture&lt;/p&gt;

&lt;p&gt;A request's path, end to end:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;The edge.&lt;/strong&gt; A customer's person or system reaches &lt;code&gt;acme.hypothesys.ai&lt;/code&gt; (or the customer's own domain). The edge terminates TLS, applies the firewall and per-tenant rate limits, and routes by hostname to that tenant, and only that tenant.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Identity.&lt;/strong&gt; People sign in through the customer's own identity provider (OIDC single sign-on); systems use API keys scoped to one tenant. Roles map to the review queues: a CISO-office reviewer sees security fields, accounts payable sees invoices.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;The tenant.&lt;/strong&gt; Each customer has its own Kubernetes namespace holding its own runtime (intake, the crews, the agents, the four engines), its own database, its own object-store prefix, its own record, controls and audit trail, and its own pinned package and model versions. A network policy gives it no route to any other tenant.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Shared services, used through narrow doors.&lt;/strong&gt; The model gateway (routing, fallback, spend caps per tenant, usage logged without content), the GPU pool for open models (per-tenant quotas), and the platform (release, observability, keys, backups, on-call). None of them stores a tenant's documents.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What is shared and what is not:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Shared by all tenants&lt;/th&gt;
&lt;th&gt;Separate for every tenant&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;The code: images built once, signed, promoted&lt;/td&gt;
&lt;td&gt;Namespace, runtime pods and job queues&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The edge and identity layer&lt;/td&gt;
&lt;td&gt;Database, object storage, encryption keys&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The model gateway and GPU pool, with per-tenant quotas&lt;/td&gt;
&lt;td&gt;Record, audit trail, controls, review queues&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The release pipeline, observability stack, on-call&lt;/td&gt;
&lt;td&gt;Pinned package and model versions&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Tenancy and isolation
&lt;/h3&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-tenancy.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-tenancy.svg" alt="One tenant per customer: each has its own runtime, database, file store, key, record and quotas, with no route between tenants; only the code is shared." width="1700" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tenancy and isolation&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;One tenant per customer.&lt;/strong&gt; Each customer gets its own namespace, runtime, database, file store, record, audit trail and encryption keys. The code is shared; nothing else is.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;No cross-tenant reads, by construction.&lt;/strong&gt; Every query is scoped by tenant at the data layer, not just in the application, and the tests include attempts to read another tenant's cases.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Noisy neighbours are limited.&lt;/strong&gt; Each tenant has quotas for requests, documents, model spend and GPU time, so one customer's batch can't slow another's work.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Models are pinned per tenant.&lt;/strong&gt; A customer stays on the model and package version it validated until it accepts an upgrade.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Security
&lt;/h3&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-security.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-security.svg" alt="A request passes four checks: the edge, identity, the tenant's own key, and an outbound allow-list; operators have no standing access, and every release is signed and scanned." width="1700" height="720"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Security: every request passes four checks&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Identity and access.&lt;/strong&gt; The customer's people sign in through its own identity provider (single sign-on), with roles that match the review queues. My operators reach production only through audited, time-limited access, and access is reviewed regularly.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Encryption and keys.&lt;/strong&gt; Everything is encrypted in transit (TLS) and at rest, with per-tenant keys in a managed key store; a customer can bring its own key so that revoking it makes its data unreadable.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Network.&lt;/strong&gt; One hardened edge (a web application firewall, rate limits, authentication); internal services are not reachable from the internet; outbound calls go only to approved model providers.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Secure supply chain.&lt;/strong&gt; Signed images, an SBOM for every release, dependency and image scanning in CI, and no change reaches production without passing staging.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Testing the defences.&lt;/strong&gt; Regular penetration tests, the adversarial document set in every release, and the input gate's own exam.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Compliance and data protection
&lt;/h3&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-compliance.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-compliance.svg" alt="Evidence flows automatically from CI, access logs, restore drills and incident reviews into SOC 2, ISO 27001, the data agreement, residency and retention, and the no-training promise." width="1700" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Compliance: evidence from the systems, not a binder&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Attestations customers ask for:&lt;/strong&gt; a SOC 2 report (Type I, then Type II) and ISO 27001 certification for the hosted service, and HIPAA or sector rules where the customer's data requires them.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;A data processing agreement&lt;/strong&gt; that names every subprocessor, including each hosted model provider, and what each one may do with the data.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Data residency:&lt;/strong&gt; the customer chooses the region, and data stays in it.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Retention and deletion:&lt;/strong&gt; documents, cases and records are kept only as long as the customer's policy says, and deleted on request with proof.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;No training on customer data by default.&lt;/strong&gt; A customer's documents and reviewers' verdicts train nothing unless it opts in under a written agreement.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Performance and scale
&lt;/h3&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-performance.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-performance.svg" alt="A latency target for every stage, from a one-second intake decision to a full docket case within its one-minute budget, at a peak of 50 documents a minute; workers scale on queue depth." width="1700" height="840"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Performance and scale&lt;/p&gt;

&lt;p&gt;The labs set the bar: Document Lab was built for ten thousand documents a day, peaks of fifty a minute, and under thirty seconds for a short document, and reached a typical ten seconds per document. Hosted, the same targets apply per tenant:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Every stage has a latency target&lt;/strong&gt;, measured by the record: intake decisions in about a second, a short document in under thirty seconds, a docket comparison in seconds on a CPU, a full docket case within its one-minute budget.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Scaling follows the work:&lt;/strong&gt; a sync lane for small jobs and an async lane with chunks for long ones; workers scale with the queue; open models run on a shared GPU pool with per-tenant limits.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Cost stays visible:&lt;/strong&gt; every step's tokens, GPU time and dollars are metered per tenant, so a customer sees what its work cost and caps can stop runaway spend.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Reliability and recovery
&lt;/h3&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-reliability.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-reliability.svg" alt="Continuous backups give a restore point; after a failure the service is back within the recovery time; restores are per tenant, and the system degrades rather than fails." width="1700" height="660"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Reliability and recovery&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Backups&lt;/strong&gt; of every tenant's database and file store, with point-in-time restore, tested by restoring them.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Recovery targets&lt;/strong&gt; agreed per customer: how much data may be lost (the recovery point) and how long a restore may take (the recovery time).&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Provider outages degrade gracefully:&lt;/strong&gt; circuit breakers, retries that never write twice, a model gateway that can fall back to another model, and visible job states instead of silent failure.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Rollback&lt;/strong&gt; to the previous version is one deploy, for one tenant or for all.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Observability and incident response
&lt;/h3&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-observability.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-observability.svg" alt="The incident loop: detect, respond, tell, review, change a system, prove it; with per-tenant dashboards." width="1700" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Observability and incident response&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Per-tenant dashboards and traces:&lt;/strong&gt; every case traceable step by step, with the agent and model version that ran.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Alerts on what matters:&lt;/strong&gt; failed jobs, rising fallback rates, latency targets missed, spend near a cap, the guard overruling the model more than usual.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;An incident process:&lt;/strong&gt; on-call, a status page, customer notification within the time its contract and the law require, and a written post-incident review that changes a system, not just a habit.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Model and data governance
&lt;/h3&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-governance.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-governance.svg" alt="Every answer traces back to its citations, the model, the recipe and the policy that applied; model cards and a record of every change." width="1700" height="690"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Model and data governance&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;A model card for every model in a package:&lt;/strong&gt; what it is for, what it was trained on, its exam results, its known weaknesses.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Lineage from every answer back to its sources:&lt;/strong&gt; the citations, the model version, the recipe version, the policy that applied.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;A record of every change:&lt;/strong&gt; which recipe, prompt, model and package version a tenant ran, and when it changed.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Upgrades, support and pricing
&lt;/h3&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-upgrades.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-upgrades.svg" alt="Early and stable release channels, upgrades proven on each tenant's own exams and reversible; pricing metered from the record into an invoice with customer-set caps." width="1700" height="780"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Upgrades, support and pricing&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Release channels:&lt;/strong&gt; a stable channel for most customers and an early channel for those who want new models first; every upgrade announced, every one reversible.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Support tiers&lt;/strong&gt; with response times, and a support bundle the customer can send without sending documents.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Pricing that follows the work:&lt;/strong&gt; a platform fee plus usage (documents, cases, model spend), because the meter already exists in the record. Prices themselves are set per customer and stated with their date.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The blueprint: fourteen workstreams
&lt;/h3&gt;

&lt;p&gt;The hosted service breaks down into fourteen workstreams, each with what to build, the design choice, how it fits the stack that already runs the labs (the hypothesys clusters, the labs-core chart, Woodpecker → Kargo → Argo CD, cert-manager, the shared lab Postgres, Langfuse), and the test that proves it done.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-roadmap.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-roadmap.svg" alt="The build order in four phases: one hosted tenant; many tenants; enterprise-ready; certified and global, with the workstreams in each." width="1700" height="860"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The build order&lt;/p&gt;

&lt;h4&gt;
  
  
  H1 · Tenant model and provisioning
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A tenant registry (id, region, plan, hostname, keys, quotas, pinned versions) and a provisioner that creates everything a tenant needs from that entry&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Declarative: a tenant is a file in the deploy repo; the provisioner makes the cluster match it. No hand-made tenants&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;One Helm release of the labs-core chart per tenant (as each lab is today), a Kargo stage per tenant, values in the deploy repo under the tenant's name&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Onboarding a tenant is one command, idempotent, and leaves a working smoke test; teardown leaves nothing behind&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H2 · Isolation and the data layer
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A database per tenant, an object-store prefix per tenant, and a network policy that denies all cross-namespace traffic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Database-per-tenant (not shared tables) so a tenant can be restored, exported or deleted alone; a tenant id on every row as a second guard&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Start on the shared lab Postgres with one database per tenant; move large tenants to their own instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A cross-tenant test suite (read, list, search, export across tenants) fails closed in every release; a pod in one tenant cannot reach another&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H3 · Identity and access
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;OIDC single sign-on per tenant, roles mapped to review queues, tenant-scoped API keys, and time-limited, audited operator access&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The customer's identity provider is the source of truth for its people; operators get no standing access to production&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The labs' access-code gate is replaced by single sign-on for hosted tenants; operator access goes through the existing cluster access path, with expiry&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A customer user signs in with its own provider; an operator's access expires on its own and appears in the audit trail&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H4 · Encryption, secrets and keys
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;TLS everywhere, per-tenant keys for data at rest (envelope encryption), a secrets manager, rotation, and bring-your-own-key&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Keys per tenant, not per cluster, so revoking one customer's key makes only its data unreadable&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;cert-manager already issues TLS; the lab secret-sync scripts become a managed secrets store synced into each tenant's namespace&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Revoking a test tenant's key makes its data unreadable; a rotation runs without downtime&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H5 · The edge and the network
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;One edge per region with a web application firewall, per-tenant rate limits, hostname routing and custom domains; outbound calls only to an allow-list&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Nothing inside a tenant is reachable from the internet except through the edge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The ingress controller and DNS the labs already use, with per-tenant hosts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;An external scan finds only the edge; a tenant over its rate limit is slowed without affecting another&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H6 · The model gateway and the GPU pool
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;One gateway for every model call: routing, fallback, per-tenant keys and bring-your-own-key, spend caps, usage metering without content; a GPU pool for open models with per-tenant quotas&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The runtime never calls a provider directly; every call goes through the gateway, so caps, fallbacks and the no-training rule are enforced in one place&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;labs-core's LLM layer (LiteLLM-based, bring-your-own-key) becomes the shared gateway; Langfuse keeps the traces, scrubbed of content&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A provider outage fails over without a failed case; a tenant at its cap stops spending; no request body is ever logged&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H7 · Runtime scaling and performance
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Queue-driven autoscaling of workers, the sync and async lanes per tenant, per-stage latency targets, and load tests&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Scale on queue depth, not CPU, because the work arrives in bursts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The labs-core job states and lanes, with workers scaled per tenant&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A load test at fifty documents a minute meets every stage's target (see the appendix)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H8 · Observability and service targets
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Traces for every case tagged with the tenant, metrics, logs scrubbed of personal data, per-tenant dashboards, alerts, and a status page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The performance record and the traces share ids, so a slow case can be followed from the dashboard to the step and the model that ran&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Langfuse for model calls, plus a metrics and logs stack per region&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Any case is traceable end to end in under a minute; a synthetic failure fires the right alert&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H9 · Backups and disaster recovery
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Continuous database backups with point-in-time restore, versioned object storage, copies in a second location, agreed recovery targets&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Restore per tenant, because a mistake usually affects one customer, not all of them&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The shared lab Postgres gains archived write-ahead logs; the existing S3 backups pattern extends to tenant storage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A restore drill brings one tenant back to a chosen minute within the agreed time, every quarter&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H10 · Release and per-tenant upgrades
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Per-tenant stages that pin a package version, stable and early channels, a canary tenant, per-tenant rollback, change notices&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A tenant moves to a new version only when its own exams pass on its own samples&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Kargo already promotes freight stage by stage; tenants become stages after staging&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;One tenant upgrades without touching another, and rolls back in one step&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H11 · Metering, billing and cost
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Usage events from the record (documents, cases, tokens, GPU time) into a meter, invoices, and spend caps the customer sets&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Bill from the same record that measures performance, so the numbers can't disagree&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The record already writes cost per step; the gateway already meters tokens&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A month's metered usage reconciles with provider bills; a customer can see its spend by use case&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H12 · The customer console
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The hosted control plane: use cases, limits, allowed models, budgets, the stop switch, users and keys, the audit trail, data export and deletion requests&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Everything a customer needs to run its tenant without opening a ticket&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Acme Lab's control plane and audit APIs, behind single sign-on&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A customer onboards its users, changes a limit, exports its data and stops the system, unaided&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H13 · The compliance program
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Written policies, automated evidence collection, a SOC 2 Type I then Type II audit, ISO 27001, the data processing agreement and subprocessor list, regular penetration tests&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Collect evidence from the systems themselves (access logs, CI records, restore drills), so the audit is a byproduct of operating well&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Signed images, CI records and the audit trails already exist; they become evidence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A SOC 2 Type I report is issued; then a Type II over a full audit period&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;
  
  
  H14 · Incident response and support
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;An on-call rota, runbooks, a status page, notification templates, written post-incident reviews, support tiers and a support bundle without documents&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Design choice&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Every incident ends with a change to a system (a check, an alert, a rule), not only a note&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On the existing stack&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;My existing incident notes and runbooks, extended to customers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Done when&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A game-day incident is detected, communicated and closed within the targets, with a review published&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  A tenant's lifecycle
&lt;/h3&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-lifecycle.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fexams-records-and-crews%2Fhosted-lifecycle.svg" alt="A tenant's lifecycle: sign, provision, connect, configure, prove, live, upgrade (looping back to prove and live on every release), and offboard." width="1700" height="720"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A tenant's lifecycle&lt;/p&gt;

&lt;p&gt;Every step is a runbook with a script, idempotent and checked before and after, and every step writes to the tenant's audit trail:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;What happens&lt;/th&gt;
&lt;th&gt;Workstreams&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Sign&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Agreement, data processing agreement, region, plan&lt;/td&gt;
&lt;td&gt;H13&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Provision&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Registry entry → namespace, database, storage, keys, quotas, hostname&lt;/td&gt;
&lt;td&gt;H1, H2, H4, H5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Connect&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Single sign-on, roles, API keys, channels (mailbox, upload, API, webhook)&lt;/td&gt;
&lt;td&gt;H3, H5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Configure&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Use cases, controls, allowed models, budgets, approval limits&lt;/td&gt;
&lt;td&gt;H12&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Prove&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The customer's own exams on its own samples, before any live work&lt;/td&gt;
&lt;td&gt;H10 and the Evals stage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Live&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Real work; the record grows; dashboards and alerts on&lt;/td&gt;
&lt;td&gt;H7, H8, H11&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Upgrade&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A new version is proven on the tenant's exams, then promoted; rollback in one step&lt;/td&gt;
&lt;td&gt;H10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Offboard&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Export, deletion with a certificate, keys destroyed&lt;/td&gt;
&lt;td&gt;H4, H9, H12, H13&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;p&gt;WHAT I LEARNED&lt;/p&gt;

&lt;p&gt;The principles every stage follows, the path to adopting the framework, what could go wrong, and the strategy in one line.&lt;/p&gt;

&lt;h3&gt;
  
  
  Principles I kept
&lt;/h3&gt;

&lt;p&gt;Five labs produced a short list of rules that every part of the framework follows:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Principle&lt;/th&gt;
&lt;th&gt;Where it came from&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Cite or don't claim.&lt;/strong&gt; A value or a reading without a verified citation is not delivered&lt;/td&gt;
&lt;td&gt;Energy Lab 1, Document Lab&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;The fingerprint is the verifier; the model is not.&lt;/strong&gt; Exact checks are code&lt;/td&gt;
&lt;td&gt;Energy Lab 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Deterministic guards can only escalate.&lt;/strong&gt; Code can add caution, never remove it&lt;/td&gt;
&lt;td&gt;Energy Lab 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Escalate rather than guess.&lt;/strong&gt; A clear escalation beats a wrong classification&lt;/td&gt;
&lt;td&gt;Energy Lab 1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Controls and floors only tighten.&lt;/strong&gt; A customer can raise them; nothing goes below the framework's own floor, and only a person can lower a customer's&lt;/td&gt;
&lt;td&gt;Energy Lab 1, Document Lab&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Cheapest thing that does it well; exact things in code.&lt;/strong&gt; Models only where meaning is needed, each wrapped in code that can catch it&lt;/td&gt;
&lt;td&gt;Every lab&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Escalate per field, not per document.&lt;/strong&gt; Pay for the strong model only where it's needed&lt;/td&gt;
&lt;td&gt;Document Lab&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Unmapped is a finding, not a drop&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Energy Lab 2 (impact mapping built on Energy Lab 1's register)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;The write is the point of no return.&lt;/strong&gt; Outbox, idempotency, rollback&lt;/td&gt;
&lt;td&gt;Document Lab&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Errors are never swallowed.&lt;/strong&gt; The customer sees the same truth as the engineers&lt;/td&gt;
&lt;td&gt;Document Lab&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Report intervals, and keep synthetic and real apart&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;All of them&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Every case ends with a person&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;All of them&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  The path to adopting it
&lt;/h3&gt;

&lt;p&gt;The framework is adopted one use case and one stage at a time. Each layer is useful on its own, and each makes the next one safer.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;What it gives a team&lt;/th&gt;
&lt;th&gt;Stage&lt;/th&gt;
&lt;th&gt;Proof it's working&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;1 · Documents, proven&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Fields extracted with citations, rules applied, only the risky fields sent to a person&lt;/td&gt;
&lt;td&gt;Factory&lt;/td&gt;
&lt;td&gt;Invented key-field values under 1%, with the interval reported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;2 · Intake&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A use-case menu, intent classification, restrictions in code, the customer's controls&lt;/td&gt;
&lt;td&gt;Intake&lt;/td&gt;
&lt;td&gt;Out-of-scope recall near perfect on the intent set&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;3 · Rule change: compare&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Version-to-version changes with cosmetic noise removed&lt;/td&gt;
&lt;td&gt;Factory&lt;/td&gt;
&lt;td&gt;F1 and false-alarm rate on its own dockets, with intervals&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;4 · Rule change: interpret and decide&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Named changes mapped to its own obligations and owners, with verified citations&lt;/td&gt;
&lt;td&gt;Factory&lt;/td&gt;
&lt;td&gt;Reviewer agreement rate in the record&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;5 · Agents and their record&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Each role played by the right agent, measured on real work&lt;/td&gt;
&lt;td&gt;Agents&lt;/td&gt;
&lt;td&gt;A record with sample sizes on every number&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;6 · Exams and training&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Golden sets that gate every change; weak models improved round by round&lt;/td&gt;
&lt;td&gt;Evals, Train&lt;/td&gt;
&lt;td&gt;A retrained model that beats the last one on the exam, by more than the interval&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;7 · The package&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The whole system shipped as a version, hosted or on the customer's premises&lt;/td&gt;
&lt;td&gt;Ship&lt;/td&gt;
&lt;td&gt;A version that deploys only after its exams pass, and rolls back on its own record&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  What could go wrong
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Risk&lt;/th&gt;
&lt;th&gt;How the framework handles it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;A cosmetic edit buries the real change&lt;/td&gt;
&lt;td&gt;Fingerprints, a trained matcher, and a guard that can only escalate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A duty quietly becomes optional&lt;/td&gt;
&lt;td&gt;The guard counts duty words; "shall → may" is always a change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The model meets data it wasn't trained on&lt;/td&gt;
&lt;td&gt;Layers around the model hold recall; the record shows where to retrain&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A citation points at text that has changed&lt;/td&gt;
&lt;td&gt;Every citation re-verified before routing; drift blocks the case&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A request squeezed into the wrong intent&lt;/td&gt;
&lt;td&gt;A fixed list, a threshold, a real "none of these", an exam for out-of-scope recall&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A clever request talks past the rules&lt;/td&gt;
&lt;td&gt;Restrictions in code, outside every prompt&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A document attacks the crew&lt;/td&gt;
&lt;td&gt;Injection and hidden-text checks before any model reads it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A provider outage fails silently&lt;/td&gt;
&lt;td&gt;Circuit breaker, visible job states, retries that never write twice&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The customer's data leaves the building&lt;/td&gt;
&lt;td&gt;Small and open models on its hardware; the record keeps numbers, not documents&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A bad upgrade at the customer&lt;/td&gt;
&lt;td&gt;No passing exams, no package; the record watches after deploy, and the previous version is one step away&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Training on data that may not leave&lt;/td&gt;
&lt;td&gt;Training runs inside the boundary the data belongs to; nothing trains on a customer's data without its consent&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A hosted tenant sees another's data&lt;/td&gt;
&lt;td&gt;One tenant per customer by construction, scoped at the data layer, tested in every release&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  The strategy in one line
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Intake&lt;/strong&gt; reads the intent and enforces the customer's rules. &lt;strong&gt;Factory&lt;/strong&gt; puts the right crew on the job, mostly code and small models, with a language model only where words are needed. &lt;strong&gt;Agents&lt;/strong&gt; do the work, each a model in a harness with tools and permissions, and their performance record shows who is actually good at what. &lt;strong&gt;Evals&lt;/strong&gt; keeps everyone honest, with intervals. &lt;strong&gt;Train&lt;/strong&gt; makes the weak part better, one proven round at a time. &lt;strong&gt;Ship&lt;/strong&gt; takes the proven system to where it runs, hosted on hypothesys.ai or on the customer's own premises, and brings back what it learns there.&lt;/p&gt;

&lt;p&gt;A regulator changes a rule. By the time a person looks at it, they see what changed, what it means for them, who owns it, what to do, and the exact words that prove it. Then they decide.&lt;/p&gt;

&lt;h2&gt;
  
  
  Appendix: operating the hosted service
&lt;/h2&gt;

&lt;p&gt;APPENDIX · THE OPERATIONAL DETAIL&lt;/p&gt;

&lt;p&gt;The checklists behind the hosted-service section: the controls, the targets per stage, and the runbooks.&lt;/p&gt;

&lt;h3&gt;
  
  
  A1 · Control checklist
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Area&lt;/th&gt;
&lt;th&gt;Control&lt;/th&gt;
&lt;th&gt;Evidence&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Tenancy&lt;/td&gt;
&lt;td&gt;Per-tenant namespace, database, file store, keys, record&lt;/td&gt;
&lt;td&gt;Cross-tenant read tests in every release&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Identity&lt;/td&gt;
&lt;td&gt;Single sign-on for customers; time-limited, audited operator access&lt;/td&gt;
&lt;td&gt;Access logs; quarterly access reviews&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Encryption&lt;/td&gt;
&lt;td&gt;TLS in transit; per-tenant keys at rest; bring-your-own-key option&lt;/td&gt;
&lt;td&gt;Key store configuration; key rotation log&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Network&lt;/td&gt;
&lt;td&gt;One edge with a firewall and rate limits; no public internal services; allow-listed outbound&lt;/td&gt;
&lt;td&gt;Network policy; external scan results&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Supply chain&lt;/td&gt;
&lt;td&gt;Signed images, SBOM, dependency and image scanning, staging before production&lt;/td&gt;
&lt;td&gt;CI records; signature verification at deploy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Input safety&lt;/td&gt;
&lt;td&gt;The intake gate on every file; adversarial set in every release&lt;/td&gt;
&lt;td&gt;Gate exam results&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data protection&lt;/td&gt;
&lt;td&gt;Data processing agreement, subprocessor list, residency, retention and deletion&lt;/td&gt;
&lt;td&gt;Signed agreements; deletion records&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Training consent&lt;/td&gt;
&lt;td&gt;No training on customer data without written opt-in&lt;/td&gt;
&lt;td&gt;Consent register; training data lineage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backups&lt;/td&gt;
&lt;td&gt;Per-tenant backups with point-in-time restore&lt;/td&gt;
&lt;td&gt;Restore tests&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Monitoring&lt;/td&gt;
&lt;td&gt;Per-tenant dashboards, alerts, traces&lt;/td&gt;
&lt;td&gt;Alert history&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Incidents&lt;/td&gt;
&lt;td&gt;On-call, status page, notification, post-incident reviews&lt;/td&gt;
&lt;td&gt;Incident log&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Penetration testing&lt;/td&gt;
&lt;td&gt;Regular external tests&lt;/td&gt;
&lt;td&gt;Reports and fixes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  A2 · Targets per stage
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Stage&lt;/th&gt;
&lt;th&gt;What is measured&lt;/th&gt;
&lt;th&gt;Target&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Intake&lt;/td&gt;
&lt;td&gt;Time to an intake decision&lt;/td&gt;
&lt;td&gt;About a second&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Intake&lt;/td&gt;
&lt;td&gt;Out-of-scope recall on the intent set&lt;/td&gt;
&lt;td&gt;Near perfect&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Factory · documents&lt;/td&gt;
&lt;td&gt;Time per short document (under ten pages)&lt;/td&gt;
&lt;td&gt;Under 30 seconds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Factory · documents&lt;/td&gt;
&lt;td&gt;Invented key-field values&lt;/td&gt;
&lt;td&gt;Under 1%, upper bound of the interval reported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Factory · rule change&lt;/td&gt;
&lt;td&gt;Docket comparison&lt;/td&gt;
&lt;td&gt;Seconds on a CPU&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Factory · rule change&lt;/td&gt;
&lt;td&gt;A full docket case&lt;/td&gt;
&lt;td&gt;Within its one-minute budget&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Agents&lt;/td&gt;
&lt;td&gt;Every step has a work record&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Evals&lt;/td&gt;
&lt;td&gt;Every release passes its exams&lt;/td&gt;
&lt;td&gt;No passing exams, no release&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Train&lt;/td&gt;
&lt;td&gt;Every retrained model beats the current one&lt;/td&gt;
&lt;td&gt;By more than the interval&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ship&lt;/td&gt;
&lt;td&gt;Rollback&lt;/td&gt;
&lt;td&gt;One deploy&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  A3 · Runbooks
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;  Onboard a tenant: namespace, keys, single sign-on, quotas, first package, smoke test.&lt;/li&gt;
&lt;li&gt;  Offboard a tenant: export, deletion, deletion certificate.&lt;/li&gt;
&lt;li&gt;  Upgrade a tenant, and roll one back.&lt;/li&gt;
&lt;li&gt;  Restore a tenant from backup.&lt;/li&gt;
&lt;li&gt;  Rotate a tenant's keys; respond to a key revocation.&lt;/li&gt;
&lt;li&gt;  Respond to a provider outage, a security incident, a data request.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Originally published at &lt;a href="https://agentair.ai/blog/exams-records-and-crews" rel="noopener noreferrer"&gt;https://agentair.ai/blog/exams-records-and-crews&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>agenticengineering</category>
      <category>regulatedindustries</category>
      <category>anyindustry</category>
      <category>energyutilities</category>
    </item>
    <item>
      <title>Why I Built agentair.ai</title>
      <dc:creator>Gaurav Narasimhan</dc:creator>
      <pubDate>Sat, 05 Dec 2026 20:15:12 +0000</pubDate>
      <link>https://dev.to/gaurav_narasimhan/why-i-built-agentairai-ogf</link>
      <guid>https://dev.to/gaurav_narasimhan/why-i-built-agentairai-ogf</guid>
      <description>&lt;p&gt;&lt;em&gt;Coding was one skill. Now the same person runs evals, loops, deploys, research, writing and, next, training runs, often in the same hour, with agents doing the flying. This is the story of why I built agentair.ai, the word I found for the work, and what One Roof does about it today.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Why this post changed&lt;/p&gt;

&lt;p&gt;I first published this post on November 19 under the title &lt;em&gt;"The Agents Aren't the Bottleneck Anymore. You Are."&lt;/em&gt; A day of building agentair.ai changed my mind about what the story is. It is not about the agents, and it is not really about control. It is about range: how many different kinds of work one person now has to keep in mind at once. This is the rewrite.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this post, and why now
&lt;/h2&gt;

&lt;p&gt;On October 16 I had twenty-two terminal tabs open across five windows. Claude Code, Codex, Gemini CLI and Kimi were working across sixty-six repositories. Every tab had the same grey icon and a title cut to fourteen characters. Three of them had not moved in forty minutes: one wanted permission to run the tests, one had ended its turn with &lt;em&gt;"Shall I push the branch?"&lt;/em&gt;, and one had hit its subscription limit halfway through a refactor.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;October 16: twenty-two tabs that all looked the same. Three of them had been waiting on me for forty minutes, and the machine was out of memory. · &lt;a href="https://agentair.ai/blog/agent-airspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;None of them were waiting for the processor. They were waiting for me. That afternoon I started building One Roof, a single place to see and answer every agent.&lt;/p&gt;

&lt;p&gt;Two weeks later, on November 1, I gave the way I was working a name: &lt;strong&gt;chorus coding&lt;/strong&gt;, several coding agents on the same job, each doing the part it does best and one checking another. It was the right idea for the work I was doing then.&lt;/p&gt;

&lt;p&gt;Then the work changed under me. By the middle of November my day was no longer mostly code. It was an eval comparing two agents on my own bugs, a loop that had run overnight, a deploy waiting at staging, a paper half-read by an agent, a blog post in draft, and plans for the first training runs. The agents were doing more of the flying every week. What I was doing was something else: holding all of it in my head and choosing what to look at next.&lt;/p&gt;

&lt;p&gt;On November 19 I named the system &lt;strong&gt;Agent Airspace&lt;/strong&gt; and registered &lt;strong&gt;agentair.ai&lt;/strong&gt; for it. On November 20, while building the site, I found the word for what the person in the middle actually does: &lt;strong&gt;sky stacking&lt;/strong&gt;. This post is the introduction to both, and to the site.&lt;/p&gt;

&lt;blockquote&gt;
&lt;ol&gt;
&lt;li&gt; Oct 16 · &lt;strong&gt;22 tabs&lt;/strong&gt; Three agents waiting on me. One Roof starts that afternoon.&lt;/li&gt;
&lt;li&gt; Nov 1 · &lt;strong&gt;Chorus coding&lt;/strong&gt; Several agents on one job, one checking another.&lt;/li&gt;
&lt;li&gt; Mid Nov · &lt;strong&gt;The work outgrows code&lt;/strong&gt; Evals, loops, deploys, papers, posts, training plans.&lt;/li&gt;
&lt;li&gt; Nov 19 · &lt;strong&gt;Agent Airspace&lt;/strong&gt; The system gets a name, and agentair.ai.&lt;/li&gt;
&lt;li&gt; Nov 20 · &lt;strong&gt;Sky stacking&lt;/strong&gt; A word for what the person in the middle does.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;Five weeks, from twenty-two tabs to a word for the work. · &lt;a href="https://agentair.ai/blog/agent-airspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  You need range now
&lt;/h2&gt;

&lt;p&gt;For most of the history of software, being good at the job meant being good at one thing: writing code. Testing, shipping, measuring, research and writing were real, but they were somebody else's job, or a small slice of yours.&lt;/p&gt;

&lt;p&gt;Agents changed the price of each of those. An agent will write the code, run the tests, draft the post, read the paper, set up the eval and watch the loop. That does not make the other skills disappear. It puts all of them on the same person's desk, on the same day, circling at once:&lt;/p&gt;

&lt;blockquote&gt;
&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;CODE&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;TEST&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;SHIP&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;MEASURE&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;RESEARCH&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;WRITE&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;TRAIN&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;JUDGE&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;A holding stack of skills: each one circles at its own height, and all of them are yours. Tap one to hold it. · &lt;a href="https://agentair.ai/blog/agent-airspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It's not just coding anymore. The agents do the flying; you need the range to direct all of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The word for it: sky stacking
&lt;/h2&gt;

&lt;p&gt;Near a busy airport, planes waiting to land circle in a &lt;strong&gt;holding stack&lt;/strong&gt;: each at its own height, each waiting its turn, all of them still flying. Nobody in the tower flies them. The job is to keep every one of them in mind and decide which comes down next.&lt;/p&gt;

&lt;p&gt;That is my day now, and it needed a word the way "vibe coding" names generating code and hoping. The word is &lt;strong&gt;sky stacking&lt;/strong&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Sky stacking:&lt;/strong&gt; keeping many kinds of agent work in the air at once, each at its own height, and choosing what comes down next.&lt;/p&gt;

&lt;p&gt;EVAL IN THE AIR&lt;br&gt;&lt;br&gt;
PAPER ON FINAL&lt;br&gt;&lt;br&gt;
DEPLOY HOLDING&lt;br&gt;&lt;br&gt;
ALL OF IT IN MY HEAD&lt;br&gt;&lt;br&gt;
THIS IS SKY STACKING&lt;/p&gt;

&lt;p&gt;&lt;em&gt;A stack at ten in the morning, then the name for it. · &lt;a href="https://agentair.ai/blog/agent-airspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It is less about control than it sounds. Most of it is juggling:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  remembering what each thing in the air was for, and what it already knows;&lt;/li&gt;
&lt;li&gt;  noticing which one has gone quiet and is actually waiting on me;&lt;/li&gt;
&lt;li&gt;  switching from a code review to a paper to a deploy without losing the thread of any of them;&lt;/li&gt;
&lt;li&gt;  choosing the order, because two things can't land at once and some can wait;&lt;/li&gt;
&lt;li&gt;  and only then, deciding whether what landed is good enough.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Three names, then, and one skill underneath them:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;What it is&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Agent Airspace&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The system: many agents in flight on many kinds of work, one person in charge, nothing landing without a look.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Air boss&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The person in the middle. On an aircraft carrier, the officer who runs every launch and landing on a crowded deck.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Sky stacking&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;What the air boss does all day.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Range&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The skill it takes.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Agent Airspace, drawn
&lt;/h2&gt;

&lt;p&gt;This is the picture on the front page of agentair.ai, and it is the most honest drawing I have of my working day. Every kind of work is an origin at the edge. Flights head in toward &lt;strong&gt;you&lt;/strong&gt; in the middle. Loops circle overnight in the corner. Releases climb through develop, lift and live. And the only way down is the runway, where the count of what has &lt;strong&gt;landed&lt;/strong&gt; ticks up.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Agent Airspace, live: every kind of work flies toward one person; loops circle overnight; releases climb develop → lift → live; the runway is the only way down. · &lt;a href="https://agentair.ai/blog/agent-airspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Where it started: chorus coding
&lt;/h2&gt;

&lt;p&gt;Chorus coding made a simple case: one agent cannot do it all. It costs too much, it runs out, it is not the best at everything, and it should not check its own work. The arithmetic is unforgiving. An agent that is right 99 % of the time per step is right only 61 % of the time across fifty steps. A second agent that catches four mistakes in five takes a 36 % chance of a clean result to 82 %.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;A chorus is a formation: one agent builds, another checks, and the work goes back until the check passes. · &lt;a href="https://agentair.ai/blog/agent-airspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I still believe every word of that. But the name described &lt;strong&gt;the agents&lt;/strong&gt;, and the hard part was never the agents. And the work stopped being only code. A chorus is now one &lt;strong&gt;formation&lt;/strong&gt; inside a bigger sky: several agents flying one mission. Agent Airspace is the sky every formation flies in, with one person keeping track of all of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  One day, every kind of work
&lt;/h2&gt;

&lt;p&gt;This is a real shape of a day, played the way it plays on agentair.ai. Press play, or step through it.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;ONE DAY · EVERY KIND OF WORK&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; 07:00 · &lt;strong&gt;Overnight loops report in.&lt;/strong&gt; Loops ran while I slept, each with a goal, a check that proves it worked, and a cost limit. Those whose check passed wait for my approval; those that hit their limit stopped and left a note.&lt;/li&gt;
&lt;li&gt; 08:00 · &lt;strong&gt;Questions only I can answer.&lt;/strong&gt; May I run the tests? Shall I push? Which schema? Every agent’s question lands in one Inbox with its context, and I answer each in place, in seconds.&lt;/li&gt;
&lt;li&gt; 09:30 · &lt;strong&gt;Three builds at once.&lt;/strong&gt; Auth, billing and a migration, each agent on its own branch and folder, so no two ever edit the same files. Each merges back only after its checks.&lt;/li&gt;
&lt;li&gt; 10:30 · &lt;strong&gt;A second agent reviews.&lt;/strong&gt; Claude writes the change; Codex reviews it against set rules and sends it back until it passes. An agent reviewing its own work tends to approve it.&lt;/li&gt;
&lt;li&gt; 11:30 · &lt;strong&gt;Read before building.&lt;/strong&gt; An agent reads the papers and the docs and leaves notes. I read the summary before any code changes.&lt;/li&gt;
&lt;li&gt; 13:00 · &lt;strong&gt;Which agent is actually better?&lt;/strong&gt; Two agents get the same bugs from my own backlog, again and again. I keep the one that wins by more than the noise.&lt;/li&gt;
&lt;li&gt; 14:30 · &lt;strong&gt;A team for one kind of task.&lt;/strong&gt; Split the work across parallel branches, merge, then check. The Agent factory will save the team, the pattern and the finish line as a recipe.&lt;/li&gt;
&lt;li&gt; 16:00 · &lt;strong&gt;Release, stage by stage.&lt;/strong&gt; Several teams’ changes move through develop, lift and live. Each stage waits for green checks; live also waits for my yes.&lt;/li&gt;
&lt;li&gt; 17:30 · &lt;strong&gt;Write it up.&lt;/strong&gt; A post or a section of the paper, drafted while the rest flies. Nothing is published until I have read it.&lt;/li&gt;
&lt;li&gt; 18:30 · &lt;strong&gt;Learn in the gaps.&lt;/strong&gt; Between questions there are three to six minutes of waiting. One narrated card per wait: 238 cards and 50 papers.&lt;/li&gt;
&lt;li&gt; 21:00 · &lt;strong&gt;See what actually happened.&lt;/strong&gt; Every agent action of the day, in order, with its cost per run. The record I check before trusting a result.&lt;/li&gt;
&lt;li&gt; 22:00 · &lt;strong&gt;Tonight’s flights go out.&lt;/strong&gt; The next loops leave for the night. Next on the roadmap: fine-tuning and RL runs on GPUs, fed by what the evals found.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://agentair.ai/blog/agent-airspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Read across the times and the pattern is the point. Seven of the twelve are not code at all. Each one is a different skill, and most of them are in the air at the same moment.&lt;/p&gt;

&lt;h2&gt;
  
  
  What One Roof does about it today
&lt;/h2&gt;

&lt;p&gt;One Roof is the tool I sky stack with. It started as the place I watched coding agents; with 2.0.8 (November 19) it is becoming a toolkit for all agent work: thirteen places in six groups, along the rail on the left of every screenshot below.&lt;/p&gt;

&lt;p&gt;What each group gives a person who is juggling, four of them in motion:&lt;/p&gt;

&lt;blockquote&gt;
&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Work · the Inbox&lt;/strong&gt; Every agent's question lands in one column, answered in place. Nothing is approved for me.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Run · Loops&lt;/strong&gt; A goal, a check and a limit. Loops run overnight and wait for my yes in the morning.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Models · Evals&lt;/strong&gt; Two agents on the bugs I already fixed. A winner only when the gap beats the noise.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Agents · Factory&lt;/strong&gt; A recipe: the team, the pattern, the finish line and the budget. Five built in.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;Inbox, Loops, Evals and the Factory: four of the thirteen places in One Roof 2.0.8. · &lt;a href="https://agentair.ai/blog/agent-airspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In more detail, starting with the morning:&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%2Fqo9h8hv537efvtcf9u6h.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%2Fqo9h8hv537efvtcf9u6h.png" alt="One Roof 2.0.8 Home" width="800" height="688"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Home in One Roof 2.0.8, the morning after: what failed overnight, what needs a decision now, what ran and when, and the new thirteen-place rail on the left. My own machine, captured for the 2.0.8 release.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Work: Home, Inbox, Sessions, Projects.&lt;/strong&gt; Home is a morning front page: what needs a decision now, what ran overnight, what went wrong and what ran fine. The &lt;strong&gt;Inbox&lt;/strong&gt; is where every agent's question or permission prompt lands, blocked asks first, answered in place with the prompt's own options (keys 1–9). Nothing is ever approved for me. &lt;strong&gt;Sessions&lt;/strong&gt; are real terminals, kept alive by a background service, shown one at a time or as a wall.&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%2Fvntn6joc804u9pja8fv7.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%2Fvntn6joc804u9pja8fv7.png" alt="The Inbox" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Inbox: each agent's question with its own options, answered in place. Demo sessions, captured in 2.0.3.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Agents: Agents, Factory.&lt;/strong&gt; The Factory's recipe library is in: a recipe sets the roles, the pattern (maker → checker, pipeline, fan-out → merge, two answers → judge, loop until the check passes), the finish line and the budget, with five built in. Running a recipe end to end, and an Agents roster with sign-ins, limits and cost, are planned.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Run: Loops, Trace, Resources.&lt;/strong&gt; A &lt;strong&gt;loop&lt;/strong&gt; has a goal and a check, runs in its own worktree, stops after eight rounds, three hours or the same failure twice, and never pushes or merges by itself: results wait in the Inbox. &lt;strong&gt;Trace&lt;/strong&gt; keeps a 30-day record of each session's moments. &lt;strong&gt;Resources&lt;/strong&gt; shows memory and CPU per session, warns when a session passes 1 GB and ends it at 2 GB, before the machine freezes.&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%2Faxt7ju0sxq7qean13cou.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%2Faxt7ju0sxq7qean13cou.png" alt="Loops" width="799" height="562"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Loops, grouped by kind: what is on, how the last runs went, what runs next, and what is waiting for me. Demo data, captured in 2.0.6.&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%2F1pap69qzxuiguk9kjaf6.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%2F1pap69qzxuiguk9kjaf6.png" alt="Resources" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Resources: memory and CPU for One Roof, each session and every app, with the browser tabs that hold the most. Demo data, captured in 2.0.3.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Models: Evals, Train.&lt;/strong&gt; &lt;strong&gt;Evals&lt;/strong&gt; (still marked draft) puts agents and models on the bugs I already fixed in my own repositories, each in a fresh worktree, and refuses to name a winner on fewer than ten shared questions. &lt;strong&gt;Train&lt;/strong&gt;, fine-tuning and RL runs fed by Evals, is next.&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%2Fzstj2zc3atwoe98euqzg.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%2Fzstj2zc3atwoe98euqzg.png" alt="Evals" width="799" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Evals: one-shot jobs and agent jobs, each bar showing where its evidence comes from. Still marked draft. Captured in 2.0.5.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ship.&lt;/strong&gt; The path from many people's branches to production, stage by stage, with releases and deploy status, is planned.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Learn.&lt;/strong&gt; The narrated Agentic Engineering deck, 50 papers and the people behind them, built for the three to six minutes between one agent's question and the next.&lt;/p&gt;

&lt;p&gt;It runs Claude Code, Codex, Gemini CLI, Kimi and Antigravity, plus OpenCode and Goose on a hosted model with a spending cap. Every session starts in one workspace with one rulebook and a short brief on what the other sessions are doing, so two agents never act on different facts.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;What was in my airspace on November 19, 2026&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;7&lt;/strong&gt; Coding agents&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;14&lt;/strong&gt; Open-weight models&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;66&lt;/strong&gt; Repositories&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;15&lt;/strong&gt; Loops switched on&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://agentair.ai/blog/agent-airspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What agentair.ai is for
&lt;/h2&gt;

&lt;p&gt;agentair.ai is the home of the idea, separate from any one tool:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;The picture.&lt;/strong&gt; The airspace, the day and the rail, live, so the idea can be shown rather than explained.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The skills.&lt;/strong&gt; &lt;em&gt;Learn the skills&lt;/em&gt; leads to the Agentic Engineering course: context, loops, evidence and procedure, the system around the agents that makes range possible.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The writing.&lt;/strong&gt; This blog, on every site I run, starting with this post.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;A teams preview.&lt;/strong&gt; Sky stacking is hard alone; it is harder across a team. Signing in is for a teams layer (shared oversight, spending limits, an audit trail), invite-only for now. One Roof itself stays free, open source and needs no account.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What comes next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Training as a flight like any other.&lt;/strong&gt; Evals tell me which agent or model is better on my own work; the next step is to make one better, with fine-tuning and RL runs started, watched and judged from the same place.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The Factory, running.&lt;/strong&gt; Recipes that run end to end: the team, the pattern and the finish line saved once and reused.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Ship for teams.&lt;/strong&gt; Many people's changes moving through develop, lift and live, each stage waiting for green checks and a person's yes.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;A fuller record.&lt;/strong&gt; Trace with an X-ray of every agent action and its cost, so a result can be checked before it is trusted.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;An agent roster.&lt;/strong&gt; Every agent and account, its sign-in, its limits and its cost, in one list.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Agents will keep getting faster, and there will be more of them in the air. The work that is left for people is wider, not smaller. You need range now. Sky stacking is how I keep all of it in the air, One Roof is where I do it, and agentair.ai is where I am writing it down.&lt;/p&gt;




&lt;p&gt;Originally published at &lt;a href="https://agentair.ai/blog/agent-airspace" rel="noopener noreferrer"&gt;https://agentair.ai/blog/agent-airspace&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>agenticengineering</category>
      <category>agentairspace</category>
      <category>skystacking</category>
      <category>agentair</category>
    </item>
    <item>
      <title>Chorus Coding Will Be the Norm. Here's How to Keep Up.</title>
      <dc:creator>Gaurav Narasimhan</dc:creator>
      <pubDate>Sat, 05 Dec 2026 20:14:36 +0000</pubDate>
      <link>https://dev.to/gaurav_narasimhan/chorus-coding-will-be-the-norm-heres-how-to-keep-up-c05</link>
      <guid>https://dev.to/gaurav_narasimhan/chorus-coding-will-be-the-norm-heres-how-to-keep-up-c05</guid>
      <description>&lt;p&gt;&lt;em&gt;One agent can't do it all: it costs too much, it runs out, it isn't the best at everything, and it shouldn't check its own work. A chorus of agents fixes all four. The hard part is keeping up and staying in charge. One Roof is how I do it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Update, November 2026&lt;/p&gt;

&lt;p&gt;I now call this way of working &lt;strong&gt;Agent Airspace&lt;/strong&gt;: many agents in flight, one person in charge, nothing lands without clearance. Chorus coding is one formation inside it. &lt;em&gt;&lt;a href="https://dev.to/blog/agent-airspace"&gt;Read why →&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu9t8mdijjs2gpi7i7n9x.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%2Fu9t8mdijjs2gpi7i7n9x.png" alt="One Roof 2.0 Home with seven windows" width="800" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Home in One Roof 2.0: seven windows, one per area of work (today's desk, a release, a checkout redesign, a data pipeline, docs, bugs, research), 33 sessions across seven agents, each window with as many sessions as its work needs. Demo sessions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;An agent that gets each step right 99 % of the time finishes a fifty-step task correctly only 61 % of the time.&lt;/strong&gt; At 95 % per step, a twenty-step task comes out right barely a third of the time. That is the truth about compounding, and it is why the popular picture, hand the work to an agent, sit back and relax, does not hold. Long chains of agent work need checks between the steps, and people who look.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;How often a whole task comes out right, by number of steps&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;99 % right per step&lt;/th&gt;
&lt;th&gt;95 % right per step&lt;/th&gt;
&lt;th&gt;90 % right per step&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;98&lt;/td&gt;
&lt;td&gt;90.2&lt;/td&gt;
&lt;td&gt;81&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;96.1&lt;/td&gt;
&lt;td&gt;81.5&lt;/td&gt;
&lt;td&gt;65.6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;94.1&lt;/td&gt;
&lt;td&gt;73.5&lt;/td&gt;
&lt;td&gt;53.1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;92.3&lt;/td&gt;
&lt;td&gt;66.3&lt;/td&gt;
&lt;td&gt;43&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;90.4&lt;/td&gt;
&lt;td&gt;59.9&lt;/td&gt;
&lt;td&gt;34.9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;88.6&lt;/td&gt;
&lt;td&gt;54&lt;/td&gt;
&lt;td&gt;28.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;14&lt;/td&gt;
&lt;td&gt;86.9&lt;/td&gt;
&lt;td&gt;48.8&lt;/td&gt;
&lt;td&gt;22.9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;16&lt;/td&gt;
&lt;td&gt;85.1&lt;/td&gt;
&lt;td&gt;44&lt;/td&gt;
&lt;td&gt;18.5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;18&lt;/td&gt;
&lt;td&gt;83.5&lt;/td&gt;
&lt;td&gt;39.7&lt;/td&gt;
&lt;td&gt;15&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;td&gt;81.8&lt;/td&gt;
&lt;td&gt;35.8&lt;/td&gt;
&lt;td&gt;12.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;22&lt;/td&gt;
&lt;td&gt;80.2&lt;/td&gt;
&lt;td&gt;32.4&lt;/td&gt;
&lt;td&gt;9.8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;24&lt;/td&gt;
&lt;td&gt;78.6&lt;/td&gt;
&lt;td&gt;29.2&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;26&lt;/td&gt;
&lt;td&gt;77&lt;/td&gt;
&lt;td&gt;26.4&lt;/td&gt;
&lt;td&gt;6.5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;28&lt;/td&gt;
&lt;td&gt;75.5&lt;/td&gt;
&lt;td&gt;23.8&lt;/td&gt;
&lt;td&gt;5.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;30&lt;/td&gt;
&lt;td&gt;74&lt;/td&gt;
&lt;td&gt;21.5&lt;/td&gt;
&lt;td&gt;4.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;32&lt;/td&gt;
&lt;td&gt;72.5&lt;/td&gt;
&lt;td&gt;19.4&lt;/td&gt;
&lt;td&gt;3.4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;34&lt;/td&gt;
&lt;td&gt;71.1&lt;/td&gt;
&lt;td&gt;17.5&lt;/td&gt;
&lt;td&gt;2.8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;36&lt;/td&gt;
&lt;td&gt;69.6&lt;/td&gt;
&lt;td&gt;15.8&lt;/td&gt;
&lt;td&gt;2.3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;38&lt;/td&gt;
&lt;td&gt;68.3&lt;/td&gt;
&lt;td&gt;14.2&lt;/td&gt;
&lt;td&gt;1.8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;40&lt;/td&gt;
&lt;td&gt;66.9&lt;/td&gt;
&lt;td&gt;12.9&lt;/td&gt;
&lt;td&gt;1.5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;42&lt;/td&gt;
&lt;td&gt;65.6&lt;/td&gt;
&lt;td&gt;11.6&lt;/td&gt;
&lt;td&gt;1.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;44&lt;/td&gt;
&lt;td&gt;64.3&lt;/td&gt;
&lt;td&gt;10.5&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;46&lt;/td&gt;
&lt;td&gt;63&lt;/td&gt;
&lt;td&gt;9.4&lt;/td&gt;
&lt;td&gt;0.8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;48&lt;/td&gt;
&lt;td&gt;61.7&lt;/td&gt;
&lt;td&gt;8.5&lt;/td&gt;
&lt;td&gt;0.6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;60.5&lt;/td&gt;
&lt;td&gt;7.7&lt;/td&gt;
&lt;td&gt;0.5&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; COMPOUNDING · &lt;strong&gt;Even 99 % is not enough&lt;/strong&gt; An agent right 99 % of the time at each step gets a fifty-step task right only 61 % of the time.&lt;/li&gt;
&lt;li&gt; TWENTY STEPS · &lt;strong&gt;At 95 %, a third&lt;/strong&gt; At 95 % per step, twenty steps come out right 36 % of the time, and the task falls below a coin flip after fourteen.&lt;/li&gt;
&lt;li&gt; THE FIX · &lt;strong&gt;Checks change the curve&lt;/strong&gt; A second agent that catches four of five mistakes per step turns 95 % into 99 %, and the twenty-step task from 36 % right into 82 % right.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;every step must be right · errors compound · hover for the value · &lt;a href="https://agentair.ai/blog/chorus-coding" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Chorus coding will be the norm: several coding agents working on the same work, each doing the part it does best, one checking another.&lt;/strong&gt; Claude Code on the careful refactor, Codex reviewing what it wrote, Kimi or an open-weight model on the routine work for a fraction of the cost. It wins on cost, on speed and on the quality of what ships, the same way no team hires one person to do every job.&lt;/p&gt;

&lt;p&gt;But a chorus moves faster than the people directing it. Asks go unanswered in hidden tabs, context gets lost between sessions, the laptop runs out of memory, and the minutes spent waiting leak away. &lt;strong&gt;One Roof is how people keep up:&lt;/strong&gt; one place to see every agent, answer what it needs, keep its context, and use the gaps to learn how these systems work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;And keeping up does not mean stepping back.&lt;/strong&gt; The popular picture is that you hand the work to an agent, sit back and relax. That is not where this goes, because of the compounding above. Agents may be faster than people and know more about code than any person; that does not release people from overseeing what they ship. Chorus coding keeps people in the driver's seat: the agents check each other, and the people steer, decide and catch what the agents miss. Staying in charge of a chorus means switching between agents all day, so &lt;strong&gt;the cost of each switch has to come down&lt;/strong&gt;: from minutes of finding the right tab, scrolling back and remembering what that agent was doing, to seconds. That is the core of what One Roof does.&lt;/p&gt;

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

&lt;p&gt;Here is how I came to work this way, and what I built for it. It started on a Friday afternoon.&lt;/p&gt;

&lt;p&gt;On October 16, 2026, I had twenty-two terminal tabs open across five windows on a 16 GB MacBook Pro.&lt;/p&gt;

&lt;p&gt;Inside those tabs, Claude Code, Codex, Gemini CLI and Kimi were working across sixty-six repositories in &lt;code&gt;~/Projects&lt;/code&gt;. In theory I was operating at twenty times my own speed. In practice I spent half the afternoon playing whack-a-mole with tabs.&lt;/p&gt;

&lt;p&gt;Every tab had the same grey icon. Every title was cut to fourteen characters. To remember which tab was doing what, I renamed them by hand: &lt;code&gt;WIP: auth&lt;/code&gt;, &lt;code&gt;NEXT: billing&lt;/code&gt;, &lt;code&gt;DONE: migration&lt;/code&gt;. Three tabs in background windows had not moved for forty minutes. Not because the agents were thinking: one was waiting for permission to run &lt;code&gt;pytest -q&lt;/code&gt;, one had ended its turn with a polite question (&lt;em&gt;"Cleaned up the config. Shall I push the branch?"&lt;/em&gt;), and one had hit its five-hour subscription limit in the middle of a refactor. Meanwhile two Swift builds in background worktrees had pushed memory pressure past 88 %, and the cursor was a beachball.&lt;/p&gt;

&lt;p&gt;The second problem hurt more. &lt;strong&gt;I kept losing track of where each session was and what it knew.&lt;/strong&gt; Which folder was this agent started in? Was it working on the right repository, reading the right rules? When a session ended, its context went with it: the next one started cold, and unless I had written a handoff by hand, I explained everything again from the beginning. Worse, a session started from the wrong folder quietly loaded a different set of rules and a different memory, so two agents could act on different facts without either knowing it.&lt;/p&gt;

&lt;p&gt;That afternoon I opened a project in my tracker for "a roof over my agents". I did not set out to build a product, a terminal emulator or a code editor. I wanted to stop hunting through twenty grey tabs, stop losing context between sessions, stop losing turns and stop freezing my Mac. The tabs came first and the folders and context came second; everything else followed.&lt;/p&gt;

&lt;p&gt;Sixteen days later, on November 1, I shipped &lt;strong&gt;One Roof 2.0&lt;/strong&gt;. It is the application I live in every hour of the day, and it has turned into something I did not plan: it is &lt;strong&gt;neither a terminal nor an IDE&lt;/strong&gt;. This post is the whole story in one place: why it exists, how it evolved, and how it is different. Where a topic deserves its own deep dive, I name the detailed post at that spot.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;One Roof from the first commit to 2.0 (Oct 18 → Nov 1, 2026)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;64&lt;/strong&gt; Tagged releases&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;312&lt;/strong&gt; Merged pull requests&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;85445&lt;/strong&gt; Lines of Swift&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;1448&lt;/strong&gt; Tracker issues&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;7&lt;/strong&gt; Coding agents under one roof&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;1083&lt;/strong&gt; Swift tests in the 2.0 gate&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://agentair.ai/blog/chorus-coding" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Why chorus coding wins
&lt;/h2&gt;

&lt;p&gt;One agent cannot do it all, for four reasons:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Cost.&lt;/strong&gt; Running everything on the most capable model is not economical. Most of the work, renames, test fixes, docs, chores, does not need it. A cheaper model, an open-weight model at a fraction of the price, or a small local model that routes tracker issues in about a second for free, does that work well.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Capacity.&lt;/strong&gt; One agent, or one subscription, has hard limits: a five-hour window, a weekly cap, one task at a time. Several agents across several seats and cheaper models mean many more sessions running at once, and work that moves to another agent instead of stopping when one window fills.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Quality.&lt;/strong&gt; Agents and models are built for different things. One is excellent at a long, careful refactor; another is fast at mechanical edits; another reviews well. The right one for each job gives a better result than one model for everything.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Independent checks.&lt;/strong&gt; An agent reviewing its own work tends to approve it. A different agent, or a different model acting as judge, is a real second opinion, and I want that built into the process, not bolted on.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Most people already work this way outside code: ChatGPT for some things, Claude Code for others, the same way they use one service for mail and another for maps. Engineering work should not have to run through exactly one agent just because it happens in code.&lt;/p&gt;

&lt;p&gt;And through all of it, &lt;strong&gt;people stay in charge&lt;/strong&gt;. A chorus of agents is not a way to remove people; it is a way to make their oversight count. Agents checking agents catch some mistakes; a person who can see every agent, answer it in seconds and stop it when it drifts catches the rest. Hand everything to one agent and walk away, and small errors compound into large ones. But oversight across many agents is only possible if moving from one to the next is cheap; otherwise people give up and stop checking.&lt;/p&gt;

&lt;p&gt;What a check is worth&lt;/p&gt;

&lt;p&gt;Take the task from the opening: twenty steps at 95 % each, right 36 % of the time. Add a second agent that catches four out of five mistakes at each step, and the error rate per step falls from 5 % to 1 %. The same task now comes out right 82 % of the time. That is the case for checks, and for people who look. (A simplification: real errors are not independent, and some steps can be undone, but the direction holds.)&lt;/p&gt;

&lt;p&gt;The hard part is not running several agents. It is &lt;strong&gt;keeping up with them&lt;/strong&gt;: one place to see them all, one set of house rules, one tracker, one view of what everyone is doing, context that survives from one session to the next, and one honest way to compare their work. That is what One Roof grew into, one failure at a time.&lt;/p&gt;

&lt;p&gt;Coming next:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The economics of chorus coding.&lt;/strong&gt; Cost, seats and capacity in real numbers: how often each subscription window fills, spend per task by model, and what moves to cheaper and open-weight models.&lt;/p&gt;

&lt;p&gt;Where the bottleneck goes&lt;/p&gt;

&lt;p&gt;At one human typing in an IDE, the bottleneck is keystrokes. At one human prompting a chat sidebar, it is assembling context. At twenty agents in separate worktrees, it is &lt;strong&gt;my judgment, my attention, and my machine&lt;/strong&gt;, and, once several agent types are involved, &lt;strong&gt;coordination between them&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The foundation under the roof
&lt;/h2&gt;

&lt;p&gt;Before One Roof there was a foundation, and everything in this post stands on it. I wrote about it in &lt;em&gt;&lt;a href="https://dev.to/blog/one-workspace"&gt;One workspace: five coding agents, one set of rules&lt;/a&gt;&lt;/em&gt;. In short:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;One workspace.&lt;/strong&gt; Every agent starts in one folder, &lt;code&gt;~/Projects&lt;/code&gt;, and nowhere else. A hook refuses to start a session outside it.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;One rulebook.&lt;/strong&gt; One &lt;code&gt;READ-FIRST&lt;/code&gt; file holds the rules that must never bend, and every agent's own rule file, at every level, points to it: Claude Code's &lt;code&gt;CLAUDE.md&lt;/code&gt;, Codex's &lt;code&gt;AGENTS.md&lt;/code&gt;, and their equivalents for Gemini and Kimi.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Hooks.&lt;/strong&gt; Small scripts each agent runs at fixed moments: when a session starts (the rules, and since 1.9.35 the brief on what the others are doing), when a commit is written (every commit names its tracker issue), and when work is marked done (no "done" without evidence).&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Skills.&lt;/strong&gt; Repeatable procedures, written once in one library and linked into every agent, so "close the session" or "ship this" means the same steps to Claude as to Codex.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;One shared memory.&lt;/strong&gt; A short index every agent loads, pointing at durable notes kept in git, instead of five private memories that slowly disagree.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The discipline behind the foundation has its own series. &lt;em&gt;&lt;a href="https://dev.to/blog/agentic-engineering"&gt;Agentic engineering: the work around the agent&lt;/a&gt;&lt;/em&gt; names its four parts, and one post covers each: context in &lt;em&gt;&lt;a href="https://dev.to/blog/one-workspace"&gt;One workspace&lt;/a&gt;&lt;/em&gt;, loops in &lt;em&gt;&lt;a href="https://dev.to/blog/loops-with-a-stop-condition"&gt;Loops with a stop condition&lt;/a&gt;&lt;/em&gt;, evidence in &lt;em&gt;&lt;a href="https://dev.to/blog/evidence-not-confidence"&gt;Evidence, not confidence&lt;/a&gt;&lt;/em&gt;, and procedure in &lt;em&gt;&lt;a href="https://dev.to/blog/one-library-every-agent"&gt;One library, every agent&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;The hard lesson was that &lt;strong&gt;a foundation drifts&lt;/strong&gt;. A memory index grows past what an agent reads. A rule file at some level stops pointing to the rulebook. One agent's hooks get reinstalled and another's do not. Nobody notices until two agents act on different rules. So the next thing I am adding to One Roof is a &lt;strong&gt;foundation loop&lt;/strong&gt;: every night it will check a short list of golden rules, each with a machine check, across every agent (memory, rule files, hooks, skills, docs), repair what is mechanical on a branch for my approval in the morning, and report the rest.&lt;/p&gt;

&lt;p&gt;Coming next:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Foundations drift.&lt;/strong&gt; Why a shared foundation drifts, and the nightly loop that catches it.&lt;/p&gt;

&lt;h2&gt;
  
  
  One Roof in one picture
&lt;/h2&gt;

&lt;p&gt;Before the story, the shape of the thing. One Roof is three layers on a foundation: the app people look at, a small daemon that keeps every session alive, and the agents themselves, each running in its own real command-line tool.&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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fchorus-coding%2Fone-roof-architecture.svg" 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%2Fconsole.zibajoon.com%2Fblog%2Fassets%2Fchorus-coding%2Fone-roof-architecture.svg" alt="One Roof: how the pieces fit" width="1440" height="1000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One Roof as a house. The roof is the app people look at, with its places. Under it, the windows: one per area of work, each holding as many sessions as it needs (badges mark the agent and account). roofd is the beam that keeps every session alive outside the app. Below it, the chorus: each agent in its own real command-line tool. Everything stands on one foundation, the same for every agent. Model providers, local models, GitHub and Linear sit outside.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The failures that shaped One Roof&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; ATTENTION · &lt;strong&gt;Act I · Twenty tabs I could not tell apart&lt;/strong&gt; Colour tabs and window tints, looks, a four-step Focus Ladder and a Session Catalog where a closed tab is never a lost conversation.&lt;/li&gt;
&lt;li&gt; CONTEXT · &lt;strong&gt;Act II · Which folder, and what does it know?&lt;/strong&gt; Every session starts in one workspace, shows its folder, ticket and plan, resumes where it stopped, and starts with a brief on what the others are doing, so no session starts cold.&lt;/li&gt;
&lt;li&gt; JUDGMENT · &lt;strong&gt;Act III · Agents block on me, not on CPU&lt;/strong&gt; Every permission prompt, menu and end-of-turn question across every window lands in one Inbox and is answered in place; History keeps the record.&lt;/li&gt;
&lt;li&gt; SURVIVAL · &lt;strong&gt;Act IV · One laptop, many agents&lt;/strong&gt; Each session lives in its own small process that survives app restarts and upgrades; Resources shows who uses what and pauses the heaviest background session before macOS freezes.&lt;/li&gt;
&lt;li&gt; LEARNING · &lt;strong&gt;Act V · The minutes in between&lt;/strong&gt; Waiting on agents is now part of the job. Learn fills those minutes with short, narrated segments about how these systems work, open beside the sessions.&lt;/li&gt;
&lt;li&gt; TEAM · &lt;strong&gt;Act VI · Many agents, one team&lt;/strong&gt; One kit gives every agent the same rules, a brief tells each new session what the others are doing, and Evals measures which agent actually does the work on my own bugs.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this step · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/chorus-coding" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Act I · Twenty tabs I could not tell apart
&lt;/h2&gt;

&lt;p&gt;The first thing that broke was not the shell. It was &lt;strong&gt;my eyes&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;With three tabs, text labels work. With twenty-two sessions over three monitors, some running &lt;code&gt;claude&lt;/code&gt; on layout bugs, some running &lt;code&gt;codex&lt;/code&gt; on a database migration, some running &lt;code&gt;opencode&lt;/code&gt; on a docs audit, I could not read twenty truncated monospace strings every time I switched windows. So I made visual identity and focus part of the structure:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;A window per area of work.&lt;/strong&gt; I do not run thirty sessions in one window. I run six or seven windows, each one an area: the release, the redesign, the data pipeline, the docs, the bug queue, research. A window holds as many sessions as that area needs, one or seven, and its agents can be mixed: Claude writing, Codex reviewing, Kimi on the cheap chores. Home shows every window at once.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Colour tabs and window tints.&lt;/strong&gt; Every session can carry a colour that tints its tab and the edge of its window. Across a desktop I know the green window is the release and the amber tabs are the UI bug batch before I read a word.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Looks for long days.&lt;/strong&gt; Daylight, Graphite and Midnight, plus softer pastel looks, each covering the whole window including the terminal itself. In 2.0 every one of them passed a contrast pass: small text at 4.5 : 1 or better.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;The Focus Ladder.&lt;/strong&gt; Sometimes I am the air-traffic controller watching twenty flights; five minutes later I am the pilot reading one stack trace. One key steps down four rungs, from the full window (rail, session list, terminal, inspector) to a bare terminal, and back up.&lt;/li&gt;
&lt;/ol&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%2Fgzy8ko7vyx8s0crzrf8x.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%2Fgzy8ko7vyx8s0crzrf8x.png" alt="The Focus Ladder, Full" width="800" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Full: the places rail, the window's sessions, the terminal, and the inspector with the session's folder, its one-memory check, its project and its objective. Demo output.&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%2F2j9k7xysldknl8ip4ula.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%2F2j9k7xysldknl8ip4ula.png" alt="The Focus Ladder, Focus" width="800" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Focus: the same session with everything else stripped away; the other sessions wait at the left edge. One key goes back.&lt;/p&gt;

&lt;p&gt;And closing a tab no longer means losing it. In a normal terminal, closing a tab kills the shell and the conversation with it. In One Roof, closing a tab only takes it off the bar. The &lt;strong&gt;Session Catalog&lt;/strong&gt; keeps three lists: open now, closed and resumable in one click in the same folder with the same tracker issues, and agent sessions discovered on the Mac that were started elsewhere and can be adopted.&lt;/p&gt;

&lt;p&gt;That promise, that a session survives its tab, its window and even the app, rests on the most important design decision in One Roof: the terminal sessions do not live inside the app at all. Each one runs in its own small holder process managed by a separate daemon, &lt;code&gt;roofd&lt;/code&gt;, with its own in-memory screen (&lt;code&gt;RoofVT&lt;/code&gt;), drawn on screen by Ghostty's terminal engine. It is a different answer from tmux to the same question, and it gets its own post.&lt;/p&gt;

&lt;p&gt;Deep dive:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://hypothesys.ai/labs/oneroof/roofd/architecture/" rel="noopener noreferrer"&gt;Inside roofd&lt;/a&gt;&lt;/strong&gt;, a chapter of the One Roof Lab: why One Roof built its own session daemon, how one holder process per session, RoofVT and Ghostty fit together, the path of a keystroke, how session status is read, and how it compares with herdr and tmux.&lt;/p&gt;




&lt;h2&gt;
  
  
  Act II · Which folder, and what does it know?
&lt;/h2&gt;

&lt;p&gt;The second thing I fixed was the one that cost the most: &lt;strong&gt;sessions that did not know where they were or what came before&lt;/strong&gt;.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;One place to start.&lt;/strong&gt; Every session starts in one workspace, &lt;code&gt;~/Projects&lt;/code&gt;, or a folder inside it, and a hook refuses to start one anywhere else. That one rule ended the worst failure: a session started from the wrong folder silently loading a different rulebook and a different memory.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Every session says where it is.&lt;/strong&gt; Its row shows the agent, the account and the folder (&lt;code&gt;Claude · acme/web&lt;/code&gt;), and its inspector shows the start folder, the tickets it carries, its plan and its notes, with a check that it is using the one shared memory.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Nothing starts cold.&lt;/strong&gt; A closed session stays in the Session Catalog with its folder and tickets and resumes in one click, in the same place. A session that ends writes a handoff any later session, of any agent, can pick up. And every new session gets a short brief on what the others are doing before it does anything.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Act I made sessions easy to see. Act II made them easy to trust: the right folder, the right rules, the right memory, and the context of everything that came before.&lt;/p&gt;

&lt;h2&gt;
  
  
  Act III · Agents block on me, not on CPU
&lt;/h2&gt;

&lt;p&gt;When eight to twenty agents run in parallel, they rarely wait for the processor. &lt;strong&gt;They wait for me.&lt;/strong&gt; They stop for three reasons:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;A permission prompt:&lt;/strong&gt; &lt;em&gt;"Run &lt;code&gt;pytest -q tests/test_config.py&lt;/code&gt;? (1) Yes (2) Yes, and don't ask again (3) No."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;A question at the end of a turn,&lt;/strong&gt; often in plain text in the last sentence: &lt;em&gt;"Nothing else is blocking. Shall I open the PR now, or run the full gate first?"&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;A finished turn&lt;/strong&gt; that needs my eyes before the next step.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In a terminal all three are silent unless I happen to look at that tab.&lt;/p&gt;

&lt;p&gt;Every one of these stops is also a &lt;strong&gt;context switch&lt;/strong&gt;, and that is the real cost of staying in charge. In a terminal, a switch means finding the tab, scrolling back through its output, working out what it was doing and what it is asking, then answering, and then finding my way back to what I was doing before. Multiply that by twenty agents and oversight becomes the whole job, or it quietly stops happening. So One Roof brings each stop to me with its context attached: which agent, which area, which ticket, what it ran, what it is asking and its exact choices, answered in place without leaving what I was doing. In One Roof 2.0 they all land in the &lt;strong&gt;Inbox&lt;/strong&gt;: one column of terminal-style blocks, one per session that needs me, newest first. Each block shows the prompt's own options (number keys press them), takes a multi-line reply with pasted or dropped images, and can set a finished turn aside or close the session. Sessions with nothing for me are hidden and counted: "5 other sessions working".&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%2Fywc55bdo1a2a4lvz0bi3.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%2Fywc55bdo1a2a4lvz0bi3.png" alt="The Inbox in One Roof 2.0" width="800" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Inbox: a permission prompt with its four options as buttons, a menu question from Codex, a plain question from Kimi; each answered in place, or with a written reply. Demo sessions.&lt;/p&gt;

&lt;p&gt;Two more places came out of the same problem. &lt;strong&gt;History&lt;/strong&gt; is the read-only record of every session's important moments, newest first, with my answers as their own rows, so I can see what happened while I was away without accidentally answering anything. And the record of my decisions, which turned out to be the thing I most wanted to search after a long day.&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%2Fnhbfg2id7e6tpfcek56f.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%2Fnhbfg2id7e6tpfcek56f.png" alt="History in One Roof 2.0" width="800" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;History: every session's important moments, newest first, under day headings: asks with my answers indented beneath them, errors in red, findings, handoffs and session starts. Read-only. Demo sessions.&lt;/p&gt;

&lt;p&gt;Not every session needs the same oversight, so every agent can start in one of four &lt;strong&gt;permission modes&lt;/strong&gt;: Manual, Plan, Auto, or Full (never asks), each translated into that agent's own flags. Full is for an agent working alone in an isolated worktree behind a test gate.&lt;/p&gt;

&lt;p&gt;How do I know the Inbox catches every wait when twenty agents ask at once? Unit tests cannot answer that, so I built a simulator: eight stand-in agents firing real permission prompts, menus and end-of-turn questions at the same time, with the Inbox checked every five seconds.&lt;/p&gt;

&lt;p&gt;Coming next:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Testing the Inbox against eight agents at once.&lt;/strong&gt; The stand-in simulator, what it caught, and what it missed.&lt;/p&gt;




&lt;h2&gt;
  
  
  Act IV · One laptop, many agents
&lt;/h2&gt;

&lt;p&gt;Around day four, two physical facts hit at once.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;I was building One Roof with One Roof&lt;/strong&gt; (&lt;em&gt;&lt;a href="https://dev.to/blog/one-roof-builds-one-roof"&gt;One Roof Builds One Roof&lt;/a&gt;&lt;/em&gt;). In the first prototype, terminal sessions were run by a Node.js helper inside the app's world. Every rebuild or restart risked cutting live sessions. In v0.4.0 I deleted it and wrote &lt;code&gt;roofd&lt;/code&gt;, the native daemon from Act I. Now I can quit, rebuild and reinstall One Roof while twenty agents keep working; their sessions re-attach when the app comes back.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Sixteen gigabytes is not much for a fleet.&lt;/strong&gt; It is plenty for an IDE. It is not plenty when four agents start parallel builds while Docker and language servers run in the background. Past about 85 % memory pressure, macOS starts swapping, typing lags by seconds and the machine locks up.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So One Roof grew a place to watch the machine. In 2.0 it is called &lt;strong&gt;Resources&lt;/strong&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%2Fges0wjn37h6pekomaalx.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%2Fges0wjn37h6pekomaalx.png" alt="Resources in One Roof 2.0" width="800" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Resources: One Roof's own memory and CPU, the Mac, roofd, each running session against its memory line, a leftover local model, and Chrome's windows and tabs with Close window. Demo data.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Who is using what.&lt;/strong&gt; Memory pressure, CPU and disk, with the process tree of every session, so I can see at once which agent is burning 2.8 GB or 300 % CPU. In 2.0 it also lists browser windows and tabs, shows only the ones that are using a lot, and closes a tab or window from there.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;A memory guard.&lt;/strong&gt; If pressure stays high for a minute, One Roof pauses the heaviest background session (never the one I am looking at) and resumes it when pressure falls. No lost work, no frozen Mac.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Seats.&lt;/strong&gt; Every agent and every account I use, with how full its five-hour and weekly windows are, on the rail and in the bottom bar. I run more than one account per agent, and One Roof keeps each one's sign-in apart.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Open-weight models when the seats fill up.&lt;/strong&gt; OpenCode and Goose run inside One Roof against fourteen verified open-weight coding models (Kimi K2.5, DeepSeek V3.2, GLM-5, Qwen3-Coder and others) through Fireworks, OpenRouter or Together, each checked for a real reply, a real tool call and memory, with its price shown.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last point is where Act IV meets the opening argument: when one agent's window is full, the right move is often a different agent, not a pause.&lt;/p&gt;




&lt;h2&gt;
  
  
  Act V · The minutes in between
&lt;/h2&gt;

&lt;p&gt;Here is a side effect of multi-agent work that nobody warned me about: &lt;strong&gt;it changes how I spend my attention&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;To keep up with how fast the agents work, I break work into smaller and smaller pieces and run many at once. Multitasking is no longer optional; it is how the job is done. And between those pieces there is a routine new event: &lt;strong&gt;waiting&lt;/strong&gt;. A build and test turn takes three minutes. An agent is thinking. A release is running. I am waiting right now, as I write this, for an agent to finish a turn.&lt;/p&gt;

&lt;p&gt;Those gaps are too short to start deep work and long enough to drift. The reflex is to open Reddit, a news site, anything, and then lose twenty minutes. The constant switching wears attention down. I think this is a broader problem for how people will work, and for attention in general, as agents take over more of the typing.&lt;/p&gt;

&lt;p&gt;What these small chunks of time need is a &lt;strong&gt;denser kind of learning&lt;/strong&gt;: something worth reading or hearing in three to six minutes, about what I am actually working on, not a feed of whatever is new. And there is a lot to learn. Most engineers know how to use Claude Code or ChatGPT; there is not much to know at that level. But it is becoming obvious that engineers need to go deeper: how these systems actually work, why an agent fails the way it does, and the research papers that explain it.&lt;/p&gt;

&lt;p&gt;That is why &lt;strong&gt;Learn&lt;/strong&gt; lives inside One Roof, open on the left while the sessions run on the right:&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%2Fk0q9lzikgux1yvzp0mde.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%2Fk0q9lzikgux1yvzp0mde.png" alt="Learn open beside the working sessions" width="800" height="671"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Learn in One Roof 2.0: a narrated card on Armin Ronacher, the next segments on the right at 3, 6, 3 and 4 minutes. This is what fills the gap while an agent finishes its turn.&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%2Ftw1lpt4cyrzg3rxk92ra.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%2Ftw1lpt4cyrzg3rxk92ra.png" alt="Learn Radio in One Roof 2.0" width="800" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Learn: 238 narrated cards on one dial, four bands, a Start here of three short segments, and Papers.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;The Agentic Engineering library&lt;/strong&gt;: 238 cards of lessons, rules, commands and people, in four bands and fifteen tracks, every one narrated, with a Radio that plays while the agents work.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Influences&lt;/strong&gt;: the people whose ideas shaped how agents are built and used, each with a short narrated profile and, for some, a deep dive with worked examples.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Papers&lt;/strong&gt;: fifty papers that shaped agents, on a timeline that grows from the foundations to today, each one narrated and traced to the paper's own tables and figures.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each segment is three to six minutes: it fits the pattern of waiting and switching, and it is contextual to the work in front of me. Instead of another tab, I look left.&lt;/p&gt;

&lt;p&gt;It is also deliberately &lt;strong&gt;more than one sense&lt;/strong&gt;. I listen to a card while I watch two sessions; I read the transcript when I come back; a diagram steps through the idea while the narration explains it. When attention arrives in fragments, one channel is not enough: the same idea has to reach me by ear while my eyes are on an agent, and by eye when I have a minute to read.&lt;/p&gt;

&lt;p&gt;This is the human half of chorus coding. Vibe coding named the moment when anyone could ask an agent for code and accept what came back. Chorus coding asks more of people: someone has to know every part well enough to direct it, hear when one voice is off, and bring in another. That knowledge does not come from using one chat window. It has to be learned, and the gaps are where I learn it.&lt;/p&gt;

&lt;p&gt;And that understanding is a &lt;strong&gt;skills upgrade across the whole workforce, and across generations&lt;/strong&gt;. An engineer twenty years into a career and a student starting today face the same new material: how models are trained, why agents fail the way they do, how to measure them, what the research says. Neither learned it in school, and neither has long blocks of time to learn it now. Short, narrated, contextual segments in the tool they already work in are how I think that upgrade happens, and who gets that upgrade matters well beyond any one team (more on that below).&lt;/p&gt;

&lt;p&gt;Coming next:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Learn in the gaps.&lt;/strong&gt; Attention, waiting and multitasking in a multi-agent world, and why the learning has to live inside the tool.&lt;/p&gt;




&lt;h2&gt;
  
  
  Act VI · Many agents, one team
&lt;/h2&gt;

&lt;p&gt;Once sessions could not crash, asks could not hide and the Mac could not freeze, the opening argument came back with full force. I was running Claude, Codex, Gemini, Kimi, Antigravity, OpenCode and Goose side by side. How do they work as one team?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One set of house rules for every agent.&lt;/strong&gt; Every agent reads its rules from a different file in a different format. I wrote a small kit, &lt;code&gt;ae&lt;/code&gt;, that installs the same rules, skills, hooks and checks into every agent from one source, so a rule I add once ("never push without a test") applies to all of them (&lt;em&gt;&lt;a href="https://dev.to/blog/one-library-every-agent"&gt;One Library, Every Agent&lt;/a&gt;&lt;/em&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2z9nd4sorkn8l3kkqf99.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%2F2z9nd4sorkn8l3kkqf99.png" alt="Projects in One Roof 2.0" width="800" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Projects: tracker teams and their projects, filtered by status. Demo tracker.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One tracker for every agent.&lt;/strong&gt; The &lt;strong&gt;Projects&lt;/strong&gt; place shows my tracker's teams, projects and tickets, and a session can carry several tickets at once. A small local model (Qwen3-1.7B, about a second, free) suggests which tickets a new session should take. Agents report progress in the terminal and the ticket badges update.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Loops that stop by themselves.&lt;/strong&gt; Some work should not need a session at all: the overnight check of last night's bugs, a docs-drift audit, a flaky test chased until it passes ten times. &lt;strong&gt;Loops&lt;/strong&gt; run on a schedule or a trigger, and every loop has a stop condition a script can check and hard limits on runs, hours and cost (&lt;em&gt;&lt;a href="https://dev.to/blog/loops-with-a-stop-condition"&gt;Loops With a Stop Condition&lt;/a&gt;&lt;/em&gt;). What they produce overnight waits for my approval in the morning; nothing lands without it.&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%2Fk8bgvile3gonyhy8twgo.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%2Fk8bgvile3gonyhy8twgo.png" alt="Loops in One Roof 2.0" width="800" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Loops, grouped by kind: Watch, Check, Improve and Report, built-in loops outlined and my own filled.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Every new session knows what the others are doing.&lt;/strong&gt; Agents cannot see each other's context. A Claude session has no idea that a Codex session is halfway through a release in the same repository. Since 1.9.35, every new session, whatever the agent, gets a short factual brief before it does anything: which other sessions are running and on what, releases in progress, today's commits and worktrees, the tickets in flight. It is a first step, and it already prevents collisions.&lt;/p&gt;

&lt;p&gt;Coming next:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cross-session memory.&lt;/strong&gt; What one session cannot see, what that costs when the work is merged, and how the brief works.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measured, not believed.&lt;/strong&gt; If I use different agents for different work, I need an honest way to know which one actually does the work. That is &lt;strong&gt;Evals&lt;/strong&gt;, still marked draft in 2.0. It runs any model on any of 129 benchmarks, but more importantly on &lt;strong&gt;my own work&lt;/strong&gt;: it turns a repository's real fixed bugs into questions (here is the bug report and the code as it was; which files need to change?), checks the answers against the real fix, and runs Claude Code and Codex on my own subscription seats in a fresh worktree per question. Every score carries its 95 % range; a comparison on too few shared questions says "can't tell them apart yet" instead of naming a winner. Where code cannot check an answer, a model acts as judge, and the judge's own agreement with labels it never saw is shown beside every score it gives. An X-ray reads git to show how much of each agent's code survives, how often it needed me, and what its work would cost on the API.&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%2Fwi2rbrwpb3y84ww9usxo.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%2Fwi2rbrwpb3y84ww9usxo.png" alt="Evals in One Roof 2.0" width="800" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Evals (draft): my own evals and public benchmarks, each contestant with its score, its 95 % range against the no-model floor, its cost and its cost per right answer. On SWE-bench Verified (mini), Claude Code and Codex run as agents on the same model.&lt;/p&gt;

&lt;p&gt;That is adversarial participation made concrete: agents checked against real fixes and against each other, judges checked against people.&lt;/p&gt;

&lt;p&gt;Coming next:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measured, not believed.&lt;/strong&gt; Evals on your own bugs, agents on your own seats, scores with ranges, and a judge you can check.&lt;/p&gt;




&lt;h2&gt;
  
  
  What category is One Roof?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Terminal apps and tmux&lt;/th&gt;
&lt;th&gt;IDE (VS Code, Cursor, Xcode)&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;One Roof 2.0&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Unit of work&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A shell process&lt;/td&gt;
&lt;td&gt;A source file&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;An agent session with its tickets and worktree&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Bottleneck it addresses&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Typing commands&lt;/td&gt;
&lt;td&gt;Writing and navigating code&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Routing my judgment across many agents&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cost of switching to an agent&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Find the tab, scroll back, remember&lt;/td&gt;
&lt;td&gt;Not built for many agents&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Seconds: the ask comes to you with its context&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;When work is blocked&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Hidden in whichever tab stalled&lt;/td&gt;
&lt;td&gt;A spinner in a chat panel&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;The Inbox, answered in place; History as the record&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Restart or upgrade&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Sessions die with the app (unless tmux)&lt;/td&gt;
&lt;td&gt;Dies with the window&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Each session in its own process under roofd&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Machine and quota&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Nothing until the Mac freezes&lt;/td&gt;
&lt;td&gt;Nothing&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Resources: memory guard, browser tabs, seat use&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Which agent&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Whatever you type&lt;/td&gt;
&lt;td&gt;The IDE's built-in assistant&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Seven agents and 14 open-weight models, one set of rules&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Unattended work&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Cron or &lt;code&gt;while true&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Loops with stop conditions and cost limits&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Rules across agents&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Whatever each tool reads&lt;/td&gt;
&lt;td&gt;The IDE's own settings&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;One rulebook, hooks and skills for every agent; a nightly loop catches drift&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Knowing which agent is better&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Anecdote&lt;/td&gt;
&lt;td&gt;Anecdote&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Evals on my own bugs, with ranges and checked judges&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The minutes in between&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A browser tab&lt;/td&gt;
&lt;td&gt;A browser tab&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Learn: narrated 3–6 minute segments, in the window&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;One Roof is what happens when I stop treating a coding agent as a chat panel inside a text editor, and start treating &lt;strong&gt;my attention, the machine's memory, sessions that survive, a shared tracker, bounded loops, honest measurement and continuous learning&lt;/strong&gt; as one working environment for a team of agents with one person in charge.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why this matters beyond my desk
&lt;/h2&gt;

&lt;p&gt;There is a larger reason I care about this. AI is about to create an enormous amount of wealth, and left alone, most of it will concentrate in a handful of research labs and the few companies closest to them. I would like it spread much more widely, and I think that comes down to &lt;strong&gt;opportunity&lt;/strong&gt;: whether ordinary engineers and small teams can do work that used to take a large company.&lt;/p&gt;

&lt;p&gt;Two things decide that. The first is &lt;strong&gt;skills&lt;/strong&gt;: understanding how these systems work well enough to direct them, which is why Learn exists inside the tool, and why I am also building GabbleGrid, a coach for AI engineering. The second is &lt;strong&gt;leverage&lt;/strong&gt;: being able to run a chorus of agents, including open-weight models at a fraction of the cost, without a platform team behind you. A small team with the skills and the leverage can compete with a large one.&lt;/p&gt;

&lt;p&gt;One Roof is one step along that way, not the whole answer. But a tool that lets a few people keep up with many agents, and teaches them as they go, is the kind of step I think the world needs many more of.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to read more
&lt;/h2&gt;

&lt;p&gt;This post is the top of a small tree. The posts beneath it, by branch:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;The foundation:&lt;/strong&gt; &lt;a href="https://dev.to/blog/agentic-engineering"&gt;Agentic engineering: the work around the agent&lt;/a&gt;, and its four parts: &lt;a href="https://dev.to/blog/one-workspace"&gt;One workspace&lt;/a&gt; (context), &lt;a href="https://dev.to/blog/loops-with-a-stop-condition"&gt;Loops with a stop condition&lt;/a&gt;, &lt;a href="https://dev.to/blog/evidence-not-confidence"&gt;Evidence, not confidence&lt;/a&gt;, &lt;a href="https://dev.to/blog/one-library-every-agent"&gt;One library, every agent&lt;/a&gt; (procedure). Coming next: Foundations drift.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;How One Roof keeps up:&lt;/strong&gt; &lt;a href="https://hypothesys.ai/labs/oneroof/roofd/architecture/" rel="noopener noreferrer"&gt;Inside roofd&lt;/a&gt; (Act I, in the One Roof Lab). Coming next: Cross-session memory (Act II), Testing the Inbox against eight agents (Act III), Learn in the gaps (Act V), Measured, not believed (Act VI).&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Why chorus coding wins:&lt;/strong&gt; coming next, The economics of chorus coding.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Field notes:&lt;/strong&gt; &lt;a href="https://dev.to/blog/one-roof-builds-one-roof"&gt;One Roof builds One Roof&lt;/a&gt;, a measured 48 hours of building One Roof inside One Roof.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What comes next
&lt;/h2&gt;

&lt;p&gt;Two things, and they are the next stretch of work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Memory and messaging across agent types.&lt;/strong&gt; The brief at session start is one-way and a snapshot. Today a Claude Code session can message another Claude Code session on the same Mac, but only within one account: on my Mac, the sessions on my two Claude accounts cannot see each other at all, and Claude cannot talk to Codex, Kimi, Gemini or an open-weight model in OpenCode. I want real communication across agent types: who owns which ticket and which files, questions and answers between sessions, and a trace of every interaction so the team's work can be studied afterwards. That is not only about cost. It is about results.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A bigger chorus instead of ever more expensive models.&lt;/strong&gt; The default answer to "the agent got it wrong" is a bigger, more expensive model. I want to test the other answer: can a team of different models, some cheap, some specialised, one acting as the adversary, reach better outcomes than one expensive model alone? One Roof now has the pieces to try it honestly: many agents under one roof, the same rules for all of them, and an eval engine that runs them on real bugs and says when a difference is only noise. That is the experiment I am working on next, and I will write it up.&lt;/p&gt;

&lt;p&gt;Coming next:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tracing every agent interaction&lt;/strong&gt;, and &lt;strong&gt;A bigger chorus or a bigger model?&lt;/strong&gt;, the experiment above, written up with the paper.&lt;/p&gt;

&lt;p&gt;None of this takes people out of the loop. Agents will keep getting faster and more capable; the work is to keep people steering anyway, because that is what makes the outcome good. Every feature in One Roof is there because a real afternoon of running twenty agents demanded it. The next ones will come the same way.&lt;/p&gt;




&lt;p&gt;Originally published at &lt;a href="https://agentair.ai/blog/chorus-coding" rel="noopener noreferrer"&gt;https://agentair.ai/blog/chorus-coding&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>agenticengineering</category>
      <category>oneroof</category>
      <category>choruscoding</category>
      <category>multiagent</category>
    </item>
    <item>
      <title>One Roof builds One Roof: 48 hours of a self-hosting dev loop</title>
      <dc:creator>Gaurav Narasimhan</dc:creator>
      <pubDate>Sat, 05 Dec 2026 20:08:56 +0000</pubDate>
      <link>https://dev.to/gaurav_narasimhan/one-roof-builds-one-roof-48-hours-of-a-self-hosting-dev-loop-3b31</link>
      <guid>https://dev.to/gaurav_narasimhan/one-roof-builds-one-roof-48-hours-of-a-self-hosting-dev-loop-3b31</guid>
      <description>&lt;p&gt;&lt;em&gt;One engineer, 48 hours: 387 commits across 24 repositories, 45 production deploys, 158 Linear issues closed. The agents doing the work were also rebuilding the IDE they ran in, underneath sessions that never stopped.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;One engineer · 48 hours · Wed 16:00 → Fri 16:00&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;387&lt;/strong&gt; Commits landed&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;45&lt;/strong&gt; Production deploys&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;418&lt;/strong&gt; CI builds&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;158&lt;/strong&gt; Linear issues closed&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;17696&lt;/strong&gt; Agent turns&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;1&lt;/strong&gt; Engineer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What "landed" means&lt;/p&gt;

&lt;p&gt;A commit counts once it is on &lt;code&gt;ganarasi/live&lt;/code&gt;, &lt;code&gt;develop&lt;/code&gt; or &lt;code&gt;main&lt;/code&gt;. A cherry-picked copy is matched to its original and counted once. Commits made inside a worktree are counted when the worktree lands (squashed), not one by one. With the 53 pre-squash worktree commits added back, the total is 440.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://dev.to/blog/one-workspace"&gt;first post&lt;/a&gt; described the rules that keep five coding agents consistent on one workspace. This one measures what those rules produce when one person runs them flat out for two days.&lt;/p&gt;

&lt;p&gt;The window is exactly 48 hours: &lt;strong&gt;Wednesday 21 October 16:00 to Friday 23 October 16:00, Pacific time&lt;/strong&gt;. Every number comes from an instrument that was already running: git refs in 24 repositories, Linear's API, the Woodpecker CI API, Kargo's promotion records, the deploy repositories' history, and the agents' own session transcripts. Where a number is softer than it looks, it says so next to it.&lt;/p&gt;

&lt;p&gt;The story is a loop. A large share of the work was on &lt;strong&gt;&lt;a href="https://gaurav8936.github.io/oneroof/" rel="noopener noreferrer"&gt;One Roof&lt;/a&gt;&lt;/strong&gt;, the native Mac IDE in which all of the sessions run (&lt;a href="https://github.com/gaurav8936/oneroof" rel="noopener noreferrer"&gt;source on GitHub&lt;/a&gt;), and it was being built by agents running inside it. Every friction I hit while using it became an issue; agents inside it fixed the issue; the fix shipped as a release; the release was installed over the running app on the same Mac; and the sessions that had just built it never stopped. They kept running straight through the swap and carried on inside the better tool. Compiler people have a word for a tool that builds itself: &lt;strong&gt;self-hosting&lt;/strong&gt;. It is recursive development, not recursive self-improvement: the agents don't improve themselves, they improve the place they work, and that makes the next round faster, without ever restarting the work in progress.&lt;/p&gt;

&lt;p&gt;Three things make the loop turn this fast for one person: a &lt;strong&gt;force multiplier&lt;/strong&gt; (I speak, agents fan out, several sessions run at once, and shipping costs no attention); a &lt;strong&gt;stack&lt;/strong&gt; of ordinary tools wired together (Wispr Flow, Linear, One Roof, Slack); and the fact that all of it runs &lt;strong&gt;locally&lt;/strong&gt;: the agents work on my machine, on my data, not in a hosted sandbox. Each gets its own section after the loop itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Self-hosting: the IDE that ships itself
&lt;/h2&gt;

&lt;p&gt;Get One Roof&lt;/p&gt;

&lt;p&gt;One Roof is open source: &lt;a href="https://github.com/gaurav8936/oneroof" rel="noopener noreferrer"&gt;the repository&lt;/a&gt; has the app, the &lt;code&gt;roofd&lt;/code&gt; session manager and the workspace kit; &lt;a href="https://github.com/gaurav8936/oneroof/releases" rel="noopener noreferrer"&gt;Releases&lt;/a&gt; has every signed, notarized build, including all thirteen from this window; &lt;a href="https://gaurav8936.github.io/oneroof/" rel="noopener noreferrer"&gt;the One Roof page&lt;/a&gt; has the download and an overview.&lt;/p&gt;

&lt;p&gt;One Roof started on 16 October as a brief: replace five Warp windows of identical-looking tabs with a command centre where sessions, projects, Linear issues and agents are first-class. Version 0.1 was built overnight on the 17th. By the start of this window it was the place every session ran.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The self-hosting loop&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Use it all day&lt;/strong&gt; Every session of the 48 hours ran inside One Roof: the Claude and Codex terminals, the Linear issue picker that opens a session on several issues at once, the plan panel, the Resources view.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Friction becomes an issue immediately&lt;/strong&gt; When something gets in the way, it is filed on the spot, from the session itself or from Slack. 71 bugs were opened in the window, many of them by using the tool.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;A worktree per fix&lt;/strong&gt; Fixes run in parallel, each in its own git worktree, so two agents never edit one checkout. 23 One Roof worktrees landed in the window, up to six in flight at once across the workspace.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Land on live&lt;/strong&gt; wt-land.sh takes a lock, rebases the unit onto live inside the worktree, runs the tests there, squashes, tags it wt-done/… and removes the worktree. Live is never touched by a conflict.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Release everywhere&lt;/strong&gt; A release is a runbook with seven checks: signed and notarized build, GitHub release, the download pages on GitHub Pages and zibajoon.com, and the installed app. A release counts only when all seven are green.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Swap the app&lt;/strong&gt; The new build replaces the running app on the same Mac, and no session notices. Every session lives in its own roofd holder process, outside the app. The new app opens, reattaches to every session, and redraws them. The agent that wrote the fix is still there, mid-conversation, now running inside the build it just produced.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this step · dots = the work moving · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One Roof releases, cumulative&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Releases&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Wed 16h&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 17h&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 18h&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 19h&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 20h&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 21h&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 22h&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 23h&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 00h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 01h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 02h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 03h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 04h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 05h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 06h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 07h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 08h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 09h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 10h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 11h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 12h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 13h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 14h&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 15h&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 16h&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 17h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 18h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 19h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 20h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 21h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 22h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 23h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 00h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 01h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 02h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 03h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 04h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 05h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 06h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 07h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 08h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 09h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 10h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 11h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 12h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 13h&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 14h&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 15h&lt;/td&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; WEDNESDAY · &lt;strong&gt;Seven releases in one evening&lt;/strong&gt; 0.4.1 at 16:25 to 0.4.8 at 00:25. Most were one or two issues each, shipped as soon as they were green, rather than batched.&lt;/li&gt;
&lt;li&gt; THURSDAY · &lt;strong&gt;A regression&lt;/strong&gt; The 17-issue batch in 0.4.8 froze the window: a tab label read the disk on every redraw. Nobody tested for that. It was found by working in it the next morning, fixed in a worktree, and shipped as 0.4.9 that afternoon. The gotcha was written down so no future session repeats it.&lt;/li&gt;
&lt;li&gt; FRIDAY · &lt;strong&gt;Releases now follow milestones&lt;/strong&gt; On Friday the rule changed: a full release after every milestone of the v0.50 project (0.5.1, 0.5.2…), with point builds (0.5.1.1) for fixes inside the same milestone. Three releases followed in one afternoon.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;each step up is a signed, notarized release · hover for the hour · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The loop is fast because it is short. The person who files the bug is the person who feels it, the agent that fixes it runs inside the tool it is fixing, and the release lands on the same machine a few minutes later, underneath that same agent. A team would need a release train to get the same feedback. Here it is one window, and the next section is about why each turn of it costs so little.&lt;/p&gt;

&lt;h3&gt;
  
  
  The design choice that makes it work: sessions outlive the app
&lt;/h3&gt;

&lt;p&gt;The single biggest optimization in this loop isn't speed of coding. It is that &lt;strong&gt;rebuilding the application never touches a session&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;One Roof doesn't own its terminals. Since 0.4.0 they live in &lt;strong&gt;roofd&lt;/strong&gt;, a small session manager that ships inside the app: a daemon for control, plus &lt;strong&gt;one holder process per session&lt;/strong&gt; that owns the terminal and the agent running in it. The app is only a window onto them: each terminal pane attaches to its holder, and a headless terminal inside the holder can redraw the screen for whoever attaches next.&lt;/p&gt;

&lt;p&gt;So when a release goes in, the old app quits, the new one starts, and every pane reattaches to a holder that never stopped. An agent can ship a fix to One Roof, install it, and keep working in the new build, all in the same conversation. Thirteen releases in two days would be unbearable if each one meant restarting eight sessions and re-explaining what each was doing. Here each one costs only the moment it takes the window to reopen and redraw.&lt;/p&gt;

&lt;p&gt;Why this matters beyond One Roof&lt;/p&gt;

&lt;p&gt;It is the same idea as keeping state out of the thing you redeploy. Production apps keep it in a database so the app can be replaced at will. One Roof keeps the sessions in holders so the IDE can be replaced at will. The tool can evolve under work that is still in flight.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the loop is fast: the force multiplier
&lt;/h2&gt;

&lt;p&gt;Thirteen releases in two days only works if each turn of the loop costs me very little. A multiplier only means something if you can point at each factor, so here is the chain from one spoken sentence to production, with the measured number at every link:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;How one sentence becomes shipped software&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; FACTOR 1 · &lt;strong&gt;The input is my voice&lt;/strong&gt; Almost every prompt in this window was spoken, not typed: dictated into Wispr Flow, which turns speech into clean text in whatever window has focus. Speaking is several times faster than typing, and it changes what I ask for. A spoken prompt carries the context and the why, the parts that get cut when typing.&lt;/li&gt;
&lt;li&gt; FACTOR 2 · &lt;strong&gt;Each prompt fans out&lt;/strong&gt; One prompt sets off a run: reading code, editing, testing, committing, filing Linear updates. Across the window, 508 prompts drove 14,634 assistant turns in the main sessions and 3,062 more in subagents. Claude also launched 45 Codex runs on its own for second opinions.&lt;/li&gt;
&lt;li&gt; FACTOR 3 · &lt;strong&gt;Several sessions run in parallel&lt;/strong&gt; While one session runs, I'm talking to the next. One Roof showed eight active sessions at once on Friday; up to six worktree lanes were in flight together on Wednesday. My attention moves between sessions; the work doesn't wait for it.&lt;/li&gt;
&lt;li&gt; FACTOR 4 · &lt;strong&gt;Shipping costs no attention&lt;/strong&gt; Every commit goes through the same path: worktree, live, lift, develop, staging, main, production. Builds, signing, staging and verification run by themselves; production is one promotion of an already-verified image. That is a platform engineer's job, done by a runbook.&lt;/li&gt;
&lt;li&gt; RESULT · &lt;strong&gt;It reaches production&lt;/strong&gt; The end of the chain is real: 45 production deploys across eight Kargo projects and 13 signed One Roof releases, with a median of 7.9 minutes from merge to production.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this factor · dots = the work fanning out · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Put the factors together: each spoken prompt drives about &lt;strong&gt;35 agent turns&lt;/strong&gt;, and while those run, &lt;strong&gt;six to eight sessions&lt;/strong&gt; are going at once, on top of a pipeline that ships without me. Over the 24 hours in which I was actually working, the agents took about &lt;strong&gt;740 actions an hour&lt;/strong&gt;, around twelve a minute, while I talked, read, decided and moved on.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Prompts vs commits landed, per 6-hour block&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Prompts&lt;/th&gt;
&lt;th&gt;Commits landed&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Wed 16–22&lt;/td&gt;
&lt;td&gt;94&lt;/td&gt;
&lt;td&gt;67&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 22–04&lt;/td&gt;
&lt;td&gt;32&lt;/td&gt;
&lt;td&gt;45&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 04–10&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 10–16&lt;/td&gt;
&lt;td&gt;34&lt;/td&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 16–22&lt;/td&gt;
&lt;td&gt;72&lt;/td&gt;
&lt;td&gt;47&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 22–04&lt;/td&gt;
&lt;td&gt;130&lt;/td&gt;
&lt;td&gt;119&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 04–10&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 10–16&lt;/td&gt;
&lt;td&gt;146&lt;/td&gt;
&lt;td&gt;96&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; RATIO · &lt;strong&gt;Close to one landed commit per prompt&lt;/strong&gt; 387 landed commits from 508 prompts. Many prompts are a question, a review or a go-ahead rather than a request for code, so near one-to-one is a lot.&lt;/li&gt;
&lt;li&gt; PEAK · &lt;strong&gt;The late-night block is the most efficient&lt;/strong&gt; Thursday 22:00 to 04:00 landed 119 commits from 130 prompts, largely the labs consolidation, where each prompt set off a long, well-specified run.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;same unit (count) on one axis · the empty blocks are sleep · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What the multiplier buys is easiest to see in four places:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Breadth.&lt;/strong&gt; 24 repositories touched in two days, across four products, a desktop app, a public showcase and the infrastructure, each through the same safe path. One engineer without agents would pick one or two.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Cycle time.&lt;/strong&gt; A bug felt in the morning is a released fix by the afternoon (LAB-540: about 14 hours, most of it asleep). The median bug that got fixed was fixed in &lt;strong&gt;0.8 hours&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Operations at zero marginal effort.&lt;/strong&gt; 418 builds, 114 promotions and 13 signed releases needed no hand deploys.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Continuity.&lt;/strong&gt; The work keeps moving when I'm away from the desk, because the agents are reachable from my phone (below).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What the multiplier is on&lt;/p&gt;

&lt;p&gt;It is on &lt;strong&gt;reach per unit of attention&lt;/strong&gt;: how much gets done for each sentence I speak. It is not a claim about commits per engineer. The point is where the leverage comes from: removing the waiting (for typing, for review, for deploys, for context) at every link of the loop.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stack: speak, plan, run, ship
&lt;/h2&gt;

&lt;p&gt;None of this is one product. It is four tools that each do one job, wired so that nothing gets typed twice:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Four tools, one loop&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; INPUT · &lt;strong&gt;Wispr Flow is the keyboard&lt;/strong&gt; I mostly speak. Wispr Flow dictates into whatever has focus: a One Roof session, a Linear comment, a Slack DM. It's the reason 508 prompts in 48 hours is sustainable. Typing them would be a full-time job by itself.&lt;/li&gt;
&lt;li&gt; PLAN · &lt;strong&gt;Linear holds the work&lt;/strong&gt; Every unit of work is a Linear issue in a project, and every commit carries its key. Agents file, update and comment on issues themselves; new ideas land in Backlog and I decide what gets picked up.&lt;/li&gt;
&lt;li&gt; RUN · &lt;strong&gt;One Roof is where it runs&lt;/strong&gt; One Roof is the piece that connects the other two. Its issue picker opens a session on one or several Linear issues; its board groups live sessions by project; its plan panel shows what each agent is doing. It complements Wispr Flow and Linear rather than replacing them: Flow is the input, Linear is the plan, One Roof is where the plan meets the agents.&lt;/li&gt;
&lt;li&gt; SHIP · &lt;strong&gt;The pipeline ships it&lt;/strong&gt; Agents never deploy by hand. They land work, lift what's ready and run the ship script; Woodpecker, Kargo and Argo CD do the rest.&lt;/li&gt;
&lt;li&gt; REACH · &lt;strong&gt;Slack reaches it from anywhere&lt;/strong&gt; Away from the desk, a voice DM in Slack reaches the same agents on the same laptop, which can file the issue, answer a question or start work, and reply in the thread.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this tool · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&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%2F6erpopgx4nfdk8tdmcum.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%2F6erpopgx4nfdk8tdmcum.png" alt="Linear on the left, One Roof's Board on the right: every live session grouped by Linear project" width="799" height="332"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Linear and One Roof side by side. The Board groups every session by its Linear project.&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%2Fmlg6pbd5ljhh8k9foo10.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%2Fmlg6pbd5ljhh8k9foo10.png" alt="One Roof's workspace: the session list, a running agent's transcript, and the plan panel with the session's Linear issue" width="800" height="300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One Roof's workspace: eight active sessions on the left, a live agent transcript in the middle, the session's plan and Linear issue on the right.&lt;/p&gt;

&lt;h3&gt;
  
  
  From a big backlog to work One Roof can run
&lt;/h3&gt;

&lt;p&gt;The stack earns its keep on a backlog too big to hold in your head. One Roof v0.50 is a good example. It is one Linear project with &lt;strong&gt;88 issues in scope&lt;/strong&gt;, and many of them were spoken into existence: from sessions, from Slack, from using the app. On its own that's a pile. The agents turn it into a plan in three moves.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Group it into milestones that are releases.&lt;/strong&gt; The backlog is sorted into rounds, each one a shippable version: R2 · 0.5.2 Groundwork, R3 · 0.5.3 Automation on Loops (17 issues), R4 · 0.5.4 Fleet planning, R5 · 0.5.5 Session health. Each round ends in a full release, so progress is measured in builds on my Mac, not in ticked boxes.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Check each issue is ready to run.&lt;/strong&gt; One Roof's issue picker marks an issue &lt;strong&gt;not ready&lt;/strong&gt; when it's missing what an agent needs to finish it without asking: steps to reproduce, expected vs actual, where it was seen, and a &lt;strong&gt;done when&lt;/strong&gt;. The gap is named on the issue itself, so it gets fixed before work starts, not halfway through.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Pick several, open one session.&lt;/strong&gt; Tick five issues, press New session, and One Roof opens one session on all of them. It starts with a plan, works through the issues, and moves each one to In Progress and In Review itself. The Done-when line says when it can stop.&lt;/li&gt;
&lt;/ol&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%2Fuf8ac1ou59qgsyr5oyju.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%2Fuf8ac1ou59qgsyr5oyju.png" alt="Linear: the One Roof v0.50 backlog organised into release milestones, each a 0.5.x build" width="800" height="664"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The v0.50 backlog in Linear, grouped into release rounds: 0.5.2 Groundwork, 0.5.3 Automation on Loops, 0.5.4 Fleet planning. 88 in scope, 30 started, 21 completed.&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%2Fx6bvneq91lt7mvo7g44z.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%2Fx6bvneq91lt7mvo7g44z.png" alt="One Roof's New session dialog with five issues picked from the v0.50 project, and the readiness check naming what an issue is missing" width="800" height="567"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One Roof: five issues picked for one session. The picker flags 'not ready' issues and names what's missing (here: steps to reproduce, expected vs actual, where seen), next to the issue's Done-when.&lt;/p&gt;

&lt;p&gt;That is the hand-off from planning to execution. I decide &lt;strong&gt;what&lt;/strong&gt; and &lt;strong&gt;in which round&lt;/strong&gt;; the readiness check makes sure each issue says &lt;strong&gt;what done means&lt;/strong&gt;; One Roof turns a set of issues into a session that plans, works and reports back. Then the release goes in under the sessions that are still running, and the next round starts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Local, not hosted
&lt;/h2&gt;

&lt;p&gt;Most agent loops people describe today run as hosted services. A cloud agent clones your repository into a sandbox, works on a copy, and opens a pull request. That's a fine loop for a single repository. It is a different thing from what ran this week, and the difference matters more than any number in this post.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Everything here runs on my machine, against my real environment.&lt;/strong&gt; The agents work in the same &lt;code&gt;~/Projects&lt;/code&gt; folder I do, with the same files, the same 24 repositories, the same notes and handoffs, the same credentials and the same running apps. When an agent fixes One Roof, it builds One Roof on this Mac, signs it here and installs it here. When it previews a blog post, it rebuilds the local container and opens it in a browser here. Only finished, verified work leaves the machine, through the pipeline.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;A hosted agent loop&lt;/th&gt;
&lt;th&gt;The local loop in this post&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Where the agent runs&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;a cloud sandbox, per task&lt;/td&gt;
&lt;td&gt;my laptop, in &lt;code&gt;~/Projects&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;What it sees&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;a fresh clone of one repository&lt;/td&gt;
&lt;td&gt;all 24 repos, shared rules, memory, handoffs, gotchas&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;State between tasks&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;starts cold every time&lt;/td&gt;
&lt;td&gt;picks up from the last handoff and the shared record&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Credentials&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;whatever you paste into the service&lt;/td&gt;
&lt;td&gt;my own, already on the machine, never uploaded&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;What it can touch&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;the repo and the sandbox&lt;/td&gt;
&lt;td&gt;the real Mac: build and sign the app, run local containers and models, read the Resources view&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The result&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;a pull request to review&lt;/td&gt;
&lt;td&gt;a commit on live, then the same ship path as everything else&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;How I reach it away from the desk&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;the vendor's web app&lt;/td&gt;
&lt;td&gt;a voice DM to my own laptop (next section)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Concrete things in this window that a hosted loop couldn't have done:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Signing and installing One Roof.&lt;/strong&gt; All 13 releases were built, signed and notarized on this Mac and installed over the running app. One of the release runbook's seven checks is that the app installed on this Mac is the new version.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Using the tool to find its own bugs.&lt;/strong&gt; The 0.4.8 freeze was found by working in the installed app the next morning. A sandbox never runs the app it builds.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Local models and local services.&lt;/strong&gt; One Roof's session router uses a small model served by llama.cpp on the laptop; LAB-549 (a watchdog for that local model server) was found and fixed because the agents could see the Mac's own processes.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Previewing in the real stack.&lt;/strong&gt; Every chart in this post was rendered in the local GabbleGrid container, rebuilt from committed live, and checked in a headless browser on the same machine before anything shipped.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The trade-offs are real: the laptop has to be on, its memory and CPU are the true concurrency limit (One Roof's Resources view is there to watch it), and an agent with my permissions needs fences. That is why every session starts with the same READ-FIRST, why work lands through locked worktrees, and why the Slack bridge answers exactly one person.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two-way with the laptop: Slack → local agents
&lt;/h2&gt;

&lt;p&gt;The Slack bridge is the clearest example of local-first. &lt;strong&gt;The agents don't run in the cloud. They run on my laptop, against my files, my repositories and my credentials.&lt;/strong&gt; Slack is just the radio.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;From a voice DM to an agent on my laptop&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; PHONE · &lt;strong&gt;Say it from anywhere&lt;/strong&gt; A DM to the bot, usually dictated on a walk or between sets. No laptop, no VPN, no app beyond Slack.&lt;/li&gt;
&lt;li&gt; RELAY · &lt;strong&gt;Slack only carries the message&lt;/strong&gt; A small service on the laptop holds an outbound Socket Mode connection to Slack. Nothing on the laptop listens on an open port, and there is no server in the cloud.&lt;/li&gt;
&lt;li&gt; LAPTOP · &lt;strong&gt;A local agent picks it up&lt;/strong&gt; The service runs a Claude Code turn in ~/Projects, with the same READ-FIRST, rules, memory and tools as every session at the desk. It works on the real repositories and the real Linear workspace.&lt;/li&gt;
&lt;li&gt; WORK · &lt;strong&gt;Big asks become real sessions&lt;/strong&gt; A question or a new issue is answered inline in under a minute. Real work (a fix, a ship, a long investigation) starts a worker session in tmux on the laptop, which I can pick up later from One Roof.&lt;/li&gt;
&lt;li&gt; TWO-WAY · &lt;strong&gt;It talks back&lt;/strong&gt; The reply lands in the Slack thread with Linear links. Separately, every agent in every session DMs me at milestones (a plan, a phase finished, a ship, a blocker), so I know what's happening without opening the laptop.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this step · dots = the message moving · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&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%2F1kdc6zab2mw7gsgj53bx.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%2F1kdc6zab2mw7gsgj53bx.png" alt="The cockpit-bot DM on my phone: three issues dictated in a row on Wednesday evening" width="507" height="1100"&gt;&lt;/a&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%2F4l89n9mu6bvwltwskz0n.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%2F4l89n9mu6bvwltwskz0n.png" alt="The bot's reply: LAB-497 filed in the One Roof v0.50 project, with the three steps it describes" width="507" height="1100"&gt;&lt;/a&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%2Fr714ocmdf8r2u79zl8m2.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%2Fr714ocmdf8r2u79zl8m2.png" alt="The bot's reply: LAB-484 filed in Backlog with a full spec of what the issue asks for" width="507" height="1100"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;From the phone on Wednesday evening. Left: three dictated requests, each answered in its own thread. Middle: LAB-497 filed in the right project, with a question about a near-duplicate project. Right: a rambling spoken idea turned into a structured issue (presets, a config screen, configurable levels, a done-when).&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The numbers so far.&lt;/strong&gt; The bridge is new and the stream is still small:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;When the Slack DMs arrive (all 24 since the bot started, 9 Oct)&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;DMs to the bot&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;00h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;01h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;02h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;03h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;04h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;05h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;06h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;07h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;08h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;09h&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10h&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;13h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;14h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;15h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;16h&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;17h&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;18h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;19h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;20h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;21h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;22h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;23h&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; BEFORE THE DESK · &lt;strong&gt;Morning&lt;/strong&gt; Six DMs between 9 and 11 in the morning: ideas from the night before, captured before the first session opens.&lt;/li&gt;
&lt;li&gt; AWAY · &lt;strong&gt;Late afternoon&lt;/strong&gt; Eleven DMs between 4 and 7 pm, the gym and walk window. This is where the four issues in this case study came from.&lt;/li&gt;
&lt;li&gt; AFTER HOURS · &lt;strong&gt;Late night&lt;/strong&gt; Seven DMs between 11 pm and 1 am, after the last session has closed.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;hour of day, Pacific · hover for the count · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;24 exchanges&lt;/strong&gt; since the bot started on 9 October, &lt;strong&gt;4 in this window&lt;/strong&gt;. Median exchange: 39 seconds; about $0.43 each on average.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;4 Linear issues&lt;/strong&gt; were created from Slack in the window, all on Wednesday evening: three deliverables and a spike for One Roof v0.50 (LAB-483, 484, 485, 497). One is In Review; the other three are in Backlog. &lt;strong&gt;None has shipped yet.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;  The count only includes issues the bot created while answering a DM. Ideas spoken into Slack and picked up later at the desk aren't attributed, and the DM hours overlap desk time, so "away from the desk" is the intent more than a measurement.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why it compounds.&lt;/strong&gt; Handoffs carry the state of the work from one session to the next; Slack captures new intent between sessions; Linear holds both. Nothing depends on my remembering. Each morning starts with a backlog the previous evening's walk already filled, and with agents that can be asked a question from the gym. That's the cycle of continuity. It's small today, and it is the part of the multiplier I expect to grow fastest.&lt;/p&gt;

&lt;h2&gt;
  
  
  When the work happened
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Landed commits per hour, by where they landed&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;One Roof&lt;/th&gt;
&lt;th&gt;Other labs&lt;/th&gt;
&lt;th&gt;_common&lt;/th&gt;
&lt;th&gt;Products&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Wed 16h&lt;/td&gt;
&lt;td&gt;14&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 17h&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 18h&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 19h&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 20h&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 21h&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 22h&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 23h&lt;/td&gt;
&lt;td&gt;18&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 00h&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 01h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 02h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 03h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 04h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 05h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 06h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 07h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 08h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 09h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 10h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 11h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 12h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 13h&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 14h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 15h&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 16h&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 17h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 18h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 19h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 20h&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 21h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 22h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 23h&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 00h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;16&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 01h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 02h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;15&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 03h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 04h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 05h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 06h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 07h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 08h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 09h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 10h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 11h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 12h&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 13h&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 14h&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;19&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 15h&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; BURST 1 · &lt;strong&gt;Wednesday evening is One Roof&lt;/strong&gt; The first eight hours are almost all One Roof: seven releases, 0.4.1 to 0.4.8, between 16:25 and 00:25.&lt;/li&gt;
&lt;li&gt; QUIET · &lt;strong&gt;Nothing ships while I sleep&lt;/strong&gt; Twelve hours with zero commits. The agents don't run unattended overnight in this setup. Every session starts with a human prompt, and the pipeline only moves when something lands.&lt;/li&gt;
&lt;li&gt; BURST 2 · &lt;strong&gt;Thursday night spreads out&lt;/strong&gt; The second burst moves off One Roof and onto everything else: the labs-core consolidation, the public showcase repos, Zibajoon, Hypothesys. One Roof is now the place the work happens, not the thing being worked on.&lt;/li&gt;
&lt;li&gt; PEAK · &lt;strong&gt;Friday afternoon is the peak&lt;/strong&gt; 37 landed commits in the 14:00 hour, the busiest of the window, across all four groups at once, while One Roof shipped 0.5.1, 0.5.1.1 and 0.5.2.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;stacked · hover for the hour · ← → or Play for the walk-through · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Commits landed in 24 of the 48 hours, in three bursts. The gaps are sleep. That matters for the "how much faster" question later: this is not a fleet grinding through the night. It is one person working two normal-length days, with the agents multiplying each working hour.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it went
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Landed commits by repository (top 12 of 24)&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Landed commits&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;labs/oneroof&lt;/td&gt;
&lt;td&gt;103&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;_common&lt;/td&gt;
&lt;td&gt;77&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;zibajoon-app&lt;/td&gt;
&lt;td&gt;33&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;zibajoon-docs&lt;/td&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;labs-core&lt;/td&gt;
&lt;td&gt;24&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;hypothesys-ai-app&lt;/td&gt;
&lt;td&gt;19&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;oneroof-local&lt;/td&gt;
&lt;td&gt;15&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;energy-lab-1&lt;/td&gt;
&lt;td&gt;15&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;energy-lab-2&lt;/td&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gabblegrid-app&lt;/td&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;document-lab&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;agencium-app&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;One Roof's own repository took &lt;strong&gt;103 landed commits, 26.6% of the total&lt;/strong&gt;, and 94 of those reached &lt;code&gt;main&lt;/code&gt;. Every commit carries a Linear key and a project code in its subject (&lt;code&gt;LAB-549 · [LAB-ONEROOF-BUGS] …&lt;/code&gt;), so the same work can also be counted by project:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Linear issues completed, by project (top 5)&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Completed&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;LAB-LABS-CORE-CONSOLIDATION&lt;/td&gt;
&lt;td&gt;58&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LAB-ONEROOF-BUGS&lt;/td&gt;
&lt;td&gt;38&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CMN-BRANCHING-DEPLOY-CICD&lt;/td&gt;
&lt;td&gt;16&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LAB-ONEROOF-v0.50&lt;/td&gt;
&lt;td&gt;16&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ZIB-AWS-COST&lt;/td&gt;
&lt;td&gt;14&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Linear issues opened vs closed, per 3 hours&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Opened&lt;/th&gt;
&lt;th&gt;Closed&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Wed 15h&lt;/td&gt;
&lt;td&gt;26&lt;/td&gt;
&lt;td&gt;24&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 18h&lt;/td&gt;
&lt;td&gt;23&lt;/td&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 21h&lt;/td&gt;
&lt;td&gt;19&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 00h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 03h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 06h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 09h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 12h&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 15h&lt;/td&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 18h&lt;/td&gt;
&lt;td&gt;37&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 21h&lt;/td&gt;
&lt;td&gt;18&lt;/td&gt;
&lt;td&gt;18&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 00h&lt;/td&gt;
&lt;td&gt;30&lt;/td&gt;
&lt;td&gt;33&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 03h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 06h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 09h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 12h&lt;/td&gt;
&lt;td&gt;74&lt;/td&gt;
&lt;td&gt;36&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 15h&lt;/td&gt;
&lt;td&gt;27&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; BURST 1 · &lt;strong&gt;Wednesday closes what it opens&lt;/strong&gt; The One Roof evening opens 68 issues and closes 40. Nine bugs were fixed in the first block alone, as 0.4.1 to 0.4.3 shipped.&lt;/li&gt;
&lt;li&gt; PLAN · &lt;strong&gt;Thursday evening is planning&lt;/strong&gt; 37 issues opened and 6 closed in three hours. 32 of them were the labs consolidation, broken into milestones and issues before any of it was built. The closing happened overnight.&lt;/li&gt;
&lt;li&gt; BUILD · &lt;strong&gt;Overnight&lt;/strong&gt; 51 closed in the next six hours, against 48 opened. The planning block was what made the long, unattended-looking runs possible.&lt;/li&gt;
&lt;li&gt; PEAK · &lt;strong&gt;Friday noon opens 74&lt;/strong&gt; The busiest block of the window: 74 opened, 36 closed. 35 were One Roof v0.50 work around the 0.5.1 and 0.5.2 releases, 12 the deploy and branching project, 8 One Roof bugs. The backlog grows faster than it drains, and the chart doesn't hide that.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;commit-record issues excluded · first block starts at 16:00 · hover for values · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A soft number, stated plainly&lt;/p&gt;

&lt;p&gt;100 of the 158 completed issues were opened and closed within five minutes. They are records of work done in a session ("file it and close it"), not tickets that waited in a queue. For the 58 issues that stayed open longer, the median from opened to done is &lt;strong&gt;4.9 hours&lt;/strong&gt; (p90 20.6 h), and from In Progress to Done &lt;strong&gt;24 minutes&lt;/strong&gt; (p90 13.7 h). Bugs were opened faster than they were closed (71 opened, 22 fixed). Many of the new ones came from using One Roof all day: the self-hosting loop at work.&lt;/p&gt;

&lt;h2&gt;
  
  
  The branching model that makes it safe
&lt;/h2&gt;

&lt;p&gt;Speed without a safe path to production is just risk. The path is the same for every repository and every agent, and since 20 October it has exactly one deploy route.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;From a session to production&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Work in a worktree&lt;/strong&gt; Parallel units each get a worktree on their own branch. Solo work in an empty repo may commit on live directly; as soon as anyone else is in the repo, it's worktrees.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;One branch per person&lt;/strong&gt; Everything lands on ganarasi/live, tagged with its Linear key and project code. Live is the backup and the integration branch. Nothing deploys from it.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Lift what's ready&lt;/strong&gt; To ship, a fresh lift branch is cut from develop and only the tagged commits that are ready are cherry-picked onto it. Unfinished work stays on live. This is what lets half-done and ready work share one branch.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;develop builds and stages itself&lt;/strong&gt; A merge to develop triggers Woodpecker: build, test, sign the image with cosign. Kargo sees the new freight and puts it on staging by itself, then verifies the signature and that the health endpoint reports the same commit.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Production promotes the verified image&lt;/strong&gt; develop → main is the release record. Production is a Kargo promotion of the exact freight that passed staging: the same image, verified again. No hand deploys, no kubectl, no GitHub Actions.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this step · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;How fast does that path run? Fast enough that it is never the bottleneck:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;How long each hop takes (minutes)&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Median&lt;/th&gt;
&lt;th&gt;p90&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CI build&lt;/td&gt;
&lt;td&gt;1.4&lt;/td&gt;
&lt;td&gt;3.8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;develop → staging live&lt;/td&gt;
&lt;td&gt;3.9&lt;/td&gt;
&lt;td&gt;8.8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;develop → prod live&lt;/td&gt;
&lt;td&gt;7.9&lt;/td&gt;
&lt;td&gt;27.4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;live commit → on main&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;median vs p90 over the 48 hours · hover for values · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Hour by hour, the pipeline mirrors the commit bursts with no lag you can see at this scale:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;CI pipelines per hour, by branch&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;develop&lt;/th&gt;
&lt;th&gt;main&lt;/th&gt;
&lt;th&gt;live&lt;/th&gt;
&lt;th&gt;other&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Wed 16h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 17h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 18h&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 19h&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 20h&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 21h&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 22h&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 23h&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 00h&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 01h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 02h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 03h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 04h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 05h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 06h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 07h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 08h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 09h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 10h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 11h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 12h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 13h&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 14h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 15h&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 16h&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 17h&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 18h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 19h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 20h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 21h&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 22h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 23h&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 00h&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 01h&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 02h&lt;/td&gt;
&lt;td&gt;23&lt;/td&gt;
&lt;td&gt;16&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 03h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 04h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 05h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 06h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 07h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 08h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 09h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 10h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 11h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 12h&lt;/td&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 13h&lt;/td&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;td&gt;14&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 14h&lt;/td&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 15h&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; SHIP CYCLES · &lt;strong&gt;develop and main move in pairs&lt;/strong&gt; develop and main builds track each other hour by hour, because each ship goes develop → staging → main in one run of the ship script. 181 develop builds, 138 main.&lt;/li&gt;
&lt;li&gt; PEAK · &lt;strong&gt;The 02:00 surge&lt;/strong&gt; 45 pipelines in one hour (23 on develop) as the labs consolidation landed repo after repo. The builders scale up when steps queue and back down after ten idle minutes.&lt;/li&gt;
&lt;li&gt; FAILURES · &lt;strong&gt;Six failures in 48 hours&lt;/strong&gt; Three of the six failures came at 00:05 on Thursday, all from shipping One Roof 0.4.8: the lift, develop and live builds. That was the 17-issue batch that later froze the window. Sixteen more pipelines were killed, usually superseded by a newer push.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;Woodpecker · 418 pipelines · develop builds, main records, live checks · hover for the hour · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Kargo promotions per hour&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Staging&lt;/th&gt;
&lt;th&gt;Production&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Wed 16h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 17h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 18h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 19h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 20h&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 21h&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 22h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wed 23h&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 00h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 01h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 02h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 03h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 04h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 05h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 06h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 07h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 08h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 09h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 10h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 11h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 12h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 13h&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 14h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 15h&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 16h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 17h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 18h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 19h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 20h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 21h&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 22h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thu 23h&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 00h&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 01h&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 02h&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 03h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 04h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 05h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 06h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 07h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 08h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 09h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 10h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 11h&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 12h&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 13h&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 14h&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fri 15h&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;successful promotions · staging is automatic, production is an explicit promotion of the verified freight · &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Once Kargo sees a new freight, staging takes a median of &lt;strong&gt;12 seconds&lt;/strong&gt; to promote it; the gap from a verified staging to production is a median of &lt;strong&gt;1.7 minutes&lt;/strong&gt; (p90 15). Production took 45 promotions across eight Kargo projects, zibajoon.com alone 16.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;418 Woodpecker pipelines&lt;/strong&gt; ran: 181 on &lt;code&gt;develop&lt;/code&gt;, 138 on &lt;code&gt;main&lt;/code&gt;, 64 on &lt;code&gt;live&lt;/code&gt;. 94.7% of the finished ones were green; 6 failed and 16 were killed (usually superseded by a newer push).&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;114 Kargo promotions&lt;/strong&gt;: 65 to staging, 45 to production, 4 errored. Each production promotion matches a "to prod" commit in the deploy repository (46 commits against 45 freights, which is the cross-check).&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Median ten minutes&lt;/strong&gt; from a commit on live to its copy on &lt;code&gt;main&lt;/code&gt;, over 204 commits.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Why one branch per person plus lifts, and not feature branches&lt;/p&gt;

&lt;p&gt;With one maintainer, feature branches are ceremony: one person reviews their own PRs. One live branch keeps every session's work integrated all the time, and the lift picks only what's ready. The branching standard already says when to switch: the day a second engineer joins, it flips to feature branches with PRs as the review surface. The deploy path doesn't change.&lt;/p&gt;

&lt;h2&gt;
  
  
  What broke, and what's still rough
&lt;/h2&gt;

&lt;p&gt;Even this window had a collision. While I was writing this post, one session warned another that two runs of the ship script on the same repository had shared a state file. One run executed the other's staging and main steps. Nothing reached production wrongly, because production only moves by an explicit Kargo promotion, but it's the first crack in the one-person model. Two parallel ships of one repo need the lock that landings already have.&lt;/p&gt;

&lt;p&gt;Other rough edges, from the same data:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Bugs outpaced fixes (71 opened, 22 fixed).&lt;/strong&gt; Many were found by daily use and filed immediately. That is the loop working as intended, but the backlog grows.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Many issues are records, not tickets.&lt;/strong&gt; 100 of 158 completions were opened and closed within five minutes. Linear is serving as a work log as much as a planner.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Codex, Kimi and Gemini were nearly idle.&lt;/strong&gt; Claude Opus 5.5 co-authored 381 of 440 commits. Codex ran 45 times, almost all launched and reviewed by Claude. The five-agent fleet from the first post is, in practice, one main agent with a second opinion on call.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The prior 48 hours looked bigger&lt;/strong&gt; (547 landed commits, 585 pipelines), but that window included a one-off sweep that disabled GitHub Actions across 66 repositories and the migration to Linear. It is not a like-for-like baseline.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How the numbers were collected
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;th&gt;What it gave&lt;/th&gt;
&lt;th&gt;Caveat&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;git refs, 31 repos (local + &lt;code&gt;origin/*&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;landed commits, lines, hours, lifts, worktree tags&lt;/td&gt;
&lt;td&gt;author dates; cherry-picks matched by date + subject&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Linear GraphQL API&lt;/td&gt;
&lt;td&gt;issues, bugs, projects, timelines&lt;/td&gt;
&lt;td&gt;commit-record issues excluded by their label&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Woodpecker API&lt;/td&gt;
&lt;td&gt;418 pipelines, durations, status&lt;/td&gt;
&lt;td&gt;paged at 50 per request&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kargo (kubectl)&lt;/td&gt;
&lt;td&gt;114 promotions, freight, lead times&lt;/td&gt;
&lt;td&gt;Kargo keeps ~3 days of promotions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;deploy repos (GitHub)&lt;/td&gt;
&lt;td&gt;46 "to prod" commits&lt;/td&gt;
&lt;td&gt;cross-check for Kargo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;agent transcripts&lt;/td&gt;
&lt;td&gt;sessions, prompts, assistant turns&lt;/td&gt;
&lt;td&gt;counted, never read for content&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;All of it is read-only and re-runnable; the collection scripts are kept with the project record (CMN-BLOG-VELOCITY).&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;One Roof:&lt;/strong&gt; &lt;a href="https://gaurav8936.github.io/oneroof/" rel="noopener noreferrer"&gt;project page and download&lt;/a&gt; · &lt;a href="https://github.com/gaurav8936/oneroof" rel="noopener noreferrer"&gt;source&lt;/a&gt; · &lt;a href="https://github.com/gaurav8936/oneroof/releases" rel="noopener noreferrer"&gt;releases&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Me:&lt;/strong&gt; &lt;a href="https://gaurav8936.github.io/" rel="noopener noreferrer"&gt;gaurav8936.github.io&lt;/a&gt; (portfolio) · &lt;a href="https://github.com/gaurav8936" rel="noopener noreferrer"&gt;github.com/gaurav8936&lt;/a&gt; (all my public repositories)&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The first post:&lt;/strong&gt; &lt;a href="https://dev.to/blog/one-workspace"&gt;One workspace: five coding agents, one set of rules&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Originally published at &lt;a href="https://agentair.ai/blog/one-roof-builds-one-roof" rel="noopener noreferrer"&gt;https://agentair.ai/blog/one-roof-builds-one-roof&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>velocity</category>
      <category>selfhosting</category>
      <category>localfirst</category>
    </item>
    <item>
      <title>One library, every agent</title>
      <dc:creator>Gaurav Narasimhan</dc:creator>
      <pubDate>Sat, 05 Dec 2026 20:08:21 +0000</pubDate>
      <link>https://dev.to/gaurav_narasimhan/one-library-every-agent-4bca</link>
      <guid>https://dev.to/gaurav_narasimhan/one-library-every-agent-4bca</guid>
      <description>&lt;p&gt;&lt;em&gt;A lesson that lives in one session dies with it. Written as a skill, it reaches every agent on the machine at its next start, and, narrated as a card, it teaches a person the same thing in a few minutes.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The first three posts in this series covered what an agent knows before it starts (&lt;a href="https://dev.to/blog/agentic-engineering"&gt;context&lt;/a&gt;), how it knows when to stop (&lt;a href="https://dev.to/blog/loops-with-a-stop-condition"&gt;loops&lt;/a&gt;) and how it proves it's done (&lt;a href="https://dev.to/blog/evidence-not-confidence"&gt;evidence&lt;/a&gt;). This one is about the part that compounds: what the next session inherits.&lt;/p&gt;

&lt;h2&gt;
  
  
  The lesson that dies with the session
&lt;/h2&gt;

&lt;p&gt;Every long session teaches something. How to ship a docs repo without tripping on an auto-generated index file. Which order to publish a content CDN in so the old catalog never points at a deleted page. What the right format is for a milestone message.&lt;/p&gt;

&lt;p&gt;If that knowledge stays in the conversation, it's gone when the session ends, and the next session pays for it again. A note in one agent's private memory is a little better, but only that agent reads it. What's needed is a form that is &lt;strong&gt;written once, found at the right moment, and read by every agent&lt;/strong&gt;. In this workspace that form is a skill.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a skill is
&lt;/h2&gt;

&lt;p&gt;A skill is a folder with one required file, &lt;code&gt;SKILL.md&lt;/code&gt;. The top of the file is a short block of fields; the rest is plain Markdown instructions.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;---
name: done-when
description: "Turn a task into a loop an agent can finish: write the goal as an end"
  state, the check that proves it and the stop condition, as one done-when line on
  the Linear issue.
track: doctrine
runtime: [shared]
triggers: [done when, make this issue ready, add a stop condition]
---

&lt;span class="gu"&gt;# Done-when
&lt;/span&gt;
&lt;span class="gu"&gt;## Use it when
&lt;/span&gt;…
&lt;span class="gu"&gt;## Steps
&lt;/span&gt;1. Write the goal as an end state. …
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two fields do most of the work. The &lt;strong&gt;description&lt;/strong&gt; is what an agent reads when deciding whether the skill applies, so it says the trigger and the outcome in one sentence. The &lt;strong&gt;runtime&lt;/strong&gt; says which agents get it: every interactive agent, the background workers too, or one worker only.&lt;/p&gt;

&lt;p&gt;The body is a procedure, not an essay: when to use it, when not to, numbered steps, what it produces. A good skill is short enough to follow in full. That matters, because the rule here is that &lt;strong&gt;skills run in full&lt;/strong&gt;: no step is optional, and long procedures end with a self-audit that counts what was done.&lt;/p&gt;

&lt;p&gt;Skills versus rules&lt;/p&gt;

&lt;p&gt;A rule says what must always be true ("never squash to main"). A skill says how to do one job ("take this change from live to main"). Rules live in the shared rulebook every agent reads at start-up. Skills are loaded when the job comes up. A skill can cite a rule; it never replaces one.&lt;/p&gt;

&lt;h2&gt;
  
  
  One library, linked everywhere
&lt;/h2&gt;

&lt;p&gt;The library is one repository with one folder per skill, grouped into tracks. A sync script reads each skill's &lt;code&gt;runtime&lt;/code&gt; and links the folder into every agent home that should have it:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;One library, linked into every agent home&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; LIBRARY · &lt;strong&gt;One folder per skill&lt;/strong&gt; Every skill is a folder in one repository: the instructions an agent follows, the scenes that teach a person, and the rendered player.&lt;/li&gt;
&lt;li&gt; RUNTIME · &lt;strong&gt;The skill says who gets it&lt;/strong&gt; A field in each skill decides which agents receive it: every interactive agent, the background workers as well, or one worker only.&lt;/li&gt;
&lt;li&gt; SYNC · &lt;strong&gt;Links&lt;/strong&gt; One command links each folder into every home that should have it. An edit to a skill reaches every linked agent at its next start, with nothing to copy or keep in step.&lt;/li&gt;
&lt;li&gt; CATALOG · &lt;strong&gt;Apps read one catalog&lt;/strong&gt; A build step turns the library into one machine-readable catalog. Every app that shows the cards reads that file, and none keeps its own list.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this step · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-library-every-agent" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;On this machine, that's eleven interactive homes (six Claude accounts and slots, three for Codex, one each for Gemini and Kimi) plus two background workers. They're all links into the same folders. When I added the done-when skill this week, every one of those agents had the new version at its next start, and nobody copied anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  A card teaches a person the same thing
&lt;/h2&gt;

&lt;p&gt;Each skill has a second half. Next to &lt;code&gt;SKILL.md&lt;/code&gt; sits a &lt;code&gt;spec.json&lt;/code&gt;: a short sequence of narrated scenes, each with a heading, a simple diagram and two or three spoken sentences. A renderer turns it into a player page, and a voice model turns each scene's narration into a short audio clip.&lt;/p&gt;

&lt;p&gt;The point is that the same idea serves two readers. &lt;code&gt;SKILL.md&lt;/code&gt; tells an agent how to write a done-when line. The card's scenes teach a person why a task needs a stop condition, what a good check looks like and how to write the line, in a few minutes of listening. The agent and the person learn the same practice from the same folder.&lt;/p&gt;

&lt;p&gt;Two details keep this cheap enough to maintain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Audio is keyed by its text.&lt;/strong&gt; Each clip's file name is a hash of the scene's narration. Edit one sentence and only that scene is voiced again; everything else is reused. The last round voiced 105 new or changed scenes, about 33,000 characters, for roughly fifty cents at the provider's listed price.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Visuals are built from a few parts.&lt;/strong&gt; A scene's diagram is assembled from a handful of shared pieces (a step, an arrow, a note, a comparison, a grid), so a new card looks like the rest without anyone drawing it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Across the library that's now 238 cards, about 3,800 narrated scenes and nearly twenty hours of listening, grouped into the tracks the cards belong to. It's live as &lt;strong&gt;Agentic Engineering&lt;/strong&gt; at &lt;strong&gt;&lt;a href="https://dev.to/ae"&gt;/ae&lt;/a&gt;&lt;/strong&gt; on this site and the other sites.&lt;/p&gt;

&lt;h2&gt;
  
  
  One catalog, and the day it changed shape
&lt;/h2&gt;

&lt;p&gt;Every app that shows the cards reads one file, &lt;code&gt;catalog.json&lt;/code&gt;, built from the library by a script with a &lt;code&gt;--check&lt;/code&gt; mode that fails when the committed file is stale. GabbleGrid's study pages read it. One Roof's Learn view reads the same folder tree. The &lt;code&gt;/ae&lt;/code&gt; pages on every site do too.&lt;/p&gt;

&lt;p&gt;One file for every consumer is the right design, and this week it showed its sharp edge. I removed a block of cards and regenerated GabbleGrid's copy of the catalog. The unit tests passed and the type check passed. Then the pull request's build failed: GabbleGrid validates the catalog against a schema when the server starts, and two things no longer fit. One card had no scenes yet, and the curated paths, which the app lays out as exactly six steps, had shrunk to three.&lt;/p&gt;

&lt;p&gt;Nothing reached production, because the build is a gate and nobody merges on red. The fix took three parts, and each one is a small version of this series:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Context:&lt;/strong&gt; the library's own check now enforces the consumer's rule. A path with anything other than six cards fails &lt;code&gt;make check&lt;/code&gt; at the source, before any app sees it.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Evidence:&lt;/strong&gt; GabbleGrid gained a unit test that parses the real catalog with the same schema the server uses. The failure that only the build could see, the test suite now sees first.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Procedure:&lt;/strong&gt; the trap is written down, so the next change to the catalog's shape starts by reading it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The general lesson&lt;/p&gt;

&lt;p&gt;When one file feeds many consumers, put each consumer's assumptions into the producer's check. The producer is the one place every change passes through.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the series adds up to
&lt;/h2&gt;

&lt;p&gt;Four parts, one system around the agent:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Part&lt;/th&gt;
&lt;th&gt;The question&lt;/th&gt;
&lt;th&gt;The habit&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Context&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;What does the agent know before you speak?&lt;/td&gt;
&lt;td&gt;One launch folder, a door for every agent, one must-read list&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Loops&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;How will it know when to stop?&lt;/td&gt;
&lt;td&gt;A done-when line on every unit of work&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Evidence&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;How will it prove it's done?&lt;/td&gt;
&lt;td&gt;Proof from something the agent didn't write&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Procedure&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;What will the next session inherit?&lt;/td&gt;
&lt;td&gt;One library of skills, linked into every agent&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;None of it is about the model. All of it is ordinary engineering: requirements, checks, failure modes, maintenance. The model does the typing. These four decide whether the typing adds up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Series:&lt;/strong&gt; &lt;a href="https://dev.to/blog/agentic-engineering"&gt;Agentic engineering: the work around the agent&lt;/a&gt; · &lt;a href="https://dev.to/blog/loops-with-a-stop-condition"&gt;Loops with a stop condition&lt;/a&gt; · &lt;a href="https://dev.to/blog/evidence-not-confidence"&gt;Evidence, not confidence&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;One Roof:&lt;/strong&gt; &lt;a href="https://gaurav8936.github.io/oneroof/" rel="noopener noreferrer"&gt;project page and download&lt;/a&gt; · &lt;a href="https://github.com/gaurav8936/oneroof" rel="noopener noreferrer"&gt;source&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Originally published at &lt;a href="https://agentair.ai/blog/one-library-every-agent" rel="noopener noreferrer"&gt;https://agentair.ai/blog/one-library-every-agent&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>agenticengineering</category>
      <category>skills</category>
      <category>claudecode</category>
    </item>
    <item>
      <title>One workspace: five coding agents, one set of rules</title>
      <dc:creator>Gaurav Narasimhan</dc:creator>
      <pubDate>Sat, 05 Dec 2026 20:02:40 +0000</pubDate>
      <link>https://dev.to/gaurav_narasimhan/one-workspace-five-coding-agents-one-set-of-rules-3e1c</link>
      <guid>https://dev.to/gaurav_narasimhan/one-workspace-five-coding-agents-one-set-of-rules-3e1c</guid>
      <description>&lt;p&gt;&lt;em&gt;Two Claude Code subscriptions, plus one each of Codex, Gemini and Kimi, run on one laptop with dozens of sessions at once. What keeps them consistent isn't a framework. It's where a session may start, which files each agent reads, and one file every agent can find.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A single coding agent in a single folder is easy to keep consistent. A fleet is not.&lt;/p&gt;

&lt;p&gt;This is not a thought experiment. The setup is one laptop and five paid subscriptions across four agent products:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Agent&lt;/th&gt;
&lt;th&gt;Product&lt;/th&gt;
&lt;th&gt;Account&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Claude1&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Anthropic Claude Code&lt;/td&gt;
&lt;td&gt;work account&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Claude2&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Anthropic Claude Code&lt;/td&gt;
&lt;td&gt;personal account&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Codex&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;OpenAI Codex CLI&lt;/td&gt;
&lt;td&gt;one subscription&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Gemini&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Google Antigravity CLI (&lt;code&gt;agy&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;one subscription&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Kimi&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Moonshot Kimi Code&lt;/td&gt;
&lt;td&gt;one subscription&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Claude gets two seats because it does most of the work; the other three bring a second opinion, a different model family, and spare capacity. Each subscription runs many sessions at once, and each session can spawn subagents. They all work on the same 27 repositories under one folder, &lt;code&gt;~/Projects&lt;/code&gt;, hand work to each other, and pick up where another session left off.&lt;/p&gt;

&lt;p&gt;None of them shares a brain with any other. What keeps them aligned is a short list of rules, each of them boring, each of them enforced. This post walks through them, starting with the picture, then the actual files on disk, and ends with the build that puts all five to work on one real task. The post and the kit it describes were published together, once that build worked.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fleet
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The fleet, and what keeps it aligned&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; THE FLEET · &lt;strong&gt;Four products, five subscriptions&lt;/strong&gt; Claude, Gemini, Codex and Kimi are separate products. Claude runs on two subscriptions, one work and one personal; Codex, Gemini and Kimi run on one each. Every subscription has its own home folder on disk.&lt;/li&gt;
&lt;li&gt; THE FLEET · &lt;strong&gt;Every subscription runs many sessions&lt;/strong&gt; One Claude account can run 25 or 30 sessions at the same time, and every session can spawn subagents. Across five subscriptions, fifty or more agents live on one laptop on an ordinary day.&lt;/li&gt;
&lt;li&gt; RULE ZERO · &lt;strong&gt;One launch folder&lt;/strong&gt; Every session, for every agent and every subscription, starts in ~/Projects or a folder below it. A session that starts anywhere else is stopped before it does any work.&lt;/li&gt;
&lt;li&gt; READ-FIRST · &lt;strong&gt;A door for every agent&lt;/strong&gt; Each agent looks for instructions under its own file name and in its own way. Every level where an agent can start therefore needs a door that agent recognises.&lt;/li&gt;
&lt;li&gt; READ-FIRST · &lt;strong&gt;Every door leads to one READ-FIRST&lt;/strong&gt; Doors are pointers and symlinks, never copies. Whichever file an agent opens, it arrives at the same short list of must-reads: the deploy process and the knowledge process.&lt;/li&gt;
&lt;li&gt; WHAT IS SHARED · &lt;strong&gt;Shared artifacts are the shared brain&lt;/strong&gt; Agents don't share notes. They share files: rules, decisions, gotchas and session handoffs, all in one git-tracked folder (the tracker itself is Linear) that every agent can read and write.&lt;/li&gt;
&lt;li&gt; WHAT IS NOT SHARED · &lt;strong&gt;Private notes stay private&lt;/strong&gt; Each agent keeps its own notes, or none. Claude's are pinned to one folder used by both Claude accounts and every session. Gemini keeps a global notes file. Codex ships a memories feature that is unused here; Kimi has none.&lt;/li&gt;
&lt;li&gt; GAP → FIXED · &lt;strong&gt;The gap, and the fix&lt;/strong&gt; Kimi reads AGENTS.md only in the exact folder it starts in, and 21 of the 27 repos had none: a Kimi session there got no rules. Gemini had no GEMINI.md anywhere. 36 doors later, every level has one, and Kimi was verified reading them.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this step · dots = sessions reading · dashed = a gap · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-workspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The rest of this post takes the picture apart: the files each agent actually reads, what "memory" means for an agent, how one wrong folder split it, the rules that prevent it, how each agent finds those rules from wherever it starts, and the build that tests all of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The files each agent actually reads
&lt;/h2&gt;

&lt;p&gt;Before talking about memory, it helps to see the files. Each agent keeps a &lt;strong&gt;home folder&lt;/strong&gt; in the user's home directory, and inside it the same handful of things show up under different names: a login, settings, instruction files, skills, notes and session history. Only one row of the picture below is shared between agents.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Five homes, six kinds of file, one shared row&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; HOME FOLDERS · &lt;strong&gt;One home folder per subscription&lt;/strong&gt; Every subscription lives in its own folder under the home directory. The two Claude seats are the same program pointed at two folders: the second one is started with CLAUDE_CONFIG_DIR set to its own home.&lt;/li&gt;
&lt;li&gt; LOGIN · &lt;strong&gt;Logins stay private&lt;/strong&gt; Each home holds its own login: the work and personal Claude accounts in the macOS keychain, Codex in auth.json, Kimi in credentials/, Gemini in oauth_creds.json. These are never symlinked and never committed.&lt;/li&gt;
&lt;li&gt; SETTINGS · &lt;strong&gt;Settings decide behaviour&lt;/strong&gt; Settings hold hooks, permissions and paths. Claude has one real settings.json; the second Claude home links to it, so both seats get the same launch hook and the same notes pin. Gemini's settings tell it to read AGENTS.md as well as GEMINI.md.&lt;/li&gt;
&lt;li&gt; INSTRUCTIONS · &lt;strong&gt;Instruction files are the rules&lt;/strong&gt; CLAUDE.md, AGENTS.md and GEMINI.md are the same idea under three names: plain Markdown rules written by people, kept in git, and loaded into every session before the first prompt. They tell the agent what to do. The agent does not write them.&lt;/li&gt;
&lt;li&gt; SKILLS · &lt;strong&gt;Skills are procedures, linked from one library&lt;/strong&gt; A skill is a folder with a SKILL.md that says how to do one job: close a session, write a handoff, ship a release. One repository holds the library; the agents' skills/ folders hold symlinks into it, so an edit reaches every linked agent at once.&lt;/li&gt;
&lt;li&gt; NOTES · &lt;strong&gt;Notes are what the agent writes for itself&lt;/strong&gt; Notes are the opposite of instructions: the agent writes them, for its own next session. For Claude this is a memory folder with an index, MEMORY.md, whose first part loads at every start, and topic files it opens when needed. Nobody else reads them.&lt;/li&gt;
&lt;li&gt; SHARED · &lt;strong&gt;Only one row is shared&lt;/strong&gt; Every row above is per agent. The bottom row is plain files in git under ~/Projects/_common, and every instruction file points at it. That is the only place all five agents read and write the same thing.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this step · dashed = missing or unused · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-workspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;On disk, the shared part looks like this. Arrows are symlinks:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;~/Projects/
├── CLAUDE.md                 workspace rules; imports _common
├── AGENTS.md → CLAUDE.md     same text, other agents
├── READ-FIRST.md → _common/docs/READ-FIRST.md
├── _common/
│   ├── CLAUDE.md             the cross-agent rulebook
│   ├── AGENTS.md → CLAUDE.md
│   ├── docs/READ-FIRST.md    the one real copy
│   ├── docs/next-session-handoff/
│   └── blogs/                this post
└── &amp;lt;project&amp;gt;/&amp;lt;repo&amp;gt;/
    ├── CLAUDE.md             repo rules + READ-FIRST banner
    ├── AGENTS.md             door for Codex, Kimi, Gemini
    └── READ-FIRST.md → ../../_common/docs/READ-FIRST.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;CLAUDE.md versus MEMORY.md&lt;/p&gt;

&lt;p&gt;They are easy to confuse because both load at the start of a session. &lt;code&gt;CLAUDE.md&lt;/code&gt; is &lt;strong&gt;instructions&lt;/strong&gt;: written by people, kept in git, the same for every session that starts below it. &lt;code&gt;MEMORY.md&lt;/code&gt; is &lt;strong&gt;notes&lt;/strong&gt;: written by the agent, kept outside git in Claude's home, read only by Claude. A rule belongs in &lt;code&gt;CLAUDE.md&lt;/code&gt; or the shared rulebook. A note is at most a pointer to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four kinds of "memory"
&lt;/h2&gt;

&lt;p&gt;The word &lt;em&gt;memory&lt;/em&gt; hides four different things, and mixing them up is where most confusion starts.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Four kinds of memory, and which one is shared&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; KIND 1 · &lt;strong&gt;Context is the only real cache&lt;/strong&gt; The context window is what the model is looking at right now: the conversation, the files it read, the instructions it loaded. It is fast, private and gone when the session ends. Every agent has one; none of them shares it.&lt;/li&gt;
&lt;li&gt; KIND 2 · &lt;strong&gt;Session history is a log, not knowledge&lt;/strong&gt; Every agent saves transcripts so a session can be resumed. They are durable but raw, and they are not loaded into new sessions. Claude and Kimi file them by start folder; Codex by date; Gemini by project.&lt;/li&gt;
&lt;li&gt; KIND 3 · &lt;strong&gt;Agent notes are durable, but private&lt;/strong&gt; Some agents keep curated notes that load at the start of every session. That is the part usually called memory. It persists, but each agent's notes are its own: no other agent reads them.&lt;/li&gt;
&lt;li&gt; KIND 4 · &lt;strong&gt;The shared record is what every agent reads&lt;/strong&gt; The fourth kind is plain files in git: rules, decisions, gotchas and handoffs in ~/Projects/_common/docs (the tracker is Linear). Every agent reads it through its door, and every agent writes to it.&lt;/li&gt;
&lt;li&gt; HOW THEY CONNECT · &lt;strong&gt;Notes are a cache of the record&lt;/strong&gt; Agent notes hold pointers and working facts. Anything another agent would need is lifted into the shared record at the end of a session, and the note keeps a one-line pointer. The record is the source; notes are a convenience.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this step · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-workspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;To be precise about the second and third kinds for Claude Code: the notes folder (&lt;code&gt;MEMORY.md&lt;/code&gt; plus topic files) is the part pinned to one location. The transcripts that let a session be resumed still live under a folder named after the start folder, which is one more reason to start every session in the same place.&lt;/p&gt;

&lt;h2&gt;
  
  
  How a wrong folder became a split memory
&lt;/h2&gt;

&lt;p&gt;For five weeks, the agents disagreed about the facts, and none of them knew it. Some sessions knew a workstream had shipped; others still thought it was open. A rule given in one session ("ship to production by default", "name commits this way") was absent in the next. Each session was internally consistent. The notes had split in two, and each half looked complete.&lt;/p&gt;

&lt;p&gt;The cause was small: &lt;strong&gt;the folder the terminal opened in.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;How a wrong folder became a split memory&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; THE INCIDENT · &lt;strong&gt;Two ways to start a session&lt;/strong&gt; Terminals opened in the home folder. Most of the time a cd ~/Projects came first. Over five weeks, 32 of 168 sessions skipped it.&lt;/li&gt;
&lt;li&gt; THE INCIDENT · &lt;strong&gt;Two start folders, two notes folders&lt;/strong&gt; Claude Code names its notes folder after the start folder. Same agent, same account, two different notes folders, and nothing warned anyone.&lt;/li&gt;
&lt;li&gt; THE INCIDENT · &lt;strong&gt;26 notes no other session could see&lt;/strong&gt; Home-folder sessions wrote 26 notes that existed only in the hidden folder: the state of three workstreams, the commit-naming rule, the default deploy path and a handful of references.&lt;/li&gt;
&lt;li&gt; WHY IT COMPOUNDS · &lt;strong&gt;Small leak, big loss&lt;/strong&gt; If a share p of sessions starts in the wrong place, the next session sees the last one's notes only when both started in the same place: P(visible) = p² + (1 − p)².&lt;/li&gt;
&lt;li&gt; WHY IT COMPOUNDS · &lt;strong&gt;The right folder was too long, too&lt;/strong&gt; The correct notes index had grown to 606 lines. Only about the first 150 load at the start of a session, so most of the right notes were invisible as well.&lt;/li&gt;
&lt;li&gt; THE FIX · &lt;strong&gt;The fix: pin it&lt;/strong&gt; One setting, autoMemoryDirectory, now points every Claude session, from any folder and any account, at one notes folder. The old home folder was merged in, backed up and replaced by a locked stub.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this step · dots = notes being written · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-workspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The arithmetic is worth a second look. With p=32/168≈0.19p = 32/168 \approx 0.19p=32/168≈0.19:&lt;/p&gt;

&lt;p&gt;P(visible)=p2+(1−p)2≈0.192+0.812≈0.69.P(\text{visible}) = p^2 + (1-p)^2 \approx 0.19^2 + 0.81^2 \approx 0.69 .P(visible)=p2+(1−p)2≈0.192+0.812≈0.69.&lt;/p&gt;

&lt;p&gt;About three notes in ten written in a session were invisible to whichever session came next. The model treats sessions as independent coin flips, which they are not, but the shape holds: a split costs more than the raw miss rate suggests, and nothing fails loudly.&lt;/p&gt;

&lt;p&gt;The lesson&lt;/p&gt;

&lt;p&gt;Whatever picks the notes folder has to be controlled, not merely encouraged. The home-folder notes had been "retired" weeks earlier with a &lt;code&gt;DEPRECATED&lt;/code&gt; marker file. A marker is advice, and agents don't read advice in files they never open.&lt;/p&gt;

&lt;h2&gt;
  
  
  Each agent loads context differently
&lt;/h2&gt;

&lt;p&gt;The deeper reason is that every agent finds its instructions, history and notes in its own way:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Claude Code&lt;/th&gt;
&lt;th&gt;Codex CLI&lt;/th&gt;
&lt;th&gt;Kimi Code&lt;/th&gt;
&lt;th&gt;Gemini / Antigravity&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Instruction files&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;CLAUDE.md&lt;/code&gt; in the start folder &lt;strong&gt;and every parent&lt;/strong&gt;, plus &lt;code&gt;@&lt;/code&gt; imports&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;AGENTS.md&lt;/code&gt; from the repo root down, plus &lt;code&gt;~/.codex/AGENTS.md&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;AGENTS.md&lt;/code&gt; in the start folder only&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;GEMINI.md&lt;/code&gt; up to the repo root, plus &lt;code&gt;~/.gemini/GEMINI.md&lt;/code&gt;; &lt;code&gt;AGENTS.md&lt;/code&gt; once configured&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Session history&lt;/td&gt;
&lt;td&gt;per start folder&lt;/td&gt;
&lt;td&gt;per date&lt;/td&gt;
&lt;td&gt;per start folder&lt;/td&gt;
&lt;td&gt;per project&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Curated notes&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;MEMORY.md&lt;/code&gt; + topic files: per start folder unless pinned&lt;/td&gt;
&lt;td&gt;memories feature (unused here)&lt;/td&gt;
&lt;td&gt;none&lt;/td&gt;
&lt;td&gt;global &lt;code&gt;GEMINI.md&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Skills&lt;/td&gt;
&lt;td&gt;symlinked from one library&lt;/td&gt;
&lt;td&gt;symlinked from one library&lt;/td&gt;
&lt;td&gt;none then (filled since)&lt;/td&gt;
&lt;td&gt;none then (filled since)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hooks&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;td&gt;yes (Gemini CLI)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Launch guard used&lt;/td&gt;
&lt;td&gt;hook + notes pin&lt;/td&gt;
&lt;td&gt;PATH stand-in&lt;/td&gt;
&lt;td&gt;PATH stand-in&lt;/td&gt;
&lt;td&gt;PATH stand-in&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Three consequences shaped everything that follows. The start folder is load-bearing for every agent. Parent folders leak: Claude reads &lt;code&gt;~/CLAUDE.md&lt;/code&gt; from inside &lt;code&gt;~/Projects&lt;/code&gt; too, so anything placed there must be conditional. And an agent without hooks can only be stopped before it starts, by the shell or by a stand-in first on &lt;code&gt;PATH&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;One more fact turned up while testing: the Gemini CLI now refuses individual accounts outright, with &lt;em&gt;"This client is no longer supported for Gemini Code Assist for individuals… migrate to the Antigravity suite"&lt;/em&gt;. For personal subscriptions, Gemini's coding agent is the Antigravity CLI (&lt;code&gt;agy&lt;/code&gt;), and it gets the same guard.&lt;/p&gt;

&lt;h2&gt;
  
  
  Six guarantees
&lt;/h2&gt;

&lt;p&gt;The goal fits in six sentences. Each one is made true by a specific file or setting, not by good intentions.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Six guarantees and what enforces each one&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; GUARANTEE 1 · &lt;strong&gt;One launch point&lt;/strong&gt; No session for any agent works in a folder outside ~/Projects. Five independent layers enforce it, from a shell default to a hook that rejects every prompt.&lt;/li&gt;
&lt;li&gt; GUARANTEE 2 · &lt;strong&gt;One Claude notes folder&lt;/strong&gt; Exactly one Claude notes folder receives writes, whatever the start folder and whichever Claude account is running.&lt;/li&gt;
&lt;li&gt; GUARANTEE 3 · &lt;strong&gt;One rulebook&lt;/strong&gt; Every agent's entry file, at every level, leads to the same READ-FIRST and the same rulebook in ~/Projects/_common.&lt;/li&gt;
&lt;li&gt; GUARANTEE 4 · &lt;strong&gt;Small enough to load&lt;/strong&gt; Notes that don't load don't exist. The notes index stays under 150 lines of pointers; detail lives in topic files.&lt;/li&gt;
&lt;li&gt; GUARANTEE 5 · &lt;strong&gt;Durable facts are shared facts&lt;/strong&gt; Anything Codex, Kimi or Gemini would need lives in the shared record, not only in Claude's notes. Handoffs are written straight into it.&lt;/li&gt;
&lt;li&gt; GUARANTEE 6 · &lt;strong&gt;One copy of shared content&lt;/strong&gt; Shared material is written once in _common and surfaced wherever it is needed. This post is an example: it lives in _common/blogs and the blog reads it from there.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this step · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-workspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;None of this is clever. Every item is something a tired person would agree with late at night, and none of them was true until it was enforced.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five layers, cheapest first
&lt;/h2&gt;

&lt;p&gt;The launch point is enforced by five independent layers. The diagram follows one session started in the wrong folder through all of them, and shows which agents each layer covers.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;A session starts in the wrong folder&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; START · &lt;strong&gt;The mistake&lt;/strong&gt; A new terminal tab opens in the home folder, or a session is started from Dropbox or /tmp out of habit. Nothing about the agent itself prevents this.&lt;/li&gt;
&lt;li&gt; LAYER 1 · &lt;strong&gt;1 · The shell moves it&lt;/strong&gt; One line in ~/.zshrc: an interactive shell that opens in ~, /Users or / moves to ~/Projects. Scripts are untouched, so nothing automated changes folder unexpectedly.&lt;/li&gt;
&lt;li&gt; LAYER 2 · &lt;strong&gt;2 · The agent command moves it&lt;/strong&gt; claude, codex, kimi, gemini and agy are small shell functions: typed anywhere outside ~/Projects, they move there first and then start the real agent.&lt;/li&gt;
&lt;li&gt; LAYER 2B · &lt;strong&gt;2b · Stand-ins refuse to start&lt;/strong&gt; Agents without a usable hook get a tiny stand-in first on PATH. It checks the real folder and either runs the agent or prints WRONG FOLDER and exits.&lt;/li&gt;
&lt;li&gt; LAYER 3 · &lt;strong&gt;3 · The hook blocks every prompt&lt;/strong&gt; A short script runs when a Claude session starts and on every prompt. Outside ~/Projects it rejects the prompt before the model sees it, so the session can't do any work until it restarts in the right place.&lt;/li&gt;
&lt;li&gt; LAYER 4 · &lt;strong&gt;4 · Locked notes say stop&lt;/strong&gt; ~/CLAUDE.md and ~/AGENTS.md say, conditionally, that a session started exactly in the home folder must do no work. They are locked with macOS immutable flags, so no agent can edit or delete them.&lt;/li&gt;
&lt;li&gt; LAYER 5 · &lt;strong&gt;5 · The notes pin holds anyway&lt;/strong&gt; Even if every layer above failed, autoMemoryDirectory keeps every Claude session on one notes folder. The split can't come back.&lt;/li&gt;
&lt;li&gt; RESULT · &lt;strong&gt;The session runs where it should&lt;/strong&gt; The session ends up in ~/Projects, where every door leads to the same READ-FIRST and Claude writes to the one notes folder.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this step · dots = the session moving through the layers · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-workspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Walking the levels: READ-FIRST under every folder
&lt;/h2&gt;

&lt;p&gt;Launching in the right place is half of it. The other half is that an agent finds the rules from whichever folder below &lt;code&gt;~/Projects&lt;/code&gt; it starts in. The folder tree has six levels, and each agent reads them differently. The real example here is a session started in one repo, &lt;code&gt;hypothesys-ai-app&lt;/code&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Six levels, four agents, one READ-FIRST&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; THE TREE · &lt;strong&gt;Six levels&lt;/strong&gt; Home, the agents' own global folders, the workspace, the shared folder, a project (a folder of related repos) and a repo. A session can start in any of the bottom four.&lt;/li&gt;
&lt;li&gt; CLAUDE · &lt;strong&gt;Claude: walks up every parent&lt;/strong&gt; Started in the repo, Claude reads the repo's CLAUDE.md and then every parent's, reaching the workspace CLAUDE.md, which imports the shared rulebook. It never needed a new door.&lt;/li&gt;
&lt;li&gt; CODEX · &lt;strong&gt;Codex: repo root down, plus a global file&lt;/strong&gt; Codex reads AGENTS.md from the repo root down to the start folder, and its own global ~/.codex/AGENTS.md, which already pointed at the shared rulebook. Codex was covered; the new repo door adds the repo's own context.&lt;/li&gt;
&lt;li&gt; KIMI · GAP · &lt;strong&gt;Kimi: the start folder only&lt;/strong&gt; Kimi reads AGENTS.md in the exact folder it starts in and nowhere else: no parents, no global file. 21 of the 27 repos had none, so a Kimi session there started with no rules at all.&lt;/li&gt;
&lt;li&gt; KIMI · FIXED · &lt;strong&gt;Kimi: fixed with a door&lt;/strong&gt; Every repo now has an AGENTS.md door that points at READ-FIRST and the rulebook. A Kimi session started in hypothesys-ai-app was asked what it loaded, and named the door and READ-FIRST.&lt;/li&gt;
&lt;li&gt; GEMINI · FIXED · &lt;strong&gt;Gemini: global note + AGENTS.md&lt;/strong&gt; Gemini had no GEMINI.md anywhere. It now has a global note, and its settings make it read AGENTS.md as well, so the same repo doors serve it.&lt;/li&gt;
&lt;li&gt; PROJECT LEVEL · &lt;strong&gt;Project folders get a door too&lt;/strong&gt; A session can also start in a project folder such as hypothesys-ai/, which is not a repo. Each project folder now has its own AGENTS.md and READ-FIRST link.&lt;/li&gt;
&lt;li&gt; RESULT · &lt;strong&gt;Every path ends at one READ-FIRST&lt;/strong&gt; Four agents, four ways of reading, one destination. Editing READ-FIRST once changes what every agent reads, from every folder, on every subscription.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = what this agent reads · dashed = what was missing · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-workspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Handoffs: the record that any session can resume from
&lt;/h2&gt;

&lt;p&gt;Sessions end, and the next one may be a different subscription, a different agent, or the next morning. Closing a session is therefore a ritual rather than a hope:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;&lt;code&gt;last-call&lt;/code&gt;&lt;/strong&gt; sweeps loose ends, checks the docs, reconciles Linear with what git shows actually shipped, audits the doors, and scores readiness by counting checklist rows.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;&lt;code&gt;next-session-handoff&lt;/code&gt;&lt;/strong&gt; writes a paste-ready opening message for the next session: where things stand, the single next action, branch state derived from git, what is done and how to verify it, what is blocked, what not to touch, and the commands to resume.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;&lt;code&gt;where-are-we&lt;/code&gt;&lt;/strong&gt; opens the next session: it reads Linear, the latest handoff and every repo's recent commits, and names the thread to pick up.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The design choice that matters is &lt;em&gt;where&lt;/em&gt; the handoff lands: in &lt;code&gt;_common/docs/next-session-handoff/&lt;/code&gt;, in git, readable by every agent. Claude's notes folder only holds a link to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Many sessions at once, without collisions
&lt;/h2&gt;

&lt;p&gt;Parallel sessions add two problems: getting the same skills to every agent, and keeping parallel workers out of each other's files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Skills are written once and linked everywhere.&lt;/strong&gt; One repository holds the skills library. A sync script reads each skill's frontmatter and symlinks it into the agents' homes: today that is both Claude homes (through one shared &lt;code&gt;skills/&lt;/code&gt; folder) and the Codex home. Kimi's and Gemini's &lt;code&gt;skills/&lt;/code&gt; folders are still empty; filling them is part of the build below. A git hook reruns the sync after any pull that touches skills.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Parallel work gets fences:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  each worker gets its own git worktree, so no two agents edit the same checkout;&lt;/li&gt;
&lt;li&gt;  each shared contract (schema, migrations, lockfile, shared types) has exactly one owning worker;&lt;/li&gt;
&lt;li&gt;  the shared foundation lands first, then workers go in waves;&lt;/li&gt;
&lt;li&gt;  workers record assumptions in a file instead of stopping to ask, and reviews are tied to an exact commit;&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;fan-out is bounded&lt;/strong&gt;: a hard ceiling on concurrent workers, timeouts, capped retries, and a resource check before dispatch. An unbounded fan-out can take down the laptop it runs on; the machine is the real concurrency limit, not the token budget.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Roadmap: cross-agent active memory
&lt;/h2&gt;

&lt;p&gt;Everything above shares &lt;em&gt;knowledge&lt;/em&gt;: files that change slowly and are read at the start of a session. What is not shared yet is &lt;em&gt;active&lt;/em&gt; memory: what each session is doing right now, what it has claimed, and what it just learned. (Update: the first step shipped in One Roof 1.9.35, a factual brief every new session gets about what the others are doing; see &lt;em&gt;&lt;a href="https://dev.to/blog/chorus-coding"&gt;Chorus coding&lt;/a&gt;&lt;/em&gt;.)&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;From shared files to shared live state&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; TODAY · &lt;strong&gt;Today: a shared record, private notes&lt;/strong&gt; Durable knowledge is shared through files in git. Each agent keeps private notes as a cache, and anything durable is lifted into the record at session close.&lt;/li&gt;
&lt;li&gt; NEXT · &lt;strong&gt;Next: an agent-neutral notes folder&lt;/strong&gt; A _common/memory/ folder with small, structured notes in one format for every agent, read through READ-FIRST. Agents whose notes can be pointed at a folder are pointed there; the others are seeded from it.&lt;/li&gt;
&lt;li&gt; LATER · &lt;strong&gt;Later: live shared state&lt;/strong&gt; With thirty sessions running at once, sessions need to know what the others are doing: who is working on what, which files are claimed, what was just learned. That is a small shared service with tools every agent can call.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this stage · dashed = not built · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-workspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Key takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;The start folder is load-bearing.&lt;/strong&gt; It decides which rules every agent loads and, for Claude, which notes folder it writes to. One launch folder, enforced in layers, removes a whole class of silent drift.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Block, don't warn.&lt;/strong&gt; A marker file or a polite note is advice. A hook that rejects prompts, or a stand-in that refuses to start, is a control.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Every agent needs a door at every level.&lt;/strong&gt; Agents read instructions under different names and from different folders. Doors are pointers, never copies, and a check fails when one is missing.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;One READ-FIRST, kept short.&lt;/strong&gt; One must-read list, one copy, reachable from every door. Everything else lives in a folder for its type.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;"Memory" is four things.&lt;/strong&gt; Context is the cache, transcripts are a log, agent notes are private, and the shared record in git is the only thing every agent sees. Durable knowledge belongs in the record.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Pin what can be pinned.&lt;/strong&gt; Claude's notes folder is pinned with one setting; the guards make sure the pin rarely has to matter.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Handoffs belong in git&lt;/strong&gt;, in a format a different agent can act on cold.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Bound the fan-out.&lt;/strong&gt; Separate worktrees, one owner per shared file, a ceiling on parallel workers. The laptop is the limit.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this needs a framework. Most of it is a few lines of shell and a handful of small files.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is still open
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Agents with neither hooks nor a command-line entry&lt;/strong&gt; (some editor-embedded agents) are covered only by the shell layer.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Cloud sessions&lt;/strong&gt; have no local notes; they stay consistent only through the shared record in git.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;A second machine&lt;/strong&gt; needs the same setup reapplied.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Two seats of the same agent&lt;/strong&gt; share settings, skills and notes by design; only the logins differ. Whether that is right for a work and a personal account is one of the things the build will show.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;New agents with their own notes&lt;/strong&gt;, such as Hermes or OpenClaw, add another private store. The rule for adding any agent is the same: it reads the shared record through a door, and its notes either point at the shared layer or hold nothing durable.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The build: five agents, one real task
&lt;/h2&gt;

&lt;p&gt;Everything above was in place at the time of writing, with three gaps found while writing this post (all three closed since): the Antigravity CLI is not installed yet (only its launch guard is), Kimi's and Gemini's &lt;code&gt;skills/&lt;/code&gt; folders are empty, and the second Claude seat's home still has to be checked against its account. The build closes those gaps and then puts all five agents to work on one task.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;From set-up to a shared task&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; PHASE 1 · &lt;strong&gt;1 · Inventory&lt;/strong&gt; Map each of the five seats to its home folder, its login and its plan. Any home that is not in the table is either removed or explained.&lt;/li&gt;
&lt;li&gt; PHASE 2 · &lt;strong&gt;2 · Set up each agent&lt;/strong&gt; Log in each seat, start it from ~/Projects, confirm the guard stops it anywhere else, link the skills library into Kimi and Gemini, and ask each one which instruction files and notes it loaded.&lt;/li&gt;
&lt;li&gt; PHASE 3 · &lt;strong&gt;3 · One real task&lt;/strong&gt; Split one small, real piece of work across the five. Each agent works in its own git worktree, lands through the same one-at-a-time script, and hands off through the shared record. What each agent saw and missed is written down.&lt;/li&gt;
&lt;li&gt; PHASE 4 · &lt;strong&gt;4 · Publish together&lt;/strong&gt; The findings go into this post, the kit is updated to match what actually worked, and the two are published on the same day.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this phase · dashed = not done yet · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/one-workspace" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The kit
&lt;/h2&gt;

&lt;p&gt;All of this is packaged as an installable repository, &lt;strong&gt;&lt;a href="https://github.com/gaurav8936/oneroof" rel="noopener noreferrer"&gt;oneroof&lt;/a&gt;&lt;/strong&gt;: the launch guard, the notes pin, the rulebook template, the doors, the handoff skills, the skills sync and a bounded worker runner, with an install command, a &lt;code&gt;doctor&lt;/code&gt; command and tests that run in a throwaway home folder. It is public: &lt;a href="https://github.com/gaurav8936/oneroof" rel="noopener noreferrer"&gt;github.com/gaurav8936/oneroof&lt;/a&gt;, with signed builds on its &lt;a href="https://github.com/gaurav8936/oneroof/releases" rel="noopener noreferrer"&gt;releases page&lt;/a&gt; and an overview at &lt;a href="https://gaurav8936.github.io/oneroof/" rel="noopener noreferrer"&gt;gaurav8936.github.io/oneroof&lt;/a&gt;. More of my public work is at &lt;a href="https://gaurav8936.github.io/" rel="noopener noreferrer"&gt;gaurav8936.github.io&lt;/a&gt; and &lt;a href="https://github.com/gaurav8936" rel="noopener noreferrer"&gt;github.com/gaurav8936&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The least glamorous lesson is the most important one. Before giving a fleet of agents more autonomy, more tools or more memory, make sure every one of them starts in the same place and can find the same one file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;One Roof (the kit and the IDE):&lt;/strong&gt; &lt;a href="https://gaurav8936.github.io/oneroof/" rel="noopener noreferrer"&gt;project page and download&lt;/a&gt; · &lt;a href="https://github.com/gaurav8936/oneroof" rel="noopener noreferrer"&gt;source&lt;/a&gt; · &lt;a href="https://github.com/gaurav8936/oneroof/releases" rel="noopener noreferrer"&gt;releases&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Me:&lt;/strong&gt; &lt;a href="https://gaurav8936.github.io/" rel="noopener noreferrer"&gt;gaurav8936.github.io&lt;/a&gt; (portfolio) · &lt;a href="https://github.com/gaurav8936" rel="noopener noreferrer"&gt;github.com/gaurav8936&lt;/a&gt; (all my public repositories)&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The next post:&lt;/strong&gt; &lt;a href="https://dev.to/blog/one-roof-builds-one-roof"&gt;One Roof builds One Roof: 48 hours of a self-hosting dev loop&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Originally published at &lt;a href="https://agentair.ai/blog/one-workspace" rel="noopener noreferrer"&gt;https://agentair.ai/blog/one-workspace&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>memory</category>
      <category>workspace</category>
      <category>claudecode</category>
    </item>
    <item>
      <title>Evidence, not confidence</title>
      <dc:creator>Gaurav Narasimhan</dc:creator>
      <pubDate>Sat, 05 Dec 2026 20:02:05 +0000</pubDate>
      <link>https://dev.to/gaurav_narasimhan/evidence-not-confidence-1iaf</link>
      <guid>https://dev.to/gaurav_narasimhan/evidence-not-confidence-1iaf</guid>
      <description>&lt;p&gt;&lt;em&gt;Coding agents report success in the same fluent voice whether or not they succeeded. The fix is to separate the claim from the proof, and to put the proof where the agent can't write it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Every coding agent I use writes a good summary. It's clear, well organized and confident. It reads exactly the same when the work is done and when it isn't.&lt;/p&gt;

&lt;p&gt;That's not dishonesty. The agent reports what it believes, and what it believes is shaped by what it checked. If it ran three of the four relevant tests, its summary describes a world where three tests are all there is. The &lt;a href="https://dev.to/blog/loops-with-a-stop-condition"&gt;last post&lt;/a&gt; said a loop needs a check. This one is about what makes a check worth trusting.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rule: separate the claim from the proof
&lt;/h2&gt;

&lt;p&gt;A claim is what the agent says: "fixed", "deployed", "all tests pass". A proof is an artifact that would be different if the claim were false: a test log, a commit hash reported by the running service, a version number read off the installed app.&lt;/p&gt;

&lt;p&gt;The rule behind everything in this post is one sentence:&lt;/p&gt;

&lt;p&gt;The rule&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The proof has to come from somewhere other than the agent's own report.&lt;/strong&gt; If the only evidence that work is done is the agent saying so, it isn't evidence.&lt;/p&gt;

&lt;p&gt;That rules out a surprising amount. "I verified it works" is a claim. "I ran the tests" is a claim. A pasted test output from this session's worktree, with the command that produced it, is starting to be proof. A pipeline that refuses to continue until a health endpoint reports the expected commit is proof the agent can't fake, because the agent doesn't write that endpoint's answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five places agent work over-claims
&lt;/h2&gt;

&lt;p&gt;Across many sessions, the gaps between "done" and done cluster in five places. Each has a gate that catches it.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Where 'done' isn't done, and what catches it&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; GAP 1 · &lt;strong&gt;The test it didn't run&lt;/strong&gt; The agent runs the tests it thinks are relevant. 'Relevant' is a guess. The landing script runs the full suite inside the worktree, and nothing reaches live until it's green.&lt;/li&gt;
&lt;li&gt; GAP 2 · &lt;strong&gt;The environment it didn't check&lt;/strong&gt; Work passes on the branch it was written on, against a live that has since moved. Landing rebases onto current live first, then tests again, inside the worktree.&lt;/li&gt;
&lt;li&gt; GAP 3 · &lt;strong&gt;The deploy it assumed&lt;/strong&gt; 'Shipped' often means 'merged'. A merge isn't a deploy. Kargo verifies every promotion: the image signature, and a health endpoint that must report the same commit that passed staging.&lt;/li&gt;
&lt;li&gt; GAP 4 · &lt;strong&gt;The number it estimated&lt;/strong&gt; Agents produce plausible numbers from memory: prices, sizes, counts. A plausible number is often wrong. Any price is looked up live, with its region and date, before it's quoted.&lt;/li&gt;
&lt;li&gt; GAP 5 · &lt;strong&gt;The step it skipped&lt;/strong&gt; Long procedures get summarized. A ten-step session close becomes seven steps and a confident report. Skills run in full, and the close ends with a self-audit that counts what was done.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this gap · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/evidence-not-confidence" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  1 · The test it didn't run
&lt;/h3&gt;

&lt;p&gt;An agent asked to fix a bug runs the test for that bug. It usually doesn't run the test for the code that calls the code it changed, because it doesn't know that test exists, or thinks it's unrelated. Its report ("tests pass") is true for the tests it ran.&lt;/p&gt;

&lt;p&gt;The gate is to take the choice away. Work in this workspace lands through a script that rebases the unit onto live inside its worktree, runs the &lt;strong&gt;full&lt;/strong&gt; suite there, and only then squashes and merges. The agent can say whatever it likes about which tests matter. The landing doesn't ask.&lt;/p&gt;

&lt;h3&gt;
  
  
  2 · The environment it didn't check
&lt;/h3&gt;

&lt;p&gt;A change can be correct against the code it was written on and wrong against the code it lands on, because another session changed something in between. With several sessions running at once that's not rare; it's a normal Tuesday.&lt;/p&gt;

&lt;p&gt;The same landing script handles this by order of operations: rebase first, test second. The test result that counts is the one against today's live, not the one from when the agent started.&lt;/p&gt;

&lt;h3&gt;
  
  
  3 · The deploy it assumed
&lt;/h3&gt;

&lt;p&gt;"Shipped to production" is the claim I trust least, because there are so many steps between a merge and a running service where something can quietly not happen. A build can fail. A promotion can be pending. A pod can still be running the old image.&lt;/p&gt;

&lt;p&gt;The gate here is the strongest in the workspace, because the proof comes from production itself. Every service reports the commit it was built from on its health endpoint. Kargo won't mark a promotion verified until the image signature checks out and that endpoint reports the expected commit. Production is a promotion of the exact image that passed staging, verified again. When the ship script says "prod health sha = staging", that's not the agent's opinion. It's two services answering the same question the same way.&lt;/p&gt;

&lt;h3&gt;
  
  
  4 · The number it estimated
&lt;/h3&gt;

&lt;p&gt;Agents are good at producing numbers that sound right: what an instance costs, how many files a folder has, how long a job takes. Many of them are remembered rather than measured, and memory drifts.&lt;/p&gt;

&lt;p&gt;The rule is blunt: a price is looked up live, with its region, before it's quoted, and a count is counted. This series follows the same rule: a figure names where it came from (git refs, the Linear API, the CI system's records, Kargo's records) and says plainly where a number is softer than it looks.&lt;/p&gt;

&lt;h3&gt;
  
  
  5 · The step it skipped
&lt;/h3&gt;

&lt;p&gt;The quietest over-claim is in long procedures. A session-close ritual has many steps: commit, write the handoff, check that notes stay under their size limit, lift any rule that lives only in notes, and so on. Asked to run it, an agent will sometimes run most of it and report the whole.&lt;/p&gt;

&lt;p&gt;Two rules catch this. &lt;strong&gt;Skills run in full: there are no optional steps.&lt;/strong&gt; And the procedure ends with a &lt;strong&gt;self-audit&lt;/strong&gt; that lists every step and whether it was done, with the score counted rather than estimated. A skipped step shows up as a line in the audit, not as an absence nobody notices.&lt;/p&gt;

&lt;h2&gt;
  
  
  Evidence you can't write yourself
&lt;/h2&gt;

&lt;p&gt;The gates above have one thing in common. In each, the proof comes from a source the agent doesn't control:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Claim&lt;/th&gt;
&lt;th&gt;Who produces the proof&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;tests pass&lt;/td&gt;
&lt;td&gt;the landing script, running the full suite&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;works against current code&lt;/td&gt;
&lt;td&gt;the same script, after the rebase&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;deployed&lt;/td&gt;
&lt;td&gt;the running service's health endpoint, checked by Kargo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;installed&lt;/td&gt;
&lt;td&gt;the app on the Mac, reporting its version&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;this costs $X&lt;/td&gt;
&lt;td&gt;the provider's live price list&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;procedure complete&lt;/td&gt;
&lt;td&gt;the self-audit's line-by-line count&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That's the design principle. Don't ask the agent to be more careful in its report. Arrange things so that the report isn't the evidence.&lt;/p&gt;

&lt;p&gt;What this doesn't catch&lt;/p&gt;

&lt;p&gt;Gates check what they're told to check. A full suite with a missing test still passes. A health endpoint proves the right code is running, not that the code is right. Evidence narrows the gap between "done" and done; it doesn't close it. The remaining gap is what review, and the next post's procedures, are for.&lt;/p&gt;

&lt;h2&gt;
  
  
  The cost of the gates
&lt;/h2&gt;

&lt;p&gt;None of this is free. The full suite takes longer than the one relevant test. Verified promotions take minutes, not seconds. Self-audits make the close ritual longer.&lt;/p&gt;

&lt;p&gt;In practice the cost is small and the trade is lopsided. In one busy 48-hour stretch, measured from the CI system's records, the median CI build took 1.4 minutes and the median merge-to-production 7.9. Against that, every false "done" the gates catch is a bug that doesn't reach production, a regression nobody has to find the next morning, and a report I can act on without re-checking. With several agents working at once, I can't re-check everything. The gates are what let me not have to.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to take from this
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  An agent's report is a &lt;strong&gt;claim&lt;/strong&gt;. Treat it as one.&lt;/li&gt;
&lt;li&gt;  For every claim that matters, find a &lt;strong&gt;proof the agent can't write&lt;/strong&gt;: a test run by the landing script, a commit reported by the running service, a price from the live list.&lt;/li&gt;
&lt;li&gt;  Put the gates where the claims are made: before landing, before promotion, at the end of every procedure.&lt;/li&gt;
&lt;li&gt;  Count, don't estimate, and say plainly where a number is soft.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The last post in the series is about what happens after the evidence: how a lesson learned in one session becomes a procedure every agent can follow, and how the same procedure can teach a person.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Series start:&lt;/strong&gt; &lt;a href="https://dev.to/blog/agentic-engineering"&gt;Agentic engineering: the work around the agent&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Previous:&lt;/strong&gt; &lt;a href="https://dev.to/blog/loops-with-a-stop-condition"&gt;Loops with a stop condition&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Originally published at &lt;a href="https://agentair.ai/blog/evidence-not-confidence" rel="noopener noreferrer"&gt;https://agentair.ai/blog/evidence-not-confidence&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>agenticengineering</category>
      <category>testing</category>
      <category>cicd</category>
    </item>
    <item>
      <title>Loops with a stop condition</title>
      <dc:creator>Gaurav Narasimhan</dc:creator>
      <pubDate>Sat, 05 Dec 2026 19:55:35 +0000</pubDate>
      <link>https://dev.to/gaurav_narasimhan/loops-with-a-stop-condition-kfi</link>
      <guid>https://dev.to/gaurav_narasimhan/loops-with-a-stop-condition-kfi</guid>
      <description>&lt;p&gt;&lt;em&gt;An agent is very good at continuing and much less good at knowing when it's finished. The fix isn't a smarter agent. It's a unit of work that carries its own goal, its own check and its own reason to stop.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://dev.to/blog/agentic-engineering"&gt;last post&lt;/a&gt; split the system around a coding agent into four parts: context, loops, evidence and procedure. This one is about the second part, and the most practical one: how to hand an agent work it can &lt;strong&gt;finish&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two ways an agent fails to finish
&lt;/h2&gt;

&lt;p&gt;Watch enough agent sessions and the failures sort into two piles.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It stops too early.&lt;/strong&gt; The agent makes the change, runs the one test it thinks is relevant, sees it pass and reports success. The other test file it didn't think of is red. The feature works on the page it looked at and not on the one next to it. From the agent's side nothing went wrong: it had no way to know there was more.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It doesn't stop.&lt;/strong&gt; The agent fixes the bug, then tidies the function, then renames a variable in three other files, then improves an error message nobody asked about. Each step is reasonable. Together they turn a five-line fix into a forty-file diff that's hard to review and harder to ship.&lt;/p&gt;

&lt;p&gt;Both failures have the same cause. The agent was given a &lt;strong&gt;task&lt;/strong&gt; (a description of what to do) and no &lt;strong&gt;stop condition&lt;/strong&gt; (a description of when it's done). So it guessed. Sometimes the guess is early, sometimes late, and it's rarely right on.&lt;/p&gt;

&lt;h2&gt;
  
  
  A loop has three parts
&lt;/h2&gt;

&lt;p&gt;A task becomes a loop when it carries three things:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Part&lt;/th&gt;
&lt;th&gt;The question it answers&lt;/th&gt;
&lt;th&gt;Weak&lt;/th&gt;
&lt;th&gt;Strong&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Goal&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;What should be true afterwards?&lt;/td&gt;
&lt;td&gt;"Fix the freeze"&lt;/td&gt;
&lt;td&gt;"The window stays responsive with 500 artifacts in the folder"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Check&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;How do you find out, without asking a person?&lt;/td&gt;
&lt;td&gt;"Make sure it works"&lt;/td&gt;
&lt;td&gt;"The UI test that opens the Artifacts tab finishes in under a second"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Stop condition&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;When does work end, whether or not it succeeded?&lt;/td&gt;
&lt;td&gt;(none)&lt;/td&gt;
&lt;td&gt;"Stop when the check passes and the suite is green, or after the third failed approach; then report"&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The goal is written as an end state, not an activity. "Refactor the loader" is an activity: you can do it forever. "The loader reads the folder once per open, not once per redraw" is an end state: it's either true or not.&lt;/p&gt;

&lt;p&gt;The check is something the agent can &lt;strong&gt;run&lt;/strong&gt;. If the only way to know whether the work is done is for me to look at it, the agent can't close the loop alone and will either stop and ask or, more often, stop and assume.&lt;/p&gt;

&lt;p&gt;The stop condition covers both outcomes. Stopping on success is the obvious half. Stopping on failure is the half people leave out, and it's the one that saves the most time: three honest attempts and a clear report beat thirty minutes of an agent trying variations of the same wrong idea.&lt;/p&gt;

&lt;h2&gt;
  
  
  The done-when line
&lt;/h2&gt;

&lt;p&gt;In practice all three parts collapse into a single line on the issue, which I call the &lt;strong&gt;done-when&lt;/strong&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Done when:&lt;/strong&gt; the Artifacts tab opens in under a second with 500 files present, the redraw no longer touches disk (covered by a test), and the full suite passes in the worktree.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That line is the most valuable sentence on the issue. It's short enough to write when the issue is filed, often by voice from a phone. And it's specific enough that an agent can work toward it, test it and stop.&lt;/p&gt;

&lt;p&gt;One Roof enforces it. Its issue picker marks an issue &lt;strong&gt;not ready&lt;/strong&gt; when it's missing what an agent needs to finish without asking: steps to reproduce, expected against actual, where it was seen, and a done-when. The gap is named on the issue itself, so it gets filled before the session starts rather than discovered halfway through.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;From an idea to a loop an agent can finish&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Filed as it's felt&lt;/strong&gt; Most issues start as a sentence: dictated into a session, or sent as a Slack DM from a walk. At this point it's a task, not a loop.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Made ready&lt;/strong&gt; Before an agent picks it up, the issue gains its done-when: the end state, the check that proves it and the point at which to stop. One Roof won't call an issue ready without it.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;The agent loops&lt;/strong&gt; Change, run the check, read the result, change again. The check is what turns 'I think this works' into a result the agent can see.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;It stops&lt;/strong&gt; On a pass the agent moves the issue to In Review with the evidence. On repeated failure it stops and says what it tried and what it learned. Both are finished loops.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this step · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/loops-with-a-stop-condition" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  When the check fails
&lt;/h2&gt;

&lt;p&gt;A loop isn't defined by its happy path. What the agent does after a red check matters more than what it does after a green one. The rule I've settled on is simple:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Read the failure before changing anything.&lt;/strong&gt; The output usually says what's wrong. Agents under pressure to finish skip this and start guessing.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Change one thing per attempt.&lt;/strong&gt; If three things change and the check passes, nobody knows which one fixed it, and the other two are now unreviewed edits.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Count attempts at the approach, not at the edit.&lt;/strong&gt; Tweaking the same idea five times is one approach. After about three genuinely different approaches, stop.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Report what you learned.&lt;/strong&gt; "The freeze isn't in the loader; it reproduces with an empty folder; the redraw is triggered by the sidebar" is a successful outcome for a loop that didn't fix the bug. The next loop starts from there.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The last point is the one that surprises people. A loop that stops with a precise failure report hasn't wasted its time. It has narrowed the problem for whoever picks it up next, person or agent. A loop that keeps going without new information is the only real waste.&lt;/p&gt;

&lt;h2&gt;
  
  
  Loops nest
&lt;/h2&gt;

&lt;p&gt;Once you see work as loops, they turn out to nest, and each level has its own check and its own stop.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Level&lt;/th&gt;
&lt;th&gt;Goal&lt;/th&gt;
&lt;th&gt;Check&lt;/th&gt;
&lt;th&gt;Stop&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Edit&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;this function returns the right value&lt;/td&gt;
&lt;td&gt;its unit test&lt;/td&gt;
&lt;td&gt;test green&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Issue&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;the done-when is true&lt;/td&gt;
&lt;td&gt;the issue's tests, in the worktree&lt;/td&gt;
&lt;td&gt;done-when met, or report after ~3 approaches&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Landing&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;the work joins live safely&lt;/td&gt;
&lt;td&gt;the full suite after a rebase, inside the worktree&lt;/td&gt;
&lt;td&gt;suite green, then squash and tag&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Ship&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;staging and production run this commit&lt;/td&gt;
&lt;td&gt;health endpoints report the same commit hash&lt;/td&gt;
&lt;td&gt;verification green in Kargo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Release&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;the new build is what's installed&lt;/td&gt;
&lt;td&gt;the seven-check release runbook&lt;/td&gt;
&lt;td&gt;all seven green&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Milestone&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;a round of the project is complete&lt;/td&gt;
&lt;td&gt;every issue in the round is in review or done&lt;/td&gt;
&lt;td&gt;release cut, next round opens&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Each level is closed by the one above it. An edit loop finishes inside an issue loop. The issue loop finishes when its work lands. Landing finishes when the ship verifies. That nesting is why a busy day of releases doesn't need a round of hand-checking for each one: every level has already proved its own part.&lt;/p&gt;

&lt;p&gt;Milestones are loops too&lt;/p&gt;

&lt;p&gt;The One Roof v0.50 project was cut into rounds, and each round ended in a full release with its own version number (0.5.1, 0.5.2, …). Fix builds inside a round got a fourth number (0.5.1.1); One Roof now uses plain x.y.z versions (2.0.0, 2.0.1). The version says which loop you're in, and a round isn't over until its release is installed and verified.&lt;/p&gt;

&lt;h2&gt;
  
  
  Loops that run without me
&lt;/h2&gt;

&lt;p&gt;The strongest test of a loop definition is whether it can run with nobody watching. One Roof has a &lt;strong&gt;Loops&lt;/strong&gt; place for exactly that: work that runs on its own, inside fences, and reports back.&lt;/p&gt;

&lt;p&gt;Unattended loops need two extra things that an attended session gets for free:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;A budget.&lt;/strong&gt; A maximum number of attempts, a time limit, or both. A loop with no person watching must end by itself.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Fences.&lt;/strong&gt; Unattended loops can't push to protected branches and can't mark their own work Done. They land on live and move issues to In Review, and a person closes them. The loop can do the work; it can't sign it off.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Inside those fences the loops approve their own steps, because asking a question of an empty room only stalls the work. The difference isn't trust in the model. It's whether the loop's fences make a wrong step cheap to undo.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to take from this
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  Hand an agent a &lt;strong&gt;loop&lt;/strong&gt;, not a task: a goal written as an end state, a check it can run, and a stop condition for both success and failure.&lt;/li&gt;
&lt;li&gt;  Write the three as one &lt;strong&gt;done-when&lt;/strong&gt; line on the issue, and don't start work until it's there.&lt;/li&gt;
&lt;li&gt;  Treat a precise failure report as a finished loop.&lt;/li&gt;
&lt;li&gt;  Notice how loops nest, and let each level's check close the level below.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The next post is about the check itself: what counts as evidence that work is done, and where agent work most often claims more than it did.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Series start:&lt;/strong&gt; &lt;a href="https://dev.to/blog/agentic-engineering"&gt;Agentic engineering: the work around the agent&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;One Roof:&lt;/strong&gt; &lt;a href="https://gaurav8936.github.io/oneroof/" rel="noopener noreferrer"&gt;project page and download&lt;/a&gt; · &lt;a href="https://github.com/gaurav8936/oneroof" rel="noopener noreferrer"&gt;source&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Originally published at &lt;a href="https://agentair.ai/blog/loops-with-a-stop-condition" rel="noopener noreferrer"&gt;https://agentair.ai/blog/loops-with-a-stop-condition&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>agenticengineering</category>
      <category>loops</category>
      <category>linear</category>
    </item>
    <item>
      <title>Agentic engineering: the work around the agent</title>
      <dc:creator>Gaurav Narasimhan</dc:creator>
      <pubDate>Sat, 05 Dec 2026 19:54:02 +0000</pubDate>
      <link>https://dev.to/gaurav_narasimhan/agentic-engineering-the-work-around-the-agent-13nn</link>
      <guid>https://dev.to/gaurav_narasimhan/agentic-engineering-the-work-around-the-agent-13nn</guid>
      <description>&lt;p&gt;&lt;em&gt;The model writes the code. Everything that decides whether that code is any good (where the agent starts, what it reads, when it stops, how it proves it's done) is engineering, and it's yours.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I run several coding agents on one laptop, most days in parallel: Claude Code, Codex and a couple of others, working on the same set of repositories and shipping to production.&lt;/p&gt;

&lt;p&gt;The agents aren't what makes that work. They're the same ones anyone can buy. What made the difference was everything around them: where a session is allowed to start, which file it reads first, how work is cut into units, how a unit proves it is finished, and how a lesson from one session reaches the next. That surrounding system is what I mean by &lt;strong&gt;agentic engineering&lt;/strong&gt;, and this series is about building it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prompting is not the job
&lt;/h2&gt;

&lt;p&gt;The popular picture of working with a coding agent is a conversation. You describe what you want, the agent writes it, you read it and ask for changes. That picture puts all the skill in the prompt.&lt;/p&gt;

&lt;p&gt;It's true for a single task. It stops being true the moment you run more than one session, or come back tomorrow, or let an agent ship. At that point the prompt is the smallest part of the outcome. What matters more is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  what the agent &lt;strong&gt;already knows&lt;/strong&gt; when the prompt arrives,&lt;/li&gt;
&lt;li&gt;  whether it knows &lt;strong&gt;when to stop&lt;/strong&gt;,&lt;/li&gt;
&lt;li&gt;  whether it can &lt;strong&gt;show&lt;/strong&gt; that it's done, rather than say so,&lt;/li&gt;
&lt;li&gt;  and whether the next session &lt;strong&gt;inherits&lt;/strong&gt; what this one learned.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of those is a property of the model. Each one is a property of files, settings, scripts and habits that someone has to design. That design work is engineering in the ordinary sense: it has requirements, failure modes, tests and maintenance.&lt;/p&gt;

&lt;p&gt;A working definition&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Agentic engineering&lt;/strong&gt; is designing the environment a coding agent works in (its context, its loops, its evidence and its procedures) so that the work it produces is correct, finished and reusable without a person checking every step.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four parts
&lt;/h2&gt;

&lt;p&gt;Everything I've built for the agents falls into one of four parts. Any setup that works has all four in some form; they just rarely get named.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The system around the agent&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; PART 1 · &lt;strong&gt;Context&lt;/strong&gt; What the agent knows before you say anything: the rules it loads, the notes it reads, the handoff from the last session. This post covers it.&lt;/li&gt;
&lt;li&gt; PART 2 · &lt;strong&gt;Loops&lt;/strong&gt; A unit of work with a goal, a check and a stop condition. An agent without a stop condition either stops too early or never stops.&lt;/li&gt;
&lt;li&gt; PART 3 · &lt;strong&gt;Evidence&lt;/strong&gt; The difference between 'I fixed it' and a test run, a health check that reports the deployed commit, or a release that counts only when all seven checks are green.&lt;/li&gt;
&lt;li&gt; PART 4 · &lt;strong&gt;Procedure&lt;/strong&gt; How a lesson outlives the session that learned it: a skill, a gotcha, a handoff. This is what closes the loop back into context for the next session.&lt;/li&gt;
&lt;li&gt; THE POINT · &lt;strong&gt;The agent is the smallest box&lt;/strong&gt; The model does the typing. The four parts around it decide whether the typing adds up to finished, working software. Those four are what you can engineer.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;lit = this part · tap a box · ← → or Play · &lt;a href="https://agentair.ai/blog/agentic-engineering" rel="noopener noreferrer"&gt;Interactive version in the original post&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  1 · Context: what the agent knows before you speak
&lt;/h3&gt;

&lt;p&gt;Every session starts cold. What it knows at the first prompt is whatever it loaded: instruction files, notes, the last handoff. Start a session in the wrong folder and it loads the wrong notes: what it learns there is invisible to the next session that starts in the right place. Nothing errors. The agents are simply, confidently out of date.&lt;/p&gt;

&lt;p&gt;The lesson generalizes. Context isn't something you write into a prompt each time. It's a structure on disk: where sessions start, which file every agent finds first, what's shared in git and what stays private. You design it once and then enforce it, because a rule that lives only in a note is advice, and agents don't read advice in files they never open.&lt;/p&gt;

&lt;h3&gt;
  
  
  2 · Loops: work with a stop condition
&lt;/h3&gt;

&lt;p&gt;An agent is good at continuing. It's much less good at knowing when it's finished. Left alone, it stops at the first plausible result ("the tests I ran pass") or keeps polishing past the point of value.&lt;/p&gt;

&lt;p&gt;The fix is to hand the agent a loop rather than a task: a goal, a check that can be run, and a condition that says stop. In One Roof, the desktop app I run these sessions in, this shows up as a readiness check that marks an issue &lt;strong&gt;not ready&lt;/strong&gt; until it says what done means. That one field is what lets a single session take several issues, plan them, work them and move each one to review by itself.&lt;/p&gt;

&lt;h3&gt;
  
  
  3 · Evidence: proof, not reassurance
&lt;/h3&gt;

&lt;p&gt;Agents report success fluently. Fluency is not evidence. The parts of my setup I trust are the ones where the claim and the proof are separate: a pipeline that won't promote an image to production until the health endpoint reports the same commit that passed staging; a release that counts only when the app installed on the Mac is the new version; a test suite that has to pass inside the worktree before the work lands.&lt;/p&gt;

&lt;p&gt;Each of those is there to catch a "done" that isn't.&lt;/p&gt;

&lt;h3&gt;
  
  
  4 · Procedure: what the next session inherits
&lt;/h3&gt;

&lt;p&gt;The last part is the one that compounds. When a session works out how to do something, such as closing a session properly, shipping a domain or writing a handoff, that knowledge either dies with the session or becomes a procedure the next one can follow.&lt;/p&gt;

&lt;p&gt;In this workspace a procedure is a &lt;strong&gt;skill&lt;/strong&gt;: one folder with a &lt;code&gt;SKILL.md&lt;/code&gt; that says how to do one job, kept in a single library and linked into every agent's home. Edit it once and every linked agent has the new version at its next start. Failure modes go in a different place, one fact per file in a &lt;code&gt;gotchas/&lt;/code&gt; folder, so the next agent that hits the same wall finds the note instead of the wall.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why "engineering"
&lt;/h2&gt;

&lt;p&gt;It would be easy to call all of this tooling, or process, or prompt hygiene. I call it engineering because it behaves like the rest of engineering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;It has failure modes you can name.&lt;/strong&gt; The split memory, the missing door, the agent that ships a regression because nobody wrote down what done meant.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;It has tests.&lt;/strong&gt; A script that checks every repo has a door; a hook that blocks a session started in the wrong place; a verification step that compares commit hashes.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;It needs maintenance.&lt;/strong&gt; The notes index that grew to 606 lines, of which only about the first 150 loaded, was technical debt in the most literal sense.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;It's cumulative.&lt;/strong&gt; Each fix makes the next session a little better without anyone having to remember to.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And like the rest of engineering, most of it is boring. One launch folder. One must-read list. A stop condition on every unit of work. None of it is clever, and none of it was true until it was enforced.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this series covers
&lt;/h2&gt;

&lt;p&gt;Three more posts follow, one for each of the other three parts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Loops with a stop condition.&lt;/strong&gt; How to cut work into units an agent can finish without asking: the done-when, the check, and what a loop does when the check fails.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Evidence, not confidence.&lt;/strong&gt; Where agent work most often claims more than it did, and the gates that catch it: tests in the worktree, verified deploys, releases that count only when every check is green.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;One library, every agent.&lt;/strong&gt; Skills as shared procedure: how one library reaches every agent on the machine, how a card teaches a person the same thing it tells an agent, and how the Agentic Engineering deck is built from it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Alongside the series, the procedures themselves are becoming a site of their own: &lt;strong&gt;Agentic Engineering&lt;/strong&gt;, a deck of short narrated cards, one per idea, each one a skill an agent can run and a lesson a person can hear in a few minutes. It now lives at &lt;strong&gt;&lt;a href="https://dev.to/ae"&gt;/ae&lt;/a&gt;&lt;/strong&gt; on this site and the other sites.&lt;/p&gt;

&lt;p&gt;If you take one thing from this post&lt;/p&gt;

&lt;p&gt;Before you write a better prompt, ask what the agent knew before it read it, how it will know it's finished, and what it will leave behind for the next session. Those three answers are worth more than the prompt.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;One Roof:&lt;/strong&gt; &lt;a href="https://gaurav8936.github.io/oneroof/" rel="noopener noreferrer"&gt;project page and download&lt;/a&gt; · &lt;a href="https://github.com/gaurav8936/oneroof" rel="noopener noreferrer"&gt;source&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Me:&lt;/strong&gt; &lt;a href="https://gaurav8936.github.io/" rel="noopener noreferrer"&gt;gaurav8936.github.io&lt;/a&gt; · &lt;a href="https://github.com/gaurav8936" rel="noopener noreferrer"&gt;github.com/gaurav8936&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Originally published at &lt;a href="https://agentair.ai/blog/agentic-engineering" rel="noopener noreferrer"&gt;https://agentair.ai/blog/agentic-engineering&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>agenticengineering</category>
      <category>claudecode</category>
      <category>codex</category>
    </item>
  </channel>
</rss>
