Adding Dependencies
1
Open task modal
Click edit on an existing task, or create a new task.
2
Expand Options
Click the Options section to reveal the dependency editor.
3
Search and add
Click Add dependency to search and select parent tasks. You can also Shift+drag between nodes in the Orchestration Graph view.
Conditional Dependencies
Dependencies can have conditions that control when child tasks are triggered:Agent Context Handoff
When a parent task completes, Claude Board automatically generates a context summary containing:- Git diff statistics (files changed)
- Recent commit messages
- Last Claude output summary
- Branch information
Sub-task Spawning
Running agents can create sub-tasks via MCP tools. When an agent callscreate_task with a parent_task_id, the sub-task is linked to the parent:
- Agent calls
create_taskwithparent_task_idset to its own task ID - Sub-task is created in backlog and auto-queued
- Parent task enters awaiting sub-tasks state after its Claude process finishes
- Sub-tasks execute (respecting DAG and concurrency)
- When all sub-tasks reach
done/testing, the parent automatically completes
Sub-tasks inherit the parent’s project context. The parent task’s prompt instructs Claude on how to use
parent_task_id when creating sub-tasks.Cycle Detection
Claude Board prevents circular dependencies using DFS (Depth-First Search) traversal. If adding a dependency would create a cycle (A -> B -> C -> A), the operation is rejected.Dependency Patterns
- Chain
- Fan-out
- Fan-in
- Conditional
Sequential: A -> B -> C -> D. Each task starts only after the previous completes.
API
addDependency(taskId, dependsOnId, conditionType?)— Add dependency with optional condition (always,on_success,on_failure)removeDependency(taskId, dependsOnId)— Remove a dependencygetTaskDependencies(taskId)— Get parents and childrengetDependencyGraph(projectId)— Full graph with edges (includingconditionType) and wavesgetExecutionWaves(projectId)— Wave groupings