Skip to main content

leaf_is_write_capable

Function leaf_is_write_capable 

Source
pub fn leaf_is_write_capable(spec: &LeafSpec) -> bool
Expand description

A leaf is write-capable when it can mutate the workspace.

Authority comes from the declared mode and permissions, not the agent’s role identity. In particular, an implementer may be deliberately confined to a read-only verification task. Used by workflow lowering to decide the default isolation for parallel children (#4120).