PolicyStrata

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.com
  • NEXT_PUBLIC_DOCS_URL=https://docs.policystrata.com
  • NEXT_PUBLIC_APP_URL=https://app.policystrata.com
  • APP_URL=https://app.policystrata.com
  • BETTER_AUTH_URL=https://app.policystrata.com
  • BETTER_AUTH_TRUSTED_ORIGINS=https://policystrata.com,https://www.policystrata.com,https://docs.policystrata.com,https://app.policystrata.com,...
  • BETTER_AUTH_SECRET
  • SIGNUP_ALLOWED_EMAILS=admin@raintree.technology
  • ASSURANCE_INGEST_TOKEN

Production deploy:

production deploy
vercel deploy --prod --scope raintree-technology --non-interactive

Docs Domain Routing

The app keeps the internal Next route at /docs, but docs.policystrata.com serves docs at root-level paths:

Public URLInternal 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

domain smoke test
curl -I https://docs.policystrata.com/
curl -I https://policystrata.com/
curl -I https://app.policystrata.com/dashboard

Expected docs response:

HeaderExpected value
statusHTTP/2 200
x-matched-path/docs
content-typetext/html; charset=utf-8

On this page