pub struct FleetConfigToml {
pub default_trust_level: String,
pub require_identity_verification: bool,
pub max_trust_level: String,
pub roles: BTreeMap<String, FleetRolePreset>,
pub profiles: BTreeMap<String, FleetProfile>,
pub exec: FleetExecConfig,
}Expand description
On-disk schema for the [fleet] table (#3165). See config.example.toml
and docs/FLEET.md for documentation.
Fields§
§default_trust_level: StringDefault trust level for fleet workers. One of "sandbox", "local",
"remote-verified", or "operator". Defaults to "sandbox".
require_identity_verification: boolRequire identity verification for remote (SSH) workers before
granting them remote-verified trust. Defaults to true.
max_trust_level: StringMaximum trust level any worker may have ("sandbox", "local",
"remote-verified", or "operator"). Defaults to "operator".
roles: BTreeMap<String, FleetRolePreset>User-defined and built-in role presets.
Each role defines default tool profiles, capabilities, budgets, and
trust settings that task specs can reference by name. Built-in roles
(smoke-runner, reviewer, builder, read-only) are always
available; user-defined roles in config override or extend them.
profiles: BTreeMap<String, FleetProfile>Fleet profile vocabulary (#3167). Profiles group role semantics, loadout hints, permission defaults, and delegation bounds. They are config-only in this slice; executor/model routing wiring lands later.
exec: FleetExecConfigHeadless worker execution hardening (#3027).
Implementations§
Source§impl FleetConfigToml
impl FleetConfigToml
Sourcepub fn resolve_role(&self, name: &str) -> Option<FleetRolePreset>
pub fn resolve_role(&self, name: &str) -> Option<FleetRolePreset>
Resolve a role preset by name. Checks user-defined roles first, then falls back to built-in role defaults.
Trait Implementations§
Source§impl Clone for FleetConfigToml
impl Clone for FleetConfigToml
Source§fn clone(&self) -> FleetConfigToml
fn clone(&self) -> FleetConfigToml
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more