Skip to content

TUI: expose session activity and efficiency in an inspectable stats view #201

Closed

Description

@qwen-code-dev-bot

Parent: #195

Problem

The footer provides compact status, but users cannot inspect where session time, context, model requests, and tool activity went without reading raw logs.

Scope

  • Add a keyboard-friendly stats view backed only by existing canonical telemetry.
  • Separate session activity, context usage, model activity, tool outcomes, and elapsed or waiting time.
  • Distinguish measured values, estimates, unavailable values, and redacted values.
  • Keep the default conversation uncluttered and support narrow terminals and no-color output.

Acceptance criteria

  • No cost, token, latency, or success value is fabricated when the provider or runtime did not report it.
  • Aggregation is deterministic across resumed sessions and does not double count retries or restored events.
  • Tool names and failure summaries are secret-safe and link back to inspectable session events.
  • A stable non-interactive JSON form is available for automation without ANSI formatting.
  • Focused tests cover missing telemetry, retries, resume, redaction, and aggregation.
  • A real terminal/tmux E2E receipt at the exact PR head demonstrates navigation, unavailable fields, narrow layout, and parity with the machine-readable result.

Activity

  1. added
    enhancementNew feature or request
    agent-readyTrusted issue ready for autonomous implementation
    subtaskFocused child of a parent issue
    priority:p2Normal priority: schedule in regular order
    source:userNormalized execution work promoted from a user report
    agent-activeIssue currently owned by the autonomous agent
    and removed
    agent-readyTrusted issue ready for autonomous implementation
    agent-activeIssue currently owned by the autonomous agent
    on Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:p2Normal priority: schedule in regular ordersource:userNormalized execution work promoted from a user reportsubtaskFocused child of a parent issue

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions