Commit 19ea44f

mo khan <mo@mokhan.ca>
2026-01-29 22:41:07
fix: remove reference to hard-coded plan.md file
1 parent 8255191
Changed files (1)
lib
elelem
plugins
lib/elelem/plugins/mode.rb
@@ -1,8 +1,6 @@
 # frozen_string_literal: true
 
 Elelem::Plugins.register(:mode) do |agent|
-  plan_file = ".elelem/plan.md"
-
   agent.commands.register("mode",
     description: "Switch system prompt mode",
     completions: -> { Elelem::SystemPrompt.available_modes }
@@ -24,10 +22,4 @@ Elelem::Plugins.register(:mode) do |agent|
     agent.conversation.add(role: "user", content: "Context: #{response}")
     agent.terminal.say "  → compacted"
   end
-
-  agent.toolbox.after do |_, _, tool_name:|
-    next unless File.exist?(plan_file)
-    pending = File.read(plan_file).scan(/^- \[ \]/).count
-    agent.terminal.say "  → #{pending} pending" if pending > 0
-  end
 end