ACP or PTY? Have both: one workspace, two doors
9:41
One benchThe bot and the terminal run from the same image and share /workspace. Files the bot writes after a Discord message show up in your terminal right away.
Own drawersEach has its own /tmp and its own secret, and the bot opens no port. A bad token restarts only the bot; the terminal keeps working.
One trust zoneWhoever can open a terminal can reach the bot's token, and whoever can prompt the bot effectively has a shell. So the allowlist starts with just you.