โš™ Thresholds
Pause at trust < 40 โ€” brain stops showing trade ideas on brain-bet
Cooldown at trust 40-60 โ€” transitional state; brain doesn't show trades but is preparing to resume
Resume at trust โ‰ฅ 60 โ€” full operation restored

The hysteresis (different threshold to pause vs resume) prevents oscillation when the score is right near the boundary.
๐Ÿ“œ Transition history
๐Ÿ“š What it does
Polls TradeTrust every 60 seconds. When the score drops below 40, the circuit breaker fires:
  • Sets bpleone_auto_pause_v1.state = 'PAUSED' in localStorage
  • Fires a browser notification (if permitted)
  • Dispatches bpleone:auto-pause-change window event
  • Brain-bet checks AutoPause.isPaused() and shows "BRAIN PAUSED" instead of trade ideas
The state transitions are logged so Brandon can review what triggered each pause/resume.