pub fn plan_ceremony(
request: &CeremonyRequest,
detection: &Result<Vec<DetectedToken>, DetectionError>,
) -> CeremonyPlanExpand description
Decide what to do, given a detection result.
A software root is only ever chosen when no token was found, or when the operator explicitly asked for one. A detection failure blocks rather than degrades: not knowing whether hardware is present is not the same as knowing it is absent.