<?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: Vitali Tsikhanovich</title>
    <description>The latest articles on DEV Community by Vitali Tsikhanovich (@ciszkin).</description>
    <link>https://dev.to/ciszkin</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%2F4264079%2Fd29be037-83f5-4ee1-85d7-ff0a16bf766f.jpg</url>
      <title>DEV Community: Vitali Tsikhanovich</title>
      <link>https://dev.to/ciszkin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ciszkin"/>
    <language>en</language>
    <item>
      <title>Three AI Agents, One Android Phone, and a Clock</title>
      <dc:creator>Vitali Tsikhanovich</dc:creator>
      <pubDate>Wed, 25 Nov 2026 10:36:33 +0000</pubDate>
      <link>https://dev.to/ciszkin/three-ai-agents-one-android-phone-and-a-clock-3ih8</link>
      <guid>https://dev.to/ciszkin/three-ai-agents-one-android-phone-and-a-clock-3ih8</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Three coding agents sharing one Android phone is not an AI problem. It is a 1980s problem wearing a new hat. This is the devlog of the lease-based fix, including the parts that turned out to be harder than the interesting part.&lt;/p&gt;

&lt;p&gt;Originally published at &lt;a href="https://hackernoon.com/three-ai-agents-one-android-phone-and-a-clock" rel="noopener noreferrer"&gt;https://hackernoon.com/three-ai-agents-one-android-phone-and-a-clock&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Three coding agents were working in my repo at 3 a.m. Two were running instrumentation tests, one was taking screenshots. They all had &lt;code&gt;adb&lt;/code&gt; on their PATH, and they all picked the same device, because of course they did.&lt;/p&gt;

&lt;p&gt;The tests installed over each other. A screenshot captured a login screen from the wrong build. One agent force-stopped a process another was waiting on, then helpfully reported that the app had crashed.&lt;/p&gt;

&lt;p&gt;None of this is an AI problem. It is a 1980s problem wearing a new hat: &lt;strong&gt;a machine that is fine with one user and hostile to two&lt;/strong&gt;. A debug bridge, a serial port, a printer queue — anything with a single "current state" and no locking eventually meets a second caller.&lt;/p&gt;

&lt;p&gt;This is the devlog of the thing I built to fix it, and of everything that turned out to be harder than the interesting part. The code is at &lt;a href="https://github.com/ciszkin/corral" rel="noopener noreferrer"&gt;github.com/ciszkin/corral&lt;/a&gt;: a daemon, a CLI, a Gradle gate and a Compose Desktop console around one SQLite lease table, with &lt;code&gt;v0.1.8&lt;/code&gt; published.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem: a device with one current state
&lt;/h2&gt;

&lt;p&gt;An Android device is a singleton with no notion of ownership. &lt;code&gt;adb&lt;/code&gt; will happily install, uninstall, force-stop, screenshot or shell into whatever is attached, from whoever asked. There is no lock, no queue, and no identity — the only thing standing between two agents and one phone is luck.&lt;/p&gt;

&lt;p&gt;What made it worse in my case was that the agents were &lt;em&gt;not&lt;/em&gt; doing anything wrong. They were doing what I told them: run the tests, take a screenshot, iterate. The collision was structural. Add a second agent and you have a race that reproduces maybe one time in five, which is the worst rate possible: frequent enough to waste an afternoon, rare enough to look like a flaky test.&lt;/p&gt;

&lt;p&gt;So the question was not "how do I stop agents from being careless". It was "how do I give a singleton a queue, an owner and a deadline".&lt;/p&gt;

&lt;h2&gt;
  
  
  The bet that shaped everything
&lt;/h2&gt;

&lt;p&gt;The obvious fix is a lock file. It is also the wrong one, because a lock has no answer to the only question that matters:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The failure mode you must design for is not &lt;em&gt;two agents at once&lt;/em&gt;. It is &lt;em&gt;one agent, gone&lt;/em&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;An agent that hits a token limit, crashes, or is simply killed by its harness leaves a lock file behind and no one to release it. The lock is held by a process that no longer exists, and every other agent waits forever on a dead owner.&lt;/p&gt;

&lt;p&gt;So the primitive is a &lt;strong&gt;lease&lt;/strong&gt;: a claim with a deadline. Default 30 minutes, renewed by a heartbeat, floored at 10 seconds so the heartbeat can keep up, capped at a day. When the holder stops renewing, the lease sweeps back into the pool and the queue moves on. A dead agent cannot hold a device, because the clock releases it.&lt;/p&gt;

