tui-events-log

TUI events log: inline status prefix on tool calls; remove '✓ Task' line that breaks formatting

Metadata

Statusdone
Assignedagent-875
Agent identityf51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e
Created2026-04-27T21:45:18.720753703+00:00
Started2026-04-27T21:50:16.842249726+00:00
Completed2026-04-27T22:00:41.146817844+00:00
Tagseval-scheduled
Tokens2909000 in / 8943 out
Eval score0.91
└ blocking impact0.90
└ completeness0.95
└ coordination overhead0.85
└ correctness0.95
└ downstream usability0.90
└ efficiency0.85
└ intent fidelity0.94
└ style adherence0.90

Description

Description

Proposal for the 'events' log view (one of the 3 modes from tui-log-view-4). User-reported issue with current rendering:

 ⌁ Bash → wg show test-task-2 2>&1 | head -30 && echo "---" && wg show test-task-3 2>&1 | head -30
 ✓ Task: test-task-2 this ...

Two problems:

  1. Tool call shows as ⌁ Bash (space between symbol and tool name) with no inline indication of its outcome
  2. A separate ✓ Task: ... line gets emitted afterward that disrupts the line formatting of the output

Desired end state

Tool-call rendering becomes a single inline element with a leading status prefix:

  • Running: ⌁Bash → <command> (no space between ⌁ and Bash; ⌁ alone signals 'in flight')
  • Success: ✓⌁Bash → <command>
  • Failure: x⌁Bash → <command> (or whatever nicer single-char/symbol fits — user is flexible: 'whatever nice equivalent char there is for ✓ on failure')

And: drop the separate ✓ Task: ... line entirely. Status belongs on the tool line, not on its own row that breaks the visual grouping.

Notes

  • Same control logic for the success/failure prefix should apply to all tool kinds (Bash, Read, Edit, Write, etc.), not just Bash
  • Layout: tool line should remain single-line until the tool result arrives; updating in place (or appending the prefix) when the result lands
  • 'x' is just a placeholder — feel free to use ✗ / ✘ / ! / 🚫 / etc. if it fits the existing TUI character palette better; pick something that visually pairs with ✓

Validation

  • In events mode: a successful Bash tool call renders as one line with ✓⌁Bash prefix after completion
  • A failed Bash tool call renders with the failure prefix on the same line
  • No standalone ✓ Task: ... line appears in events mode
  • In-progress tool calls show ⌁Bash (no leading status, signaling 'still running')
  • Same prefix logic applies to non-Bash tools (Read, Edit, Write, etc.) — verify with at least 2 tool kinds in a manual smoke
  • Other 2 view modes (high-level, raw-with-pretty-printing) unchanged
  • cargo build + cargo test pass with no regressions

Depends on

Required by

Log