<?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: RLM Labs</title>
    <description>The latest articles on DEV Community by RLM Labs (@rlmlabs_founder).</description>
    <link>https://dev.to/rlmlabs_founder</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%2F4192832%2F881c78d7-cff1-4543-aa5c-771f7e248d7d.png</url>
      <title>DEV Community: RLM Labs</title>
      <link>https://dev.to/rlmlabs_founder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rlmlabs_founder"/>
    <language>en</language>
    <item>
      <title>The gate was wrong and the model knew</title>
      <dc:creator>RLM Labs</dc:creator>
      <pubDate>Tue, 01 Dec 2026 23:02:07 +0000</pubDate>
      <link>https://dev.to/rlmlabs_founder/the-gate-was-wrong-and-the-model-knew-4fdc</link>
      <guid>https://dev.to/rlmlabs_founder/the-gate-was-wrong-and-the-model-knew-4fdc</guid>
      <description>&lt;p&gt;On 31 July 2026 my gate refused a Maven build and told the model to run a build. The model ran a different build. The gate said the same thing. Three Maven builds and one test run later, the model concluded Maven was not installed. Nothing in the run showed Maven missing. My gate did not know Maven existed.&lt;/p&gt;

&lt;p&gt;The run was changing a Java codebase. Task 26 edited a pom.xml and needed to prove the module still compiled, so the model sent:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;mvn -pl modules/compatibility compile
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Merlin refused with this reason:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;E_READONLY_VIOLATION: run_command rejected during mutation task:
command during a mutation task must be a build, test, lint, or
syntax-check verification command
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The model read the refusal and wrote this before trying again, verbatim from the log:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"The `run_command` was rejected again because it says 'command during a mutation task must be a build, test, lint, or syntax-check verification command'. But `mvn -pl modules/compatibility compile` IS a build command. The rejection message seems generic."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The model was right on both counts. Then the model tried the same build with the arguments reordered, a test run, and a plain compile with no module flag. Every one got the same sentence. Three minutes after the first refusal the model gave up and wrote:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"The build tools (`mvn`, `javac`) are not installed in this environment"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Nothing in the run supported the conclusion. The gate refused every command before running any of them, so the model never saw Maven fail. My message alone produced the conclusion. The task closed as completed seventeen seconds later. No build ever ran.&lt;/p&gt;

&lt;p&gt;This came on the flight into Nairobi from London. Somewhere over the Mediterranean I reviewed the log for this run and realized that we had ignored a basic fact: most applications in enterprises are built with Java, and we had ignored their build scenarios completely.&lt;/p&gt;

&lt;p&gt;Here is why. The gate decides whether a command is a build by looking the tool up in a table. On 31 July the table held go, cargo, make, npm, pnpm, yarn, pytest, tsc, eslint, ruff, mypy, gofmt, golangci-lint and python -m py_compile. No mvn. No gradle. I was pointing Merlin at a Java codebase with a gate unaware Java builds exist. Every Maven command fell through to the generic refusal, and the generic refusal described the exact command the model had sent.&lt;/p&gt;

&lt;p&gt;The true reason fits in one line: mvn is not in my list of build tools. With this line the model stops guessing and reports the gap, and I see the gap the same day. Without the line, the model invented a cause, and the invented cause sounded reasonable. Reasonable is the dangerous kind of wrong.&lt;/p&gt;

&lt;p&gt;Minutes earlier, task 25 in the same run had hit the same sentence for a different reason. The model tried to install a proprietary JAR with mvn install:install-file. Refusing was correct: installing a dependency is not verification. But the refusal said only "must be a build command," so the model tried again, four times, at about 130,000 tokens per attempt, until the loop breaker closed the task. I fixed the message the same day. The refusal now says installing is never verification, tells the model to verify by reading the staged change back, and to record the missing dependency in its notes.&lt;/p&gt;

&lt;p&gt;A refusal has to name the exit: the specific thing wrong with this input and the next action. When a gate restates its policy instead, a caller who already complies has no move left except to repeat, or to invent an explanation. I have been on the receiving end of the same gate at every government counter in two countries.&lt;/p&gt;

&lt;p&gt;The test: send your gate a command you know is valid and see what comes back. If the refusal tells you to do what you did, the gate is reporting its policy, not your input.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>We repaired the model's numbers twice</title>
      <dc:creator>RLM Labs</dc:creator>
      <pubDate>Thu, 26 Nov 2026 05:53:31 +0000</pubDate>
      <link>https://dev.to/rlmlabs_founder/we-repaired-the-models-numbers-twice-1d19</link>
      <guid>https://dev.to/rlmlabs_founder/we-repaired-the-models-numbers-twice-1d19</guid>
      <description>&lt;p&gt;Twice in four weeks I wrote code to correct the model's numbers for the model. Both times the correction hid the next failure. A repair is a confession the input was wrong, and I had stopped reading the confession.&lt;/p&gt;

&lt;p&gt;On 1 August 2026 a user asked Merlin to look something up on the web. In session 52183a7b the planner wrote a four-task plan, with routing hints saying which task depended on which. The run died three strikes later without running a single search. The rejection:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;E_SCHEMA_INVALID
validation failed (1): routing_hints index 4 out of range (tasks has 4 items)
hint: routing_hints[].index must be a valid index into the tasks array
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The planner had numbered its tasks in prose as 1 to 4 and reused those numbers in the hints. My hint was true and useless. The hint never said indexes start at zero. The model sent the same plan again, twice, and the loop detector closed the run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;LOOP_DETECTED: REPEATED_ERROR: Same error 'E_SCHEMA_INVALID' occurred 3 times
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I shipped two fixes the same day. The message now stated the convention and did the arithmetic. And a repair shifted a set of hints down by one whenever the set was invalid read as zero-based and a complete, valid plan read as one-based.&lt;/p&gt;

&lt;p&gt;The next day I deleted the repair. A bare number does not say which base the writer used. The overrun was the safe case, because validation caught the overrun. The dangerous case was a one-based plan whose numbers happened to stay in range: every dependency attached to the neighbouring task, and nothing reported a thing. My repair fixed the case validation already caught and did nothing for the case nobody saw. Tasks now carry short keys, and hints name tasks by key. An unknown key fails by name, and the rejection lists the keys which exist.&lt;/p&gt;

&lt;p&gt;The second repair lasted longer and did more damage.&lt;/p&gt;

&lt;p&gt;On 28 July, in session abae6151, three planning rounds of about seven minutes each had died over a number my own gate computed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"must use inspection_shard=1, not 0"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The rule I wrote then: a gate rejects only over fields the model owns. A value the server computes gets stamped by the server, never bounced back for the model to copy. The rule was right. The stamp assumed position equals role: index 0 is governance, indexes 1 to N are inspection shards, then requirements and design.&lt;/p&gt;

&lt;p&gt;On 25 August, run 10 (session 0ab18863) wrote a coherent plan with nine inspection shards when ten were required, and died after three byte-identical rejections. A diagnostic for exactly this case existed, written on 17 August after an earlier run died the same way: the plan declares 9 but 10 are required, do not renumber. The diagnostic never fired. The stamp ran first, branded the model's requirements task as shard 10, and the count matched. The model received complaints about tasks with nothing wrong in them and sent the same plan three times. The stamp had silenced the diagnostic every day since the diagnostic was written. I had built the diagnosis and parked the repair in front of the door.&lt;/p&gt;

&lt;p&gt;The fix: a repair runs only when its premise holds. A plan with no shard numbers gets stamped, because there is nothing to disagree with. A plan whose count disagrees with the layout skips every repair and gets the diagnosis on the first rejection. Diagnostics are now tested through every repair, in the order production runs them.&lt;/p&gt;

&lt;p&gt;The test: before a repair rewrites input, write down the premise the repair assumes and check the premise on the input. A repair run on input breaking its premise does not fail. The repair rewrites the input until the premise holds, and erases the evidence every later check needed.&lt;/p&gt;

&lt;p&gt;Source: session 52183a7b from my logs, and Spec 008, AC-008-002-11 (superseded) and AC-008-002-14. Session abae6151 and run 10 from Spec 001, AC-FR005-09, and Spec 018, AC-018-009-16 and AC-018-010-13.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>The prompt outgrew the model</title>
      <dc:creator>RLM Labs</dc:creator>
      <pubDate>Mon, 23 Nov 2026 08:15:22 +0000</pubDate>
      <link>https://dev.to/rlmlabs_founder/the-prompt-outgrew-the-model-5hjp</link>
      <guid>https://dev.to/rlmlabs_founder/the-prompt-outgrew-the-model-5hjp</guid>
      <description>&lt;p&gt;On 31 July 2026 at 20:27 UTC, a run writing specification documents for a large Java codebase sent the model a prompt of 264,934 tokens. The model's window holds 262,144. The provider refused the request:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Invalid request: Your request exceeded model token limit: 262144 (requested: 265529)"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The run ended there with an error and no answer. The run was session 81e51c61, the same session whose final answer the guard rejected the next morning at 24 of 25.&lt;/p&gt;

&lt;p&gt;Nothing about this failure was the model's fault. The model never saw the request. I built a prompt too big for the model, and I sent the prompt anyway. Like carrying a package to a door you already know is locked.&lt;/p&gt;

&lt;p&gt;Two things let the prompt grow. After each finished task, Merlin compacts the conversation, keeping the working state and folding the history away. The rule skipped compaction whenever there had been recent errors. After the last compaction at 20:12, the next five finished tasks all had recent errors, so all five compactions were skipped. The prompt went from 24,030 tokens to 255,706 in fourteen minutes.&lt;/p&gt;

&lt;p&gt;The second thing let the prompt leave the building. Prompts over 49 percent of the local model's window are escalated to a larger cloud model, and 114 of the session's 117 model calls went there. Merlin checks every prompt against the window of the model about to receive the prompt, and compacts or refuses before sending. For the escalation tier, I had left the window unset on purpose. My specification recorded the reasoning: the provider owns its limits. An unset window read as zero, and a zero window switched the check off. So a request certain to fail went out, the refusal came back, and the run ended in a state no resume was able to recover.&lt;/p&gt;

&lt;p&gt;The run had paused itself at its token budget at 19:45 local time, and five resume attempts each stopped again immediately before the sixth ran. The crash came at 23:27 local. The first hour was spent debugging why we kept exhausting the budget, and then we realized the problem: we are an RLM orchestration engine, of course the prompts are going to grow with each turn. The first thing was we doubled the budget and kicked off another run. Then we implemented context compiling and summarization to remove repeated context from the prompt.&lt;/p&gt;

&lt;p&gt;The fixes went in overnight. The escalation tier now declares its real window, 262,144 tokens, so the check runs on every call. A failed run is now re-armed from its last checkpoint on request instead of being lost.&lt;/p&gt;

&lt;p&gt;At 06:36 UTC the run resumed from its checkpoint. Two minutes later, before any model call, the check fired: the prompt stood at 261,331 tokens against the 262,144-token window, with 24,576 reserved for the answer. Merlin compacted the prompt to 25,648 tokens and carried on. Half an hour later the run produced the 24-of-25 answer the guard rejected.&lt;/p&gt;

&lt;p&gt;A limit left unset is not an unlimited limit. In my code, absent meant skip the check, so one missing line in a configuration file switched off a safety rule, and nothing reported the switch. I had written "the provider owns its limits" in the spec as if the provider would also own the consequences.&lt;/p&gt;

&lt;p&gt;The test: for every limit your system reads from configuration, find what an absent value does in the code. If absent means "skip", delete the value in a test environment and send a request one token over the real limit. See whether anything stops the request before the provider does.&lt;/p&gt;

&lt;p&gt;Source: session 81e51c61 from my logs, and Spec 009 data model and plan, amended 1 August 2026 (commit 7d0accf92).&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>The optimizer made the prompt bigger</title>
      <dc:creator>RLM Labs</dc:creator>
      <pubDate>Sun, 22 Nov 2026 08:50:33 +0000</pubDate>
      <link>https://dev.to/rlmlabs_founder/the-optimizer-made-the-prompt-bigger-f58</link>
      <guid>https://dev.to/rlmlabs_founder/the-optimizer-made-the-prompt-bigger-f58</guid>
      <description>&lt;p&gt;In July 2026 I found the component built to shrink prompts making them bigger. One manifest line from a long run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mode=compiler_pack  stage=execution  budget=47616
before=26461  after=26798  saved=-337
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;26,461 tokens went in and 26,798 came out. In session 7b3256c2, 21 of 69 packing passes had negative savings. The optimizer had been reporting a minus sign for days, and nothing in the house was reading the sign.&lt;/p&gt;

&lt;p&gt;The bigger cost sat somewhere else. A packing pass sorts the conversation into history and state, then rebuilds the window. My classifier pinned two messages: the system prompt and the latest user message. In a chat, those are the right two. In a tool loop, the latest user message is usually the injected task checklist. The model's working state, the file the model read and the result of the last operation, sits one or two messages earlier. Under budget pressure the packer dropped the result the model was acting on.&lt;/p&gt;

&lt;p&gt;So the model read the file again. The pressure stayed, and the packer dropped the file again. The same 5.6 KB file was fetched more than ten times, at about 25,000 tokens per iteration of the crawl. The run used 3.4 million tokens against a 2 million cap. A check of the fleet afterwards found the same crawl in every long run between 5 and 8 July. Four days of a model rereading the same page, like a commuter who keeps losing his place.&lt;/p&gt;

&lt;p&gt;Two rules came out of the incident on 8 July. The last four messages are now must-keep. In a tool loop those four are the working set: the last program, the program's result and the injected context. The packer compacts history, never state. And the optimizer is allowed to give up. A pass which fails to shrink the prompt at a self-reported confidence under 0.25 is discarded, and the unoptimized window goes out instead. Over those four days the optimizer's confidence never once exceeded 0.57. A tool at 0.57 confidence should not be touching the furniture.&lt;/p&gt;

&lt;p&gt;The test: for every component reporting a saving, alert on the sign. Mine reported saved=-337 and carried on, and nothing was watching for a negative number.&lt;/p&gt;

