Answers

Every morning, your agent meets your project for the first time.

What a session handoff is, why the forgetting is by design, and the three ways people fix it. The honest version, including the free one.

Last updated

A session handoff is the note one working session leaves for the next one. Three things: where the work stands, what to do next, and what to watch out for.

Your agent forgets between sessions because a session is built to start clean. Nothing is broken. The context window is emptied on purpose, so anything you want carried forward has to be written down somewhere that is not the conversation.

The handoff is that somewhere. You can write it by hand in a text file, and plenty of people do. Below is how it works, where the hand-written version breaks, and what it looks like when the writing is automatic.

Why it forgets

This is documented behaviour, not a defect. Anthropic's own memory page opens with it:

"Each Claude Code session begins with a fresh context window."

code.claude.com, How Claude remembers your project

Two mechanisms are offered to carry things across. An instructions file you write, and an automatic memory the model keeps for itself. Both are useful. Both have a shape worth knowing before you lean on them.

The automatic memory is loaded with a budget: "The first 200 lines of MEMORY.md, or the first 25KB, whichever comes first, are loaded at the start of every conversation. Content beyond that threshold is not loaded at session start." So it is an index, not an archive.

And it does not travel. In the same page: "Auto memory is machine-local. All worktrees and subdirectories within the same git repository share one auto memory directory. Files are not shared across machines or cloud environments." Your laptop remembers things your desktop never learns.

"Claude asks 'what are we working on?' after every compaction, sometimes multiple times per session."

claude-code issue #25999, titled "Persistent state across context compaction". Closed as not planned.

"A multi-hour or multi-day session worth of context, file contents read, architectural decisions, in-progress work state, is irrecoverable."

claude-code issue #43696, on resume not restoring prior conversation context. Closed as duplicate.

The fix, with any tool

Write the handoff yourself. A file in the repository, called something like HANDOFF.md, updated at the end of each session and read at the start of the next.

This is a real answer, not a stepping stone. Give it credit before you go looking for anything else.

What the hand-written version gets right

  • It costs nothing and takes ten minutes to set up.
  • It works with every tool, and it keeps working when you change tools.
  • Committed to the repository, it is versioned, reviewable and shared with the team.
  • You control exactly what goes in, which is more than most memory systems offer.

People go further than a file. The author of issue #25999 built a whole memory layer with lifecycle hooks, and reported more than fifty engineers using it. The instinct is correct: the state belongs outside the conversation.

Where it breaks, in the order it usually breaks

  • It depends on remembering. The handoff has to be written at the end of the session, which is the moment you are tired, or interrupted, or the terminal has already closed on you.
  • It drifts. Nobody deletes from it. After a month it is a long file describing three versions of the project at once, and the agent reads all of them.
  • It is one file for the whole project. Everything in it loads for every task, whether the task is the payment flow or a button colour.
  • It says what you remembered to say. It cannot tell you what was actually completed yesterday, because it is a note, not a record.

None of those are reasons not to start. Start there today. They are the reasons people eventually want the writing to happen without them.

What that looks like as machinery

Mission HQ is the handoff file, written for you, kept on a server, and cut to the task in front of you.

One call returns the state, not a file to read

At the start of a session the agent asks for the handoff and gets back where the project stands, the single next action, and the warnings that matter: failing tests, tasks gone stale, decisions still waiting on you.

The note is written while you work

Checkpoints are posted on every prompt and at the end of every turn, and the session closes with a summary, the state, the next steps and the warnings. Nothing depends on you remembering at the end.

Knowledge arrives scoped, not as one growing file

What the project has learned is stored per module and per kind of work, and delivered when a task of that kind starts. Working on the database means you get the database conventions, not four hundred lines about everything.

It knows what was actually finished

Tasks close against their own criteria, so the record of yesterday is what completed, not what someone summarised. That is the part a note can never give you.

Stop writing the handoff by hand

14 days, no credit card. Keep your HANDOFF.md too if you like it. Nothing is taken away.

Which one you should use

A hand-written handoff file is the right tool for a small project, one person, a few weeks. It is free, it is yours, and for that shape of work it is genuinely enough. We would rather you used it than bought something you do not need.

It stops fitting on three axes: time, because the file grows and nobody prunes it; people, because your automatic memory stays on your machine and your teammate's stays on theirs; and trust, because a note describes what someone believed, not what actually closed.

That is the whole decision. Not a better notebook against a worse one, but a note against a record.

Questions people ask about this

What is a session handoff for an AI coding agent?

+
A session handoff is the note one working session leaves for the next one. It carries three things: where the work stands, the next action to take, and the warnings worth knowing. The next session reads it instead of starting from nothing.

Why does my AI agent forget the project between sessions?

+
Because it is designed to. Anthropic documents that each Claude Code session begins with a fresh context window. Anything you want carried forward has to live outside the conversation, in an instructions file, in auto memory, or on a server.

Is a HANDOFF.md file good enough?

+
For a small solo project over a few weeks, yes, and it costs nothing. It stops fitting when the file grows and nobody prunes it, when a teammate needs it and their machine has its own separate memory, or when you need to know what actually closed rather than what someone wrote down.

Does auto memory solve this already?

+
Partly. The documentation says the first 200 lines of MEMORY.md, or the first 25KB, load at the start of every conversation, and content beyond that is not loaded. It is also machine-local: the files are not shared across machines or cloud environments, so what your laptop learned your desktop does not know.

How is a handoff different from a memory file?

+
A memory file holds facts about the project. A handoff holds the state of the work: what is half done, what to do next, what is failing. You need both, and they go stale in different ways.

Does this work with Cursor, Copilot or other agents?

+
Yes. Mission HQ is an MCP server, so any MCP-capable client connects to the same project. The plan, the memories and the session history live on the server rather than inside one editor, so changing tools does not restart your project history.

Two things you can do now

Write the file today, for free

Create HANDOFF.md in your repository with three headings: where it stands, next step, watch out for. Fill it in at the end of your next session and open it at the start of the one after. Do it for a week and you will know exactly which of the four failure modes above hits you first.

No account, no tool, ten minutes.

Or let it write itself

Start a 14-day trial, no credit card. The handoff is written as you work and handed to the next session in one call, with the warnings attached.

Start free trial

Related answers