Skill-gap tracker: rules-based vs. LLM-based flagging
Context
The skill-gap tracker (charter: projects_automated/charters/jobsync/charter.md,
shipped as v1 scaffolding in commit 5f758f0) flags when a job's listed skills
look "stretched" relative to Arya's own self-rated bar for "actually
skillful." Relevant code/data:
prisma/schema.prisma—SkillAssessment(Arya's self-rating per skill tag, 1-5) andJobSkillFlag(per job-tag stretched/not-stretched + reason- method) models.
src/lib/skills/flagSkillGaps.ts— the flagging logic, run best-effort right after job creation.src/lib/skills/getStudyList.ts— surfaces flagged skills for jobs currently in "interview" status ("study before interview" list).documentation/skill-gap-tracker.md— design note.
What shipped in v1
Deliberately rules-based, no LLM call:
- A tag is flagged
stretched: trueif there's noSkillAssessmenton file for it at all, OR if Arya's self-ratedlevelis belowSKILL_GAP_STRETCH_THRESHOLD(currently 3 out of 5, inAPP_CONSTANTS). - It does not read the job description's language at all — it only compares the job's tags against Arya's self-rating. A posting that says "5 years required" and one that says "nice-to-have" are treated identically today.
Open question
Should this be upgraded to an LLM-based comparison of the job posting's actual language (how much it demands of a skill, seniority implied, whether it's framed as required vs. nice-to-have, etc.) against Arya's self-rating and/or resume content — or is the rules-based threshold good enough as-is, just needing more rules layered on top (e.g. distinguishing required vs. nice-to-have skills using existing tag/description data, or weighting by years of resume experience per skill)?
This was flagged during the v1 build as exactly the kind of open design decision that affects scope and shouldn't be guessed at, so it's being logged here for Arya to decide rather than implemented speculatively.
Not blocking
The v1 rules-based stub ships and works today regardless of the answer —
this issue is only about the v2 direction for flagSkillGaps.ts.
Filed to the wrong repo by mistake (tooling defaulted to upstream instead of the private fork this concerns). Closing — refiled on the correct repo.