From 30c723213790bf35cb1a6c4042f23a7361f40951 Mon Sep 17 00:00:00 2001 From: momentum dev Date: Wed, 22 Jul 2026 23:36:29 -0500 Subject: [PATCH] fix: market_context must not import runtime (research-isolation guard) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The DB-config wiring was unnecessary there anyway — market_context reads zero trading knobs; the guard test (plan 009) rightly rejected the import. Co-Authored-By: Claude Fable 5 --- research/ingestion/market_context.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/research/ingestion/market_context.py b/research/ingestion/market_context.py index 65548c4..4b732ec 100644 --- a/research/ingestion/market_context.py +++ b/research/ingestion/market_context.py @@ -26,12 +26,6 @@ from research.ingestion.market_data import ( # noqa: E402 upsert_daily_bars, upsert_minute_bars) from research.multi_schema import open_research_db # noqa: E402 -# config parity with the live loop: DB-backed knobs (config_overrides) beat -# compose env — a bare env would replay under DEFAULT exits (the 4.5x-baseline -# landmine, orderflow-shelf-verdicts 2026-07-17) -from runtime.env_overrides import load as _load_cfg_overrides # noqa: E402 -_load_cfg_overrides() - INDEX_SYMBOLS = ("SPY", "QQQ")