/task-management:collect <TM-id>from task-management
Pull a dispatched worker's result into the store — never closes the task; parks and releases on failure. Use when a worker has exited, after tm dispatch / tm pool, when the board still shows in_progress for a dead run, or the user says "collect TM-N", "what happened to that worker", "/collect".
Ships in task-management. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Each backend's completion signal (ACP terminal state, raw tmux session gone, or the
topology producer's exact server/session/pane observation) normalizes through one write path. This verb records the
worker outcome. A governed worker ends at ready-for-review; independent review and a
separate integration decision precede completion.
After [[dispatch]] or a [[pool]] tick. When tm agent list shows a dead worker
still holding a card. Not for work this session implemented — that is [[implement]].
.bytedesk/task-management/bin/tm collect TM-014
MCP: tm_collect { "id": "TM-014" }.
HTTP: POST /api/task/TM-014/collect.
Returns { ok, outcome, downgraded?, parked? } or { ok, pending: true } while
the worker still runs. To wait for it, run tm pool wait --until done TM-014 --timeout 1800
instead of a sleep loop around collect; exit 0 when done, 2 on timeout.
ready-for-review and retains its claim.blocked/failed on still-in_progress parks it with the summary and
releases the claim.runDir is reconciled through producer discovery using its exact native
path, task, repository and workload checkout. Live legacy paths are rechecked until terminal
evidence moves to durable storage. Missing or ambiguous references and unverified incarnations
hold for recovery. A reused session name never proves that the old worker ended.task_result event — tm log <id> / [[events]] tell the story.{ ok: false, reason } if never dispatched or no collector.Then [[agent]] reap for anyone collect missed. Watch [[events]].
Full table: docs/agent-first.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bytedeskai/bytedesk-marketplace --plugin task-management27 skills in this plugin
/adrWrite an architecture decision record into .bytedesk/task-management/adrs/, or finish one of the stubs the AskUserQuestion hook drafted automatically. Use when a real decision gets made — a tradeoff, a rejected alternative, a constraint the team must not relitigate — or when the user says "record this decision", "write an ADR", "/adr"./agentDispatched-worker registry — list with derived liveness, heartbeat a name, reap the dead (parks their claimed tasks). Use when the user says "who is running", "reap dead workers", "agent heartbeat", "/agent", or a dispatched claim looks abandoned./boardShow the task board for this repo — epics, in-progress, blocked, next unblocked, and stale work — from .bytedesk/task-management/. Use when the user asks "what's on the board", "where are we", "what's next", "/board", or when resuming work and you need the real state rather than session memory.Other plugins' skills for the same job