Fewer turns per task = fewer resent-context tokens.
Default prompt: one line telling the model to issue independent tool calls together (they already run in parallel via call_all).
codemode on: one static prompt line (3+ independent reads, or filter large output). Appended once, cache-safe.
New hx_core::nudge::BatchNudge hook: after 3 consecutive turns with a lone read-only call (read, or bash rg/fd/ls/cat/...), injects a one-line hint at turn end (fires once, then resets; any other call breaks the streak). Wording depends on codemode on/off.
codemode result header now says N tool calls so sessions show how much one script replaced.
Tests: nudges_after_streak_then_resets; fmt + tests/all.sh green.
Not done: live inner-call events in TUI; trimming the codemode tool list (measure first).
Fewer turns per task = fewer resent-context tokens.
- Default prompt: one line telling the model to issue independent tool calls together (they already run in parallel via `call_all`).
- `codemode` on: one static prompt line (3+ independent reads, or filter large output). Appended once, cache-safe.
- New `hx_core::nudge::BatchNudge` hook: after 3 consecutive turns with a lone read-only call (`read`, or bash `rg/fd/ls/cat/...`), injects a one-line hint at turn end (fires once, then resets; any other call breaks the streak). Wording depends on codemode on/off.
- codemode result header now says `N tool calls` so sessions show how much one script replaced.
Tests: `nudges_after_streak_then_resets`; fmt + `tests/all.sh` green.
Not done: live inner-call events in TUI; trimming the codemode tool list (measure first).
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.
Fewer turns per task = fewer resent-context tokens.
call_all).codemodeon: one static prompt line (3+ independent reads, or filter large output). Appended once, cache-safe.hx_core::nudge::BatchNudgehook: after 3 consecutive turns with a lone read-only call (read, or bashrg/fd/ls/cat/...), injects a one-line hint at turn end (fires once, then resets; any other call breaks the streak). Wording depends on codemode on/off.N tool callsso sessions show how much one script replaced.Tests:
nudges_after_streak_then_resets; fmt +tests/all.shgreen.Not done: live inner-call events in TUI; trimming the codemode tool list (measure first).