You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
ggcode v1.3.289
Highlights
Prompt prefix-cache stability (the #5892 ten-round fix series). The dynamic system-head sections (package symbol map, dependency graph) were silently truncated by 200ms scan budgets smaller than the real full-scan cost. Every 5-minute head refresh published a different partial snapshot (package counts flipped, fan-in cycled), invalidating the LLM prompt prefix cache every cycle - with ~200k-token conversations a full-cache miss as often as every 5 minutes. Root cause: both scan budgets raised to 2s (rounds 12/13); six earlier hardening PRs surfaced every silent truncation entrance into the stable-fallback path. #5390 CI race round 2 also fixed: ledger lock now owner-checked (kill -0 liveness before stale-break) and git forks moved out of the critical section - the release-CI test failure loop is gone.
Verified by provider-reported cache hits. Post-fix instrumentation (opt-in via ~/.ggcode/ctx-sample) shows consecutive turns at hit_ratio=1.0 with cache_read ≈ previous turn's full input. Cache misses dropped from every-5-min to effectively never.
WebUI: teammate activity streams into the subagent panel.
Provider: genai upgraded to v1.79.1 with APIVersion pinned to v1beta.
Fixes and improvements
fix(agent): stop dual-writing the system head from UpdateSystemPrompt (#5892)