fn audit(
state: &AppState,
v: &SensitiveView,
action: &str,
ok: bool,
error: Option<&str>,
outcome: &str,
facts: Option<&BTreeMap<String, String>>,
)Expand description
One audit row for a step of the window: the person’s veto, or the run. facts are the request’s,
when known, for the typed audit fields (§4.6); os_prompt_answer is the only op with prompt,
answer and level among them today, so every other op’s row carries none of the three.