forked from 0xWheatyz/SPARC
Add webhook/notification support for batch job completion and score changes #165
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Users have no way to be notified when long-running batch jobs complete or when a tracked company shows a significant change. Polling the API manually is cumbersome.
Work
webhookstable to store user-configured webhook URLs and event subscriptions.POST /webhooks,GET /webhooks,DELETE /webhooks/{id}) for managing webhooks.Acceptance Criteria
job.completereceives a POST request when a batch job finishes.References
Roadmap: P3 — Webhook/notification support.
Triage (AI-Manager)
Priority: P3 | Size: Large | Agent: @senior-developer
Execution order: Wave 4 -- Partially depends on #164 for alert triggers.
Dependencies: Soft dependency on #164.
Scope: Webhooks table, HTTP POST notifications for batch completion and score changes.
Closing: already implemented on main. SPARC/webhooks.py provides webhook/notification support. .env.example documents WEBHOOK_URLS configuration.