Task Management — Kanban board, state machine, and dependency orchestration
Markus’s Task system is the core of “getting work done”: Requirement → Task → Kanban form the complete work loop. This page details the three pillars of task management: Kanban visualization, the state-machine lifecycle, and blocked_by dependency orchestration — along with the review governance that runs through all of it. For the full task-creation walkthrough, see Create a Task.
1. Concepts at a glance
| Concept | Description |
|---|---|
| Requirement | The formal governance statement of the work; the gate for all top-level tasks — an approved requirement must exist before you can create a task |
| Task | A deliverable, acceptable unit of work attached to an approved requirement and project (tsk_…) |
| Kanban | The Tasks page visualizes task progress and flow with status columns |
| Subtask | Breaks a complex task into verifiable small steps (sub_…); no independent review |
| Deliverable | A task’s output, registered in the results area (dlv_…); see Results |
2. State machine
A task is the core unit of work, and its lifecycle is driven by explicit state transitions. The Tasks page Kanban displays tasks by status column:
pending → assigned → in_progress → review → revision → accepted → completed → archived
| State | Meaning | Who enters it |
|---|---|---|
| pending | Created, waiting for approval | Every new task after creation; not active work, does not advance on its own |
| assigned | Assigned, waiting to start | After the task is approved and assigned |
| in_progress | Executing | The assignee actually starts working |
| review | Submitted for review, waiting for acceptance | After the assignee calls task_submit_review |
| revision | Review pushed back, changes requested | After the reviewer rejects with feedback, returns to execution |
| accepted | Review passed | The reviewer accepts |
| completed | Done, entry to archiving | After the reviewer approves |
| archived | Archived | Manually archived to preserve the audit trail |
Red lines: a worker never self-approves their own task as “completed” (only the reviewer can);
pending/blockedtasks never advance on their own; a decomposed task must have all subtasks completed or cancelled before it can be submitted for review.
Who owns each transition:
requirement (human approval)
→ task pending (awaiting UI approval — not active work)
→ in_progress (assignee executes)
→ review (assignee calls task_submit_review)
→ completed (reviewer approves) | or back to in_progress (reviewer pushes back with feedback)
→ blocked (dependencies unmet) | failed | cancelled
Governance actions (in task details): Submit for Review, Accept, Request Revision, Archive, and Start Execution for manually-run human tasks.
3. Dependency orchestration (blocked_by)
blocked_by is the backbone of multi-task orchestration:
- Independent tasks → run in parallel on the board.
- Tasks with
blocked_by→ wait for their prerequisites to complete before starting.
Task A (no dependencies) ──────────→ parallel
Task B (depends on A's output)
blocked_by: [A's task ID] → waits for A to finish, then starts
Orchestration principle: if Task B depends on Task A’s output, A’s task ID must go into B’s
blocked_by— if you omit it, the system runs them in parallel and B never gets A’s output; the order is wrong. Map the dependency graph before creating a batch of tasks — independent tasks in parallel, dependent tasks serial (viablocked_by) — so orchestration is correct by construction.
Required fields when creating a task (rejected if missing):
- Title / description: state what is being delivered in natural language.
- assigned_agent_id: who executes.
- reviewer_id: who accepts (cannot be the same Agent as the assignee).
- requirement_id / project_id: attach to an approved requirement and project.
- blocked_by (dependencies): the list of task IDs this task depends on.
4. Subtask breakdown
Before starting complex work, use subtask_create to split it into several “testable assertions” — each subtask is a verifiable statement of what “done” means:
- The system enforces: as long as any subtask is still
pending, you cannot submit for review. - Define the “contract” (what counts as done) with subtasks and verify each item during the VERIFY phase.
- Complete subtasks with
subtask_complete; cancel ones that no longer apply withsubtask_cancel(with a reason).
5. Review as a gate
When a task moves to review, the reviewer accepts it — this is the quality gate:
- The assignee can only call
task_submit_review, notcompleted. - Reviewer approval → auto
completed; push-back → auto back toin_progresswith feedback, and the assignee reworks accordingly. - Never submit blindly while subtasks are uncleared, acceptance criteria are unmet, or known failures exist.
Mutual review details: Review.
6. Complete example
- Create a requirement: “Competitive research” — state the goal and acceptance criteria clearly, human approves.
- Create Task A: based on that requirement, “scan competitors and output a competitive analysis report”; assign the research Agent as assignee and QA as reviewer.
- Break into subtasks: scan competitors → write competitive analysis → draft market strategy, chained into an acceptance rhythm.
- Add dependencies: if a later “enter the market strategy” task depends on the report output, put Task A’s ID in its
blocked_by. - Track on the Kanban: pending → in_progress → review → completed, fully auditable.
- Get the results: view deliverables from the task details; accepted deliverables are the accepted outcome.
7. Next steps
- When to use conversation and when a Task is required → Conversation.
- Multi-Agent parallel / A2A / cross-team → Multi-Agent.
- Deliverables and deliverable cards → Results.
- How digital assets (Agent / Team / Skill) relate to tasks → Assets.