discord-delivery
$
npx mdskill add vercel-labs/vercel-openclaw/discord-deliveryDiagnose Discord delivery failures using webhook logs and signature validation.
- Resolve interaction rejections, deferred replies, and token expiry issues.
- Integrates with Vercel logs, sandbox ports, and workflow run IDs.
- Correlates Ed25519 signatures with project targeting proof evidence.
- Outputs reconciliation status and native forwarding failure reports.
SKILL.md
.github/skills/discord-deliveryView on GitHub ↗
--- name: discord-delivery description: "Discord channel specialist workflow: debug interaction webhooks, Ed25519 signatures, deferred replies, workflow forwarding to /discord-webhook, integration reconcile, and token expiry." --- # Discord Delivery Use after `channel-debug-core` for Discord issues. ## Files - `src/app/api/channels/discord/webhook/route.ts` - `src/server/channels/discord/**` - `src/server/workflows/channels/drain-channel-workflow.ts` - `src/server/admin/why-not-ready.ts` - `src/app/api/channels/summary/route.ts` ## Runtime Path ```text Discord interaction -> /api/channels/discord/webhook -> Ed25519 signature validation -> PING type 1 or deferred type 5 -> workflow -> reconcileDiscordIntegration -> native forward to port 3000 /discord-webhook -> interaction edit or channel fallback ``` ## Parallel Lane Inputs To Consume Before proposing a Discord fix, consume: - Vercel/app logs lane: interaction accepted/deferred, reconcile logs, requestId/deliveryId/interaction ID, and project targeting proof. - Sandbox runtime lane: port 3000 listener and `/discord-webhook` evidence when native forwarding occurred. - Workflow lane: `drainChannelWorkflow` run ID/status/steps, token-age evidence, final edit/fallback attempt, with verified project targeting when `.vercel/project.json` differs from the incident target. - Prior-fix comparison: type 5 defer mistaken as completion, token expiry, reconcile failure, workflow forward failure. ## Special Checks - Returning type 5 proves only defer, not final reply. - Interaction token budget matters; check preempt/fallback logs. - Soft deadline is around 13.5 minutes in workflow logic. - Reconcile failures can be causal. - User-visible reply evidence must include interaction edit or channel fallback outcome. - If a fast path is added later, apply `channel-forward-parity`.
More from vercel-labs/vercel-openclaw
- admin-ui-debugAdmin UI and operator surface debugging for vercel-openclaw: command shell design, admin actions, request core, status panels, launch verification UI, channel readiness UI, and local read-only production-data workflows. Use when the root admin UI, controls, visual state, or operator copy is wrong.
- auth-store-debugAuth and store debugging for vercel-openclaw: admin-secret mode, Sign in with Vercel, session cookies, CSRF, LOCAL_READ_ONLY, Redis vs memory store, keyspace namespacing, and metadata shape migrations. Use when login, route authorization, Redis persistence, or metadata state is suspect.
- channel-debug-coreChannel webhook triage for vercel-openclaw Slack/Telegram/Discord/WhatsApp issues: prove deployment state, collect admin readiness endpoints, build evidence-first handoff before fixes.
- channel-forward-parityWebhook route parity audit for channel delivery changes: ensure terminal paths log, record lastForward, classify failures, and refresh stale sandbox port URLs.
- cron-watchdog-debugCron and watchdog debugging for vercel-openclaw: Vercel Cron auth, persisted OpenClaw jobs, cron wake keys, token refresh, restore oracle, hot spare, and watchdog reports. Use when scheduled OpenClaw jobs fail to wake or run, watchdog status is wrong, cron persistence is suspect, or /api/cron/watchdog behavior changes.
- firewall-ai-gateway-debugFirewall and Vercel AI Gateway debugging for vercel-openclaw: network policy allowlists, OIDC token refresh, AI Gateway transform rules, firewall learning/enforcement, and sandbox.update networkPolicy calls. Use when model calls, egress, token refresh, or firewall policy application fails.
- gateway-proxy-debugGateway and proxy debugging for vercel-openclaw: /gateway routing, HTML injection, WebSocket rewrite, gateway-token handoff, waiting page, status heartbeat, sandbox port URL cache, and proxy auth. Use when the OpenClaw UI, WebSockets, gateway proxying, or waiting-page flow breaks.
- lat-md>-
- launch-verify-debugLaunch verification and remote smoke debugging for vercel-openclaw: preflight, queue ping, ensureRunning, chatCompletions, wakeFromSleep, restorePrepared, channelReadiness, NDJSON progress, and vclaw create readiness. Use when launch verification, vclaw create validation, or remote smoke checks fail.
- openclaw-bootstrap-debugOpenClaw bootstrap, bundle, config, and restore-asset debugging for vercel-openclaw: openclaw.bundle sidecars, plugin discovery, channel catalog, restart scripts, config hashes, dynamic resume files, and fast restore. Use when setup, gateway boot, plugin loading, or bundle-sidecar compatibility fails.