Auth and Persistence
Clerk guards authenticated routes, and Prisma/PostgreSQL stores deals, documents, and memos.
Web Port
This Next.js app is isolated in lucent-web/ while the Tauri desktop product stays intact in desktop/. Shared underwriting models and engines remain available from the root backend/ package.
Clerk guards authenticated routes, and Prisma/PostgreSQL stores deals, documents, and memos.
Anthropic calls move behind Next API routes so browser clients never handle API keys.
Deal intake, document upload, memo generation, QA, and export screens can migrate incrementally.