Skip to content

Promote generic tool and action policy contracts#72

Merged
chubes4 merged 2 commits into
mainfrom
chubes/tool-action-policy
May 4, 2026
Merged

Promote generic tool and action policy contracts#72
chubes4 merged 2 commits into
mainfrom
chubes/tool-action-policy

Conversation

@chubes4
Copy link
Copy Markdown
Contributor

@chubes4 chubes4 commented May 4, 2026

Summary

  • Fixes Promote generic tool visibility and action policy contracts #57.
  • Adds generic tool visibility policy contracts for mode, allow/deny, categories, access checks, and provider-supplied mandatory tools.
  • Adds a generic action policy resolver/provider contract returning canonical direct, preview, or forbidden values.
  • Documents the policy boundary and adds smoke coverage for provider-driven policies without product-specific tool sources.

Tests

  • php tests/tool-policy-contracts-smoke.php
  • php tests/action-policy-resolver-smoke.php
  • composer test

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the generic policy contracts, tests, and documentation; Chris remains responsible for review and validation.

@chubes4 chubes4 force-pushed the chubes/tool-action-policy branch 2 times, most recently from 49c57ee to f678f59 Compare May 4, 2026 14:27
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.

Promote generic tool visibility and action policy contracts

1 participant