Measured on a real 39-request session: 96% cache hit, but context grew to 72.8k tokens and tool results were 430k+111k resent tokens (bash/read).
mask::mask_old_results (applied to the request only; session file keeps originals): tool results >= 4000 bytes older than the last 8 assistant turns become [elided old tool result: <tool> <args> (N bytes); run the tool again if you need it]. The boundary moves in steps of 8 turns, so the masked prefix is byte-stable between requests and the prompt cache breaks once per 8 turns, not every turn.
Agent::compact can now cut inside a tool loop (no user prompt to cut at): cuts before an assistant message, summary becomes its own leading user message, tool_use/tool_result pairs stay intact. Removes the old ponytail limitation.
Tests: masking steps/stability/small-result exemption; compaction inside a tool loop. tests/all.sh green. Compare with hx stats before/after on a comparable session.
Measured on a real 39-request session: 96% cache hit, but context grew to 72.8k tokens and tool results were 430k+111k resent tokens (bash/read).
- `mask::mask_old_results` (applied to the request only; session file keeps originals): tool results >= 4000 bytes older than the last 8 assistant turns become `[elided old tool result: <tool> <args> (N bytes); run the tool again if you need it]`. The boundary moves in steps of 8 turns, so the masked prefix is byte-stable between requests and the prompt cache breaks once per 8 turns, not every turn.
- `Agent::compact` can now cut inside a tool loop (no user prompt to cut at): cuts before an assistant message, summary becomes its own leading user message, tool_use/tool_result pairs stay intact. Removes the old ponytail limitation.
- Tests: masking steps/stability/small-result exemption; compaction inside a tool loop. tests/all.sh green. Compare with `hx stats` before/after on a comparable session.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Measured on a real 39-request session: 96% cache hit, but context grew to 72.8k tokens and tool results were 430k+111k resent tokens (bash/read).
mask::mask_old_results(applied to the request only; session file keeps originals): tool results >= 4000 bytes older than the last 8 assistant turns become[elided old tool result: <tool> <args> (N bytes); run the tool again if you need it]. The boundary moves in steps of 8 turns, so the masked prefix is byte-stable between requests and the prompt cache breaks once per 8 turns, not every turn.Agent::compactcan now cut inside a tool loop (no user prompt to cut at): cuts before an assistant message, summary becomes its own leading user message, tool_use/tool_result pairs stay intact. Removes the old ponytail limitation.hx statsbefore/after on a comparable session.