Skip to content

fix: claude code gets solidcraft's instructions and partbuddy's notes in its system prompt (#446) - #459

Merged
ManuelStaggl merged 1 commit into
mainfrom
fix/claude-instructions
Nov 15, 2026
Merged

ManuelStaggl merged 1 commit into
mainfrom
fix/claude-instructions

Conversation

@ManuelStaggl

Copy link
Copy Markdown
Collaborator

Claude Code never saw PartBuddy's notes on the tools nor the command signatures (#446).

Cause: Claude Code cuts an MCP server's instructions short. Probe (Claude Code 2.1.299, Haiku, a test server whose 8,031-character instructions start with one code word and end with another): the model named the first word and could not see the last, with and without tool search, with --system-prompt and --append-system-prompt. The gate proxy sent SolidCraft's 9,100 characters first and PartBuddy's notes (refused commands, files, batch form, parameter traps …) and the signatures of #450 after them, so only ChatGPT and local models ever got them; Claude looked commands up instead and ran into refusals it could not know.

Fix: Claude Code's system prompt now carries the role, SolidCraft's instructions, PartBuddy's notes and the signatures, through --system-prompt-file (the text runs to about 32,700 characters, near Windows' command-line limit). The gate proxy's own instructions are a one-line pointer.

Measured (real Claude Code runs, Opus medium):

before after
wall hook + "5 mm wider": input 0.82 M 0.66 M (−19 %)
wall hook: command lookups 7 → 3 since #450 1
box with hinged lid + snap closure: build turns 38 requests, 2.1 M 13 requests, 0.59 M
box: whole run 3.2 M (and a 0 mm wall left) 2.1 M, clean but one hinge-limit note

The box's change "10 mm taller" still costs 20 requests: hinge and closure stay at their old height and are taken out and rebuilt. That is the next lever (mechanisms following the parameters).

🤖 Generated with Claude Code

… in its system prompt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ManuelStaggl
ManuelStaggl merged commit 7c62a8a into main Nov 15, 2026
10 checks passed
@ManuelStaggl
ManuelStaggl deleted the fix/claude-instructions branch November 15, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant