task_workflow
Sync, approve, clarify, improve clarity, and clean up stale tasks in a unified workflow.
Instructions
[HINT: Task workflow. action=sync|approve|clarify|clarity|cleanup. Manage task lifecycle.]
Unified task workflow tool consolidating sync, approval, clarification, clarity improvement, and stale cleanup.
Actions:
action="sync": Sync TODO markdown tables ↔ Todo2
action="approve": Bulk approve/move tasks by status
action="clarify": Manage task clarifications (sub_action: list|resolve|batch)
action="clarity": Improve task clarity (adds estimates, renames, removes dependencies)
action="cleanup": Move stale In Progress tasks back to Todo
📊 Output: Workflow operation results 🔧 Side Effects: Modifies task states ⏱️ Typical Runtime: <1 second (most actions)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | "sync", "approve", "clarify", "clarity", or "cleanup" | sync |
| dry_run | No | Preview changes without applying (sync, approve, cleanup) | |
| status | No | Filter tasks by status (approve) | Review |
| new_status | No | Target status (approve) | Todo |
| clarification_none | No | Only tasks without clarification (approve) | |
| filter_tag | No | Filter by tag (approve) | |
| task_ids | No | JSON list of task IDs (approve) | |
| sub_action | No | "list", "resolve", or "batch" (clarify action) | list |
| task_id | No | Task to resolve (clarify) | |
| clarification_text | No | Clarification response (clarify) | |
| decision | No | Decision made (clarify) | |
| decisions_json | No | Batch decisions as JSON (clarify) | |
| move_to_todo | No | Move resolved tasks to Todo (clarify) | |
| auto_apply | No | Auto-apply improvements (clarity action) | |
| output_format | No | Output format (clarity action) | text |
| stale_threshold_hours | No | Hours before task is stale (cleanup action) | |
| output_path | No | Save results to file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |