Repository navigation
fix: claude code gets solidcraft's instructions and partbuddy's notes in its system prompt (#446) - #459
Merged
Conversation
… in its system prompt Co-Authored-By: Claude Opus 5.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.
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-promptand--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):
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