Public declaration syntax from harness-sdk/src/backtrack.rs Original source SHA-256: fd04353fc7de1ac83b7a877bf74de95a7833b4df3ae0acfc2a0882f768029a67 Function bodies and constant values are omitted. This is not the complete implementation. Source line 24 #[derive(Debug, Clone, PartialEq, Eq)] pub struct BacktrackTarget { /// Index into `AppState::messages()` (0-based). pub message_index: usize, /// User turn ordinal (1, 2, 3 …) — useful as a label. pub turn_ordinal: usize, /// Snippet of the user prompt (truncated to ~80 chars) for /// display. pub preview: String } Source line 38 #[must_use] pub fn list_backtrack_targets(state: &AppState) -> Vec; Source line 65 pub fn rewind_to(state: &mut AppState, target: &BacktrackTarget) -> Result;