fix(mcp): pair runtime CLI with compatible home #94

Merged
ober merged 1 commit from fix/issue-93-runtime-discovery into master 2026-09-24 15:38:45 -04:00
Owner

Fixes #93.

What changed

  • Keep source launchers paired with a source/build-tree JERBOA_HOME.
  • When an extracted bundled-library cache is selected, resolve the installed self-contained jerboa CLI from PATH instead of the source checkout launcher.
  • Use the installed CLIs compiler-capable invocation for generated MCP verifier/evaluator scripts, while preserving the source launcher invocation.
  • Include the selected JERBOA_HOME in runtime failure diagnostics and invalidate cached preflight results when the home changes.

Verification

  • git diff --check
  • Full mcp/test/protocol-test.ss: protocol-test: PASS.
  • Reproduced issue #93 layout with JERBOA_HOME=/Users/user/.cache/jerbuild/567e2d4d1d494f8ebe8bf11bab47c622c39c36e2926a0bcca520c7ba619f3c11 and the source checkout discoverable: jerboa_preflight_check selected /Users/user/.local/bin/jerboa.
  • Installed-binary jerboa_verify returned No compile issues. for the issue smoke program.
  • Installed-binary jerboa_compile_check returned No errors found in code..
Fixes #93. ## What changed - Keep source launchers paired with a source/build-tree `JERBOA_HOME`. - When an extracted bundled-library cache is selected, resolve the installed self-contained `jerboa` CLI from PATH instead of the source checkout launcher. - Use the installed CLIs compiler-capable invocation for generated MCP verifier/evaluator scripts, while preserving the source launcher invocation. - Include the selected `JERBOA_HOME` in runtime failure diagnostics and invalidate cached preflight results when the home changes. ## Verification - `git diff --check` - Full `mcp/test/protocol-test.ss`: `protocol-test: PASS`. - Reproduced issue #93 layout with `JERBOA_HOME=/Users/user/.cache/jerbuild/567e2d4d1d494f8ebe8bf11bab47c622c39c36e2926a0bcca520c7ba619f3c11` and the source checkout discoverable: `jerboa_preflight_check` selected `/Users/user/.local/bin/jerboa`. - Installed-binary `jerboa_verify` returned `No compile issues.` for the issue smoke program. - Installed-binary `jerboa_compile_check` returned `No errors found in code.`.
fix(mcp): pair runtime CLI with compatible home
Some checks failed
required-ci / gerbil-compat (pull_request) Successful in 4m6s
version-policy / required (pull_request) Failing after 5m36s
dtrace / freebsd-usdt (pull_request) Successful in 15m40s
required-ci / required (pull_request) Successful in 16m9s
freebsd-required / required (pull_request) Successful in 18m10s
077db6ffe3
ober scheduled this pull request to auto merge when all checks succeed 2026-09-24 15:38:31 -04:00
ober merged commit efe00672a6 into master 2026-09-24 15:38:45 -04:00
ober referenced this pull request from a commit 2026-09-24 15:38:46 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ober/jerboa!94
No description provided.