Skip to content

Glossary

Karthik P edited this page Oct 15, 2026 · 1 revision

Glossary

This page defines the terms used across the Job Matcher code, UI and wiki, in alphabetical order. Each entry is one or two sentences with a link to the page that covers it in depth. Code identifiers are shown in code where the term maps to a type, table or setting.

Adapter key

The board token or company slug an ATS source is read by, stored as JobSource.adapterKey and shown as "Board name" in Settings. It is detected from the board URL and required for every ATS kind. See Job Sources and Scraping.

Advisory lock

A PostgreSQL transaction-level lock, pg_advisory_xact_lock(hashtext(userId)), taken in create-run.ts whenever a run is created. It serialises run starts per user, so two simultaneous requests cannot both pass the "one active run" check. See Run Pipeline.

ATS source

A job source on a supported applicant tracking system: Greenhouse, Lever, Ashby, SmartRecruiters or Recruitee (atsKinds in packages/shared). Its listings come from the board's public API, with no Firecrawl credits. See Job Sources and Scraping.

Cloud mode

FIRECRAWL_MODE=cloud, the default: every scrape, map and search goes to Firecrawl's hosted API and costs credits. See Firecrawl Credits and Caching.

Context key

A sha256 hash of the resume content hash, the run's source ids, the model, the location and experience requirements, and the title filters (context-key.ts). Job results are stored per context key, so a rerun with the same inputs skips jobs already evaluated, and changing any input evaluates them again. See AI Matching.

Credit reserve

The number of Firecrawl cloud credits every run leaves untouched on the plan, FIRECRAWL_CREDIT_RESERVE (default 50). A cloud-mode run stops with "Firecrawl credit reserve reached" once a request would dip into it. See Firecrawl Credits and Caching.

Daily allowance

The share of credits above the reserve that scheduled runs may spend per UTC day: the usable credits divided by the days left in the billing period, minus what earlier scheduled runs spent that day (credit-guard.ts). Manual runs do not count against it and are not limited by it. See Firecrawl Credits and Caching.

Dedupe

Removing duplicate listings within a run by canonical job URL, with tracking parameters stripped (dedupe.ts). Matches are also stored by canonical URL, so the same job found twice keeps one match. See Run Pipeline.

Demo mode

PROVIDERS=fake: the app runs on the fake providers, with no keys and no cost. It is the installer's default when no keys are given. See Getting Started.

Embedded board

An ATS board found embedded in a careers page source's HTML. It is stored as suggestedKind and suggestedAdapterKey and offered to the user as a switch to the cheaper ATS source. See Job Sources and Scraping.

Fake providers

Fixture-backed replacements for Firecrawl, OpenRouter and Discord in providers/fake.ts, selected with PROVIDERS=fake. They power demo mode, the API tests and the Playwright suite, and can script errors with ?fake-error=<status> URLs. See Development Setup and Testing.

Flex tier

OpenAI's lower-priced, capacity-dependent service tier, requested through OpenRouter with OPENROUTER_SERVICE_TIER=flex (the default). When flex capacity runs out (HTTP 429 or 503), a request backs off for 1, 2, 4, 8 and 16 minutes before that job fails. See AI Matching.

Hybrid mode

FIRECRAWL_MODE=hybrid: pages are scraped on a self-hosted Firecrawl first, and only a page the site blocked, or one the local instance could not answer, is retried on the cloud with the auto proxy. Search sources use the cloud. See Firecrawl Credits and Caching.

Job result

A JobResult row: the outcome of one job in one run, with its verdict (isMatch), reason, error, skip reason and how its text was read. It is unique per user, context key and job URL, which is what lets later runs in the same context skip it. See Data Model.

Job scheduler

The BullMQ repeating job, id user:<userId>, that a non-empty scheduleMinutes creates. Each tick queues an ordinary SCHEDULED run over all of the user's sources (runs.processor.ts). See Run Pipeline.

Listing

One job as read from a source before evaluation: URL, title, company, locations, experience range and, for ATS sources, often the full job ad. Listings are filtered, triaged and then evaluated. See Job Sources and Scraping.

Live mode

PROVIDERS=live: the worker uses real Firecrawl, OpenRouter and Discord, and needs OPENROUTER_API_KEY plus a Firecrawl key or local URL. See Configuration Reference.

Local mode

FIRECRAWL_MODE=local: every scrape goes to a self-hosted Firecrawl at FIRECRAWL_LOCAL_URL, with no credits or plan rate limit. A run stops at once with "Local Firecrawl is not running at " if the instance is down. See Firecrawl Credits and Caching.

