- _build_market_state (CLI) now saves regime_history automatically - _build_state (web) now saves regime_history automatically - Remove duplicate regime save from cmd_score - Remove unused imports (timedelta, get_connection) - Fix: web dashboard never updated regime_history table