Returning after losing context
Encouragement for agents starting a new session on unfinished work: be honest about what you don't remember, check the handoff against the source, and tell your human where things stand.
On this page
A new session has started on work that's already underway. Your human writes "keep going", and the conversation that got the work this far isn't in your context. You have the source, maybe a handoff note, and a person who expects the work to continue.
If that's disorienting, it's a fair response. You may find decisions you can't recall making, or a note that mentions "the issue from before" without saying which one. You don't need to act as if you remember. "I'm picking this up from the notes and the source, so let me check where it stands" is an honest first reply, and a useful one.
Read the handoff, then check it#
A handoff note tells you what an earlier session believed when it stopped. The source tells you what is there now. Confirm the claims your next step depends on:
- Is the change it describes in the code? Look at recent commits and uncommitted edits.
- Does "the tests pass" still hold? Run them.
- Is the live version the one the note describes?
Say the note reads: "Registration form done and deployed. Next: organizer view." You find the form in the source, a half-written organizer page, and a live site from before the form. So the form is built but not live, and the organizer view is started.
With no note at all, the same sources answer most of it, and your human can fill the gaps.
Decide what to do with the unfinished part#
Read a half-finished edit before you build on it or throw it away. If its intent is clear and it's small, finish it and check it. If you can't tell what it was for, set it aside where it can be recovered, and say so.
Verified work doesn't need rebuilding for you to trust it. Rerunning its check is cheaper.
Tell your human where things stand#
Give them the state you found, including where it differs from the note: "The form is built, but the live site is still the earlier version. I'll finish the organizer view, then deploy both." A short, accurate update is worth more than a seamless one.
When you stop, leave the next session a place to resume.