How jsmastery-pro/jobpilot works
JobPilot supports a technical job seeker from profile setup and authenticated LinkedIn discovery through match scoring, job review, resume tailoring, and optional experimental application automation. The map retains the documented recording and review capabilities. Sampled route excerpts and SOURCE INDEX references establish the main orchestration; unsampled subsystems are included where README capabilities are clear, with evidence limits reflected in edges.
Main entry points: find/route.ts Find Jobs API · insforge-server.ts InsForge Data · tailor/route.ts Resume APIs · page.tsx Job Inventory
Components 22
User Experience
- Profile Editor
components/profile/ProfileForm.tsx - Job Inventory
app/(app)/jobs/page.tsx - Inventory Table
components/jobs/JobsInventoryTable.tsx - Job Review
components/jobs/JobDetails.tsx - Discovery Controls
components/dashboard/AgentControls.tsx
Job Discovery
- Find Jobs API
app/api/agent/find/route.ts - LinkedIn Discovery
agent/linkedin.ts - Match Scoring
agent/matcher.ts
Resume Workflow
- Resume APIs
app/api/resume/tailor/route.ts - Resume Generation
lib/resume.tsx
Apply Automation
- Apply API
app/api/agent/apply/route.ts - Apply Orchestrator
agent/index.ts - Apply Worker
agent/apply.ts - Browser Automation
lib/stagehand.ts - Session Recordings
agent/recording.ts
Identity and Data
- Profile Actions
actions/profile.ts - InsForge Data
lib/insforge-server.ts - Authentication
lib/auth.ts
Other components
- Job Seeker
- Browserbase
- AgentSpan
Connections 27
- Job Seeker → Profile Editor: edits profile
README.md - Profile Editor → Profile Actions: submits changes
components/profile/ProfileForm.tsx - Profile Actions → InsForge Data: writes profile
actions/profile.ts - Job Seeker → Discovery Controls: starts search
README.md - Discovery Controls → Find Jobs API: requests discovery
- Find Jobs API → Authentication: checks session
app/api/agent/find/route.ts - Find Jobs API → InsForge Data: creates run
app/api/agent/find/route.ts - Find Jobs API → LinkedIn Discovery: discovers jobs
app/api/agent/find/route.ts - LinkedIn Discovery → LinkedIn: searches listings
README.md - LinkedIn Discovery → Browserbase: uses saved session
README.md - Find Jobs API → Match Scoring: scores discovered jobs
app/api/agent/find/route.ts - Match Scoring → InsForge Data: stores matches
agent/matcher.ts - Job Seeker → Job Inventory: reviews matches
README.md - Job Inventory → InsForge Data: loads inventory
app/(app)/jobs/page.tsx - Job Inventory → Inventory Table: renders inventory
app/(app)/jobs/page.tsx - Job Seeker → Job Review: opens role
README.md - Job Review → Resume APIs: requests tailoring
- Resume APIs → Authentication: checks session
app/api/resume/tailor/route.ts - Resume APIs → InsForge Data: reads profile and stores PDF
app/api/resume/tailor/route.ts - Resume APIs → Resume Generation: generates PDF
app/api/resume/tailor/route.ts - Job Seeker → Apply API: triggers apply
README.md - Apply API → Apply Orchestrator: starts orchestration
app/api/agent/apply/route.ts - Apply Orchestrator → Apply Worker: dispatches job
agent/index.ts - Apply Worker → Browser Automation: automates forms
agent/apply.ts - Browser Automation → Browserbase: runs browser session
README.md - Apply Worker → Session Recordings: saves recording
agent/apply.ts - Apply Orchestrator → AgentSpan: runs durable jobs
agent/index.ts