Skip to content

fix(mcp): restore forceful unprompted save/recall wording in server instructions - #758

Merged
p-diogo merged 1 commit into
mainfrom
fix/mcp-instructions-proactive
Nov 17, 2026
Merged

p-diogo merged 1 commit into
mainfrom
fix/mcp-instructions-proactive

Conversation

@p-diogo

@p-diogo p-diogo commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

Why

QA of MCP 3.6.0-rc.1 (staging, 2026-11-17) found a regression: Codex with only the MCP server (no skill) stopped saving facts on its own.

Codex 0.169.0-alpha.11.1, gpt-6-luna facts saved unprompted (M3)
3.5.3 5/6
3.6.0-rc.1, run 1 0/6 (0 recalls)
3.6.0-rc.1, run 2 0/6 (0 recalls)
this branch (local tarball) 5/6 (4 recalls), full L3 PASS

Tool descriptions and annotations are identical between 3.5.3 and 3.6.0-rc.1 (checked on the live tools/list). The difference is SERVER_INSTRUCTIONS: #717 fit it into the 512 / 2,000-character host windows and softened the save/recall rule. Claude Code (L1) kept saving 5/6 with the soft wording; Codex didn't.

What

  • First 512 characters: ALWAYS recall at the start of EVERY conversation; remember WITHOUT being asked, same turn, whenever the user shares a durable fact.
  • ## Remembering gets back the pre-feat(mcp): fit server instructions in 512 / 2,000 characters #717 category list and the "if it could help later, store it automatically" rule.
  • Setup / "Everything else" tightened to stay in budget (1,998 / 2,000; the essentials end at char 497).
  • Phrase-safety text (the Safety one-liner and the hard-rules section) is byte-identical.
  • Budget test patterns now require the forceful wording (they fail on the rc.1 text).

Reviewed independently (static; phrase-safety strings compared programmatically). MCP suite: 60 suites, 1,062 passed.

Ships as 3.6.0-rc.2.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VcqeXnhqFWzV2DAzAC2Qos

…nstructions

Codex saved 0/6 facts unprompted with the 3.6.0-rc.1 instructions text and 5/6
with 3.5.3's. Put the ALWAYS-recall / remember-WITHOUT-being-asked rule in the
first 512 characters and restore the category list in a Remembering section.
Phrase-safety text is unchanged. Budget (512 / 2,000) still holds.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VcqeXnhqFWzV2DAzAC2Qos
@p-diogo
p-diogo merged commit fbcef77 into main Nov 17, 2026
17 checks passed
@p-diogo
p-diogo deleted the fix/mcp-instructions-proactive branch November 17, 2026 23:22
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