pub fn encode_report(
id: &str,
state: ProgramState,
kind: Option<InteractionKind>,
title: &str,
message: &str,
) -> Result<String>Expand description
Encode a complete replacement record. An explicit owned ID is mandatory; callers cannot accidentally clear the terminal’s root or unrelated records.