Fixed

  • Unbounded memory growth in command blocks slice — capped with copy+reslice eviction

  • Scrollback buffer O(n) shifting replaced with pre-allocated ring buffer

  • Per-frame allocations reduced — cached Leaves() on LayoutNode, ASCII rune-to-string lookup table

  • Stale git status goroutines leak on CWD change — now cancelled with context + 5s timeout

  • Upgrade Go from 1.25.8 to 1.26.1 (fixes GO-2026-4599 and GO-2026-4600 in crypto/x509)

Added

  • Optional pprof HTTP endpoint for runtime profiling (pprof.enabled = true)

  • Suspend game loop after 5s unfocused — TPS drops to 1, terminal polling paused