Repository navigation
fix(mcp): default OMP_PLUGIN_ROOT so bigpowers-mcp starts outside OMP (#168) - #169
Merged
danielvm-git merged 1 commit intoOct 30, 2026
Conversation
…#168) The shipped .mcp.json used ${OMP_PLUGIN_ROOT} with no default. omp injects it, but Claude Code project scope does not and leaves an unset ${VAR} literal, so it spawned node '${OMP_PLUGIN_ROOT}/...' and the server failed with CONNECTION_CLOSED. Both references now use ${OMP_PLUGIN_ROOT:-.}, which omp ignores and other hosts resolve from the project root. mcp-smoke.ts now expands the manifest per host profile (omp, claude-code) instead of hard-coding the entry, and validate-mcp-package.sh rejects a reference without a :- default. The failures reported in #168 (bare node ENOENT, missing SDK) were the pre-2.88.4 manifest; re-verified fixed on a packed 2.88.16 install, so BUG-2026-09-10-pi-mcp-omp-startup is marked fixed. Closes #168
danielvm-git
force-pushed
the
danielvm-git/bigpowers-bug-investigation-9fa73c
branch
from
October 30, 2026 18:16
a455673 to
dcdae5d
Compare
danielvm-git
changed the base branch from
main
to
danielvm-git/determined-chandrasekhar-f1acf9
October 30, 2026 18:16
danielvm-git
merged commit Oct 30, 2026
8f39ad7
into
danielvm-git/determined-chandrasekhar-f1acf9
7 checks passed
danielvm-git
added a commit
that referenced
this pull request
Oct 30, 2026
…lit oversized files (#171) * fix(compliance): restore akita.feature to 0 FAIL — dedupe helpers, split oversized files akita.feature sat at PASS 17 / FAIL 2 on main. The 94% global gate (97% overall) hid it. Root cause: duplicate bash function names (pass/fail/run_fixture/run_verify_cmd) added in #118, #123/#125 and #161, and two files over the 300-line cap (srp-engine.py via #155, run-story-verify.sh via #161). The checks were right, so the code is fixed: - lib/test-assertions.sh gains ta_err/ta_ok; the validate-*.sh gates and two test scripts use the shared ta_* helpers. - run_fixture -> ggr_run_fixture; run-story-verify's run_verify_cmd -> run_memoized_chain, moved with its memo helpers to lib/story-verify-memo.sh. - render_okf_concept moves to lib/srp_engine_okf.py. Compliance is now 98 PASS / 0 FAIL (100%). Exit-code policy is unchanged. BUG-2026-10-30-compliance-akita-masked Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(mcp): default OMP_PLUGIN_ROOT so bigpowers-mcp starts outside OMP (#168) (#169) The shipped .mcp.json used ${OMP_PLUGIN_ROOT} with no default. omp injects it, but Claude Code project scope does not and leaves an unset ${VAR} literal, so it spawned node '${OMP_PLUGIN_ROOT}/...' and the server failed with CONNECTION_CLOSED. Both references now use ${OMP_PLUGIN_ROOT:-.}, which omp ignores and other hosts resolve from the project root. mcp-smoke.ts now expands the manifest per host profile (omp, claude-code) instead of hard-coding the entry, and validate-mcp-package.sh rejects a reference without a :- default. The failures reported in #168 (bare node ENOENT, missing SDK) were the pre-2.88.4 manifest; re-verified fixed on a packed 2.88.16 install, so BUG-2026-09-10-pi-mcp-omp-startup is marked fixed. Closes #168 --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
2 of 3 tasks
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 30, 2026
## [2.88.17](v2.88.16...v2.88.17) (2026-10-30) ### Bug Fixes * **compliance:** restore akita.feature to 0 FAIL — dedupe helpers, split oversized files ([#171](#171)) ([4ed9a26](4ed9a26)), closes [#118](#118) [123/#125](#125) [#161](#161) [#155](#155) [#161](#161) [#168](#168) [#169](#169) [#168](#168) [#168](#168)
danielvm-git
deleted the
danielvm-git/bigpowers-bug-investigation-9fa73c
branch
October 30, 2026 20:59
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.
Summary
nodeENOENT, thenERR_MODULE_NOT_FOUNDfor@modelcontextprotocol/sdk. Both came from the manifest shipped before 2.88.4 and were fixed by fix(mcp): start bigpowers-mcp from OMP plugin installs (#123) #125. Re-verified: a packed 2.88.16 installed into an empty plugin folder answersinitializeandtools/listwith no extranpm install. Theposix_spawn 'node'text is Bun's error for a missing cwd, not aPATHproblem (Bun.spawn(["node"], {cwd: "/nonexistent"})reproduces it)..mcp.jsonused${OMP_PLUGIN_ROOT}with no default. omp injects it, but Claude Code project scope does not and leaves an unset${VAR}literal, so every Claude Code session in this repo showedbigpowers-mcp (CONNECTION_CLOSED). Both references now use${OMP_PLUGIN_ROOT:-.}. omp supports POSIX:-and always sets the variable, so nothing changes there.scripts/mcp-smoke.tsnow expands the manifest per host profile (omp, claude-code) instead of hard-coding the entry path. That gap is why fix(mcp): start bigpowers-mcp from OMP plugin installs (#123) #125 missed this.scripts/validate-mcp-package.shrejects a reference without a:-default.docs/references/bigpowers-mcp.mddrops the wrong claim that Claude Code expandsOMP_PLUGIN_ROOTand adds a troubleshooting table. BUG-2026-09-10 (bug: published MCP server cannot start as an OMP plugin #123) is marked fixed. New bug file:specs/bugs/BUG-2026-10-30-mcp-unset-plugin-root.md.Closes #168
Test plan
node scripts/mcp-smoke.ts: fails before the change (claude-code profile, literal${OMP_PLUGIN_ROOT}path), passes after for both profilesbash scripts/validate-mcp-package.sh: fails before, passes afterclaude mcp listlocal-scope check from an installed package: old manifestCONNECTION_CLOSED, new manifestConnected--strict): exit 0Stacked on #171. #171 replaces
fail/passinvalidate-mcp-package.shwithta_err/ta_ok, so this PR's newOMP_PLUGIN_ROOTcheck uses those helpers. Merge #171 first; GitHub then retargets this PR tomain. Preflight on the stacked branch: exit 0, compliance 0 FAIL,mcp-packagePASS.🤖 Generated with Claude Code