<?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: Matt Overing</title>
    <description>The latest articles on DEV Community by Matt Overing (@moocember).</description>
    <link>https://dev.to/moocember</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3964819%2Ffa2806ca-c982-4b88-866b-3583220ddcda.PNG</url>
      <title>DEV Community: Matt Overing</title>
      <link>https://dev.to/moocember</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/moocember"/>
    <language>en</language>
    <item>
      <title>How I stopped babysitting Claude Code and Codex on hours long runs: planning, git checkpoints and a test gate outside the agent</title>
      <dc:creator>Matt Overing</dc:creator>
      <pubDate>Tue, 02 Jun 2026 14:20:50 +0000</pubDate>
      <link>https://dev.to/moocember/how-i-stopped-babysitting-claude-code-and-codex-on-hours-long-runs-planning-git-checkpoints-and-a-49be</link>
      <guid>https://dev.to/moocember/how-i-stopped-babysitting-claude-code-and-codex-on-hours-long-runs-planning-git-checkpoints-and-a-49be</guid>
      <description>&lt;p&gt;I run Claude Code and Codex on long, multi-step tasks on an isolated machine and I kept hitting the same handful of issues:&lt;/p&gt;

&lt;p&gt;The agent reports a task as done when the tests didn't actually pass and blames "prexisting bugs."&lt;/p&gt;

&lt;p&gt;Context fills up and compaction makes the agent forget why it did something three steps back, which wastes tokens and creates downstream bugs.&lt;/p&gt;

&lt;p&gt;One blocked task stalls the whole run.&lt;/p&gt;

&lt;p&gt;I just wanted to leave my agent running without giving up control. Here's what I did about each:&lt;/p&gt;

&lt;p&gt;Lying about tests: the build and test commands run outside the worker, so it can't claim success and skip the gate. On failure it reverts to a git checkpoint and retries with the failure context.&lt;/p&gt;

&lt;p&gt;Compaction amnesia: each task runs in a fresh worker, so nothing drags through a long compaction cycle. A worker can still inspect prior work when it needs to.&lt;/p&gt;

&lt;p&gt;Blocked tasks: the plan is a DAG, so one block doesn't stop everything. It keeps working on tasks that aren't downstream and asks me a focused question in Telegram.&lt;/p&gt;

&lt;p&gt;Staying in control: Claude Code drafts the plan, Codex reviews it, and I approve it before anything runs. There's a git checkpoint before each task, and the whole execution trail is on disk: plans, prompts, stdout/stderr, attempts, checkpoints, lessons.&lt;/p&gt;

&lt;p&gt;I packaged this into an open source tool, Here's the link to the repo: &lt;a href="https://github.com/smithersbot/smithersbot" rel="noopener noreferrer"&gt;https://github.com/smithersbot/smithersbot&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I'm curious how others here handle the "agent is a bad witness of its own work" problem. Putting the test gate outside the worker is the only thing that reliably worked for me. What are you doing for that?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>opensource</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
