<?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>Forem: Aming</title>
    <description>The latest articles on Forem by Aming (@amingin_ai).</description>
    <link>https://forem.com/amingin_ai</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%2F3935251%2Fe38632bc-051d-45df-8c07-d7232255591c.jpg</url>
      <title>Forem: Aming</title>
      <link>https://forem.com/amingin_ai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/amingin_ai"/>
    <language>en</language>
    <item>
      <title>AI proposed 5 components for my parallel system. After walking one scenario, only 3 were real.</title>
      <dc:creator>Aming</dc:creator>
      <pubDate>Mon, 18 May 2026 04:18:53 +0000</pubDate>
      <link>https://forem.com/amingin_ai/ai-proposed-5-components-for-my-parallel-system-after-walking-one-scenario-only-3-were-real-12nd</link>
      <guid>https://forem.com/amingin_ai/ai-proposed-5-components-for-my-parallel-system-after-walking-one-scenario-only-3-were-real-12nd</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — AI loves to design "enterprise-grade" systems for you: message queue, distributed lock, state machine service, scheduler, monitoring bus. Half of them aren't real. The cheapest filter I know: before letting AI design anything, walk one concrete scenario through the system. Whatever shows up in the scenario is real. Whatever doesn't — delete. This week it took me from a 5-component design down to 3 — and surfaced one critical component AI had missed entirely.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What I was building
&lt;/h2&gt;

&lt;p&gt;This week I was extending &lt;a href="https://github.com/amingclawdev/aming-claw" rel="noopener noreferrer"&gt;aming-claw&lt;/a&gt; (an open-source AI code governance tool I'm building) to support &lt;strong&gt;parallel multi-agent development&lt;/strong&gt;: multiple AI agents working on the same project simultaneously, each on its own branch, all of it merging back into trunk.&lt;/p&gt;

&lt;p&gt;I asked AI to help me design it.&lt;/p&gt;

&lt;p&gt;It came back fast. Confident. Five components:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- Message queue        (so tasks can line up)
- Distributed lock     (so agents don't step on each other)
- State machine service (so we track progress)
- Task scheduler       (so we know what runs when)
- Monitoring bus       (so we see what's happening)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each component had a paragraph of justification. The diagram looked impressive. The names sounded right.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I almost just said "ok, build it."&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Why I didn't
&lt;/h2&gt;

&lt;p&gt;A thing I've learned working with AI on architecture: AI doesn't filter for &lt;em&gt;necessity&lt;/em&gt;. It filters for &lt;em&gt;plausibility&lt;/em&gt;. The components it lists are real things real systems have — they're just not necessarily things &lt;strong&gt;your&lt;/strong&gt; system needs.&lt;/p&gt;

&lt;p&gt;So instead of letting it design the system, I did one thing:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;I walked a concrete scenario through the system before agreeing to anything.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Here's an honest framing: &lt;strong&gt;nobody&lt;/strong&gt; can look at a 5-component design and immediately tell you which 2 are load-bearing. AI can't. Most engineers reading this can't, not on inspection.&lt;/p&gt;

&lt;p&gt;The good news:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;You don't need to know what to design. You just need to walk one scenario.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The scenario does the filtering for you.&lt;/p&gt;




&lt;h2&gt;
  
  
  Scenario 1: five tasks with dependencies
&lt;/h2&gt;

&lt;p&gt;I started with the most boring scenario I could think of:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Five AI agents working in parallel. Each one on its own branch. The tasks have a dependency chain: &lt;code&gt;1 → 2 → 3 → 4 → 5&lt;/code&gt;. Task 2 needs what task 1 built. Task 5 needs everything before it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I walked through what the system has to do:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Five tasks running in parallel — they need to &lt;strong&gt;queue&lt;/strong&gt; for merging. OK, "message queue" was real.&lt;/li&gt;
&lt;li&gt;BUT — they have to merge &lt;strong&gt;in dependency order&lt;/strong&gt;. Not first-come-first-served. So a plain FIFO message queue isn't enough. &lt;strong&gt;It has to be an ordered queue.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Already, one component refined. "Message queue" → "ordered merge queue."&lt;/p&gt;

&lt;p&gt;Nothing has been deleted yet. Keep going.&lt;/p&gt;




&lt;h2&gt;
  
  
  Scenario 2: the machine reboots mid-batch
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Now the machine reboots. When it comes back up: task 1 already merged. Task 2 tried to merge and failed. Task 3 hadn't started yet. Task 4 was waiting in queue. Task 5 was halfway through executing when the power cut.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I walked it again:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For the system to even know what state each task is in after a reboot, &lt;strong&gt;task state has to be on disk, not just in memory&lt;/strong&gt;. Not a "state machine service" with its own server — just durable per-task state. (&lt;code&gt;task_id → status → checkpoint&lt;/code&gt;.) That's a column in a database, not a service.&lt;/li&gt;
&lt;li&gt;Task 2 failed, but tasks 3-5 are downstream of it. The system has to &lt;strong&gt;recognize "upstream failed, downstream blocked"&lt;/strong&gt; automatically. That's not a separate component — it's a query against the durable state.&lt;/li&gt;
&lt;li&gt;Task 5 was mid-execution when the power cut. When the machine restarts, what stops a second copy from picking it up and racing the half-finished one? Each execution attempt needs a &lt;strong&gt;unique token&lt;/strong&gt; — whoever has the newest token is the live runner, everyone else gets fenced off.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now two more things have surfaced:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Durable per-task state (which AI called "state machine service" — but it's not a service, it's a table)&lt;/li&gt;
&lt;li&gt;Fence tokens to prevent zombie reruns&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And here's the first thing that got &lt;strong&gt;deleted&lt;/strong&gt;: &lt;strong&gt;distributed lock&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A distributed lock is "this resource is held by exactly one agent right now." Fence tokens solve the same problem in a much weaker, much cheaper way: "the latest token wins, all stale tokens are ignored." For agent merge work, that's sufficient. Distributed locks would be massive overkill for the actual scenario.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1 component deleted, 0 lines of code written.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Scenario 3: the ordering itself was wrong
&lt;/h2&gt;

&lt;p&gt;This one wasn't in my original head-list. It only surfaced when I kept walking:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Five tasks ran. Three merged. Then it turns out the &lt;strong&gt;dependency order I gave the system was wrong&lt;/strong&gt; — it should have been &lt;code&gt;1 → 3 → 2 → 4 → 5&lt;/code&gt;, not &lt;code&gt;1 → 2 → 3 → 4 → 5&lt;/code&gt;. The three already-merged tasks need to be &lt;strong&gt;rolled back as a batch and replayed in the correct order.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is a scenario most systems never plan for. Per-task rollback is common — undo one merge. &lt;strong&gt;Batch rollback with replay&lt;/strong&gt; is rarer.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Plain per-task &lt;code&gt;revert&lt;/code&gt; doesn't work — you can't revert task 2 while leaving task 3 (which depends on task 2's wrong order) intact.&lt;/li&gt;
&lt;li&gt;The whole batch has to roll back atomically.&lt;/li&gt;
&lt;li&gt;Then the system has to &lt;strong&gt;replay them in the new order&lt;/strong&gt;, with all the graph artifacts (snapshots, indices, semantic projection, test results) re-derived per merge.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is the component &lt;strong&gt;AI had not mentioned at all&lt;/strong&gt;. It only surfaced because I walked a scenario nobody told me to walk.&lt;/p&gt;

&lt;p&gt;Call it &lt;code&gt;BatchMergeRuntime&lt;/code&gt;. It's the rarest kind of architectural decision: not "should we have it" but &lt;strong&gt;"do we even know we need it?"&lt;/strong&gt; — and the answer, for most teams, is &lt;em&gt;not until production&lt;/em&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the architecture actually became
&lt;/h2&gt;

&lt;p&gt;After walking three scenarios:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Scenario&lt;/th&gt;
&lt;th&gt;What it surfaced&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;5 tasks with dependencies&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Ordered merge queue&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Machine reboots mid-batch&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Durable task state + fence tokens&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dependency order was wrong&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Batch rollback + replay runtime&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;All of the above untested&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Test scenario matrix as P0.0 (highest priority)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Three real components. The fourth — the &lt;strong&gt;test scenario matrix itself&lt;/strong&gt; — is a meta-component: the dry-run scenarios I just walked became the &lt;strong&gt;first acceptance bar&lt;/strong&gt; for every subsequent PR. Anything that ships has to survive these scenarios before merge.&lt;/p&gt;




&lt;h2&gt;
  
  
  AI's first design vs what scenarios required
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;AI's first list&lt;/th&gt;
&lt;th&gt;Reality after scenario walk&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Message queue&lt;/td&gt;
&lt;td&gt;✅ Needed — but &lt;strong&gt;ordered&lt;/strong&gt;, not FIFO&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Distributed lock&lt;/td&gt;
&lt;td&gt;❌ Deleted — fence tokens are sufficient&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;State machine service&lt;/td&gt;
&lt;td&gt;✅ Needed — but as a &lt;strong&gt;table&lt;/strong&gt;, not a service&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Task scheduler&lt;/td&gt;
&lt;td&gt;❌ Deleted — the ordered queue &lt;em&gt;is&lt;/em&gt; the scheduler&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Monitoring bus&lt;/td&gt;
&lt;td&gt;❌ Deleted — each component emits its own events&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;(AI did not propose)&lt;/td&gt;
&lt;td&gt;✅ &lt;strong&gt;Batch rollback runtime&lt;/strong&gt; — surfaced only by scenario 3&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Net: 5 → 3 components, plus the one critical piece AI had missed entirely.&lt;/p&gt;

&lt;p&gt;The win is not "I deleted 2 components." The win is &lt;strong&gt;I now know why each remaining component exists&lt;/strong&gt;, which means I can explain it, scope it, and reject scope creep on it. That's the difference between a system you &lt;em&gt;built&lt;/em&gt; and a system you &lt;em&gt;understand&lt;/em&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  The method, in 3 steps
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;❌ Don't:   "Hey AI, design me a system that does X."
           → AI returns a plausible-looking inventory of components.
           → Half of them aren't real for your specific case.

✅ Do:      Step 1.  Write one concrete scenario yourself.
                    (Or: have AI write the scenario, you evaluate it.
                     Real numbers, real steps, with crashes,
                     failures, and orderings going wrong.)

           Step 2.  Walk the scenario through your design.
                    At each step, ask: "What does the system need here?"

           Step 3.  Aggregate "what's needed."
                    That's your minimal architecture.
                    Anything not in that list — delete.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. Three steps. No architecture-pattern library required. The scenario does the work for you.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why this works (and why it's hard to skip)
&lt;/h2&gt;

&lt;p&gt;Three reasons:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. AI optimizes for plausibility, not necessity.&lt;/strong&gt; It lists components that &lt;em&gt;sound right for this kind of system&lt;/em&gt;, drawing from its training data. It can't know which components are necessary for &lt;em&gt;your&lt;/em&gt; specific scenario, because it doesn't see your scenario unless you walk it through.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Scenarios surface the negative space.&lt;/strong&gt; A happy-path design is the union of every component someone &lt;em&gt;might&lt;/em&gt; need. A scenario walk is the intersection of components someone &lt;em&gt;definitely&lt;/em&gt; needs &lt;em&gt;for that scenario&lt;/em&gt;. The intersection is always smaller — and more honest.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Scenarios surface what AI missed.&lt;/strong&gt; The batch-rollback runtime wasn't on AI's list. It surfaced because scenario 3 was a state AI's training data didn't lean on. Whatever your system's weird state is — only your scenarios will find it.&lt;/p&gt;

&lt;p&gt;The reason this method is hard to skip is that the &lt;strong&gt;pressure to just accept AI's design is enormous&lt;/strong&gt;. The design looks complete. It uses real words. You feel productive saying "yes, build it." Walking a scenario feels like &lt;em&gt;slowing down&lt;/em&gt;. It is. That's the whole point.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's next in this series
&lt;/h2&gt;

&lt;p&gt;This is &lt;strong&gt;part 2&lt;/strong&gt; of the AI Collaboration Survival Guide. The previous post was about &lt;a href="https://dev.to/amingin_ai/i-told-my-ai-to-build-a-feature-did-it-i-had-no-idea-1f1"&gt;making AI's claims about completed work auditable via a backlog database&lt;/a&gt;. The next ones, lining up:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Pain&lt;/th&gt;
&lt;th&gt;Coming up&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;AI edits one function, breaks 10 callers&lt;/td&gt;
&lt;td&gt;Code graph + impact analysis&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI modifies code it shouldn't touch&lt;/td&gt;
&lt;td&gt;Governance hints as the only authoring surface&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What did AI even change this week?&lt;/td&gt;
&lt;td&gt;Event ledger&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Every session starts from zero&lt;/td&gt;
&lt;td&gt;Project memory layer&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;One pain per article. All built around the same open-source project, &lt;a href="https://github.com/amingclawdev/aming-claw" rel="noopener noreferrer"&gt;aming-claw&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  About aming-claw
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/amingclawdev/aming-claw" rel="noopener noreferrer"&gt;amingclawdev/aming-claw&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What it is:&lt;/strong&gt; A shared workspace where you and your AI agent see the same dashboard. Backlog database, code graph, event ledger, governance hints — all queryable by AI through MCP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Why I'm writing this series:&lt;/strong&gt; I keep running into the same kind of AI-collaboration pain. Each post fixes one of them. The fixes generalize beyond aming-claw — the scenario-walk method in this post is a 5-minute habit you can adopt in any project.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the parallel-agent scenario sounded familiar, &lt;strong&gt;drop a comment with the architecture decision AI most recently tried to oversell you on&lt;/strong&gt; — I'll work through it the same way in the comments. Free architectural review, basically. The repo also takes stars and they're free for you to give. 🌟&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Part 2 of "AI Collaboration Survival Guide" — practical patterns for the messy reality of shipping with AI agents.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>vibecoding</category>
      <category>devtool</category>
    </item>
    <item>
      <title>I told my AI to build a feature. Did it? I had no idea.</title>
      <dc:creator>Aming</dc:creator>
      <pubDate>Sat, 16 May 2026 18:43:34 +0000</pubDate>
      <link>https://forem.com/amingin_ai/i-told-my-ai-to-build-a-feature-did-it-i-had-no-idea-1f1</link>
      <guid>https://forem.com/amingin_ai/i-told-my-ai-to-build-a-feature-did-it-i-had-no-idea-1f1</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — I tried to "manage" AI by having it write decisions, todos, and constraints into markdown docs. After 56 files, I realized AI doesn't maintain document state. So I built aming-claw — a backlog database AI can actually read and write through MCP.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  A bug I kept running into
&lt;/h2&gt;

&lt;p&gt;I thought I was doing AI collaboration the right way.&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.amazonaws.com%2Fuploads%2Farticles%2F9toneqw4cnyxjolse20j.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.amazonaws.com%2Fuploads%2Farticles%2F9toneqw4cnyxjolse20j.png" alt="Screenshot of docs/dev folder with 56 markdown files using proposal-, review-, and handoff- naming patterns" width="800" height="475"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is the &lt;code&gt;docs/dev/&lt;/code&gt; folder of my aming-claw project — 56 markdown files, all produced through AI collaboration:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;proposal-*&lt;/code&gt; — new feature specs&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;review-*&lt;/code&gt; — design review records&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;handoff-*&lt;/code&gt; — state passed between sessions&lt;/li&gt;
&lt;li&gt;Plus &lt;code&gt;plan-&lt;/code&gt;, &lt;code&gt;optimization-&lt;/code&gt;, &lt;code&gt;interface-&lt;/code&gt;, &lt;code&gt;manual-fix-&lt;/code&gt;...&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every file dated. Two months in, over a thousand pages of markdown. I figured the next AI session would read these. I figured I'd be able to search them too.&lt;/p&gt;

&lt;p&gt;But there's one problem I can't engineer my way out of:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI doesn't maintain document state.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;proposal-graph-state-reconcile-and-chain-governance-modes.md&lt;/code&gt; — did this proposal ship? Which commit? Is it still valid?&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;handoff-2026-05-10-dashboard-semantic-hash-queue.md&lt;/code&gt; — did the next session actually pick up where this left off?&lt;/li&gt;
&lt;li&gt;18 proposals on file. Which are done, which got rejected, which are still alive? Grep through git log line by line?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;I don't manually maintain the docs, so the docs rot.&lt;/strong&gt; AI doesn't maintain them either — its context window only sees a tiny slice of the workspace. The other 56 files are invisible.&lt;/p&gt;

&lt;p&gt;The more we talk, the more we write — and the further docs drift from code. Eventually you don't trust the docs, and you don't have time to read the code.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why this happens
&lt;/h2&gt;

&lt;p&gt;This isn't AI being lazy. It's a &lt;strong&gt;structural problem&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Markdown is dead text.&lt;/strong&gt; No state machine. "TODO" doesn't become "DONE" on its own. "Decision: use Redis" doesn't auto-expire when you flip back to in-memory three weeks later.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI context has a boundary.&lt;/strong&gt; Each session sees ~200 lines of working code. Old docs never enter the window. Not in the window → can't be maintained.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No traceable link between docs and code.&lt;/strong&gt; Which TODO maps to which function? Once it's done, which commit landed it? Humans can't remember. AI doesn't look it up.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;GitHub Issues, Notion, Linear — none of these help. AI can't see them, so they don't exist.&lt;/p&gt;

&lt;p&gt;The core mismatch is this: &lt;strong&gt;humans want global state. AI sees only local present.&lt;/strong&gt; Between them you need a living, traceable, AI-readable/writable state layer. Markdown isn't that layer.&lt;/p&gt;




&lt;h2&gt;
  
  
  How aming-claw solves it
&lt;/h2&gt;

&lt;p&gt;I gave aming-claw a &lt;strong&gt;dedicated backlog database&lt;/strong&gt; — a peer-level system to the code graph and event ledger, with its own schema, state machine, and query interface. Not stored in markdown. Not buried in code comments. Not dependent on an external issue tracker.&lt;/p&gt;

&lt;p&gt;Each backlog entry is a structured record (todo / decision / constraint) with status, priority, source session, and a code reference (function name or file path). AI reads and writes it through MCP.&lt;/p&gt;

&lt;p&gt;The flow:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. You speak → it goes to the database, not a dead doc
&lt;/h3&gt;

&lt;p&gt;In chat:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Add a retry-after to the rate limiter on UserService.login"&lt;/p&gt;

&lt;p&gt;Or: "Decision — use Redis instead of in-memory for caching"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;aming-claw's MCP server intercepts those statements and writes directly into the backlog:&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;target&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;    &lt;span class="s"&gt;UserService.login&lt;/span&gt;   &lt;span class="c1"&gt;# function or file path&lt;/span&gt;
&lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;      &lt;span class="s"&gt;todo | decision | constraint&lt;/span&gt;
&lt;span class="na"&gt;status&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;    &lt;span class="s"&gt;proposed&lt;/span&gt;
&lt;span class="na"&gt;priority&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;  &lt;span class="s"&gt;P1&lt;/span&gt;
&lt;span class="na"&gt;source&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;    &lt;span class="s"&gt;session-id-xyz&lt;/span&gt;
&lt;span class="na"&gt;timestamp&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;2026-05-16T10:23:45Z&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Markdown is dead text. The backlog database is live state — schema, indexed, state-machined, AI-accessible. That's the difference.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Dashboard shows it instantly
&lt;/h3&gt;

&lt;p&gt;Open the aming-claw dashboard — the left panel shows the new backlog entry. Click it — the right panel jumps to the function via the &lt;code&gt;vscode://&lt;/code&gt; protocol. Status chips are editable inline.&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.amazonaws.com%2Fuploads%2Farticles%2Fm1z428hnem7uh0tlsz5z.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.amazonaws.com%2Fuploads%2Farticles%2Fm1z428hnem7uh0tlsz5z.png" alt="aming-claw dashboard backlog view showing multiple entries with priority, status, code references, and update timestamps" width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The backlog view — every entry has priority, status, code reference, and update timestamp. AI and you query the same source of truth.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. State machine, automatic
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;proposed → in_progress → done(commit hash) → verified
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;in_progress&lt;/code&gt; — AI started working on it&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;done&lt;/code&gt; — commit landed, &lt;strong&gt;hash automatically bound&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;verified&lt;/code&gt; — you reviewed it&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every state change is appended to an event ledger: &lt;strong&gt;which day, which session proposed it, which commit implemented it, who verified it&lt;/strong&gt; — all queryable, all replayable.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. AI reads the backlog itself, next time
&lt;/h3&gt;

&lt;p&gt;Days later, in chat:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Did we ever fix that Codex plugin Windows install bug?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;AI queries the backlog through MCP and returns:&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;status&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;     &lt;span class="s"&gt;FIXED, P0&lt;/span&gt;
&lt;span class="na"&gt;commit&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;     &lt;span class="s"&gt;0ad8c7e&lt;/span&gt;
&lt;span class="na"&gt;fixed at&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;   &lt;span class="s"&gt;2 days ago&lt;/span&gt;
&lt;span class="na"&gt;file&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;       &lt;span class="s"&gt;agent/plugin_installer.py (line 455)&lt;/span&gt;
&lt;span class="na"&gt;change&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;     &lt;span class="s"&gt;replaced regex pattern with callable replacement&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No grepping git log. No asking a teammate. No "I think we did?"&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.amazonaws.com%2Fuploads%2Farticles%2Fwfyd6yvkpktfdsscq9qg.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.amazonaws.com%2Fuploads%2Farticles%2Fwfyd6yvkpktfdsscq9qg.png" alt="aming-claw dashboard backlog view showing multiple entries with priority, status, code references, and update timestamps" width="800" height="655"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The key thing to notice:&lt;/strong&gt; AI didn't "remember" this from conversation history. It queried the backlog database &lt;strong&gt;in real time&lt;/strong&gt; through MCP. Even if this bug was raised three months ago, in a session that's long gone — AI still gets the &lt;strong&gt;current status + full commit trace&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;That's the difference between dead markdown and a live state layer: &lt;strong&gt;the database is the memory, not the conversation.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  This is just the start
&lt;/h2&gt;

&lt;p&gt;Look back at the &lt;code&gt;docs/dev/&lt;/code&gt; screenshot — 56 markdown files, nobody knows which are alive.&lt;br&gt;
Look at the dashboard screenshot — every backlog entry has status, commit, location.&lt;/p&gt;

&lt;p&gt;The difference isn't the tool. &lt;strong&gt;It's whether information has state.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The backlog solves "did the AI build the feature I asked for?" — but AI collaboration has plenty of other holes I'm planning to fill in this series:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Pain&lt;/th&gt;
&lt;th&gt;Next article&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;AI edits one function, breaks 10 callers&lt;/td&gt;
&lt;td&gt;Code graph + impact analysis&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI modifies code it shouldn't touch&lt;/td&gt;
&lt;td&gt;Governance hints&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What did AI even change this week?&lt;/td&gt;
&lt;td&gt;Event ledger&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Every session starts from zero&lt;/td&gt;
&lt;td&gt;Project memory layer&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;One article per pain point.&lt;/p&gt;




&lt;h2&gt;
  
  
  About aming-claw
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/amingclawdev/aming-claw" rel="noopener noreferrer"&gt;amingclawdev/aming-claw&lt;/a&gt; — open source&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Next post:&lt;/strong&gt; "AI breaks 10 callers when it edits one function" — coming this week&lt;/li&gt;
&lt;li&gt;Hit me with issues if you've felt this pain&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If &lt;em&gt;"did the AI actually do that thing I asked?"&lt;/em&gt; sounds familiar, give the repo a star — it costs you nothing and tells me I'm not the only one.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This is part 1 of an "AI Collaboration Survival Guide" series — practical tools for the messy reality of building with AI agents.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>devtools</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
