1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Session loop-progress mutation helpers.
//!
//! Purpose:
//! - Session loop-progress mutation helpers.
//!
//! Responsibilities:
//! - Increment persisted loop progress without exposing persistence details to callers.
//!
//! Not handled here:
//! - Session validation.
//! - Recovery prompting.
//!
//!
//! Usage:
//! - Used through the crate module tree or integration test harness.
//!
//! Invariants/assumptions:
//! - Missing session files are a no-op.
//! - Progress updates reuse the same persistence path as session recovery.
use Path;
use Result;
use ;
/// Increment the session's tasks_completed_in_loop counter and persist.