Task Triage¶
Interactive inbox review: surface tasks that need decisions, collect user input, apply state changes.
Workflow name: task-triage
Execution: main
Override not allowed
Steps¶
| # | ID | Name | Type | Depends on |
|---|---|---|---|---|
| 1 | gather |
Gather task data | code |
|
| 2 | present |
Present and collect decisions | reasoning |
gather |
| 3 | apply |
Apply mutations | code |
present |
| 4 | summary |
Report changes | reasoning |
apply |
Step instructions¶
gather¶
Gather task data via the gateway:
inbox_review = `mcp__work-buddy__wb_run("task_review_inbox")`
stale = `mcp__work-buddy__wb_run("task_stale_check")`
counts = `mcp__work-buddy__wb_run("task_briefing")`
projects = `mcp__work-buddy__wb_run("project_list")`
Return the combined results as the step output.
present¶
Agentic step. The agent presents tasks and collects user decisions. Behavioral instructions (batch size, presentation format, action options) are in the slash command, not here.
Collect decisions as structured output:
[
{"description_match": "...", "action": "focus|snooze|done|skip"},
...
]
apply¶
For each decision from the present step, apply mutations via the gateway:
for each decision:
if action == "focus":
`mcp__work-buddy__wb_run("task_change_state", {"task_id": "<id>", "state": "focused"})`
elif action == "snooze":
`mcp__work-buddy__wb_run("task_change_state", {"task_id": "<id>", "state": "snoozed"})`
elif action == "done":
`mcp__work-buddy__wb_run("task_toggle", {"task_id": "<id>"})`
// "skip" = no-op
Also run mcp__work-buddy__wb_run("task_archive") if the gather step showed >10 completed tasks.
summary¶
Agentic step. The agent reports what changed. Behavioral instructions (what to include, format) are in the slash command, not here.