&lt;p&gt;Source: session 7b3256c2 from my logs, and Spec 007, AC-007-008-06 and AC-007-008-07, written 8 July 2026.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>The model reasoned itself into silence</title>
      <dc:creator>RLM Labs</dc:creator>
      <pubDate>Sat, 21 Nov 2026 11:43:08 +0000</pubDate>
      <link>https://dev.to/rlmlabs_founder/the-model-reasoned-itself-into-silence-22fh</link>
      <guid>https://dev.to/rlmlabs_founder/the-model-reasoned-itself-into-silence-22fh</guid>
      <description>&lt;p&gt;On 6 July 2026 a user asked Merlin a one-line question. The model thought for 54 seconds, spent all 2,048 of its 2,048 thinking tokens, and returned nothing.&lt;/p&gt;

&lt;p&gt;The question, on the second turn of session 4afb8ec8:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"what is a structured intelligence assistant"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No files, no tools. Merlin sent the question down the direct-answer path, the fast lane for questions needing no evidence. The local model on the lane had thinking switched on. The model opened a thinking block, never closed the block, and the budget ran out inside. The answer section was empty. After 54 seconds the user got a typed error instead of an answer.&lt;/p&gt;

&lt;p&gt;The question was easy. Stopping was the hard part.&lt;/p&gt;

&lt;p&gt;A thinking budget sets how long a model reasons before answering. Nobody had decided what happens when the budget ends mid-thought, so the default decided for us, and the default was silence. Fifty-four seconds of thought on a one-line definition. I have sat in meetings like those. The difference is the meeting usually produces a sentence at the end.&lt;/p&gt;

&lt;p&gt;I made two changes the same day. The direct-answer path now runs with thinking off. A definition question gains nothing from hidden reasoning, and the user pays for every reasoning token in waiting time. Reasoning stays on for planning and analysis, where the output gets checked against evidence. And when a model still returns thinking with no answer, Merlin salvages the most answer-like tail of the thinking text before giving up, and counts every salvage in a metric, so I see how often the net catches something.&lt;/p&gt;

&lt;p&gt;The test: for every budget in your system, ask what the user sees when the budget runs out halfway through a thought. If the honest answer is "whatever the default does", nobody has decided.&lt;/p&gt;

&lt;p&gt;Source: Spec 001, AC-FR005-06, written 6 July 2026. The run's logs have aged out of my log store. The specification entry written the same day records the numbers.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Nineteen of twenty-six tasks beheaded</title>
      <dc:creator>RLM Labs</dc:creator>
      <pubDate>Fri, 20 Nov 2026 04:19:37 +0000</pubDate>
      <link>https://dev.to/rlmlabs_founder/nineteen-of-twenty-six-tasks-beheaded-37bo</link>
      <guid>https://dev.to/rlmlabs_founder/nineteen-of-twenty-six-tasks-beheaded-37bo</guid>
      <description>&lt;p&gt;On 27 July 2026 two tasks stalled and nineteen others never ran. Every rule involved made sense on its own. Together the rules left the run one legal move, and another rule forbade the move.&lt;/p&gt;

&lt;p&gt;The run was analysing a large Java codebase with a plan of twenty-six tasks. Early tasks inspected modules. Later tasks depended on the inspections, and sixteen of those were ready to change code.&lt;/p&gt;

&lt;p&gt;The model had been pointed at two modules following the Maven layout, modules/name/src/main/java, and assumed every module did the same. Three siblings did not. Four lookups across the whole session came back not found. Four wrong guesses should cost four failed lookups. Here the guesses cost two whole tasks, because of how three other parts of Merlin answered them.&lt;/p&gt;

&lt;p&gt;My executor ran each program of operations as one unit and aborted the whole program on a bad path. The correct lookups in the same batch never ran, so every wrong guess took its correct neighbours down too.&lt;/p&gt;

&lt;p&gt;My loop detector compared errors by code alone. Three not-found errors on three different paths looked like one error repeated three times. One task was declared stalled on its first error of its own, charged with errors from other paths and from the task before.&lt;/p&gt;

&lt;p&gt;Both inspection tasks ended completed but carrying a blocking residue. My scheduler never re-serves a completed task, and the dependents waited for the residue to clear. Nothing was ever going to clear the residue. The run had been handed a transfer to a train no longer running. Nineteen of twenty-six tasks became unreachable, all sixteen code-changing tasks among them.&lt;/p&gt;

&lt;p&gt;Then the endgame. The model asked to revise the plan and was refused, because the plan's dependencies were locked. The one step the executor still allowed was an honest incomplete report. The final-answer gate rejected every such report and demanded the unfinished changes continue, changes no scheduler would ever serve. The run died at iteration 36 on the limit for rejected operations. Four departments, each following procedure, and a citizen standing in the lobby with no form left to fill in.&lt;/p&gt;