&lt;p&gt;Two details made that work in practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The queue is by selector, not by name.&lt;/strong&gt; Agents rarely care which device they get. &lt;code&gt;corral claim --model Pixel --os 14&lt;/code&gt; means "any that matches", and the FIFO is over &lt;em&gt;waiters&lt;/em&gt;, not devices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Waiting is capped.&lt;/strong&gt; A queue wait clamps at 600 seconds. An agent that would wait 40 minutes is better off failing fast and telling its human, because an agent that waits silently looks identical to an agent that is working.&lt;/li&gt;
&lt;/ul&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%2F603f9qob55z5f0aq3obo.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%2F603f9qob55z5f0aq3obo.png" alt="The lease lifecycle, and what happens to an agent that bypasses it" width="800" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Everything else in the product is downstream of that one choice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Every agent is the same user
&lt;/h2&gt;

&lt;p&gt;Every agent on my machine runs as &lt;code&gt;vitali&lt;/code&gt;. Without a better idea, the daemon cannot tell Claude from Codex from a human typing &lt;code&gt;adb&lt;/code&gt;, and my first design used &lt;code&gt;$USER&lt;/code&gt; — which meant two agents could both "prove" they held the same lease.&lt;/p&gt;

&lt;p&gt;The fix is an identity chain, resolved in this order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;CORRAL_OWNER&lt;/code&gt; if the harness sets it (agent tiers flow in this way);&lt;/li&gt;
&lt;li&gt;the &lt;strong&gt;process ancestry&lt;/strong&gt; — walk &lt;code&gt;/proc&lt;/code&gt; for &lt;code&gt;comm:pid:starttime&lt;/code&gt; of the first non-shell ancestor;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;user:$USER&lt;/code&gt; as the floor.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That chain is why "the holder" survives &lt;code&gt;bash -c&lt;/code&gt;, &lt;code&gt;make&lt;/code&gt;, and Gradle forking a worker. It is also why the same identity appears in three places — the CLI, the adb wrapper, and an MCP server — and why they must agree byte for byte. They still disagree on a host without &lt;code&gt;/proc&lt;/code&gt;, so the wrapper delegates to &lt;code&gt;corral owner&lt;/code&gt; there and the JVM does the same walk. One reader, two front doors.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cooperation is not a security property
&lt;/h2&gt;

&lt;p&gt;Here is the uncomfortable part. My agents are cooperative. They use the CLI. But nothing stops an agent from typing &lt;code&gt;adb -s emulator-5554 install app.apk&lt;/code&gt;, and on the day one does, a polite error message is worth nothing.&lt;/p&gt;

&lt;p&gt;So the daemon installs gates in the places calls actually come from:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;A PATH wrapper&lt;/strong&gt; named &lt;code&gt;adb&lt;/code&gt; — a two-line shim that asks the daemon before exec'ing the real binary.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An SDK shim&lt;/strong&gt; at &lt;code&gt;platform-tools/adb&lt;/code&gt;, daemon-healed if something overwrites it, because plenty of tooling calls adb by absolute path.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A Gradle &lt;code&gt;init.d&lt;/code&gt; gate&lt;/strong&gt;, because the Android Gradle Plugin talks ddmlib over sockets and never executes the &lt;code&gt;adb&lt;/code&gt; on your PATH at all.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That third one is the non-obvious layer, and it is the only one that can block an &lt;code&gt;installDebug&lt;/code&gt; started from an IDE.&lt;/p&gt;

&lt;p&gt;The honest count matters, so it is documented as what it is: &lt;strong&gt;a POSIX install has three layers; a Windows install has two&lt;/strong&gt;, because the SDK shim is not installed there. An absolute-path call into &lt;code&gt;platform-tools\adb.exe&lt;/code&gt; is outside the gate on Windows, and the docs say so.&lt;/p&gt;

&lt;p&gt;None of this is a security boundary. It is a guardrail for well-behaved machines with badly-behaved schedules. Saying that out loud, in the README and in &lt;code&gt;SECURITY.md&lt;/code&gt;, saved me from a whole class of bug report where a "bypass" was really a misunderstanding.&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%2Fodmc2sknypw6hy9joqaa.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%2Fodmc2sknypw6hy9joqaa.png" alt="Three gates, because an adb call can arrive three ways" width="800" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The installer could not recognise its own task
&lt;/h2&gt;

