Skip to content

Official plugin: Outbound webhooks #3553

Open

Description

@integry

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, in packages/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 outboundHostsFromSettings declaration naming the URL-typed settings, enforced by ctx.http (still subject to the endpoint policy: HTTPS only, no private addresses by default).
  • Rate limits and Retry-After from 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:check and 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-After is 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.md with the envelope reference, linked from docs/docs/features/plugins.md.

Implementation

  1. packages/plugins/webhooks/ (manifest.json, handlers.ts, README.md, tests).
  2. outboundHostsFromSettings in the manifest schema and ctx.http.
  3. A small shared helper in packages/plugins/_shared/ for event selection, using only SDK types (the chat plugins reuse it).
  4. Docs page and sidebar entry.

Notes

Depends on the dispatcher issue.

Activity

  1. added
    base-3542-epic-plugin-system-xu8
    on Nov 14, 2026
  2. propr-dev commented on Nov 16, 2026

    @propr-dev
    Contributor

    🤖 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:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3553/claude-opus-5-5-official-plugin-outbound--20261116-1202-yqx
    • Base Branch: 3542-epic-plugin-system-xu8
    • Worktree: issue-3553-20261116-1202-claude-opus-5-5-yqx

    🔍 Track Task Execution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI-doneauto-mergebase-3542-epic-plugin-system-xu8llm-claude-opus55propr-planned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions