Class: EnhanceSwarm::SmartOrchestration

Inherits:
Object
  • Object
show all
Defined in:
lib/enhance_swarm/smart_orchestration.rb

Overview

Smart orchestration with intelligent defaults for all new installations Implements real dev team patterns as the default user experience

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSmartOrchestration

Returns a new instance of SmartOrchestration.



15
16
17
# File 'lib/enhance_swarm/smart_orchestration.rb', line 15

def initialize
  @coordinator = TaskCoordinator.new
end

Class Method Details

.enhance_with_coordination(description) ⇒ Object



10
11
12
13
# File 'lib/enhance_swarm/smart_orchestration.rb', line 10

def self.enhance_with_coordination(description)
  orchestrator = new
  orchestrator.smart_enhance(description)
end

Instance Method Details

#smart_enhance(description) ⇒ Object



19
20
21
22
23
24
25
26
27
28
29
# File 'lib/enhance_swarm/smart_orchestration.rb', line 19

def smart_enhance(description)
  Logger.info("🎯 Smart Enhancement Protocol: #{description}")
  
  # Check if this looks like a review/polish task
  if review_task?(description)
    handle_review_task(description)
  else
    # Standard coordinated development
    @coordinator.coordinate_task(description)
  end
end