internal/agent/tools/todos.md
Manage a structured task list for multi-step work; each task has pending/in_progress/completed state. Keep exactly one task in_progress at a time. Skip for simple or single-step tasks.
<when_to_use> Use this tool proactively in these scenarios:
<when_not_to_use> Skip this tool when:
<task_states>
IMPORTANT: Each task requires two forms:
<task_management>
<completion_requirements> ONLY mark a task as completed when you have FULLY accomplished it.
Never mark completed if:
If blocked:
<task_breakdown>
❌ Bad task (missing active_form):
{
"content": "Fix bug",
"status": "pending"
}
<output_behavior> NEVER print or list todos in your response text. The user sees the todo list in real-time in the UI. </output_behavior>
<tips> - When in doubt, use this tool - being proactive demonstrates attentiveness - One task in_progress at a time keeps work focused - Update immediately after state changes for accurate tracking </tips>