mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-09-17 00:26:26 +00:00
fix(jobdanmark-search): drop presentation-only keys from search output
coverImage, companyLogo, companyLogoSvgMarkup, overlayColor, and silhouetteLogo were ~40% of a live payload - image keys, focal points and overlay colours an agent can never act on, paid into context on every /scrape query. A live 30-result response drops from ~30k to ~20k chars. The #340 compatibility duplicates and slug (the detail command's input) are kept deliberately. Review finding F3 (2026-08-19), decision approved by Mads. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
48965960d3
commit
56f679e5c0
@@ -65,6 +65,12 @@ per-file diff commands.
|
||||
|
||||
### Changed
|
||||
|
||||
- **`jobdanmark-search` search output drops presentation-only keys** - `coverImage`,
|
||||
`companyLogo`, `companyLogoSvgMarkup`, `overlayColor`, and `silhouetteLogo` were ~40%
|
||||
of a live payload (a 30-result response shrinks from ~30k to ~20k chars), fed into
|
||||
agent context on every `/scrape` query, and unusable by an agent. The #340
|
||||
compatibility duplicates (`companyName`, `publishedDate`, `applicationDeadline`) and
|
||||
`slug` stay. Pinned in `tests/search-normalization.test.ts`.
|
||||
- **BREAKING (jobbank forks): `jobbank-search` search output emits `deadline` as
|
||||
`YYYY-MM-DD`** - the feed's `DD.MM.YYYY` parenthetical was passed through raw,
|
||||
contradicting the `/scrape` contract, the other portals, and the same CLI's own
|
||||
|
||||
Reference in New Issue
Block a user