Declare the OECD CRS gateway tool in the consumer contract - #57
Merged
Conversation
oecd_crs_query_country reaches the public v2 surface, so the plugin has to state what it depends on before the gateway will snapshot it. The smoke arguments read Fiji 2023 disbursements as a sector breakdown: a recipient small enough to stay well inside the response budget, and a year whose CRS submission is final. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The contract and observed lock both gained oecd_crs_query_country, but two assertions still pinned 34, so CI failed on the very change that added the tool. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The contract now declares a tool the previous release did not, so the version has to move for consumers to pick it up; CI enforces this on any change under the versioned plugin paths. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The manifest test asserts package-lock agrees with the plugin manifests in both its root version and packages[""], so bumping the manifests alone leaves the release inconsistent. Co-Authored-By: Claude Opus 5 <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.
Why
oecd_crs_query_countrynow reaches the public v2 surface (amnotyoung/io-mcp#56, deployed). The plugin has to state what it depends on before the gateway will snapshot it — until thencheck-plugin-consumer-contractsreports the tool as an unapproved exposure.What
One contract entry plus the refreshed observed lock.
Smoke arguments read Fiji 2023 disbursements as a sector breakdown: a recipient small enough to stay well inside the response budget (55 activities, 49KB upstream), and a year whose CRS submission is final rather than provisional.
Ordering
This could not be prepared ahead of the deploy.
contracts:checkvalidates against the liveoda-mcp.fly.dev, not the local files, so it reportedrequired tool oecd_crs_query_country is missinguntil the gateway shipped.Verification
Gateway side after the snapshot sync:
Plugin consumer contracts are compatible: 2 consumers.What this unlocks
Activities that ended are dropped from Korean IATI files but retained in CRS, so historical purpose codes become answerable — for the Fiji portfolio that is the 19 of 39 projects IATI could not classify. CRS carries no project titles and its donor is Korea as a whole, so it still cannot attribute a code to a named project; the response caveats say so.
🤖 Generated with Claude Code