PITWALL

pitwall wait

Wait until an agent is idle, blocked or done (for coordinating agents).

pitwall wait [OPTIONS] --for <STATUS> <AGENT>
Argument
AGENTThe agent (id or name).
Option
--for <STATUS>Any of these statuses ends the wait: idle, blocked, done, working, stopped, exited (comma-separated). Required.
--timeout <SECONDS>Give up after this many seconds (default 300): exit 1, code timeout.
--freshIgnore the status it has now: wait for it to change first (use after sending a prompt).
pitwall queue add api "run the tests"
pitwall wait api --for done,blocked --fresh --timeout 900