mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-09-17 00:26:26 +00:00
fix(reset): include documents/postings/ in the documents scope
/reset's preview, delete block, and scope description all skipped documents/postings/ - the drop folder for hand-pasted posting text, documented in documents/README.md and protected as personal data by security_guards.py - and then asserted "The documents/ folder is now empty." The new test derives the folder list from the git tree, so any future drop folder fails it until /reset covers it. Review finding F26 (2026-08-19). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
1c19f6c45f
commit
2036b97040
@@ -20,7 +20,7 @@ If `$ARGUMENTS` is empty or does not contain a recognized scope keyword, ask:
|
||||
>
|
||||
> - **`profile`** — Clears candidate data from the skill files (profile, behavioral, STAR examples, profile statements). The framework structure and writing rules are preserved. Use this to re-run `/setup` from scratch.
|
||||
>
|
||||
> - **`documents`** — Deletes all files you've placed in the `documents/` folder (CV PDFs, LinkedIn export, diplomas, references, past applications). The folder structure and `README.md` are preserved.
|
||||
> - **`documents`** — Deletes all files you've placed in the `documents/` folder (CV PDFs, LinkedIn export, diplomas, references, pasted job postings, past applications). The folder structure and `README.md` are preserved.
|
||||
>
|
||||
> - **`all`** — Both of the above.
|
||||
>
|
||||
@@ -68,7 +68,7 @@ The following files are NOT touched (they contain framework rules, not candidate
|
||||
|
||||
### If scope includes `documents`:
|
||||
|
||||
Use Glob to list all files present in `documents/cv/`, `documents/linkedin/`, `documents/diplomas/`, `documents/references/`, and `documents/applications/`. Present as:
|
||||
Use Glob to list all files present in `documents/cv/`, `documents/linkedin/`, `documents/diplomas/`, `documents/references/`, `documents/postings/`, and `documents/applications/`. Present as:
|
||||
|
||||
```
|
||||
## Documents reset will delete:
|
||||
@@ -85,6 +85,9 @@ documents/diplomas/
|
||||
documents/references/
|
||||
- [filename] or "(empty)"
|
||||
|
||||
documents/postings/
|
||||
- [filename] or "(empty)"
|
||||
|
||||
documents/applications/
|
||||
- [subfolder/filename] or "(empty)"
|
||||
|
||||
@@ -193,6 +196,7 @@ rm -f documents/cv/*
|
||||
rm -f documents/linkedin/*
|
||||
rm -f documents/diplomas/*
|
||||
rm -f documents/references/*
|
||||
rm -f documents/postings/*
|
||||
rm -rf documents/applications/*/
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user