mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-22 08:02:24 +00:00
`tty7 wait %N` on an idle shell blocks for as long as you let it. The default states are `waiting`, `done` and `exit`; a plain shell with no agent is `no-agent` and reaches none of them, so the wait has nothing to wake for. Verified with a bounded run: still blocked at twelve seconds against a freshly created pane. Blocking is the contract — the verb is `wait` — so what was missing is that choosing the wrong state is a hang rather than an error, and that `--timeout` has no default to fall back on. Both are now said where they are read: the trap in the command's help, the absence of a default on the flag itself. This is the same shape as the stdin note in the last commit. An agent orchestrating panes has two ways to stop forever with no diagnostic, and in both the software is doing exactly what it was asked to.