From 4ac7894cd621300f8663022aff764e48c8b71d3e Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Thu, 9 Jul 2026 03:26:52 +0000 Subject: style: gofmt internal/executor and internal/agentloop Task 2 of the task-acceptance-criteria plan copied the plan document's own misaligned struct-literal text verbatim without running gofmt afterward, newly breaking gofmt compliance on tools.go/agentmcp.go; also fixes pre-existing unrelated misalignment in channel.go/channel_test.go while touching the same files. --- internal/executor/agentmcp.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'internal/executor/agentmcp.go') diff --git a/internal/executor/agentmcp.go b/internal/executor/agentmcp.go index a9a195d..9f0cb7e 100644 --- a/internal/executor/agentmcp.go +++ b/internal/executor/agentmcp.go @@ -154,13 +154,13 @@ func newAgentServer(ch AgentChannel) *mcp.Server { Description: "Create a child task to be executed separately. Use this to break large work into focused pieces, then finish your turn.", }, func(ctx context.Context, _ *mcp.CallToolRequest, in spawnSubtaskInput) (*mcp.CallToolResult, any, error) { id, err := ch.SpawnSubtask(ctx, SubtaskSpec{ - Name: in.Name, - Instructions: in.Instructions, - Model: in.Model, - MaxBudgetUSD: in.MaxBudgetUSD, - Role: in.Role, - DependsOn: in.DependsOn, - AcceptanceCriteria: in.AcceptanceCriteria, + Name: in.Name, + Instructions: in.Instructions, + Model: in.Model, + MaxBudgetUSD: in.MaxBudgetUSD, + Role: in.Role, + DependsOn: in.DependsOn, + AcceptanceCriteria: in.AcceptanceCriteria, }) if err != nil { return nil, nil, err -- cgit v1.2.3