Interactive prompts deadlock AI agents. Nine rules behind the Swell CLI: a flag for every prompt, errors that teach the fix, exit codes that mean something.