Wrong Binary Path Used during Installation
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- bash
調査の方向性
Start at the codebase-memory-mcp install command and trace how it detects externally managed binaries and passes the selected path into generated MCP and plugin configuration. Check the install tests for mise-managed binaries and add coverage for this reproduction. Done when generated definitions use the detected mise path instead of $HOME/.local/bin/codebase-memory-mcp.
索引モデルが issue の本文から書いたものです。
説明
Version
codebase-memory-mcp 0.12.1
Platform
macOS (Apple Silicon)
Install channel
GitHub release archive / install.sh / install.ps1
Binary variant
ui
What happened, and what did you expect?
When using codebase-memory-mcp install it correctly detects cbm to be managed externally by mise (including the correct path) according to the logs:
❯ codebase-memory-mcp install
codebase-memory-mcp install 0.12.1
Binary is managed elsewhere by mise:
$HOME/.local/share/mise/installs/github-deus-data-codebase-memory-mcp/latest/codebase-memory-mcp
Leaving it and your PATH untouched; configuring agents only.
(use --force-binary to install a copy into $HOME/.local/bin anyway)
But it will still use $HOME/.local/bin/codebase-memory-mcp in all mcp & plugin files afterwards, which is wrong and does not exist.
Related to:
Reproduction
- Install cbm using e.g. mise
- Run
codebase-memory-mcp install - Check one of the generated mcp definitions
- Notice it used
$HOME/.local/bin/codebase-memory-mcpinstead of$HOME/.local/share/mise/installs/github-deus-data-codebase-memory-mcp/latest/codebase-memory-mcp
Logs
❯ codebase-memory-mcp install
codebase-memory-mcp install 0.12.1
Binary is managed elsewhere by mise:
$HOME/.local/share/mise/installs/github-deus-data-codebase-memory-mcp/latest/codebase-memory-mcp
Leaving it and your PATH untouched; configuring agents only.
(use --force-binary to install a copy into $HOME/.local/bin anyway)
Found XX existing index(es). Keeping them. After install, re-index to pick up this version's improvements:
[...]
No CBM session needs to stop for install: the published binary and indexes are unchanged.
Detected agents: OpenCode VS-Code Junie Copilot-CLI
OpenCode:
mcp: $HOME/.config/opencode/opencode.jsonc
instructions: $HOME/.config/opencode/AGENTS.md
skill: $HOME/.config/opencode/skills/codebase-memory/SKILL.md (0 installed)
agent: $HOME/.config/opencode/agents/codebase-memory-scout.md
agent: $HOME/.config/opencode/agents/codebase-memory.md
agent: $HOME/.config/opencode/agents/codebase-memory-auditor.md
extension: $HOME/.config/opencode/plugins/cbm-augment.ts
VS Code:
mcp: $HOME/Library/Application Support/Code/User/mcp.json
VS Code:
mcp: $HOME/Library/Application Support/Code/User/profiles/builtin/mcp.json
Junie:
mcp: $HOME/.junie/mcp/mcp.json
skill: $HOME/.junie/skills/codebase-memory/SKILL.md (0 installed)
agent: $HOME/.junie/agents/codebase-memory-scout.md
agent: $HOME/.junie/agents/codebase-memory.md
agent: $HOME/.junie/agents/codebase-memory-auditor.md
Copilot CLI:
mcp: $HOME/.copilot/mcp-config.json
instructions: $HOME/.copilot/copilot-instructions.md
skill: $HOME/.copilot/skills/codebase-memory/SKILL.md (0 installed)
agent: $HOME/.copilot/agents/codebase-memory-scout.agent.md
agent: $HOME/.copilot/agents/codebase-memory.agent.md
agent: $HOME/.copilot/agents/codebase-memory-auditor.agent.md
hooks: SessionStart + SubagentStart (dynamic graph context)
Install complete. Please restart your coding-agent sessions to properly take this into account.
Restart your shell or run:
source $HOME/.zshrc
Diagnostics trajectory (memory / performance / leak issues)
Project scale (if relevant)
No response
Confirmations
- I searched existing issues and this is not a duplicate.
- My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.
- 主要言語
- C
- スター
- 45.8k
- フォーク
- 3.8k
- 平均マージ
- 3日 4時間
- マージ済み PR(30日)
- 208
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DeusData/codebase-memory-mcp のほかの issue
-
bug editor/integration
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DeusData/codebase-memory-mcp#2787 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
editor/integration parsing/quality
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DeusData/codebase-memory-mcp#2286 ·
メンテナーはふだん 2 日以内に返信
-
install writes an unsupported `args` key into the Claude Code SubagentStart hook, so it never runsオープンbug editor/integration priority/high stability/performance ux/behavior
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DeusData/codebase-memory-mcp#2239 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
bug priority/high ux/behavior
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DeusData/codebase-memory-mcp#2232 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
documentation editor/integration parsing/quality priority/normal
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
DeusData/codebase-memory-mcp#2169 ·
メンテナーはふだん 2 日以内に返信
DeusData/codebase-memory-mcp の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
HexaCluster/credcheck#86 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
mongodb/winkerberos#175 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
AOMediaCodec/SVT-AV1#3320 ·
-
difficulty: easy
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100