Repository navigation
feat(feedback): log Feedback, find patterns and calibrate ratings - #19
Merged
Merged
Conversation
Keep every piece of Feedback with its cause and a Fix direction. Causes that recur across a Candidate's Applications become proposals for the Strategy, Role profiles and resumes. What Feedback says about a company builds up into Company notes across Candidates. Closed outcomes are compared with Success ratings to show where the rubric over- or under-estimates; rubric changes stay proposals. - hh.py: feedback add/update/list/patterns/companies/calibrate; a Fix direction with material needs an imported Source to be done; Feedback checks in validate; open Fix directions in candidate show; Feedback in the Index - SKILL.md: feedback.md and Company notes formats, the Log Feedback workflow, and a rule that Feedback proposes and the user decides - CONTEXT.md: the causes, and Fix directions that produce material - README.md / README.zh-TW.md: the Feedback loop feature Closes #7 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Implements the Feedback log and Fix directions from #7: every piece of Feedback keeps its cause and a Fix direction, recurring causes become proposals, what Feedback says about a company becomes Company notes across Candidates, and closed outcomes are compared with Success ratings.
skills/headhunter/scripts/hh.py:feedback add,update,list,patterns,companies,calibrate; Feedback checks invalidate; open Fix directions incandidate show; Feedback in the Index (feedback,feedback_tags)skills/headhunter/SKILL.md: thefeedback.mdand Company notes formats, the Log Feedback workflow, and a rule that Feedback proposes and the user decidesCONTEXT.md: the fixed set of causes; a Fix direction that produces material ends with importing it as a SourceREADME.md/README.zh-TW.md: the Feedback loop featureRelated Issues
Closes #7
Type of Change
Decisions
from:hr,interviewer,candidate,usersource: Source is a domain term for a raw input, and entries also cite Sources.headhunteras a value:CONTEXT.mdsays the user, which also covers individuals and coachesfeedback.md: a YAML block the script checks and indexes, then a readable body, as withevaluation.mdfb-001within the Applicationtagsfrom the Taxonomy, so "system design called weak in three interviews" is detectablematerialcannot bedonewithoutsourcesnaming an existing Source received on or after the Feedback's date; new Facts then mark Role profiles stale through the existing checkcompany_note, a sentence in general terms; each line carries Candidate and Job ids and no names; the script keeps a## Feedbacksection and leaves the rest of the file aloneMigration
feedback.mdandcompanies/*.mdare new files, created by the firstfeedback add; no existing file changes. The Index schema version changes, so an existingindex.sqliteis rebuilt on next use.Validation
All runs used the fictional Candidates 王小明
c-001and 林小華c-002and the Applications from #6, in a scratchHEADHUNTER_DATA_DIRoutside any repository, on Python 3.9 unless noted. The Feedback is fictional and exists only in that scratch folder. I acted as the agent followingSKILL.md, and as the user for answers.Logging
feedback add→ all 12 problems listed, nothing written: unknown field, future date, badfrom, cause and state, empty content and fix, unknown Tag,sourceswithout material, a Source received before the Feedback, anddonewith material but no Sourcefeedback addon a Job with no Application → refusedhr,interviewer,candidateanduser, and the causesskill-gap,experience,communication,salary,culture-fitfeedback listwith no filter, and with--cause skill-gap --state open --company;candidate show c-2lists its open Fix directionsPatterns
skill-gapin 3 Applications, all withskill/system-design, under the Rolesenior-backend-engineer→ proposals forstrategy.md, that Role profile and resumes; with a resume on an open Application, that Application is namedexperiencein 2 Applications underdata-engineerfeedback addreports the recurring cause as soon as it recurssalaryon two Applications with no Role → "no Role has this cause in 2 or more Applications"Closing a Fix direction with material
{"state": "done"}on an entry withmaterial→import that as a Source and list it in sources; an unknown Source → refusedsource add c-2 -→s-006,fact add→f-014,role stale c-2→data-engineer: new f-014 matches its requirements;{"state": "done", "sources": ["s-006"]}→ done, andfeedback.mdshows the SourceCompany notes
companies/holds one file per company with acompany_note; the Pinkoi file combines entries from both Candidates, each with Candidate, Job and Feedback ids and no names## Interview tipssection survivesfeedback companiesCalibration
communication, which the rubric does not score;Only N outcomesappeared with 2 and 4 outcomesChecks
feedback.mdwith a bad cause, the wrong job and an unknown Source →validatenames eachindex.sqlite, ranindex(2 Candidates, 29 Facts, 3 Roles, 9 Evaluations, 11 Applications, 9 pieces of Feedback), repeated 8 commands →diffis emptyvalidate→ OK on Python 3.9 and 3.13; the data folders from [Feature] Candidate database: import, quality check, tags, CRUD and search #1, [Feature] Job reading: Listings and Job snapshots #12, [Feature] Role profiles: link a Candidate's Facts to each target Role #9 and [Feature] Application tracking #6 still validatefeedback.mdYAML blocks parse the same with PyYAML andhhyaml(dates compared as ISO strings); the YAML examples inSKILL.mdparse with bothclaude plugin validate .→ passed;claude plugin validate .claude-plugin/plugin.json→ passed with the expectedCLAUDE.mdwarningruff check --select E,F,W,B --line-length 130 skills/headhunter/scripts→ all checks passed;hh.pyparses on Python 3.9Not run
claude --plugin-dir .Checklist
skills/headhunter/SKILL.md,README.mdandREADME.zh-TW.mdupdated when behavior or data layout changed🤖 Generated with Claude Code