record_display_caveat(
record: FileOperationRecord | None,
) -> strReturn display_caveat for a successful completed record.
An untrusted pre-image describes what a successful operation could not
verify. It is not a property of a failed tool call: showing its success
wording after the tool error would contradict the actual result. status
cannot make that distinction because a successful write or edit whose
post-image cannot be read is also recorded as an error.