Skip to content
mentoor

Topic 4 of 5 · 5 min read

Progress files the next session can resume

Goal: Write a progress file that a fresh session or a teammate could resume from without the old conversation.

A progress file is a plain document, kept outside the chat, that records what is done, what is next and what was decided, so any new session or person can resume the work.

Check yourself · 1 of 3

What is the main job of a progress file?

Choose one answer

Why it matters

A chat window forgets. Work that takes several sessions, or several people, cannot live only in a conversation. If the state is in a file, the next session starts by reading it and knows where things stand. Anthropic's write-up on long-running agents describes this pattern: the agent keeps a progress file and a clear history of changes, and each new session begins by reading them. The same idea works for a teacher planning a term or a manager running a project.

What goes in the file

  1. The goal, in a sentence or two, and what "done" means.
  2. A task list with a status for each item: not started, in progress, done, blocked. Keep the items small enough to finish in one sitting.
  3. Decisions, each with a short reason and a date.
  4. Current state: what works now, what is half-finished, and the exact next step.
  5. Notes for the next reader: traps, commands to run, where things live.

For code work, the commit history is part of the memory. Small commits with clear messages show what changed and why. A line such as "wip" tells the next session nothing.

How to use it

  • At the start of a session, tell the model to read the file first and then say, in its own words, where the work stands. If the summary is wrong, fix the file.
  • Work on one task at a time. When it is done, update the file before you stop.
  • Mark an item done only after you checked it. A model may say "done" when the work is only started. Ask for evidence: the test that passes, the page that opens.
  • Keep the file short. Move finished items into a separate "done" file so the main list stays readable.

Before and after

Before: "Working on the website. Lots done. Still some things to fix."

After: Goal: launch the bakery site by 20 June. Done: home page, menu page (checked on phone). In progress: order form, sends email but no confirmation page yet. Next: build the confirmation page, then test with three real orders. Decision (4 June): no online payment at launch, cash on pickup, to avoid card fees. Blocked: opening hours text, waiting for the owner.

What goes wrong

  • The file is updated only at the end, so a crash or a closed window loses the state.
  • Items are huge, like "build the app", so nobody can tell what is done.
  • The file holds secrets such as passwords. Never put them in it.

Examples

A task list with statuses

- [x] Export page: CSV download works (checked with 3 sample files)
- [~] Import page: upload works, validation missing
- [ ] Error messages for bad files
- [!] Blocked: need sample file from finance

Each line is small, has a status and says how it was checked.

A start-of-session prompt

"Read progress.md. In three sentences, tell me where the work stands and what the next step is. Do not start any work yet."

If the reply does not match your own view, the file is unclear or out of date, and you fix it before any work begins.

Key points

  • A progress file keeps the state of the work outside the chat, where it survives restarts and handoffs between people.
  • It holds the goal, a task list with statuses, decisions with reasons, current state and notes for the next reader.
  • Clear, small commits make the change history part of the memory.
  • Start each session by having the model read the file and restate where things stand, then correct the file if it is wrong.
  • Mark items done only after checking evidence, and never store secrets in the file.

Common mistakes

  • Updating the file only at the end of a session.
  • Writing tasks so large that no one can say whether they are done.
  • Accepting "done" without evidence.
  • Putting passwords or keys in the file.

Check yourself · 2 of 3

Which task-list line is the best entry for a progress file?

Choose one answer

Check yourself · 3 of 3

At the start of a new session, the agent says a task is done, but the file shows it as in progress. What should you do?

Choose one answer

Practice items, not counted towards your mastery.

Start here