Commit Graph

4 Commits

Author SHA1 Message Date
3ee1d55584 Add debug logging to signature verification
Temporarily logs received vs expected signatures to diagnose
webhook secret mismatches.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 22:47:09 -05:00
7f7ebc84d7 Fix webhook signature verification for Gitea
Gitea sends X-Gitea-Signature as a raw hex digest with no scheme
prefix, unlike GitHub's sha256=<digest> format. Removed the prefix
parsing that was causing every request to fail validation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 22:41:02 -05:00
7819dccb10 Add self-update on startup via git pull
On each restart, CUE pulls the latest code from origin before
binding to the port, so deployments just require a service restart.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 20:21:31 -05:00
4c9fecda16 Initial commit: BLIGHT: CUE
Webhook listener that monitors Gitea repos for BLIGHT: triggers in
markdown files, processes them via Gemini 2.5 Flash-Lite, and writes
results back in-place.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 20:17:31 -05:00