tui-log-view-5

TUI Log view: restore 4th 'workgraph-only' mode alongside the new 3

Metadata

Statusdone
Assignedagent-855
Agent identityf51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e
Created2026-04-27T21:24:06.058162456+00:00
Started2026-04-27T21:25:18.105731233+00:00
Completed2026-04-27T21:44:46.464773075+00:00
Tagseval-scheduled
Eval score0.85
└ blocking impact0.90
└ completeness0.85
└ constraint fidelity0.85
└ coordination overhead0.85
└ correctness0.87
└ downstream usability0.80
└ efficiency0.85
└ intent fidelity0.85
└ style adherence0.85

Description

Description

The recent tui-log-view-4 rewrite added 3 view modes (events / high-level / raw-with-pretty-printing). User likes those — keep them all. But there used to be an even-higher-level view showing only workgraph-level log entries (the structured wg log writes from workers + dispatcher), not the per-event LLM stream. That view is now missing.

User quote: 'There's still the even higher level view which is only the WG log messages that are being placed. That should be like agent log or I don't know what you want to call that but that seems like it should matter too. It was whatever it was before. Now I'm not sure I see that version anymore. But all the ones that are there right now are cool. Leave them all. Just add this one back in.'

Desired end state

  • 4 view modes total in the TUI Log view (was 3 after the rewrite, restoring this brings it to 4)
  • New mode shows ONLY workgraph-level log entries (the things written via wg log / dispatcher status writes / task lifecycle transitions) — no LLM tokens, no per-tool-call events
  • Naming: open question. Candidates: 'agent log', 'wg log', 'workgraph events', 'task log'. Pick whatever fits the existing tab/mode UI; user is flexible
  • Cycling through modes (presumably via the same key/triangle that switches the existing 3) reaches all 4
  • Default view does NOT change

Investigation needed first

  1. What was the pre-rewrite log view actually rendering? Source it from git blame / pre-rewrite commits on src/tui/log_view* or wherever the log viewer lives
  2. What's the data source for 'workgraph-level events' — task graph append-log? Per-task log file? Service daemon log? Confirm which feed the user actually wants
  3. How does the new 3-mode rewrite cycle modes? Use the same control surface for the new 4th mode

Validation

  • TUI Log view exposes 4 modes; the existing 3 are unchanged
  • New mode renders ONLY workgraph-level log entries (visually distinct from the events/high-level/raw modes — no LLM stream content)
  • Mode-cycle control reaches the new mode without changing default
  • Manual smoke: open TUI, navigate to Log view, cycle through all 4 modes on an active task, confirm content distinctions
  • cargo build + cargo test pass with no regressions

Depends on

Required by

Log