Deployment
Production domains, Vercel deployment, and required environment variables for Agent Assurance.
Vercel
Agent Assurance is deployed from /Users/mb1/Code/raintree/apps/agent-assurance to the Vercel project raintree-technology/agent-assurance.
Production domains:
- Public product site:
https://policystrata.com - Documentation:
https://docs.policystrata.com - Logged-in control plane:
https://app.policystrata.com
Production Vercel env required before deploy:
NEXT_PUBLIC_SITE_URL=https://policystrata.comNEXT_PUBLIC_DOCS_URL=https://docs.policystrata.comNEXT_PUBLIC_APP_URL=https://app.policystrata.comAPP_URL=https://app.policystrata.comBETTER_AUTH_URL=https://app.policystrata.comBETTER_AUTH_TRUSTED_ORIGINS=https://policystrata.com,https://www.policystrata.com,https://docs.policystrata.com,https://app.policystrata.com,...BETTER_AUTH_SECRETSIGNUP_ALLOWED_EMAILS=admin@raintree.technologyASSURANCE_INGEST_TOKEN
Production deploy:
vercel deploy --prod --scope raintree-technology --non-interactiveDocs Domain Routing
The app keeps the internal Next route at /docs, but docs.policystrata.com serves docs at root-level paths:
| Public URL | Internal route |
|---|---|
https://docs.policystrata.com/ | /docs |
https://docs.policystrata.com/architecture | /docs/architecture |
https://docs.policystrata.com/artifact-contracts | /docs/artifact-contracts |
Production /docs/* requests on policystrata.com, app.policystrata.com, and docs.policystrata.com redirect to the canonical docs subdomain path.
Bootstrap Admin
Production workspace creation is controlled by SIGNUP_ALLOWED_EMAILS. The initial production allowlist currently uses admin@raintree.technology.
Post-Deploy Checks
curl -I https://docs.policystrata.com/
curl -I https://policystrata.com/
curl -I https://app.policystrata.com/dashboardExpected docs response:
| Header | Expected value |
|---|---|
status | HTTP/2 200 |
x-matched-path | /docs |
content-type | text/html; charset=utf-8 |