Skip to content

v1.3.288

Choose a tag to compare

@topcheer topcheer released this 20 Nov 19:55
· 167 commits to main since this release

ggcode v1.3.288

Highlights

  • Swarm: direct-delivered tasks now land on the board when finished (f614a7f). swarm_task_create with an assignee delivers the task to the teammate's inbox, but the direct path never wrote the board on completion - finished tasks stayed pending forever, and every restart's idle poller re-claimed and re-ran work the user had already received ("teammate shows working right after restore, redoing finished work"). The runner now marks the task completed (guarded update) as soon as execution succeeds; failure paths keep existing retry semantics.
  • Swarm: restart-storm redo loop parked (1aa2894). A ctx-cancel rollback could requeue the same task indefinitely across repeated restarts; the rollback now parks the task at a retry ceiling instead of looping forever.
  • Permission: runaway command-pattern compilation refused (fe693cc). A pathological deny-rule pattern could stall startup and balloon RSS (fleet 2.5GB startup incident); such patterns are now rejected before compilation and compiled regexes are cached process-wide.
  • TUI/chat render-path performance (8be998a, 1c34403). Render-path regexes hoisted out of per-frame tool renders, and the composer cost hint no longer copies the full UsageHistory every frame.

Fixes and improvements

  • fix(swarm,tool): teammate_results returns the archived per-task result instead of the session-level last output - fixes result misattribution and duplicate completion reports (62fc90c)
  • fix(tool,agentruntime): team tools reject unconfirmed sessions instead of panicking (#5867, 4121feb)
  • perf(tui,session): composer cost hint stops per-frame full UsageHistory copies (#5868)
  • perf(chat): render-path regex hoist with A/B benchmarks (#5831/#5867 evidence)
  • docs(design): per-frame allocation rule for render paths; swarm forensics notes pinned
  • Release-process note: an experimental "freeze pre-restart tasks on restore" change (07614d0) was reverted (ec73368) after live fleet feedback - restored teams keep the resume-on-restart behavior; completion now lands on the board instead.

Upgrade notes

  • No config changes. Teams restored from previous versions will keep resuming interrupted work on restart, as before; the difference is that completed direct-delivered tasks no longer get re-run.
  • Operators who hand-edited board JSON files under ~/.ggcode/swarm/teams/ should let the runner own board state going forward; the completion path is now closed-loop.

Compare

v1.3.287...v1.3.288