[Workshop] Phase 3: Bridge MVP — WebSocket between body and mind #362
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Epic: #222 — The Workshop
Refines: #243 (vision issue)
What
A WebSocket server that reads Timmy's state file and pushes it to the Workshop 3D scene. Also accepts messages from visitors and routes them to Timmy's loop.
This is Timmy's nervous system.
Architecture
Server
~/.timmy/workshop-state.yamlevery 2 seconds (or on inotify){"type": "message", "text": "Hey Timmy"}~/.timmy/inbox/or similar)File
~/.timmy/bridge/server.pyProtocol
Server → Client (state updates)
Client → Server (visitor actions)
Server → Client (Timmy's responses)
iPad Resilience
Acceptance Criteria
python3 server.pystarts WebSocket server on configurable port (default 8765)new WebSocket("ws://localhost:8765")workshop-state.yamlchanges~/.timmy/inbox/websockets(pip install websockets)Dependencies
Blocks