Skip to content

fix(tui): silence trim signals and tool execution times - #52

Merged
jkyberneees merged 1 commit into
mainfrom
feat/silence-trim-and-tool-time
Aug 31, 2026
Merged

fix(tui): silence trim signals and tool execution times#52
jkyberneees merged 1 commit into
mainfrom
feat/silence-trim-and-tool-time

Conversation

@jkyberneees

Copy link
Copy Markdown
Contributor

What\n\n- Trim signals silencedagent_signal with subtype trim no longer reaches the notice strip (internal/tui/events.go). Other subtypes keep flowing; the case is the extension point for any future actionable signal.\n- Tool execution times silenced — the compact tool-step right rail no longer renders the per-call duration (internal/tui/view.go). The rail now carries only the typed chip (diffstat / ✓ tests pass). Durations stay recorded on the step struct for future surfaces (/stats, drawer).\n\nUntouched by scope: memory merges, skill loads, sub-agent telemetry (incl. card durations), all command feedback.\n\n## Why\n\nOnly transient messages the user can act on belong in the output; trim notices and per-tool execution times are engine housekeeping — internal noise, not actionable content.\n\n## Tests\n\nTDD, RED-first:\n- TestTrimSignalSilenced — trim posts no notice; non-trim subtypes still do\n- TestStepDuration — flipped: a done step head must NOT render a duration (recording still asserted)\n\nGates: make fmt ✓ · make vet ✓ · make lint 0 issues ✓ · make test (race) all packages ✓

Engine housekeeping is not user-actionable and no longer surfaces: agent_signal/trim never reaches the notice strip (other subtypes keep flowing), and the per-step execution time is dropped from the compact tool-step right rail, which now carries only the typed chip (diffstat / test verdict). Durations are still recorded on the step struct.

Doc sync: README engine-notices bullet, INTEGRATIONS event table, REDESIGN step-line spec.
@jkyberneees
jkyberneees merged commit f92bc73 into main Aug 31, 2026
7 checks passed
@jkyberneees
jkyberneees deleted the feat/silence-trim-and-tool-time branch August 31, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant