#[non_exhaustive]pub struct EffectivePermissionState {
pub profile_id: Option<String>,
pub reviewer_authority: ReviewerAuthority,
pub reviewer_attached: bool,
pub axes: Option<PermissionAxes>,
}Expand description
The effective permission-state projection: the committed native permission
snapshot (profile identity, reviewer authority) plus the live per-session
runtime’s attachment evidence. The same object
session/setPermissionProfile returns and the Session object carries as
permissionState. Served values must be coherent: a read never combines an
old profile with a newer runtime’s attachment claim.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.profile_id: Option<String>The committed profile id; null when the committed source is a launch
override (LaunchOverrides pins id: None); every catalog row and
configured/default commit carries a non-null id.
The committed profile’s reviewer authority.
reviewer_attached: boolWhether an executable reviewer is currently installed for this loaded session (live runtime evidence).
axes: Option<PermissionAxes>The committed profile’s effective four axis values: the resolved filesystem, network, approval, and reviewer the YOLO predicate reads. Omitted when unknown — an older host, the no-profile state, or the commit-receipt fallback arm that reports without a re-inspect — and a client MUST fall back to the served id there, never infer equivalence it cannot see.