Repository navigation
feat(interview-kit): profile-driven probes for RH rounds (phase 4) - #33
Merged
Merged
Conversation
… rounds probe_mode gains profile: its questions are built from the candidate's own path and what enrichment found — moves between roles, scope owned, gaps — and the prompt never sees the criteria or the score breakdown, which is what stops an RH round inheriting technical questions. Drafting one question by hand follows the same register on such a track. Told to ask only what the history supports, the model may return nothing; the kit is then ready with the template's curated questions rather than padded with filler. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
5 tasks done
wboudiche
added a commit
that referenced
this pull request
Sep 24, 2026
fix(interview-kit): close the RH drafting leak from the #33 review
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 4, the last of the "multiple kinds of interview kit" series. An RH round's generated questions now come from the candidate's own history instead of the technical scoring.
What changes
probe_modegainsprofile. A template set to it generates questions from the candidate's career history and enrichment summaries — moves between roles, the scope they owned, unexplained gaps, what was found about them online. Its prompt never receives the job's criteria or the score breakdown, which is what stopped an RH round inheriting technical questions.No migration:
probe_modeis already a string column read through a validated schema.wants_probesnow means "this mode needs a model", so phase 2's no-provider handling covers profile tracks unchanged — such a track fails on its own while the others generate.Test plan
uv run pytest -q: 845 passed (8 new)npx vitest --run: 310 passed (2 new)npm run lint(tsc) andnpm run buildcleanuv run ruff check src/ tests/: 474, unchangedNew tests:
probe_mode_ofacross all three modes and profile-still-wants-a-model; the profile prompt carries the history and enrichment; the profile prompt carries none of the scoring vocabulary; an empty response is allowed; an RH round generates from the path and not the score breakdown; a thin profile leaves the curated questions alone; drafting stays in register; the template editor savesprofileand the list names it.Worth knowing
A kit generated in this mode cannot be read by phase-3 code, so rolling back after using it would show those kits as failed — the same constraint the previous phase carried.
🤖 Generated with Claude Code