0017: Record each employer's size where the owner needs sponsorship¶
- Date: 2026-11-12
- Status: accepted
Problem¶
The owner needs a sponsored visa in Australia and believes small and medium employers on the official sponsor list (decision 0016) are more likely to sponsor than large ones. He wants those employers picked out first, kept in the database, and recorded as postings are harvested, before deciding whether size should move a score.
Kairos knows an employer only by the name a posting gives. Nothing it reads states headcount.
Options¶
- A size column on each job, set while scoring. Size belongs to the employer, not the posting: Xero's 27 postings would each be judged and could disagree, and every rescore would judge them again.
- One row per employer, judged once by the LLM. After each harvest, employers in the
regions in
[profile.fit] needs_sponsorship_inthat have no row yet are judged in batches from their name and a posting's opening text; the row is kept. - A business register lookup (ABN Lookup). It gives an entity's name and status, not its headcount.
Choice¶
Option 2.
- Table
employer_sizes(migration 026): owner, region, company exactly as postings write it,size, a one-linereason, model and time. One row per (owner, region, company). sizeislarge(200 or more staff in Australia or a well-known multinational),medium(20-199),small(under 20),recruiter(an agency or marketplace posting for a client, whose own size says nothing about the employer), orunknown. The bands are the ABS business-size bands.- The model judges from the name, its own knowledge and the posting's first 600
characters, at the scoring model and effort. A name it does not return stays unjudged and
is tried again next cycle. Each call goes in the usage log as
employer_sizing. - The harvest cycle sizes up to
[jobs] employer_size_batchnew employers (default 400, 0 turns it off) after harvesting and before scoring.kairos jobs size-employersdoes the same on demand. GET /jobsandGET /jobs/{id}returnemployer_size;GET /jobs?employer_size=small,mediumfilters by it.kairos jobs list --size small,mediumandkairos jobs viewshow it.
Not in scope¶
- Points for size. Once the owner has looked at the sized list, a later decision can add them in code, as 0015 and 0016 do.
- Re-judging an employer. Delete its row to have it judged again.