v1.3.163
ggcode v1.3.163
Highlights
Strategist context enrichment
- The autopilot strategist now receives tool call summaries in its conversation context. Previously, all
tool_useandtool_resultblocks were stripped, leaving only text — the strategist could see the assistant's claims ("tests pass now") but had no evidence (test output, file contents, command results) to verify them. - Tool calls are summarized as
[Tool Call: read_file(path=/foo.go)]and results as[Tool Result OK: PASS\nok ...]or[Tool Result ERROR: ...], capped at 500 runes per result for token efficiency.
GOAL_COMPLETE instruction cleanup
- Removed all
GOAL_COMPLETEinstructions from every LLM-facing prompt (system prompt inagentruntime/prompt.goand goal-collection instruction inagent_autopilot.go). The LLM was previously told to outputGOAL_COMPLETEwhen done, but the main agent loop no longer checks for it — goal completion is determined exclusively by the strategist viaGOAL_ACHIEVED.
Goal achievement notification
- When the strategist determines the goal is achieved, a system event is now emitted:
[Strategist: goal achieved — autopilot complete. <summary>]. Previously the agent would silently return with no indication to the user why it stopped.
Upgrade notes
No breaking changes. No config migration needed.