Skip to content

[TUI] Make diff view explain why one run is slower or costlier #147

Description

@luoyuctl

Problem

The diff view compares two sessions, but it does not explain clearly why one run is slower, costlier, or lower quality. The user has to infer the answer from raw metrics.

Current screenshot:

Diff

Expected direction

  • Add a one-line verdict: slower because of duration, tools, failures, context, or model change.
  • Show deltas for cost, tokens, duration, turns, tools, fail count, and health.
  • Use direction-aware styling for better/worse values.
  • Keep the side-by-side metrics, but make the explanation primary.

Validation notes

Captured from a real local run, not demo data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions