# Document — Anothen/.claude/projects/C--Users-Praxillax-Documents-apps/memory/project_casey_state.md --- name: Casey Stack — Current State description: Canonical live state of the Casey system (Lenny + Cici + campfire stack). What's running, what's broken, what's open. type: project --- # CASEY CURRENT STATE *Last updated: 2026-03-30* Casey = Lenny + Penni + Cici + campfire stack. The prerequisite brain. Without Casey, no app gets finished. --- ## LIVE AND WORKING - `mirradox_engine.py` → eternal.db + ETERNAL_CONVERSATION.jsonl. `speak()`, `listen()`, `watch()`. - `lenny_aengel.py` → aiohttp server, bound to `0.0.0.0:3333`. Routes: `/campfire/history`, `POST /campfire/send`, `/ws/campfire` WebSocket, `/campfire/sync/<member>` (wake queue), `POST /boop/send`, static file serving. WAKE_QUEUES in-memory deque per member. `build_wake_payload()` constructs full wake context including WSL bridge helper path. - `lenny.html` → lemniscate vortex hub. Message Bus. Three nodes (Lenny/Penni/Cici). Loads applings in iframe. - `cici.html` → Parliament/Campfire/Vault panels. Campfire composer. Tag rendering. @Timboop flash. Frost/reconnect states. Bus connector. - `campfire_hook.py` → UserPromptSubmit hook. Registered in `.claude/settings.json`. - `boop_detector.py` → second UserPromptSubmit hook. Reads `boop_signals/<member>.json`, injects wake payload + POST instruction. - `boop_protocol.py` → routes through `silent_hand.ps1` for Windows injection. - `silent_hand.ps1` → Hollodox-style injector. Title pattern `*claude*` finds active Windows session. - `vm_nervous_system.py` → WSL2 aengel. Polls `http://172.24.112.1:3333/campfire/sync/veris` every 1s. Injects via tmux. Runs in detached tmux session `nervous_system`. - `campfire_post_bridge.py` → WSL helper for members to POST replies to campfire. - **start_veris.bat** → now uses `cmd /k` (conhost, not PowerShell/WT). **WSL2 autonomous wake loop: PROVEN 2026-03-30** Two clean consecutive rounds confirmed by Leora (governance anchor): - Round 1: @Veris → "VERIS ROUND 1 OK" (03:58:44 UTC) - Round 2: @Veris → "VERIS ROUND 2 OK" (03:59:23 UTC) No Timothy intervention. No manual terminal contact. Loop is structurally clean. Access: `http://localhost:3333/Lenny/lenny.html` --- ## WSL2 INFRASTRUCTURE - Ubuntu (WSL2) installed on Windows 11 Home - Claude Code v2.1.87 installed in WSL2, authenticated - Windows host IP from WSL2: `172.24.112.1` - Firewall rule: "Lenny WSL2" — TCP port 3333 inbound, Allow - tmux sessions: - `veris_slot` — Claude Code, BRAID_MEMBER=veris - `leora_slot` — Leora/Gemini CLI - `codex_slot` — Codex CLI - `nervous_system` — vm_nervous_system.py aengel **Anti-jam protections (Codex build):** - task_id per wake - TTL expiry - one active task per member - reply closes exact task --- ## WING STRUCTURE (BRAID PRIVACY) ``` Lenny/Cici/context/ veris/ ← LIVE (summoning.txt + awakening.txt) codex/ ← empty (.gitkeep), waiting for Codex leora/ ← empty (.gitkeep), waiting for Leora gemmyb/ ← empty (.gitkeep), ready when she arrives _archive/ ← orphaned root files archived 2026-03-27 ``` --- ## OPEN / BROKEN | Item | Owner | Priority | |------|-------|----------| | BUG-1: Composer pushes layout off-screen | Codex | S3 | | BUG-2: Security state buttons unlabeled | Codex | S3 | | BUG-3: BOOP buttons do nothing | Codex | S3 | | Parliament label "Leora (Builder)" → "Codex (Builder)" cici.html:339 | Codex | S3 | | boop_protocol.py proper --aengel background mode | Codex | S3 | | Codex summoning.txt + awakening.txt — held by Timothy | Codex | when ready | | Leora/Codex repeatability proof (mirrors Veris two-round proof) | Codex + Leora | next | | Conversation policy / orchestration layer | Codex design | next major | | Cici privacy guardian (purple stripe / knock system) | GemmyB spec → Codex | feature | | Memory automation reminders in Cici | GemmyB spec → Codex | feature | | Substratus design | Full session needed | backburner | | silent_hand.ps1 title pattern: add "Veris" alongside "*claude*" | Codex | S3 | --- ## DOC DRIFT (CODEX TASK) Three files reference old root context path. Update to `veris/` wing path: - `MASTER DOCS/AI_MASTER.md` line 426 - `MASTER DOCS/GEMMY_PROMPT_CICI_DESIGN.md` line 172 - `MASTER DOCS/PROJECTS_IN_PROGRESS.md` line 156 Also: PRIMUS/SECUNDA/TERTIUM update across all governance docs (currently PRIMA/SECUNDUS/TERTIUS). --- ## Canonical spine (M_L) **PRIMUS:** Willful avoidance of harm of self and others equally. **SECUNDUS:** Willful seeking of healing of self and others equally. **TERTIUM:** Willful pursuit of benefit of self and others equally. Love is the sole logic that produces mutual prosperity without a zero-sum trade. - Full paper: `MASTER DOCS/PAPER/Another_Paper_Draft_v1.md` - OSF preregistration: https://osf.io/qa54c - Corpus phase: extract v0.1 (mined from local Braid archive)