artifactize 0.27.2

The AI-native collaboration layer for one-of-a-kind teammates and their agents: split a project into Artifacts with their own evals, and reuse every review while it still holds.
use super::*;

#[test]
fn an_open_snapshot_is_success_but_an_expired_wait_exits_three() {
    let run = serde_json::from_value(serde_json::json!({
        "id":"run-open", "repoPath":".", "stateDir":"state", "status":"WAITING_HUMAN",
        "createdAt":"2026-01-01T00:00:00Z", "selection":{"kind":"all"},
        "validation":null, "definitions":null
    }))
    .unwrap();
    assert_eq!(show_outcome(ShowMode::Snapshot, &run), 0);
    assert_eq!(
        show_outcome(
            ShowMode::Wait {
                timeout: DEFAULT_RUN_WAIT
            },
            &run
        ),
        3
    );
}