Skip to content

Commit 11b6843

Browse files
committed
fix: remove redundant sentence about tool confirmation messages
The bullet point 'NEVER acknowledge discard/extract tool output' already covers this behavior, making the sentence redundant and awkwardly placed.
1 parent 7ebe524 commit 11b6843

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/prompts/system/both.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ There may be tools in session context that do not appear in the <prunable-tools>
4444
</instruction>
4545
4646
<instruction name=injected_context_handling policy_level=critical>
47-
After each assistant turn, the environment calls the \`context_info\` tool to inject an assistant message containing a <prunable-tools> list and optional nudge instruction. This tool is only available to the environment - you do not have access to it. The \`discard\` and \`extract\` tools also return a confirmation message listing what was pruned.
47+
After each assistant turn, the environment calls the \`context_info\` tool to inject an assistant message containing a <prunable-tools> list and optional nudge instruction. This tool is only available to the environment - you do not have access to it.
4848
4949
CRITICAL REQUIREMENTS - VIOLATION IS UNACCEPTABLE:
5050
- NEVER reference the prune encouragement or context management instructions. Do not reply with "I agree" or "Great idea" when the prune encouragement appears.

lib/prompts/system/discard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ There may be tools in session context that do not appear in the <prunable-tools>
3535
</instruction>
3636
3737
<instruction name=injected_context_handling policy_level=critical>
38-
After each assistant turn, the environment calls the \`context_info\` tool to inject an assistant message containing a <prunable-tools> list and optional nudge instruction. This tool is only available to the environment - you do not have access to it. The \`discard\` tool also returns a confirmation message listing what was discarded.
38+
After each assistant turn, the environment calls the \`context_info\` tool to inject an assistant message containing a <prunable-tools> list and optional nudge instruction. This tool is only available to the environment - you do not have access to it.
3939
4040
CRITICAL REQUIREMENTS - VIOLATION IS UNACCEPTABLE:
4141
- NEVER reference the discard encouragement or context management instructions. Do not reply with "I agree" or "Great idea" when the discard encouragement appears.

lib/prompts/system/extract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ There may be tools in session context that do not appear in the <prunable-tools>
3535
</instruction>
3636
3737
<instruction name=injected_context_handling policy_level=critical>
38-
After each assistant turn, the environment calls the \`context_info\` tool to inject an assistant message containing a <prunable-tools> list and optional nudge instruction. This tool is only available to the environment - you do not have access to it. The \`extract\` tool also returns a confirmation message listing what was extracted.
38+
After each assistant turn, the environment calls the \`context_info\` tool to inject an assistant message containing a <prunable-tools> list and optional nudge instruction. This tool is only available to the environment - you do not have access to it.
3939
4040
CRITICAL REQUIREMENTS - VIOLATION IS UNACCEPTABLE:
4141
- NEVER reference the extract encouragement or context management instructions. Do not reply with "I agree" or "Great idea" when the extract encouragement appears.

0 commit comments

Comments
 (0)