feat: make the template CodeMode-native - #11
Merged
Merged
Conversation
Wire random.int through CodeMode, share one HTTP runtime across sessions, and install trusted subjects per transport. The CLI supplies authz.AllowAll explicitly.
Rename every owned build, release, container, lint, docs-site, and dev-proxy identity reference from template-mcp to template-mcp-codemode, and set the server title to "Meigma CodeMode MCP server template". Toolchain and dependencies: - Pin Go 1.26.6 in mise.toml and regenerate mise.lock for all four platforms. - Move the nested proxy module to github.com/meigma/template-mcp-codemode/tools/proxy on go 1.26.6 with go-sdk v1.7.0. No unrelated dependency updates. Release baseline: - Reset .release-please-manifest.json to 0.0.0 and add initial-version 0.1.0, plus 0.0.0 in the melange/apko x-release-please-version markers. Release Please treats a manifest version of 0.0.0 as "never released" and falls back to initial-version, so the first release here is v0.1.0 rather than a bump of the inherited 0.1.4 history. Real MCP smoke test: - Add .github/scripts/mcp_smoke.py: a stdlib Python script that speaks the real stdio JSON-RPC protocol to a target argv, asserts the exact server identity, the exact search_api/describe_api/execute surface, discovery of random.int, a deterministic bounded Starlark composition (min == max), and rejection of an impossible range — then proves the session still serves afterwards. - Wire it into the release dry run and the real release for both the host binary and the container image (docker run -i), replacing verification that only checked --version/--help, and surface it in the inspection summary. - Add a root:smoke Moon task in the check graph so the same end-to-end path is exercised on every PR.
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.
Changes
Verification
Merge gate
Require green PR checks and the explicitly dispatched binary/image release rehearsal before merging.
Upstream adapter and release: meigma/codemode#54, meigma/codemode#55, https://github.com/meigma/codemode/releases/tag/v0.2.0.