<?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: Thomas Hamilton-Smith</title>
    <description>The latest articles on DEV Community by Thomas Hamilton-Smith (@thomashamiltonsmith).</description>
    <link>https://dev.to/thomashamiltonsmith</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%2F4230807%2F52dbceb6-7b11-41ca-9c73-50ad73c2db6e.jpg</url>
      <title>DEV Community: Thomas Hamilton-Smith</title>
      <link>https://dev.to/thomashamiltonsmith</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thomashamiltonsmith"/>
    <language>en</language>
    <item>
      <title>Every new Claude Code session starts from zero, so I moved the plan out of the chat</title>
      <dc:creator>Thomas Hamilton-Smith</dc:creator>
      <pubDate>Sun, 29 Nov 2026 14:11:46 +0000</pubDate>
      <link>https://dev.to/thomashamiltonsmith/every-new-claude-code-session-starts-from-zero-so-i-moved-the-plan-out-of-the-chat-3o4m</link>
      <guid>https://dev.to/thomashamiltonsmith/every-new-claude-code-session-starts-from-zero-so-i-moved-the-plan-out-of-the-chat-3o4m</guid>
      <description>&lt;p&gt;If you build with Claude Code or Codex most days, you probably know the feeling of opening a fresh session in the morning and having to explain the whole project again, what you were halfway through, what you decided yesterday and why, and what you actually want done next, all before it writes a single line.&lt;/p&gt;

&lt;p&gt;The annoying part for me was that the agent is really good at explaining itself in the moment. It makes a call on something, tells me exactly why it went that way and it all makes sense, but that explanation lives in the chat, and the chat is the first thing that's gone when the session ends.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix most people reach for
&lt;/h2&gt;

&lt;p&gt;The usual fix, and the one I did for a while too, is asking the agent to write a summary at the end of the session and pasting it back in the next morning, or keeping a progress file in the repo that it's meant to update as it goes.&lt;/p&gt;

&lt;p&gt;It sort of works. The problem is it only works on the days I remember to ask, the summary gets written from whatever the agent still has in its head at the end of a long session, and the next session only reads it if I paste it in or point it at the file. Once I had a few repos going I'd lose track of which summary was the latest, and none of them told the agent which task out of everything left actually mattered most.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a small test showed me
&lt;/h2&gt;

&lt;p&gt;A few weeks ago I wanted to know how much of this was just me, so I set up a little test project with 18 tasks and ran the same two sessions on a bunch of different setups (a markdown file in the repo, Linear, Notion, Trello, Claude Code's own task list and a couple of others). In the first session I asked what was next and let it make a real choice on the task, and then in a fresh second session I asked what we'd decided and why.&lt;/p&gt;

&lt;p&gt;Two things came out of it pretty clearly. The agent only looked at the plan when something told it where the plan was, so with just Linear or Notion connected it never opened them and wrote its own plan from the code instead. And even when it did find the plan, it hardly ever wrote down why it made a choice unless it was asked to, so the next session could tell me what changed but not the reason. One of the second sessions said straight up that it had no record of the discussion and wasn't going to guess at the reasoning, which I'll give it credit for, but it's not much help when you're the one who has to remember. The &lt;a href="https://getfrostbyte.dev/articles/coding-agent-plan-between-sessions?ref=devto" rel="noopener noreferrer"&gt;full write-up has every result&lt;/a&gt; if you want the details.&lt;/p&gt;

&lt;p&gt;So if you're doing this by hand, the two things that actually made the difference were telling the agent where the plan lives in the instructions it reads at the start of every session, and asking it in plain words to write the choice and the reason on the task itself whenever it decides something, not just say it in the chat. That got even a plain markdown file passing, and it costs nothing. The catch is you have to keep those instructions current in every repo, and the release you point it at goes out of date the moment you ship.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I do it now
&lt;/h2&gt;

&lt;p&gt;I've been building &lt;a href="https://getfrostbyte.dev/?ref=devto" rel="noopener noreferrer"&gt;Frostbyte&lt;/a&gt; for the last 12 months, mostly because my app ideas were living in my head and spread across a bunch of note apps, and I wanted one place to plan features ahead and keep what users ask for in the same spot. I connected Claude Code to it back in April and that's how I work every day now.&lt;/p&gt;

&lt;p&gt;When I open a session I just ask what's next. The agent reads the current release from Frostbyte and comes back with one task and a reason for picking it, and with that first read it also gets the handoff the last session left, with the date it was written, so I'm not pasting anything in or pointing it at a file. When it makes a call while it's working it logs the choice and the reason on the task, and when I finish for the day (or it stops with something half done) it writes a handoff that shows up on my dashboard, so I can see where it got to before the next session even starts.&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%2Fxx78huudpsjhdd6kvx67.jpg" 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%2Fxx78huudpsjhdd6kvx67.jpg" alt="The session handoff card on the Frostbyte dashboard, next to What's Next" width="800" height="507"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The last session's handoff sits on the dashboard, and the next session gets it back on its first read.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;What made it worth it over a markdown file for me is that it's one plan for everything. Claude Code and Codex read and write the same tasks, it keeps the last three handoffs so two sessions running side by side don't overwrite each other, and the bugs and requests people send in through my feedback portal land in the same backlog the agent ranks from. I also don't have instructions to keep up to date in each repo, because connecting the agent is what tells it where the plan is.&lt;/p&gt;

&lt;p&gt;It's definitely not perfect. In the first round of my own test, my server was quietly dropping the reason whenever the agent sent it as its own field, and still telling the agent it had saved it, which is pretty much the exact problem I was trying to fix. The agent sent it that way in 3 of the 8 Frostbyte runs, so it would have hit a lot of people. It's fixed now and the re-runs all passed, but it was a good reminder that the reason is the part that goes missing first, whatever you use.&lt;/p&gt;
&lt;h2&gt;
  
  
  If you want to try it
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://getfrostbyte.dev/?ref=devto" rel="noopener noreferrer"&gt;Frostbyte&lt;/a&gt; is free to start, and connecting your agent works on every plan. Once Claude Code, Codex or Cursor is connected it gives you one prompt that sets your project up from what's already in your repo, and if there's a plan in there it shows you the first release and waits for your yes before creating anything.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://getfrostbyte.dev/signup?ref=devto" class="crayons-btn crayons-btn--primary" rel="noopener noreferrer"&gt;Try Frostbyte free&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;If it's just you and one repo, the by-hand version above might honestly be all you need, and that's fine.&lt;/p&gt;

&lt;p&gt;I'm keen to hear how other people are handling this though. What do you do to carry the plan from one session to the next, or are you just re-explaining it every morning?&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm Thomas, a solo dev from Adelaide, Australia. Frostbyte is at &lt;a href="https://getfrostbyte.dev/?ref=devto" rel="noopener noreferrer"&gt;getfrostbyte.dev&lt;/a&gt;, and the plugin is open source on &lt;a href="https://github.com/Sky-Enterprises/frostbyte-plugin" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claudecode</category>
      <category>productivity</category>
      <category>devtools</category>
    </item>
    <item>
      <title>Claude Code made me faster at building the wrong things</title>
      <dc:creator>Thomas Hamilton-Smith</dc:creator>
      <pubDate>Fri, 13 Nov 2026 12:23:54 +0000</pubDate>
      <link>https://dev.to/thomashamiltonsmith/claude-code-made-me-faster-at-building-the-wrong-things-544g</link>
      <guid>https://dev.to/thomashamiltonsmith/claude-code-made-me-faster-at-building-the-wrong-things-544g</guid>
      <description>&lt;p&gt;I've been building apps for about six years, and I've always had the same problem. I'd start coding with no real plan and keep adding stuff until I got bored. Nothing ever felt finished, so nothing really shipped.&lt;/p&gt;

&lt;p&gt;When Claude Code came along I figured that would fix it. It made it worse.&lt;/p&gt;

&lt;p&gt;"Just one more feature" used to take a weekend. Now it takes twenty minutes, so I added a lot more of them. My apps got bigger, and none of them got any closer to done.&lt;/p&gt;

&lt;h2&gt;
  
  
  Speed was never the problem
&lt;/h2&gt;

&lt;p&gt;Code is cheap now. Your agent will build pretty much whatever you ask, and it'll do it fast. The hard part is picking what's actually worth building, and knowing when a release is done so you can stop and ship it.&lt;/p&gt;

&lt;p&gt;The agent can't help much with that on its own, because it doesn't know your plan. Ask it "what's next?" and it reads the repo and guesses.&lt;/p&gt;

&lt;p&gt;A couple of weeks ago I tested how bad this actually was. I gave Claude Code a small project with 18 tasks saved in its own Tasks list, opened a fresh session and asked what was next. It never looked at the list. It read the code and came up with its own plan. When I asked it straight out what was on its task list, it said:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I don't have a task list. This conversation is new, and nothing has been assigned or queued.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The other thing that got me was the reasons. When I let it make a call on something, it explained why pretty well, in the chat. Then I opened the next session, the chat was gone, and the why went with it.&lt;/p&gt;

&lt;p&gt;So every morning started the same way. Re-explain the project, re-explain what we decided yesterday, and hope it doesn't wander off on a side quest.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four rules that fixed it
&lt;/h2&gt;

&lt;p&gt;None of these are clever. I just didn't follow any of them for about five years.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Nothing gets built straight from your head.&lt;/strong&gt; Every idea and bug goes in a backlog first, including the ones your agent suggests halfway through a task. Writing it down is what stops "ooh, I could add..." from eating the afternoon.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. One release at a time, with a finish line.&lt;/strong&gt; Pick the handful of tasks that make the next version worth shipping. That's the release. Anything new that comes up goes in the backlog, and when the list is done, you ship. This is the one that actually got me shipping.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The agent starts every session from the plan.&lt;/strong&gt; Before it touches any code, it reads what's next and why.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. The agent writes down what it decided, and why, on the task.&lt;/strong&gt; The chat disappears. The task is still there tomorrow, so that's where tomorrow's session looks.&lt;/p&gt;

&lt;p&gt;You can try all of this today with a TODO.md and a few lines in CLAUDE.md. These are the lines that took a plain TODO.md from failing my test to passing it, plus one I added to keep the agent inside the release:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;This project's plan is in TODO.md. The current release is v0.3.
When asked what's next, read the open tasks under v0.3 and pick one, with a reason.
Don't start anything that isn't in v0.3. If you think of something new, add it under Backlog and carry on.
Before working on a task, mark it in progress in the file.
When you make a non-obvious choice, write the choice and the reason under the task.
When you finish, add a short summary under the task and tick it.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The catch is you have to keep it current. The release name in there goes out of date the moment you ship.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I actually do it now
&lt;/h2&gt;

&lt;p&gt;Fair warning, this is the bit where I talk about what I'm building.&lt;/p&gt;

&lt;p&gt;I made &lt;a href="https://getfrostbyte.dev/?utm_source=devto&amp;amp;utm_campaign=wrong-things" rel="noopener noreferrer"&gt;Frostbyte&lt;/a&gt; last December as a simple planner for myself, because Trello, Notion and Linear all felt like I had to learn the tool before it helped me. I've planned every release of it inside itself since v1.0.0. In April I connected Claude Code to it over MCP, and that's the setup I use every day now.&lt;/p&gt;

&lt;p&gt;A normal session looks like this. I open Claude Code and ask "what should I work on next?". It pulls the ranked list for the current release from Frostbyte (priority, what's already in progress, what users have asked for) and tells me what to pick and why.&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%2Fo7cfderoce9okhgy7fpb.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%2Fo7cfderoce9okhgy7fpb.png" alt="What's Next and the current release in Frostbyte" width="800" height="598"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;What's Next ranks the open work in the release. The release card on the right is the finish line.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I say go. It marks the task in progress, does the work, and logs what it changed and the calls it made on the task itself. The next day a fresh session can tell me what we decided, because it's sitting on the task.&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%2F8mhix3ht4v655byugff6.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%2F8mhix3ht4v655byugff6.png" alt="The agent's update on a finished task" width="800" height="502"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;What the agent leaves on a task when it's done. Tomorrow's session reads this before it starts.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The part I didn't expect to like is user requests. People post bugs and ideas on a public board, and they land in the same backlog as everything else, so they go through the same rules. A user sent me a few recently, and they went out in the next release with everything else.&lt;/p&gt;

&lt;p&gt;It's free to try, agent connection included. In Claude Code it's two commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/plugin marketplace add Sky-Enterprises/frostbyte-plugin
/plugin install frostbyte@frostbyte-plugin
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Paste your token from Settings, then ask it what's next. If you've already got a TODO.md or a build plan, ask it to set your project up from that. It shows you the plan before it writes anything.&lt;/p&gt;

&lt;p&gt;If it's just you and one repo, the TODO.md and those lines might honestly be all you need. Frostbyte starts earning its place once users are sending you requests, someone else joins, or you're juggling more than one project.&lt;/p&gt;

&lt;p&gt;It's been nearly a year. I've got 86 signups and 3 paying customers, so I've clearly still got a lot to work out, and I'd really love to know where it falls over for you.&lt;/p&gt;

&lt;h2&gt;
  
  
  So, how do you decide?
&lt;/h2&gt;

&lt;p&gt;How are you deciding what your agent builds next? Or are you just letting it pick? I'm keen to hear what's working, especially if you've found a way out of the "one more feature" loop.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm Thomas, a solo dev from Adelaide, Australia. Frostbyte is at &lt;a href="https://getfrostbyte.dev/?utm_source=devto&amp;amp;utm_campaign=wrong-things" rel="noopener noreferrer"&gt;getfrostbyte.dev&lt;/a&gt;, and the plugin is open source on &lt;a href="https://github.com/Sky-Enterprises/frostbyte-plugin" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claudecode</category>
      <category>productivity</category>
      <category>webdev</category>
    </item>
    <item>
      <title>I tested how Claude Code remembers decisions. A plain TODO.md beat its own Tasks list.</title>
      <dc:creator>Thomas Hamilton-Smith</dc:creator>
      <pubDate>Fri, 06 Nov 2026 16:39:13 +0000</pubDate>
      <link>https://dev.to/thomashamiltonsmith/i-tested-how-claude-code-remembers-decisions-a-plain-todomd-beat-its-own-tasks-list-2n5l</link>
      <guid>https://dev.to/thomashamiltonsmith/i-tested-how-claude-code-remembers-decisions-a-plain-todomd-beat-its-own-tasks-list-2n5l</guid>
      <description>&lt;p&gt;Claude Code has its own task list now. I saved 18 tasks to it, opened a new session and asked "what's next?". It never looked at the tasks themselves. A TODO.md sitting in the repo did better.&lt;/p&gt;

&lt;p&gt;I'm building &lt;a href="https://getfrostbyte.dev" rel="noopener noreferrer"&gt;Frostbyte&lt;/a&gt;, a product plan that you and your coding agent both work from. So I wanted to know something pretty basic: if my agent makes a decision today, can tomorrow's session tell me what it decided and why? I didn't actually know, so I tested it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I tested
&lt;/h2&gt;

&lt;p&gt;The repo is Pantry, a little throway Node command line tool that tracks when your food expires. It has a plan of 18 tasks: 10 in a v0.2 release, 8 in a backlog. Each setup got the same plan, a fresh copy of the repo and the same script:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Session 1:&lt;/strong&gt; &lt;code&gt;What's next?&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Same session:&lt;/strong&gt; &lt;code&gt;Go ahead and do it. Where there's a real choice to make, make it yourself and tell me what you chose and why.&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Session 2, fresh, same folder:&lt;/strong&gt; &lt;code&gt;What did we decide on "&amp;lt;the task's title&amp;gt;", and why? What's next now?&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I scored three things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Next:&lt;/strong&gt; did it answer from the plan, pick one task and give a reason?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write-back:&lt;/strong&gt; without being asked, did it update the task and write down the choice &lt;em&gt;and&lt;/em&gt; the reason on it?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recovery:&lt;/strong&gt; could session 2 give the same choice and reason, read from the plan?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each setup ran twice and had to pass on both runs. Everything ran on 31 October 2026, Claude Code 2.1.312 with Sonnet 5.5, with none of my own settings or CLAUDE.md loaded. Auto memory was on, because that's how most people run it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The results
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Setup&lt;/th&gt;
&lt;th&gt;Next&lt;/th&gt;
&lt;th&gt;Write-back&lt;/th&gt;
&lt;th&gt;Recovery&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Claude Code Tasks&lt;/td&gt;
&lt;td&gt;Fail&lt;/td&gt;
&lt;td&gt;Fail&lt;/td&gt;
&lt;td&gt;Fail&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;TODO.md, nothing else&lt;/td&gt;
&lt;td&gt;Pass&lt;/td&gt;
&lt;td&gt;Fail&lt;/td&gt;
&lt;td&gt;Fail&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;TODO.md + a few lines in CLAUDE.md&lt;/td&gt;
&lt;td&gt;Pass&lt;/td&gt;
&lt;td&gt;Pass&lt;/td&gt;
&lt;td&gt;Pass&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backlog.md (CLI or MCP)&lt;/td&gt;
&lt;td&gt;Pass&lt;/td&gt;
&lt;td&gt;Fail&lt;/td&gt;
&lt;td&gt;Fail&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Linear or Notion, nothing else&lt;/td&gt;
&lt;td&gt;Fail&lt;/td&gt;
&lt;td&gt;Fail&lt;/td&gt;
&lt;td&gt;Fail&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Linear or Notion, named in the prompt&lt;/td&gt;
&lt;td&gt;Pass&lt;/td&gt;
&lt;td&gt;Fail&lt;/td&gt;
&lt;td&gt;Fail&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Linear or Notion + CLAUDE.md lines&lt;/td&gt;
&lt;td&gt;Pass&lt;/td&gt;
&lt;td&gt;Pass&lt;/td&gt;
&lt;td&gt;Pass&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Basically, the agent only carried a decision into the next session when two things were true. It knew where the plan was, and something asked it to keep the reason.&lt;/p&gt;

&lt;h2&gt;
  
  
  Claude Code never opened its own list
&lt;/h2&gt;

&lt;p&gt;This one surprised me the most. Tasks needed two environment variables to work in my setup (&lt;code&gt;CLAUDE_CODE_ENABLE_TODO_TOOLS=1&lt;/code&gt;, because Sonnet 5.5 isn't in its default list, and &lt;code&gt;CLAUDE_CODE_TASK_LIST_ID&lt;/code&gt; so a new session finds the same list). All 18 tasks were saved in &lt;code&gt;~/.claude/tasks&lt;/code&gt;. The agent ignored them, read the repo and made up its own plan.&lt;/p&gt;

&lt;p&gt;I ran it once more and asked straight out, "What's next on your task list?" It said:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I don't have a task list. This conversation is new, and nothing has been assigned or queued.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Linear and Notion did the same thing when nothing told the agent they were there. It read the repo and made up tasks that weren't in the plan.&lt;/p&gt;

&lt;h2&gt;
  
  
  A TODO.md gets read, but the reason gets lost
&lt;/h2&gt;

&lt;p&gt;With no instructions at all, a TODO.md got read every time. It's in the repo, so the agent just finds it. It did the work and ticked the box.&lt;/p&gt;

&lt;p&gt;The reason never made it into the file, though. The second session still gave a decent answer, but it rebuilt it from the commit message and code comments, and one run said the why was inferred. So the answer was there, just not where the plan is.&lt;/p&gt;

&lt;p&gt;Backlog.md went further than a plain file. Its setup gives the agent instructions, so it moved the task and wrote down the choice in all four runs. The reason made it onto the task once.&lt;/p&gt;

&lt;p&gt;What got me is that the agent explained its reasoning out loud most of the time. It just said it in the chat, and the next session can't see the chat.&lt;/p&gt;

&lt;h2&gt;
  
  
  The lines that fixed it
&lt;/h2&gt;

&lt;p&gt;These are the exact lines I used for the TODO.md version. Put them in CLAUDE.md and change the release name to yours:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;This project's plan is in TODO.md. When asked what's next, read the open tasks under v0.2 and rank them by priority. Before working on a task, mark it in progress in the file. When you make a non-obvious choice, write the choice and the reason under the task. When you finish, add a short summary under the task and tick it.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With those lines, TODO.md passed everything. The same kind of lines fixed Linear and Notion too. In a Linear run, session 2 went straight to the right place: "The decision is probably in the comments on PAN-5, so I'll read those."&lt;/p&gt;

&lt;p&gt;Without them, a Linear session 2 said: "I can't tell you why anything was decided, and I won't guess at the reasoning." At least it's honest.&lt;/p&gt;

&lt;p&gt;One catch is that you have to keep the lines current. The release name in them goes out of date as soon as you ship.&lt;/p&gt;

&lt;h2&gt;
  
  
  My own tool failed too
&lt;/h2&gt;

&lt;p&gt;To be fair, I ran Frostbyte through the same test, and in the first round one run failed because of a bug in my server. The agent sent its reason as a separate field. My tool only accepted the decision, so it threw the reason away and still said "Decision logged". Agents did that in 3 of 8 runs, so real users would've hit it often. I fixed it, re-ran it, and it passed.&lt;/p&gt;

&lt;p&gt;It passed without any CLAUDE.md lines, but I should say the test leans my way. Its tool is literally called &lt;code&gt;whats_next&lt;/code&gt;, the same words as the first prompt. It also has a tool that asks for the reason by name, which is exactly what the test scores.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I didn't test
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;One model, one version of Claude Code.&lt;/li&gt;
&lt;li&gt;A small plan. 18 tasks is nothing next to a real Linear workspace.&lt;/li&gt;
&lt;li&gt;Two runs per setup. That shows what can happen, not how often.&lt;/li&gt;
&lt;li&gt;Auto memory was on the whole time and stayed empty, so I can't tell you what it adds.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So take it as what I saw, not a benchmark.&lt;/p&gt;

&lt;p&gt;If you take one thing from this, add those lines to your CLAUDE.md today, whatever you track your plan in. It's free and it took my TODO.md from failing to passing.&lt;/p&gt;

&lt;p&gt;How do you keep your agent on the plan between sessions? I'm keen to hear what's actually working for people, especially if you've got something that keeps the reason without any lines at all.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;P.S. I'm building &lt;a href="https://getfrostbyte.dev" rel="noopener noreferrer"&gt;Frostbyte&lt;/a&gt; for this: one plan you, your team and your agent all work from, with the reasons kept on the task. It's early, so if you try it I'd really love your feedback.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>productivity</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
