pub fn pending_requests(
store: &Store,
run_id: &str,
) -> Result<Vec<PendingRequest>, HumanCliError>Expand description
Scans one run’s ledger for unanswered human requests, in request
order. A supervision suspend answer is non-final and keeps its
request pending (spine §6.9). A terminal exit of the awaiting step
(or an ancestor of it) settles its request without a response — the
lazy timeout settlement and the aborted disposition (06 §5.3) — so the
channel’s view matches the store’s, which rejects such requests as
settled.