pub const PROTOCOL: u32 = 1;
The runner-facing protocol number (docs/protocol.md), the one the daemon answers in ping.protocol. It goes up when a shape changes in a way a client must know about; adding a field does not count.
docs/protocol.md
ping.protocol