mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-22 08:02:24 +00:00
`tty7 wait` was the orchestration primitive for agents only. A pane with nothing reporting agent status read as `idle`, so `--until idle` returned success instantly about a shell that was midway through a build, and there was no state that meant "the command finished" at all. Panes with no agent now report `no-agent`, and `free` ends the wait when the foreground command has exited — the process-tree question `procs` could already answer but nothing could block on. `send --key` covers the keystrokes text cannot express, which is what a worker stopped at `waiting` is usually asking for. `pane close` takes several panes and `--orphans` clears what an interrupted `run` leaves behind. `doctor` finally performs the hooks check its own help has advertised. The skill shipped in this repo predated `wait` entirely and taught a hand-rolled `procs` polling loop with no notion of delegation; it now covers the loop, and its agent statuses, `ws rm` orphan claim and not-implemented list are corrected against the code.