Repository navigation
feat(resume)!: tie the Master resume to Strategy rules and follow-up questions - #27
Merged
Merged
Conversation
…questions The Master resume follows the information homes in #26: the Strategy decides order, emphasis and what to leave out, and follow-up questions live only in Import reports. - `left_out` is a list of Fact ids. `master save` refuses a Fact that no line of strategy.md outside its Roles section names. The Left out appendix points to those strategy.md lines instead of repeating a reason. - `gap` is the id of a follow-up question in the Candidate's Import reports. The marker shows it as 【待補:q-004】 / [To fill: q-004], the Gaps appendix lists the id without the question text, and `master save` and `validate` refuse a marker that names no known question. - `master plan` marks each Fact with the strategy.md lines that name it and lists the open follow-up questions. - Highlights are optional and appear only when the Strategy asks for them. Each achievement is one story about one event. The Master resume is written only through `master save`; a hand-written draft is replaced by writing it with `master save`, its rules moved into strategy.md and its open questions into Import reports. Breaking: the `gap: {zh, en}` and `left_out: [{facts, zh, en}]` input forms are gone. A Master resume written with them fails `validate`; write it again with `master save --replace` in the new form. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 12, 2026
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
Brings the Master resume in line with the updated #24, which follows the information homes in #26. The Strategy decides order, emphasis and what to leave out, and follow-up questions live only in Import reports. The Master resume refers to both by id and never copies them.
left_outis now a list of Fact ids.master saverefuses a Fact that no line ofstrategy.mdnames; lines inside the script-kept Roles section do not count. The Left out (未寫入) appendix points to thestrategy.mdlines that name each Fact, such asf-004: strategy.md line 7, instead of repeating a reason.gapis now the id of a follow-up question in the Candidate's Import reports. The marker shows it as【待補:q-004】/[To fill: q-004]. The Gaps (待補) appendix lists the id with the Facts'missingfields and does not repeat the question text. Bothmaster saveandvalidate(after hand edits) refuse a marker that names no known question.master planmarks each Fact with thestrategy.mdlines that name it, so the agent knows which Facts may be left out. It also lists the open follow-up questions that gaps can name.SKILL.md):master save, and the workflow says how to replace a hand-written draft.CONTEXT.md,README.mdandREADME.zh-TW.mddescribe the same behavior.Tailored resumes are unchanged. The
hh.pydiff touches onlymaster plan,master save,check_masterand the call tocheck_masterinvalidate.Related Issues
Fixes #24
Refs #26
Type of Change
Breaking: the
gap: {zh, en}andleft_out: [{facts, zh, en}]input forms are gone.Migration:
validatereports its free-text gap markers. Write it again withmaster save --replacein the new form:master save, move the draft's rules intostrategy.mdand its open questions into Import reports, and remove the draft only when the user agrees.Validation
All checks ran with a fictional Candidate (Alex Chen, c-001) in a scratch
HEADHUNTER_DATA_DIRoutside the repository. The setup:init,candidate new,source add,import-reportandfact addmissing: [result]strategy.mdwith a rule naming f-004, and a Roles section that names f-00327 of 27 checks passed:
master save c-001→3 Facts cited, 1 left out, 1 gaps.建立庫存同步服務。【待補:q-001】; en showsBuilt an inventory sync service. [To fill: q-001].- 範例科技 · 後端工程師:q-001(f-003 缺 result), without the question text.- f-004:strategy.md 第 7 行/- f-004: strategy.md line 7.validate c-001→OK.{zh, en}gapq-099left_outof a Fact named only in the Roles sectionleft_outin the{facts, zh, en}formleft_outof a cited Factmaster plan:(strategy.md line 7);【待補:q-099】or【待補:團隊人數】makesvalidatereport it; restoring the file givesOK.current;strategy.md changed.claude plugin validate .andclaude plugin validate .claude-plugin/plugin.json: passed, with two warnings that were already there before this change:CLAUDE.mdis not loaded as plugin context, whichCONTRIBUTING.mddocuments;python3 -m py_compile skills/headhunter/scripts/hh.py: OK.Not run:
main. The diff does not touchresume save,resume planorcheck_resume.claude --plugin-dir ..Checklist
skills/headhunter/SKILL.md,README.mdandREADME.zh-TW.mdupdated when behavior or data layout changed🤖 Generated with Claude Code