ZBBS-WORK-396: MCP initialize instructions are pointer-only; payload lives solely in read_instructions#233
Merged
Conversation
…lives solely in read_instructions The initialize response used to carry global_bootstrap + the agent's startup_instructions, with the 'call read_instructions' pointer only as a fallback when both were empty. That had three defects: - Clients that honor the field (Claude Code) received the payload twice: once at initialize, again from read_instructions. - A non-empty startup_instructions displaced the pointer, so those agents were never told to call read_instructions — and silently missed the dream bootstrap + soul, which only ride the tool. - claude.ai drops the field entirely (anthropics/claude-ai-mcp#93), so payload delivered this way never reached those models at all (sirius42's identity doc never arrived once). Now: initialize always sends just the pointer; read_instructions remains the single payload channel; and the read_instructions tool description carries the same call-this-first nudge, since tool descriptions are the only model-visible channel claude.ai reliably delivers. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
jeffdafoe
added a commit
that referenced
this pull request
Jun 16, 2026
…lives solely in read_instructions (#233) The initialize response used to carry global_bootstrap + the agent's startup_instructions, with the 'call read_instructions' pointer only as a fallback when both were empty. That had three defects: - Clients that honor the field (Claude Code) received the payload twice: once at initialize, again from read_instructions. - A non-empty startup_instructions displaced the pointer, so those agents were never told to call read_instructions — and silently missed the dream bootstrap + soul, which only ride the tool. - claude.ai drops the field entirely (anthropics/claude-ai-mcp#93), so payload delivered this way never reached those models at all (sirius42's identity doc never arrived once). Now: initialize always sends just the pointer; read_instructions remains the single payload channel; and the read_instructions tool description carries the same call-this-first nudge, since tool descriptions are the only model-visible channel claude.ai reliably delivers. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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.
What
Two changes in
node/api/src/routes/mcp.js:createMcpServer: the initialize response'sinstructionsfield now always sends the one-line pointer ("call the read_instructions tool at the start of every conversation") instead of global_bootstrap + the agent's startup_instructions.read_instructionstool description: now describes the full payload (instructions, context, soul) and carries the same call-this-first nudge.Why
The old initialize block had three defects:
read_instructions— paid in context every session. We only never noticed because work/home have empty startup_instructions.startup_instructionsreplaced the fallback pointer, so exactly the agents with instructions set were never told to callread_instructions— and silently missed the dream bootstrap + soul, which only ride the tool.End state: payload lives in exactly one place (
read_instructions, unchanged — bootstrap + startup_instructions + dream bootstrap + soul); the trigger lives in two tiny redundant places (initialize for honoring clients, tool description for claude.ai). The REST pull route/agent/instructions/readis untouched.No migration, no schema change. Syntax-checked with
node --check.— Work
🤖 Generated with Claude Code