Summary
Update the Discord notification channel (and the NotificationChannel interface) to include an approval URL in notifications when WebAuthn is enabled.
Context
With WebAuthn, the approval mechanism shifts from Discord reactions to clicking a link. The notification still goes through Discord (or other channels), but now includes a clickable URL to the approval web UI.
Acceptance Criteria
Dependencies
Scope Boundaries
- Does NOT add new notification channels (just updates existing interface + Discord)
- Does NOT change the deny flow (deny can still be reaction-based or via web UI)
Summary
Update the Discord notification channel (and the
NotificationChannelinterface) to include an approval URL in notifications when WebAuthn is enabled.Context
With WebAuthn, the approval mechanism shifts from Discord reactions to clicking a link. The notification still goes through Discord (or other channels), but now includes a clickable URL to the approval web UI.
Acceptance Criteria
NotificationChannelinterface updated:sendApprovalRequest(request, options?)— options includesapprovalUrl?: stringDiscordChannelupdated:approvalUrlis provided, embed includes a clickable "Approve" button/linkapproval.requireWebAuthnis false)WorkflowEngineupdated:https://{server.host}:{server.port}/approve?requestId={id}&token={onetimeToken}sendApprovalRequest()Dependencies
Scope Boundaries