Baseline
- Primary OpenClaw gateway on Hostinger VPS
- Secondary fallback gateway on MacBook
- DealDash app on Render
- Supabase for production Postgres/Auth
Target
- App/data plane:
- Render for web/API runtime
- Supabase for Postgres/Auth
- Agent control plane:
- dedicated production node (
dealdash-prod-gateway) on Hostinger VPS
- dedicated production node (
- Fallback:
- MacBook node kept standby-only
- App-side controls:
- webhook auth and command allowlist
- Strict channel routing:
- WhatsApp external
- Telegram internal approvals
Deployment Surface Policy
- Render + Supabase are canonical production services.
- No active Vercel deployment artifacts are maintained in this repository.
- Vercel is not part of the primary runtime unless explicitly re-introduced.
Security Controls
- Runtime execution denied by default
- Manager confirmation required for one-off exec
- Full command audit logging
- Phase 1 write scope: docs + non-prod code paths
- All AI-authored changes must pass
pnpm check, tests, docs checks, and OpenClaw readiness checks
Required Environment Variables
OPENCLAW_GATEWAY_URLOPENCLAW_NODE_IDOPENCLAW_WEBHOOK_SECRETOPENCLAW_EXEC_REQUIRES_CONFIRMATION=true
Reliability
- Health checks for gateway and
/api/health - Alerts for gateway downtime and webhook auth failures
- Queue heavy analysis workflows instead of blocking message loops
- Add timeout/retry policy for agent webhooks
- Maintain failure-mode runbooks for failover, webhook signature incidents, and repeated execution failures
Rollout Cadence
- Week 1: supervised mode only
- Week 2: scoped writes after clean governance metrics
- Week 3+: expand capabilities with explicit risk signoff