fix-wg-html-2

Fix: wg html in-progress tasks render blue, should be yellow (matches TUI canonical palette)

Metadata

Statusdone
Assignedagent-1497
Agent identityf51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e
Created2026-05-02T02:50:37.113854417+00:00
Started2026-05-02T02:51:49.735425203+00:00
Completed2026-05-02T03:11:12.270059904+00:00
Tagsfix,html,viz,polish,color, eval-scheduled
Eval score0.85
└ blocking impact0.90
└ completeness0.90
└ constraint fidelity0.70
└ coordination overhead0.90
└ correctness0.85
└ downstream usability0.85
└ efficiency0.85
└ intent fidelity0.80
└ style adherence0.85

Description

Description

polish-wg-html (agent-1278) shipped the chat-task-blue override and markdown rendering, but did NOT correct the in-progress task color. In-progress tasks still render BLUE in wg html when they should render YELLOW (matching the TUI canonical palette).

User report 2026-05-01: 'in wg html we dont use the nice yellow color we have for active tasks. it's blue for some reason. needs fixing.'

Confirmed canonical palette (from earlier user input)

  • open: white
  • in-progress: YELLOW (this is what's wrong)
  • done: green
  • failed: red
  • abandoned: gray
  • pending-eval (after-done): light green
  • pending-eval (after-fail): light orange
  • chat task (any status): blue (already correct via polish-wg-html)
  • paused: dim-gray with ‖ glyph (per fix-paused-tasks)

Fix

Find the html status palette mapping (whatever polish-wg-html created/edited). Verify chat-task=blue is intact (don't break it). Change in-progress mapping from blue → yellow, matching the TUI's actual rendered color.

Reuse the TUI palette source if there's a shared module. Otherwise extract the in-progress yellow RGB from src/tui/viz_viewer/state.rs (around line 271 if state.rs:271 is still the location, OR the actual current location post-revert-redo-fix changes).

Validation

  • Failing test or visual repro: render a project with at least one in-progress task. Pre-fix: yellow expected but blue rendered. Post-fix: yellow.
  • Chat tasks (any status) still render BLUE — chat-blue override from polish-wg-html intact
  • All other status colors unchanged
  • Both dark and light themes correct
  • cargo build + cargo test pass
  • cargo install --path . was run before claiming done

Process note

This is the second 'palette polish missed something' in the same area. The agent picked up the explicit task title items but missed refinements logged later. For palette work specifically, the validation should be: render every status, screenshot/cite the expected RGB for each, compare. Future palette tasks should require this comprehensive validation rather than per-status-mention treatment.

Depends on

Required by

Log