//! Purpose: suite-local helpers for `undo_integration_test` integration coverage.
//!
//! Responsibilities:
//! - Centralize disposable repo bootstrap for undo CLI integration tests.
//! - Keep shared snapshot-list parsing logic in one place.
//!
//! Scope:
//! - Helpers used only by `crates/ralph/tests/undo_integration_test.rs` companion modules.
//!
//! Usage:
//! - Call `setup_undo_repo()` at the start of each test.
//! - Call `snapshot_ids_from_list_output()` when a test needs to parse `ralph undo --list` output.
//!
//! Invariants/assumptions callers must respect:
//! - Helpers preserve the original end-to-end CLI setup flow: temp dir outside repo, git init, seed `.ralph/`.
//! - Snapshot ID parsing intentionally preserves the original `ID:`-based extraction logic exactly.
use *;
pub
pub