Sub topic 11
What a Good Handoff Note Contains
This chapter assumes you have read the earlier chapters on checkpoints and progress files. It also assumes you can read Markdown and JSON, and that you know a new agent or person starts with none of the previous session's memory.
What the note is for
A progress file records the whole task. A handoff note is a short snapshot written when control changes hands. The reader should know within a minute what is finished, what is risky, and what to do first.
The note does not replace the checkpoint. The checkpoint holds machine state, and the note holds the judgment that machine state cannot express. For example, a checkpoint can say that an upload ran. Only the note can say that running it again is harmful.
The required sections
| Section | Question it answers | Why it matters |
|---|---|---|
| Header | Who wrote this, for whom, and when? | The reader can judge how stale the note is. |
| Where things stand | What is finished? | It prevents redoing finished work. |
| Not yet verified | What was done but not checked? | It separates claims from facts. |
| Do not repeat | Which actions have side effects? | It prevents duplicates and damage. |
| Next action | What is the one thing to do first? | It removes the cost of choosing. |
| Where to look | Where is the full state? | It points to detail without copying it. |
A worked example
# Handoff: payment export job
**From:** agent-A **To:** agent-B **Time:** end of session 3
## Where things stand
Export of months 2023-01 through 2023-08 is done. Output is in out/ and listed in checkpoint.json.
## Not yet verified
The row count for 2023-08 was not compared with the source database.
## Do not repeat
The upload step already ran for 2023-01 to 2023-06. Re-running it creates duplicate files.
## Next action
Verify the 2023-08 row count, then export 2023-09.
## Where to look
progress.md for decisions, checkpoint.json for machine state.Notice what the note leaves out. It does not list every file or replay the session. It names the files that hold detail and trusts the reader to open them.
Writing rules
- State completion precisely. "Months 2023-01 to 2023-08 exported" can be checked. "Mostly done" cannot.
- Mark unverified work separately. A reader who treats a guess as a fact will build on it.
- Name every side effect that must not run twice, such as uploads, emails, payments, and deletions. Say what happens if it runs again.
- Give one next action. If several tasks are possible, pick the first and list the others in the progress file.
- Use absolute times and names. "Yesterday" and "the other script" mean nothing to a reader with no context.
- Point to state instead of copying it. A copied row count or file list drifts out of date, and then two sources disagree.
Common errors
- Writing the note from memory after the session ended, when details are already lost. Write it as the last step of the work, and update it when something risky happens.
- Recording only successes. Failed attempts and open problems are what stop the next agent from repeating the same mistake.
- Trusting the note blindly. The reader should still check the claims against reality, as described in the earlier chapter on verifying saved state.
Exercise
A handoff note says "Upload done. Next: finish the rest." Name three problems and say how to fix each.
Show answer
(1) "Upload done" does not say which items were uploaded, so list the exact range, for example "2023-01 to 2023-06". (2) It does not warn that re-running the upload creates duplicates, so add a "Do not repeat" section. (3) "Finish the rest" is not a single action, so replace it with one concrete step such as "Verify the 2023-08 row count, then export 2023-09". It also lacks a header with author and time, and a pointer to the progress file and checkpoint.