Edge Spectrum Endpoint

Add, change or debug an Edge Spectrum API endpoint across its two entry points — the local Express server (site/server.ts) and the Vercel serverless functions (site/api/*) — which must both be thin adapters over shared logic in site/src/server/. Covers Zod validation at the trust boundary, the strategySchema / strategyBounds split that keeps Zod out of the client bundle, and the demo-mode + passcode gate that makes the Gemini advisor fail closed. Use for "add an API route", "the endpoint works locally but 404s/500s on Vercel", "validate this request body", "the advisor returns 503 / 403 / 401", "ADVISOR_PASSCODE", "EDGE_SPECTRUM_MODE", "demo mode", "check:deployment failed", and any work under site/api/, site/server.ts or site/src/server/.

ai-automation-tools Updated

File contents

ai-automation-tools/agent-skills/tree/main/Skills/Projects/edge-spectrum/edge-spectrum-endpoint commit 16e754f61a

Frequently asked questions

npx skillmds@latest add ai-automation-tools/edge-spectrum-endpoint