From f195835bea25f172c2e34fa4c2ab3aa5008a4124 Mon Sep 17 00:00:00 2001 From: dullfig Date: Sat, 10 Jan 2026 17:44:57 -0800 Subject: [PATCH] Update secure console design: simplify detached mode When detached, console changes prompt from '>' to '#' and rejects @messages while still accepting /commands. Simpler than the ring buffer approach - operator can still check status and re-attach. Co-Authored-By: Claude Opus 4.5 --- docs/secure-console-v3.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/secure-console-v3.md b/docs/secure-console-v3.md index f274640..ae89ba4 100644 --- a/docs/secure-console-v3.md +++ b/docs/secure-console-v3.md @@ -353,14 +353,24 @@ async def handle_console_prompt(payload: ConsolePrompt, metadata: HandlerMetadat ### Detached Behavior -When console is detached: +When console is detached, prompt changes and message sending is disabled: + +``` +Attached: Detached: +> @greeter hello ← works # @greeter hello ← rejected +> /status ← works # /status ← works + # /attach + Password: ******** + > _ ← re-attached +``` | Concern | Behavior | |---------|----------| -| Messages to console | Queued in ring buffer (last 100) | -| Organism operation | Continues normally | -| Logging | All output logged to file | -| Re-attach | `/attach` displays queued messages | +| Prompt | Changes from `>` to `#` | +| `/commands` | Still work (can check status, attach, quit) | +| `@messages` | Rejected: "Console detached. Use /attach" | +| Organism | Continues running normally | +| Logging | Output logged to file while detached | ### Commands