id: 0b3c4b3dec864710b33291189382cbe8
parent_id: 
item_type: 1
item_id: 0c9396f040cf4ba794f8fe0dbf0c6c8e
item_updated_time: 1782143610977
title_diff: "[{\"diffs\":[[1,\"Live Integration — Session Startup & Audit Checklist\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":52}]"
body_diff: "[{\"diffs\":[[1,\"# Live Integration — Session Startup & Audit Checklist\\\n\\\n## Prerequisites\\\n\\\n### Server (super_marvin repo, RustRover)\\\n```bash\\\ncd ~/RustroverProjects/super_marvin\\\ncargo build --release\\\n```\\\n\\\n### Userscript (super-marvin-userscripts repo, WebStorm)\\\n```bash\\\ncd ~/WebstormProjects/super-marvin-userscripts\\\nnpm run build\\\n```\\\n\\\n## Starting the Server\\\n\\\n```bash\\\n# Clear logs\\\ntruncate -s 0 /tmp/live_server.log\\\nrm -f /tmp/super_marvin_hand_history.log\\\n\\\n# Start via Kilo background process:\\\nRUST_LOG=live_server=info ./target/release/live_server\\\n# Port: 8088\\\n```\\\n\\\n### Config files\\\n- **Server config**: `configs/live_server.toml`\\\n- **Bot selection**: `configs/live_bots.toml`\\\n- **Cash NL bot**: `configs/bots/cash_nl.toml` — Gen 3: ng_preflop + g3_postflop_rollout\\\n- **Hero name**: `torn/src/config.ts` → `heroName: \\\"Bolsa\\\"`\\\n\\\n## Browser Setup\\\n1. Refresh the Torn holdem page\\\n2. TamperMonkey auto-loads `dist/torn.user.js`\\\n3. Check console: `[super-marvin-torn] started`\\\n4. Switch to auto mode via TamperMonkey menu\\\n\\\n## Audit Checklist\\\n\\\n### 1. Server log (`tail -f /tmp/live_server.log`)\\\n- **INFO**: `decision requested` (full GameInfo), `decision` (action), `responding with decision`\\\n- **WARN**: `hero missing from roster`, `decision failed`, `synthesized missing blind`\\\n\\\n### 2. Hand history (`/tmp/super_marvin_hands/hands/` and `/decisions/`)\\\n- Per-hand logs: full hand with bot decisions inline\\\n- Decision logs: individual bot decision with game context\\\n- Check: blinds, antes, player actions, pot/winner correctness\\\n\\\n### 3. Key things to watch for\\\n- **Bet sizing**: Should now vary (40%, 67%, 75% pot) with randomization\\\n- **Preflop range**: ng_preflop should play ~15-25% VPIP (wider than old Gen 2)\\\n- **Turn/river aggression**: Gen 3 should bet more turns/rivers than Gen 2\\\n- **Position awareness**: BTN should open wider than UTG\\\n\\\n## Known Issues (see \\\"Live Audit — Open Issues Tracker\\\" note)\\\n1. **U3: k/M suffix parsing** — `$5k` parsed as `$5`. CRITICAL.\\\n2. **B1: 4-bet = AllIn** — shoves without stack-depth check.\\\n3. **D1: Missing antes** — pot undercounted by 7-8BB/hand.\\\n4. **U1: seenTexts not cleared** — repeated actions dropped across hands.\\\n\\\n## Tuned Parameters (cash_nl.toml, Gen 3)\\\n| Parameter | Value | Purpose |\\\n|-----------|-------|---------|\\\n| call_base | 0.50 | Looser calls vs loose field |\\\n| call_ppot_base | 0.32 | Draw calling threshold |\\\n| bet_flop_base | 0.52 | Flop betting threshold |\\\n| bet_turn_base | 0.70 | Turn betting (more aggressive) |\\\n| raise_base | 0.80 | Value raise threshold |\\\n| bet_value_fraction | 0.67 | Dry board value bet sizing |\\\n| bet_wet_fraction | 0.75 | Wet board sizing (deny equity) |\\\n| bet_bluff_fraction | 0.40 | Bluff bet sizing |\\\n| raise_w_bluff | 0.30 | Bluff raise threshold discount |\\\n| raise_w_draw | 0.50 | Draw raise threshold discount |\\\n\\\n## Architecture Summary\\\n- **Userscript** (Firefox/TamperMonkey): DOM scraper → event stream → POST /api/event\\\n- **Server** (Rust/Axum): event stream → per-table state machine → bot decision → response\\\n- **Protocol** (poker_protocol): TableEvent, BotAction, ProfilePlayer\\\n- **Bots** (holdem_bots): Gen 3 — ng_preflop + g3_postflop_rollout, first_applicable voting\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":3153}]"
metadata_diff: {"new":{"id":"0c9396f040cf4ba794f8fe0dbf0c6c8e","parent_id":"2c8da247905946c3aa19eb4936e16323","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1781619817263,"markup_language":1,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2026-06-22T15:57:19.164Z
created_time: 2026-06-22T15:57:19.164Z
type_: 13