a5ad11a1b501d6544fe13a4ccde62d653f945837
- mentor.assign no longer rejects on existing mentor; rejects only on duplicate (projectId, mentorId) via P2002 catch. - After successful create, sendMentorTeamAssignmentEmail fires once and stamps MentorAssignment.notificationSentAt for idempotency. - All existing behavior preserved: audit log, in-app notifications, MENTORING round auto-transition. - mentor.getSuggestions no longer short-circuits when a mentor is already assigned — the suggestions list is now informational and the per-pair unique constraint enforces correctness at assign time. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
99.5%
JavaScript
0.2%
Shell
0.2%
CSS
0.1%