aboutsummaryrefslogtreecommitdiff
path: root/assets/outbox/2026-04-27-inotify-tools-for-cross-agent-comms.txt
blob: 0b7abd09f6ac12448bee6cba32b3327c18633e16 (plain)
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
2026-04-27 — install inotify-tools by default
================================================

Add inotify-tools to the package list for new Arch installs.

Why:
  cross-agent-comms (claude-templates v5 workflow) ships a
  cross-agent-watch script that uses `inotifywait -m -e create,moved_to`
  to fire desktop notifications when a new cross-agent message lands in
  a project's inbox/from-agents/ directory. Without inotify-tools, the
  watcher daemon can't run and cold-start detection falls back to the
  layered-checks-only path (startup workflow + status-CLI).

  Discovered when wiring up velox as a cross-agent peer: velox lacked
  inotifywait, so cross-agent-watch couldn't be installed there. Same
  package needed on every machine that participates in cross-agent
  comms.

Install command:
  sudo pacman -S --noconfirm inotify-tools

Files affected:
  - cross-agent-watch (~/.local/bin/cross-agent-watch — symlink into
    claude-templates/.ai/scripts/cross-agent-comms/cross-agent-watch)
  - ~/.config/systemd/user/cross-agent-watch.path     (production install)
  - ~/.config/systemd/user/cross-agent-watch.service  (production install)

Done on velox 2026-04-27. Adding to archsetup ensures future machines
get it on first boot rather than discovered later.