tui: Workflow panel, rotating coaching notes, titles in the context browser#786
Open
iamtoruk wants to merge 1 commit into
Open
tui: Workflow panel, rotating coaching notes, titles in the context browser#786iamtoruk wants to merge 1 commit into
iamtoruk wants to merge 1 commit into
Conversation
… 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.