context
Manage long-running tasks by saving and restoring checkpoints, registering critical instructions, and creating session handoffs to preserve context and ensure continuity.
Instructions
Context protection for long tasks. Operations:
checkpoint_save: Save task state (task_description, current_step, completed_steps, pending_steps, files_involved)
checkpoint_restore: Restore last checkpoint (task_id optional)
checkpoint_list: List saved checkpoints
verify_completion: Claim task done + verify (task, evidence, verification_steps)
instruction_add: Register critical instruction (instruction, reason, importance)
instruction_reinforce: Get instructions to remember
handoff_create: Create session handoff (handoff_summary, pending_steps, handoff_context_needed, handoff_warnings)
handoff_get: Retrieve latest handoff document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Operation | |
| task_description | No | ||
| current_step | No | ||
| completed_steps | No | ||
| pending_steps | No | ||
| files_involved | No | ||
| task_id | No | For restore: specific checkpoint | |
| task | No | For verify: task to verify | |
| evidence | No | For verify: proof | |
| verification_steps | No | For verify: checks | |
| instruction | No | For instruction_add | |
| reason | No | ||
| importance | No | ||
| project_path | No | ||
| handoff_summary | No | For handoff_create: summary for next session | |
| next_steps | No | For handoff_create: what to do next | |
| handoff_context_needed | No | For handoff_create: context the next session needs | |
| handoff_warnings | No | For handoff_create: warnings for next session |