Commit Graph

14 Commits

Author SHA1 Message Date
78003c0e33 fix(gh-monitor): notify main session immediately on new PR activity (#3)
* fix(gh-monitor): notify main session immediately on new PR activity

Previously, dispatch_agent only fired an isolated agent to handle the event.
The main session (Hans) was never directly notified, so new PR comments
only surfaced when Andrew messaged directly.

Now calls notify() immediately before dispatching the agent, so the main
session gets a system event about the new activity in real-time.

* refactor(gh-monitor): route PR activity through main session instead of isolated agents

Replaced dispatch_agent() (which spawned isolated cron jobs) with
dispatch_to_main() (which sends a system event to the main session).

This way Hans handles PR comments directly in the main session —
no sync issues between isolated and main sessions, no lost context.
2026-03-16 11:22:35 -04:00
01c34b7e4c fix(gh-monitor): poll every 5 minutes 2026-03-16 01:07:06 -04:00
68d00058f0 fix(gh-monitor): set PATH + HOME in plist so launchd can find gh and openclaw 2026-03-16 00:59:08 -04:00
9c34c0401b fix(gh-monitor): use absolute paths for gh and openclaw (launchd has no PATH) 2026-03-16 00:46:42 -04:00
505fe09ed3 fix(gh-monitor): use system event for Signal notification instead of broken announce delivery 2026-03-16 00:32:51 -04:00
1909389c33 fix(gh-monitor): poll every 1 minute instead of 5 2026-03-16 00:22:40 -04:00
9abd075121 fix(gh-monitor): add --to signal uuid for announce delivery 2026-03-16 00:17:59 -04:00
95380ec3b1 fix(gh-monitor): instruct agent to post acknowledgment reply before doing any work 2026-03-15 23:47:12 -04:00
91a2f0fb62 fix(gh-monitor): filter own comments to prevent loops; switch delivery to announce 2026-03-15 22:58:50 -04:00
c25fb2e10e feat(gh-monitor): dispatch isolated agentTurn on PR events via openclaw cron add 2026-03-15 21:37:37 -04:00
5bbdcde00e fix(gh-monitor): use /usr/local/bin/python3 in plist (has PyYAML) 2026-03-15 21:17:47 -04:00
2f5e85fe88 fix(gh-monitor): use >= cursor + seen_ids dedup to avoid missing same-second events 2026-03-15 18:57:49 -04:00
43ab5dcc3a feat(gh-monitor): implement poll.py — steps 1-9 (#2)
* feat(gh-monitor): implement poll.py — steps 1-9 complete

* chore: nudge PR head
2026-03-15 18:48:56 -04:00
789cfc03a3 chore: reorganize — tools/ subfolder, README as central index with linked projects 2026-03-15 17:34:46 -04:00