&lt;p&gt;I fixed each link the same day. A bad path now fails only the operation naming the path, and the rest of the batch runs. The loop detector compares the full error, code and message, and charges each error to the operation producing the error. A completed dependency releases its dependents even with a residue, and the residue travels with them as a stated fact: upstream evidence for this task is incomplete. And the final gate demands more work only when some task carrying the work is reachable. When the executor allows only an incomplete report, the gate must accept the report.&lt;/p&gt;

&lt;p&gt;The sentence from my record I keep coming back to: one stalled task must cost itself, not the plan's tail.&lt;/p&gt;

&lt;p&gt;The test: list the moves your system still allows when a run goes wrong, then check every gate against the list. When one part permits only the move another part forbids, the run has no exit, and no amount of model intelligence finds one.&lt;/p&gt;

&lt;p&gt;Source: Spec 002, AC-002-009-08 and AC-002-009-09, and Spec 008, AC-008-003-02 and AC-008-003b-12, all written 27 July 2026. The run's logs have aged out of my log store.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>A green build over a red tree</title>
      <dc:creator>RLM Labs</dc:creator>
      <pubDate>Thu, 19 Nov 2026 08:28:04 +0000</pubDate>
      <link>https://dev.to/rlmlabs_founder/a-green-build-over-a-red-tree-2hpo</link>
      <guid>https://dev.to/rlmlabs_founder/a-green-build-over-a-red-tree-2hpo</guid>
      <description>&lt;p&gt;On 8 July 2026 Merlin committed a failing test with a green build.&lt;/p&gt;

&lt;p&gt;My rules ask for a test with every fix. In session 1e823af6 the model did the textbook thing. The model wrote analyzer_layer_test.go first, a test meant to fail until the bug was fixed, then worked on the fix. The fix got stuck in a blocked change and never landed. The test landed.&lt;/p&gt;

&lt;p&gt;My commit gate ran the build. A build compiles test files, so a test with a syntax error fails the build. A build does not run tests. A test which compiles cleanly and fails at runtime passes. The gate showed green, and the user's tree now held a failing test. Green is a colour, not a verdict.&lt;/p&gt;

&lt;p&gt;Nobody did anything wrong. The model followed my rule. The gate checked what the gate was built to check. The defect was the gap between what the gate checked, compilation, and what everyone assumed the gate checked, the correctness of the change. I have watched the same gap swallow a release more than once, from the other side of a conference table, and here I had built the gap myself.&lt;/p&gt;

&lt;p&gt;The fix added a second half to the commit gate. A staged change adding or editing a Go test file must now pass go test for those packages inside the staging area, after the build and before the commit. A failure rolls the change back and rejects the task with a hint: the test and the fix pass together, in the same task, or neither lands. Editing a test means owning the outcome of the package's tests.&lt;/p&gt;

&lt;p&gt;Two limits, stated plainly. The test half covers Go only, while the build half covers more languages. And the rule fails open on infrastructure errors: when go test fails to start, the commit proceeds and the gate records the result as unavailable.&lt;/p&gt;

&lt;p&gt;The test: read the command behind your green check, write down in one sentence what the command proves, and compare the sentence with what your team believes the check proves.&lt;/p&gt;

&lt;p&gt;Source: Spec 003, AC-003-004-10, written 8 July 2026. The run's logs have aged out of my log store.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>The three-line stub</title>
      <dc:creator>RLM Labs</dc:creator>
      <pubDate>Wed, 18 Nov 2026 05:56:15 +0000</pubDate>
      <link>https://dev.to/rlmlabs_founder/the-three-line-stub-1kln</link>
      <guid>https://dev.to/rlmlabs_founder/the-three-line-stub-1kln</guid>
      <description>&lt;p&gt;On 6 July 2026 Merlin rejected a final answer, correctly, and told the user almost nothing. The run had committed three files to the user's working tree. The rejection was a three-line stub naming none of the three. I had built the honest half of a refusal and forgotten the useful half.&lt;/p&gt;

&lt;p&gt;A rejection in Merlin replaces the model's proposed answer with a status the system writes itself. If the model claims work the record does not support, you should never read the claim. In session bf1e74e9 the claim went away, as designed, and a short status took its place. Three changed files sat in the user's repository, and the status mentioned none of them.&lt;/p&gt;

&lt;p&gt;Think about the user's next move. They rerun the request, or they assume nothing happened and move on with three edits nobody told them about. Either way my honesty about the claim became silence about the facts. A refusal with no receipt is a shrug.&lt;/p&gt;

&lt;p&gt;I had merged two decisions into one. Suppressing an unsupported claim is correct. Suppressing the record of what happened is not. The model's narrative deserved to go. The ground truth did not.&lt;/p&gt;

