This file tracks high-impact work items for this repo. Ordering is by priority (P0 highest).
- Investigate remaining TUI hangs in long-running sessions:
- Mitigation: skip cursor-position query while crossterm events are active to avoid stdin query deadlocks.
- Mitigation: skip resume-time cursor queries unless the event stream is paused.
- Mitigation: watchdog restarts the event stream after prolonged no-draw while streaming.
- Mitigation: avoid blocking the runtime on the event broker lock (use try_lock in poll).
- Mitigation: release broker lock while polling the event source (avoid pause/resume lock contention).
- Capture symbolicated stacks from a debug build (
lldborsampleon the debug binary). - Identify the blocking await/condvar and add watchdog metrics/logging around event queues.
- Add a regression test or targeted fuzz case once the root cause is confirmed.
- Verify
--auto-continuebehavior in real sessions on the latest upstream base:- No-marker turn-end still triggers the follow-up prompt.
AUTO_MODE_NEXT=stoppauses auto-continue for that boundary only (next manual turn resumes).- No duplicate follow-up prompts during long turns / partial event streams.
- Investigate/fix Windows cross-build for
x86_64-pc-windows-msvc(ringfails withassert.hmissing under zigbuild); decide whether to ship GNU-only or support both. - Decide whether to update local
mainto the rebased branch (currentlyauto-continue-latest) vs keep it as a legacy branch.
- Decide whether
rgshould be bundled for Windows/Linux distributions (currently onlyapply_patchis bundled in the x64 zips).
- Rebasing onto the latest upstream
origin/main, then re-applying/augmenting the auto-continue feature + verbose defaults on top of upstream. - Fixed TUI reliability after interrupts (
Esc/ "Conversation interrupted"): queued prompts submitted even if entered before SessionConfigured; interrupt clears stuck MCP startup running state. - Made
Ctrl+Cbehavior predictable when idle (exit) and when running (interrupt), without being blocked by MCP startup “running” state. - Added a reproducible integration test for
--auto-continuewhen the agent omits theAUTO_MODE_NEXT=...marker (should still enqueue and submit the follow-up prompt unless an explicitstopis present). - Hardened
--auto-continueflow across/new+ resume/fork, and madeAUTO_MODE_NEXT=stopbehave as a temporary pause even whenTurnStartedisn’t observed. - Improved error handling so
--auto-continuecan enqueue on turn-endingEventMsg::Error(only when a turn is actually running). - Made tool output fully visible by default (new
tui.show_full_tool_output, no transcript ellipses for exec/MCP/patch failure output). - Restarted the TUI event stream after crossterm EOF/error, emitting a redraw and adding a regression test.
- Added frame scheduler auto-respawn when the draw queue closes to prevent TUI redraw stalls.
- Recreate the TUI event stream if it ends unexpectedly, resuming the broker and scheduling a redraw.
- Make rollout persistence nonblocking for live event delivery to avoid UI stalls when the writer is backpressured.
- Built, codesigned, and installed macOS
codex+apply_patch(Homebrew prefix), and produced versioned Linux x64 + Windows x64 zip artifacts indist/.