From 9b3b4ea57fef7bc4cbb4a957b05f619b2b0660af Mon Sep 17 00:00:00 2001 From: Wolf Date: Sat, 3 Oct 2026 12:23:13 +0200 Subject: [PATCH] Add WP5 to the search providers plan: text for a search reader with detail Co-Authored-By: Claude Opus 5.5 --- docs/plan-search-sources.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/plan-search-sources.md b/docs/plan-search-sources.md index 525a38b..d40a27a 100644 --- a/docs/plan-search-sources.md +++ b/docs/plan-search-sources.md @@ -68,3 +68,7 @@ WP4 in detail: - `uv run pytest` passes on main after the merges. - On a copy of the live database, not the live one, `app searches add` for one search per provider (freehire `q="head of data" country=dk`, Jobnet `q="data science" region=HovedstadenOgBornholm`, Jobbank `q="data director" region=2`) saves and a pull reads it. - `decisions.md` records the three providers, the Jobnet header, and why Jobdanmark and LinkedIn's guest pages are out; this plan is deleted. + +## WP5: text for a search reader with `detail` + +Added after WP3: Jobbank's feed has no text and nothing calls a search reader's `detail()`. `enrich.plan` reads only `source="ats"` subscriptions and `readers.HOSTS`, and `plugins.ats.read_board_details` looks the module up in `HOSTS`. WP5 lets enrich read the best roles of a search subscription whose reader has `detail` (the same bar, budgets and per-role state as a board), and makes the reader's Fetch button use `detail()` for such a role. Owns `app/jobs/enrich.py`, `plugins/ats.py`, `app/jobs/posting.py` and their tests; Sonnet.