Replace brain.decide() with scenario_engine.evaluate() in trading_cycle and brain.decide_batch() with per-stock scenario evaluation in run_daily_session. Initialize PreMarketPlanner, ScenarioEngine, and PlaybookStore in run(). Add pre-market playbook generation on market open (1 Gemini call per market per day), market_data enrichment from scanner metrics (rsi, volume_ratio), portfolio_data for global rules, scenario match notifications, and playbook lifecycle management. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
36 KiB
36 KiB