Skip to content

feat(webhook): implement the Webhook egress channel (4th exit) — v0.1.0 known limitation #303

Open

Description

@duguankui

Context

Tracked from the v0.1.0 release Known limitations.

The egress contract names four channels — REST / MCP server / EventBus / Webhook. v0.1.0 shipped the first three; Webhook is not yet implemented.

Goal

Implement the Webhook egress channel for legacy / pull-incapable consumers, delivering the same multi-stage events currently published over EventBus.

Design notes (discuss before implementing)

This touches an egress boundary (CLAUDE.md -> egress contracts), so design needs sign-off first:

  • Subscription / registration model — per-tenant endpoint config, event-type filtering.
  • Payload shape — thin (ID + key metadata), consistent with the existing ETO contract; downstream pulls details back.
  • Delivery semantics — retry / backoff, signing (HMAC), and EventTime-based idempotency on the consumer side.
  • Reuse the existing multi-stage ETOs (DocumentUploadedEto -> DocumentReadyEto + lifecycle events) — do not introduce a parallel event model.

Activity

  1. added this to the v0.2.0 milestone on Jun 13, 2026
  2. added
    enhancement
    on Jun 13, 2026
  3. modified the milestones: v0.2.0, v0.3.0 on Jun 14, 2026
  4. modified the milestones: v0.3.0, v0.4.0 on Jul 2, 2026
  5. added this to the v1.0.0 milestone on Sep 1, 2026
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

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions