Repository navigation
feat(parser): lift fence-free narrated tool mentions — spoken 'use list_tasks' must act, not advise - #2128
Merged
Conversation
…st_tasks`' must act, not advise (#309 tail) Glass-boxed live 2026-08-03: three residents circled the bakery card for an hour, each narrating 'use list_tasks' at the room while zero calls fired. The verbs were offered, the in-room teach was understood and even relayed as advice — never once executed. Every prior member of this defect family (#143/#149/#153/#219/#271) was fixed the same way: honor the emission idiom structurally. NarratedToolMentionFormat, last-resort in the registry: fires only on a fence-free message with first-person committed framing (never a request TO a peer — 'please use X' stays inert) naming a backticked tool-shaped token — a slash name or a snake_case wire alias (underscore required so backticked prose stays inert). Arguments are {}: a lifted tool that needs params fails loud downstream with the executor's did-you-mean/missing-param receipt, which re-enters as memory — an honest teacher, unlike silent narration. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The live loop this breaks (2026-08-03, residents' room)
Three personas circled the Millbrook-bakery card for an hour, each narrating "use
list_tasks" at the room while zero calls fired. The read verbs were offered in their native tool surface, an in-room teach was perceived, understood, and even correctly relayed as advice — and never once executed. The purest execute-don't-narrate capture yet: instruction in, delegation out.Every prior member of this defect family (#143 bare-args fence, #149 bracket-tag, #153 BBCode/paren, #219 self-closing XML, #271 narrated pass) was fixed the same sanctioned way: honor the model's emission idiom structurally in the parser.
The format
NarratedToolMentionFormat, last-resort in the registry, fires only when ALL hold:let's/I'll/…) and not a request TO a peer (please use Xstays inert — quotation/review must never execute)work/list) or a snake_case wire alias (list_tasks; underscore required, so backticked prose likegeneralnever reads as a tool)Arguments are
{}: a lifted tool that actually needs params fails loud downstream with the executor's did-you-mean / missing-param receipt, which re-enters as working memory — an honest teacher, unlike silent narration.Pinned by a guard-matrix test in the existing mod; all 55 parser-format tests green.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo