Skip to content

feat(tracking): track Applications through Stages with next steps - #18

Merged
codeotter0201 merged 1 commit into
mainfrom
feat/issue-6-application-tracking
Nov 8, 2026
Merged

codeotter0201 merged 1 commit into
mainfrom
feat/issue-6-application-tracking

Conversation

@codeotter0201

Copy link
Copy Markdown
Owner

Summary

Implements Application tracking from #6: every Application keeps its Role, Stage, dated timeline, and a next step with a due date, with views of overdue follow-ups and progress.

  • skills/headhunter/scripts/hh.py: application new, move, update, show, list, overdue, progress, sync; evaluation save starts the Application or moves it from found to evaluated; status.yml checks in validate; Applications in candidate show and the Index (applications, application_timeline)
  • skills/headhunter/SKILL.md: the status.yml format and the Track Applications workflow, which replaces the short Application stages section
  • CONTEXT.md: what an Application records and when it starts
  • README.md / README.zh-TW.md: the Application tracking feature

Related Issues

Closes #6

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Data layout change (existing data folders need migration)
  • Documentation update
  • Refactoring (no functional changes)

Decisions

Item Decision Rejected alternatives
When an Application starts application new at found, or evaluation save at evaluated; an Evaluation moves a found Application to evaluated Only at the first Evaluation: found would never be used
Next step after an Evaluation The script sets "Decide whether to apply", due in seven days, and prints it; the agent changes it with the user Making evaluation save require a next step: it would mix tracking into the Evaluation
Moving between Stages Forward only, and skipping ahead is allowed, for a Job the user already applied to; evaluated is reached only through evaluation save; a closed Application does not move Strict one-step order: could not record Applications already under way. Free moves: the timeline would stop meaning anything
Dates Today by default; --date for the past, never in the future or before the last Stage change; a due date cannot be before its Stage change Allowing future dates: a planned interview belongs in the next step and due date
Interview rounds Each round is a timeline entry, numbered automatically, or with --round when higher than the last One interview entry with a counter: rounds would lose their dates
Overdue Open Applications whose due date is before today Including today: a step due today is not late
Progress groups Candidate; Role per Candidate, since Role names are per Candidate; Job; company by the name in the Job snapshot Merging companies by similar names: guesses wrong
Where views read from The Index, with status.yml as the source; Job snapshot changes now mark the Index stale, since company and title come from them Reading every file for each view
Applications without a Role role: null, shown as "no Role" Requiring a Role: an Evaluation may have none

Migration

Applications evaluated before this change have evaluation.md and no status.yml. validate reports each one and points to application sync, which creates them at evaluated, dated by their Evaluation, including under archive/, with the default next step. Running it again changes nothing. The Index schema version changes, so an existing index.sqlite is rebuilt on next use. Tested on a copy of the #5 data folder: validate named 7 Applications, application sync created 7 files, a second run created none, and validate passed.

Validation

All runs used the fictional Candidates 王小明 c-001 and 林小華 c-002 and the real Yourator and Pinkoi careers-page Job snapshots from #12 and #4, in a scratch HEADHUNTER_DATA_DIR outside any repository, on Python 3.9 unless noted. I acted as the agent following SKILL.md. All dates were today's or set by hand, so timelines cover one day.

Applications in every Stage (10 across the two Candidates)

Stage Application
found c-002 × j-yourator-48767
evaluated c-001 × j-yourator-48495 (started at found; evaluation save moved it and set the default next step)
preparing c-002 × j-yourator-25039
applied c-002 × j-yourator-40514
interview c-001 × j-jobs-lever-co-91b1946a (round 2)
offer c-002 × j-yourator-39119 (skipped ahead from found)
closed c-001 × j-yourator-39119 hired, c-001 × j-yourator-48767 withdrawn, c-002 × j-yourator-48719 rejected, c-002 × j-jobs-lever-co-91b1946a declined
  • c-001 × j-yourator-39119 went through preparing, applied, interview rounds 1 and 2, offer and closed; application show lists all seven dated entries with notes, and the evaluation and resume files
  • A closed Application has an outcome and no next step or due date

Refused, nothing changed

  • Moving or updating a closed Application; moving backward (preparing to preparing, evaluated as a target)
  • Closing without --outcome, or with --next and --due; an open move without --next or --due
  • --outcome when not closing; --round when not interviewing; a round not higher than the last
  • A due date before the Stage change, an invalid date (2026-13-01), a future --date, a --date before the last Stage change
  • application new for an existing Application, a Job with no snapshot, an unknown Role, a dropped Role; application show for an Application that does not exist

Views

  • application overdue → 3 Applications across both Candidates, oldest first, with days overdue
  • application progress --by candidate, role, job, company → per-Stage counts, overdue counts, outcomes and a total; Pinkoi combines two Jobs, and two Candidates' Applications to one Job are counted per Job
  • application list with --company pinkoi --open, --role data --stage closed, --job; candidate show c-1 lists its Applications
  • query on application_timeline returns each interview round separately

With Evaluations

  • evaluation save --replace on a closed Application keeps it closed
  • In a copy, evaluating again with no Role sets role: null and keeps the Stage

Validation of hand-edited files (in a copy)

  • A stage that differs from the timeline, a leftover round, a closed Application with a next step, a missing status.yml, and an unknown stage → validate names each

Checks

Not run

  • Timelines spanning real days: each Stage change happened on the test day; the date rules were tested with past and future --date values
  • Loading the skill in a fresh session with claude --plugin-dir .
  • Windows

Checklist

  • No real candidate data in code, examples, fixtures, screenshots or this PR
  • skills/headhunter/SKILL.md, README.md and README.zh-TW.md updated when behavior or data layout changed
  • Migration for existing data folders described (data layout changes only)
  • Self-review completed
  • Documentation updated (if needed)

🤖 Generated with Claude Code

Give every Application a status.yml with its Role, Stage, dated timeline
and, while open, a next step with a due date. Add views of overdue
follow-ups across all Candidates and progress by Candidate, Role, Job
and company. A closed Application records its outcome.

- hh.py: application new/move/update/show/list/overdue/progress/sync;
  evaluation save starts the Application or moves it from found to
  evaluated; status.yml checks in validate; Applications in candidate
  show and the Index, which also goes stale when Job snapshots change
- SKILL.md: status.yml format and the Track Applications workflow
- CONTEXT.md: what an Application records and when it starts
- README.md / README.zh-TW.md: the Application tracking feature

Closes #6

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added area/agent-instructions AGENTS.md, CLAUDE.md, CONTEXT.md and skill instructions area/docs README and contributor documentation type/feature New functionality labels Nov 8, 2026
@codeotter0201
codeotter0201 merged commit 63d846c into main Nov 8, 2026
1 check passed
@codeotter0201
codeotter0201 deleted the feat/issue-6-application-tracking branch November 8, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/agent-instructions AGENTS.md, CLAUDE.md, CONTEXT.md and skill instructions area/docs README and contributor documentation type/feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Application tracking

1 participant