Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 3.32 KB

File metadata and controls

43 lines (34 loc) · 3.32 KB

TODOS (rolling)

This file tracks high-impact work items for this repo. Ordering is by priority (P0 highest).

P0

  • 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 (lldb or sample on 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-continue behavior in real sessions on the latest upstream base:
    • No-marker turn-end still triggers the follow-up prompt.
    • AUTO_MODE_NEXT=stop pauses auto-continue for that boundary only (next manual turn resumes).
    • No duplicate follow-up prompts during long turns / partial event streams.

P1

  • Investigate/fix Windows cross-build for x86_64-pc-windows-msvc (ring fails with assert.h missing under zigbuild); decide whether to ship GNU-only or support both.
  • Decide whether to update local main to the rebased branch (currently auto-continue-latest) vs keep it as a legacy branch.

P2

  • Decide whether rg should be bundled for Windows/Linux distributions (currently only apply_patch is bundled in the x64 zips).

Done

  • 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+C behavior predictable when idle (exit) and when running (interrupt), without being blocked by MCP startup “running” state.
  • Added a reproducible integration test for --auto-continue when the agent omits the AUTO_MODE_NEXT=... marker (should still enqueue and submit the follow-up prompt unless an explicit stop is present).
  • Hardened --auto-continue flow across /new + resume/fork, and made AUTO_MODE_NEXT=stop behave as a temporary pause even when TurnStarted isn’t observed.
  • Improved error handling so --auto-continue can enqueue on turn-ending EventMsg::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 in dist/.