The local server kept dying because it ran as a background/agent process under
~/Desktop (a macOS TCC-protected folder): once the launching session ended the
orphaned process lost Desktop access and every file read hit PermissionError.
Permanent fix lives outside git -- the project now sits at
~/prediction-market-arb (not TCC-protected) and runs via a login LaunchAgent
(RunAtLoad + KeepAlive: starts at login, restarts on crash, survives reboot).
Code side: server.py honors ARB_NO_POLLER=1 to skip the local SMS poller (the
LaunchAgent sets it) so the always-on server doesn't double-text alongside the
GitHub Actions alerter; gitignore the service's *.log.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Regenerated from live markets via scripts/roll_month.py --month 2026-06.
126 rows across 8 assets (102 with a Polymarket leg); every Kalshi ticker
carries the 26JUN30 expiry, every Poly slug is a june-2026 slug. Full
16-strike Kalshi ladders (ETH 14) with no throttling. Also gitignore the
*.bak the roller writes on each roll.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- arb/ibkr.py: Client Portal Gateway client (localhost:5000 over self-
signed SSL; auth_status, tickle, snapshot, secdef/search). Distinct
NotConnected vs NotAuthed exceptions for graceful UI fallbacks.
- arb/daily.py: pairs each user-configured IBKR ForecastEx daily-BTC
contract against the Kalshi KXBTCD market closing at the same UTC
instant with nearest strike. Reuses arb.calc.evaluate for the worst-
case arb math; IBKR slots into the 'pq' position. NO KALSHI status
when no matching Kalshi market exists.
- data/ibkr_contracts.example.json: template (real file gitignored).
- /api/scan/daily route + 'IBKR × Kalshi' tab in the local UI. Tab
shows a setup banner explaining what to do when Gateway/contracts
aren't configured (vs crashing).
- Public Pages dashboard unchanged (positions + IBKR are local-only).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Monthly + hourly Kalshi/Polymarket arb scanner (stdlib-only Python).
- Live positions tab w/ realized P&L history.
- GitHub Actions cron workflow texts SMS via Apps Script webhook on
newly-detected arbs. State persisted in alerts_state.json.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>