summaryrefslogtreecommitdiff
path: root/internal/agentchannel
diff options
context:
space:
mode:
authorClaudomator Agent <agent@claudomator>2026-07-09 03:16:37 +0000
committerClaudomator Agent <agent@claudomator>2026-07-09 03:16:37 +0000
commit8068dca4641393c03aec12253e7c1195943727f1 (patch)
tree227ff5cc6d57b624fb2d8efee0e8ac21fd3bc662 /internal/agentchannel
parent5ea8f50b0c43a23af6e65bce1fe057a355cb1929 (diff)
feat(agentchannel,executor,agentloop): expose acceptance_criteria on spawn_subtask
Diffstat (limited to 'internal/agentchannel')
-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