Skip to content

The job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.

fix(privacy): ignore scraper state and interview records at any depth (#208)

LeoWinston-9596808be3daad72
diff --git a/.gitignore b/.gitignore
index 6452b3d5..822de2ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,9 +20,12 @@ venv/
# Personal data (never commit these)
salary_data.json
-job_scraper/seen_jobs.json
-job_scraper/notion_sync.json
-job_scraper/*.md
+# Match at any depth: the job-scraper skill resolves `job_scraper/` relative to
+# its own directory, so these land at .claude/skills/job-scraper/job_scraper/*.
+# A rooted `job_scraper/...` pattern silently fails to match them.
+**/job_scraper/seen_jobs.json
+**/job_scraper/notion_sync.json
+**/job_scraper/*.md
*_BehavioralReport.pdf
linkedin_Profile.pdf
@@ -61,6 +64,9 @@ documents/diplomas/**
documents/references/**
documents/applications/**
documents/postings/**
+# Interview prep and experience records: these name the employers applied to,
+# quote what was submitted, and set out the candidate's weak points.
+documents/interview/**
!documents/**/.gitkeep
# Personal job search tracking
diff --git a/tools/security_guards.py b/tools/security_guards.py
index e9102f6d..61a821cb 100644
--- a/tools/security_guards.py
+++ b/tools/security_guards.py
@@ -44,7 +44,10 @@ ALLOWED_PERMISSIONS = {
# Personal-data ignore rules that must never disappear from .gitignore.
REQUIRED_IGNORE_RULES = [
"salary_data.json",
- "job_scraper/seen_jobs.json",
+ # Depth-independent: the job-scraper skill resolves `job_scraper/` relative
+ # to its own directory, so the state file lands under .claude/skills/... and
+ # a repo-rooted rule silently fails to match it.
+ "**/job_scraper/seen_jobs.json",
"cv/main_*.tex",
"!cv/main_example.tex",
"cover_letters/cover_*.tex",
@@ -53,6 +56,7 @@ REQUIRED_IGNORE_RULES = [
"documents/diplomas/**",
"documents/references/**",
"documents/applications/**",
+ "documents/interview/**",
"job_search_tracker.csv",
]