Plan prep: narrow the terms package to what the survey found

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-09-30 10:40:40 +02:00
1 parent ce3857c14d
commit 5fa05d5f73
1 file changed
+2
+2
View File
@@ -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