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
41
42
43
44
45
46
47
48
49
50
51
52
//! Tests for the git-tree view-model.
//!
//! Tests are split by concern: [`fixture`] owns the workspace skeleton and its
//! config lineage (its one `git` fork site lives in [`git`]), [`agent_fixture`]
//! everything keyed to an agent id (branches, the `name` blob, the
//! `refs/litany/*` marks, descent forks) and
//! [`disk_fixture`] the ones writing plain files git never sees, [`unit`]
//! drives the pure-function layer (detection,
//! parsing, preview extraction), and [`repo`] covers the end-to-end
//! [`super::GitTree::from_repo`] flow against real tempdir-backed
//! workspaces — its skeleton half, with [`steps`] holding the step-content
//! projection (streaming text, tool calls) and [`activity`] the §11 recency
//! fact folded from the tip, `messages/` and the live tail (bl-cad5). Agent-state coverage (§3.5) lives in
//! [`state_repo`] (end-to-end quiescent/stopped classification against
//! real fixtures) and [`state_unit`] (the probe-injected tri-state mapping
//! table, where the `live`/`in_flight` and `Unknown`-uncertainty rows are
//! proven), with [`state_truncated`] holding the §4.4 output-limit reading
//! that same walk answers beside the state (bl-fb87 — one read, two facts, so
//! two suites over one set of stubs); the procfs probe backends are unit-tested in `super::fd_probe`
//! and `super::lock_probe`. The state-badge glyph/hue mapping lives in
//! `theme` (§11's single colour authority) with its tests; badge paint
//! reachability is the shell acceptance smoke's concern.
pub
pub
pub
/// A path's mtime in whole unix seconds, the way every derivation that dates a
/// file reads it. One spelling shared by the two suites that assert on a stamp —
/// [`activity`]'s recency fold and [`starts`]'s elapsed starts.