feat(rank): persist triage gaps and strengths into seen_jobs.json (#263)

/rank's Step 2 scoring agents already return strengths and gaps per job,
but Step 4 only persisted rank_score/rank_verdict/rank_date - both arrays
were printed once in Step 5 and then discarded. Store them verbatim in
seen_jobs.json (replaced, not accumulated, on --all re-ranks) so downstream
consumers can read real triage findings instead of re-deriving them.

Discussed in #258.
This commit is contained in:
NotAbdelrahmanelsayed
2026-07-31 17:41:41 +02:00
committed by GitHub
parent 2c41210019
commit 1cdaf9497f
4 changed files with 111 additions and 3 deletions
+10
View File
@@ -13,6 +13,16 @@ per-file diff commands.
## [Unreleased]
### Added
- **`/rank` now persists `strengths` and `gaps` into `seen_jobs.json`** - Step 2's scoring
agents already produced both arrays per job; Step 4 previously kept only `rank_score`,
`rank_verdict`, and `rank_date`, so the honest per-posting findings were printed once in
Step 5 and then discarded. Both arrays are now stored verbatim and replaced (never
accumulated) on `--all` re-ranks, so downstream consumers of `seen_jobs.json` can read
real triage findings instead of re-deriving them. See
[discussion #258](https://github.com/MadsLorentzen/ai-job-search/discussions/258).
### Security & privacy
- **The gitignore guard now covers two more personal-data rules** - `security_guards.py`