//! Pure readers of a Linux `/proc/<pid>/stat` line, shared by OpenLatch's own daemon lifecycle
//! (`cli::commands::lifecycle`) and the third-party process table (`hooks::cline_app::process`).
//! A leaf: it reads no file and knows no caller.
/// Does a `/proc/<pid>/stat` line describe a process that has exited?
///
/// The state is the field after the command name. That name is parenthesised
/// and is whatever the process called itself — spaces and `)` included — so
/// the state is read after the **last** `)`, never by splitting on spaces.
/// `Z` is a zombie; `X` (and `x` on 2.6.33–3.13 kernels) is dead. Pure, so it
/// is tested on every host.
pub