mirror of
https://github.com/cjudice-commits/prediction-market-arb.git
synced 2026-07-27 21:47:46 +00:00
5b1e68c580
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>
25 lines
487 B
Plaintext
25 lines
487 B
Plaintext
# Secrets — never commit. Provide your own data/secrets.json locally.
|
|
data/secrets.json
|
|
|
|
# IBKR contract watchlist (user-editable; conids/dates change frequently)
|
|
data/ibkr_contracts.json
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.pyc
|
|
|
|
# Local preview staging
|
|
.arb-preview/
|
|
|
|
# pairs.json backup written by scripts/roll_month.py on every roll
|
|
*.bak
|
|
|
|
# server log (LaunchAgent / manual run)
|
|
*.log
|
|
|
|
# Local Claude Code config (launch.json, settings.local.json, worktrees, etc.)
|
|
.claude/
|
|
|
|
# macOS
|
|
.DS_Store
|