Class: Legion::Extensions::Agentic::Executive::GoalManagement::Client

Inherits:
Object
  • Object
show all
Includes:
Runners::GoalManagement
Defined in:
lib/legion/extensions/agentic/executive/goal_management/client.rb

Class Attribute Summary collapse

Instance Method Summary collapse

Methods included from Runners::GoalManagement

#abandon_goal, #activate_goal, #add_goal, #advance_goal_progress, #auto_decompose_goal, #block_goal, #complete_goal, #decay_priorities, #decompose_goal, #detect_goal_conflicts, #dispatch_leaf_goals, #get_goal_tree, #goal_status, #highest_priority_goals, #list_active_goals, #list_blocked_goals, #list_completed_goals, #list_overdue_goals, #start_feedback_listener, #unblock_goal, #update_goal_from_task

Constructor Details

#initializeClient

Returns a new instance of Client.



28
29
30
31
32
# File 'lib/legion/extensions/agentic/executive/goal_management/client.rb', line 28

def initialize(**)
  @engine = Helpers::GoalEngine.new
  @feedback_listener = Helpers::FeedbackListener.new(engine: @engine)
  start_listener_once
end

Class Attribute Details

.listener_startedObject

Returns the value of attribute listener_started.



25
26
27
# File 'lib/legion/extensions/agentic/executive/goal_management/client.rb', line 25

def listener_started
  @listener_started
end