Pi Mono: Context Accounting Fixes and Subagent Cleanup
Two fixes tighten how context and compaction summaries are measured to prevent false over-limit states, while a UI change simplifies the subagent view. The dominant pattern is reliability in context handling.
Duration: PT2M7S
Episode overview
This episode is a short developer briefing from Pi Mono.
It explains recent repository work in plain language.
- Show: Pi Mono
- Published: 2026-11-22T06:03:29Z
- Audio duration: PT2M7S
Source and disclosure
Pi Mono is an unofficial, AI-generated summary of public activity in badlogic/pi-mono on GitHub.
Podlog isn't affiliated with or endorsed by the project or its maintainers. Episodes aren't reviewed by a person before they go out, so check the source repository for the full story.
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning, it's Sunday, November twenty-second, twenty twenty-six, and this is Pi Mono.
The lead story is context accounting. Two fixes address cases where the agent mismeasured its own context window, with direct effects on reliability.
First, projected usage. In pull request twelve-three-seven-eight, the projected context estimate was discarding the provider's measured usage whenever any later context edit existed, even if that edit just removed a failed overflow recovery turn. The fallback estimated by character count, and in one real session…
Related is compaction summary sizing, in pull request twelve-three-eight-zero. The pinned summary request was sized at eighty percent of reserved tokens, capped by the model's output limit. It now uses ten percent of the model's context window, still capped by the output limit, with a floor of one. That ties the…
Second theme is subagent interface cleanup. In commit nine-c-four-six-five-two-six, the subagent conversation drops the panel above the composer that showed tools, location, and archive. Archive, or restore when archived, moves to the top bar menu, matching how the main conversation opens its session options.…
A separate fork and…
Nearby episodes from Pi Mono
- Streaming Speedup and Provider Error Visibility
- Crash Hardening and Model Cleanup
- Weekly Recap - Lifecycle Reliability, Provider Compatibility, and Interface Polish
- Surviving Dropped Connections
- Tagged Unions, Provider Fixes, and Windows Cleanup
- Terminal Cleanup, Selector Fixes, and Provider Strictness
- Projects Rebuild Sidebar, Agent Reliability Fixes
- TUI Stability Fixes and GPT-6.2 Defaults