summaryrefslogtreecommitdiff
path: root/internal/executor/channel.go
diff options
context:
space:
mode:
authorClaudomator Agent <agent@claudomator>2026-07-08 08:35:14 +0000
committerClaudomator Agent <agent@claudomator>2026-07-08 08:35:14 +0000
commit02489d25b98d67f332fe0c93156bb767c2e860a1 (patch)
tree987e71906e522f7d1dfd1af2d63c7e8ea3ccb06b /internal/executor/channel.go
parent8d9d42ba4f6c5f8cb729fcb851e5ef30fff46d37 (diff)
feat(agentchannel): add DependsOn to SubtaskSpec so a decomposing task can order its own subtasks
Diffstat (limited to 'internal/executor/channel.go')
-rw-r--r--internal/executor/channel.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/executor/channel.go b/internal/executor/channel.go
index 5afe22e..9392c77 100644
--- a/internal/executor/channel.go
+++ b/internal/executor/channel.go
@@ -156,6 +156,7 @@ func (c *storeChannel) SpawnSubtask(_ context.Context, spec SubtaskSpec) (string
ParentTaskID: c.taskID,
Agent: agent,
Priority: task.PriorityNormal,
+ DependsOn: spec.DependsOn,
State: task.StatePending,
CreatedAt: now,
UpdatedAt: now,