Skip to main content

Module guard

Module guard 

Source
Expand description

Guard tokens and refusal recording for Atelier actions.

Structs§

GuardEvaluation
Guard decision plus any evidence cassette recorded for a refusal.
GuardRefusal
Record of a denied action paired with the reason it was refused.

Enums§

AtelierAction
Concrete action an agent requests the guard to evaluate.
GuardCapability
Capability a mission must hold to perform a guarded Atelier action.
GuardDecision
Outcome of guarding an action: granted or refused with a reason.

Functions§

evaluate_guarded_action
Guards an action and records a refusal cassette when it is denied.
guard_action
Decides an action against hard denials and the mission’s capabilities.