Repository navigation
feat(internships): introduce supervised internship and cohort management system - #18
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements Stage 5: Internship Management MVP (Milestone 4) to facilitate structured 4–12 week engineering fellowships backed by verified deliverables, milestone tracking, weekly work logs, mentor evaluations, and offer letter generation.
Closes #17
Architectural Invariants & Key Changes
Database Schema & Migrations (
drizzle/0008_internship_management.sql):internship_programs: Fellowship definitions, tracks (systems, web_fullstack, devops_infra, developer_experience), duration, prerequisites, and learning outcomes.cohorts: Cohort grouping, capacity, start/end dates, and status.internship_applications: Student applications, statements, availability hours, and review audit trail.internship_enrollments: Active participant enrollment, mentor assignment, offer letter ID, and verification hash.internship_milestones: Bi-weekly milestone deliverables and deadlines.internship_work_logs: Weekly progress logs with verified GitHub PR URLs, hours spent, and mentor feedback.internship_evaluations: Mentor evaluations across 5 structured rubric dimensions (Code Quality, Collaboration, Punctuality, Documentation, Initiative).Offer Letter Generation & Cryptographic Verification (
src/lib/internships/offer-letter.ts):Domain Service (
src/lib/internships/service.ts):seedPilotInternships).listInternshipPrograms).applyForInternship).reviewApplication).submitWorkLog).evaluateInternship).getInternshipPortalData).REST APIs & UI Views:
GET /api/internships/programsPOST /api/internships/applyGET /api/internships/portalPOST /api/internships/work-logs/internshipsand/internships/portalVerification
npm test).npm run typecheck).npm run lint).npm run build).