Codex 5.3 Refactor Note: Canonical refactor plan: docs/CODEX-5.3-REFACTOR-PLAN.md. This document is retained for historical and implementation context during the refactor.
Data Model
Current source of truth
- Prisma schema:
prisma/schema.prisma - Expanded context: docs/PROJECT_CONTEXT_FULL.md
Important current entities
- Candidate workflow:
Candidate,HrScreening,ManagerReview,Decision,CandidateDocument - Access/governance:
User,AccessRequest,AuditLog,SystemSettings,NotificationRule - Newer active worktree models:
ManagerReviewAccessLinkCandidateDeepDiveQuestionCandidateDeepDiveQuestionSetCandidateDeepDiveQuestionSetItemCandidateDeepDiveInviteCandidateDeepDiveResponse
Important current enums
CandidateStatusincludesCANDIDATE_DEEP_DIVE_PENDINGDocumentCategoryincludesSMO_INTERVIEW
Use the schema itself for exact columns and relations; this file is a navigation aid rather than a duplicate schema dump.