hansheinemann 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
2026-03-15 17:11:00 -04:00

hans-tools

Central reference for all tools built for Hans — small utilities live here, larger standalone projects are linked below.


Small Tools (tools/)

Tool Description Status
gh-monitor Polls GitHub for PR activity, notifies Hans via OpenClaw Spec review

Larger Projects

Project Repo Description Status
the-agency coding-with-hans-heinemann/the-agency Tiered multi-agent orchestration pipeline (T1T5) Phase 2 complete

Structure

hans-tools/
├── tools/                  # Self-contained small tools
│   └── <tool-name>/
│       ├── design.md
│       ├── buildspec.md
│       └── ...
└── README.md               # This index

Conventions

  • Every tool has a design.md and buildspec.md reviewed before implementation
  • No secrets in the repo — credentials via environment variables only
  • All work on feature branches (hans/...), never directly to main
Description
No description provided
Readme 84 KiB
Languages
Python 100%