SSH terminals for AI agents that know when a command is done: six tools, stateful shells, exit codes, router CLIs.