<?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: Louis Wu</title>
    <description>The latest articles on DEV Community by Louis Wu (@louisen0o0).</description>
    <link>https://dev.to/louisen0o0</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%2F4130209%2F852502ff-4e89-4b1d-b0b7-831eaba9840f.png</url>
      <title>DEV Community: Louis Wu</title>
      <link>https://dev.to/louisen0o0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/louisen0o0"/>
    <language>en</language>
    <item>
      <title>Project memory is not chat history: a tiny handoff layer for AI agents</title>
      <dc:creator>Louis Wu</dc:creator>
      <pubDate>Thu, 17 Sep 2026 16:05:02 +0000</pubDate>
      <link>https://dev.to/louisen0o0/project-memory-is-not-chat-history-a-tiny-handoff-layer-for-ai-agents-2n03</link>
      <guid>https://dev.to/louisen0o0/project-memory-is-not-chat-history-a-tiny-handoff-layer-for-ai-agents-2n03</guid>
      <description>&lt;p&gt;I kept running into the same failure mode when switching between AI workers, browser sessions, or machines: the files were still there, but the exact &lt;strong&gt;working point&lt;/strong&gt; was gone.&lt;/p&gt;

&lt;p&gt;Conversation memory can tell a model what was said. RAG can retrieve relevant documents. Neither one is a durable answer to four operational questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What is true &lt;strong&gt;now&lt;/strong&gt;?&lt;/li&gt;
&lt;li&gt;Why is that state trusted?&lt;/li&gt;
&lt;li&gt;What is already complete and should not be repeated?&lt;/li&gt;
&lt;li&gt;What should happen next?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I built &lt;strong&gt;Resume the Scene&lt;/strong&gt; as a very small, model-agnostic project-memory layer for that gap.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/louisen0o0/resume-the-scene" rel="noopener noreferrer"&gt;https://github.com/louisen0o0/resume-the-scene&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;The project keeps the handoff in files that live with the repository. A task state can look like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@task{id:#t42|goal:#g1|state:active|done:[#e69]|next:#a7}
@msg{op:resume|task:#t42|load:[#current,#e81]|skip:[#e69]|next:#a7}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important part is not the syntax. The important part is that another worker can deterministically recover &lt;strong&gt;what to load, what to skip, and what to do next&lt;/strong&gt; without replaying the prior chat.&lt;/p&gt;

&lt;h2&gt;
  
  
  What v0.1 does
&lt;/h2&gt;

&lt;p&gt;Resume the Scene is intentionally thin:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;selects the project files that form the active memory set;&lt;/li&gt;
&lt;li&gt;gives project documents explicit semantic roles;&lt;/li&gt;
&lt;li&gt;validates deterministic &lt;code&gt;.rsm&lt;/code&gt; frames;&lt;/li&gt;
&lt;li&gt;produces checkpoint fingerprints;&lt;/li&gt;
&lt;li&gt;emits a compact resume message for the next worker;&lt;/li&gt;
&lt;li&gt;keeps project files as the source of truth instead of building a second knowledge base.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is no vector database requirement, no model-specific identity in the core protocol, and no requirement to archive prompts or responses.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small cross-agent fixture
&lt;/h2&gt;

&lt;p&gt;The repository now includes a handoff example where one worker has already completed evidence &lt;code&gt;#e2&lt;/code&gt;, and the next worker resumes from the same task state:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;resume-scene checkpoint examples/handoff
resume-scene resume examples/handoff
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The resume result tells the next worker to skip completed evidence and continue with the next action. That fixture is executed in CI on Python 3.11, 3.12, and 3.13.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I am sharing it this early
&lt;/h2&gt;

&lt;p&gt;The implementation is small enough to change. The state model is the part I want challenged before it grows.&lt;/p&gt;

&lt;p&gt;If you regularly hand work between coding agents or long-lived AI sessions, I would especially like feedback on this question:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;What state would you need to trust before allowing a different agent to continue a real project without replaying the previous conversation?&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The project is MIT licensed and the roadmap is public in GitHub Issues.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>showdev</category>
      <category>opensource</category>
      <category>python</category>
    </item>
  </channel>
</rss>
