What problem does it solve?
Building or refactoring a Novu Tool-channel provider (PagerDuty, Opsgenie, or new incident/alerting tools) requires coordinating changes across shared types, encryption, DAL indexes, stateless providers, API DTOs, worker send logic, dashboard, docs, and playground, and missing any touch point breaks the feature.
Core Features & Use Cases
- Mandatory provider discovery gate: Forces reading the target provider's official API docs to pin down secret format, regional endpoints, idempotency, payload contract, and auth transport before writing code.
- Architecture invariants and checklist: Enforces encrypted per-subscriber secrets on channel endpoints, stateless providers resolving routing from channelData, SKIPPED steps when no endpoint exists, and deterministic dedup keys.
- Full-stack slice order: Covers packages/shared, stateless, DAL, application-generic, providers, API e2e tests, worker, dashboard, Mintlify docs, and Next.js playground with build and verification commands.
- Use Case: Refactor Opsgenie from credential-routed env-level API keys to the endpoint-routed PagerDuty model, including removing the credential fallback and checking for existing integrations before migration.
Quick Start
Ask the agent to refactor the Opsgenie tool provider to the endpoint-routed PagerDuty model, starting with the provider discovery gate.