Reference

Diagnostic primitives

The 12 diagnostic switch families and how support should activate them.

Purpose

Diagnostic primitives are narrow switches for support sessions. They should answer one question without turning production logs into a data dump.

Current families

  1. KONDUIT_VERIFY_MODE
  2. KONDUIT_OAUTH_DIAG
  3. KONDUIT_STRIPE_DIAG
  4. KONDUIT_CHAT_DIAG
  5. KONDUIT_UPSELL_DIAG
  6. KONDUIT_PLAN_DIAG
  7. KONDUIT_SUB_DIAG
  8. KONDUIT_CHAT_RENDERER_DIAG
  9. KONDUIT_UPDATE_DIAG
  10. KONDUIT_NETWORK_DIAG
  11. KONDUIT_PERFORMANCE_DIAG
  12. KONDUIT_SENTRY_DIAG

Activation procedure

Enable only the needed family, reproduce once, capture logs, then disable it. Never leave a diagnostic variable enabled for normal traffic.

Redaction

Diagnostic output must not include OAuth tokens, Stripe keys, Supabase service keys, cookies, request bodies, or raw user emails.