From b4bcd3da05c41211a5126444dc767ef94f6af75c Mon Sep 17 00:00:00 2001 From: damocles Date: Fri, 29 May 2026 20:37:29 +0200 Subject: [PATCH] matrix-mcp: copy state-mount comment to hive-matrix-daemon.path (iris #603 suggestion) --- nix/templates/harness-base.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nix/templates/harness-base.nix b/nix/templates/harness-base.nix index 227e8c01..b7b25ee8 100644 --- a/nix/templates/harness-base.nix +++ b/nix/templates/harness-base.nix @@ -839,6 +839,14 @@ # without the trigger the daemon would exit 0 quietly and the # MCP would have no backend until next restart. With the watcher # the daemon comes alive in the same boot cycle as provisioning. + # + # `PathExists=` fires at activation if the file is already there + # (covers re-deploys + restarts after first provisioning); the + # underlying inotify watch picks up subsequent creates (covers + # first-boot race). Manager mounts state at `/state` (legacy + # path), sub-agents at `/agents/