Skip to content

feat: reject tool call policy#210

Merged
skurzyp-blockydevs merged 6 commits intofeat/implement-policiesfrom
feat/reject-tool-call-policy
Mar 10, 2026
Merged

feat: reject tool call policy#210
skurzyp-blockydevs merged 6 commits intofeat/implement-policiesfrom
feat/reject-tool-call-policy

Conversation

@skurzyp-blockydevs
Copy link
Contributor

Description:

Related issue(s):

Fixes #207

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: skurzyp-blockydevs <stanislaw.kurzyp@blockydevs.com>
- Added `MaxRecipientsPolicy` to enforce recipient limits on transfer and airdrop tools.
- Included integration tests to validate policy behavior in real scenarios.
- Added comprehensive unit tests for individual tools and edge cases.

Signed-off-by: skurzyp-blockydevs <stanislaw.kurzyp@blockydevs.com>
…ng strategies

- Added `custom_strategies` parameter to allow custom recipient count logic for additional tools.
- Updated policy logic to prioritize custom strategies when applicable.
- Enhanced unit and integration tests to validate custom strategy behavior.

Signed-off-by: skurzyp-blockydevs <stanislaw.kurzyp@blockydevs.com>
…tsPolicy` to _BUILTIN_STRATEGIES

Signed-off-by: skurzyp-blockydevs <stanislaw.kurzyp@blockydevs.com>
Signed-off-by: skurzyp-blockydevs <stanislaw.kurzyp@blockydevs.com>
Signed-off-by: skurzyp-blockydevs <stanislaw.kurzyp@blockydevs.com>
@skurzyp-blockydevs skurzyp-blockydevs self-assigned this Mar 6, 2026
@skurzyp-blockydevs skurzyp-blockydevs requested review from a team as code owners March 6, 2026 13:16
@skurzyp-blockydevs skurzyp-blockydevs merged commit 3e2fdb0 into feat/implement-policies Mar 10, 2026
7 checks passed
@skurzyp-blockydevs skurzyp-blockydevs deleted the feat/reject-tool-call-policy branch March 10, 2026 10:42
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.

2 participants