CV Harness — Event-Driven Job Search
An event-driven pipeline that collects vacancies, evaluates fit with hybrid AI and semantic matching, generates tailored resumes and cover letters, and measures ATS compatibility with a deterministic score.
Role: AI Engineer & Full-Stack Developer — sole developer
Problem
Searching for a technical role means repeatedly reading vacancies, judging fit and rewriting a resume for each application. Automating that workflow requires structured extraction, reproducible scoring and resilience when a source or AI provider fails.
Solution
I built a seven-stage event-driven pipeline. BullMQ dispatches work, a Rust worker retrieves vacancies, NestJS validates and normalizes them, and each profile receives its own match result. AI extraction is combined with pgvector similarity, while resume generation and ATS checks remain separate, reviewable steps.
Results
- Seven idempotent stages from dispatch to dashboard notification.
- 188 API tests documented, plus Rust tests and an offline E2E fixture.
- A reproducible ATS score based on keywords, structure, contact data and format.
- Selectable-text resumes and cover letters generated in the browser without server-side Chromium.
Architecture
- 01BullMQ scheduler → dispatch due vacancy sources
- 02Redis Streams → Rust scraper request and result bridge
- 03NestJS ingestion → validation and non-destructive deduplication
- 04Normalize and match → structured AI fields plus pgvector similarity
- 05Resume and notification → editable documents and dashboard inbox
Key decisions
Event-driven end to end
Each stage has an idempotent queue, deterministic job IDs, retries and recovery instead of one synchronous failure point.
Hybrid matching
The final score combines AI analysis with semantic similarity against the active resume rather than relying on either signal alone.
Deterministic ATS checks
Keywords, structure, contact information and formatting produce an explainable score that can be regression-tested.
Official APIs over bypasses
When a portal presents a WAF challenge, the preferred route is an official API/RSS feed or manual vacancy input.
Challenges
- Keeping NestJS and Rust independent while preserving a reliable messaging contract.
- Deduplicating the same vacancy across portals without deleting potentially useful records.
- Detecting PDF styling choices that break text extraction and ATS section recognition.
Key learnings
- Deterministic job IDs and idempotent consumers make an AI pipeline recoverable.
- Canonical facets are more reliable than filtering raw vacancy text.
- A deterministic checker is better than an LLM guess for reproducible document rules.
Limitations & roadmap
- The dashboard is not exposed as a public demo.
- Per-user profile isolation is designed but still documented as pending in the source project.
- Some job sources remain unavailable to automation and require official APIs or manual input.
Next project
Social Harness — Human-Guided AI Coach
Trend-to-calendar AI coaching with human editorial control