Recover a session¶
This is the normal start-of-session workflow for an agent.
Read-only recovery¶
Call these tools in order:
server_identitycontinuity_contexttask_getfor the selected taskmemory_getfor a decision or note that needs its full bodyruntime_bootstrap_getwhen the project has pinned runtime documentsgit_document_getfor the specific allowlisted document fragments needed to continue
The context response is bounded. Follow IDs for detail instead of writing the whole response back to memory.
Choose the task¶
Use the task list and the project’s worker protocol. Do not choose a task from
conversation history, a copied prompt, or a different project. If an expected
task is missing, stop and report task not found; never recreate it in another
project.
Claim and continue¶
Before changing task state, use the version returned by task_get and provide
the verified write_context. Then continue from the task’s handoff_next,
using the repository, branch, and commit recorded by the task or receipt.