Ops
Production state
Current prod topology, endpoints, and smoke-test expectations.
Snapshot as of 2026-04-19.
Surfaces
| Surface | URL | Host | Status |
|---|---|---|---|
| Web app | https://soma-ai.cc | Vercel Pro (happ-ai/soma) | ✅ SSL, CSP, auto-rollback ready |
| Telegram bot | @happ_soma_bot | Same Vercel deploy, /api/telegram/webhook | ✅ HMAC-guarded, pending=0 |
| Agent workflows | https://soma-ai.cc/api/inngest | Same Vercel deploy | ✅ 8 functions, Inngest Cloud synced |
| DB | diftdhvsmcnxeygapgdd.supabase.co | Supabase Pro, EU-west-1 | ✅ 7 tables, RLS on all, pgvector |
| DNS | soma-ai.cc | Cloudflare zone | ✅ A → 76.76.21.21 (Vercel) |
| Secrets | Doppler soma/prod | 23/23 filled | ✅ |
| Docs | https://docs.soma-ai.cc | Cloudflare Pages | ✅ |
Observability
| Stack | Project |
|---|---|
| Langfuse | cloud.langfuse.com |
| Sentry | happ-de/soma-api (EU region) |
| PostHog | EU cloud (eu.i.posthog.com) |
| Axiom | dataset soma-logs |
Smoke-test matrix
Everything below is green on current prod.
curl https://soma-ai.cc/api/health
# {"ok":true,"service":"web","db":true,"ts":"..."}
curl https://soma-ai.cc/api/inngest
# has_event_key:true, has_signing_key:true, mode:cloud, function_count:8
curl -I https://soma-ai.cc/login
# HTTP/2 200
curl -sI -X POST https://soma-ai.cc/api/chat
# HTTP/2 307 → /login (auth middleware working)Telegram webhook:
curl "https://api.telegram.org/bot$TG/getWebhookInfo"
# url: https://soma-ai.cc/api/telegram/webhook
# pending_update_count: 0End-to-end check
- Open https://t.me/happ_soma_bot, send
/start. - Send "I just read Atomic Habits by James Clear."
- Expect reply within 3-5s + a new row in
entitieswithtype=book, name='Atomic Habits'. - Send "What books have I read?" — should recall Atomic Habits via
memory_recall. - Langfuse shows two traces tagged
['bot', 'message'].