Each agent loop's own context fill, measured per request; a one-line CONTEXT_PCT_ALERT rides that agent's next tool result. Subagents: absolute 200k warn / 250k finish / 300k stop (stop line on every result); main: 70/75/80% of its window. Controllers get CHILD_CTX on Agent and SendMessage results and CHILD_CTX_ALERT when a live child passes 250k/300k
context-band
Tekkiiiii/the-agency
Band above the prompt: context %, tokens, model, cost, prompt-cache size/share/TTL countdown, 5h and weekly usage-window reset timers and next-request estimate; /ctx opens a detail pane; toast when a background subagent finishes; Jev router line (today's calls, tokens, USD, Haiku fallback) and outage warning, hidden unless the router usage log exists
loop-guard
Tekkiiiii/the-agency
Stall detector per agent loop: 5 identical tool calls in a row warn that loop and leave the session-state.json stall marker for the next SessionStart
spawn-ledger
Tekkiiiii/the-agency
Spawn log (spawn_start/launched/end + cost, native agentId lineage), artifact check and in-session RESPAWN_REQUEST pickup for every subagent, background included
voice-compact
Tekkiiiii/the-agency
Startup token diet: rewrites the long CAVEMAN / PONYTAIL MODE ACTIVE hook-context injections into ~150-token compact rules (level kept, pointer to /caveman or /ponytail)