Class: Legion::Extensions::Agentic::Self::Metacognition::Client

Inherits:
Object
  • Object
show all
Includes:
Runners::Metacognition
Defined in:
lib/legion/extensions/agentic/self/metacognition/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Runners::Metacognition

#architecture_changes, #architecture_overview, #explain_subsystem, #health_trend, #introspect, #metacognition_stats, #self_narrative

Constructor Details

#initialize(snapshot_store: nil) ⇒ Client

Returns a new instance of Client.



19
20
21
# File 'lib/legion/extensions/agentic/self/metacognition/client.rb', line 19

def initialize(snapshot_store: nil, **)
  @snapshot_store = snapshot_store || Helpers::SnapshotStore.new
end

Instance Attribute Details

#snapshot_storeObject (readonly)

Returns the value of attribute snapshot_store.



17
18
19
# File 'lib/legion/extensions/agentic/self/metacognition/client.rb', line 17

def snapshot_store
  @snapshot_store
end