&lt;p&gt;This one still makes me smile. On Windows the daemon runs as a Scheduled Task, so install and uninstall have to answer a polite question: &lt;em&gt;is the task on this machine ours, someone else's, or absent?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Get it wrong in one direction and you hijack another user's task. Get it wrong in the other and you leave an orphan pointing at a launcher you just deleted. So the rule is conservative: read the task's XML, find &lt;code&gt;&amp;lt;Command&amp;gt;&lt;/code&gt;, and only claim the task if that command is our launcher under our install root.&lt;/p&gt;

&lt;p&gt;Then a reviewer pointed the installer at an install root called &lt;code&gt;Jürgen&lt;/code&gt;, on a stubbed Windows host.&lt;/p&gt;

&lt;p&gt;A non-ASCII path, one &lt;code&gt;schtasks&lt;/code&gt; call, and the installer reported "NOT started" and left the task behind. The cause: the XML comes back in one of &lt;strong&gt;four encodings&lt;/strong&gt; — UTF-16LE, UTF-16BE, UTF-8, or UTF-8 with a BOM — and the first fix I shipped was a hack: delete the NUL bytes and hope. That "works" for UTF-16 without touching the text, and silently corrupts anything else.&lt;/p&gt;

&lt;p&gt;The real fix was to stop guessing and decode:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="s2"&gt;"$bom"&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt;
  FF\ FE&lt;span class="o"&gt;)&lt;/span&gt; iconv -f UTF-16LE -t UTF-8 … &lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;   &lt;span class="c"&gt;# then drop the decoded BOM&lt;/span&gt;
  FE\ FF&lt;span class="o"&gt;)&lt;/span&gt; iconv -f UTF-16BE -t UTF-8 … &lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  EF\ BB\ BF&lt;span class="o"&gt;)&lt;/span&gt; strip that leading BOM only &lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  *&lt;span class="o"&gt;)&lt;/span&gt;      take it as UTF-8 &lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;esac&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two things I had to accept:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Extraction runs under &lt;code&gt;LC_ALL=C&lt;/code&gt;&lt;/strong&gt;, because the &lt;code&gt;&amp;lt;Command&amp;gt;&lt;/code&gt; text is a path, and locale-dependent byte handling is how you lose a &lt;code&gt;ü&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A task we cannot decode is not ours.&lt;/strong&gt; On a host without &lt;code&gt;iconv&lt;/code&gt;, a UTF-16 task is now unreadable even for an ASCII root, so install neither refreshes nor starts it. That is the safe direction, and it is written down. Git for Windows ships &lt;code&gt;iconv&lt;/code&gt;; a stripped-down MSYS2 that does not gets a refusal, not a wrong claim.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The tests grew eleven cases for this: two roots, four encodings, ASCII and non-ASCII foreign tasks, ours and a previous version's. All stubbed, because no CI runner offers a German Windows.&lt;/p&gt;

&lt;h2&gt;
  
  
  My documentation was lying
&lt;/h2&gt;

&lt;p&gt;Somewhere around the fortieth review I started auditing what the README &lt;em&gt;claimed&lt;/em&gt; against what the code did. Twenty-two claims were false.&lt;/p&gt;

&lt;p&gt;Not typos. Things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"the tray icon parks the window on close" — except on GNOME and Wayland, where the code deliberately does not park, because the tray there is a fiction.&lt;/li&gt;
&lt;li&gt;"three enforcement layers" — true on POSIX, false on Windows.&lt;/li&gt;
&lt;li&gt;"an unknown version is omitted, never faked" — the console actually shows &lt;code&gt;v0.0.0-dev&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;"&lt;code&gt;corral doctor&lt;/code&gt; reports the state of the gate" — it reports the rules file; it cannot see the Gradle init script at all.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The lesson is not "write better docs". It is that &lt;strong&gt;docs for an operator are a user interface&lt;/strong&gt;, and a wrong sentence costs exactly as much as a wrong line of code, except it never throws. The fix was to make the claims testable: a suite now greps the shipped docs for phrases that pin meaning, so a behaviour change cannot quietly leave a lie behind.&lt;/p&gt;

&lt;h2&gt;
  
  
  A setting that looked alive
&lt;/h2&gt;

&lt;p&gt;The console let you type the path to &lt;code&gt;scrcpy&lt;/code&gt;. It saved it to &lt;code&gt;ui.conf&lt;/code&gt;. It applied it to nothing — the launcher read only the process environment.&lt;/p&gt;

&lt;p&gt;That is worse than a missing feature, because the UI &lt;em&gt;answered&lt;/em&gt;. You set it, you clicked Save, it stayed saved, and the live view ignored it. The fix was small — resolve the saved value first, then the environment, then bare &lt;code&gt;scrcpy&lt;/code&gt; — but the shape of it matters: the value is read &lt;strong&gt;per launch&lt;/strong&gt;, not at construction, because the console keeps one launcher for its lifetime and the whole point is that a path saved now applies to the next live view.&lt;/p&gt;

&lt;p&gt;The documentation audit is what found it. Which is the argument for auditing documentation: to check a sentence, you have to read the code that would make it true.&lt;/p&gt;

&lt;h2&gt;
  
  
  The release path had never run
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;v0.1.0&lt;/code&gt; is the first tagged release. Everything before it reported &lt;code&gt;0.0.0-dev&lt;/code&gt;, which means the update path had &lt;strong&gt;never once executed against a real release&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It has two halves, and both are deliberately boring. The &lt;strong&gt;check&lt;/strong&gt; is one unauthenticated GET to &lt;code&gt;releases/latest&lt;/code&gt;, cached and off by a kill-switch; it changes nothing. The &lt;strong&gt;apply&lt;/strong&gt; is the deliberate half, and it runs in a fixed order: download the zip, download its published &lt;code&gt;.sha256&lt;/code&gt;, verify the two match, extract, run the bundle's own &lt;code&gt;install.sh&lt;/code&gt;, restart the service unit. Nothing is extracted before the digest matches, and a host that cannot restart the unit is refused up front rather than left half-updated.&lt;/p&gt;

&lt;p&gt;So I rehearsed it: a disposable container with systemd, a scratch GitHub repo, two releases, and one rule — no fake downloads, no injected fakes. Real &lt;code&gt;install.sh&lt;/code&gt;, real &lt;code&gt;curl&lt;/code&gt;, real &lt;code&gt;systemctl&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;It found two release blockers in the first hour.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Blocker one: the workflow could not build a release at all.&lt;/strong&gt; The step that resolves the version exported &lt;code&gt;CORRAL_VERSION&lt;/code&gt; and &lt;code&gt;TAG&lt;/code&gt;, but five later steps build &lt;code&gt;dist/corral-$VERSION.zip&lt;/code&gt; — and &lt;code&gt;VERSION&lt;/code&gt; was never exported. Under &lt;code&gt;set -u&lt;/code&gt; that is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;line 14: VERSION: unbound variable
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The very command the release notes tell an operator to run. It had never been run, so it had never failed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Blocker two: no apply could ever download anything.&lt;/strong&gt; GitHub answers a release-asset download with &lt;strong&gt;302&lt;/strong&gt; to a CDN. The JDK's &lt;code&gt;HttpClient&lt;/code&gt; does not follow redirects unless you ask. The &lt;em&gt;check&lt;/em&gt; worked fine, because the API answers &lt;code&gt;200&lt;/code&gt; directly — so the download was the only broken half, and every apply died at &lt;code&gt;HTTP 302&lt;/code&gt; before the checksum gate could even run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight kotlin"&gt;&lt;code&gt;&lt;span class="nc"&gt;HttpClient&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;newBuilder&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;connectTimeout&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;…&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;followRedirects&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;HttpClient&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Redirect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;NORMAL&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;// the whole bug, in one line&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;build&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The regression test serves a 302 from a loopback &lt;code&gt;HttpServer&lt;/code&gt; and asserts the body lands. It fails without the fix, which is the only reason I trust it.&lt;/p&gt;

&lt;p&gt;A third thing the rehearsal taught me, a design smell rather than a bug: &lt;code&gt;CORRAL_REPO&lt;/code&gt; is resolved &lt;strong&gt;per process&lt;/strong&gt;. The daemon runs the update &lt;em&gt;check&lt;/em&gt;; the CLI runs the &lt;strong&gt;apply&lt;/strong&gt;. Set the variable on the daemon only, and &lt;code&gt;corral update&lt;/code&gt; cheerfully offers a release that &lt;code&gt;corral update --apply&lt;/code&gt; then fails to fetch. Both processes need it, and the docs now say so.&lt;/p&gt;

&lt;p&gt;And a fourth, the nicest property of the whole design: an existing &lt;code&gt;0.0.0-dev&lt;/code&gt; install updated itself to the rehearsal release, in a container, with a restart, and came back healthy. That is the thing I could not have claimed before I watched it happen.&lt;/p&gt;

&lt;h2&gt;
  
  
  The loop that built it
&lt;/h2&gt;

&lt;p&gt;I did not write this alone, and I did not review it alone. The shape that worked:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One task per cycle&lt;/strong&gt;, from a roadmap table with a status column I alone write.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A separate agent implements&lt;/strong&gt;, in its own checkout, and reports what it did.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A different agent reviews&lt;/strong&gt; the diff against the plan — and it is allowed to say no.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A third agent verifies on a real Windows box&lt;/strong&gt; for anything the Linux suite cannot see.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is the whole machine. The load-bearing part is the reviewer: a &lt;strong&gt;different&lt;/strong&gt; agent on a &lt;strong&gt;different&lt;/strong&gt; model from the one that wrote the code, because an agent reviewing its own work is a very confident way to be wrong.&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%2F0th9106kydnoih83brh8.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%2F0th9106kydnoih83brh8.png" alt="The review loop: one task per cycle, with a gate that may say no" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fifty-two third-party review passes. Some found real bugs (the encoding, the redirect, an inert preference). Most found small ones. A few found nothing, which is also information: if every pass finds something, the thing finding them is too clever; if none does, it is not looking.&lt;/p&gt;

&lt;p&gt;The rules that kept it honest:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Never merge with a red gate.&lt;/strong&gt; A failing check is a fact, not an opinion.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One retry, then park it.&lt;/strong&gt; Two failures means the task is not ready to be a task.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Squash, and verify the content landed.&lt;/strong&gt; After a squash the branch's commits are rewritten, so &lt;code&gt;git log&lt;/code&gt; proving nothing is the only way to prove nothing was lost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never delete work that has not landed.&lt;/strong&gt; A dirty worktree is cheaper than a lost afternoon.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where it actually stands
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;v0.1.8&lt;/code&gt; is public, checksum-verified, and installs from a single zip on Linux and Windows. macOS has no installer yet. The update path is no longer theoretical — it has applied a real release to a real install, including one that started as &lt;code&gt;0.0.0-dev&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The gates are guardrails for cooperative agents, and I say so in the docs. Signing is still an open question: the published &lt;code&gt;.sha256&lt;/code&gt; proves the download was intact, not that the publisher was genuine, and that is a decision I have not made yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd tell my past self
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Decide who owns identity before you write the first lease.&lt;/strong&gt; Every later feature asks "is this yours?", and retrofitting identity is a rewrite.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Put your gates where calls actually originate&lt;/strong&gt;, not where your docs say they should.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Treat docs as executable claims.&lt;/strong&gt; Grep them in the suite, or they will rot into lies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A bounded lease beats a lock&lt;/strong&gt;, every time, for anything that can die.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rehearse the boring path.&lt;/strong&gt; The interesting code was reviewed 52 times; the boring path that had never run was broken in two places.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write the number you actually have.&lt;/strong&gt; "Three layers" was a lie on Windows; "two on Windows" is less impressive and worth more.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Linux or Windows (Git Bash). macOS has no installer yet.&lt;/span&gt;
curl -LO https://github.com/ciszkin/corral/releases/download/v0.1.8/corral-0.1.8.zip
curl -LO https://github.com/ciszkin/corral/releases/download/v0.1.8/corral-0.1.8.zip.sha256
sha256sum -c corral-0.1.8.zip.sha256          &lt;span class="c"&gt;# PowerShell: Get-FileHash&lt;/span&gt;
unzip corral-0.1.8.zip -d corral-0.1.8 &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd&lt;/span&gt; corral-0.1.8
./install.sh --ui
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;PATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"$HOME/bin:$PATH"&lt;/span&gt;                &lt;span class="c"&gt;# the installer writes corral to ~/bin&lt;/span&gt;

corral doctor                                  &lt;span class="c"&gt;# rules file, adb shim, emulators, daemon&lt;/span&gt;
corral devices                                 &lt;span class="c"&gt;# what the pool looks like&lt;/span&gt;
corral lease --model Pixel -- ./gradlew installDebug
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;JDK 17. Kotlin on the JVM, Ktor CIO, SQLite, and a Compose Desktop console. Four modules, five suites: module tests, an end-to-end, a wrapper integration suite, a demo suite and a 505-check installer sandbox. Apache-2.0.&lt;/p&gt;

&lt;p&gt;Install the agent skill in one command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx skills add ciszkin/corral#main -s corral -a claude-code -y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you run more than one coding agent against the same device pool, that is the problem I solved. And if you find a claim in the README that the code does not back up, that is a bug report I will take seriously — I have been on the wrong side of that one.&lt;/p&gt;

</description>
      <category>android</category>
      <category>kotlin</category>
      <category>testing</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
