Repository navigation
Conversation
…ontent (ENG-1071) Slice F4-F5 of docs/plans/tui-focus.md. Auto inspector needs an expanded call or a workspace view; the rule names a waiting approval only when the rail is off-screen; related sessions collapse to one summary row; the top row drops a known zero cost.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a90638fe83
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…i-one-place Also: the rule names waiting approvals the rail did not paint (capped or scrolled out), so each is named exactly once.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
1 similar comment
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d38566052b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…i-one-place # Conflicts: # docs/plans/progress/tui-focus.md
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
1 similar comment
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
qq/crates/qq-tui/src/view/chrome.rs
Lines 359 to 361 in 22d2a63
When two or more approvals are off the rail and the first session has a long title—for example on a Compact terminal—this formats the title and +N need approval as one string, after which rule_with truncates from the right. The count and answer/jump hints therefore disappear before the title is shortened, leaving no indication that additional approvals are waiting despite the F4–F5 requirement to truncate the name before the count. Truncate the first title to a budget that reserves space for the count and controls.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Addresses Codex on #360.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 989fd25029
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…nswer chords on a full rule (ENG-1071) Addresses the second Codex review on #360: Alt-A/Alt-D, Ctrl-G and the related-agents summary skip delegate-owned holds; when the rail names every approval the rule drops ordinary hints and truncates the status before the approval chords. Merges the F1-F3 fixes.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3375d38753
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…i-one-place # Conflicts: # crates/qq-tui/src/app.rs
…ces, drop the third pointer (ENG-1071) Addresses Codex on #360 and the fourth #354 round: unseen session failures and scrolled-out agents are named or counted on the rule, a notice no longer hides the answer chords, and the related-agents row counts work by the rail's rules with no approval count. Merges F1-F3 fixes.
…eed at minimum width, document LayoutDemand (ENG-1071) Addresses the latest Codex review on #360.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
1 similar comment
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2361601223
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… column (ENG-1071) Addresses the latest Codex review on #360.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
1 similar comment
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e75fe013b7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… strip under a notice (ENG-1071) A drawn card row carries its child's SessionId, so message text shaped like a card no longer suppresses the rule's naming. With the strip on screen a transient notice keeps the answer and jump chords but no second count; without it a long notice truncates so the pointer stays. Addresses the 11th Codex review on #360 and #354.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
1 similar comment
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0699f1b76f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // title happens to start with, sits at another column and does | ||
| // not count, and a title squeezed to its ellipsis is gone. | ||
| let title = &app.sessions[&id].summary.title; | ||
| let want: String = title.chars().take(2).collect(); |
There was a problem hiding this comment.
Count a one-cell title as visible
When a 20-column rail's agent, working, and unread badges leave exactly one cell of a multi-character title, the row visibly renders that first character before the ellipsis, but this two-character predicate treats it as unnamed. The composer therefore repeats the same approval even though the rail's title span retained a cell, violating the one-place-per-fact contract. Fresh evidence beyond the settled fully-clipped-title cases is this partially visible one-cell title; detect whether the title span retained any cell rather than requiring its first two characters.
AGENTS.md reference: AGENTS.md:L207-L207
Useful? React with 👍 / 👎.
…i-one-place # Conflicts: # crates/qq-tui/src/view/chrome.rs # docs/plans/progress/tui-focus.md
…i-one-place # Conflicts: # crates/qq-tui/src/app.rs # crates/qq-tui/src/view.rs # crates/qq-tui/src/view/tests.rs
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fb9f041baf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
| column += UnicodeWidthChar::width(character).unwrap_or_default(); | ||
| } | ||
| column >= title_column && text[at..].starts_with(want.as_str()) |
There was a problem hiding this comment.
Distinguish the ellipsis from a visible title
When a waiting session title begins with . and the rail badges leave no cells for the title, truncate_line places ... at title_column, so this string comparison mistakes the generated ellipsis for the title's first character. The fresh evidence beyond the prior marker and badge collision cases is this truncation-generated text: the composer suppresses the only named approval notice even though the rail shows no title. Track whether the title span retained a display cell instead of comparing rendered text.
Useful? React with 👍 / 👎.
| app.frame_named = std::mem::take(&mut self.named); | ||
| app.frame_carded = std::mem::take(&mut self.carded); |
There was a problem hiding this comment.
Clear frame naming state on undersized frames
When the terminal is resized below 32×9 after a frame containing a named rail row or child card, the undersized-frame return clears rail_painted and drawn but leaves the renderer's new named and carded vectors intact; commit therefore copies stale visibility into these app fields. Keyboard commands are still handled on the warning screen, so Alt-A/Alt-D can treat an old card as painted and answer an approval whose title is no longer visible. Clear both naming vectors before returning the undersized frame.
Useful? React with 👍 / 👎.
|
Closing in favor of the v0.1.11 TUI plan (ENG-1104, |
F4–F5: name each approval once and open the inspector only with content
Spec: docs/plans/tui-focus.md#f4f5-one-place-per-fact-panes-on-demand Linear: ENG-1071 (parent ENG-1067)
Stacked on #358.
What changed
compute_layouttakesLayoutDemand { sessions, inspector_content }.Autoshows the inspector from Wide only while the focused pane has an expanded tool call or a workspace view (/attention,/changes); otherwise its 40–80 columns go back to the transcript.Alt-I→Shownstill pins it (empty hint kept).↳ ◇row names it and the rule leads withM-A/M-D answer ^G jump.related sessions(agents not under a spawn call) collapses to one row:↳ 1 agent · ◐ 1 · ◇ 1 /agents.$0.00).How verified
cargo xtask check
Head
a90638fe8359vsorigin/main; 85 changed file(s); scope: qq, qq-tui, xtask.cargo fmt --all -- --checkcargo xtask lintcargo clippy --color never -p qq -p qq-tui -p xtask --all-targets --all-features -- -D warningscargo nextest run --color never --profile default -p qq -p qq-tui -p xtaskqq headless::tests::closing_goal_host_drains_accepted_work_without_admitting_successors: panicked at src/headless.rs:4553:18The one failure is the pre-existing wall-clock flake ENG-1074 (fails identically on
origin/mainon this loaded host; passed in CI on #356;src/headless.rsuntouched). All 404qq-tuitests pass.a_waiting_approval_is_named_once_per_frame_outside_its_transcript(Regular with rail, rail hidden, Compact),the_top_row_omits_a_known_zero_cost;wide_carves_an_inspector_past_the_measurenow covers empty-Auto-hides and Shown-pins; inspector/workspace/related tests updated.$0.00; no empty inspector at 200/320/480 so the transcript regains the width; summary row; rule chords).Measurements
cargo bench -p qq-tui --bench rendermedians (raw: target/qq-perf/tui-focus-F4-2026-10-18/), vs #356:Docs
docs/design/layout.md§ Principles, § Tiers, § Inspector;docs/guide/tui.md§ Layout, § Files the agents changed; ledger receipt.Compatibility