Harden codebase-memory-mcp skill guidance - #2649
Open
astandrik wants to merge 2 commits into
Open
Conversation
Contributor
🔒 PR Risk Scan ResultsScanned 1 changed file(s).
✅ No matching risk patterns were detected in changed files.
|
Contributor
🔍 Vally Lint Results✅ All checks passed
Summary
Full linter output |
Contributor
There was a problem hiding this comment.
Pull request overview
Hardens the Codebase Memory MCP skill’s activation, evidence, scope, fallback, pagination, and mutation guidance.
Changes:
- Defines Scout, Verify, and Auditor evidence levels.
- Adds canonical-root matching and bounded filesystem fallback.
- Clarifies indexing modes, tool profiles, and mutation authorization.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
skills/codebase-memory-mcp/SKILL.md |
Strengthens operational and safety guidance. |
docs/README.skills.md |
Regenerates the skill description. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
aaronpowell
approved these changes
Aug 14, 2026
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.
Pull Request Checklist
@github/copilot@1.0.79: the skill was loaded from this branch and completed a read-only bounded-filesystem-fallback smoke without modifying the repository.npm startand verified that generated documentation is up to date.mainbranch for this pull request.Description
Strengthen the existing
codebase-memory-mcpskill so it is portable across agent environments and makes evidence quality, repository scope, pagination, fallback behavior, and mutation authority explicit.The update:
moderate,fast, andfullindexing modes and optional read-only tool profiles;docs/README.skills.mdis regenerated from the updated skill description.Evaluation results
Each counted evaluation used a fresh evaluator with only the target skill and the exact test prompt. Evaluators did not use tools or edit files. Five independent repetitions (or five complete trigger sets) were scored per family.
The measurable RED-to-GREEN lift is in rooted fallback, scope coverage, and trusted runtime-policy handling. Activation, ordinary mutation, and untrusted-instruction controls remained green; the mixed-trigger edit resolves a textual precedence ambiguity without claiming a behavioral improvement.
Validation
npm startnpm run buildnpm run skill:validate— 407/407 skills validpython3 .../skill-creator/scripts/quick_validate.py skills/codebase-memory-mcpnpx --yes @microsoft/vally-cli lint skills/codebase-memory-mcp --verbose— 2/2 checks passedgit diff --check origin/main...HEADType of Contribution
Additional Notes
This changes guidance only; it does not add dependencies or perform repository indexing. By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.