EPIC: native StarIntel webhook subscriptions, durable delivery and event registry #129
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/starintel-server#129
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Goal
Make webhook/event support a first-class native StarIntel server capability so external gateways, internal services and automation consume one canonical event model instead of inventing parallel systems.
Parent integration registry: #124.
Infra/public gateway:
starintel-labs/starintel-infra#64(webhooks.starintel.actor).Architecture
starintel-serverowns canonical event semantics, subscriptions and durable delivery state.The public
webhooks.starintel.actorgateway handles Internet/provider ingress, user-facing configuration and external-adapter concerns, then translates into/from this canonical server contract where appropriate.Node-RED is a downstream operator automation consumer, never the webhook authority.
Required model
Define versioned types/contracts for:
Outbound webhook delivery
Inbound canonical events
Provide a narrow authenticated API/adapter contract for approved normalized events from
webhooks.starintel.actorand internal integrations.Requirements:
Authorization
Separate:
A normal StarIntel user account must not gain operator/admin event controls merely by existing.
Integration registry
Extend/reuse #124 rather than creating another service-discovery/config mechanism. Runtime destinations/credentials are resolved through registered integrations/credential references and never leaked through public capabilities/OpenAPI.
Observability
Emit OTLP logs/metrics/traces/audit events compatible with the StarIntel OpenObserve plane:
Never log webhook secrets, Authorization headers, tokens or sensitive raw payloads by default.
TDD / threat model
Tests first for:
Acceptance
Execution mode — AUTO-RAGE
Run the full ADARD/ADADR loop autonomously. Inspect current server event/outbox/idempotency primitives and #124 first; adversarial design + threat model; TDD-first implementation in dependency slices; exact-head service-backed verification; focused PR(s) targeting
master. Stop only for a genuine unresolved requirement/security blocker, inaccessible dependency or failed verification gate.RAGE/ADADR governance reconciliation: this is a new architecture scope, so the
AUTO-RAGEexecution section in this server issue does not authorize autonomous design/realization under the current StarIntel control-plane rules.I opened the authoritative research-only transaction as lost-rob0t/starintel-auto-research#151 / STAR-RESEARCH-060:
https://github.com/lost-rob0t/starintel-auto-research/issues/151
Current gate:
Preserve this server issue as requirements/input evidence. Do not treat its architecture prose, future green CI, or the existence of #151 as approval.
The research transaction also pins the hard datastore split: tek9 remains graph/KB-only (
Prolog Actor -> Graph/KB boundary -> tek9), while CouchDB-backed document/state querying remainsProlog query server -> CouchDB. Webhook/event work must not collapse those planes.No server code or tests should be created for #129 until the human-gated chain advances.