The GAME loop terminates only when complete: true is returned. Common infinite loop causes:
1. Goal is too vague — the agent can always find 'more information'
2. System prompt never tells the agent WHEN to set complete: true
3. max_iterations not set in runtime_config (or set too high)
4. A tool returns new results every call, so the agent never feels 'done'
5. The goal's completion criteria cannot be verified by the agent
Your Challenge
Your GAME agent is stuck. Every iteration returns:
{"complete": false, "action": "search", "message": "Looking for more information..."}
It has run 50 iterations without finishing. List 3 root causes and the specific fix for each. Be precise — 'rewrite the code' is not a useful answer.