aboutsummaryrefslogtreecommitdiff
path: root/.ai/scripts/cross-agent-comms/cross-agent-watch.md
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-26 02:01:08 -0500
committerCraig Jennings <c@cjennings.net>2026-05-26 02:01:08 -0500
commit15cca70d2b8badd3314b87d4cd00cb21bf5ef113 (patch)
tree282ba0201019496f5d3f94e5ff65c3383008bf98 /.ai/scripts/cross-agent-comms/cross-agent-watch.md
parentf9c72c817290bb5433e593b2a8d1cfaa25431d20 (diff)
downloadrulesets-15cca70d2b8badd3314b87d4cd00cb21bf5ef113.tar.gz
rulesets-15cca70d2b8badd3314b87d4cd00cb21bf5ef113.zip
feat(notify): default page notifications to --persist
I default page notifications to --persist so a page that fires while I'm away from the desk waits for me instead of auto-dismissing after a few seconds. page-me and status-check already persisted every page. I added --persist to the rest: the alarm, reminder, and meeting-alert examples in protocols.org, the long-running-process completion ping, and the cross-agent-watch message notification. I documented --persist as the default for any page meant to get attention, with a low-value informational ping as the only exception.
Diffstat (limited to '.ai/scripts/cross-agent-comms/cross-agent-watch.md')
-rw-r--r--.ai/scripts/cross-agent-comms/cross-agent-watch.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/.ai/scripts/cross-agent-comms/cross-agent-watch.md b/.ai/scripts/cross-agent-comms/cross-agent-watch.md
index dd8afc1..04e8005 100644
--- a/.ai/scripts/cross-agent-comms/cross-agent-watch.md
+++ b/.ai/scripts/cross-agent-comms/cross-agent-watch.md
@@ -34,7 +34,9 @@ No args required. Defaults:
2. Runs `inotifywait -m -e create,moved_to --format '%w%f'` against each
watched directory.
3. For each event, calls
- `notify info "Cross-agent message" "<project>: <filename>"`.
+ `notify info "Cross-agent message" "<project>: <filename>" --persist`. The
+ `--persist` flag keeps the page on screen until dismissed, so an inbound
+ message that arrives while Craig is away from the desk isn't missed.
4. Appends an event line to the log:
`<ISO-8601-timestamp>\t<project>\t<filename>`.