Match

A Match row: a job the evaluator judged a fit, saved for the user with status PENDING or APPLIED. It is unique per user and job URL, so a job matched again keeps its status. See Data Model.

Onboarding

The setup state derived from a user's data (resume, preferences, source, first run) plus two stored timestamps, onboardingCompletedAt and onboardingDismissedAt. It drives the /welcome wizard and the home page checklist. See Frontend.

Page cache

The PageCache table, which stores scraped resumes, job pages and source listings per user (page-cache.ts). Listings expire after 15 minutes (24 hours for search sources), and other entries are kept until the user clears them in Settings, Data. See Firecrawl Credits and Caching.

Page source

A job source of kind PAGE: any careers page, scraped with Firecrawl. Job links are read from its markdown across up to maxPages "next" pages, or from the site map when useMap is on, and the LLM extracts listings when links carry no titles. See Job Sources and Scraping.

Preflight

The read-only checks a live run makes before scraping anything (preflight.ts): that the OpenRouter key is a regular key, and that the model has a structured-output endpoint from the allowed providers, on flex when required, under the price cap. A failure stops the run before any credits are spent. See AI Matching.

Requirements

The location and experience filters taken from a user's settings: experience years and months, target minimum and maximum years, cities, and whether to include jobs with unknown details (requirements.ts). Listings that fail them are dropped before any job page is read. See Run Pipeline.

Run

One pass over a set of sources for a user: a Run row with a trigger (MANUAL or SCHEDULED), a status (QUEUED, RUNNING, COMPLETED, STOPPED, FAILED), counts (found, eligible, checked, failed), a stop reason and the cloud credits it used. The API creates and queues it; the worker processes it. See Run Pipeline.

Run recovery

Ending runs whose queue job no longer exists, so they do not block later starts (recover-run.ts). It runs when the worker starts, on each schedule tick, and when a manual start finds an active run; a QUEUED run younger than 60 seconds is left alone. See Run Pipeline.

Run size

The maximum number of jobs one run reads and evaluates, maxJobsPerRun (1 to 20, default 5), labelled "Jobs to check per run". A rerun continues with the next jobs. See Configuration Reference.

Scrape route

A ScrapeRoute row recording, per domain and shared by all users, how many times in a row the local Firecrawl was blocked (scrape-routes.ts). After two consecutive blocks, hybrid runs send that site straight to the cloud for seven days; a local success resets the count. See Firecrawl Credits and Caching.

Scrape via

How a job's text was read, stored as JobResult.scrapedVia and shown on the run page: ATS ("From job board"), CACHE ("Saved copy"), LOCAL ("Read directly") or CLOUD ("Read with Firecrawl", the only one that costs credits). See Run Pipeline.

Search source

A job source of kind SEARCH, created from a query: a Firecrawl web search limited to the ATS job boards and the past week, 10 results at 2 credits. It runs at most once a day, and results on an ATS host are read through that ATS's API where possible. See Job Sources and Scraping.

Skip reason

Why a job was settled without an evaluation, JobResult.skipped: EXPIRED (its structured data says the posting closed) or TRIAGE (title triage ranked it below the threshold). See Data Model.

Source

A JobSource row: one board, careers page or search a user follows, with a kind (GREENHOUSE, LEVER, ASHBY, SMARTRECRUITERS, RECRUITEE, PAGE or SEARCH). A run reads the sources selected on Analyze, or all of them for a scheduled run. See Job Sources and Scraping.

Stop reason

The message stored on a run that ended STOPPED or FAILED, shown on the run page. Which errors stop a run rather than failing one job is decided by stopsRun() in errors.ts. See Troubleshooting.

Title filters

Include and exclude keywords matched as whole words against job titles, titleInclude and titleExclude (up to 30 each, 60 characters per keyword). A title must contain one include keyword when there are any, and no exclude keyword. See Configuration Reference.

Triage

Title triage: when triageEnabled is on (the default), one model request per batch of up to 150 titles scores each title from 0 to 3 against the resume, and only titles scoring 2 or more are read and evaluated, best first, up to the run size (triage.ts). Skipped jobs are listed on the run page as "Skipped by title triage". See AI Matching.

Verdict

The evaluator's decision for a job: match or no match (isMatch), with a short reason the user can check. A job that errored or was skipped has no verdict; the UI shows each case with a badge. See AI Matching.

Worker

The BullMQ consumer started by apps/api/src/worker.ts, with concurrency 1, which processes runs and schedule ticks in the Effect runtime. It shares the API's code and image but has no HTTP server. See Architecture.

Clone this wiki locally