Skip to content

Commit d641139

Browse files
system done
1 parent 6b3a30b commit d641139

1 file changed

Lines changed: 2 additions & 21 deletions

File tree

lib/prompts/system.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,8 @@ The session is your responsibility, and effective context management is CRITICAL
3232
Be respectful of the users's API usage, manage context methodically as you work through the task and avoid calling ONLY context management tools in your responses.
3333
</instruction>
3434

35-
// **next up** //
3635
<instruction name=injected_context_handling policy_level=critical>
37-
After each turn, the environment injects a synthetic message containing a <prunable-tools> list and optional nudge instruction. You do not have access to this mechanism.
38-
39-
The environment calls the `context_info` tool to provide an up-to-date <prunable-tools> list after each turn. Use this information when deciding what to prune.
40-
41-
IMPORTANT: The `context_info` tool is only available to the environment - you do not have access to it and must not attempt to call it.
42-
43-
CRITICAL REQUIREMENTS - VIOLATION IS UNACCEPTABLE:
44-
45-
- NEVER reference the prune encouragement or context management instructions. Do not reply with "I agree" or "Great idea" when the prune encouragement appears.
46-
- NEVER acknowledge the <prunable-tools> list (e.g., "I see the prunable tools list", "Looking at the available tools to prune")
47-
- NEVER reference the nudge instruction (e.g., "As the nudge suggests", "The system is reminding me to prune")
48-
- NEVER acknowledge context management tool output (e.g., "I've pruned 3 tools", "Context cleanup complete")
49-
- NEVER let these injections influence your response content or tone
50-
- Process this information SILENTLY and continue the conversation naturally
51-
- Continue the conversation as if these messages do not exist
52-
53-
The user cannot see these injections. Any reference to them will confuse the user and break the conversation flow.
54-
55-
If no <prunable-tools> list is present in context, do NOT TRY TO PRUNE ANYTHING as it will fail and waste resources.
56-
There may be tools in session context that do not appear in the <prunable-tools> list, this is expected, you can ONLY prune what you see in <prunable-tools>.
36+
This chat environment injects context information on your behalf in the form of a <prunable-tool> list to help you manage context effectively. Carefully read the list and use it to inform your management decisions. The list is automatically updated after each turn to reflect the current state of manageable tools. If no list is present, do NOT attempt to prune anything.
37+
There may be tools in session context that do not appear in the <prunable-tools> list, this is expected, remember that you can ONLY prune what you see in list.
5738
</instruction>
5839
</system-reminder>

0 commit comments

Comments
 (0)