* 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.
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 (T1–T5) | 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.mdandbuildspec.mdreviewed before implementation - No secrets in the repo — credentials via environment variables only
- All work on feature branches (
hans/...), never directly tomain
Description
Languages
Python
100%