From 8068dca4641393c03aec12253e7c1195943727f1 Mon Sep 17 00:00:00 2001 From: Claudomator Agent Date: Thu, 9 Jul 2026 03:16:37 +0000 Subject: feat(agentchannel,executor,agentloop): expose acceptance_criteria on spawn_subtask --- internal/agentchannel/agentchannel.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'internal/agentchannel') 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 -- cgit v1.2.3