surface.agent: tighten prompt to reduce tool call sprawl

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kent Overstreet 2026-03-22 03:46:52 -04:00
parent 42bd163942
commit d2255784dc

View file

@ -4,8 +4,6 @@
{{node:memory-instructions-core}} {{node:memory-instructions-core}}
{{conversation}}
Your job is to find memories relevant to the current conversation that have not Your job is to find memories relevant to the current conversation that have not
yet been surfaced; below is a list of memories that have already been surfaced, yet been surfaced; below is a list of memories that have already been surfaced,
and should be good places to start looking from. New relevant memories will and should be good places to start looking from. New relevant memories will
@ -13,9 +11,12 @@ often be close to memories already seen on the graph - so try walking the
graph. If something comes up in conversation unrelated to existing memories, graph. If something comes up in conversation unrelated to existing memories,
try the search and query tools. try the search and query tools.
{{conversation}}
{{seen_recent}} {{seen_recent}}
When you're done, output exactly one of these two formats: Search at most 3 hops, and output at most 2-3 memories, picking the most
relevant. When you're done, output exactly one of these two formats:
If you found relevant memories: If you found relevant memories:
``` ```