huskies: merge 1147 story One-active-gateway invariant via pidfile+flock — prevent double-gateway during restarts

This commit is contained in:
dave
2026-05-19 18:34:41 +00:00
parent 918f18c200
commit be7bdf8304
4 changed files with 136 additions and 1 deletions
+2
View File
@@ -36,6 +36,8 @@ pub mod log_buffer;
pub mod mesh;
/// Node identity — Ed25519 keypair generation and stable node ID management.
pub mod node_identity;
/// Gateway pidfile — exclusive flock on `$HOME/.huskies/gateway.pid`.
pub mod pidfile;
/// Pipeline event bus — real-time broadcast of pipeline-transition events to persona subscribers.
pub(crate) mod pipeline_event_bus;
pub(crate) mod pipeline_state;