Skip to content

fix(frankfurter): declare convert as a read in the declarative manifest - #81

Merged
Resinder merged 1 commit into
mainfrom
fix/frankfurter-declarative-convert-effect
Oct 23, 2026
Merged

Resinder merged 1 commit into
mainfrom
fix/frankfurter-declarative-convert-effect

Conversation

@Resinder

Copy link
Copy Markdown
Contributor

What

Adds effect: read to the convert tool in frankfurter/manifest.yml.

Why

The Python plugin's convert already declares effect: "read". The declarative (T0) manifest declared nothing. Without a declaration, the amount argument counts as weak write evidence, so the tool-effect analysis classed convert as a write and every currency conversion asked for an approval. convert does 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 effect on tools from the matching platform release on. A runner without that support rejects unknown tool keys, so ship this together with that release.

Validation

  • Ran the declarative manifest through the runner's loader and the tool-effect analysis. The tool now carries effect: read, and the effective class is read on the first-party and catalog trust tiers.
  • No Python change.

Agent-Session: utkan-hantal

🤖 Generated with Claude Code

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>
@Resinder
Resinder merged commit 1bcd5a0 into main Oct 23, 2026
9 checks passed
@Resinder
Resinder deleted the fix/frankfurter-declarative-convert-effect branch October 23, 2026 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant