Expand description
Capability scopes.
ANVIL section 5.3 binds tool tiers to scope patterns of the form
service:resource:action - tools:<tool-id>:invoke for external tools and
runtime:platform:* for runtime-granted platform capabilities. This module
makes that grammar a parse step rather than a convention, so a malformed
scope is rejected at the boundary instead of silently failing to match.
Structs§
- Scope
- A validated capability scope in
service:resource:actionform.
Constants§
- SCOPE_
SEGMENTS - Number of colon-separated segments in a well-formed scope.
- WILDCARD
- The wildcard segment, which matches any value in its position.