Skip to main content

Edge Functions

Functions live in supabase/functions/. Each has its own reference page under reference/edge-functions/; this page is the index and grouping.

Connectors​

FunctionConnector page
fathom-sync, fathom-webhookFathom
granola-syncGranola
email-sync, email-webhookEmail BCC / Attachment Inbox
gmail-sync, gmail-draftGmail
asana-sync, asana-actAsana
toggl-syncToggl
drive-syncDrive
calendar-sync, calendar-actCalendar
hubspot-syncHubSpot

Retrieval​

FunctionPurpose
searchScoped semantic search over knowledge chunks

Managed-agent runtime​

FunctionPurpose
spine-mcpThe read-only MCP server exposing the spine to the SABLE Claude Managed Agent
cma-adminProvisions/runs CMA and owns all prompt control
cma-checkDiagnostic: which org and CMA state does this key resolve to

Kickoff and discovery​

FunctionPurpose
kickoff-intakeSABLE's one public, unauthenticated surface — the token-gated stakeholder interview
interview-synthesizeReconciles every interview response for a project into one discovery brief

Operations​

FunctionPurpose
report-alertFallback notification for a blocked/degraded report

Where the code lives​

  • supabase/functions/*/index.ts
  • supabase/functions/_shared/ — helpers shared across functions