Vercel + Neon public deployment

RHD Production Architecture

Vercel Web

Next.js public interface

Vercel FastAPI

Python serverless RHD API

Neon PostgreSQL

Repositories, sessions, jobs, audit

pgvector

Repository-scoped retrieval

Postgres Queue

Bounded staged analysis

RHD Guardrails

Read-only public action policy

Current Production Flow

Visitors connect public GitHub repositories through the Vercel frontend. The FastAPI serverless backend stores repository records, RHD sessions, staged jobs, audit events, and retrieval indexes in Neon PostgreSQL with pgvector. RHD answers with deterministic evidence-grounded analysis unless a cloud model provider is configured later.