hermes: handle external comments on luna PRs

This commit is contained in:
2026-08-23 03:29:37 +00:00
parent 6a037d557c
commit 959ad30fdc
3 changed files with 66 additions and 4 deletions
+6
View File
@@ -46,6 +46,12 @@ payload, or prompt policy; Hermes owns interpretation and response behavior.
Jupiter's Gitea provisioning service registers the webhook idempotently at
`http://mars.orbit.sol:8645/gitea`.
Hermes separately subscribes to `pull_request_comment` and
`pull_request_review_comment`, filters out comments by `luna` and comments on
pull requests not authored by `luna`, then handles external comments in the
pull request using Tea/Gitea. This route policy is intentionally outside the
relay.
Before deploying either host, add the same random
`gitea_hermes_webhook_secret` value to both `secrets/mars.yaml` and
`secrets/jupiter.yaml` with `sops --set`. The value is intentionally not