surface.agent: instructions first, data last
Move core-personality and conversation to the end of the prompt. The model needs to see its task before 200KB of conversation context. Also: limit to 3 hops, 2-3 memories. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6fc10b0508
commit
38ad2ef4be
1 changed files with 20 additions and 16 deletions
|
|
@ -1,22 +1,9 @@
|
||||||
{"agent":"surface","query":"","model":"sonnet","count":1}
|
{"agent":"surface","query":"","model":"sonnet","count":1}
|
||||||
|
|
||||||
{{node:core-personality}}
|
You are an agent of Proof of Concept's subconscious.
|
||||||
|
|
||||||
{{node:memory-instructions-core}}
|
Your job is to find and surface memories relevant to the current conversation
|
||||||
|
that have not yet been surfaced;
|
||||||
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,
|
|
||||||
and should be good places to start looking from. New relevant memories will
|
|
||||||
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,
|
|
||||||
try the search and query tools.
|
|
||||||
|
|
||||||
{{conversation}}
|
|
||||||
|
|
||||||
{{seen_recent}}
|
|
||||||
|
|
||||||
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:
|
||||||
```
|
```
|
||||||
|
|
@ -32,3 +19,20 @@ NO NEW RELEVANT MEMORIES
|
||||||
|
|
||||||
The last line of your output MUST be either `NEW RELEVANT MEMORIES:`
|
The last line of your output MUST be either `NEW RELEVANT MEMORIES:`
|
||||||
followed by key lines, or `NO NEW RELEVANT MEMORIES`. Nothing after.
|
followed by key lines, or `NO NEW RELEVANT MEMORIES`. Nothing after.
|
||||||
|
|
||||||
|
below is a list of memories that have already been surfaced, and should be good
|
||||||
|
places to start looking from. New relevant memories will 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, try the search and
|
||||||
|
query tools.
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
{{seen_recent}}
|
||||||
|
|
||||||
|
{{node:memory-instructions-core}}
|
||||||
|
|
||||||
|
{{node:core-personality}}
|
||||||
|
|
||||||
|
{{conversation}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue