pub enum Response {
Verdict(Verdict),
Ack,
PendingList {
items: Vec<PendingItem>,
},
Pending {
status: String,
},
Status {
scorer: String,
},
Provenance {
tainted: bool,
trail: Vec<ProvStep>,
},
Challenge {
locked: bool,
nonce: String,
salt: String,
params: KdfParams,
},
Error {
message: String,
},
}Expand description
The daemon’s reply.
Variants§
Verdict(Verdict)
Verdict for a Propose.
Ack
Acknowledgement of a Resolve/Approve/Deny/Observe.
PendingList
The approval queue (reply to ListPending). A struct variant because
serde’s internally-tagged enums cannot wrap a bare sequence.
Fields
items: Vec<PendingItem>Pending
The status of a queued command (reply to PendingStatus): pending |
approved | denied | gone (not in the queue).
Status
The daemon’s runtime status (reply to Status). scorer is the active
backend id, e.g. heuristic or llama:Qwen3-4B-Instruct-2507-Q4_K_M.
Provenance
The provenance trail for a command (reply to Provenance). tainted is the
session’s current taint state; trail is the ordered, identifier-only chain.
Challenge
Reply to AuthBegin: a fresh challenge. locked is false when the daemon
has no vault (then no proof is needed); otherwise the caller derives the
proof from nonce + salt + params and the admin password.
Error
Something went wrong handling the request.