Skip to content

fix(mcp): stop claiming a qualified path addresses another project - #2235

Merged
phernandez merged 6 commits into
mainfrom
salvage/pr-2232
Dec 6, 2026
Merged

phernandez merged 6 commits into
mainfrom
salvage/pr-2232

Conversation

@phernandez

Copy link
Copy Markdown
Member

Salvages #2232 by @anhnt256 so CI runs; their commits are kept as authored. Fixes #2218.

  • The DirectoryPath description (bm_list, bm_find) said <project>/path reaches another project. It is always refused when it disagrees with project; the description now says so.
  • The prefix-conflict hint told callers to leave project out, which the schema forbids.

On top: reworded the hint to "pass project='X', or keep project='Y' and drop the 'X/' prefix", and added the changelog entry. just man-regen confirms the man pages match.

Verified: just fast-check; just fast-test tests/mcp/test_project_path_routing.py tests/test_man_pages.py (140 passed).

🤖 Generated with Claude Code

https://claude.ai/code/session_01CMYVKz9DguvH7PfmUPwps2

anhnt256 and others added 6 commits December 6, 2026 11:16
Signed-off-by: Nguyễn Tuấn Anh <anhnt256@gmail.com>

Signed-off-by: Nguyễn Tuấn Anh <anhnt256@gmail.com>
Signed-off-by: Nguyễn Tuấn Anh <anhnt256@gmail.com>
Signed-off-by: Nguyễn Tuấn Anh <anhnt256@gmail.com>
Signed-off-by: Nguyễn Tuấn Anh <anhnt256@gmail.com>
Signed-off-by: Nguyễn Tuấn Anh <anhnt256@gmail.com>
The hint now says to pass the other project, or keep this one and drop the
prefix. Adds the changelog entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CMYVKz9DguvH7PfmUPwps2
Signed-off-by: phernandez <paul@basicmachines.co>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 6, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-06T17:19:55.522021Z 45d2f8a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@phernandez
phernandez merged commit 43f01d1 into main Dec 6, 2026
51 checks passed
@phernandez
phernandez deleted the salvage/pr-2232 branch December 6, 2026 17:54
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.

[BUG] bm_list / bm_find / bm_read: path description contradicts required project parameter, and conflict error advises omitting required project

2 participants