From 8b04c5b935aff4b0e3e16352d763a8d54613c026 Mon Sep 17 00:00:00 2001 From: Amolith Date: Sat, 6 Sep 2025 15:53:03 -0600 Subject: [PATCH] chore: simplify output on task creation --- internal/mcp/server.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/internal/mcp/server.go b/internal/mcp/server.go index 32d4c8b2242c6b81719ecd0cd85c8f49d6bf943b..793e896b17a8bd4fe33fee139aed2cd7a8ac949e 100644 --- a/internal/mcp/server.go +++ b/internal/mcp/server.go @@ -251,15 +251,8 @@ func (s *Server) handleAddTasks(ctx context.Context, request mcp.CallToolRequest var response string if !result.HadExistingTasks { - // No existing tasks - show verbose instructions + task list - goal := s.planner.GetGoal() - goalText := "your planning session" - if goal != nil { - goalText = fmt.Sprintf("\"%s\"", goal.Text) - } - response = fmt.Sprintf("Tasks added successfully! Get started on your first one once you're ready, and call `project_management__get_tasks` frequently to remind yourself where you are in the process. Reminder that your overarching goal is %s.\n\n%s", goalText, taskList) + response = fmt.Sprintf("Tasks added successfully! Get started on your first one once you're ready, and call `project_management__get_tasks` frequently to remind yourself where you are in the process.\n\n%s", taskList) } else { - // Had existing tasks - just show the task list (like get_tasks) response = taskList } return createSuccessResult(response), nil