# pavankalyanreddypk399/career-ops architecture

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

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

## Overview

career-ops is a local-first AI job-search agent with both CLI and web surfaces. Its central workflow evaluates a pasted or discovered listing for freshness and fit, then supports CV tailoring, application preparation, and human-controlled submission. The tracker and dashboard support ongoing pipeline management; analytics and follow-ups extend that workflow. The README establishes the user-facing sequence and local/AI positioning. Source excerpts are selective, so internal call paths and connections among unsampled subsystems are not asserted.

Main entry points: [`prescore.mjs`](https://github.com/pavankalyanreddypk399/career-ops/blob/main/prescore.mjs) (Job fit evaluation), [`jd-capture.mjs`](https://github.com/pavankalyanreddypk399/career-ops/blob/main/jd-capture.mjs) (Posting capture), [`web/src/lib/apply/session.ts`](https://github.com/pavankalyanreddypk399/career-ops/blob/main/web/src/lib/apply/session.ts) (Application workflow), [`scan.mjs`](https://github.com/pavankalyanreddypk399/career-ops/blob/main/scan.mjs) (CLI workflow)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Job discovery"]
  node_cli["CLI workflow<br/>[scan.mjs]"]
  node_web["Web interface<br/>[page.tsx]"]
  node_providers["Job-board providers"]
  node_posting["Posting capture<br/>[jd-capture.mjs]"]
end

subgraph group_evaluation["Evaluation and matching"]
  node_availability["Listing freshness"]
  node_fit["Job fit evaluation<br/>[prescore.mjs]"]
  node_matching["Role matching<br/>[role-matcher.mjs]"]
end

subgraph group_application["Application preparation"]
  node_cv["CV tailoring<br/>[batch-tailor.mjs]"]
  node_cvoutput["CV documents<br/>[generate-pdf.mjs]"]
  node_answers["Application answers"]
  node_apply["Application workflow<br/>[session.ts]"]
end

subgraph group_management["Search management"]
  node_pipeline[("Search pipeline")]
  node_tracker["Tracker operations<br/>[tracker-utils.mjs]"]
  node_dashboard["Pipeline dashboard<br/>[pipeline.go]"]
  node_followups["Follow-ups"]
  node_analytics["Search analytics<br/>[stats.mjs]"]
end

subgraph group_integrations["External integrations"]
  node_plugins["Optional plugins<br/>[_engine.mjs]"]
  node_ai{{"AI model or CLI"}}
  node_employer{{"Employer application site"}}
end

node_candidate(("Job seeker"))

node_candidate -->|"pastes listing"| node_cli
node_candidate -->|"uses dashboard"| node_web
node_cli -.->|"captures listing"| node_posting
node_posting -->|"checks freshness"| node_availability
node_availability -->|"evaluates fit"| node_fit
node_fit -->|"tailors CV"| node_cv
node_fit -->|"drafts answers"| node_answers
node_cv -.->|"generates document"| node_cvoutput
node_answers -.->|"prepares application"| node_apply
node_candidate -->|"reviews and submits"| node_apply
node_apply -.->|"submits application"| node_employer
node_providers -.->|"supplies listings"| node_posting
node_pipeline -.->|"displays pipeline"| node_dashboard
node_tracker -.->|"updates records"| node_pipeline
node_pipeline -.->|"tracks follow-ups"| node_followups
node_pipeline -.->|"feeds metrics"| node_analytics
node_plugins -.->|"extends discovery"| node_providers
node_fit -.->|"requests evaluation"| node_ai

click node_cli "https://github.com/pavankalyanreddypk399/career-ops/blob/main/scan.mjs"
click node_web "https://github.com/pavankalyanreddypk399/career-ops/blob/main/web/src/app/page.tsx"
click node_providers "https://github.com/pavankalyanreddypk399/career-ops/tree/main/providers"
click node_posting "https://github.com/pavankalyanreddypk399/career-ops/blob/main/jd-capture.mjs"
click node_availability "https://github.com/pavankalyanreddypk399/career-ops/blob/main/check-jd-archive.mjs"
click node_fit "https://github.com/pavankalyanreddypk399/career-ops/blob/main/prescore.mjs"
click node_matching "https://github.com/pavankalyanreddypk399/career-ops/blob/main/role-matcher.mjs"
click node_tracker "https://github.com/pavankalyanreddypk399/career-ops/blob/main/tracker-utils.mjs"
click node_dashboard "https://github.com/pavankalyanreddypk399/career-ops/blob/main/dashboard/internal/ui/screens/pipeline.go"
click node_followups "https://github.com/pavankalyanreddypk399/career-ops/blob/main/followup-cadence.mjs"
click node_analytics "https://github.com/pavankalyanreddypk399/career-ops/blob/main/stats.mjs"
click node_cv "https://github.com/pavankalyanreddypk399/career-ops/blob/main/batch-tailor.mjs"
click node_cvoutput "https://github.com/pavankalyanreddypk399/career-ops/blob/main/generate-pdf.mjs"
click node_answers "https://github.com/pavankalyanreddypk399/career-ops/blob/main/application-answers.mjs"
click node_apply "https://github.com/pavankalyanreddypk399/career-ops/blob/main/web/src/lib/apply/session.ts"
click node_plugins "https://github.com/pavankalyanreddypk399/career-ops/blob/main/plugins/_engine.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_cli,node_web,node_providers,node_posting toneBlue
class node_availability,node_fit,node_matching toneAmber
class node_cv,node_cvoutput,node_answers,node_apply toneMint
class node_pipeline,node_tracker,node_dashboard,node_followups,node_analytics toneRose
class node_plugins,node_ai,node_employer,node_candidate toneIndigo
```

## Components

### Job discovery

- [CLI workflow](https://github.com/pavankalyanreddypk399/career-ops/blob/main/scan.mjs): `scan.mjs`
- [Web interface](https://github.com/pavankalyanreddypk399/career-ops/blob/main/web/src/app/page.tsx): `web/src/app/page.tsx`
- [Job-board providers](https://github.com/pavankalyanreddypk399/career-ops/tree/main/providers): `providers`
- [Posting capture](https://github.com/pavankalyanreddypk399/career-ops/blob/main/jd-capture.mjs): `jd-capture.mjs`

### Evaluation and matching

- [Listing freshness](https://github.com/pavankalyanreddypk399/career-ops/blob/main/check-jd-archive.mjs): `check-jd-archive.mjs`
- [Job fit evaluation](https://github.com/pavankalyanreddypk399/career-ops/blob/main/prescore.mjs): `prescore.mjs`
- [Role matching](https://github.com/pavankalyanreddypk399/career-ops/blob/main/role-matcher.mjs): `role-matcher.mjs`

### Application preparation

- [CV tailoring](https://github.com/pavankalyanreddypk399/career-ops/blob/main/batch-tailor.mjs): `batch-tailor.mjs`
- [CV documents](https://github.com/pavankalyanreddypk399/career-ops/blob/main/generate-pdf.mjs): `generate-pdf.mjs`
- [Application answers](https://github.com/pavankalyanreddypk399/career-ops/blob/main/application-answers.mjs): `application-answers.mjs`
- [Application workflow](https://github.com/pavankalyanreddypk399/career-ops/blob/main/web/src/lib/apply/session.ts): `web/src/lib/apply/session.ts`

### Search management

- **Search pipeline**
- [Tracker operations](https://github.com/pavankalyanreddypk399/career-ops/blob/main/tracker-utils.mjs): `tracker-utils.mjs`
- [Pipeline dashboard](https://github.com/pavankalyanreddypk399/career-ops/blob/main/dashboard/internal/ui/screens/pipeline.go): `dashboard/internal/ui/screens/pipeline.go`
- [Follow-ups](https://github.com/pavankalyanreddypk399/career-ops/blob/main/followup-cadence.mjs): `followup-cadence.mjs`
- [Search analytics](https://github.com/pavankalyanreddypk399/career-ops/blob/main/stats.mjs): `stats.mjs`

### External integrations

- [Optional plugins](https://github.com/pavankalyanreddypk399/career-ops/blob/main/plugins/_engine.mjs): `plugins/_engine.mjs`
- **AI model or CLI**
- **Employer application site**

### Other components

- **Job seeker**

## Connections

- Job seeker → CLI workflow: pastes listing (evidence: `README.md`)
- Job seeker → Web interface: uses dashboard (evidence: `README.md`)
- CLI workflow → Posting capture: captures listing
- Posting capture → Listing freshness: checks freshness (evidence: `README.md`)
- Listing freshness → Job fit evaluation: evaluates fit (evidence: `README.md`)
- Job fit evaluation → CV tailoring: tailors CV (evidence: `README.md`)
- Job fit evaluation → Application answers: drafts answers (evidence: `README.md`)
- CV tailoring → CV documents: generates document
- Application answers → Application workflow: prepares application
- Job seeker → Application workflow: reviews and submits (evidence: `README.md`)
- Application workflow → Employer application site: submits application
- Job-board providers → Posting capture: supplies listings
- Search pipeline → Pipeline dashboard: displays pipeline
- Tracker operations → Search pipeline: updates records
- Search pipeline → Follow-ups: tracks follow-ups
- Search pipeline → Search analytics: feeds metrics
- Optional plugins → Job-board providers: extends discovery
- Job fit evaluation → AI model or CLI: requests evaluation
