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
New commands: /tools, /debug export, /cost all, /title.
Sub-Agent Management
Concurrent sub-agent limit (max 5): prevents resource exhaustion from spawning
too many parallel agents. Returns clear error when limit reached.
Result size cap (100KB): sub-agent results exceeding 100KB are truncated with a
notice, preventing context window flooding from large file reads.
Activity-based watchdog: cancels sub-agents with no activity for 10 minutes,
preventing zombie processes from consuming concurrency slots.
Terminal agent purging: retains max 20 completed agents, purging oldest to bound
memory growth in long-running sessions.
spawn_agent tool name validation: validates tool names against registry at spawn
time, preventing silent failures from typos.
Budget Guard
Absolute token warning: fires once when cumulative output tokens exceed 200K,
catching runaway sessions missed by escalation pattern detection.
Generation speed indicator (tok/s): shows real-time generation throughput in the
status bar during streaming, helping distinguish "thinking" from "slow generation".
Memory Curation
Automatic dedup: multiple versions of the same memory prefix (e.g.,
competitor-analysis-2025-07 vs 2026-07-13-r3) — only the latest is loaded.
Expiry: impl-task/-fix/-bug memories expire after 30 days; architecture/design
memories never expire.
Classification: memories are classified and filtered at load time; files are not
deleted, only filtered from the system prompt index.
Diagnostics: debug.Log reports active/expired/deduped counts on each load.
Context Engineering
Adaptive compaction retention: recent group retention adjusts dynamically during
compaction based on context fill level.
TTL-based memoize cache invalidation: file edits automatically invalidate
memoize cache entries for the affected path.
on_compaction hook: new lifecycle hook fires when context compaction occurs.
System prompt size warning: warns when system prompt exceeds 15% of context
window.
Stability
LLM transient error retry: 429/503 errors retried at agent loop level with max
retry limit.
Checkpoint cache invalidation: /undo and /revert properly invalidate tool caches.
Goroutine leak fix: broker.Stop() called in StopShare to prevent leak.
Goroutine leak fix: P2P transport StopShare broker cleanup.
OOM Protection
CommandTool output cap (1MB): plugin command output capped via LimitReader.
Large file diff protection: OOM guard for oversized diffs.
Large paste warning: warns when pasting large content into input.
UX
tok/s indicator: real-time generation speed in status bar.
Terminal bell on completion: audible alert when long-running tasks finish.
/tools command: lists all available tools.
/debug export: one-click debug log export to file.
/cost all: cross-session cost tracking.
/title command: rename sessions.
Generation speed (tok/s): shown in status bar during streaming.
Approval preview expanded: from 220 to 500 chars.
Security
isSensitivePath expansion: now covers .env and credential files.
Runtime required field validation: high-risk tools validate required fields.
API key leakage prevention: WebUI endpoints JSON no longer exposes keys.
Internal
grep sort by path depth: files_with_matches results sorted by relevance.
MCP error messages: include server name for all tool errors.
Swarm BlockedBy enforcement: dependencies enforced during task claiming.
IM panel cleanup: removed redundant "current binding" section from all 14 panels.
Knight skill promoter: uses AtomicWriteFile for safe frontmatter mutation.