task_save
Save a task's current state to checkpoint progress, capturing distilled context, decisions, pitfalls, and artifacts for cross-agent task tracking.
Instructions
Save the current state of a task.
Call this when the user says "save", "保存", or wants to checkpoint progress. The context parameter should be a concise summary of the current state — goals, what's done, what's next, key decisions.
Args: name: Task name or ID context: Current context summary (distilled, not raw conversation) progress: Progress update to append decisions: New key decisions made (list of strings) pitfalls: New pitfalls discovered (list of strings) artifacts: Files to snapshot [{"path": "/abs/path", "description": "..."}] agent: Which agent is saving (e.g. "claude-code", "codex", "hermes") messages: Optional conversation messages to append to conversation.jsonl expected_revision: Revision returned by task_load; rejects stale saves
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| agent | No | ||
| context | Yes | ||
| messages | No | ||
| pitfalls | No | ||
| progress | No | ||
| artifacts | No | ||
| decisions | No | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||