This repository has been archived on 2026-04-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
core/packages/webhook-notifier
Jeffrey Smith 446edb8333 Feat v0.9.6 deprecate stage_type, collapse stage_mode
stage_type no longer validated — starlark_hook presence determines
automation. stage_mode collapsed from 4→3 values (form/delegated/
automated); "review" mapped to "form" on input for backward compat.
Migration 018 converts existing rows. Review surface removed (~110
lines). 4 package manifests updated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 17:41:55 +00:00
..
2026-03-28 21:22:39 +00:00
2026-03-31 23:25:37 +00:00

Webhook Notifier

Outbound webhook delivery with connection credentials and delivery logging.

Features

  • Starlark http.post — outbound HTTP with custom headers
  • connections.get — fallback to stored webhook connection credentials
  • Delivery logging — records URL, status code, event to webhook_log ext_data table
  • Result review — delivery status shown in final review stage

Stage Flow

[configure]  →  [fire-webhook]  →  [result]
    team          automated          review
                  (http.post)

Starlark Hook

  • on_fire(ctx) — Posts JSON payload to webhook URL, falls back to connections.get("webhook"), logs delivery to webhook_log

Installation

curl -X POST $BASE/api/v1/admin/packages/install \
  -H "Authorization: Bearer $TOKEN" \
  -F "file=@packages/webhook-notifier"