mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-11-06 16:15:41 +00:00
Review fixes for the Board. Keys to the right agent - A card resolves the exact pane that speaks for its tab; Allow, Pause, reply, output and note_runs no longer hit the first agent pane of a split. - Allow (button, menu, drag, key) carries the prompt it was drawn with and only sends Enter if the agent still waits on that same permission prompt. - A reply is refused while a prompt is pending; drafts are kept per card. Work is not destroyed silently - Clean up confirms when a pane is still running something or extra tabs in the worktree would close; deletes the task first, closes tabs, waits for panes, then removes the worktree; the toast names the refs/tty7/trash ref. Clean up all confirms with the count, folded cards included. - The composer keeps a draft on Esc / scrim / close; a long one-line task keeps its full text as the prompt; branch names are checked inline and a taken name says which one will be used; typed paths are checked on the host. State - Done records where each run stood (tab, session, turns, busy), so a busy card dragged to Done stays there and a relaunched agent leaves Done. - Worktree starts show "Starting…", can't be started twice, and append the run to the current task instead of a stale copy. - Pending task edits survive a resync and are replayed. - A full board evicts the oldest Done card; removing a missing task is a no-op. - The last column is held while a tab's agent is connecting. Interaction - Undo stack (10) of field-level reverts, bound to secondary-z on the board. - A/D/P/R and Shift-F10 on the selected card; Esc cancels a drag first. - "Filtered · Clear" chip; stale group filters clear; the sidebar count ignores filters; arrows skip folded Done cards; zoom is restored after the board. - Agent picker opens downward and scrolls; toasts are width-capped. - Toggle Board off macOS is ctrl-shift-y (alt-0 took Meta-0 from readline). CLI - task done clears paused; relative --cwd is made absolute; --worktree needs --cwd; task ls errors on a server without the board.