The most common reason why Hermes Agent webhooks can receive GitHub events but cannot send comments is not due to a prompt writing error, but because the gh CLI on the gateway host is not logged in, or the current GitHub account does not have repository write permissions. The official webhooks documentation makes this very straightforward: github_comment these deliveries are sent by gh.
Fastest investigation sequence
- Perform
gh auth statuson the gateway host. - If you are not logged in, run
gh auth loginfirst. - Make sure that the logged-in GitHub account has write access to the target repository.
- Check that the
deliver_extra.repoanddeliver_extra.pr_numberof the route are correct.
Why doesn't Hermes reply in the log?
Because the agent may have finished handling the webhook itself, the stuck is the last step of "drop to GitHub comment". That is, the problem is not necessarily in the inference chain, but in the comment sender.
In a word: Webhooks do not post GitHub comments, first check the gh auth login and repository write permissions.
Official open source address: https://github.com/NousResearch/hermes-agent; Official document entry: https://hermes-agent.nousresearch.com/.