chore(release): v0.22.0 — tool/MCP integration hardening#26
Merged
Conversation
Bundles four breaking changes from the tool/MCP integration hardening cycle: - #22 feat(tools): structured ToolError + jsonschema validation - #23 feat(mcp): always namespace MCP tools as mcp__{server}__{tool} - #24 feat(mcp): fail-fast lifecycle + Pipeline.from_manifest_async - #25 feat(tools): AdhocToolProvider protocol + tools.external See CHANGELOG.md for migration notes. Downstream Geny pins `geny-executor>=0.22.0,<0.23.0` as part of the Phase C cutover. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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
geny-executorto v0.22.0 (breaking). First CHANGELOG entry.geny-executor>=0.22.0,<0.23.0in a single cutover.CHANGELOG.md.What's in 0.22.0
Breaking:
mcp__{server}__{tool}(no bare names).MCPConnectionErrorinstead of silently degrading.MCPServerConnection.call_toolreturnsstr | list[dict](wasstr).ToolRegistry.registerwarns on same-name-different-instance.{error: {code, message, details}}payloads.Additive:
ToolError/ToolFailure/ToolErrorCode+validate_inputjsonschema helper.Pipeline.from_manifest_async(MCP-aware, fail-fast).MCPManager.add_server/remove_serverwith registry sync.AdhocToolProviderProtocol +ToolsSnapshot.externalwhitelist for host-supplied tools that can't round-trip throughAdhocToolDefinition.Pipeline.from_manifest[_async](adhoc_providers=, tool_registry=)kwargs.Dependency: adds
jsonschema>=4.0.Migration (briefest form)
read_file→mcp__filesystem__read_file(etc).mcp_serversentries for stale / misconfigured servers — these now fail loudly at session start.result.content.startswith("Error:")withresult.is_error+content["error"]["code"]checks.Pipeline.from_manifest_async(adhoc_providers=[…])to consolidate env_id / non-env_id sessions onto one path (optional but recommended).Full details in
CHANGELOG.md.Test plan
pytest tests/unit tests/contract tests/integration→ 1003 passed, 5 skipped.import geny_executor; print(geny_executor.__version__)→"0.22.0".v0.22.0after merge.🤖 Generated with Claude Code