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
//! Unit tests for the prohibition-redirect helper (the SP guard text).
//!
//! Why: the redirect is the operator-facing proof that the SM refuses direct work
//! and points to delegation (ยง3.2). The wording must name the prohibition and the
//! corrective action so a driver/operator understands WHY the SM did not just do
//! it.
//! What: drives `redirect_direct_work` with present/empty summaries.
//! Test: this is the test module.
use ;
/// Why: the redirect must name the prohibition (SP1-SP5) and the corrective action
/// (launch a session) so the refusal is self-explanatory.
/// What: asserts the constant mentions both.
/// Test: this is the test.
/// Why: surfacing the attempted work makes the redirect actionable + auditable.
/// What: asserts the summary text rides back in the redirect.
/// Test: this is the test.
/// Why: a blank summary must still produce a clean, grammatical redirect (no
/// dangling colon).
/// What: asserts the empty-summary redirect ends with a period and no trailing colon.
/// Test: this is the test.