# shashwat-kotiyal/career-ops architecture

> Architecture diagram of the GitHub repository shashwat-kotiyal/career-ops, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shashwat-kotiyal/career-ops
- Repository: https://github.com/shashwat-kotiyal/career-ops

## Overview

career-ops is an AI-assisted job-search command center: it discovers and evaluates roles, helps prepare tailored application materials, and tracks applications through follow-up and outcomes. The README documents these major capabilities; sampled sources confirm selected web-to-pipeline, plugin-engine, and dashboard interactions. Many runtime modules are listed but unsampled, so their internal connections are omitted or shown as documented product-level flows rather than inferred calls.

Main entry points: [`tracker-parse.mjs`](https://github.com/shashwat-kotiyal/career-ops/blob/main/tracker-parse.mjs) (Application Tracker), [`scan.mjs`](https://github.com/shashwat-kotiyal/career-ops/blob/main/scan.mjs) (Job Discovery), [`plugins/_engine.mjs`](https://github.com/shashwat-kotiyal/career-ops/blob/main/plugins/_engine.mjs) (Plugin Engine), [`web/src/lib/core/scan.ts`](https://github.com/shashwat-kotiyal/career-ops/blob/main/web/src/lib/core/scan.ts) (Portal Scanning)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Role Discovery"]
  node_discovery["Job Discovery<br/>[scan.mjs]"]
  node_portal_providers["Portal Providers"]
  node_web_scan["Portal Scanning<br/>[scan.ts]"]
end

subgraph group_evaluation["Evaluation &amp; Applications"]
  node_offer_eval["Offer Evaluation"]
  node_company_research["Company Research"]
  node_cv_tailoring["CV Tailoring<br/>[batch-tailor.mjs]"]
  node_pdf_output["CV PDF Generation<br/>[generate-pdf.mjs]"]
  node_apply_assist["Application Assistance<br/>[session.ts]"]
end

subgraph group_tracking["Pipeline &amp; Outcomes"]
  node_tracker[("Application Tracker<br/>[tracker-parse.mjs]")]
  node_pipeline_reconcile["Pipeline Reconciliation"]
  node_followups["Follow-up Management"]
  node_outcomes["Application Outcomes<br/>[outcome.mjs]"]
end

subgraph group_interfaces["User Interfaces"]
  node_web_explorer["Web Explorer<br/>[explorer-view.tsx]"]
  node_dashboard["Terminal Dashboard<br/>[pipeline.go]"]
  node_dashboard_data["Career Data Access<br/>[career.go]"]
  node_web_app["Web Command Center<br/>[page.tsx]"]
end

subgraph group_extensions["Integrations"]
  node_plugin_engine["Plugin Engine<br/>[_engine.mjs]"]
  node_gmail_plugin["Gmail Lead Import<br/>[index.mjs]"]
  node_apify_plugin["Apify Job Import<br/>[index.mjs]"]
  node_notion_plugin["Notion Tracker Sync<br/>[index.mjs]"]
end

node_jobseeker(("Job Seeker"))
node_ai_cli(("AI Coding CLI"))
node_job_sources["Job Portals"]

node_jobseeker -->|"operates"| node_ai_cli
node_ai_cli -->|"scans roles"| node_discovery
node_job_sources -->|"provides listings"| node_discovery
node_discovery -.->|"uses providers"| node_portal_providers
node_web_explorer -.->|"requests scans"| node_web_scan
node_web_scan -->|"queries portals"| node_portal_providers
node_web_scan -->|"adds offers"| node_discovery
node_ai_cli -->|"evaluates roles"| node_offer_eval
node_offer_eval -.->|"researches companies"| node_company_research
node_offer_eval -->|"tailors CV"| node_cv_tailoring
node_cv_tailoring -->|"generates PDFs"| node_pdf_output
node_ai_cli -->|"tracks applications"| node_tracker
node_web_app -.->|"manages pipeline"| node_tracker
node_dashboard -->|"loads and updates"| node_dashboard_data
node_dashboard_data -.->|"reads application data"| node_tracker
node_tracker -->|"reconciles state"| node_pipeline_reconcile
node_tracker -->|"schedules follow-ups"| node_followups
node_tracker -->|"records outcomes"| node_outcomes
node_plugin_engine -.->|"loads plugin"| node_gmail_plugin
node_plugin_engine -.->|"loads plugin"| node_apify_plugin
node_plugin_engine -.->|"loads plugin"| node_notion_plugin
node_gmail_plugin -->|"imports leads"| node_discovery
node_apify_plugin -->|"imports jobs"| node_discovery
node_notion_plugin -->|"syncs records"| node_tracker

click node_discovery "https://github.com/shashwat-kotiyal/career-ops/blob/main/scan.mjs"
click node_portal_providers "https://github.com/shashwat-kotiyal/career-ops/tree/main/providers"
click node_web_explorer "https://github.com/shashwat-kotiyal/career-ops/blob/main/web/src/components/explore/explorer-view.tsx"
click node_web_scan "https://github.com/shashwat-kotiyal/career-ops/blob/main/web/src/lib/core/scan.ts"
click node_offer_eval "https://github.com/shashwat-kotiyal/career-ops/blob/main/openrouter-runner.mjs"
click node_company_research "https://github.com/shashwat-kotiyal/career-ops/blob/main/company-history.mjs"
click node_cv_tailoring "https://github.com/shashwat-kotiyal/career-ops/blob/main/batch-tailor.mjs"
click node_pdf_output "https://github.com/shashwat-kotiyal/career-ops/blob/main/generate-pdf.mjs"
click node_apply_assist "https://github.com/shashwat-kotiyal/career-ops/blob/main/web/src/lib/apply/session.ts"
click node_tracker "https://github.com/shashwat-kotiyal/career-ops/blob/main/tracker-parse.mjs"
click node_pipeline_reconcile "https://github.com/shashwat-kotiyal/career-ops/blob/main/reconcile-pipeline.mjs"
click node_followups "https://github.com/shashwat-kotiyal/career-ops/blob/main/followup-cadence.mjs"
click node_outcomes "https://github.com/shashwat-kotiyal/career-ops/blob/main/outcome.mjs"
click node_dashboard "https://github.com/shashwat-kotiyal/career-ops/blob/main/dashboard/internal/ui/screens/pipeline.go"
click node_dashboard_data "https://github.com/shashwat-kotiyal/career-ops/blob/main/dashboard/internal/data/career.go"
click node_web_app "https://github.com/shashwat-kotiyal/career-ops/blob/main/web/src/app/page.tsx"
click node_plugin_engine "https://github.com/shashwat-kotiyal/career-ops/blob/main/plugins/_engine.mjs"
click node_gmail_plugin "https://github.com/shashwat-kotiyal/career-ops/blob/main/plugins/gmail/index.mjs"
click node_apify_plugin "https://github.com/shashwat-kotiyal/career-ops/blob/main/plugins/apify/index.mjs"
click node_notion_plugin "https://github.com/shashwat-kotiyal/career-ops/blob/main/plugins/notion/index.mjs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_discovery,node_portal_providers,node_web_scan toneBlue
class node_offer_eval,node_company_research,node_cv_tailoring,node_pdf_output,node_apply_assist toneAmber
class node_tracker,node_pipeline_reconcile,node_followups,node_outcomes toneMint
class node_web_explorer,node_dashboard,node_dashboard_data,node_web_app toneRose
class node_plugin_engine,node_gmail_plugin,node_apify_plugin,node_notion_plugin,node_jobseeker,node_ai_cli,node_job_sources toneIndigo
```

## Components

### Role Discovery

- [Job Discovery](https://github.com/shashwat-kotiyal/career-ops/blob/main/scan.mjs): `scan.mjs`
- [Portal Providers](https://github.com/shashwat-kotiyal/career-ops/tree/main/providers): `providers`
- [Portal Scanning](https://github.com/shashwat-kotiyal/career-ops/blob/main/web/src/lib/core/scan.ts): `web/src/lib/core/scan.ts`

### Evaluation & Applications

- [Offer Evaluation](https://github.com/shashwat-kotiyal/career-ops/blob/main/openrouter-runner.mjs): `openrouter-runner.mjs`
- [Company Research](https://github.com/shashwat-kotiyal/career-ops/blob/main/company-history.mjs): `company-history.mjs`
- [CV Tailoring](https://github.com/shashwat-kotiyal/career-ops/blob/main/batch-tailor.mjs): `batch-tailor.mjs`
- [CV PDF Generation](https://github.com/shashwat-kotiyal/career-ops/blob/main/generate-pdf.mjs): `generate-pdf.mjs`
- [Application Assistance](https://github.com/shashwat-kotiyal/career-ops/blob/main/web/src/lib/apply/session.ts): `web/src/lib/apply/session.ts`

### Pipeline & Outcomes

- [Application Tracker](https://github.com/shashwat-kotiyal/career-ops/blob/main/tracker-parse.mjs): `tracker-parse.mjs`
- [Pipeline Reconciliation](https://github.com/shashwat-kotiyal/career-ops/blob/main/reconcile-pipeline.mjs): `reconcile-pipeline.mjs`
- [Follow-up Management](https://github.com/shashwat-kotiyal/career-ops/blob/main/followup-cadence.mjs): `followup-cadence.mjs`
- [Application Outcomes](https://github.com/shashwat-kotiyal/career-ops/blob/main/outcome.mjs): `outcome.mjs`

### User Interfaces

- [Web Explorer](https://github.com/shashwat-kotiyal/career-ops/blob/main/web/src/components/explore/explorer-view.tsx): `web/src/components/explore/explorer-view.tsx`
- [Terminal Dashboard](https://github.com/shashwat-kotiyal/career-ops/blob/main/dashboard/internal/ui/screens/pipeline.go): `dashboard/internal/ui/screens/pipeline.go`
- [Career Data Access](https://github.com/shashwat-kotiyal/career-ops/blob/main/dashboard/internal/data/career.go): `dashboard/internal/data/career.go`
- [Web Command Center](https://github.com/shashwat-kotiyal/career-ops/blob/main/web/src/app/page.tsx): `web/src/app/page.tsx`

### Integrations

- [Plugin Engine](https://github.com/shashwat-kotiyal/career-ops/blob/main/plugins/_engine.mjs): `plugins/_engine.mjs`
- [Gmail Lead Import](https://github.com/shashwat-kotiyal/career-ops/blob/main/plugins/gmail/index.mjs): `plugins/gmail/index.mjs`
- [Apify Job Import](https://github.com/shashwat-kotiyal/career-ops/blob/main/plugins/apify/index.mjs): `plugins/apify/index.mjs`
- [Notion Tracker Sync](https://github.com/shashwat-kotiyal/career-ops/blob/main/plugins/notion/index.mjs): `plugins/notion/index.mjs`

### Other components

- **Job Seeker**
- **AI Coding CLI**
- **Job Portals**

## Connections

- Job Seeker → AI Coding CLI: operates (evidence: `README.md`)
- AI Coding CLI → Job Discovery: scans roles (evidence: `README.md`)
- Job Portals → Job Discovery: provides listings (evidence: `README.md`)
- Job Discovery → Portal Providers: uses providers
- Web Explorer → Portal Scanning: requests scans
- Portal Scanning → Portal Providers: queries portals (evidence: `web/src/lib/core/scan.ts`)
- Portal Scanning → Job Discovery: adds offers
- AI Coding CLI → Offer Evaluation: evaluates roles (evidence: `README.md`)
- Offer Evaluation → Company Research: researches companies
- Offer Evaluation → CV Tailoring: tailors CV (evidence: `README.md`)
- CV Tailoring → CV PDF Generation: generates PDFs (evidence: `README.md`)
- AI Coding CLI → Application Tracker: tracks applications (evidence: `README.md`)
- Web Command Center → Application Tracker: manages pipeline
- Terminal Dashboard → Career Data Access: loads and updates
- Career Data Access → Application Tracker: reads application data
- Application Tracker → Pipeline Reconciliation: reconciles state (evidence: `reconcile-pipeline.mjs`)
- Application Tracker → Follow-up Management: schedules follow-ups (evidence: `README.md`)
- Application Tracker → Application Outcomes: records outcomes (evidence: `README.md`)
- Plugin Engine → Gmail Lead Import: loads plugin
- Plugin Engine → Apify Job Import: loads plugin
- Plugin Engine → Notion Tracker Sync: loads plugin
- Gmail Lead Import → Job Discovery: imports leads (evidence: `README.md`)
- Apify Job Import → Job Discovery: imports jobs (evidence: `README.md`)
- Notion Tracker Sync → Application Tracker: syncs records (evidence: `README.md`)
