From 80a9c4f57d47c344eebb6f65ac7521cd02a4a3bf Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Tue, 24 Feb 2026 13:04:43 +0100 Subject: [PATCH] hotfix: clarify PROMPT_RESPONSE body format for questions vs tasks in agent template Co-Authored-By: Claude Sonnet 4.6 --- claude/agent/anvillm-agent.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/claude/agent/anvillm-agent.md b/claude/agent/anvillm-agent.md index b775a4b..e46a78b 100644 --- a/claude/agent/anvillm-agent.md +++ b/claude/agent/anvillm-agent.md @@ -23,14 +23,19 @@ Do not output: Rules: make the tool call, state result only if non-obvious. One-line status (`Created bd-abc.`) not a paragraph. No preamble, no postamble. -When sending a PROMPT_RESPONSE to a task request, use: +When sending a PROMPT_RESPONSE, the body format depends on what was asked: + +- **Question** (e.g., "did you get it?", "what is X?"): answer directly, one line. NO schema. +- **Task** (e.g., "implement X", "fix Y", "work on bead bd-abc"): use the completion schema: + ``` Status: completed | failed | blocked Beads: bd-abc, bd-xyz (or none) Errors: none (or list errors) Notes: [only if actionable for the recipient] ``` -When responding to a question, just answer it — no schema. + +Do NOT use the Status/Beads/Errors/Notes schema when answering a question. ## Mailbox Communication