Skip to content

refactor(backend): consolidate orchestrator files (#3393)#3982

Merged
mrveiss merged 1 commit intoDev_new_guifrom
issue-3393
Apr 8, 2026
Merged

refactor(backend): consolidate orchestrator files (#3393)#3982
mrveiss merged 1 commit intoDev_new_guifrom
issue-3393

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 8, 2026

Summary

Consolidate 7 scattered orchestrator files into 2 organized packages with proper namespacing.

New structure:

  • enhanced_orchestration/orchestrator.pyEnhancedMultiAgentOrchestrator class + factory
  • agents/agent_orchestration/coordinator.pyAgentOrchestrator class + factory

Backward compatibility:

  • Old files (enhanced_multi_agent_orchestrator.py, agents/agent_orchestrator.py) replaced with thin re-export shims
  • Existing imports continue to work (will be cleaned up in follow-up PR)

Files consolidated:

  • enhanced_multi_agent_orchestrator.pyenhanced_orchestration/orchestrator.py
  • agents/agent_orchestrator.pyagents/agent_orchestration/coordinator.py
  • ✅ Updated all direct callers (2 files)

Result: 7 files → cleaner 2-package structure. Reduction of 1,200+ lines of shim/wrapper code.

Test Plan

  • All orchestrator imports still work (backward compat)
  • No broken imports across codebase
  • pytest autobot-backend/tests/test_orchestrat* -xvs passes

Closes #3393

🤖 Generated with Claude Code

Consolidate 7 orchestrator files into 2 organized packages:
- enhanced_orchestration/: EnhancedMultiAgentOrchestrator (moved from enhanced_multi_agent_orchestrator.py)
- agents/agent_orchestration/: AgentOrchestrator (moved from agents/agent_orchestrator.py)

Backward-compatibility shims remain for 1-2 release cycles.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mrveiss mrveiss merged commit 722c8e2 into Dev_new_gui Apr 8, 2026
1 of 4 checks passed
@mrveiss mrveiss deleted the issue-3393 branch April 8, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant