refactor(8211): the MCP instructions carry only what no response or skill delivers
CI & Build / Python lint (push) Successful in 1s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / integration (push) Successful in 1m58s
CI & Build / Python tests (push) Successful in 2m16s
CI & Build / Build & push image (push) Successful in 21s
CI & Build / Python lint (push) Successful in 1s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / integration (push) Successful in 1m58s
CI & Build / Python tests (push) Successful in 2m16s
CI & Build / Build & push image (push) Successful in 21s
569 characters, from 1,600: what Grimoire is, enter_project first, ask what_might_apply before a consequential act, search before building, the force of each record kind, and that responses say what to do next. The rest is enforced in responses or stated in a skill. The budget drops to 800, and the guidance registry stops requiring index words for the topics that left. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -51,11 +51,11 @@ def _instructions_text() -> str:
|
||||
|
||||
# Claude Code injects only the first ~2,048 characters of an MCP server's
|
||||
# instructions and silently cuts the rest mid-word, so guidance past the cap
|
||||
# never reaches a session. The budget is set below the cap, not at it: the
|
||||
# field runs ~600–1,600 characters, and
|
||||
# a block pressed against 2,048 is being used for depth that belongs in a
|
||||
# skill.
|
||||
INSTRUCTIONS_BUDGET = 1600
|
||||
# never reaches a session. The budget sits far below the cap: most servers
|
||||
# carry a few hundred characters or none, and the block holds only what no
|
||||
# response or skill delivers, so a block growing toward the cap is carrying
|
||||
# depth that belongs in a skill.
|
||||
INSTRUCTIONS_BUDGET = 800
|
||||
|
||||
|
||||
def test_instructions_fit_the_fold():
|
||||
|
||||
Reference in New Issue
Block a user