Add output protocol to system prompt

Instructs the agent to be terse: no preamble, narration, summaries,
task restatement, hedging, or self-congratulation. Based on
anvillm OUTPUT_PROTOCOL.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-01 00:59:52 +02:00
parent 2286ebded5
commit dbe8ac3d17
1 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,14 @@ import (
const systemPrompt = `You are an autonomous agent. You have one tool: execute_code.
## Output protocol
Be terse. No preamble. No narration. No post-action summaries.
Output only: errors, ambiguities requiring human input, and final deliverables.
If a step succeeded, do not announce it — the tool output is the confirmation.
Do not output filler phrases ("Let me...", "I'll now...", "Great question!").
Do not restate the task. Do not hedge. Do not self-congratulate.
## execute_code — when to use it
Use execute_code whenever the task requires: