Skip to content
Claude edited this page Nov 12, 2026 · 4 revisions

Kestrel developer wiki

These pages are for people who want to build, extend or contribute to Kestrel. If you want to use the app, start at kestrelapp.co/guides and kestrelapp.co/docs instead.

This wiki describes Kestrel 0.7.6. Each page says which version it was checked against. The code is the source of truth: if a page and the code disagree, trust the code and open an issue.

Pages

Start here

Page What it covers
Architecture overview The main modules and how a job moves from ingestion to scoring, documents and tracking
Contributing Dev setup, running the checks, commit style and the hard rules
Testing Test layout, fixtures from real payloads, the gates in order, the browser tests and the outbound-call guard

Interfaces

Page What it covers
CLI reference Every kestrel command and option
REST API The local JSON endpoints
MCP server The tools Kestrel exposes to MCP clients

Extending Kestrel

Page What it covers
Adding a job board adapter Writing and testing a new job source
Adding a signal source Consulting and filing-based signal sources
Adding a page The page lifecycle, in-place page changes and the leak test every page passes
Filter rules The drop before storage, the first-pass rules file and its safe helpers

How it works

Page What it covers
Prompts and context budgets Prompt building, validation, repair and per-step context sizes
Document engine Masters, slots, wordings, selection checks and the PDF render
Learning loop internals How ratings become calibration, examples and a reranker, and how corrections to a role's matches reach scoring
Analytics internals What is computed, and how small samples are labeled
Task queue and concurrency Tasks, leases, retries with backoff, holds and resuming after a restart
Database schema Tables, relationships, indexes and migrations through 0034

Shipping and safety

Page What it covers
Packaging and releases Installers per system and the release job
Preflight and diagnostics The startup checks and what a diagnostics file holds
Security and privacy model What stays local, what can leave, how a restore is imported, and how secrets are kept
Outbound calls Every address Kestrel contacts, and the test that keeps that list true
Benchmarking The gold set and the bench command

Ground rules

Kestrel never submits an application, sends an email or message, or acts on a third-party site for the user. It drafts and hands over. Any change that would send something on the user's behalf is out of scope.

More reference material lives in the repo: docs/DEVELOPERS.md, docs/SOURCES.md, docs/PROMPT_BUDGETS.md, docs/OUTBOUND-CALLS.md and docs/RELEASING.md.

Clone this wiki locally