Class: Mneme::Tools::NothingToSurface

Inherits:
Tools::Base show all
Defined in:
lib/mneme/tools/nothing_to_surface.rb

Overview

Finish-line tool for RecallRunner. The muse calls this when she’s done her work — whether she surfaced memories or decided nothing was worth carrying forward. Having a single finish line makes every recall run explicit: silence is intentional, not a timeout.

Mirror of EverythingOk for the eviction runner.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Tools::Base

#initialize, prompt_guidelines, prompt_snippet, schema, truncation_threshold

Constructor Details

This class inherits a constructor from Tools::Base

Class Method Details

.descriptionObject



14
# File 'lib/mneme/tools/nothing_to_surface.rb', line 14

def self.description = "Finish the recall run. Call this when you're done — whether you surfaced memories or decided nothing was worth surfacing right now. Silence is a valid answer when older memory wouldn't help."

.input_schemaObject



16
17
18
# File 'lib/mneme/tools/nothing_to_surface.rb', line 16

def self.input_schema
  {type: "object", properties: {}, required: []}
end

.tool_nameObject



12
# File 'lib/mneme/tools/nothing_to_surface.rb', line 12

def self.tool_name = "nothing_to_surface"

Instance Method Details

#execute(_input) ⇒ Object



20
21
22
# File 'lib/mneme/tools/nothing_to_surface.rb', line 20

def execute(_input)
  "Acknowledged."
end