How lans12138/resume-copilot works
Resume Copilot is an HR decision-support application: staff prepare job and resume data, run evidence-backed candidate matching, then review and approve any individual actions before side effects occur. The browser is the user-facing workspace; the API and worker-backed services implement the domain workflows. Separate branches cover resume extraction and correction, evaluation, and interview scheduling. The README documents the principal run and approval boundaries; the source excerpts and index show selected API, authentication, runtime, and frontend wiring, but do not expose every domain implementation detail.
Main entry points: client.ts API client · documents Resume documents · match_run Batch matching · retrieval Candidate retrieval
Components 21
Recruiting workspace
- Web workspace
apps/web/src/App.tsx - API client
apps/web/src/api/client.ts
Hiring workflows
- Resume documents
backend/app/documents - Candidate profiles
backend/app/candidates - Job management
backend/app/jobs/service.py - Batch matching
backend/app/match_run - Candidate retrieval
backend/app/retrieval - Evidence reports
backend/app/reports - Match explanations
backend/app/explanations - Interview scheduling
backend/app/interviews - System evaluation
backend/app/evaluations
Agent and execution
- Application run
backend/app/job_applications/service.py - Run engine
backend/app/agent/engine.py - Approval workflow
backend/app/approvals/service.py - Approved side effects
backend/app/job_applications/side_effects.py
Shared platform
- Authentication
backend/app/auth/dependencies.py - PostgreSQL
backend/app/infrastructure/database.py - Task queue
backend/app/infrastructure/celery.py - Progress events
backend/app/sse - Model gateway
backend/app/infrastructure/model_gateway.py
Other components
- HR user
Connections 26
- HR user → Web workspace: uses
README.md - Web workspace → API client: requests data
apps/web/src/App.tsx - API client → Authentication: authenticates API
backend/app/auth/dependencies.py - API client → Resume documents: manages resumes
- API client → Job management: manages jobs
- Resume documents → Task queue: queues parsing
backend/app/documents/routes.py - Resume documents → Candidate profiles: produces profile drafts
- HR user → Candidate profiles: corrects draft
- API client → Batch matching: starts batch run
backend/app/match_run/routes.py - Batch matching → Task queue: enqueues execution
backend/app/match_run/routes.py - Batch matching → Candidate retrieval: retrieves candidates
- Candidate retrieval → Candidate profiles: reads candidate data
backend/app/candidates/repository.py - Candidate retrieval → Model gateway: embeds queries
- Batch matching → Evidence reports: builds evidence reports
backend/app/reports/routes.py - Evidence reports → Match explanations: requests explanations
- API client → Application run: starts individual run
- Application run → Run engine: executes graph
- Run engine → Approval workflow: pauses for approval
README.md - Approval workflow → Approved side effects: authorizes action
README.md - Approved side effects → Interview scheduling: writes interview
- API client → System evaluation: starts evaluation
backend/app/evaluations/routes.py - System evaluation → Task queue: publishes run
backend/app/evaluations/routes.py - API client → Progress events: follows progress
- Run engine → PostgreSQL: persists run state
README.md - Approval workflow → PostgreSQL: stores decisions
README.md - Resume documents → PostgreSQL: stores document records