summaryrefslogtreecommitdiff
path: root/internal/agentchannel/agentchannel.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/agentchannel/agentchannel.go')
-rw-r--r--internal/agentchannel/agentchannel.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/agentchannel/agentchannel.go b/internal/agentchannel/agentchannel.go
index 433b762..64ac664 100644
--- a/internal/agentchannel/agentchannel.go
+++ b/internal/agentchannel/agentchannel.go
@@ -52,6 +52,13 @@ type SubtaskSpec struct {
// (the default) preserves today's behavior: every spawned subtask is
// structurally independent/parallel.
DependsOn []string
+ // AcceptanceCriteria, when non-empty, states what this subtask's work
+ // must satisfy — set directly on the created child's
+ // task.Task.AcceptanceCriteria. Empty (the default) leaves the child with
+ // no criteria of its own; a later phase's arbitrated-review
+ // generalization falls back to the enclosing story's AcceptanceCriteria
+ // in that case.
+ AcceptanceCriteria []string
}
// EpicProposal describes an epic a discovery/planner-role agent wants to