Skip to content

docs(plans): plan sessions-first TUI focus slices (ENG-1068) - #354

Closed
lg2m wants to merge 23 commits into
mainfrom
docs/eng-1068-tui-focus-plan
Closed

lg2m wants to merge 23 commits into
mainfrom
docs/eng-1068-tui-focus-plan

Conversation

@lg2m

@lg2m lg2m commented Oct 18, 2026

Copy link
Copy Markdown
Collaborator

P0: plan the sessions-first TUI focus slices

Spec: docs/plans/tui-focus.md Linear: ENG-1068 (parent ENG-1067)

What changed

  • New plan docs/plans/tui-focus.md and ledger docs/plans/progress/tui-focus.md; index rows in both READMEs.
  • Vocabulary: session = root conversation, agent = sub-agent. Lists show sessions by default; agents surface when they need the user, under the focused session, or on expand/search.
  • Slices (stacked on this PR): F1–F2 roll-up + sessions-only rail (ENG-1069), F3 sessions picker (ENG-1070), F4–F5 one place per fact + inspector on demand (ENG-1071), F6 clickable rail + transcript-scoped mouse selection copied with OSC 52 (ENG-1072).

How verified

cargo xtask check

Head 6b458d534e22 vs origin/main; 4 changed file(s); scope: no Rust package affected.

Gate Result Tests Time Command
fmt pass 1.7s cargo fmt --all -- --check
lint pass 2.2s cargo xtask lint

All gates passed in 4.0s.

Compatibility

  • PROTOCOL / DESCRIPTOR / schema: unchanged. No new dependencies planned.

Follow-ups

  • Stacked PRs for F1–F6 follow, each based on the previous branch.

Plan P0 for ENG-1067: sessions vs agents in lists, inspector on demand, clickable rail, and transcript-scoped mouse selection with OSC 52 copy.
@lg2m

lg2m commented Oct 18, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-20T08:06:04.349656Z e277d5c New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6b458d534e

ℹ️ 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".

Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
…s (ENG-1068)

Addresses Codex review on #354: inclusive spend, WAITING_AGENT_ROWS cap, single-session visibility, rule-notice condition, picker cursor fallback, qq-tui base64 manifest line.
@lg2m
lg2m added this pull request to stack #357 October 19, 2026 04:23
@lg2m

lg2m commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review
099ea55 addresses all six findings (replied inline).

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 099ea559a3

ℹ️ 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".

Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
…d a real child bench (ENG-1068)

Addresses the second Codex review on #354.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m

lg2m commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review
9ae4992 addresses the four new findings (replied inline).

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9ae49927d4

ℹ️ 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".

Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
…ng and selection geometry (ENG-1068)

Addresses the third Codex review on #354.
lg2m added a commit that referenced this pull request Oct 19, 2026
…ainst the drawn frame (ENG-1072)

Plan acceptance from the third #354 review. Merges the F1-F5 review fixes.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m

lg2m commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Something went wrong. Try again later by commenting “@codex review”.

An unknown error occurred
ℹ️ 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".

@lg2m

lg2m commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

1 similar comment
@lg2m

lg2m commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 33dd93c948

ℹ️ 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".

Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m

lg2m commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 50ea803962

ℹ️ 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".

Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
…s, grapheme cells, per-row copy prefix (ENG-1068)

Addresses the fifth Codex review on #354.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 61db2d9559

ℹ️ 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".

Comment thread docs/plans/tui-focus.md Outdated
Comment on lines +156 to +159
(ENG-1080), not done here. When an arriving summary reveals that the
focused session is under an audit, focus moves to the newest displayed
non-audit session (orphans included), as on deletion; the session a
workspace view would return to is replaced the same way.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Reset approval drafts before forced audit refocus

When a missing audit ancestor arrives while the user is partway through a multi-question ask_user prompt or a Shift-Y/Shift-N approval amendment, this forced focus change can transfer that interaction to the fallback session: question_answers and approval_amendment are App-wide (crates/qq-tui/src/app.rs:425-431), focus_session does not clear them (app.rs:2022-2039), and the next approval indexes or submits them against the newly focused call. That can submit old answers or approve/deny a different tool call. Require this automatic refocus to clear the composer and focus-scoped approval state—or key that state by tool-call ID—and add an ancestry-revelation regression for a partially answered question and an armed amendment.

AGENTS.md reference: AGENTS.md:L203-L207

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 6fb3be3. The plan was trimmed to its contracts; F1–F2 now says that when an arrival reveals a shown or targeted session is under an audit, the UI moves off it as if deleted and drops anything in progress against it (a picker confirmation, a partly answered question, an armed approval amendment). The implementation and its regression land on #356.

Comment thread docs/plans/tui-focus.md Outdated
Comment on lines +7 to +10
**Owned paths:** `crates/qq-tui/src/**`, `crates/qq-tui/tests/**`,
`crates/qq-tui/benches/render.rs`, `crates/qq-tui/Cargo.toml` (F6 only: the
`base64` workspace dependency), `docs/design/layout.md`,
`docs/design/transcript.md`, `docs/guide/tui.md`, `docs/runbooks/tui-qa.md`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add client bootstrap to the owned paths

The audit-safe startup contract cannot be implemented within these owned paths: in the inspected parent, both explicit qq --session validation and bare-existing-session selection occur in crates/qq-client/src/interactive.rs:495-510, before the TUI receives the snapshot. Refusing an audit ID and choosing a non-audit startup fallback therefore require edits and tests under crates/qq-client, leaving implementers to either violate the slice boundary or omit part of the audit-reachability guarantee. Add the client bootstrap and its tests to the owned paths.

AGENTS.md reference: AGENTS.md:L203-L207

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 6fb3be3. The owned paths now include the client bootstrap (crates/qq-client/src/interactive.rs, crates/qq-client/src/lib.rs) for F1's startup rule, which the plan states explicitly: --session opens only a non-audit root, a bare qq opens the newest non-audit root.

lg2m added 2 commits October 19, 2026 21:21
…on a forced audit refocus (ENG-1068)

Addresses the 12th Codex review on #354.
The plan states each slice's contract and leaves edge cases to the tests
in its PR. It now owns the client bootstrap for the startup rule, defines
spend over deeper agents, derives needs in the TUI, and drops in-progress
interactions on a forced audit refocus.

Addresses the 12th Codex review on #354.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m

lg2m commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6fb3be3fa0

ℹ️ 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".

Comment thread docs/plans/tui-focus.md Outdated
Comment on lines +83 to +84
it is not used here). One attention list, most urgent first, feeds every
attention surface (`Ctrl-G`, `Alt-A`/`Alt-D`, `/attention`, the rule).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Define the shared attention urgency order

When a human-owned approval, an unseen failure, and an unseen finish coexist, “most urgent first” does not specify which entry Ctrl-G, /attention, the rule, or the approval chords receive first, even though the acceptance section requires a rank-order test. A future test can therefore bless any ordering—and potentially put a non-actionable failure ahead of an approval—without demonstrating conformance to a stated contract; define the precedence and tie-breaker explicitly.

AGENTS.md reference: AGENTS.md:L203-L206

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 08655e4. F1–F2 now defines the one attention order: human-owned approvals, then unseen failures, then unseen finishes; within a rank, components newest first by their top session, tree order inside one.

Comment thread docs/plans/tui-focus.md Outdated
Comment on lines +134 to +137
- The rule's notice names the most urgent need that nothing else names, and
counts the rest (`◇ Deploy helper +3 need you`). A painted `+N need you`
rail row points at the needs it collapses, so those are counted, not
named again. The strip only counts, so beside it the notice still names.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Exclude pointer-covered needs from notice selection

When the most urgent need is hidden behind a painted +N need you row and a lower-ranked need has no surface, the first sentence selects the collapsed need because nothing else names it, while the next sentence says that same need must only be counted because the row already points at it. The final trimmed contract is fresh evidence beyond the settled collapsed-pointer thread: define notice selection over needs that are neither named nor already pointed at, so the lower-ranked uncovered need is named.

AGENTS.md reference: AGENTS.md:L203-L207

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 08655e4. The notice now selects over needs that nothing on screen names or points at, names the first in attention order and counts the rest; needs under a painted +N need you row are neither named nor counted again. 444da72 adds that the answer chords act on the approval the rule names.

Comment thread docs/plans/tui-focus.md Outdated
Comment on lines +74 to +77
the server's `accounting.inclusive` (the session and its immediate
children) plus the direct spend of deeper loaded agents; a summary
without accounting sums the direct spend of its loaded tree, audits
included, since hidden work still costs. Agents that are not loaded are

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Propagate unknown costs through the roll-up

When the root's inclusive cost is known but a deeper loaded agent has accounting.direct.estimated_cost_usd_nanos == None—or a legacy loaded summary has no direct alias—the proposed sum has no defined result. The protocol explicitly says a missing cost is unknown and never a known zero (crates/qq-protocol/src/sessions.rs:101-103), while the server aggregate propagates None (crates/qq-core/src/sessions/snapshots.rs:359-366); require the TUI roll-up to do the same and add a mixed known/unknown spend case, otherwise filtering missing values can display an understated total as authoritative.

AGENTS.md reference: AGENTS.md:L203-L206

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 08655e4: if any summed part is unknown the total is unknown and no spend is shown. Implemented on #356 (6510fda) with a mixed known/unknown regression in a_legacy_session_sums_its_agents_direct_spend.

Comment thread docs/plans/tui-focus.md Outdated
Comment on lines +161 to +165
- On **release** the text is copied over OSC 52 with `copied N lines`. A
copy holds only text: no pane inset, message rail, panel gutter or fill,
list or quote prefix, or trailing spaces. Soft-wrapped prose rejoins with
a space; code and long tokens rejoin with nothing; real newlines stay.
Copies are bounded (`MAX_COPY_BYTES`) and cut at a cluster boundary.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Report when bounded copies are truncated

When a selection exceeds MAX_COPY_BYTES, this contract silently copies only a prefix but still shows the unconditional copied N lines notice. A user can therefore paste an incomplete command or code block while the UI claims the copy succeeded; require a distinct truncated notice (and a regression asserting it) whenever the byte bound cuts the selected payload.

AGENTS.md reference: AGENTS.md:L203-L206

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 08655e4. A cut copy is reported as a warning (copied the first N lines; the selection was too large), which is what F6's note_copied does.

Comment thread docs/plans/tui-focus.md Outdated
Comment on lines +170 to +173
- Grapheme clusters (ZWJ, combining-mark, flag, modifier and virama
sequences) are kept whole and measured at their rendered width in
layout, wrapping, truncation, previews and selection alike. Full UAX #29
is out of scope (it needs a crate); rarer clusters are a known limit.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Scope width measurement to a deterministic algorithm

The TUI cannot observe how a terminal emulator and font actually render each grapheme, and terminals disagree about widths for emoji presentation, ZWJ sequences, and ambiguous-width characters. Consequently, an app test cannot prove the promise that clusters are measured at “their rendered width,” and selection coordinates can still diverge from displayed cells on a conforming terminal; name the deterministic width algorithm/table used by layout and record terminal-specific width differences as the limit instead.

AGENTS.md reference: AGENTS.md:L203-L206

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 08655e4. The width rule is now named: unicode-width's UnicodeWidthStr::width of the whole cluster, used in layout, wrapping, truncation, previews and selection; terminals or fonts that draw a cluster at another width are a recorded limit.

Comment thread docs/plans/tui-focus.md Outdated
Comment on lines +190 to +193
- `cargo bench -p qq-tui --bench render` before and after each code slice:
the `steady_state`, `streaming_focused`, `streaming_run_on_32kb`,
`golden_path_first_minute`, `sessions_200_with_sidebar`,
`children_20_with_sidebar` and `resize_horizontal` medians within 5 %.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Make the performance threshold one-sided

A code slice whose render median improves by more than 5% is not literally “within 5%” of its baseline, so this gate can reject a beneficial optimization just as it rejects a regression. Define the threshold as no more than 5% slower (with any faster result passing), rather than a symmetric distance from the baseline, so the named gate has an unambiguous pass condition.

AGENTS.md reference: AGENTS.md:L203-L206

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 08655e4. The gate is one-sided: medians no more than 5 % slower than the stack base; any speed-up passes.

lg2m added a commit that referenced this pull request Oct 20, 2026
…per agents' spend (ENG-1069)

A forced move off a session revealed to sit under an audit clears a partly
answered ask_user form, an armed amendment and its note, so neither is
submitted against the fallback's call. A session's spend adds the direct
spend of loaded agents below its immediate children, which the server's
inclusive accounting does not cover.

Addresses the 12th Codex review on #354.
lg2m added a commit that referenced this pull request Oct 20, 2026
… orphans linearly, indent orphan agents, name outcomes beside an approval (ENG-1069)

The roll-up's spend is unknown when any summed part is unknown, never an
understated total. A running session animates only while a spinner for it
is on screen and never when it is an audit.

Addresses the 10th Codex review on #356 and the 13th on #354.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m

lg2m commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 444da722cd

ℹ️ 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".

Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
lg2m added 2 commits October 19, 2026 22:42
…nswer chords' target (ENG-1068)

Addresses the 14th Codex review on #354.
…tach-time startup (ENG-1068)

Found in a pre-review of #354.
lg2m added a commit that referenced this pull request Oct 20, 2026
…hot and view-return fallbacks, animate only drawn transcripts (ENG-1069)

The server's inclusive accounting already folds the whole subtree, so
deeper agents are no longer added. A snapshot with no focused body that
falls back to a listed session fetches it, and so does a cold view_return
replacement behind an inspector-held workspace view. The animation clock
reads the sessions the last frame actually drew.

Addresses the 11th Codex review on #356 and the 14th on #354.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m

lg2m commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cae8e5eafd

ℹ️ 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".

Comment thread docs/plans/tui-focus.md Resolved
Comment thread docs/plans/progress/tui-focus.md Resolved
Comment thread docs/plans/tui-focus.md Resolved
…overed approval, ledger rows planned until their PR records receipts (ENG-1068)

Addresses the 15th Codex review on #354.
@lg2m

lg2m commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 98776134c5

ℹ️ 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".

lg2m added 2 commits October 20, 2026 00:46
…us-plan

# Conflicts:
#	docs/plans/README.md
#	docs/plans/progress/README.md
…s and accepted limits (ENG-1068)

The plan's absolute invariants turned every combination of overlay,
terminal size, snapshot timing and tree shape into a defect. It now names
four guarantees with tests (audits are not user-facing, answers go to the
call shown, copies are only text, no slower renders), describes the rest
as intended behavior, and lists the accepted limits that are follow-ups,
not blockers.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m

lg2m commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator Author

Closing in favor of the v0.1.11 TUI plan (ENG-1104, docs/plans/0.1.11.md). This PR's design is carried into section "Kept from the closed PRs" (ENG-1104: https://linear.app/retsu-ai/issue/ENG-1104), and its unresolved review findings are listed there as required tests. The code will be redone against main, because this stack no longer merges cleanly.

@lg2m lg2m closed this Oct 29, 2026
@lg2m
lg2m deleted the docs/eng-1068-tui-focus-plan branch October 29, 2026 04:34
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