Repository navigation
Open
Labels
AI-doneauto-mergebase-3542-epic-plugin-system-xu8Base branch label for Epic: Plugin system: manifest, handlers, commands and official pluginsllm-claude-opus55propr-planned
Description
Goal
The generic integration: send ProPR events as signed JSON to any HTTPS endpoint. This is the escape hatch for services without their own plugin, and the first real plugin built on the handler interface.
Behaviour
- Plugin id
webhooks, inpackages/plugins/webhooks/, using only the plugin interface (manifest, handlers,ctx). - Settings: one or more targets, each with URL, event filter (pull request opened, review scored, Ultrafix ended, pull request merged or closed, task queued/started/completed/failed/cancelled, epic queue blocked or completed), optional repository filter.
- Each delivery is a JSON POST of the event envelope (documented, versioned) signed with HMAC-SHA256 in a signature header using a per-target
signing_secret, plus delivery id and timestamp headers. - Because targets are user-entered, this plugin's allowed hosts are derived from the configured target URLs at save time: extend the manifest schema with an explicit
outboundHostsFromSettingsdeclaration naming the URL-typed settings, enforced byctx.http(still subject to the endpoint policy: HTTPS only, no private addresses by default). - Rate limits and
Retry-Afterfrom the target are honoured through the dispatcher's retry. - The envelope contains identifiers, links, states and scores; no code, logs, prompt text or tool output.
Acceptance criteria
- The plugin passes
plugins:checkand has a README with setup steps and a manual smoke-test checklist. - Handler tests with the plugin test kit: every selected event produces one POST to each matching target; unselected events and filtered repositories produce none; a 429 with
Retry-Afteris retried after the delay; a permanent error marks the delivery failed with a readable message. - The signature is verifiable with the documented algorithm (test vector in the docs).
- A target URL to a private address or plain HTTP is refused at save time; a host not derived from the settings is refused at call time.
- No payload contains code, logs, prompt text, tool output or credentials (sentinel test).
- Docs:
docs/docs/plugins/webhooks.mdwith the envelope reference, linked fromdocs/docs/features/plugins.md.
Implementation
packages/plugins/webhooks/(manifest.json,handlers.ts,README.md, tests).outboundHostsFromSettingsin the manifest schema andctx.http.- A small shared helper in
packages/plugins/_shared/for event selection, using only SDK types (the chat plugins reuse it). - Docs page and sidebar entry.
Notes
Depends on the dispatcher issue.
Metadata
Metadata
Assignees
Labels
AI-doneauto-mergebase-3542-epic-plugin-system-xu8Base branch label for Epic: Plugin system: manifest, handlers, commands and official pluginsllm-claude-opus55propr-planned
Activity
propr-dev commentedon Nov 16, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53553/claude-opus-5-5-official-plugin-outbound--20261116-1202-yqx3542-epic-plugin-system-xu8issue-3553-20261116-1202-claude-opus-5-5-yqx🔍 Track Task Execution