toRedactedMetadata

fun toRedactedMetadata(redaction: RedactionEngine): String

Safe for UI/state transfer and syntactically valid for arbitrary user-controlled strings.


Uses the default policy for source compatibility; runtime routes pass the host policy.