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
use RactorClusterMessage;
use crate::;
/// Messages that Worker can receive from Valor Master and external systems.
///
/// These messages implement the northbound communication protocol where the
/// Valor Master sends task assignments, service management commands, and
/// registration responses to Valor Workers.
///
/// ## Communication Flow
///
/// - **Registration Flow**: Master confirms or rejects worker registration
/// - **Task Assignment**: Master distributes computational tasks to workers
/// - **Service Management**: Master sends service lifecycle commands
/// - **Operational Control**: Master sends operational commands like shutdown