How santifer/career-ops works
1. System boundary
Career-Ops is a local-first job-search workspace, not a hosted service. The repo stores prompts, configuration, generated reports, PDFs, and tracking data on the user’s machine; external calls go only to AI providers and job portals the user chooses. The important persistent areas are data/, reports/, output/, jds/, interview-prep/, and writing-samples/.
2. Agent/control layer
The repository is designed to be driven by multiple AI coding CLIs, with a shared instruction core in AGENTS.md and CLI-specific wrappers such as CLAUDE.md, OPENCODE.md, GEMINI.md, and skill folders under .claude/, .qwen/, .agents/, .antigravitycli/, and .opencode/. The modes/ directory is the command surface: each markdown file represents a task mode like scan, pipeline, pdf, cover, batch, interview, tracker, and follow-up.
3. User input to analysis
The main entrypoint is conversational or command-based: the user pastes a job URL or description into a supported CLI, or invokes a mode explicitly. From there, the system classifies the role, evaluates fit against the user’s CV and profile, and produces structured outputs. This “intent → analysis → artifacts” path is the core runtime flow of the repository.
4. Job discovery and portal adapters
Discovery is handled by scan.mjs plus the providers/ adapters. Each provider module models a specific ATS or portal source such as Greenhouse, Lever, Ashby, Workday, Workable, Recruitee, SmartRecruiters, RemoteOK, Remotive, and others. Shared HTTP and type helpers live in providers/_http.mjs and providers/_types.js, making the provider layer the main integration boundary with external job sources.
5. Portal verification and crawl safety
The scanner can optionally verify listings with browser automation. The README notes a --verify mode that uses Playwright to check whether postings are still live before they are promoted into the pipeline. That creates a two-step discovery boundary: fast API/feed collection first, then selective browser validation for freshness.
6. Evaluation engine
The evaluation subsystem is driven by the mode prompts and supporting scripts such as analyze-patterns.mjs, role-matcher.mjs, normalize-statuses.mjs, verify-pipeline.mjs, and the pipeline/reconciliation utilities. Its purpose is to turn a job description into a structured assessment: role summary, CV match, level strategy, compensation notes, personalization, and interview prep. The output is recommendation-oriented, not an application submission.
7. Document generation
Resume and cover-letter generation are separate but related output paths. Templates in templates/ feed generate-latex.mjs, build-cv-latex.mjs, generate-pdf.mjs, and generate-cover-letter.mjs, with Playwright used to render HTML-based artifacts into PDFs. Fonts and layout assets are kept in fonts/, and the result lands in output/ as ATS-oriented deliverables.
8. Tracking and canonical state
Application state is normalized and stored as repo data rather than in an external database. The tracking layer uses tracker.mjs, merge-tracker.mjs, dedup-tracker.mjs, reserve-report-num.mjs, followup-cadence.mjs, and reconcile-pipeline.mjs, with templates/states.yml and other templates defining canonical statuses. This is the repository’s single source of truth for what has been evaluated, what is pending, and what needs follow-up.
9. Batch orchestration
High-volume processing is handled by the batch/ subsystem. It contains a dedicated worker prompt and shell runner for parallel evaluations, allowing multiple offers to be processed by headless CLI workers. This makes batch mode a distinct orchestration layer above the single-job evaluation flow.
10. Interactive dashboard
The dashboard/ subtree is a separate Go application that reads the repository’s tracking data and presents it in a terminal UI. It uses Bubble Tea/Lipgloss-style TUI structure with internal/data, internal/model, internal/theme, and internal/ui/screens, and supports browsing, filtering, sorting, and opening pipeline items. It is a read-heavy operational view over the same local data the CLI modes generate.
11. Customization and content packs
The repo is heavily content-driven. modes/, templates/, examples/, config/profile.example.yml, and localized README/mode files provide the reusable knowledge base and per-user customization points. That means the architecture is less “app code + database” and more “prompt library + templates + adapters + local artifacts.”
12. Validation, packaging, and lifecycle
Maintenance is supported by scripts such as doctor.mjs, check-liveness.mjs, liveness-core.mjs, liveness-browser.mjs, test-all.mjs, and portal validation scripts. CI workflows under .github/workflows/ enforce testing, code scanning, dependency review, SBOM generation, release automation, and stale-issue cleanup. Optional Docker/Nix files indicate the project is designed to be portable across local dev environments.
Main entry points: tracker.mjs Tracker core · modes Modes · scan.mjs Scan entry · doctor.mjs Validation tools
Components 24
Control surface
Shared instructions and mode entrypoints used by multiple AI CLIs.
- AGENTS core · Shared operating instructions for AI coding CLIs.
AGENTS.md - CLI wrappers · Repo-specific wrappers for Claude, Gemini, OpenCode, Qwen, and similar runtimes.
- Modes · Command surface for scan, pipeline, PDF, cover, batch, interview, tracker, and follow-up flows.
modes
Discovery
Job intake, portal adapters, and optional listing verification.
- Scan entry · Main job discovery entrypoint from URL or pasted description.
scan.mjs - Portal adapters · Source-specific adapters for Greenhouse, Lever, Workday, Ashby, Recruitee, and other portals.
providers - HTTP helpers · Shared request and response helpers used by the adapter layer.
providers/_http.mjs - Adapter types · Common typing and normalization helpers for provider data.
providers/_types.js - Browser verify · Optional freshness validation for live postings before they enter the pipeline.
verify-portals.mjs
Analysis and outputs
Role evaluation and artifact generation for resumes, cover letters, PDFs, and prep materials.
- Analyze engine · Turns a job description into fit, level, compensation, and personalization guidance.
role-matcher.mjs - Pattern analysis · Supporting analysis for recurring role signals and normalization.
analyze-patterns.mjs - Templates · Resume, CV, cover-letter, and state templates that drive output generation.
templates - LaTeX build · Produces ATS-oriented LaTeX resumes and CV artifacts.
generate-latex.mjs - PDF render · Renders HTML/LaTeX outputs into PDFs for delivery and archiving.
generate-pdf.mjs - Cover letter · Creates tailored cover letters from the same analysis and template inputs.
generate-cover-letter.mjs
State and ops
Canonical local tracking data plus the terminal dashboard and batch orchestration.
- Status normalizer · Canonicalizes pipeline statuses and related labels.
normalize-statuses.mjs - Local store · Persistent job data, reports, outputs, JD archives, interview prep, and writing samples on disk.
data - Tracker core · Main application-state ledger for evaluated jobs, pending work, and follow-up status.
tracker.mjs - Tracker sync · Reconciliation utilities that merge, deduplicate, and reserve report numbers.
merge-tracker.mjs - Cadence reconcile · Follow-up cadence and pipeline reconciliation rules.
followup-cadence.mjs - Dashboard TUI · Read-heavy terminal UI for browsing and opening tracked pipeline items.
dashboard - Batch runner · High-volume worker path for processing multiple jobs with headless CLI workers.
batch
Support and lifecycle
Customization packs, validation scripts, packaging, and CI/lifecycle automation.
- Profile pack · Reusable profile, examples, and localized content that personalize the workspace.
config/profile.example.yml - Validation tools · Liveness, pipeline verification, portal checks, and repo health scripts.
doctor.mjs - CI pipeline · Automated testing, security scanning, SBOM, release, and maintenance workflows.
.github/workflows
Connections 29
- AGENTS core → CLI wrappers: shared by · Common instructions are wrapped for different CLIs.
- CLI wrappers → Modes: invoke · CLI-specific entrypoints expose the mode command surface.
- Profile pack → Modes: customizes · User profile and localized content shape mode behavior.
- Modes → Scan entry: starts discovery · Scan and pipeline modes initiate job intake.
- Scan entry → Portal adapters: collects listings · Scan delegates source-specific fetching to portal adapters.
- Portal adapters → HTTP helpers: uses · Adapters share request/response utilities.
- Portal adapters → Adapter types: normalizes · Adapters map portal data into shared types.
- Scan entry → Browser verify: optionally verifies · Listings can be rechecked in a browser before promotion.
- Scan entry → Local store: stores raw jobs · Discovered jobs are persisted locally for later processing.
- Modes → Analyze engine: drives · Evaluation modes route the job description into analysis.
- Analyze engine → Pattern analysis: consults · Pattern and normalization scripts support fit analysis.
- Analyze engine → Templates: fills · Analysis output feeds document and report templates.
- Templates → LaTeX build: drives · Resume/CV templates are compiled into LaTeX artifacts.
- Templates → Cover letter: drives · Cover-letter templates support tailored letter generation.
- LaTeX build → PDF render: renders to · LaTeX and HTML artifacts are rendered into PDFs.
- PDF render → Local store: writes artifacts · Generated deliverables land in local output and report areas.
- Cover letter → Local store: writes artifacts · Tailored documents are stored with other generated outputs.
- Modes → Tracker core: updates state · Tracker-related modes record canonical application state.
- Tracker core → Status normalizer: canonicalizes · Statuses are normalized into a shared vocabulary.
- Tracker core → Tracker sync: reconciles · Merges, deduplicates, and reserves report numbers.
- Tracker core → Cadence reconcile: schedules follow-up · Follow-up timing is derived from tracker state.
- Tracker core → Dashboard TUI: reads from · The dashboard presents the same local tracking data.
- Batch runner → Analyze engine: parallelizes · Batch mode fans out multiple evaluations across workers.
- Batch runner → Tracker core: records results · Batch outputs are merged back into canonical tracking state.
- Validation tools → Scan entry: checks · Health scripts validate discovery behavior and portal integration.
- Validation tools → Tracker core: checks · Pipeline and liveness checks guard the tracked state flow.
- Validation tools → CI pipeline: feeds · Local validation complements automated repository workflows.
- CI pipeline → Modes: tests prompts · CI exercises the mode and script surface.
- CI pipeline → Validation tools: runs · Workflows execute tests, scans, releases, and maintenance checks.