pub struct PermissionCeiling {
pub write: bool,
pub network_tool: bool,
pub shell: ShellCeiling,
pub delegation_depth: u32,
pub tools: bool,
}Expand description
The most a member is allowed to do. This is a ceiling, never a grant:
PermissionCeiling::clamp_to can only ever narrow against the active
session posture, so a saved Fleet can never raise live authority.
Fields§
§write: bool§network_tool: boolWhether the member may be handed a model-visible network tool (fetch, browse, HTTP).
This is deliberately not a statement about transport. Host-owned
provider inference — the ordinary API call CodeWhale makes on the
member’s behalf — always happens over the network and is not governed
by this field. A member with network_tool = false still runs on a
remote model; it simply has no tool with which to reach the network
itself. Receipts disclose that distinction rather than implying an
air-gap.
shell: ShellCeiling§delegation_depth: u32Nested-delegation budget this member may consume.
tools: boolWhether the member may be handed tools at all.
Implementations§
Source§impl PermissionCeiling
impl PermissionCeiling
Sourcepub const ROUTER: Self
pub const ROUTER: Self
The Router’s fixed posture: no tools (so no network tool), no shell, no
writes, no delegation. Not configurable — see RouterMember.
The Router itself is still inferred by its configured provider over the network; that is host-owned transport, disclosed on the receipt.
Trait Implementations§
Source§impl Clone for PermissionCeiling
impl Clone for PermissionCeiling
Source§fn clone(&self) -> PermissionCeiling
fn clone(&self) -> PermissionCeiling
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more