Feat v0.3.7 package audit (#20)
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Successful in 2m36s
CI/CD / test-sqlite (push) Successful in 2m41s
CI/CD / build-and-deploy (push) Successful in 1m13s

Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #20.
This commit is contained in:
2026-03-28 21:22:39 +00:00
committed by xcaliber
parent d68451fe8e
commit d91ec02dd7
47 changed files with 2067 additions and 53 deletions

View File

@@ -0,0 +1,30 @@
# 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
```bash
curl -X POST $BASE/api/v1/admin/packages/install \
-H "Authorization: Bearer $TOKEN" \
-F "file=@packages/webhook-notifier"
```