diff options
Diffstat (limited to '.ai/scripts')
| -rwxr-xr-x | .ai/scripts/cross-agent-comms/cross-agent-watch | 2 | ||||
| -rw-r--r-- | .ai/scripts/cross-agent-comms/cross-agent-watch.md | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.ai/scripts/cross-agent-comms/cross-agent-watch b/.ai/scripts/cross-agent-comms/cross-agent-watch index 3978f49..f50ba26 100755 --- a/.ai/scripts/cross-agent-comms/cross-agent-watch +++ b/.ai/scripts/cross-agent-comms/cross-agent-watch @@ -101,6 +101,6 @@ inotifywait -m -e create,moved_to --format '%w%f' "${EXISTING[@]}" 2>/dev/null \ [[ $QUIET -eq 0 ]] && echo "[$iso] $proj: $filename" if [[ $NO_NOTIFY -eq 0 ]]; then - notify info "Cross-agent message" "${proj}: ${filename}" 2>/dev/null || true + notify info "Cross-agent message" "${proj}: ${filename}" --persist 2>/dev/null || true fi done 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>`. |
