/ HENRY_BRAIN.md
HENRY_BRAIN.md
1 # HENRY_BRAIN.md โ Master State File 2 **Last Updated:** 2026-03-21 | **Session:** HENRY OS Build + Mission Control + Claude Code Setup 3 **Resume Command:** "Read HENRY_BRAIN.md โ Status + next action." 4 5 --- 6 7 ## OWNER 8 Whitt Dwyer | Houston TX | whittdwyer@gmail.com | GitHub: whd4 9 ADD/ADHD โ bottom line first, numbered steps, micro-steps, NEXT ACTION always 10 Claude Max Plan | Opus 4.6 primary 11 12 --- 13 14 ## TOP PRIORITIES RIGHT NOW (do these before anything else) 15 16 | # | Action | Detail | Status | 17 |---|--------|--------|--------| 18 | 1 | ๐ด Call APS.net | (877) 632-1040 โ TXS5513 buyer package | NOT DONE | 19 | 2 | ๐ด Scan F210 lease | Photograph every page โ email whittdwyer@gmail.com | NOT DONE | 20 | 3 | ๐ด Call HAA | (713) 595-0300 โ Star Voss complaint | NOT DONE | 21 | 4 | ๐ด Buy Twilio number | console.twilio.com โ ~$1.15/mo โ finish HENRY Phone | NOT DONE | 22 | 5 | ๐ก Submit LOI TXS5345 | File: dark-factory/LOI_TXS5345.md โ ready to send | NOT DONE | 23 | 6 | ๐ก File RIA โ Texas SSB | 60-90 day clock NOT started | NOT DONE | 24 | 7 | ๐ข Restart Claude Desktop | Quit + relaunch โ comes back to THIS chat | PENDING | 25 | 8 | ๐ข git pull henry-ai-company | Get all today's pushes to local machine | PENDING | 26 27 --- 28 29 ## WHAT WAS BUILT THIS SESSION (2026-03-21) 30 31 ### 1. PRISM-MC Engine (henry-os/henry-core/src/prism.js) 32 **Status:** โ COMPLETE โ pushed to GitHub + written to local machine 33 - Triple-Lens: 3 parallel Opus 4.6 calls (Optimizer / Validator / Contrarian) 34 - Monte Carlo: each lens scored 0-20 on 4 dimensions (accuracy/completeness/actionability/alignment) 35 - DeepConf gate: 14/20 threshold โ loops up to 3x if below 36 - Winner delivered with full confidence trace 37 - Path: `henry-os/henry-core/src/prism.js` 38 39 ### 2. RALPH Loop (henry-os/henry-core/src/ralph.js) 40 **Status:** โ COMPLETE โ pushed to GitHub + written to local machine 41 - Persistent orchestrator โ loops up to 8 iterations 42 - Monte Carlo rates every sub-agent path after each action 43 - Prune threshold: 8/20 โ path abandoned, agent redirected 44 - Solve threshold: 16/20 โ deliver result 45 - All sub-agents share `/data/status/TASK_ID.json` status board 46 - Max 6 parallel sub-agents per iteration 47 - Path: `henry-os/henry-core/src/ralph.js` 48 49 ### 3. handler.js โ Updated (henry-os/henry-core/src/handler.js) 50 **Status:** โ COMPLETE โ all 3 engines wired 51 - Route 1: RALPH Loop (RALPH: prefix, ralph:true flag, loki_mode, autonomous_loop, task >200 chars) 52 - Route 2: PRISM-MC (strategic tools + strategy keywords) 53 - Route 3: Fast Path (everything else) 54 - Path: `henry-os/henry-core/src/handler.js` 55 56 ### 4. HENRY Mission Control โ NASA Edition (HENRY_MISSION_CONTROL.html) 57 **Status:** โ COMPLETE โ available in Downloads 58 - Full NASA mission control room aesthetic (CRT scanlines, Orbitron font, phosphor green) 59 - 8 live screens: Agent Roster, Dark Factory Pipeline, PRISM-MC Gauges, RALPH Loop, Signal Monitor, System Log, Priority Queue, Power Techniques 60 - Scrolling ticker tape at bottom with all priorities 61 - Mascot: Officer Clawsworth โ animated SVG lobster 62 - Full lobster anatomy: tail segments, walking legs, big claws that snap, antennae that wave 63 - Police badge on body, compound eyes track cursor 64 - Mouth animates when talking, antennae wave when speaking 65 - Patrols, bobs, eyes track mouse 66 - 10 Cartman-attitude lines โ self-important, tenacious, impatient 67 - Click him for briefings, click agents/deals for situational awareness 68 - Priority queue: checkable, he reacts to each completion 69 - All 20 power techniques with individual toggles + master switch + 3 combo presets 70 - Local path: `C:\Users\whitt\Downloads\HENRY_MISSION_CONTROL.html` (multiple versions) 71 - OPEN IN CHROME FULL SCREEN (F11) 72 73 ### 5. Power Techniques Panel (in Mission Control) 74 **Status:** โ COMPLETE โ all 20 notecards from uploaded file 75 - 4 always-on: Role Assignment (#3), Context Priming (#8), Skill Invocation (#11), Memory Management (#12), Context Referencing (#19) 76 - 16 toggleable with individual switches 77 - Master toggle activates all 20 78 - 3 combo presets: ADD/ADHD, Production Code, Max Intelligence 79 - All 20 confirmed accurate and real 80 81 ### 6. Henry Claude Code Setup (henry-os/henry-claude-code/) 82 **Status:** โ COMPLETE โ pushed to GitHub 83 Adapted from Obsidian project: `C:\Users\whitt\Downloads\.4MYAI\Claude-Code-Everything-You-Need-to-Know-main` 84 85 **Hooks (auto-run on every tool call):** 86 - `pre_tool_use.py` โ blocks rm -rf, blocks .env access, logs all calls 87 - `post_tool_use.py` โ audit trail for every tool result 88 - `stop.py` โ TTS "Task complete Whitt!" + saves full transcript to chat.json 89 - `notification.py` โ TTS "Your agent needs your input" 90 - `utils/tts/pyttsx3_tts.py` โ free TTS, no API key (pip install pyttsx3) 91 92 **Agents (invoke with /agents name in Claude Code CLI):** 93 - `tech-lead-architect` โ system design, HENRY stack aware 94 - `frontend-engineer` โ HENRY aesthetic specialist 95 - `code-reviewer` โ security, performance, quality 96 - `project-manager` โ knows all 5 HENRY tracks 97 - `ux-designer` โ ADD/ADHD-optimized UX flows 98 99 **Custom Commands:** 100 - `/todo` โ sprint task manager with due dates 101 - `/review` โ full code review checklist 102 - `/pr` โ auto PR with logical commit splitting 103 - `/tdd` โ test-driven development workflow 104 - `/deploy` โ deploy henry-core, openclaw, or dark-factory 105 106 **CLAUDE.md** โ auto-loads HENRY context into every Claude Code session 107 108 --- 109 110 ## SYSTEM ARCHITECTURE โ THREE BRAINS 111 112 ### Brain 1: henry-launcher 113 - Docker-based white-label product 114 - OpenClaw framework with HENRY personality 115 - Status: Built, Docker/WSL deployment pending 116 117 ### Brain 2: henry-ai-company (BMAD V6) 118 - 9-agent system with persistent memory 119 - OPTIMIZER self-improvement loop 120 - Status: RALPH + PRISM-MC NOW WIRED IN 121 122 ### Brain 3: henry-core MCP 123 - 20 specialist stateless skills 124 - All routes to RALPH / PRISM-MC / Fast Path 125 - Status: โ FULLY BUILT โ needs Claude Desktop restart to activate 126 127 --- 128 129 ## AGENT ROSTER (names UPDATED to plain English) 130 131 | Claude Code ID | Plain English Name | Role | Model | Status | 132 |---------------|-------------------|------|-------|--------| 133 | /router | The Router | Orchestrator | Opus | โ Online | 134 | /strategist | The Strategist | Strategy & acquisitions | Opus | โ Online | 135 | /finance | The Finance Agent | Finance & valuations | DeepSeek R1 | ๐ก Busy | 136 | /engineer | The Engineer | Code & infrastructure | DeepSeek R1 | โ Online | 137 | /legal | The Legal Agent | Legal & contracts | Opus | โ Online | 138 | /researcher | The Researcher | Research & due diligence | Opus | ๐ก Busy 91% | 139 | /marketer | The Marketer | Marketing & growth | Gemini Flash | ๐ค Idle | 140 | /sales | The Sales Agent | Sales & outreach | Gemini Flash | ๐ค Idle | 141 | /ops | The Ops Agent | Sprint & operations | Gemini Flash | โ ๏ธ Warn | 142 143 --- 144 145 ## DARK FACTORY PIPELINE 146 147 | Deal | Revenue | Buy At (0.4x) | Exit (7x) | Return | Status | 148 |------|---------|---------------|-----------|--------|--------| 149 | TXS5513 | $424K | $170K | **$2.1M** | 12.4x | ๐ด CALL NOW โ HNW/RIA upsell | 150 | TXS5345 | $142K | $57K | $784K | 13.8x | ๐ก LOI READY โ send today | 151 | TXS5491 | $910K | $364K | **$4.5M** | 12.4x | ๐ต SBA eligible โ Live Oak Bank | 152 | TXS5450 | $472K | $189K | $2.3M | 12.2x | ๐ต Pipeline โ research phase | 153 154 **APS.net broker:** (877) 632-1040 155 **SBA contact:** Live Oak Bank (910) 790-5867 156 **RIA registration:** Texas SSB โ NOT FILED โ 60-90 day clock NOT running 157 158 --- 159 160 ## STAR VOSS LEGAL 161 - Units: F210, F212, F310 162 - F210 original signed lease: FOUND โ SCAN + EMAIL NOW 163 - 7 causes of action โ 5 STRONG 164 - DTPA ยง17.46 = 3x damages + mandatory attorney fees 165 - Class action potential: same illegal lease boilerplate, 7-8 Houston properties 166 - Evidence: `C:\Users\whitt\Downloads\.STARVOSS_LEGAL_CASE\` (360+ files) 167 - Attorney package: `star-voss/ATTORNEY_PACKAGE.md` on GitHub 168 - HAA: (713) 595-0300 | TX AG Consumer Protection: (800) 621-0508 169 170 --- 171 172 ## GITHUB STATUS 173 - Repo: github.com/whd4/henry-ai-company (main) 174 - PAT: ghp format, repo write scope โ WORKING 175 - All pushes from this session confirmed committed 176 177 **Files pushed this session:** 178 - `henry-os/henry-core/src/prism.js` โ PRISM-MC engine 179 - `henry-os/henry-core/src/ralph.js` โ RALPH Loop 180 - `henry-os/henry-core/src/handler.js` โ routing logic (UPDATED) 181 - `henry-os/henry-claude-code/.claude/hooks/pre_tool_use.py` 182 - `henry-os/henry-claude-code/.claude/hooks/post_tool_use.py` 183 - `henry-os/henry-claude-code/.claude/hooks/stop.py` 184 - `henry-os/henry-claude-code/.claude/hooks/notification.py` 185 - `henry-os/henry-claude-code/.claude/hooks/utils/tts/pyttsx3_tts.py` 186 - `henry-os/henry-claude-code/.claude/settings.json` 187 - `henry-os/henry-claude-code/.claude/agents/tech-lead-architect.md` 188 - `henry-os/henry-claude-code/.claude/agents/frontend-engineer.md` 189 - `henry-os/henry-claude-code/.claude/agents/code-reviewer.md` 190 - `henry-os/henry-claude-code/.claude/agents/project-manager.md` 191 - `henry-os/henry-claude-code/.claude/agents/ux-designer.md` 192 - `henry-os/henry-claude-code/.claude/commands/todo.md` 193 - `henry-os/henry-claude-code/.claude/commands/review.md` 194 - `henry-os/henry-claude-code/.claude/commands/pr.md` 195 - `henry-os/henry-claude-code/.claude/commands/tdd.md` 196 - `henry-os/henry-claude-code/.claude/commands/deploy.md` 197 - `henry-os/henry-claude-code/CLAUDE.md` 198 - `henry-os/henry-claude-code/README.md` 199 - `HENRY_BRAIN.md` (this file) 200 201 --- 202 203 ## LOCAL MACHINE KEY PATHS 204 205 ``` 206 C:\Users\whitt\HENRY_CONTEXT.md โ READ FIRST every session 207 C:\Users\whitt\HENRY_KICKOFF_PROMPT.txt โ Opus kickoff prompt 208 C:\Users\whitt\AppData\Roaming\Claude\claude_desktop_config.json 209 C:\Users\whitt\Development\henry-ai-company\ โ Main repo (cloned) 210 C:\Users\whitt\Development\henry-ai-company\henry-os\henry-core\src\ โ RALPH+PRISM files 211 C:\Users\whitt\Development\AI-Projects\ โ AEGIS, PRISM, BMAD 212 C:\Users\whitt\Downloads\HENRY_MISSION_CONTROL.html โ Open in Chrome 213 C:\Users\whitt\Downloads\.4MYAI\Claude-Code-Everything-You-Need-to-Know-main\ โ Source material 214 C:\Users\whitt\Downloads\.STARVOSS_LEGAL_CASE\ โ Star Voss evidence 215 ``` 216 217 --- 218 219 ## MCP SERVERS (claude_desktop_config.json) 220 221 | Server | Status | Notes | 222 |--------|--------|-------| 223 | filesystem | โ Live | C:\ + D:\ | 224 | github | โ Live | whd4 org, new PAT | 225 | command-center | โ Configured | DevFactory path | 226 | henry-core | โ ๏ธ Needs restart | All files ready | 227 | bmad | โ Configured | AI-Dev path | 228 | aegis | โ ๏ธ Wired | .venv Python path | 229 230 **Fix henry-core:** Just restart Claude Desktop โ config + .env + node_modules all ready 231 232 --- 233 234 ## ENGINES STATUS 235 236 | Engine | Status | Gate | Notes | 237 |--------|--------|------|-------| 238 | PRISM-MC | โ Wired in handler.js | 14/20 DeepConf | 3 lenses parallel | 239 | RALPH Loop | โ Wired in handler.js | 8/20 prune, 16/20 solve | 8 iterations max | 240 | Fast Path | โ Always available | N/A | Single call + confidence | 241 | Status Board | โ Built | N/A | `/data/status/TASK_ID.json` | 242 243 **Trigger RALPH:** Start task with `RALPH:` or pass `ralph: true` 244 245 --- 246 247 ## OPEN TASKS โ NOTHING DROPS 248 249 ### TODAY (critical, in order) 250 - [ ] Restart Claude Desktop โ come back to THIS chat 251 - [ ] `git pull` in `C:\Users\whitt\Development\henry-ai-company` 252 - [ ] Open `HENRY_MISSION_CONTROL.html` in Chrome (F11 full screen) 253 - [ ] Call APS.net (877) 632-1040 โ TXS5513 buyer package 254 - [ ] Scan F210 lease โ email to whittdwyer@gmail.com 255 - [ ] Call HAA (713) 595-0300 โ Star Voss complaint 256 - [ ] Buy Twilio number ($1.15) โ finish HENRY Phone 257 258 ### THIS WEEK 259 - [ ] Submit LOI for TXS5345 (file ready: dark-factory/LOI_TXS5345.md) 260 - [ ] File RIA registration with Texas SSB 261 - [ ] Install Claude Code CLI: `npm install -g @anthropic-ai/claude-code` 262 - [ ] Install TTS: `pip install pyttsx3` 263 - [ ] Copy henry-claude-code/.claude/ folder into active projects 264 - [ ] Run `docker-compose up` in henry-os/openclaw/ โ get OpenClaw online 265 - [ ] Call Live Oak Bank (910) 790-5867 โ TXS5491 SBA structure 266 - [ ] Find Houston class action tenant attorney (contingency fee) 267 268 ### HORIZON 269 - [ ] EIDOLON personal AI OS โ full spec in EIDOLON_HANDOFF.md 270 - [ ] henry-launcher product tiers: Personal / Pro / Enterprise 271 - [ ] Fiverr/Upwork AI automation gigs (PDF, research, Windows, GitHub) 272 - [ ] Finish Twilio HENRY Phone integration 273 - [ ] Skills format migration to new Anthropic YAML frontmatter 274 275 --- 276 277 ## CODEWORDS 278 | Word | Action | 279 |------|--------| 280 | BUILD | Execute immediately, show output | 281 | FIX | Diagnose + fix, show what changed | 282 | EXPLAIN | Visual-first, diagram, short sentences | 283 | ULTRA | Maximum depth, all resources | 284 | STATUS | Full project state summary | 285 | PAUSE | Checkpoint all state to HENRY_BRAIN.md | 286 | RALPH: [goal] | Trigger RALPH persistent loop | 287 288 --- 289 290 ## RESUME INSTRUCTIONS 291 292 When starting a new session, say: 293 > "Read HENRY_BRAIN.md from whd4/henry-ai-company โ Status + next action." 294 295 Or paste the kickoff prompt from: 296 `C:\Users\whitt\HENRY_KICKOFF_PROMPT.txt` 297 298 **CRITICAL:** After restarting Claude Desktop โ come back to THIS chat, not a new one. 299 Only open a new chat if using the kickoff prompt for a completely fresh session. 300 301 --- 302 *Generated by HENRY OS โ 2026-03-21 session*