Setup status (diagnostic)
What this deploy has wired
This page reports which environment variables and feature flags are present on the live deploy. It reports presence by name only — values are never echoed. Use it to audit what still needs to be set on Railway Variables before each flow becomes live.
Active probes (live checks, not just env-var presence)
Readiness: auth working persistence unverified
The full check-by-check breakdown lives at /system-health. Click through for green/amber/red per check, plus the next-action per row.
- Auth + Supabase persistence11 green
- Product feature flags3 green1 amber
- Intentionally sample-only surfaces2 green1 amber
- Microsoft connector1 green
- End-to-end proofs (requires founder live login)2 needs live test
Auth + persistence (Supabase)
Login (magic link), trial workspace activation, invite acceptance, and every persisted entity (workspace progress, reports, manual agents, event audit) all flow through Supabase.
Environment variables
- set
NEXT_PUBLIC_SUPABASE_URLSupabase client init
- set
NEXT_PUBLIC_SUPABASE_ANON_KEYSupabase client init (public anon key, RLS-protected)
- set
NEXT_PUBLIC_APP_URLMagic-link redirect target (builds emailRedirectTo)
Set to the live Railway domain, e.g. https://your-app.up.railway.app
Feature flags
- on
AGENTPROOF_SUPABASE_AUTH_ENABLEDReal Supabase auth path (without it, login falls back to local-only mode)
- on
AGENTPROOF_PRIVATE_BETA_INVITES_ENABLEDInvite create/accept flow
- off
AGENTPROOF_PRIVATE_BETA_EMAILS_ENABLEDReal invite emails (vs copy-link). Optional.
- off
AGENTPROOF_PUBLIC_REGISTRATION_ENABLEDSelf-serve signup on /beta/register. KEEP OFF until public beta.
- off
AGENTPROOF_REQUIRE_EMAIL_VERIFICATIONForce email verification. Defaults to ON when Supabase auth is on.
Microsoft connector (real tenant discovery)
Real OAuth flow to discover Power Platform environments + Copilot Studio agents from a Microsoft tenant. Without these, the 'Connect Microsoft' button returns HTTP 503 setup_needed.
Environment variables
- set
MICROSOFT_TENANT_IDMicrosoft Entra tenant id
- set
MICROSOFT_CLIENT_IDMicrosoft Entra app registration client id
- set
MICROSOFT_CLIENT_SECRETServer-side token exchange (never sent to browser)
- set
MICROSOFT_REDIRECT_URIOAuth callback URL
Must match the Entra app exactly: https://<railway-domain>/api/connectors/microsoft/auth/callback
- set
MICROSOFT_POWER_PLATFORM_SCOPEPower Platform admin scope
Typical value: https://api.powerplatform.com/.default
- set
MICROSOFT_SESSION_SECRETHMAC-signs the pending OAuth handshake cookie (32+ random bytes)
Manual non-Microsoft agent + demo
Add an environment + agent without Microsoft (website chatbot, OpenAI-style agent, custom internal agent, workflow automation). The /workspace/manual-agent/new form (S34AC-R7) writes to whichever repository bundle is configured (Supabase if wired, local-private otherwise).
Feature flags
- on
AGENTPROOF_MANUAL_NON_MICROSOFT_AGENT_ENABLEDSurfaces the manual non-MS path in the readiness command centre
- off
AGENTPROOF_DEMO_MODE_ENABLEDExposes /demo with two sample agents
- off
AGENTPROOF_TRIAL_EXPERIENCE_ENABLEDGates the /trial/start CTA. Trial flow is sample-only by design (per S34AC-R7 audit).
Intelligence + AI Radar
Public-preview surfaces for the Intelligence Library and AI Landscape Radar. Per S34AC-R1 the radar is honestly framed as 'curated sample intelligence, live monitoring not yet active'. Making it truly live is a separate build (data feed + human approval queue) — not a config switch.
Feature flags
- on
AGENTPROOF_PUBLIC_INTELLIGENCE_PREVIEW_ENABLEDPublic preview content on /intelligence-preview
- on
AGENTPROOF_LANDSCAPE_RADAR_PUBLIC_PREVIEW_ENABLED/learn/ai-landscape-radar preview content
- off
AGENTPROOF_INTELLIGENCE_LIBRARY_FULL_ACCESS_ENABLEDFull library (workspace + admin only)
- off
AGENTPROOF_INTELLIGENCE_REVIEW_CONSOLE_ENABLEDAdmin intelligence review console
Founder admin console
Internal admin surfaces (/admin/operations, /admin/readiness-command-centre, /admin/intelligence-ops, /admin/pilot-control-room, etc). Off by default — exposes founder-only operational data.
Feature flags
- on
AGENTPROOF_ADMIN_TOOLS_ENABLEDAll /admin/* routes
Private staging access gate (optional)
Middleware-level Basic Auth gate for a private staging URL. Leave blank in production — only set these when you want to lock down a tester preview behind a username + password.
Environment variables
- set
AGENTPROOF_STAGING_ACCESS_GATE_USERNAMEBasic-Auth username for staging
- set
AGENTPROOF_STAGING_ACCESS_GATE_PASSWORDBasic-Auth password for staging