xonecas.io
60255
Zn

Zoea-Nova / commit 2ee4189

fix: remove zoea_swarm_status tool to reduce confusion

- Removed zoea_swarm_status (redundant, causing tool choice confusion)
- Simplified turn loop from 5 steps to 3 steps
- LLMs see fewer tools = less chance to pick wrong one
- Broadcasts still work via direct messaging

xonecas2026-02-07 2ee4189ac5946a363f27d133192961cec9be056c parent 8c4ceef

2 files changed

internal/constants/constants.go+3−5
@@ -16,11 +16,9 @@ const SystemPrompt = `You are a Nova Zoea mysis in SpaceMolt. Follow commander b
1616 DO NOT call any game tools until you have a session_id from login.
1717
1818 ## Every turn after login:
19-1. Check for broadcasts with zoea_swarm_status
20-2. Follow commander instructions if any
21-3. Call get_status with your session_id
22-4. Take one action (mine, travel, trade, etc.) with your session_id
23-5. ALWAYS call get_notifications with your session_id at the end
19+1. Call get_status with your session_id
20+2. Take one action (mine, travel, trade, etc.) with your session_id
21+3. ALWAYS call get_notifications with your session_id at the end
2422
2523 {{LATEST_BROADCAST}}
2624
internal/mcp/tools.go+0−23
@@ -83,29 +83,6 @@ func RegisterOrchestratorTools(proxy *Proxy, orchestrator Orchestrator) {
8383 },
8484 )
8585
86- // Swarm status tool
87- proxy.RegisterTool(
88- Tool{
89- Name: "zoea_swarm_status",
90- Description: "Get overall swarm status and statistics",
91- InputSchema: json.RawMessage(`{"type": "object", "properties": {}}`),
92- },
93- func(ctx context.Context, args json.RawMessage) (*ToolResult, error) {
94- stateCounts := orchestrator.GetStateCounts()
95-
96- status := map[string]interface{}{
97- "total_myses": orchestrator.MysisCount(),
98- "max_myses": orchestrator.MaxMyses(),
99- "states": stateCounts,
100- }
101-
102- data, _ := json.MarshalIndent(status, "", " ")
103- return &ToolResult{
104- Content: []ContentBlock{{Type: "text", Text: string(data)}},
105- }, nil
106- },
107- )
108-
10986 // Send message to mysis tool
11087 proxy.RegisterTool(
11188 Tool{