"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
fix: add swarm runs to allowed paths and increase all preset timeouts
Peng Qian5d90f3317fae
diff --git a/agent/src/swarm/presets/commodity_research_team.yaml b/agent/src/swarm/presets/commodity_research_team.yamlindex 6226c1039..0c936a5b4 100644--- a/agent/src/swarm/presets/commodity_research_team.yaml+++ b/agent/src/swarm/presets/commodity_research_team.yaml@@ -32,7 +32,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [commodity-analysis, web-reader, geopolitical-risk]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: demand_analyst@@ -65,7 +65,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [commodity-analysis, seasonal, global-macro]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: cycle_strategist@@ -100,7 +100,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [commodity-analysis, seasonal, strategy-generate]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/convertible_bond_team.yaml b/agent/src/swarm/presets/convertible_bond_team.yamlindex 4df41e265..c65214ee9 100644--- a/agent/src/swarm/presets/convertible_bond_team.yaml+++ b/agent/src/swarm/presets/convertible_bond_team.yaml@@ -29,7 +29,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [convertible-bond, fundamental-filter, credit-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: equity_analyst@@ -59,7 +59,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [convertible-bond, technical-basic, valuation-model]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: option_analyst@@ -89,7 +89,7 @@ agents:tools: [bash, read_file, write_file, load_skill, options_pricing]skills: [options-strategy, volatility, convertible-bond, options-payoff]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: cb_strategist@@ -121,7 +121,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [convertible-bond, strategy-generate]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/credit_research_team.yaml b/agent/src/swarm/presets/credit_research_team.yamlindex d9c06133c..f6592027b 100644--- a/agent/src/swarm/presets/credit_research_team.yaml+++ b/agent/src/swarm/presets/credit_research_team.yaml@@ -48,7 +48,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [credit-analysis, financial-statement]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: rate_analyst@@ -98,7 +98,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [credit-analysis, macro-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: sector_credit_analyst@@ -151,7 +151,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [credit-analysis, sector-rotation, regulatory-knowledge]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: fixed_income_strategist@@ -204,7 +204,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [credit-analysis, strategy-generate, risk-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/crypto_research_lab.yaml b/agent/src/swarm/presets/crypto_research_lab.yamlindex 8c2ddc362..31b38befd 100644--- a/agent/src/swarm/presets/crypto_research_lab.yaml+++ b/agent/src/swarm/presets/crypto_research_lab.yaml@@ -63,7 +63,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [onchain-analysis, okx-market, stablecoin-flow]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: defi_analyst@@ -114,7 +114,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [crypto-derivatives, defi-yield, token-unlock-treasury, web-reader]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: crypto_sentiment_analyst@@ -175,7 +175,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [sentiment-analysis, okx-market, perp-funding-basis, liquidation-heatmap]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: alpha_synthesizer@@ -225,7 +225,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [asset-allocation, risk-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/crypto_trading_desk.yaml b/agent/src/swarm/presets/crypto_trading_desk.yamlindex bcde6f2dd..6b7819587 100644--- a/agent/src/swarm/presets/crypto_trading_desk.yaml+++ b/agent/src/swarm/presets/crypto_trading_desk.yaml@@ -41,7 +41,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [perp-funding-basis, okx-market, crypto-derivatives]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: liquidation_analyst@@ -82,7 +82,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [liquidation-heatmap, market-microstructure, execution-model]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: flow_analyst@@ -118,7 +118,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [stablecoin-flow, onchain-analysis, token-unlock-treasury, defi-yield]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: desk_risk_manager@@ -167,7 +167,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [risk-analysis, asset-allocation, volatility, hedging-strategy]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/derivatives_strategy_desk.yaml b/agent/src/swarm/presets/derivatives_strategy_desk.yamlindex 25fe5c6c6..93b3e638e 100644--- a/agent/src/swarm/presets/derivatives_strategy_desk.yaml+++ b/agent/src/swarm/presets/derivatives_strategy_desk.yaml@@ -55,7 +55,7 @@ agents:tools: [bash, read_file, write_file, load_skill, options_pricing]skills: [volatility, options-advanced]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: strategy_designer@@ -120,7 +120,7 @@ agents:tools: [bash, read_file, write_file, load_skill, options_pricing]skills: [options-strategy, options-advanced, hedging-strategy, options-payoff]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: greeks_manager@@ -181,7 +181,7 @@ agents:tools: [bash, read_file, write_file, load_skill, options_pricing]skills: [options-advanced, risk-analysis, volatility, options-payoff]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/earnings_research_desk.yaml b/agent/src/swarm/presets/earnings_research_desk.yamlindex 7db7a2fa1..99613ae12 100644--- a/agent/src/swarm/presets/earnings_research_desk.yaml+++ b/agent/src/swarm/presets/earnings_research_desk.yaml@@ -43,7 +43,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [edgar-sec-filings, financial-statement, yfinance, fundamental-filter, valuation-model]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: revision_tracker@@ -84,7 +84,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [earnings-revision, earnings-forecast]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: event_options_analyst@@ -127,7 +127,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [options-advanced, options-strategy, event-driven, volatility]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: earnings_strategist@@ -176,7 +176,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [strategy-generate, risk-analysis, report-generate]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/equity_research_team.yaml b/agent/src/swarm/presets/equity_research_team.yamlindex 077b29412..5a51a53e2 100644--- a/agent/src/swarm/presets/equity_research_team.yaml+++ b/agent/src/swarm/presets/equity_research_team.yaml@@ -25,7 +25,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [tushare, okx-market, yfinance, web-reader, global-macro]max_iterations: 50- timeout_seconds: 900+ timeout_seconds: 1800max_retries: 1- id: sector_analyst@@ -50,7 +50,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [tushare, yfinance, fundamental-filter, multi-factor, us-etf-flow, sector-rotation]max_iterations: 50- timeout_seconds: 900+ timeout_seconds: 1800max_retries: 1- id: stock_picker@@ -76,7 +76,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest, factor_analysis]skills: [tushare, yfinance, strategy-generate, technical-basic, multi-factor, earnings-revision]max_iterations: 50- timeout_seconds: 900+ timeout_seconds: 1800max_retries: 1- id: aggregator@@ -102,7 +102,7 @@ agents:tools: [bash, read_file, write_file]skills: [report-generate]max_iterations: 50- timeout_seconds: 900+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/etf_allocation_desk.yaml b/agent/src/swarm/presets/etf_allocation_desk.yamlindex 301114adb..a96c45103 100644--- a/agent/src/swarm/presets/etf_allocation_desk.yaml+++ b/agent/src/swarm/presets/etf_allocation_desk.yaml@@ -68,7 +68,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [etf-analysis, fund-analysis, tushare]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: macro_allocator@@ -127,7 +127,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [macro-analysis, asset-allocation, global-macro]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: risk_budgeter@@ -191,7 +191,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [risk-analysis, volatility, etf-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: portfolio_optimizer@@ -244,7 +244,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [etf-analysis, strategy-generate, asset-allocation]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/event_driven_task_force.yaml b/agent/src/swarm/presets/event_driven_task_force.yamlindex a7774501c..34a9a75cf 100644--- a/agent/src/swarm/presets/event_driven_task_force.yaml+++ b/agent/src/swarm/presets/event_driven_task_force.yaml@@ -37,7 +37,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [event-driven, corporate-events, web-reader, geopolitical-risk]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: impact_analyst@@ -84,7 +84,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [corporate-events, sentiment-analysis, valuation-model]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: strategy_builder@@ -121,7 +121,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [event-driven, strategy-generate]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/factor_research_committee.yaml b/agent/src/swarm/presets/factor_research_committee.yamlindex 1022251dc..b129482ae 100644--- a/agent/src/swarm/presets/factor_research_committee.yaml+++ b/agent/src/swarm/presets/factor_research_committee.yaml@@ -48,7 +48,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [factor-research, multi-factor]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: factor_validator@@ -97,7 +97,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [quant-statistics, factor-research]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: factor_combiner@@ -145,7 +145,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis, backtest]skills: [multi-factor, strategy-generate]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: backtest_reviewer@@ -196,7 +196,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [backtest-diagnose, quant-statistics]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/fund_selection_panel.yaml b/agent/src/swarm/presets/fund_selection_panel.yamlindex 9b898bf31..a11e5eed1 100644--- a/agent/src/swarm/presets/fund_selection_panel.yaml+++ b/agent/src/swarm/presets/fund_selection_panel.yaml@@ -33,7 +33,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [fund-analysis, fundamental-filter]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: attribution_analyst@@ -83,7 +83,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [performance-attribution, fund-analysis, multi-factor]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: fof_optimizer@@ -135,7 +135,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [asset-allocation, risk-analysis, strategy-generate, etf-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/fundamental_research_team.yaml b/agent/src/swarm/presets/fundamental_research_team.yamlindex 0edad6059..0678c5c4a 100644--- a/agent/src/swarm/presets/fundamental_research_team.yaml+++ b/agent/src/swarm/presets/fundamental_research_team.yaml@@ -45,7 +45,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [financial-statement, fundamental-filter]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: valuation_analyst@@ -95,7 +95,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [valuation-model, earnings-forecast]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: quality_analyst@@ -145,7 +145,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [fundamental-filter, web-reader]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: report_editor@@ -179,7 +179,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [report-generate]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/geopolitical_war_room.yaml b/agent/src/swarm/presets/geopolitical_war_room.yamlindex 934bc79af..39418edb4 100644--- a/agent/src/swarm/presets/geopolitical_war_room.yaml+++ b/agent/src/swarm/presets/geopolitical_war_room.yaml@@ -49,7 +49,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [geopolitical-risk, web-reader, global-macro]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: energy_analyst@@ -104,7 +104,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [commodity-analysis, geopolitical-risk]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: supply_chain_analyst@@ -161,7 +161,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [geopolitical-risk, sector-rotation, event-driven]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: chief_strategist@@ -222,7 +222,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [asset-allocation, risk-analysis, hedging-strategy]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/global_allocation_committee.yaml b/agent/src/swarm/presets/global_allocation_committee.yamlindex 6aafefe05..17288849e 100644--- a/agent/src/swarm/presets/global_allocation_committee.yaml+++ b/agent/src/swarm/presets/global_allocation_committee.yaml@@ -26,7 +26,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [tushare, technical-basic, fundamental-filter, hk-connect-flow, sector-rotation, multi-factor]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: crypto_analyst@@ -51,7 +51,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [okx-market, perp-funding-basis, stablecoin-flow, crypto-derivatives, volatility, onchain-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: us_hk_analyst@@ -76,7 +76,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [yfinance, us-etf-flow, earnings-revision, adr-hshare, hk-connect-flow, technical-basic]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: allocator@@ -109,7 +109,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [asset-allocation, risk-analysis, correlation-analysis, strategy-generate]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/global_equities_desk.yaml b/agent/src/swarm/presets/global_equities_desk.yamlindex 5bf4aef96..54e44e3c8 100644--- a/agent/src/swarm/presets/global_equities_desk.yaml+++ b/agent/src/swarm/presets/global_equities_desk.yaml@@ -43,7 +43,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [tushare, fundamental-filter, hk-connect-flow, technical-basic, multi-factor, sector-rotation]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: us_hk_researcher@@ -91,7 +91,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [yfinance, edgar-sec-filings, earnings-revision, us-etf-flow, adr-hshare, hk-connect-flow, technical-basic]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: crypto_researcher@@ -129,7 +129,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [okx-market, perp-funding-basis, stablecoin-flow, onchain-analysis, crypto-derivatives]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: global_strategist@@ -173,7 +173,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [asset-allocation, risk-analysis, strategy-generate, correlation-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/investment_committee.yaml b/agent/src/swarm/presets/investment_committee.yamlindex 13eaae6e8..96e82bca4 100644--- a/agent/src/swarm/presets/investment_committee.yaml+++ b/agent/src/swarm/presets/investment_committee.yaml@@ -47,7 +47,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [technical-basic, fundamental-filter, yfinance, earnings-revision, sentiment-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: bear_advocate@@ -100,7 +100,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [technical-basic, fundamental-filter, yfinance, risk-analysis, volatility]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: risk_officer@@ -152,7 +152,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [risk-analysis, volatility, correlation-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: portfolio_manager@@ -199,7 +199,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [strategy-generate, asset-allocation]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/macro_rates_fx_desk.yaml b/agent/src/swarm/presets/macro_rates_fx_desk.yamlindex 7783263fa..2b955c7e8 100644--- a/agent/src/swarm/presets/macro_rates_fx_desk.yaml+++ b/agent/src/swarm/presets/macro_rates_fx_desk.yaml@@ -49,7 +49,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [macro-analysis, global-macro, credit-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: fx_strategist@@ -94,7 +94,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [global-macro, macro-analysis, yfinance]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: commodity_inflation_analyst@@ -133,7 +133,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [commodity-analysis, global-macro, seasonal]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: macro_pm@@ -185,7 +185,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [asset-allocation, risk-analysis, hedging-strategy, strategy-generate]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/macro_strategy_forum.yaml b/agent/src/swarm/presets/macro_strategy_forum.yamlindex 0029ad268..7f8acc0bf 100644--- a/agent/src/swarm/presets/macro_strategy_forum.yaml+++ b/agent/src/swarm/presets/macro_strategy_forum.yaml@@ -50,7 +50,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [global-macro, web-reader, geopolitical-risk]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: domestic_economist@@ -101,7 +101,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [macro-analysis, tushare]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: policy_analyst@@ -152,7 +152,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [regulatory-knowledge, sector-rotation, web-reader]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: chief_strategist@@ -198,7 +198,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [asset-allocation, macro-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/ml_quant_lab.yaml b/agent/src/swarm/presets/ml_quant_lab.yamlindex 64ecafaa8..d186efb2c 100644--- a/agent/src/swarm/presets/ml_quant_lab.yaml+++ b/agent/src/swarm/presets/ml_quant_lab.yaml@@ -35,7 +35,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [ml-strategy, factor-research, multi-factor]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: data_scientist@@ -69,7 +69,7 @@ agents:tools: [bash, read_file, write_file, edit_file, load_skill]skills: [ml-strategy, quant-statistics]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: backtest_engineer@@ -106,7 +106,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [strategy-generate, backtest-diagnose, quant-statistics]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/pairs_research_lab.yaml b/agent/src/swarm/presets/pairs_research_lab.yamlindex 44eb48ad4..0196a75f4 100644--- a/agent/src/swarm/presets/pairs_research_lab.yaml+++ b/agent/src/swarm/presets/pairs_research_lab.yaml@@ -57,7 +57,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [correlation-analysis, pair-trading, multi-factor]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: cointegration_tester@@ -127,7 +127,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [correlation-analysis, quant-statistics]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: pair_strategist@@ -190,7 +190,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [pair-trading, correlation-analysis, strategy-generate]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: microstructure_reviewer@@ -254,7 +254,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [market-microstructure, execution-model]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/portfolio_review_board.yaml b/agent/src/swarm/presets/portfolio_review_board.yamlindex ebec60eac..6cc0bae40 100644--- a/agent/src/swarm/presets/portfolio_review_board.yaml+++ b/agent/src/swarm/presets/portfolio_review_board.yaml@@ -37,7 +37,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [performance-attribution, multi-factor]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: risk_inspector@@ -81,7 +81,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [risk-analysis, volatility]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: execution_analyst@@ -124,7 +124,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [execution-model, market-microstructure]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: chief_investment_officer@@ -162,7 +162,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [asset-allocation, risk-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/quant_strategy_desk.yaml b/agent/src/swarm/presets/quant_strategy_desk.yamlindex 71384b28f..514580182 100644--- a/agent/src/swarm/presets/quant_strategy_desk.yaml+++ b/agent/src/swarm/presets/quant_strategy_desk.yaml@@ -24,7 +24,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [tushare, fundamental-filter]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: factor_miner@@ -48,7 +48,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [multi-factor, factor-research]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: backtester@@ -72,7 +72,7 @@ agents:tools: [bash, read_file, write_file, edit_file, load_skill, backtest]skills: [strategy-generate, technical-basic]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: risk_auditor@@ -96,7 +96,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [volatility]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/risk_committee.yaml b/agent/src/swarm/presets/risk_committee.yamlindex 7487d5b92..fcf889147 100644--- a/agent/src/swarm/presets/risk_committee.yaml+++ b/agent/src/swarm/presets/risk_committee.yaml@@ -24,7 +24,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [volatility]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: tail_risk_analyst@@ -48,7 +48,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [volatility]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: regime_detector@@ -72,7 +72,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [volatility, technical-basic]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: aggregator@@ -98,7 +98,7 @@ agents:tools: [bash, read_file, write_file]skills: []max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/sector_rotation_team.yaml b/agent/src/swarm/presets/sector_rotation_team.yamlindex 8443907f6..cc89d2843 100644--- a/agent/src/swarm/presets/sector_rotation_team.yaml+++ b/agent/src/swarm/presets/sector_rotation_team.yaml@@ -54,7 +54,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [macro-analysis, seasonal]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: prosperity_analyst@@ -108,7 +108,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [sector-rotation, fundamental-filter, multi-factor]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: flow_analyst@@ -161,7 +161,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [tushare, sentiment-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: rotation_strategist@@ -207,7 +207,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [strategy-generate, sector-rotation]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/sentiment_intelligence_team.yaml b/agent/src/swarm/presets/sentiment_intelligence_team.yamlindex 5b0b255a0..aa6c5c3f4 100644--- a/agent/src/swarm/presets/sentiment_intelligence_team.yaml+++ b/agent/src/swarm/presets/sentiment_intelligence_team.yaml@@ -30,7 +30,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [web-reader, sentiment-analysis, social-media-intelligence]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: social_analyst@@ -60,7 +60,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [behavioral-finance, sentiment-analysis, social-media-intelligence]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: flow_analyst@@ -90,7 +90,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [tushare, sentiment-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: signal_synthesizer@@ -122,7 +122,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [behavioral-finance, risk-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/social_alpha_team.yaml b/agent/src/swarm/presets/social_alpha_team.yamlindex b0362fad0..b70638e11 100644--- a/agent/src/swarm/presets/social_alpha_team.yaml+++ b/agent/src/swarm/presets/social_alpha_team.yaml@@ -56,7 +56,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [social-media-intelligence, sentiment-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: telegram_analyst@@ -119,7 +119,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [social-media-intelligence, sentiment-analysis, onchain-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: reddit_analyst@@ -178,7 +178,7 @@ agents:tools: [bash, read_file, write_file, load_skill, read_url]skills: [social-media-intelligence, behavioral-finance, sentiment-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: alpha_synthesizer@@ -241,7 +241,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [social-media-intelligence, factor-research, quant-statistics]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/statistical_arbitrage_desk.yaml b/agent/src/swarm/presets/statistical_arbitrage_desk.yamlindex e8687f7c4..ed77fdf09 100644--- a/agent/src/swarm/presets/statistical_arbitrage_desk.yaml+++ b/agent/src/swarm/presets/statistical_arbitrage_desk.yaml@@ -45,7 +45,7 @@ agents:tools: [bash, read_file, write_file, load_skill, factor_analysis]skills: [pair-trading, quant-statistics, correlation-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: microstructure_analyst@@ -86,7 +86,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [market-microstructure, execution-model]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: arb_strategist@@ -134,7 +134,7 @@ agents:tools: [bash, read_file, write_file, load_skill, backtest]skills: [pair-trading, strategy-generate, quant-statistics]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: risk_monitor@@ -184,7 +184,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [risk-analysis, volatility]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/swarm/presets/technical_analysis_panel.yaml b/agent/src/swarm/presets/technical_analysis_panel.yamlindex 653b9ea72..ab5be7c45 100644--- a/agent/src/swarm/presets/technical_analysis_panel.yaml+++ b/agent/src/swarm/presets/technical_analysis_panel.yaml@@ -69,7 +69,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [technical-basic, candlestick]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: ichimoku_analyst@@ -121,7 +121,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [ichimoku]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: harmonic_analyst@@ -166,7 +166,7 @@ agents:tools: [bash, read_file, write_file, load_skill, pattern]skills: [harmonic]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: wave_analyst@@ -218,7 +218,7 @@ agents:tools: [bash, read_file, write_file, load_skill, pattern]skills: [elliott-wave, chanlun]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: smc_analyst@@ -265,7 +265,7 @@ agents:tools: [bash, read_file, write_file, load_skill]skills: [smc, minute-analysis]max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1- id: signal_aggregator@@ -323,7 +323,7 @@ agents:tools: [bash, read_file, write_file]skills: []max_iterations: 50- timeout_seconds: 600+ timeout_seconds: 1800max_retries: 1tasks:diff --git a/agent/src/tools/path_utils.py b/agent/src/tools/path_utils.pyindex 7106c5723..7680554d4 100644--- a/agent/src/tools/path_utils.py+++ b/agent/src/tools/path_utils.py@@ -94,6 +94,7 @@ def _default_run_roots() -> list[Path]:agent_root = _agent_root()return [agent_root / "runs",+ agent_root / ".swarm" / "runs",cwd / "runs",home / ".vibe-trading" / "shadow_runs",]