feat: bring webhook mode closer to action mode
Webhook deliveries now run the same issue and PR triage as action mode on open/edit/reopen events, gated by WEBHOOK_TRIAGE_ENABLED; @bot answers embed the host-curated repository knowledge cache from R2 (never the uninitialized scaffold); exact /recheck and /conflict commands get a guidance reply pointing to action mode instead of silence. Cache restores write through a temporary file and rename so concurrent webhook work never reads a partial object. Documents that all webhook local writes stay inside the current working directory.
This commit is contained in:
1 parent
ec601bef93
commit
a6e3fd2fc5
10 files changed
+336
-13
No files matched your search
@@ -17,6 +17,8 @@ WEBHOOK_PATH=/webhooks/github
|
||||
WEBHOOK_CHAT_PERMISSION=read
|
||||
WEBHOOK_QUEUE_CONCURRENCY=2
|
||||
WEBHOOK_QUEUE_LIMIT=500
|
||||
# Automatic issue/PR triage (labels + duplicate detection) in webhook mode.
|
||||
WEBHOOK_TRIAGE_ENABLED=true
|
||||
# GitHub App login or slug used in @mentions, e.g. forumlify[bot].
|
||||
BOT_NAME=ghbot
|
||||
|
||||
@@ -25,6 +27,8 @@ GOOSE_API_KEY=sk-...
|
||||
GOOSE_BASE_URL=https://api.openai.com/v1
|
||||
GOOSE_MODEL=gpt-5.4
|
||||
GOOSE_THINKING_EFFORT=high
|
||||
# Optional: the pinned goose CLI version, shown in the runtime environment block.
|
||||
# GOOSE_VERSION=v1.46.0
|
||||
|
||||
# allow | require_approval | reject. Ordinary review notes pass by default.
|
||||
REVIEW_POLICY=allow
|
||||
|
||||
Reference in new issue
Block a user