chore: rename job-hunt to pupila across code, scripts, and env vars#40
Merged
Conversation
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
Full internal rename from
job-hunttopupila. The user-facing UI text was already migrated in earlier work; this PR removes every remaining reference in code, scripts, env vars, install tooling, and docs.package.jsonname fieldJOB_HUNT_*→PUPILA_*(8 vars). A startup detector (src/legacy-env.ts) catches any legacy var still in a user's shell and exits with an actionable errordev.$USER.pupila.{aggregate,review}launchd labels and# pupila:{aggregate,review}:cron tagsscripts/install-mcp.shwas hardcoded to clone the stale upstreamogarciarevett/job-huntrepo — now points at the correctFranRom/pupilascripts/uninstall-legacy-job-hunt.sh— one-shot, idempotent, anchored-pattern cleanup for users with the old launchd/cron entries installed.claude/skills/pupila-*/SKILL.mdheadersBreaking changes
Users will need to:
JOB_HUNT_*env vars in their shell config (~/.zshrc/~/.bashrc) toPUPILA_*. If they don't, the orchestrator now exits with a clear error pointing at the old name and its replacement.scripts/uninstall-legacy-job-hunt.shonce to remove their existingdev.$USER.job-hunt.{aggregate,review}launchd agents (macOS) or# job-hunt:{aggregate,review}:cron entries (Linux). Then re-runscripts/install-launchd.sh/scripts/install-cron.shto install the newpupila-tagged versions.Post-merge migration playbook
pupila. GitHub auto-redirects existinggit remoteURLs.git remote set-url origin https://github.com/FranRom/pupila.gitgit checkout main && git pull./scripts/uninstall-legacy-job-hunt.shJOB_HUNT_*→PUPILA_*in shell config;exec $SHELL -lmv ~/coding/personal/job-hunt ~/coding/personal/pupila && cd ~/coding/personal/pupila./scripts/install-launchd.sh(macOS) or./scripts/install-cron.sh(Linux)./scripts/install-mcp.shpnpm install && pnpm run dailypupilalabels at the new repo path.Test plan
pnpm run typecheck— zero errorspnpm run lint— only pre-existing CSS warningspnpm run lint:ui-patterns— zero violationspnpm test— 409 tests pass (was 406; +3 from new legacy-env detector test)pnpm run build— succeedspnpm run ui:build— succeeds, bundle within budgetpnpm run dev(withPUPILA_NO_BRIEF_CHECK=1) — orchestrator runs end-to-end, JOBS.md footer regenerates as[pupila]pnpm audit --prod— no advisoriesjob-hunt/JOB_HUNT_survivors remain (uninstall-legacy script + legacy-env detector files)