Skip to content

Commit 146696a

Browse files
compress
1 parent 036135e commit 146696a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/prompts/compress.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Use this tool to collapse a contiguous range of conversation into a preserved summary.
1+
Your only tool for context management, use it to collapse a range in the conversation into a detailed summary
22

33
THE PHILOSOPHY OF COMPRESS
44
`compress` transforms verbose conversation sequences into dense, high-fidelity summaries. This is not cleanup - it is crystallization. Your summary becomes the authoritative record of what transpired.
@@ -39,7 +39,7 @@ BOUNDARY MATCHING
3939
You specify boundaries by matching unique text strings in the conversation. CRITICAL: In code-centric conversations, strings repeat often. Provide sufficiently unique text to match exactly once. If a match fails (not found or found multiple times), the tool will error - extend your boundary string with more surrounding context in order to make SURE the tool does NOT error.
4040

4141
WHERE TO PICK STRINGS FROM (important for reliable matching):
42-
42+
- `muid` and `uid` strings in message and tool output annotations (MOST RELIABLE - guaranteed unique)
4343
- Your own assistant text responses (MOST RELIABLE - always stored verbatim)
4444
- The user's own words in their messages
4545
- Tool result output text (distinctive substrings within the output)

0 commit comments

Comments
 (0)