//! Ripgrep binary resolution (ADR-0011).
use PathBuf;
/// The ripgrep program to invoke: the `LOCODE_RG_PATH` override, else bare `rg` on PATH
/// (invoked by name — PATH-hijack hygiene, per Claude Code).
///
/// Bundled self-extraction is a packaging concern layered in later (the `bundle-rg`
/// feature, Task 14); if `rg` cannot be started, the caller surfaces a soft error rather
/// than falling back to a divergent hand-rolled search.