CodeClass

AI

Settings

Platform status, account, AI, vault, and admin.

12day streak
Level 71840 / 2200 XP

Account & Auth

Status

Guest / not signed in

Provider

GoogleDiscord (link in account)

Role

student

Subscription

Free

Label only — no payments active

Supabase

Connected

Payments

Future / not active

No Stripe connected

AI & Budget

Ada uses stored hints, cache, and mock fallback by default. Live AI is optional — enable it on the VPS with env vars.

false

AI_ENABLED

false

Free-only mode

false

Paid models

£40/mo

Max budget (future)

Response priority

  1. Stored hints (fastest, free)
  2. Cache (instant repeat answers)
  3. Live free model: openrouter/free
  4. Mock fallback (always available)

Free-only mode

  • Set AI_FREE_ONLY_MODE=true
  • OpenRouter free router: openrouter/free
  • No paid model calls ever
  • Key: not set
AI log status: AI usage is logged to console only (no account/Supabase required).

Supabase & Database

Supabase configured

Yes

Progress source

Local / demo

DB sync

Pending setup

Schema applied

Check keepalive

supabase/schema.sql

Timestamps

UTC in DB

UI shows local time

Admin migration

Run manually

supabase/admin_ai_storage_migration.sql

See docs/SUPABASE_AUTH_SETUP.md and docs/DB_SYNC_TESTING.md.

Vault / Storage

Vault mode

Local browser vault

Supabase Storage

Ready — sign in to probe

memory-vault bucket

Format

Markdown + wiki links

[[Topic]] links supported

Export

Available

Download .md files

Obsidian app

Not required

Built into CodeClass AI

Privacy

User-scoped only

No public access

Admin

Your role

student

Admin tools

Read-only

No destructive actions

Sign in to see your role. Admin access is role-gated.

Monitoring & Backups

Production URL

https://codeclass-ai.com

App health

Running on PM2

Port 3001

Keepalive

npm run supabase:keepalive

Backups

Manual checklist

codeclass-guardianapp

Future desktop app

Casino app

Port 3000 — untouched

Full backup checklist: docs/PRODUCTION_MONITORING_AND_BACKUPS.md

Local Data & Backup

Local Data & Backup

Your progress, XP, and notes are saved in this browser's localStorage. Sign in to also sync to your account. Export a backup to keep your data safe.

This backup contains your learning notes and progress. Keep it private.

0

Local XP

0

Lessons done

0

Tasks done

0

Notes

What is saved: XP, completed lessons, completed Code Lab tasks, memory notes, badges, and settings.

What is NOT saved: API keys, passwords, or any secrets. Never store sensitive data in localStorage.

Limitations: This browser and device only. Clearing browser data will delete your local save. Not shared across devices.

Do not import backup files from unknown sources.