Skip to content

Adding a Job Board Adapter

Claude edited this page Nov 12, 2026 · 6 revisions

Checked against v0.7.6 on November 13, 2026.

Adding a job board adapter

A new ATS or job board is a code adapter, not a configuration entry: one module, one fixture, one test, a handful of registry lines and rows in the reference documents. This page walks the shared ingest path that every role takes, then the two adapters worth copying. kestrel/ingest/adapters/greenhouse.py is the shortest company board. kestrel/ingest/adapters/usajobs.py is the reference for a board that needs the person's own key. Related pages: Outbound calls, Testing, Security and privacy model, Task queue and concurrency, CLI reference.

Twenty-six kinds are registered in kestrel/ingest/adapters/__init__.py.

Family Kinds
Company boards (catalog category "ATS board") greenhouse, lever, ashby, workday, smartrecruiters, rippling, adp, paylocity, workable, recruitee, teamtailor, personio, breezy, jobvite, and careers_page (the generic reader for any page that publishes schema.org JobPosting data)
Search boards jobspy (Indeed and Glassdoor by default, DEFAULT_SITES in jobspy.py; Google Jobs returns nothing through the library and LinkedIn is refused), and the single-source boards usajobs and adzuna (own key), and himalayas, weworkremotely, arbeitnow, jobicy, remotive, fourdayweek and hn_hiring (no key)
Discovery only remoterocketship (the person's own paid key; it returns employer links, which are never stored)

Consulting trigger sources (SEC filings, feeds, procurement) use a parallel SignalSource protocol in kestrel/ingest/signal_base.py and are covered in Adding a signal source.

Two hard rules from CLAUDE.md shape every adapter.

  • Kestrel never acts for you. An adapter reads a public listing and returns data. It does not apply, message, log in or fill a form.
  • Public data only, politely. A descriptive User-Agent, a rate limit per host, robots.txt checked before any page is read. An adapter leaves an unknown field as None and never guesses a salary, a date or a remote flag.

The contract

The contract is in kestrel/ingest/base.py.

@runtime_checkable
class SourceAdapter(Protocol):
    kind: str
    def validate_config(self, config: dict) -> None: ...
    async def fetch(self, config: dict, client: Any) -> list[RawPosting]: ...
Piece Rule
kind The string stored in source.kind. Lowercase, no spaces.
validate_config(config) Pure and structural. Check required keys and legal combinations, raise SourceConfigError (a ValueError), and never touch the network or the database. The Sources page calls it before saving a source and the runner calls it again before every scan.
fetch(config, client) Does the I/O through the shared client and returns RawPosting objects, as a plain list or as a PostingBatch (below).
Database An adapter never writes to it. kestrel/ingest/normalize.py owns canonicalization, dedup and persistence.

RawPosting is a dataclass. Every field is optional (raw defaults to an empty dict). Fill what the payload provides and leave the rest unknown.

Field Notes
external_id The platform's stable id. Re-sightings of a posting within one source match on this, and on url when the id is missing (_find_same_posting in normalize.py).
url, apply_url The posting page and the apply link.
title, org_name, org_url The platform may not name the company. The company-board adapters fall back to a company_name in the config, then to the slug.
location_raw The location exactly as the platform gives it. The area rule reads it (below), so list every place a role is open, joined with ; .
description_html or description_md Supply one. Normalization prefers Markdown, otherwise it unescapes and converts the HTML.
employment_type, is_remote, remote_hint is_remote is True only when the platform says so unambiguously.
comp_min, comp_max, comp_currency, comp_interval comp_interval is year, month, day or hour. Absence means unknown, never zero.
date_posted An ISO date or datetime string.
size_band, sector, ownership Organization hints, only when the payload states them.
raw The original payload for this posting, or the few fields worth keeping (usajobs.py keeps three). Never anything from the request, such as a key.

PostingBatch and partial_error

PostingBatch (also in base.py) is a list of postings with one extra attribute, partial_error: str | None. It carries why a fetch stopped early or could not start: a key not saved yet, a 429, a 5xx, a per-run cap. The runner records the run as partial with that sentence, keeps every posting already collected, and does not count a failure of the source, so it cannot disable the source.

A 429 or a missing key is a partial run, never a failed one. The table shows where each situation lands.

Situation The adapter The run
Key or email not saved Returns an empty PostingBatch with partial_error set (NEEDS_KEY in usajobs.py) and makes no request partial; the failure counter resets
429 or 5xx part way through Returns the batch it has with partial_error set (_problem in usajobs.py, the 429 branch in recruitee.py) partial; postings stored; no failure counted
A per-run cap reached Returns the batch with partial_error saying how many were left (max_results in breezy.py and personio.py, MAX_REQUESTS in usajobs.py) Same
Unknown board (404), key rejected (401 or 403), changed payload shape, robots.txt disallow Raises AdapterError with a sentence Kestrel writes itself partial with that text; one failure counted; three in a row disable the source and add a notification
Config structurally wrong Raises SourceConfigError Refused at save time; at scan time it counts like an AdapterError
Any other exception Nothing to do Logged as scrape_unexpected_error, counted like an AdapterError

run_source itself only ever writes ok or partial as a run status; failed is what the worker records when run_source itself crashes. Writing the error as your own sentence matters: the text is shown in the app and the diagnostics zip, so it must not carry the provider's reply, a URL with a query string or a key.

What the runner does with your adapter

run_source in kestrel/ingest/runner.py:

  1. Writes a scrape_run row whose counts start at fetched, new, reseen, changed, errors, dropped_outside_area and dropped_unrelated_title.
  2. Looks up the adapter with get_adapter(source.kind), calls validate_config, then await adapter.fetch(source.config, http). A partial_error on the result becomes the run's error text.
  3. Handles SourceConfigError, AdapterError and any other exception as in the table above.
  4. Drops, before anything is stored:
    • A posting whose named country is outside the person's geo_rules.remote_country_allowlist, when the profile sets one. _outside_area is true only when every place in location_raw (split on ; and |) is a known country outside the list. parse_location in kestrel/ingest/location.py reads ISO 3166 alpha-2, alpha-3, numeric and English names from the vendored kestrel/resources/iso3166.csv. A place with no known country, no location at all, or "New York - Remote" passes. The rule never decides work mode. Counted as dropped_outside_area.
    • A posting whose title smart_filter.keep rejects: a level below the person's floor, or no field word shared with their target titles (and phrasings) or with words learned from at least two of their pursuits. A blank title, an unknown level, a title with no field words or nothing to compare against is kept (hard rule 4). Counted as dropped_unrelated_title.
    • Nothing is stored for a dropped posting. Searches and every company board go through the same two checks. manual_ingest (pasted text, the extension, the MCP tool) and the signal sources call normalize_and_store directly and skip them.
  5. Calls normalize_and_store for each remaining posting and commits per posting, in the same transaction as its embed task. One bad posting increments errors and does not fail the source.
  6. Marks the run ok or partial. Any success, an empty one included, resets consecutive_failures.
  7. For a jobspy source only, records postings per board in counts["by_site"] and calls discover_boards (next section). A failure there is logged and never changes how the run went.

For an adapter author the area and title drop has two consequences. Put the real place in location_raw and never join several places into a string a parser would read as one. USAJobs returns the display text "Multiple Locations" for a multi-place announcement for this reason (_location in usajobs.py). And do not pre-filter by title or country in the adapter: the runner does it once, with the person's own profile, and counts it.

Company boards found from links

You cannot search Greenhouse, Lever and the others across companies, so Kestrel finds boards from links. kestrel/ingest/board_discovery.py reads each posting's apply_url and url from a jobspy run, matches the host exactly (board_from_url; a board name in the path of another site is not a board) and adds a Source for each board it does not already have, with origin="discovered", a 24 hour cadence and the enabled state of the search that found it. PLATFORMS there lists the 13 named hiring systems. board_from_markup also recognizes Recruitee and Teamtailor on a company's own domain, from markup already in hand. A grnh.se short link is followed one hop (at most 20 a run). At most 40 found boards exist per track. A board present in any state is never added again, so one you turned off stays off.

The same function takes the employer links of a discovery-only source. remoterocketship sets discovery_only = True; run_source hands its links to kestrel/ingest/employer_links.py, which sends a recognized board to discover_boards and reads any other link once from the employer's public page.

A link the person pastes goes through the same functions. On Sources, Add a source > Company career page posts the link to POST /sources/check/link (check_link in kestrel/web/pages/sources_ui.py). It tries board_from_url, then reads the page once (public addresses only, robots.txt checked) for board_from_markup, then falls back to careers_page. It runs the matching adapter and reports how many open roles it found. Add stays off until a check has read a board. Company by name posts to POST /sources/check/company and probes four kinds (board_lookup.py: Greenhouse, Lever, Ashby, SmartRecruiters).

The shared HTTP client

fetch receives an HttpClient from kestrel/ingest/http.py. Use it for every request so the User-Agent and rate limits apply to the whole run. Pass check_robots=True on every read of a page, because the client checks robots.txt only when asked.

Method Use
await client.get_json(url, **kw) GET, return parsed JSON.
await client.post_json(url, json=body, **kw) POST a JSON body, return parsed JSON. Workday and Workable use it.
await client.get_text(url, **kw) GET, return text.
await client.request(method, url, **kw) The lower-level call. Returns the response, including a 404.
Keyword Meaning
rate_per_sec Minimum spacing for that host. The default is ingest.default_rate_per_sec (2.0). Pass a lower figure for a gentle host (Personio is one request per 2 seconds, most newer adapters 1 per second).
headers Extra headers. USAJobs overrides User-Agent with the person's email, which its API requires.
check_robots Fetch and honor the host's robots.txt (product token Kestrel). The ingest.respect_robots setting turns the check off globally.
retries Attempts including the first. A 429, 403 or 503 is retried with a short backoff, then raised as httpx.HTTPStatusError. Pass retries=1 where a retry would only be told to slow down again.
follow_redirects False returns a 3xx as it is, for a caller that vets each hop.
public_only For an address the person supplied. See below.

A non-2xx response from get_json, post_json or get_text raises httpx.HTTPStatusError whose message has the query string removed, so a key in a query string cannot reach a log. A robots.txt disallow raises PermissionError. Catch both and turn them into a partial_error or an AdapterError.

check_robots defaults to False. The public job-board APIs of the older company-board adapters (Greenhouse, Lever, Ashby, Workday, SmartRecruiters, Rippling, ADP, Paylocity) call documented public JSON endpoints and do not set it. The adapters that read a page or a feed set it: Workable, Recruitee, Teamtailor, Personio, Breezy HR, Jobvite, the careers-page reader, USAJobs, Himalayas, We Work Remotely, Arbeitnow, Jobicy and 4 Day Week. Two documented APIs skip it on purpose and are scoped to that one API: Remotive, whose robots.txt disallows /api/* as a crawler rule although it publishes the API for scripts (the runner also holds it to 4 fetches a local day, counted in the database), and the official Hacker News API (hn_hiring), whose robots.txt allows only .json addresses through a wildcard the in-client check cannot read, so the adapter requests only .json addresses and never a news.ycombinator.com page. Keyed API calls skip it by design: Adzuna's (the published API, called with the person's own key for a personal search, which its API terms allow) and RemoteRocketship's here, and SAM.gov's in the signal-source guide. Say so in the module docstring and in the catalog's rate_limit text when you do the same, and scope the exception to that one call.

public_only=True is for a URL the person supplied: a pasted careers page, a Teamtailor domain, a feed. The host must resolve only to public addresses (a private-network, loopback or link-local address raises UnsafeURLError), the check repeats on every redirect hop, which the client follows by hand, the body is capped at 2 MB (MAX_PUBLIC_BYTES) and the request at 15 seconds. teamtailor.py and careers_page.py pass it on every request.

Never call requests or another synchronous HTTP library from an adapter. If a library you need is synchronous, wrap it in asyncio.to_thread(), as jobspy.py does.

Worked example: a company board

greenhouse.py is the whole pattern in 65 lines. The module docstring records the payload traps this adapter handles (location is an object, content is HTML-escaped HTML, no pagination). The class has a kind attribute and no base class, because SourceAdapter is a runtime-checkable Protocol.

class GreenhouseAdapter:
    kind = "greenhouse"

    def validate_config(self, config: dict) -> None:
        if not config.get("token"):
            raise SourceConfigError("greenhouse source requires a 'token' (the board token)")

    async def fetch(self, config: dict, client: Any) -> list[RawPosting]:
        self.validate_config(config)
        token = config["token"]
        url = f"{_BASE}/{token}/jobs?content=true"
        data = await client.get_json(url)
        jobs = data.get("jobs", []) if isinstance(data, dict) else []
        return [self._to_posting(j, token) for j in jobs if isinstance(j, dict)]

_to_posting maps one job into a RawPosting: loc.get("name") if isinstance(loc, dict) for the location object, org_name=j.get("company_name") or token, description_html=j.get("content"), and raw=j. A helper _str returns None for a missing or empty value. fetch calls validate_config itself, as the other adapters do.

The newer company boards add the batch and the error mapping. This is the shape in recruitee.py:

batch = PostingBatch()
try:
    data = await client.get_json(
        _BASE.format(slug=slug), rate_per_sec=_RATE, check_robots=True
    )
except httpx.HTTPStatusError as exc:
    code = exc.response.status_code
    if code == 429:
        batch.partial_error = f"Recruitee is rate limiting requests for {slug}. ..."
        return batch
    if code == 404:
        raise AdapterError(f"Recruitee board not found: {slug}") from exc
    raise AdapterError(f"Recruitee fetch failed for {slug}: {exc}") from exc
except PermissionError as exc:
    raise AdapterError(f"Recruitee robots.txt does not allow reading {slug}") from exc

Two more conventions from the same family. A board whose list carries no body makes one detail request per role, capped by a max_results config key (default 100 in personio.py and breezy.py, 200 in several older adapters); roles past the cap are kept without a body and partial_error says how many. A detail page address is built on the board's own host from an id, never taken from the payload (breezy.py), so a payload cannot point the adapter at another host. XML is parsed only after refusing any DOCTYPE or ENTITY declaration (personio.py, weworkremotely.py).

Worked example: a board that needs the person's own key

usajobs.py is the reference that adzuna.py copies. The module docstring lists the rules that bind it; they are the checklist for any keyed board.

Where the key lives. In the data folder's .env, saved by providers.write_secret in kestrel/llm/providers.py, the same helper that saves an online-model key. The file is created 0600 where the platform honors modes. Kestrel holds secrets in a private store and never puts them in the process environment, and it ignores a same-named system variable unless KESTREL_USE_SYSTEM_KEYS=1 (get_secret in kestrel/config.py). write_secret refuses a name that does not end in _KEY, _TOKEN, _SECRET or _PASSWORD, which is why Adzuna's app id is ADZUNA_APP_ID_KEY. A key never goes in the source's config row, a log line, an exception message, a notification or the diagnostics zip.

DEFAULT_KEY_ENV = "USAJOBS_API_KEY"

def key_env(config: dict) -> str:
    return config.get("api_key_env") or DEFAULT_KEY_ENV
  • The config holds only the variable's name, api_key_env. validate_config refuses an api_key field outright and checks the name against ^[A-Za-z_][A-Za-z0-9_]{0,63}$.
  • fetch reads the key with get_secret(key_env(config)). When the key or the email is missing it logs usajobs_needs_key with two booleans and returns an empty batch whose partial_error is NEEDS_KEY. It makes no request.
  • The email USAJobs requires as its User-Agent is not a secret. It rides in the source's contact_email, copied from one setting row (sources.usajobs_email) into every USAJobs source by save_usajobs_credentials in kestrel/web/pages/sources.py.
  • NEEDS_KEY and KEY_REJECTED both hold KEY_PROBLEM_PHRASE ("API key and email"). is_key_problem tests for it, and the Sources card reads that to say "Needs you" instead of "Failed". Keep the same pairing in a new keyed board.
  • The error text for a refused key (_problem) is Kestrel's own sentence. The provider's reply body is never read into a message or log.
  • Diagnostics redact any string under a settings key whose name contains key, secret, token or password, except api_key_env (redact_tree in kestrel/services/diagnostics.py). That is a second line of defense, not a license to put a key in config.

Politeness and budgets. _RATE = 2.0, MAX_REQUESTS = 12 across all search terms, MAX_TITLES = 5, retries=1 so a 429 is never retried, check_robots=True. A 429 or 5xx returns the batch collected so far with partial_error set. The search term is the source's keyword, else the profile's target titles (_profile_titles).

r = await client.request(
    "GET", f"{API_URL}?{urlencode(params)}", headers=headers, rate_per_sec=_RATE,
    retries=1, check_robots=True,
)

The Sources page. A keyed board has three UI pieces: the key card under "Sources that need your own key" (usajobs_status, save_usajobs_credentials, POST /sources/usajobs/key in sources.py; Adzuna has adzuna_status and POST /sources/adzuna/key), a tick in the Add sheet's "Job board search" (EXTRA_BOARDS, _extra_spec and _existing in sources_ui.py), and the plain statement of what is sent (USAJOBS_SENT).

Terms of the board. Read them and keep their conditions in code. Himalayas requires its own applicationLink for Apply, a credit and expired jobs dropped, so himalayas.py sets apply_url to that link, names the source " on Himalayas" and skips expired roles. Adzuna requires the word "Adzuna" linked to Adzuna and marks its snippet descriptions partial. We Work Remotely is one request per check, credited. Record the terms you relied on in the module docstring.

Register it

Registering is more than the adapter file. The table lists every place, with the guard that fails if you skip it where there is one.

# File Change
1 kestrel/ingest/adapters/<kind>.py The adapter.
2 kestrel/ingest/adapters/__init__.py Import the class and add an instance to the tuple at the bottom. register() stores it by adapter.kind.
3 kestrel/db/enums.py Add the kind to SOURCE_KINDS. Kinds are plain text in the database, so no migration is needed. Guarded by tests/test_about_sources.py.
4 kestrel/ingest/dedup.py Add the kind to _PRIORITY. Lower rank is more canonical: company boards 0, usajobs, himalayas and weworkremotely 1, adzuna and jobspy 2. An unmapped kind ranks 9.
5 kestrel/ingest/catalog.py A _DESCRIPTIONS entry (below). Also the preferred list in _ordered_kinds for the Help order and, for a kind with a friendly add path, _EASY_ADD. Guarded by tests/test_about_sources.py.
6 tests/fixtures/ and tests/test_<kind>_adapter.py The fixture and the test (below).
7 docs/SOURCES.md, SPEC.md Appendix A, REFERENCES.md A row in the kinds table (the file must name every kind in backticks; guarded), the verified payload shape, and a reference row (below).
8 docs/OUTBOUND-CALLS.md A host-index entry for every new address in the code (below). Guarded by tests/test_outbound_inventory.py.
9 kestrel/analytics/run_summary.py _KIND_WORDS maps a kind to its display name. Without an entry the name is derived from the kind.

For a company board also:

File Change
kestrel/ingest/board_discovery.py PLATFORMS, _KEY (the config key that names the company), _NAMED_BY_COMPANY_NAME when the payload does not name the employer, and the host match in board_from_url (or a marker in board_from_markup). This is what lets a pasted link or a job search lead to the board.
kestrel/web/source_view.py PLATFORMS, the display name on the Sources page.
kestrel/web/pages/sources_ui.py SUPPORTED, the sentence on the Add sheet naming the systems Kestrel reads.
kestrel/doctor.py _ATS_KINDS, the kinds the doctor probes when a source of that kind is enabled.
kestrel/resources/config/filters.yml The direct_ats soft signal in the employment Tier 0 rules lists the kinds that post directly from the employer in source_kind_in(...).

For a search board also BOARD_KINDS and _SIGNAL_TYPE in source_view.py, EXTRA_BOARDS, _extra_spec and _existing in sources_ui.py, and for a keyed one the key card and the line in tests/conftest.py (below). kestrel/resources/config/sources.yml ships only a disabled SAM.gov row; do not add a row there.

The catalog entry is read by SourceKindInfo: name, category, track, fetches, provide, config_example, rate_limit, user_agent (defaults to the shared policy) and region. This is the Recruitee entry:

"recruitee": {
    "name": "Recruitee",
    "category": CATEGORY_ATS,
    "track": "employment",
    "fetches": (
        "The public offers JSON for one company: {slug}.recruitee.com/api/offers/. One request "
        "per scan; ..."
    ),
    "provide": "The company's Recruitee name, the first part of {slug}.recruitee.com ...",
    "config_example": {"slug": "examplecompany"},
    "rate_limit": "1 request/second; one request per scan; robots.txt respected.",
    "region": _WORLDWIDE,
},

tests/test_about_sources.py requires a non-empty rate_limit and region on every row and runs each config_example through the Sources page validator, _validate_source_config in kestrel/web/pages/sources.py. The example must pass validate_config without a key being saved.

Fixtures and tests

Tests never call a live endpoint (CLAUDE.md, build discipline). Capture one real payload, replace identifying data, and save it under tests/fixtures/ (greenhouse.json, recruitee_offers.json, breezy_list.json with breezy_detail.html). Include a posting with missing optional fields so the None paths run. Where a live check needs the person's key and cannot be made, build the fixture from the documented shape, say so in the test's docstring and in the reference row (usajobs_search.json is synthetic).

The simplest test is tests/test_greenhouse_adapter.py: respx stands in for the network, a real HttpClient runs rate limiting and error mapping, and respect_robots=False keeps the test from fetching robots.txt.

@respx.mock
async def test_greenhouse_adapter_field_mapping():
    respx.get("https://boards-api.greenhouse.io/v1/boards/meridian/jobs").mock(
        return_value=Response(200, json=_FIXTURE)
    )
    s = get_settings().ingest
    async with HttpClient(user_agent=s.user_agent, respect_robots=False) as client:
        postings = await GreenhouseAdapter().fetch({"token": "meridian"}, client)
    vp = postings[0]
    assert vp.location_raw == "Austin, TX"  # location is an OBJECT {"name": ...}

tests/test_usajobs.py is the checklist for a keyed board. It covers the field mapping and unknown remote and pay staying None, the request headers and parameters, the page and request caps, a missing key or email as an empty partial_error batch that asks nothing, 429 and 5xx keeping the collected pages without a retry, a rejected key as an authored AdapterError, an unreadable reply, the key never reaching a log or an error (test_the_key_never_reaches_a_log_or_an_error), a robots.txt disallow skipping the request, validate_config for each rule, and three runner-level cases built on the sm fixture and run_source: roles go through the area and title drop and the counts say so, a run without a key is partial with consecutive_failures still 0, and a rejected key is partial with one failure counted.

Conventions the existing tests follow:

  • Async tests need no marker. pyproject.toml sets asyncio_mode = "auto".
  • tests/conftest.py points KESTREL_DATA_HOME at a throwaway folder for every test, and its sm fixture is a fresh migrated database.
  • _no_provider_keys_from_the_host in tests/conftest.py clears a list of key names before every test so a key in the host environment cannot leak into a result. Add a new keyed board's variable names to that list. Tests that need a key set it with monkeypatch.setenv, and the same fixture sets KESTREL_USE_SYSTEM_KEYS=1 so that works.
  • respx.get(url) without the query string still matches a request that has one.

Run them with:

uv sync --extra dev
uv run pytest tests/test_greenhouse_adapter.py tests/test_about_sources.py tests/test_outbound_inventory.py
uv run ruff check

Before pushing, run uv run --extra dev python scripts/check.py. CI minutes are metered, so push only when it ends with Ready to push. (CLAUDE.md).

The reference row

REFERENCES.md lists every external API with a verification status, in the table under "Job board and ATS APIs": the source, the endpoint, and a status. Add yours when you add the adapter. State the status honestly. A board you called live gets "Verified live" with the date and what came back (status, count, an unknown slug's answer, the robots.txt result). A board you could not call, because it needs the person's key, gets "Documented shape, not yet verified live" and what the shape was read from. Add the terms you relied on (attribution, apply-link and credit conditions) and the rate and cap Kestrel keeps to. The USAJobs and Breezy HR rows are good models.

The outbound-call inventory

Every web address that appears in the code under kestrel/ must be listed in the host index of docs/OUTBOUND-CALLS.md, with a kind. tests/test_outbound_inventory.py fails otherwise, and also fails when a listed host is no longer in the code. A new board adds at least one entry of kind call (for example data.usajobs.gov) and a key sign-up page of kind link, and a row in the table above the index saying what is sent. A host built from the person's input or a setting is written with {*} for the variable part ({*}.recruitee.com). See Outbound calls for the format and what the guard can and cannot see.

Try it end to end

In the app, a company board is added from a link: Sources > Add a source > Company career page, paste a link to the board, and Add turns on once the check finds it. That path only works for your kind once board_from_url recognizes its host. A search board is added from Add a source > Job board search, where your tick appears once EXTRA_BOARDS lists it. Open the new source and use Check now in its drawer to run the real runner once. The run record shows the status, the error sentence and the counts, including the two drop counts.

From a terminal, uv run kestrel scan --source "<source name>" runs one source by name and prints name [kind] -> status: counts, followed by error= and the sentence when there is one. A bad slug shows up as partial with your AdapterError text. See CLI reference.

Platform notes

Per-platform quirks, each recorded in the adapter's docstring.

  • Rippling (rippling, config slug): the list repeats a posting once per location with the same uuid, so the adapter merges rows by id. The title is name with stray spaces, and the description and date are only in the detail request.
  • ADP Workforce Now (adp, config cid, optional cc_id and lang): $skip is 1-based (1, 21, 41), and $skip=0 returns a short page, so it is never sent. Pages cap at 20 whatever $top says. The host publishes no robots.txt, so the adapter stays at 1 request a second. The payload names no employer, so company_name or the cid is used.
  • Paylocity (paylocity, config board_id): there is no usable JSON list. The adapter reads the JSON the careers page embeds as window.pageData, decoding one JSON value from that point rather than cutting it out with a regex. The body comes from each posting page's ld+json. Dates come from the list's PublishedDate, because the posting page's datePosted has a wrong UTC offset.
  • Workable (workable, config slug): the list is a POST to the careers API v3 (/api/v3/accounts/{slug}/jobs, body {}) and each posting's body is a GET on API v2. Internal and unpublished results are skipped. Pagination is unverified: the adapter follows a nextPage token if one appears and otherwise returns what it has with a logged warning. The www.workable.com/j/ pages are disallowed by robots.txt and never fetched.
  • Recruitee (recruitee, config slug): the whole board is one response with full descriptions. A company on its own careers domain still has its {slug}.recruitee.com API. Remote is three booleans (remote, hybrid, on_site); only an explicit remote or hybrid sets the hint. A role open in several places has all of them joined with ; .
  • Teamtailor (teamtailor, config domain): there is no shared API host, so the career site's own domain is the board identity, and every request is public_only. The feed is jobs.json, with jobs.rss as a fallback. A site that switched the feeds off is a partial run with a plain sentence, not a failure. The JSON feed gives the country as an ISO code, which is turned into a name because a bare "CA" would read as California.
  • Personio (personio, config slug, optional tld): the feed's descriptions are often empty, so those roles' job pages are read, 2 seconds apart, up to max_results. Where the page is read its place replaces the feed's bare office name, so the area rule can see the country. A 429 on the list ends the run; on a job page it stops reading pages and keeps the roles collected.
  • Breezy HR (breezy, config slug): the list has no descriptions, so each role's posting page is read, up to max_results. location.is_remote is the only thing that sets the remote flag. The salary is display text and is not parsed.
  • Careers page (careers_page, config url): reads only schema.org JobPosting JSON-LD, with a real HTML parser (kestrel/ingest/jobposting.py), never a regex over the page and no model. A link that is a hiring system Kestrel already reads goes to that adapter. A list page that only links to job pages is followed one level, at most MAX_DETAIL_PAGES (25) a run, and the run says how many were left. A page that builds its list with JavaScript is a partial run that says so, not a silent zero.
  • USAJobs (usajobs): the key goes in the Authorization-Key header and the email in User-Agent. NumberOfPages, MatchedObjectId and pay amounts are strings, and ApplyURI is a list. Remote and telework are separate flags under UserArea.Details; RemoteIndicator true is remote, TeleworkEligible true is hybrid, both explicitly false is on-site, anything else is unknown.
  • Adzuna (adzuna): the keys travel in the query string, so the client's query-string stripping matters. The description is a snippet and the body ends with a sentence saying so (raw.description_partial is true). salary_is_predicted pay is kept in raw and never becomes comp_min or comp_max.
  • Himalayas (himalayas): country=US returns roles open to US applicants, worldwide ones included. Only the API is requested, never the job pages.
  • We Work Remotely (weworkremotely): the item title is "Company: Job title". A role limited to another region (for example "Europe Only") is not passed on; an unclear region is kept. A 403 is the site's bot check and a partial run.
  • Jobvite (jobvite, config slug or company_eid): the feed is XML at app.jobvite.com/CompanyJobs/Xml.aspx?c=<company id> and keys on an opaque company id that is not in the careers link. The adapter uses company_eid if set, else reads the board page jobs.jobvite.com/<slug> once to find it. Both hosts are fixed and redirects are never followed (a redirect means the board is gone). Stdlib XML has no entity-expansion hardening, so a reply that declares a DOCTYPE or ENTITY is refused, and characters XML forbids are removed first. The apply and detail links are display-only and may be on the employer's own domain. A person's name in the hiring-team field is never read. A link to jobs.jobvite.com/company or the feed address is recognized by board_from_url.
  • 4 Day Week (fourdayweek, optional keyword, filters schedule, category, level, work_arrangement, count, max_pages): the board's documented public API, 4dayweek.io/api/v2/jobs, with the full description in Markdown and pay in cents when the employer gave it. Its terms ask that the board is credited with a link, so each role links to its 4 Day Week page and the board is credited. Filter values are checked against a strict pattern before they reach the address. A weekly rate keeps its week interval. A 429 or 5xx, or a dropped connection after the first page, is a partial run that keeps what was read.
  • Hacker News, Who is hiring? (hn_hiring, optional thread_id, max_comments): reads the official API, no key. It finds this month's thread by its title among the newest items of the whoishiring account, then turns each top-level comment into a role without a model. The comment's first line is split on | into company, title and place, the whole comment is the description, and the first link in it is where you apply. A header that begins with a city or a work style is still read as a header, and "no remote" is not read as remote. A dropped connection on later items keeps what was read as a partial run.
  • Remotive (remotive): its terms require naming Remotive as the source, so each role carries Remotive as its source and keeps Remotive's own link. Remotive roles stay on this computer: exports, diagnostics and the read API and MCP tools leave them out (kestrel/services/export_terms.py), as its terms ask. A role also found on another board is shared from that board's copy.
  • Paycom has no adapter. Its robots.txt disallows the job list endpoint, and the career page is a shell that calls that list.
  • RemoteRocketship (remoterocketship): the endpoint needs its trailing slash (/api/openclaw/jobs/; without it the server answers 308). The reply is read for each job's url only. The key comes from .env (REMOTEROCKETSHIP_API_KEY, or the name in api_key_env).

Payload traps already paid for

  • Lever: the title is text, not title. createdAt is epoch milliseconds.
  • Greenhouse: location is an object, and content is HTML-escaped HTML.
  • Workday: the job list is a POST capped at 20 per page with no description. The detail is a separate GET, and postedOn in the list is a human string, not a date.
  • SmartRecruiters: the title is name, the list carries no description, and identifiers are case sensitive.
  • Ashby: the board token is case sensitive. Compensation is absent, not zero, unless the board shows it.
  • JobSpy: synchronous, so it runs in asyncio.to_thread(). A source that names no boards asks Indeed and Glassdoor, never every site JobSpy knows. Indeed permits only one of hours_old, job_type with is_remote, or easy_apply per search, and validate_config refuses a mix. JobSpy sends its own headers, checks no robots.txt, and does not go through the shared client.

Clone this wiki locally