# BizGaze Connect — project brief Place this file at the repo root (`remote-access-app/CLAUDE.md`). Claude Code reads it automatically each session. ## What this is **BizGaze Connect** — a no-install, browser-based remote support / screen-sharing tool for the BizGaze ecosystem. A customer opens a page, gets a 6-digit code; a signed-in BizGaze agent enters the code, the customer taps Allow, and the agent sees the customer's screen with two-way voice + chat. Live at **remote.bizgaze.com**. Roadmap: grow into a communication platform (meetings + persistent chat) for registered BizGaze users. ## Tech stack (intentionally minimal — keep it this way) - **Node.js >= 22.5**. npm deps: `ws`, `pg`, `redis`, `web-push` (+ optional `nodemailer`). - **PostgreSQL** via the async adapter (`server/dbx.js` → `server/db/pg.js`). SQLite was RETIRED 2026-08-12: there is now ONE schema source of truth, **`server/db/schema.pg.sql`** — every schema change goes there (and post-cutover COLUMNS need an explicit `ALTER TABLE … ADD COLUMN IF NOT EXISTS`, since the file is applied idempotently on every boot and `CREATE TABLE IF NOT EXISTS` won't alter an existing table). - **WebRTC** peer-to-peer for media (screen video + voice + data channels). - **No build step, no framework.** Each page is a single self-contained HTML file with inline `