# CLAUDE.md (backend/) This file used to duplicate the project-wide guidance and is now stale. Read **`../CLAUDE.md`** at the repo root for current project-wide guidance, and the relevant **`../CLAUDE_.md`** when working on client-specific code. ## Quick pointers for backend work - API server entry point: `api_server.py` - QC check modules: `visual_qc_apps/{check_name}/app.py` - Document-mode pipeline (multi-page PDF): `document_mode/` - Profile JSONs: `profiles/` - Profile loading + check discovery: `profile_config.py` - Client ↔ profile mapping: `client_config.py` - LLM config: `llm_config.py` - User access control: `user_access.py` + `user_access.json` (gitignored) - Usage logs: `usage_logs/.jsonl` - Deploy scripts: `scripts/deploy.sh`, `scripts/rollback.sh`, `scripts/health-check.sh` For everything else (architecture, auth, deployment, branch strategy, troubleshooting, pre-session checklist) see `../CLAUDE.md`.