Skip to main content
Admin • Lifetime Pro

Admin

Internal tooling for managing the deployment.

What lives here
Every page under /admin/* runs server-side with the Supabase service role when configured, bypassing row-level security. Treat the URL the same way you'd treat an SSH key — keep it off shared docs.

Service role missingPages degrade to a friendly explanation when the service role is absent so you can run a doctor mode locally without granting a deploy key.

Administrative actions, record updates, cascading wipes, and custom queries are logged to security_audit_logs for complete auditability.

Users & Accounts
User roster, deep data inspection (jobs/resumes/interviews), trial extensions, auth session control, and cascading wipes.
UnavailableOpen users & accounts

Needs SUPABASE_SERVICE_ROLE_KEY.

Database Manager
Direct table data explorer, safe read-only SQL query console, table storage metrics, and orphan cleanups.
UnavailableOpen database manager

Needs SUPABASE_SERVICE_ROLE_KEY.

Usage & Dwell
Where users spend most of their time in the app. Top routes by dwell, bounce rate, action funnel.
UnavailableOpen usage & dwell

Needs SUPABASE_SERVICE_ROLE_KEY + the 0052 usage_events migration.

AI Health
Per-feature Gemini call health (success/failure, p50 latency, mock-fallback count) from lib/ai/health.ts.
AvailableOpen ai health

AI never exercised yet — values reset on restart.

Providers
Live health for Adzuna, Gmail Sync, Google Calendar Sync, and Web Push — credentials + last error.
AvailableOpen providers

Adzuna credentials not yet set; other providers can still be configured.

Cron Health
Last execution status for daily digest, ghosting reminders, Gmail sync, job alerts, and job discovery.
AvailableOpen cron health

Process-local — resets on server restart.

Roadmap
Cron-job status, push-subscription diagnostics, and impersonation / audit tiles land here next.
  • Per-area feature flags (job-discovery-cohort, market-radar-cohort, …)
  • Impersonation ticket-issue endpoint with TTL + audit log
  • Cron route health push (last_run, last_error, retry queue)