refactor: remove legacy agent fallback paths

Remove legacy AnalystAgent fallback and EVO_AGENT_IDS=legacy test paths.
EvoAgent is now the default for all supported roles.

- Delete runs/_legacy/ backup directory (live/, backtest/, production/)
- Remove test_evo_agent_legacy_mode test
- Remove test_pipeline_create_runtime_analyst_uses_legacy_when_not_in_evo_ids test
- Update TradingPipeline docstring to reflect EvoAgent-only runtime

Constraint: EvoAgent migration completed in prior commits
Scope-risk: narrow (test and comment cleanup only)
This commit is contained in:
2026-04-03 14:28:16 +08:00
parent a9d863073f
commit 80ce63da5a
2 changed files with 1 additions and 74 deletions

View File

@@ -103,7 +103,7 @@ class TradingPipeline:
Real-time updates via StateSync after each agent completes.
Supports both legacy agent lists and run-scoped agent loading.
Supports run-scoped EvoAgent loading with workspace-driven configuration.
"""
def __init__(