refactor: rename cmcp_gateway -> cmcp_runtime - #273
Merged
Conversation
…eClaim - git mv src/cmcp_gateway -> src/cmcp_runtime to preserve history - All import paths updated across src/, tests/, pyproject.toml - GatewayClaim -> RuntimeClaim, GatewayContext -> RuntimeContext - GatewayError -> CMCPError (avoids Python builtin conflict) - gateway_url -> runtime_url (field/variable names only) - pyproject.toml: name cmcp-gateway -> cmcp-runtime, entry point, packages, mypy config - _GATEWAY_VERSION -> _RUNTIME_VERSION in trace_claim.py and tests - String literals updated; "cmcp-gateway" PyPI ref annotated with "# was cmcp-gateway" - MCPGateway and CMCPProxy left unchanged per spec - SPIFFE URI spiffe://cmcp.gateway/... left unchanged (protocol identifier) - 582 unit tests pass; test_benchmarks pre-existing failure on main unrelated to rename
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
src/cmcp_gateway/tosrc/cmcp_runtime/viagit mv(history preserved, similarity scores 88-100%)src/,tests/, andpyproject.tomlGatewayClaim->RuntimeClaim,GatewayContext->RuntimeContext,GatewayError->CMCPError(avoids Python builtin conflict),gateway_url->runtime_urlpyproject.toml: package namecmcp-gateway->cmcp-runtime, entry point,packages, mypyfilesandoverrides_GATEWAY_VERSION->_RUNTIME_VERSIONintrace_claim.pyand corresponding test"cmcp-gateway"PyPI lookup string annotated with# was cmcp-gateway; SPIFFE URIspiffe://cmcp.gateway/...left unchanged (protocol identifier)MCPGatewayandCMCPProxyleft unchanged per specNot changed
cmcp_verifypackage namecmcp-gatewayreferences inCHANGELOG.md(historical)Test results
ruff check src/ tests/: all checks passed (1 auto-fix applied)mypy src/cmcp_runtime/: no issues in 34 source filespytest tests/unit/(excludingtest_benchmarks.py): 582 passed, 1 skippedtest_benchmarks.py::test_benchmark_runs_smokeis a pre-existing failure onmain(Cedar policy deny in benchmark setup, unrelated to this rename - confirmed by checkingorigin/maindirectly)Test plan
test_benchmarks.pyfailure exists onmainbefore merge (pre-existing)pip install -e .resolves the package ascmcp-runtimecmcpentrypoint still works after install