Repository navigation
Fixes from a review of the newest 50 sessions (0.9.33–0.12.5).
- A swarm's requests are paced after a rate limit. Every subagent of a session used to sleep to the same cooldown and fire together, over the limit again (one day: 3,029 retries and 3.3 hours of backoff in 21 minutes; reproduced on 0.12.5 with 725 retries). Now the session's requests start at least a spacing apart once a 429 has been seen: 1 s, doubling up to 8 s on each further 429 and shrinking by a quarter after every successful reply until it is gone. The wait shows as “pacing the provider's rate limit” and doesn't count against the request's retries.
- A provider that sends no cache field is logged as
"cached": null, not0:cm1/qwen3.8-flash-nextread 35% cached over 73 turns while its cache was hitting all along.scripts/sessions.pyreports such turns as unknown and leaves them out of the cached share. - Subagents are no longer offered
advisorandexit_plan_mode, which always refused their calls; in plan mode they're told to write the plan in their final message. The main session's tool list is unchanged. - A
grep,rg,diff,whichorpgrepthat finds nothing at the end of a pipeline is an answer, not a failed command (“exited with code 1 (grepmatched nothing)”); 86 of 779 bash failures in the review were of this kind. A failing stage before it still fails. - A compaction summary that comes back as tool calls, or empty, is asked for once more with the calls answered “Not run”, instead of dropping the compaction and postponing the next try.
- A gateway's HTML error page is logged as its text, a reasoning-only reply that is retried names its token cost, and
web_searchonly asks for an API key when none is set. - A line of bash output longer than 2,000 characters is cut (the whole output is still spilled to the file), like
read. scripts/sessions.pycounts prompts hidden behind reminder blocks, measures request times without retry waits, and finds a fixedsleepanywhere in a command;scripts/probe.pytrusts a provider'sca_file.
Install: curl -fsSL https://github.com/timwuhaotian/killi/raw/main/install.sh | sh (macOS Apple silicon, Linux x64 and arm64), or killi update. Full history: CHANGELOG.md