Skip to content

Recover a session

This is the normal start-of-session workflow for an agent.

Read-only recovery

Call these tools in order:

  1. server_identity
  2. continuity_context
  3. task_get for the selected task
  4. memory_get for a decision or note that needs its full body
  5. runtime_bootstrap_get when the project has pinned runtime documents
  6. git_document_get for 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.