# 2026-06-12-completed-changes-archive/persistent-terminal-sessions/specs/persistent-terminal dir: 2026-06-12-completed-changes-archive/persistent-terminal-sessions/specs/persistent-terminal index: 2026-06-12-completed-changes-archive/persistent-terminal-sessions/specs/persistent-terminal/.pi-map.index.md ## role Defines specifications for persistent WebSocket terminal sessions that maintain state across reconnections with buffered output, reset controls, and idle timeout management. ## files - spec.md | Defines requirements for persistent WebSocket terminal sessions with reconnection, output buffering, reset, and idle timeout capabilities ## arch Specification-driven architecture using a single requirements document to define session persistence, WebSocket transport, circular output buffering, and state machine behaviors (active/idle/closed) with explicit client-server protocol semantics. ## tags spec, defines, requirements, persistent, websocket, terminal, sessions, reconnection ## symbols - ## workflows - ## dirty -