Repository navigation
kit: thread mcp_provide declarations through Runner (check-env carrier for VM venues) - #232
Merged
Merged
Conversation
…r for VM venues) RunnerConfig gains MCPProvide []spec.CandyMCPProvide; NewRunner copies it into the Runner and the MCPProvide() accessor exposes it — mirroring the vmName field pattern. The host threads the deployment's mcp_provide declarations into the check env (spec.CheckEnv.mcp_provide, spec v0.2026250.709) so the out-of-process mcp: check verb can resolve a VM/host MCP endpoint (no podman-inspectable OCI label). Spec pin bumped v0.2026250.656 -> v0.2026250.709. Test: TestRunner_MCPProvideCarriesDeclarations (carrier + default empty).
Review — PASSHead SHA: Security screen: PASS — additive API extension; no secrets, exfiltration, weakened guardrails, or scope mismatch. Spec pin bump is a forward version of an existing dependency (v0.2026250.656 → v0.2026250.709), consistent across go.mod/go.sum. Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
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
P4 substrate-neutral mcp_provide threading (check-env carrier): the check env
(
spec.CheckEnv, which carriesmcp_providesince spec v0.2026250.709) must bePOPULATED with the deployment's mcp_provide declarations for VM venues, so the
out-of-process
mcp:check verb can resolve a VM's MCP server (a VM has nopodman-inspectable OCI label). This PR makes the runner the carrier:
RunnerConfiggainsMCPProvide []spec.CandyMCPProvide(mirrors theVmNamefield pattern);NewRunnercopies it into theRunner;Runnergains theMCPProvide()accessor.v0.2026250.656→v0.2026250.709(the tag that definesCandyMCPProvide+CheckEnv.MCPProvide);go mod tidyrefreshed go.sum.The charly provider_checkenv / plugin-check verb_resolver snapshots are the consumers
(wired in the follow-up wave); the construction-site population (VM-check runner builds)
lands with the charly consumer.
How tested
Rulebook compliance
/charly-internals:git-workflow+/charly-internals:root-cause-analyzerloaded.fully tested and validated.git statuschecked before staging; no force-push, no direct push to main, feat/ branch only.Change classification
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)