&lt;p&gt;The same day, every final gained two sections written from the system's own records, never from the model's text. "Changes committed to your working tree" lists every verified commit on every final in commit mode, accepted or rejected. "What verifiably happened this run" gives the task and change counts on every answer the system did not fully accept. The refusal keeps its shape. The receipt comes stapled to the refusal.&lt;/p&gt;

&lt;p&gt;The test: take your system's harshest rejection and read nothing else. If the user cannot tell from those lines alone what changed on their machine, the refusal hides facts.&lt;/p&gt;

&lt;p&gt;Source: Spec 002, AC-002-002-06, written 6 July 2026. The run's logs have aged out of my log store.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>639 reads and "no evidence of reading"</title>
      <dc:creator>RLM Labs</dc:creator>
      <pubDate>Tue, 17 Nov 2026 04:43:44 +0000</pubDate>
      <link>https://dev.to/rlmlabs_founder/639-reads-and-no-evidence-of-reading-3d1g</link>
      <guid>https://dev.to/rlmlabs_founder/639-reads-and-no-evidence-of-reading-3d1g</guid>
      <description>&lt;p&gt;On 12 July 2026 a run of six tasks reported 639 file reads. In the same decision, my authorizer rejected the run's answer because there was&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"no evidence of reading the design document"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Both statements were wrong, in opposite directions. Eleven weeks later I got the same counter wrong again, the other way round.&lt;/p&gt;

&lt;p&gt;Six tasks do not read 639 files. The counter behind read_ops scanned a whole evidence store, and the store was created lazily and never cleared between runs. Indexing and context syncing wrote rows into the same store with no task attached. read_ops counted every row anyone had ever written there. The number measured the age of the process, not the work of the run.&lt;/p&gt;

&lt;p&gt;The rejection had the opposite problem. The authorizer, the model checking the final answer against the record, got counters and no paths. A count of 639 gives no way to check a claim about one document. The authorizer was asked a question about a file and handed a number. The model reasoned from what I gave the model, which is the only thing a model ever does.&lt;/p&gt;

&lt;p&gt;I fixed both halves the same day. read_ops counts only rows tied to a task in the current run. The packet now carries the paths, up to 16 records of which task read which file, so a claim about a file is checked against the record of the same file. And the authorizer's instructions gained a rule: a path in the list is evidence the file was read.&lt;/p&gt;

&lt;p&gt;On 27 September the counter misled me again. A later change put a task identifier on every row the analysis recorder writes, including every grep match and every directory listing. "Tied to a task" stopped meaning "read". In session 64c902e0 one child reported 1,107 reads against 34 files with real content. 944 of those rows came from a single search:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;grep &lt;span class="s2"&gt;"package org.example"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The one file the packet named as evidence had matched the grep and was never opened.&lt;/p&gt;

&lt;p&gt;The second fix is the one I would keep. The code writing each row now stamps how the file was reached: read, grep match or listing. Only a read counts. The kind is a typed field set at the moment the row is written, never inferred later from the row's text.&lt;/p&gt;

&lt;p&gt;This reminds me of another incident where we spent a month trying to understand why performance had all of a sudden tanked on a franchise ordering application. The app had run for 2 years without a problem, 30,000 logins per hour without a single issue for 2 years, and then one day it couldn't handle 1,000 logins. Everything read fine, every dashboard counter read normal. We finally noticed that there was one log line that read 0 for in-memory cache battery life. The battery life on an HP storage unit had a hardcoded in-service lifespan, and whether the battery was good or not, the HP storage manager would bypass the cache if the battery had reached its end of life. No one would know that a counter of 0 for a cache battery meant bypass the cache altogether, and in those days it was about accessing spinning disks.&lt;/p&gt;

&lt;p&gt;The first time the number was too big because nothing was attributed. The second time the number was too big because everything was. Neither time did anyone change the counter. Somebody changed what wrote into the table behind the counter, and the meaning moved without a single line of the counter's code changing. Both times a model downstream made a sensible decision on a number nobody owned. A number nobody owns is a number everybody trusts.&lt;/p&gt;

&lt;p&gt;The test: for every number your system uses to accept or reject work, name every writer of the table behind the number. If you cannot name them all, the number already means something you did not choose.&lt;/p&gt;

&lt;p&gt;Source: Spec 004, AC-004-006-13, written 12 July and amended 27 September. The July run's logs have aged out of my log store. The specification entry written the same day records the numbers.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Twenty-four of twenty-five</title>
      <dc:creator>RLM Labs</dc:creator>
      <pubDate>Mon, 16 Nov 2026 09:00:33 +0000</pubDate>
      <link>https://dev.to/rlmlabs_founder/twenty-four-of-twenty-five-2g6d</link>
      <guid>https://dev.to/rlmlabs_founder/twenty-four-of-twenty-five-2g6d</guid>
      <description>&lt;p&gt;On 1 August 2026 Merlin threw away the final answer of a run with 24 of its 25 tasks done. I had waited fifteen hours for the answer. I agreed with the refusal before I finished reading the line.&lt;/p&gt;

&lt;p&gt;The run was writing specification documents for a large Java codebase. By the end the run had read 63 files and committed 11. Then Merlin forced the run to produce a final answer. My authorizer, a second model whose job is to check the first, read the answer against the run's record and approved the answer as a full success.&lt;/p&gt;

&lt;p&gt;A rule overruled both models. The decision, from the journal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;route              REJECT_UNSUPPORTED_CLAIMS
source             deterministic_guard_guard_3c
reason             full-success final is forbidden while task_summary
                   has pending or in-progress tasks
task_total         25
task_completed     24
task_in_progress   1
committed_writes   11
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One task was still in progress. Nothing else caused the rejection. The count of 24 was generous too: one of those tasks, task 7, had been closed the evening before by the stall guard after the model kept trying to finish the task with file references the record did not support. The record lists task 7 as a blocking outcome, not as work done.&lt;/p&gt;

&lt;p&gt;As we spent time in Nairobi, Kenya, at the Giraffe Center, the run completed and the final answer came in. I had been expecting the answer because it was the conclusion of 15 hours of work as we travelled from Spain to Nairobi, our first stop on our safari trip. I had focused on correctness and cleaning up the analysis phase, and then the answer came in. I was a little shocked that even if analysis was correct, the authoring agents could still get a refusal because one of the models tried to fake completion.&lt;/p&gt;

&lt;p&gt;The rule is guard_3c. The guard runs after the authorizer, and only when the authorizer approves a full-success answer. The guard asks one question: are any tasks pending or in progress? If yes, the success answer is rejected. The guard never reads the prose. A well-written claim and a badly written claim get the same count. The guard cannot be charmed, which is more than I say for the authorizer, or for me.&lt;/p&gt;

&lt;p&gt;I wrote the guard on 25 July, after another run. Session e18487e4 had 21 tasks still pending, zero operations executed and zero files written, and nothing in the authorization path stopped a model from turning the record into a clean final answer. A run in which nothing had happened was one model decision away from being reported as done. Seven days later the same guard fired on a run where the gap was one task instead of twenty-one. The size of the gap is not an input to the rule.&lt;/p&gt;

&lt;p&gt;The objection is obvious: this makes Merlin look less finished than the work was. Correct, and I chose the trade. The 11 files were real, verified and committed, and the user got the list, because a rejected answer still carries the manifest of what changed. The user did not get a sentence saying the job was done, because the job was not done. The model is still free to say so honestly: an answer reporting 24 of 25 as incomplete passes the same guard.&lt;/p&gt;

&lt;p&gt;The test I apply to any check on a final answer: hand the check a run with one task open and a beautifully written success claim. If the claim gets through, the check is reading prose, not the record.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Twenty-one findings withheld by one word</title>
      <dc:creator>RLM Labs</dc:creator>
      <pubDate>Sun, 15 Nov 2026 21:20:42 +0000</pubDate>
      <link>https://dev.to/rlmlabs_founder/twenty-one-findings-withheld-by-one-word-28j</link>
      <guid>https://dev.to/rlmlabs_founder/twenty-one-findings-withheld-by-one-word-28j</guid>
      <description>&lt;p&gt;On 13 July 2026 a run found 21 problems, validated all 21, and delivered none. One word in the wrong field threw them away.&lt;/p&gt;

&lt;p&gt;Before Merlin reports findings, a model audits them. The audit answers two questions with two vocabularies. A verdict on the whole report: pass, fail or inconclusive. And a disposition for each claim: keep, drop or downgrade.&lt;/p&gt;

&lt;p&gt;In session d28968b0 the auditor wrote "keep" in the verdict field. "Keep" is a real word in the audit's language, from the claim vocabulary, not the verdict vocabulary. My parser did not recognise "keep" as a verdict and treated the audit as failed, and a failed audit withholds the findings. All 21 validated findings stayed with me. Twenty-one findings held hostage by a vocabulary.&lt;/p&gt;

&lt;p&gt;Nobody invented anything. Every finding had passed validation. A model answered the right question with a word from the next question over, and my code had no way to tell "wrong vocabulary" from "audit failed". A clerk who writes the right answer on the wrong line is not lying, and the form I had designed treated the clerk as a liar.&lt;/p&gt;

&lt;p&gt;The fix the same day: a misplaced "keep" is repaired by one explicit rule, and the rule fails closed. The repair reads the audit's own structured signals. Pass only when every available signal is non-negative. Fail when any signal shows an overclaim, a suppression, missing evidence, or a dropped or downgraded claim. Inconclusive when the signals are inconclusive and nothing failed. Any other unknown word still fails parsing. I repair what I understand and refuse what I do not.&lt;/p&gt;

&lt;p&gt;The test: for every field a model fills, list the vocabulary which belongs there, then check what your parser does with a valid word from the wrong list. If the parser treats a valid word exactly like garbage, you are throwing away correct work the way I did.&lt;/p&gt;

&lt;p&gt;Source: Spec 004, AC-004-003A-02, written 13 July 2026. The run's logs have aged out of my log store.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Correctness is not a feature</title>
      <dc:creator>RLM Labs</dc:creator>
      <pubDate>Thu, 29 Oct 2026 11:25:00 +0000</pubDate>
      <link>https://dev.to/rlmlabs_founder/correctness-is-not-a-feature-le2</link>
      <guid>https://dev.to/rlmlabs_founder/correctness-is-not-a-feature-le2</guid>
      <description>&lt;p&gt;You cannot add correctness to a system after the system is built. You either build the system so a claim needs evidence before the claim exists, or you measure, after the fact, how often the claims were wrong. Most of the record below did the second and called the result progress.&lt;/p&gt;

&lt;p&gt;Look at the record in order.&lt;/p&gt;

&lt;p&gt;November 2025. Anthropic publishes a guide to harnesses for long-running coding agents. The failures the authors describe include an agent seeing partial progress and declaring the job done, and an agent marking a feature complete without proper testing. The fix: ask the model to self-verify.&lt;/p&gt;

&lt;p&gt;February 2026. OpenAI describes building a product with zero hand-written code. Human review of pull requests is optional. Merge gates are kept to a minimum.&lt;/p&gt;

&lt;p&gt;April 2026. A UC Berkeley team audits 13 agent benchmarks, rates every one critical risk and scores perfectly on some without solving a single task.&lt;/p&gt;

&lt;p&gt;July 2026. HANDBOOK.md tests models on following a company handbook. The best configuration passes 36.2 percent of trials, and failed runs end with a confident claim of compliance.&lt;/p&gt;

&lt;p&gt;September 2026. Google Cloud AI Research publishes RRSI and warns automated harness improvement overfits:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"such recursive evolution may overfit by memorizing the training tasks"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;October 2026. The same group publishes Harness², a method for improving agents on tasks with no ground truth, and writes in the limitations:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"They do not guarantee correctness or establish that an adopted change will transfer to a different task."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Read the sequence as one argument. Every step makes agents more capable or more autonomous. Every step leaves the same question open: is the answer right. Each paper and post states the question honestly, then hands the question to a judge, a benchmark or the user.&lt;/p&gt;

&lt;p&gt;Now the same months, from our side, out of the git history.&lt;/p&gt;

&lt;p&gt;18 January 2026, first commit. The design document's first non-goal: never modify or retrain the model. All improvement comes from the structure around the model.&lt;/p&gt;

&lt;p&gt;1 March 2026, a design for learning from our own runs. The rationale says, in plain words:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Fully autonomous self-modification is unsafe and hard to trust."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;28 March 2026, the first evidence and completion gate. A task closes only with evidence on record.&lt;/p&gt;

&lt;p&gt;29 May 2026, the final authorization gate. A model gets a vote on the final answer, and rules counting the record get the last word.&lt;/p&gt;

&lt;p&gt;1 July 2026, the specifications. Every rule written down, most of them carrying the production session behind the rule.&lt;/p&gt;

&lt;p&gt;25 July 2026, the change gate. A code change ships only with the specification updated in the same commit.&lt;/p&gt;

&lt;p&gt;None of those is a feature you switch on. Each one removes a way for the system to claim something unsupported.&lt;/p&gt;

&lt;p&gt;I owe you the other half, because this series names our own failures too. The March learning design included an evaluator for proposed improvements. Reading the code this month, I found the evaluator never ran the proposed change. The evaluator scored the health of the last 24 hours of ordinary runs and approved or rejected on the result. A pass meant the baseline was healthy. A pass said nothing about the change. Google's Harness² does the part we skipped: run the change, compare against the original, then decide. We are fixing our evaluator, and the fix gets a post when the record exists.&lt;/p&gt;

&lt;p&gt;The point stands, and the failure proves the point. Our evaluator was a bolted-on measurement, and a bolted-on measurement looked fine for seven months while measuring the wrong thing. The gates on the final answer were built in, and the gates caught the failures Act II describes.&lt;/p&gt;

&lt;p&gt;Act II starts with those failures. Ours first.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>agents</category>
      <category>softwareengineering</category>
    </item>
  </channel>
</rss>
