From 5fa05d5f7329fadcc7d26d6d027a989b97d9b15f Mon Sep 17 00:00:00 2001 From: Wolf Date: Wed, 30 Sep 2026 10:40:40 +0200 Subject: [PATCH] Plan prep: narrow the terms package to what the survey found Co-Authored-By: Claude Opus 5.5 --- docs/plan-prep.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/plan-prep.md b/docs/plan-prep.md index 2f77682..69f9db4 100644 --- a/docs/plan-prep.md +++ b/docs/plan-prep.md @@ -63,6 +63,8 @@ Terms apply only to boards of 300 roles or more that are not tagged All roles. T | P Prep stage | Opus | `app/prep/` stage, host-word columns and the `unmapped` table (migration 22), `upsert_role` storing raw values, gazetteer and alias resolution moved into prep, the cascade, `app prep` CLI, the Sources page list of unmapped words | `app/prep/*` except the table sections, `app/storage/*`, `app/jobs/cascade.py`, `app/jobs/stages.py`, `app/cli.py`, `app/static/sources.js`, their tests | K merged; R1 and R2 merge with it | | F2 Terms and towns | Opus | `fetch_terms` on agents (model, API, agent editor), terms and towns in the reach, runner series for `query` and `place`, reader filters per the survey | `app/jobs/reach.py`, `plugins/readers/_runner.py`, `_contract.py`, the filtering readers, `app/static/agents.js` | S, and R1/R2/P merged | +The survey (`docs/plan-prep-survey.md`) narrowed F2: the narrow reach already leaves at most 149 roles on any big board, and keywords match the whole text, so terms go only to reads with the wide reach (All roles, or a one-country host over `MAX_SERIES`). `query` is built in this order: SmartRecruiters, SuccessFactors, then Workday, Phenom, Eightfold and Oracle. Category and level filters wait until something maps agent terms to host ids. Towns stay fetched as their country. A term-filtered read never sets `ats:size` and never closes roles as gone. + Order: S, and K finishing. Then R1, R2 and P in parallel, merged together, because the raw keys and prep have to land at once. Then F2. ## Decisions taken by the owner, 2026-09-30