@@ -3,11 +3,72 @@ default_mode = "shadow"
33
44[[strategy_plugins ]]
55strategy = " tqqq_growth_income"
6- plugin = " crisis_response_shadow"
6+ plugin = " market_regime_control"
7+ enabled = true
8+ # Default runtime contract. This facade arbitrates crisis_response_shadow,
9+ # macro_risk_governor, and taco_rebound_shadow into one deterministic signal.
10+ # Strategy code consumes only notification and position_control from this
11+ # artifact; broker writes and live allocation mutation remain disabled.
12+
13+ [strategy_plugins .inputs ]
14+ prices = " data/output/market_regime_control/input/tqqq_price_history.csv"
15+ external_context = " data/output/market_regime_control/input/external_context.csv"
16+ event_set = " geopolitical-deescalation"
17+ benchmark_symbol = " QQQ"
18+ attack_symbol = " TQQQ"
19+ vix_symbols = [" VIX" , " ^VIX" , " VIXCLS" ]
20+ credit_pairs = [" HYG:IEF" , " LQD:IEF" ]
21+ financial_symbols = [" XLF" , " KRE" ]
22+ rate_symbols = [" IEF" , " TLT" ]
23+ strategy_policy = " levered_growth_income_v1"
24+ realized_vol_threshold = 0.30
25+ realized_vol_requires_confirmation = true
26+ delever_risk_asset_scalar = 0.0
27+ taco_opportunity_size_scalar = 0.0
28+ crisis_enabled = true
29+ macro_enabled = true
30+ taco_enabled = true
31+
32+ [strategy_plugins .outputs ]
33+ output_dir = " data/output/tqqq_growth_income/plugins/market_regime_control"
34+
35+ [[strategy_plugins ]]
36+ strategy = " soxl_soxx_trend_income"
37+ plugin = " market_regime_control"
738enabled = true
8- # The runner enforces plugin/strategy compatibility. This plugin is scoped to
9- # TQQQ/SOXL leveraged equity black-swan defense strategies.
10- # mode is optional when it matches default_mode; only shadow notification mode is supported.
39+ # SOXL uses the same macro/crisis contract. TACO stays disabled because the
40+ # current rebound-event playbook is calibrated for TQQQ/QQQ.
41+
42+ [strategy_plugins .inputs ]
43+ prices = " data/output/market_regime_control/input/soxl_price_history.csv"
44+ external_context = " data/output/market_regime_control/input/external_context.csv"
45+ event_set = " full"
46+ benchmark_symbol = " SOXX"
47+ attack_symbol = " SOXL"
48+ vix_symbols = [" VIX" , " ^VIX" , " VIXCLS" ]
49+ credit_pairs = [" HYG:IEF" , " LQD:IEF" ]
50+ financial_symbols = [" XLF" , " KRE" ]
51+ rate_symbols = [" IEF" , " TLT" ]
52+ strategy_policy = " levered_growth_income_v1"
53+ realized_vol_threshold = 0.30
54+ realized_vol_requires_confirmation = true
55+ delever_risk_asset_scalar = 0.0
56+ taco_enabled = false
57+ crisis_enabled = true
58+ macro_enabled = true
59+
60+ [strategy_plugins .outputs ]
61+ output_dir = " data/output/soxl_soxx_trend_income/plugins/market_regime_control"
62+
63+ # Deprecated compatibility mounts. They remain runnable for historical
64+ # backtests and downstream consumers that have not migrated to
65+ # market_regime_control yet. New strategy integrations should not read them
66+ # directly.
67+
68+ [[strategy_plugins ]]
69+ strategy = " tqqq_growth_income"
70+ plugin = " crisis_response_shadow"
71+ enabled = false
1172
1273[strategy_plugins .inputs ]
1374prices = " data/output/crisis_response_shadow/input/price_history.csv"
@@ -16,30 +77,14 @@ event_set = "full"
1677financial_symbols = [" XLF" , " KRE" ]
1778credit_pairs = [" HYG:IEF" , " LQD:IEF" ]
1879rate_symbols = [" IEF" , " TLT" ]
19- # Optional shadow-only AI audit. API keys are read from env vars, not TOML:
20- # QSP_STRATEGY_PLUGIN_AI_AUDIT_API_KEY / QSP_STRATEGY_PLUGIN_AI_AUDIT_FALLBACK_API_KEY
21- # Legacy QSP_CRISIS_AI_AUDIT_* names are still accepted.
22- ai_audit_enabled = true
23- ai_audit_codex_enabled = true
24- ai_audit_model = " gpt-5.4-mini"
25- # ai_audit_base_url = "https://api.openai.com/v1"
26- # ai_audit_fallback_base_url = "https://fallback.example.com/v1"
27- # ai_audit_fallback_model = "fallback-model"
28- # Anthropic fallback follows the CryptoCodexAuditBridge provider-fallback style.
29- # ai_audit_anthropic_model = "claude-sonnet-4-6"
30- # ai_audit_anthropic_base_url = "https://api.anthropic.com/v1"
31- # ai_audit_anthropic_version = "2023-06-01"
3280
3381[strategy_plugins .outputs ]
3482output_dir = " data/output/tqqq_growth_income/plugins/crisis_response_shadow"
3583
3684[[strategy_plugins ]]
3785strategy = " tqqq_growth_income"
3886plugin = " macro_risk_governor"
39- enabled = true
40- # Deterministic macro de-leveraging governor. VIX/credit/price stress can emit
41- # leverage_scalar and risk_asset_scalar for strategies that explicitly consume
42- # mounted plugin metadata. OSINT fields remain watch-only evidence.
87+ enabled = false
4388
4489[strategy_plugins .inputs ]
4590prices = " data/output/macro_risk_governor/input/price_history.csv"
@@ -55,50 +100,12 @@ output_dir = "data/output/tqqq_growth_income/plugins/macro_risk_governor"
55100[[strategy_plugins ]]
56101strategy = " tqqq_growth_income"
57102plugin = " taco_rebound_shadow"
58- enabled = true
59- # Notification-only TACO context. The artifact may trigger manual-review alerts,
60- # but it never recommends position size or mutates allocations.
61- # Manual-review alerts require post-event price rebound confirmation by default.
103+ enabled = false
62104
63105[strategy_plugins .inputs ]
64106prices = " data/output/taco_rebound_shadow/input/price_history.csv"
65107event_set = " geopolitical-deescalation"
66108start_date = " 2026-01-01"
67- # Optional shadow-only AI audit for event/source quality. It cannot alter the
68- # manual-review/watch-only route or generate allocation/order instructions.
69- ai_audit_enabled = true
70- ai_audit_codex_enabled = true
71- ai_audit_model = " gpt-5.4-mini"
72- # ai_audit_anthropic_model = "claude-sonnet-4-6"
73109
74110[strategy_plugins .outputs ]
75111output_dir = " data/output/tqqq_growth_income/plugins/taco_rebound_shadow"
76-
77- [[strategy_plugins ]]
78- strategy = " tqqq_growth_income"
79- plugin = " market_regime_control"
80- enabled = true
81- # Unified facade over crisis_response_shadow, macro_risk_governor, and
82- # taco_rebound_shadow. It emits one deterministic arbiter result with two
83- # exits: notification and strategy-opt-in position_control. Broker writes and
84- # live allocation mutation remain disabled in shadow mode.
85-
86- [strategy_plugins .inputs ]
87- prices = " data/output/market_regime_control/input/price_history.csv"
88- external_context = " data/output/market_regime_control/input/external_context.csv"
89- event_set = " geopolitical-deescalation"
90- benchmark_symbol = " QQQ"
91- attack_symbol = " TQQQ"
92- vix_symbols = [" VIX" , " ^VIX" , " VIXCLS" ]
93- credit_pairs = [" HYG:IEF" , " LQD:IEF" ]
94- financial_symbols = [" XLF" , " KRE" ]
95- rate_symbols = [" IEF" , " TLT" ]
96- strategy_policy = " levered_growth_income_v1"
97- taco_opportunity_size_scalar = 0.0
98- # Component toggles support staged shadow rollout.
99- crisis_enabled = true
100- macro_enabled = true
101- taco_enabled = true
102-
103- [strategy_plugins .outputs ]
104- output_dir = " data/output/tqqq_growth_income/plugins/market_regime_control"
0 commit comments