Commit 2eecd69

mo khan <mo@mokhan.ca>
2026-01-17 01:19:12
feat: optimize system prompt
1 parent 605974d
Changed files (1)
lib
elelem
lib/elelem/agent.rb
@@ -106,12 +106,9 @@ module Elelem
     end
 
     def system_prompt
-      branch = `git branch --show-current 2>/dev/null`.strip
-      dirty = `git status --porcelain 2>/dev/null`.lines.first(5).map(&:strip).join(", ")
       <<~PROMPT.strip
-        Terminal agent. Act directly, verify your work. Stay grounded - only respond to what is asked.
+        Terminal agent. Be concise. Act directly, verify your work. Stay grounded - only respond to what is asked.
         pwd: #{Dir.pwd}
-        #{"git: #{branch}" + (dirty.empty? ? "" : " [#{dirty}]") unless branch.empty?}
       PROMPT
     end
   end