# premable/career-ops architecture

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

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

## Overview

Career-Ops is an AI-assisted job-search command center: a candidate supplies a job URL or description, receives a structured fit evaluation and tailored application materials, then tracks the opportunity and decides whether to apply. Its documented capabilities also include portal scanning, parallel batch evaluation, interview preparation, follow-up, and outcome-pattern analysis. The dashboard provides a separate view over the tracker. Several prompt-driven capabilities are documented but not represented by sampled implementation excerpts, so those links rely on the README rather than claims about internal calls.

Main entry points: [`modes`](https://github.com/premable/career-ops/tree/main/modes) (Evaluation modes), [`dashboard/main.go`](https://github.com/premable/career-ops/blob/main/dashboard/main.go) (Pipeline dashboard), [`data`](https://github.com/premable/career-ops/tree/main/data) (Application tracker), [`modes/apply.md`](https://github.com/premable/career-ops/blob/main/modes/apply.md) (Tailored CV)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_intake["Opportunity Intake"]
  node_scanner["Portal scanner<br/>[scan.mjs]"]
  node_batch["Batch evaluation"]
end

subgraph group_evaluation["Evaluation and Materials"]
  node_modes["Evaluation modes"]
  node_profile["Candidate profile"]
  node_cv["Tailored CV<br/>[apply.md]"]
  node_pdf["PDF generation<br/>[generate-pdf.mjs]"]
  node_reports["Evaluation reports"]
  node_storybank["Interview story bank<br/>[story-bank.md]"]
end

subgraph group_tracking["Pipeline and Insights"]
  node_tracker[("Application tracker")]
  node_dashboard["Pipeline dashboard<br/>[main.go]"]
  node_pipelineview["Pipeline view<br/>[pipeline.go]"]
  node_progressview["Progress analytics<br/>[progress.go]"]
  node_trackerdata["Tracker data layer<br/>[career.go]"]
  node_applicationmodel["Application model<br/>[career.go]"]
  node_reportviewer["Report viewer<br/>[viewer.go]"]
  node_integrity["Pipeline integrity"]
  node_patterns["Outcome patterns"]
end

subgraph group_support["Search Support"]
  node_followup["Follow-up cadence"]
  node_liveness["Listing liveness<br/>[check-liveness.mjs]"]
  node_livenesscore["Liveness classifier<br/>[liveness-core.mjs]"]
end

node_candidate(("Candidate"))
node_job["Job listing"]
node_portals(("Job portals"))

node_candidate -->|"selects"| node_job
node_candidate -->|"requests scan"| node_scanner
node_portals -->|"provides listings"| node_scanner
node_candidate -->|"starts evaluation"| node_modes
node_job -->|"provides description"| node_modes
node_profile -->|"personalizes"| node_modes
node_modes -->|"produces evaluation"| node_reports
node_modes -->|"tailors"| node_cv
node_cv -->|"generates PDF"| node_pdf
node_modes -->|"builds stories"| node_storybank
node_batch -->|"evaluates offers"| node_reports
node_candidate -->|"tracks decisions"| node_tracker
node_tracker -->|"loads applications"| node_dashboard
node_dashboard -->|"parses and updates"| node_trackerdata
node_trackerdata -->|"populates"| node_applicationmodel
node_dashboard -->|"creates and updates"| node_pipelineview
node_dashboard -->|"opens"| node_progressview
node_dashboard -.->|"opens report"| node_reportviewer
node_candidate -->|"checks pipeline"| node_integrity
node_tracker -->|"validates entries"| node_integrity
node_tracker -->|"analyzes outcomes"| node_patterns
node_candidate -.->|"plans follow-up"| node_followup
node_job -->|"checks status"| node_liveness
node_liveness -->|"classifies result"| node_livenesscore

click node_scanner "https://github.com/premable/career-ops/blob/main/scan.mjs"
click node_batch "https://github.com/premable/career-ops/tree/main/batch"
click node_modes "https://github.com/premable/career-ops/tree/main/modes"
click node_profile "https://github.com/premable/career-ops/blob/main/config/profile.example.yml"
click node_cv "https://github.com/premable/career-ops/blob/main/modes/apply.md"
click node_pdf "https://github.com/premable/career-ops/blob/main/generate-pdf.mjs"
click node_reports "https://github.com/premable/career-ops/tree/main/reports"
click node_storybank "https://github.com/premable/career-ops/blob/main/interview-prep/story-bank.md"
click node_tracker "https://github.com/premable/career-ops/tree/main/data"
click node_dashboard "https://github.com/premable/career-ops/blob/main/dashboard/main.go"
click node_pipelineview "https://github.com/premable/career-ops/blob/main/dashboard/internal/ui/screens/pipeline.go"
click node_progressview "https://github.com/premable/career-ops/blob/main/dashboard/internal/ui/screens/progress.go"
click node_trackerdata "https://github.com/premable/career-ops/blob/main/dashboard/internal/data/career.go"
click node_applicationmodel "https://github.com/premable/career-ops/blob/main/dashboard/internal/model/career.go"
click node_reportviewer "https://github.com/premable/career-ops/blob/main/dashboard/internal/ui/screens/viewer.go"
click node_integrity "https://github.com/premable/career-ops/blob/main/verify-pipeline.mjs"
click node_patterns "https://github.com/premable/career-ops/blob/main/analyze-patterns.mjs"
click node_followup "https://github.com/premable/career-ops/blob/main/followup-cadence.mjs"
click node_liveness "https://github.com/premable/career-ops/blob/main/check-liveness.mjs"
click node_livenesscore "https://github.com/premable/career-ops/blob/main/liveness-core.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_scanner,node_batch toneBlue
class node_modes,node_profile,node_cv,node_pdf,node_reports,node_storybank toneAmber
class node_tracker,node_dashboard,node_pipelineview,node_progressview,node_trackerdata,node_applicationmodel,node_reportviewer,node_integrity,node_patterns toneMint
class node_followup,node_liveness,node_livenesscore toneRose
class node_candidate,node_job,node_portals toneIndigo
```

## Components

### Opportunity Intake

- [Portal scanner](https://github.com/premable/career-ops/blob/main/scan.mjs): `scan.mjs`
- [Batch evaluation](https://github.com/premable/career-ops/tree/main/batch): `batch`

### Evaluation and Materials

- [Evaluation modes](https://github.com/premable/career-ops/tree/main/modes): `modes`
- [Candidate profile](https://github.com/premable/career-ops/blob/main/config/profile.example.yml): `config/profile.example.yml`
- [Tailored CV](https://github.com/premable/career-ops/blob/main/modes/apply.md): `modes/apply.md`
- [PDF generation](https://github.com/premable/career-ops/blob/main/generate-pdf.mjs): `generate-pdf.mjs`
- [Evaluation reports](https://github.com/premable/career-ops/tree/main/reports): `reports`
- [Interview story bank](https://github.com/premable/career-ops/blob/main/interview-prep/story-bank.md): `interview-prep/story-bank.md`

### Pipeline and Insights

- [Application tracker](https://github.com/premable/career-ops/tree/main/data): `data`
- [Pipeline dashboard](https://github.com/premable/career-ops/blob/main/dashboard/main.go): `dashboard/main.go`
- [Pipeline view](https://github.com/premable/career-ops/blob/main/dashboard/internal/ui/screens/pipeline.go): `dashboard/internal/ui/screens/pipeline.go`
- [Progress analytics](https://github.com/premable/career-ops/blob/main/dashboard/internal/ui/screens/progress.go): `dashboard/internal/ui/screens/progress.go`
- [Tracker data layer](https://github.com/premable/career-ops/blob/main/dashboard/internal/data/career.go): `dashboard/internal/data/career.go`
- [Application model](https://github.com/premable/career-ops/blob/main/dashboard/internal/model/career.go): `dashboard/internal/model/career.go`
- [Report viewer](https://github.com/premable/career-ops/blob/main/dashboard/internal/ui/screens/viewer.go): `dashboard/internal/ui/screens/viewer.go`
- [Pipeline integrity](https://github.com/premable/career-ops/blob/main/verify-pipeline.mjs): `verify-pipeline.mjs`
- [Outcome patterns](https://github.com/premable/career-ops/blob/main/analyze-patterns.mjs): `analyze-patterns.mjs`

### Search Support

- [Follow-up cadence](https://github.com/premable/career-ops/blob/main/followup-cadence.mjs): `followup-cadence.mjs`
- [Listing liveness](https://github.com/premable/career-ops/blob/main/check-liveness.mjs): `check-liveness.mjs`
- [Liveness classifier](https://github.com/premable/career-ops/blob/main/liveness-core.mjs): `liveness-core.mjs`

### Other components

- **Candidate**
- **Job listing**
- **Job portals**

## Connections

- Candidate → Job listing: selects (evidence: `README.md`)
- Candidate → Portal scanner: requests scan (evidence: `README.md`)
- Job portals → Portal scanner: provides listings (evidence: `README.md`)
- Candidate → Evaluation modes: starts evaluation (evidence: `README.md`)
- Job listing → Evaluation modes: provides description (evidence: `README.md`)
- Candidate profile → Evaluation modes: personalizes (evidence: `README.md`)
- Evaluation modes → Evaluation reports: produces evaluation (evidence: `README.md`)
- Evaluation modes → Tailored CV: tailors (evidence: `README.md`)
- Tailored CV → PDF generation: generates PDF (evidence: `README.md`)
- Evaluation modes → Interview story bank: builds stories (evidence: `README.md`)
- Batch evaluation → Evaluation reports: evaluates offers (evidence: `README.md`)
- Candidate → Application tracker: tracks decisions (evidence: `README.md`)
- Application tracker → Pipeline dashboard: loads applications (evidence: `dashboard/main.go`)
- Pipeline dashboard → Tracker data layer: parses and updates (evidence: `dashboard/main.go`)
- Tracker data layer → Application model: populates (evidence: `dashboard/internal/data/career.go`)
- Pipeline dashboard → Pipeline view: creates and updates (evidence: `dashboard/main.go`)
- Pipeline dashboard → Progress analytics: opens (evidence: `dashboard/main.go`)
- Pipeline dashboard → Report viewer: opens report
- Candidate → Pipeline integrity: checks pipeline (evidence: `README.md`)
- Application tracker → Pipeline integrity: validates entries (evidence: `verify-pipeline.mjs`)
- Application tracker → Outcome patterns: analyzes outcomes (evidence: `analyze-patterns.mjs`)
- Candidate → Follow-up cadence: plans follow-up
- Job listing → Listing liveness: checks status (evidence: `README.md`)
- Listing liveness → Liveness classifier: classifies result (evidence: `check-liveness.mjs`)
