@@ -3,11 +3,84 @@ default_mode = "shadow"
33
44[[strategy_plugins ]]
55strategy = " tqqq_growth_income"
6- plugin = " crisis_response_shadow "
6+ plugin = " market_regime_control "
77enabled = 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.
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+ # Runner artifacts include en-US/zh-CN localized_messages and log_record for
13+ # display/logging. Strategy logic should still read machine route/action codes.
14+
15+ [strategy_plugins .inputs ]
16+ prices = " data/output/market_regime_control/input/tqqq_price_history.csv"
17+ # Build with:
18+ # qsp-build-macro-external-context --start 1999-01-01 --output data/output/market_regime_control/input/external_context.csv
19+ external_context = " data/output/market_regime_control/input/external_context.csv"
20+ event_set = " geopolitical-deescalation"
21+ benchmark_symbol = " QQQ"
22+ attack_symbol = " TQQQ"
23+ vix_symbols = [" VIX" , " ^VIX" , " VIXCLS" ]
24+ vix3m_symbols = [" VIX3M" , " ^VIX3M" , " VXV" , " ^VXV" ]
25+ credit_pairs = [" HYG:IEF" , " LQD:IEF" ]
26+ financial_symbols = [" XLF" , " KRE" ]
27+ rate_symbols = [" IEF" , " TLT" ]
28+ strategy_policy = " levered_growth_income_v1"
29+ realized_vol_threshold = 0.30
30+ realized_vol_requires_confirmation = true
31+ # Fixed production default after external-context backtest: external hard-data
32+ # stress fields are notification/watch evidence unless this research switch is
33+ # explicitly enabled.
34+ external_stress_actionable = false
35+ delever_risk_asset_scalar = 0.0
36+ taco_opportunity_size_scalar = 0.0
37+ crisis_enabled = true
38+ macro_enabled = true
39+ taco_enabled = true
40+
41+ [strategy_plugins .outputs ]
42+ output_dir = " data/output/tqqq_growth_income/plugins/market_regime_control"
43+
44+ [[strategy_plugins ]]
45+ strategy = " market_regime_notification"
46+ plugin = " market_regime_control"
47+ enabled = true
48+ # General market-regime notification. This artifact is not mounted into the
49+ # SOXL/SOXX strategy runtime; sector-levered SOXL keeps its own validated SOXX
50+ # volatility gate and humans decide whether broad macro/crisis notices matter.
51+
52+ [strategy_plugins .inputs ]
53+ prices = " data/output/market_regime_control/input/soxl_price_history.csv"
54+ external_context = " data/output/market_regime_control/input/external_context.csv"
55+ event_set = " full"
56+ benchmark_symbol = " SOXX"
57+ attack_symbol = " SOXL"
58+ vix_symbols = [" VIX" , " ^VIX" , " VIXCLS" ]
59+ vix3m_symbols = [" VIX3M" , " ^VIX3M" , " VXV" , " ^VXV" ]
60+ credit_pairs = [" HYG:IEF" , " LQD:IEF" ]
61+ financial_symbols = [" XLF" , " KRE" ]
62+ rate_symbols = [" IEF" , " TLT" ]
63+ strategy_policy = " levered_growth_income_v1"
64+ realized_vol_threshold = 0.30
65+ realized_vol_requires_confirmation = true
66+ external_stress_actionable = false
67+ delever_risk_asset_scalar = 0.0
68+ taco_enabled = false
69+ crisis_enabled = true
70+ macro_enabled = true
71+
72+ [strategy_plugins .outputs ]
73+ output_dir = " data/output/market_regime_notification/plugins/market_regime_control"
74+
75+ # Deprecated compatibility mounts. They remain runnable for historical
76+ # backtests and downstream consumers that have not migrated to
77+ # market_regime_control yet. New strategy integrations should not read them
78+ # directly.
79+
80+ [[strategy_plugins ]]
81+ strategy = " tqqq_growth_income"
82+ plugin = " crisis_response_shadow"
83+ enabled = false
1184
1285[strategy_plugins .inputs ]
1386prices = " data/output/crisis_response_shadow/input/price_history.csv"
@@ -16,41 +89,37 @@ event_set = "full"
1689financial_symbols = [" XLF" , " KRE" ]
1790credit_pairs = [" HYG:IEF" , " LQD:IEF" ]
1891rate_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"
3292
3393[strategy_plugins .outputs ]
3494output_dir = " data/output/tqqq_growth_income/plugins/crisis_response_shadow"
3595
96+ [[strategy_plugins ]]
97+ strategy = " tqqq_growth_income"
98+ plugin = " macro_risk_governor"
99+ enabled = false
100+
101+ [strategy_plugins .inputs ]
102+ prices = " data/output/macro_risk_governor/input/price_history.csv"
103+ external_context = " data/output/macro_risk_governor/input/external_context.csv"
104+ benchmark_symbol = " QQQ"
105+ attack_symbol = " TQQQ"
106+ vix_symbols = [" VIX" , " ^VIX" , " VIXCLS" ]
107+ vix3m_symbols = [" VIX3M" , " ^VIX3M" , " VXV" , " ^VXV" ]
108+ credit_pairs = [" HYG:IEF" , " LQD:IEF" ]
109+ external_stress_actionable = false
110+
111+ [strategy_plugins .outputs ]
112+ output_dir = " data/output/tqqq_growth_income/plugins/macro_risk_governor"
113+
36114[[strategy_plugins ]]
37115strategy = " tqqq_growth_income"
38116plugin = " taco_rebound_shadow"
39- enabled = true
40- # Notification-only TACO context. The artifact may trigger manual-review alerts,
41- # but it never recommends position size or mutates allocations.
42- # Manual-review alerts require post-event price rebound confirmation by default.
117+ enabled = false
43118
44119[strategy_plugins .inputs ]
45120prices = " data/output/taco_rebound_shadow/input/price_history.csv"
46121event_set = " geopolitical-deescalation"
47122start_date = " 2026-01-01"
48- # Optional shadow-only AI audit for event/source quality. It cannot alter the
49- # manual-review/watch-only route or generate allocation/order instructions.
50- ai_audit_enabled = true
51- ai_audit_codex_enabled = true
52- ai_audit_model = " gpt-5.4-mini"
53- # ai_audit_anthropic_model = "claude-sonnet-4-6"
54123
55124[strategy_plugins .outputs ]
56125output_dir = " data/output/tqqq_growth_income/plugins/taco_rebound_shadow"
0 commit comments