Repository navigation
fix(frankfurter): declare convert as a read in the declarative manifest - #81
Merged
Merged
Conversation
The Python plugin's convert tool declares effect "read", but its declarative (T0) manifest declared nothing. Undeclared, its amount argument is weak write evidence and the tool-effect analysis classes it as a write, so a plain currency conversion asked for an approval. Declare it read, in step with the Python plugin. Agent-Session: utkan-hantal Co-Authored-By: Claude Opus 5.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.
What
Adds
effect: readto theconverttool infrankfurter/manifest.yml.Why
The Python plugin's
convertalready declareseffect: "read". The declarative (T0) manifest declared nothing. Without a declaration, theamountargument counts as weak write evidence, so the tool-effect analysis classedconvertas a write and every currency conversion asked for an approval.convertdoes one GET to the frankfurter API and some arithmetic, so it is a read. This change puts the manifest in step with the Python plugin.The declarative runner accepts
effecton tools from the matching platform release on. A runner without that support rejects unknown tool keys, so ship this together with that release.Validation
effect: read, and the effective class isreadon the first-party and catalog trust tiers.Agent-Session: utkan-hantal
🤖 Generated with Claude Code