Skip to content

tui: Workflow panel, rotating coaching notes, titles in the context browser#786

Open
iamtoruk wants to merge 1 commit into
mainfrom
feat/tui-workflow-titles
Open

tui: Workflow panel, rotating coaching notes, titles in the context browser#786
iamtoruk wants to merge 1 commit into
mainfrom
feat/tui-workflow-titles

Conversation

@iamtoruk

Copy link
Copy Markdown
Member

Phase 1 for the terminal surfaces.

Workflow panel in the dashboard grid (paired with Claude Agent Types, existing responsive collapse): Corrections N% with count, First edit median, Rework top file with session count, Coverage N% priced. Reuses the workflow-insights functions over the already-parsed projects, no re-parse. Coverage computes null with no cost-bearing calls and the row drops entirely. Panel hides with no signal. Footer rotates one coaching note every 12s as a tip line, only when notes exist.

Context browser rows now lead with the captured title (untitled sessions read as untitled session), the 8-char id demoted into the dim metadata cluster with columns aligned; proven at 140 and 100 columns via pty drives on a real cache copy, with the real panel reading Corrections 0% (7) / First edit 6m / Rework sdk.py x15 / Coverage 95%.

18 new tests; typecheck green.

Wave-review note: surfaces currently differ on rounds-to-zero correction rates (app renders 0%, menubar hides, TUI renders 0% with count). Suggest settling one convention across the wave before merging, likely showing sub-1% as <1% (N).

Part of the phased surfacing wave; PRs only, no release.

… list

Phase-1 TUI additions, all reusing the parsed projects the dashboard already
holds (no re-parse):

- Workflow panel: a compact box in the grid beside Claude Agent Types showing
  Corrections (N% with count), First edit (median), Rework (top file basename
  x sessions) and Coverage (share of cost-bearing calls priced). Coverage is
  dropped when there is nothing to price so it never shows a hollow 100%. The
  panel hides when there is no signal at all (no user turns and no churn) and
  follows the existing half-width/stack responsive behaviour.
- Footer coaching note: rotates one buildCoachingNotes line through the footer
  above the status bar, only when notes exist.
- Context browser: the AI title is now the primary label with the short id
  demoted into the dim metadata cluster, columns kept aligned.

Pure formatting/selection helpers are covered by tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant