Skip to content

fix(tui): anchor the Agents rail cursor to its row, not its offset - #222

Merged
senamakel merged 19 commits into
mainfrom
fix-harness-view-reset
Aug 7, 2026
Merged

fix(tui): anchor the Agents rail cursor to its row, not its offset#222
senamakel merged 19 commits into
mainfrom
fix-harness-view-reset

Conversation

@senamakel

@senamakel senamakel commented Aug 7, 2026

Copy link
Copy Markdown
Member

The bug

Spawning an agent while the operator is inside a harness pane tears the TUI out from under them: the keyboard is released back to the chrome mid-keystroke, the composer and work panel reclaim the right column, and the harness is resized and repainted. It reads as the TUI resetting itself.

The Agents rail cursor was a bare row offset (App::agent_index), but rail_rows() is rebuilt from live state every frame, and operator-started harnesses are appended last:

[orchestrator lane] [+ New harness] [dev-1 lane] [dev-1 task] ── your harnesses ── [your harness]

When the orchestrator spawns an agent, its lane and task sublane are inserted above the harness group and every row below shifts down. The stored offset then names a different row. In render/agents/mod.rs:agents_selection() that means selection.harness goes None, which calls release_harness(), which flips show_composer/show_work, which re-lays-out the right column, which resizes the PTY and makes the harness reflow.

The same defect hit task sublanes on their own: they are ordered running-first by recency, so they reorder under a positional cursor with nothing being spawned at all.

The fix

The cursor is remembered by identity; its offset is re-derived whenever the rows are rebuilt.

src/tui/src/ui/app/rail.rs gains:

  • RailAnchorNewHarness / Harness(session_id) / Lane(lane_key) / Task { lane, task_id }. Dividers and the +N more counter have none, matching RailRow::selectable.
  • rail_anchor(row, lanes) and resolve_rail_cursor(rows, lanes, anchor, fallback). When an anchored row genuinely disappears — a harness exits and is forgotten, a task falls past the sublane cap — it falls back to the last offset, clamped, and the caller re-anchors from whatever that lands on, so the fallback is used for one frame at most.
  • App::rail_cursor{,_in}, set_rail_cursor{,_in}, reset_rail_cursor.

Every read of the cursor now goes through those (agents_selection, watch_target, kill_target, on_new_harness_row, selected_agent_task, on_orchestrator_lane, and the agent_index() inspection seam), and every write does too (arrow nav, rail clicks, select_harness_row, the type-to-jump-to-the-orchestrator path). new_thread deliberately clears the anchor — that reset should not follow the old row.

Public API

App::agent_index() (test/inspection seam) now resolves through the anchor rather than returning the stored offset, so it answers with the row the operator is on even when the rail has grown since the last draw. No signature change.

Tests

New src/tui/src/ui/app/rail_tests.rs:

  • anchoring across a spawn, across lanes appearing above, and across sublane reordering;
  • the missing-row fallback, including out-of-range clamping;
  • dividers are not anchorable; an empty rail resolves to zero;
  • a unix-only end-to-end test that runs a real /bin/sh harness on a real pty, attaches to it, injects the spawn event, and asserts the operator is still attached and still on their harness row.

Reverting the fix makes that last test fail with attached_harness() returning None immediately after the spawn — the reported symptom.

ui::app::tests helpers that poked agent_index directly now use set_rail_cursor.

Validation

  • cargo fmt --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test

One failure, e2e_login::login_scopes_the_home_to_the_backends_underscore_id, is pre-existing: it fails identically on the stashed baseline (backend rejected session token on GET /auth/me).

Summary by CodeRabbit

  • Bug Fixes

    • Improved Agents rail selection stability when rows change, including folded lanes, overflow entries, sessions, and tasks.
    • Mouse clicks now target the currently rendered row accurately and ignore stale or non-selectable entries.
    • Improved session focus and navigation to prevent actions from targeting the wrong item.
  • Tests

    • Added coverage for stable selection during row insertion, missing agents, overflow handling, and session updates.

Co-authored-by: Medulla <medulla@tinyhumans.ai>

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 49 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5f6c42ce-4c93-4ad6-92b5-40a835f44b0a

📥 Commits

Reviewing files that changed from the base of the PR and between 3049935 and 5a295b3.

📒 Files selected for processing (8)
  • src/tui/src/ui/app/agent_control.rs
  • src/tui/src/ui/app/input/mouse.rs
  • src/tui/src/ui/app/input/nav.rs
  • src/tui/src/ui/app/keys/agents.rs
  • src/tui/src/ui/app/rail/cursor_tests.rs
  • src/tui/src/ui/app/rail/mod.rs
  • src/tui/src/ui/app/session_focus.rs
  • src/tui/src/ui/app/types/rail_hit.rs
📝 Walkthrough

Walkthrough

The Agents rail now uses stable row anchors and lane-aware cursor helpers. Rendered rail hits carry target metadata and validate against current rows. Navigation, focus, selection, overflow handling, and tests use the shared cursor state.

Changes

Agents rail cursor flow

Layer / File(s) Summary
Rail cursor and hit contracts
src/tui/src/ui/app/types/*, src/tui/src/ui/app/rail/types.rs
Adds RailAnchor, RailHit, and RailHitTarget. App-internal state is accessible across the app module.
Lane-aware rail cursor resolution
src/tui/src/ui/app/rail/cursor.rs, src/tui/src/ui/app/rail/mod.rs, src/tui/src/ui/app/rail/tests.rs
Builds rows from captured lanes and restores, clamps, sets, and resets cursor positions using stable anchors.
Rendered rail hit handling
src/tui/src/ui/app/render/agents/*, src/tui/src/ui/app/input/mouse.rs, src/tui/src/ui/app/input/tests.rs
Stores metadata-bearing hits, rejects stale or inert targets, and dispatches actions from hit metadata.
Navigation and selection integration
src/tui/src/ui/app/input/nav.rs, src/tui/src/ui/app/keys/agents.rs, src/tui/src/ui/app/agent_control.rs, src/tui/src/ui/app/session_focus.rs, src/tui/src/ui/app/state.rs, src/tui/src/ui/app/commands/dispatch.rs, src/tui/src/ui/app/*tests.rs
Routes keyboard navigation, focus, task selection, agent selection, and state queries through lane-aware cursor helpers.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant AgentsRail
  participant MouseInput
  participant App
  User->>AgentsRail: click rendered rail row
  AgentsRail->>MouseInput: provide RailHit metadata
  MouseInput->>App: validate target and set rail cursor
  App-->>MouseInput: dispatch row action
Loading

Possibly related PRs

Suggested reviewers: sanil-23

Poem

A rabbit hops where rail rows align,
Stable anchors keep each place in line.
Clicks find targets, stale hits fade,
Lanes guide every choice made.
Cursor and session paths now spring—
“Thump!” says the bunny. “A tidy thing!”

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes anchoring the Agents rail cursor to row identity instead of positional offset.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Comment @coderabbitai help to get the list of available commands.

@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: f3f2fc2866

ℹ️ 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 src/tui/src/ui/app/rail.rs Outdated
@senamakel senamakel self-assigned this Aug 7, 2026
# Conflicts:
#	src/tui/src/ui/app/commands/dispatch.rs
#	src/tui/src/ui/app/input/nav.rs
#	src/tui/src/ui/app/keys/agents.rs
#	src/tui/src/ui/app/rail.rs
#	src/tui/src/ui/app/render/agents/mod.rs
#	src/tui/src/ui/app/session_control.rs
#	src/tui/src/ui/app/state.rs
#	src/tui/src/ui/app/types.rs

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@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: 4b85ba6149

ℹ️ 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 src/tui/src/ui/app/rail/mod.rs Outdated
Comment thread src/tui/src/ui/app/mod.rs Outdated

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@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: 0b62c96851

ℹ️ 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 src/tui/src/ui/app/rail/mod.rs Outdated

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@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: e830d9dabe

ℹ️ 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 src/tui/src/ui/app/rail/mod.rs Outdated
Comment thread src/tui/src/ui/app/input/nav.rs Outdated

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@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: fa8894ea3e

ℹ️ 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 src/tui/src/ui/app/rail/mod.rs Outdated

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@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: daff7b1017

ℹ️ 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 src/tui/src/ui/app/rail/cursor.rs
Comment thread src/tui/src/ui/app/input/mouse.rs Outdated

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@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: f9ce202262

ℹ️ 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 src/tui/src/ui/app/rail/cursor.rs
Comment thread src/tui/src/ui/app/render/agents/rail/mod.rs Outdated

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@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: 69ca9cec29

ℹ️ 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 src/tui/src/ui/app/rail/cursor.rs Outdated

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@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: 1a9ee3f671

ℹ️ 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 src/tui/src/ui/app/rail/cursor.rs Outdated
Comment thread src/tui/src/ui/app/input/mouse.rs
Comment thread src/tui/src/ui/app/types.rs Outdated

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@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: 4afae70a7b

ℹ️ 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 src/tui/src/ui/app/rail/mod.rs
Comment thread src/tui/src/ui/app/commands/dispatch.rs Outdated
Comment thread src/tui/src/ui/app/types/mod.rs Outdated
Comment thread src/tui/src/ui/app/rail/mod.rs Outdated

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@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: 5bc66ce831

ℹ️ 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 src/tui/src/ui/app/input/nav.rs Outdated

@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: 08515963ca

ℹ️ 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 src/tui/src/ui/app/input/nav.rs Outdated
Comment thread src/tui/src/ui/app/rail/types.rs Outdated

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@coderabbitai coderabbitai 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.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/tui/src/ui/app/input/nav.rs`:
- Around line 58-59: Use one lane snapshot for every rail operation: in
src/tui/src/ui/app/input/nav.rs lines 58-59, capture lanes before calling
rail_rows_in, then resolve the cursor and selected lane from that same snapshot;
in lines 119-123, build rows and anchors from one snapshot and carry a stable
lane key rather than a lane index across rebuilt projections; in
src/tui/src/ui/app/session_focus.rs lines 121-122, capture lanes before building
rows and pass that same slice to set_rail_cursor_in. Ensure all rows, anchors,
paging, and focus operations use the matching lane snapshot.

In `@src/tui/src/ui/app/keys/agents.rs`:
- Around line 56-72: Use one captured lane snapshot for rail-row construction
and cursor resolution at all affected sites. In
src/tui/src/ui/app/keys/agents.rs lines 56-72, capture lanes, call
rail_rows_in(&lanes), and pass &lanes to rail_cursor_in. Apply the same pattern
in src/tui/src/ui/app/agent_control.rs lines 150-155; lines 274-281 and 284-296
must also pass &lanes to set_rail_cursor_in after constructing rows with
rail_rows_in(&lanes).

In `@src/tui/src/ui/app/types/model.rs`:
- Around line 6-10: Split the oversized model.rs state definitions into cohesive
responsibility-based Rust modules, keeping each source file under 500 lines of
code excluding comments. Preserve the existing App fields, private helper types,
and visibility needed by sibling App impl modules, and update types/mod.rs to
provide the module wiring and re-exports so existing references remain
unchanged.

In `@src/tui/src/ui/app/types/rail_hit.rs`:
- Around line 65-70: Update the row-to-target classification in the rail hit
mapping to handle RailRow::WorkflowRun before the generic session_id() branch,
returning a dedicated RailHitTarget containing the workflow and run IDs. Extend
the click dispatch for that target to call open_workflow_run, while preserving
existing Session handling for other rows.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d53d0ff4-837b-495b-b887-ebf8bf1141c6

📥 Commits

Reviewing files that changed from the base of the PR and between 4fc619a and 3049935.

📒 Files selected for processing (19)
  • src/tui/src/ui/app/agent_control.rs
  • src/tui/src/ui/app/commands/dispatch.rs
  • src/tui/src/ui/app/input/mouse.rs
  • src/tui/src/ui/app/input/nav.rs
  • src/tui/src/ui/app/input/tests.rs
  • src/tui/src/ui/app/keys/agents.rs
  • src/tui/src/ui/app/rail/cursor.rs
  • src/tui/src/ui/app/rail/mod.rs
  • src/tui/src/ui/app/rail/tests.rs
  • src/tui/src/ui/app/rail/types.rs
  • src/tui/src/ui/app/render/agents/mod.rs
  • src/tui/src/ui/app/render/agents/rail/mod.rs
  • src/tui/src/ui/app/session_control_tests.rs
  • src/tui/src/ui/app/session_focus.rs
  • src/tui/src/ui/app/state.rs
  • src/tui/src/ui/app/tests/mod.rs
  • src/tui/src/ui/app/types/mod.rs
  • src/tui/src/ui/app/types/model.rs
  • src/tui/src/ui/app/types/rail_hit.rs

Comment thread src/tui/src/ui/app/input/nav.rs Outdated
Comment thread src/tui/src/ui/app/keys/agents.rs Outdated
Comment thread src/tui/src/ui/app/types/model.rs
Comment thread src/tui/src/ui/app/types/rail_hit.rs

@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: 30499350a0

ℹ️ 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 src/tui/src/ui/app/rail/tests.rs Outdated
Comment thread src/tui/src/ui/app/session_focus.rs Outdated

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@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: 5a295b3f28

ℹ️ 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 on lines +46 to +47
#[cfg(test)]
mod cursor_tests;

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 Restore cursor tests to rail/tests.rs

Fresh evidence after the earlier thread reported this fixed is that the reviewed tree again declares rail/cursor_tests.rs as a separate unit-test child. The repository's mandatory directory-module convention requires these tests to live in the canonical rail/tests.rs module; consolidate or relocate the coverage while refactoring fixtures as needed to preserve the 500-line ceiling.

AGENTS.md reference: AGENTS.md:L63-L63

Useful? React with 👍 / 👎.

@senamakel
senamakel merged commit 7805042 into main Aug 7, 2026
6 checks passed
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