<?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: Heruozai</title>
    <description>The latest articles on DEV Community by Heruozai (@wookat).</description>
    <link>https://dev.to/wookat</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%2F4242296%2F062af91b-624a-4407-aea9-28a0a5a1cebd.jpg</url>
      <title>DEV Community: Heruozai</title>
      <link>https://dev.to/wookat</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wookat"/>
    <language>en</language>
    <item>
      <title>I built a voice-anchored evidence recorder for AI coding agents</title>
      <dc:creator>Heruozai</dc:creator>
      <pubDate>Fri, 13 Nov 2026 06:27:16 +0000</pubDate>
      <link>https://dev.to/wookat/i-built-a-voice-anchored-evidence-recorder-for-ai-coding-agents-4jfp</link>
      <guid>https://dev.to/wookat/i-built-a-voice-anchored-evidence-recorder-for-ai-coding-agents-4jfp</guid>
      <description>&lt;p&gt;Your coding agent is blind to the most important thing: what you actually saw on screen.&lt;/p&gt;

&lt;p&gt;When a human tester says "the button does nothing", my agent can't see it. A screenshot freezes one frame and loses the &lt;em&gt;why&lt;/em&gt;. Writing a proper bug report takes 10 minutes — and by then I've context-switched away from what I was building.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;&lt;a href="https://github.com/wookat/witness" rel="noopener noreferrer"&gt;witness&lt;/a&gt;&lt;/strong&gt; — an open-source (MIT) CLI that records &lt;em&gt;you&lt;/em&gt; using your product, and hands your coding agent a causal evidence package it can fix from.&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;wit start https://localhost:3000&lt;/code&gt; opens a managed browser. You use the product and just talk — "here the submit button should show a spinner but it doesn't". Every utterance is welded to the clicks, network requests, console errors, DOM state and rrweb replay of that exact second.&lt;/p&gt;

&lt;p&gt;When you stop, witness writes a &lt;code&gt;.witness/sessions/&amp;lt;id&amp;gt;/&lt;/code&gt; evidence bundle: transcript anchored to events, timeline, screenshots, response bodies — and exposes the whole thing to your agent over 12 MCP tools (&lt;code&gt;witness_get_session&lt;/code&gt;, &lt;code&gt;witness_timeline&lt;/code&gt;, &lt;code&gt;witness_request_detail&lt;/code&gt;...). Claude Code / Cursor / Codex can then &lt;em&gt;investigate&lt;/em&gt; the recording instead of guessing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why not just a screen recording?
&lt;/h2&gt;

&lt;p&gt;Video has no semantics. A screen recording shows a click; witness records &lt;strong&gt;the click, the fetch it fired, the 500 it got back, the console.error, the DOM diff, and what you said about it&lt;/strong&gt; — indexed by timestamp so the agent can correlate "user said spinner missing at t=12s" with "POST /api/submit returned 200 in 41ms but emitted no &lt;code&gt;submit:start&lt;/code&gt; event at t=12s".&lt;/p&gt;

&lt;p&gt;That's the difference between "here's a video, figure it out" and "here is the causal chain, the evidence is in these files".&lt;/p&gt;

&lt;h2&gt;
  
  
  The dogfood moment
&lt;/h2&gt;

&lt;p&gt;We literally found and fixed a bug on witness's own marketing site using a witness recording of the site — the recording caught a request failing that never surfaced in the UI. That's when I knew the workflow worked.&lt;/p&gt;

&lt;h2&gt;
  
  
  Local-first, because it's evidence
&lt;/h2&gt;

&lt;p&gt;Everything lands in &lt;code&gt;.witness/&lt;/code&gt; on your disk. No account, no keys, nothing leaves your machine except the optional anonymous "someone ran &lt;code&gt;wit start&lt;/code&gt;" ping. Password fields are masked across four capture channels, credential fields are redacted from POST bodies, &lt;code&gt;WIT_NO_BODIES=1&lt;/code&gt; disables body capture entirely, &lt;code&gt;P&lt;/code&gt; freezes the recording instantly.&lt;/p&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;npm i -g witness-recorder
wit start https://your-app.dev
&lt;span class="c"&gt;# talk, click, break things&lt;/span&gt;
&lt;span class="c"&gt;# then point your agent at .witness/sessions/latest&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or as an MCP server: &lt;code&gt;wit mcp&lt;/code&gt; registers 12 tools straight into your client.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/wookat/witness" rel="noopener noreferrer"&gt;https://github.com/wookat/witness&lt;/a&gt; — MIT, TypeScript, works on Windows/macOS/Linux. Issues and PRs welcome; I'm especially curious what other channels of evidence people want captured.&lt;/p&gt;

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