//! [`CapabilityScope`] — what a granted capability is actually allowed to reach.
use ;
/// A granted capability's own allowlist, carried on a [`crate::CapabilityGrant`].
///
/// Deliberately generic: this contract has no knowledge of what a
/// specific capability's `allowed` entries mean (hostnames, method
/// names, model ids, tool names, query names, secret names, or anything
/// else), nor of which capabilities may accept a literal `"*"` entry as
/// an explicit "unrestricted" opt-in versus which must never accept one
/// under any circumstance. That interpretation, and any enforcement of
/// it, belongs entirely to the real `ComponentValidator` implementor
/// that actually knows the capability, checked again on every call, not
/// just once at grant-registration time.