Repository navigation
Outbound Calls
Checked against v0.7.6 on November 13, 2026.
Kestrel has no account, no analytics, no telemetry and no crash reporting, and it keeps no hidden outbound call. Every web address in the shipped code is written down in one document, docs/OUTBOUND-CALLS.md, and a test fails when the code and the document disagree. The same document is the source of the website's page listing every call Kestrel makes. This page explains the document, the guard and what a developer does when a change adds an address. Related pages: Security and privacy model, Adding a job board adapter, Testing, Contributing.
The inventory file is docs/OUTBOUND-CALLS.md in the public repository. The guard is tests/test_outbound_inventory.py.
| Section | What it lists |
|---|---|
| Calls Kestrel makes | A table per group (job sources, AI providers, updates, other): the purpose, the destination, when it happens and what is sent, and whether it is opt-in. |
| What stays on the computer | The local AI at 127.0.0.1:11434, Kestrel's own server on 127.0.0.1, and the MCP server and LAN access, which accept connections and never call out. |
| Links that open only when clicked | The site, the source repository, key sign-up pages, providers' privacy pages, Ollama's download page, and each role's posting and company site. |
| Outside Kestrel's code | The window engine (WebView2, WKWebView, WebKitGTK), the Edge or Chrome that renders PDFs, Ollama's own downloads, and JobSpy, which sends Indeed and Glassdoor requests with its own headers. |
| Build time only | The installer build's downloads (the bundled embedding model, packaging tools, a code-signing timestamp). Never from an installed app. |
| Host index | One line per web address found in the code, with its kind. This is the part the test reads. |
Requests that Kestrel's own client makes are rate-limited per host and carry its User-Agent, except where a source sets its own (SEC EDGAR, and USAJobs with the person's email). The client checks robots.txt only where an adapter or reader asks for it (check_robots=True). Some calls skip the check by design: JobSpy's requests to Indeed and Glassdoor, the public job-board APIs, the keyed APIs of Adzuna, RemoteRocketship and SAM.gov, Remotive's one documented API (held to 4 fetches a day) and the official Hacker News API (only .json addresses), SEC EDGAR, RSS and Atom feeds the person adds, and the grnh.se short-link request (one request, redirects off, at most 20 a run). The reasons are in Security and privacy model and Adding a job board adapter.
The index is the section after the ## Host index heading. Each line has this form, and the test reads exactly this shape:
- `data.usajobs.gov`: call. USAJobs search, the person's own key.
- `developer.usajobs.gov`: link. USAJobs key sign-up.
- `{*}.recruitee.com`: call. Recruitee company boards.
The text between backticks is the host as the code spells it, lowercased, with a trailing dot removed and a port kept (127.0.0.1:11434). The word after the colon is the kind. Anything after the first period is a free description.
| Kind | Meaning |
|---|---|
call |
Kestrel connects to it. |
link |
A link that opens only when the person clicks it. |
local |
Stays on the computer or the person's own network. |
reference |
Text only: a comment, a license, an example or an XML namespace. Never contacted. |
build |
Used only when building the installer. |
{*} stands for a part that comes from the person, a posting or a setting. A placeholder anywhere in a host, from an f-string or a template, counts as one piece. f"https://{slug}.jobs.personio.{tld}/xml" is written {*}.jobs.personio.{*}. A bare {*} entry covers a site that is assembled entirely at run time: a pasted careers page or feed, a role's posting page, a company's own site, another AI service the person sets up, a Teamtailor career site, a LAN address.
tests/test_outbound_inventory.py reads files only. It makes no request and needs no network. It has three tests.
-
test_every_address_in_the_code_is_in_the_outbound_inventorywalks every file underkestrel/whose suffix is one of.py,.js,.html,.css,.yml,.yaml,.json,.toml,.txt,.md,.webmanifestor.svg, finds everyhttp://,https://,ws://orwss://address, normalizes the host, and fails on any host that is not in the index. The failure names the first three files that carry each unlisted host. -
test_the_inventory_lists_nothing_the_code_no_longer_has_and_uses_known_kindsfails on a listed host that is no longer in the code, on an empty or malformed index, and on a kind other than the five above. -
test_the_guard_finds_a_new_address_and_reads_placeholders_as_one_partchecks the scanner itself: a literal address is found and an f-string part reads as{*}.
- Anything outside
kestrel/: the browser extension,scripts/,packaging/and the tests. The build-time downloads appear in the index only where a file underkestrel/names them. - An address assembled entirely at run time from settings or input. The
{*}entry covers these as a class, not by name. - A bare
https://prefix with no host after it (a scheme check in code). It has no host to list. - Third-party library traffic. JobSpy's requests to Indeed and Glassdoor happen inside the library, so those hosts are described in the document's tables and are not in the index.
- The window engine's and the PDF browser's own background traffic.
The guard proves the document names every address the code spells out. It does not prove that a described call sends only what the row says. That stays a review item for any change that adds a call.
A new job board, AI provider, update source or link adds a host to the code, and the test fails until the document follows. In the same change:
- Add a line to the host index for each new host, with the right kind. A key sign-up page is a
link, a text-only mention in a comment is areference, and the API Kestrel connects to is acall. - For a new
call, add or extend a row in the tables above the index: the purpose, the destination, when it happens and what is sent, and whether it is opt-in. Say plainly if it sends the person's key, their search words, their place or their email. USAJobs and Adzuna are the models. - Run
uv run pytest tests/test_outbound_inventory.py. A removed address fails the second test until its index line goes too. - Say in the pull request that the inventory changed. The document is the source of the website's calls page, so the page needs the same update.
Hosted AI providers and the update check follow the same rule as job boards: a new one adds its host, its row and its opt-in. Nothing that carries the person's data may be added without the row that says what is sent (see the privacy section of CLAUDE.md).
Start here
Interfaces
Extending Kestrel
How it works
- Prompts and context budgets
- Document engine
- Learning loop internals
- Analytics internals
- Task queue and concurrency
- Database schema
Shipping and safety
- Packaging and releases
- Preflight and diagnostics
- Security and privacy model
- Outbound calls
- Benchmarking
Workarounds and Troubleshooting