pub enum Request {
Show 25 variants
Status,
Log {
limit: usize,
},
Incidents,
Ask {
phrase: String,
choice: Option<usize>,
},
Apply {
change: ChangeId,
args: BTreeMap<String, Value>,
},
SetOverride {
unit: UnitId,
until: Until,
desired: OverrideDesired,
},
LiftOverride {
unit: UnitId,
},
HoldRelease {
unit: UnitId,
until: Until,
},
Stop {
unit: UnitId,
},
Restart {
unit: UnitId,
},
Gc,
Undo,
Approve {
hash: Hash,
},
Cancel {
txn: TxnId,
},
Resolve {
txn: TxnId,
resolution: Resolution,
},
MarkSecurityFloor,
MarkGood {
accept_unconfirmed: bool,
},
Diagnose {
unit: UnitId,
probe: Option<ProbeId>,
},
Console,
ReportBoot,
Posture,
GymPropose {
transition: Transition,
stale_digest: bool,
may_change: Option<Vec<UnitId>>,
},
GymCompact,
AgentRun {
name: String,
argv: Vec<String>,
},
Acknowledge {
unit: Option<UnitId>,
},
}Variants§
Status
Log
Incidents
Ask
ask "<phrase>"; choice picks one of a previous Confirm’s options.
Apply
SetOverride
LiftOverride
HoldRelease
§12d planarian hold release <unit> [--until]: lift a network
hold, as an attested override on its hold unit. Administrator
authority; a non-administrator’s release asks an administrator.
Stop
A StopUnit from the CLI; rewritten to StopAndSuppress { NextBoot } (§14).
Restart
Gc
Undo
Approve
Approve a pending change. Phase A: root at an interactive terminal, the terminal established by the daemon from the peer’s pidfd (§11, B-3); the request carries nothing about it.
Cancel
Resolve
MarkSecurityFloor
planarian mark-security-floor: the running generation becomes the
security floor (§12e). Administrator only.
MarkGood
Diagnose
Console
Everything the read-only console shows (§16a), in one answer.
ReportBoot
planarian report boot (§16): the last boot report.
Posture
planarian posture (§16, §12d): the posture and timeout in force,
and whether a weaker declaration waits for the next boot.
GymPropose
The gym’s VM harness: submit transition as a proposal from the
caller, optionally with a stale digest or a narrowed may_change.
Answered only by a daemon built with gym-hooks.
GymCompact
The gym’s VM harness: compact the journal now. gym-hooks only.
AgentRun
planarian agent run <name> -- <argv> (§11, §16): start an agent as
its own principal, in the transient unit planarian-agent-<name>
with a dynamic uid. It is granted nothing.
Acknowledge
planarian ack [<unit>]: acknowledge inferred overrides (all, or one
unit’s), so they stop being listed (§11, B-11). They still hold.