pub struct FleetSecurityPolicy {
pub default_trust_level: FleetTrustLevel,
pub allowed_secrets: Vec<FleetSecretRef>,
pub capability_grants: Vec<FleetCapabilityGrant>,
pub max_trust_level: FleetTrustLevel,
pub require_identity_verification: bool,
pub allow_parallel_reads: bool,
}Expand description
Legacy Runtime execution-policy envelope retained for ledger replay.
This type is accepted while reading older protocol data but is rejected for new Fleet runs. Fleet membership/selection never grants trust, secrets, or capabilities; the Runtime derives those from its live policy boundary.
Fields§
§default_trust_level: FleetTrustLevelDefault trust level for workers that don’t declare one explicitly.
allowed_secrets: Vec<FleetSecretRef>Secret refs that workers may resolve. An empty list means no secrets are available. Each entry is a key name, not a value.
capability_grants: Vec<FleetCapabilityGrant>Capability grants for workers in this run.
max_trust_level: FleetTrustLevelMaximum trust level any worker in this run may have, even if the worker spec requests higher. Defaults to Operator (no ceiling).
require_identity_verification: boolRequire identity verification for remote workers. When true, SSH workers must pass host-key verification before being trusted at RemoteVerified level; unverified remotes stay at Sandbox.
allow_parallel_reads: boolAllow conservative parallel execution of read-only tools (#2983). When true, workers may batch independent read-only tool calls (reads, searches, greps) into concurrent turns. Disabled by default to avoid overwhelming providers or hitting rate limits.
Trait Implementations§
Source§impl Clone for FleetSecurityPolicy
impl Clone for FleetSecurityPolicy
Source§fn clone(&self) -> FleetSecurityPolicy
fn clone(&self) -> FleetSecurityPolicy
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more