Skip to content

v1.3.163

Choose a tag to compare

@topcheer topcheer released this 17 Jul 17:59

ggcode v1.3.163

Highlights

Strategist context enrichment

  • The autopilot strategist now receives tool call summaries in its conversation context. Previously, all tool_use and tool_result blocks 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_COMPLETE instructions from every LLM-facing prompt (system prompt in agentruntime/prompt.go and goal-collection instruction in agent_autopilot.go). The LLM was previously told to output GOAL_COMPLETE when done, but the main agent loop no longer checks for it — goal completion is determined exclusively by the strategist via GOAL_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.

Compare

v1.3.162...v1.3.163