Repository navigation
docs(skill): inline recall mcp signatures and 8.8 kb budgets - #363
Merged
Merged
Conversation
Add direct lazy-MCP call rules and compact signatures for all five Recall tools to the bundled skill. Align message, file-history, and event-evidence defaults with the 8,800-byte inline response budget. Guard the embedded skill bundle in CLI unit tests and update locked url to 2.5.9 for RUSTSEC-2026-0592. Signed-off-by: samzong <samzong.lu@gmail.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's changed?
## MCP Tool Callstoskills/recall/SKILL.mdwith directcall_mcp_toolrules forServerName: "recall"and fallback rules for broken nested arguments.search_messages,search_sessions,list_recent_sessions,get_session, andfile_history.Find SessionsandFind File Historyinskills/recall/SKILL.mdto use the8,800-byte response budget and remove"limit":20from the starter query.embedded_recall_skill_documents_mcp_signatures_and_inline_budgetsinsrc/cli/tests.rsand updateurlto2.5.9inCargo.lockforRUSTSEC-2026-0592.Why
recallMCP as lazy previously spent an extra turn readingmcp/recall/*.jsonbefore calling Recall tools.8,800-byte defaults in the embedded skill removes extra schema reads and prevents bundle drift.Test evidence
recall 0.7.0(target/debug/recallbuilt from this worktree) on macOS27.2(26B123,Darwin 27.2.0 arm64).cargo test --lib cli::tests::embedded_recall_skill_documents_mcp_signatures_and_inline_budgetsagainst pre-changeSKILL.mdand observed exit101(missing call_mcp_tool).defaults to 16,384intoskills/recall/SKILL.md, reran the unit test, and observed exit101(still contains stale defaults to 16,384).8,800, ranmake buildandmake check, and observed exit0across audit, format, Clippy, and workspace tests.TMP_HOME=/Volumes/git/scratch/recall-skill-BqlcSu, deleted after readback):HOME="$TMP_HOME" target/debug/recall skill install --yes --scope user --dry-runandHOME="$TMP_HOME" target/debug/recall skill install --yes --scope user.- recall -> .../recall (codex)and- recall -> .../recall (claude-code).shasum -a 256across both installedSKILL.mdfiles andskills/recall/SKILL.md, observing digest2d6c4784eaf58cd21b7df4505a3195e2c3d539421566c07acb1265ac68d25d30on all three files.8,800-byte MCP capping insrc/mcp.rsships in the companion core PR and will be integrated frommainbefore marking this PR ready.