pub fn turn_lifecycle_corruption_marker(
thread_id: ThreadId,
corrupt_record_count: usize,
) -> ExtensionStateRecordExpand description
Creates an in-memory diagnostic record when a thread store skipped malformed extension-state lines. The marker intentionally carries only a count; raw bytes may contain prompts, command output, or secrets.