Repository navigation
Add blocked companies - #26
Closed
rahulrathore95 wants to merge 1 commit into
Closed
rahulrathore95 wants to merge 1 commit into
rahulrathore95 wants to merge 1 commit into
Conversation
Settings → Job search gets a "Blocked companies" list: a past or current employer, or one you never want to apply to again. Find jobs, the job agent and the Claude connector's search_jobs, save_job_scores, save_application and draft_application never show, score or draft a posting that names one of these as the company, or mentions it in the title or description, which also catches a staffing listing for a role placed there. Filtered centrally in askSource() (src/lib/job-search/find.ts) and the job agent's search step, with a defense-in-depth check in the connector tools for postings reached by posting_id/posting_url/ paste_id instead of a search, since a posting saved before it was blocked can still be reached that way. Case-insensitive matching, up to 50 companies; see src/lib/job-search/blocklist.ts. Verified: yarn typecheck, yarn lint and yarn test (full suite) all pass, 1691 tests, 0 failures. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Author
|
Closing this — I'm going to keep this work on my own fork instead of submitting it back upstream. Thanks for the earlier feedback on splitting it up. |
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
Split out of #22 per your request. One change: Settings → Job search gets a "Blocked companies" list — a past or current employer, or one you never want to apply to again. Find jobs, the job agent and the Claude connector's
search_jobs,save_job_scores,save_applicationanddraft_applicationnever show, score or draft a posting that names one of these as the company, or mentions it in the title or description, which also catches a staffing listing for a role placed there.Filtered centrally in
askSource()(src/lib/job-search/find.ts) and the job agent's search step, with a defense-in-depth check in the connector tools for postings reached byposting_id/posting_url/paste_idinstead of a search, since a posting saved before it was blocked can still be reached that way.Case-insensitive matching, up to 50 companies; see
src/lib/job-search/blocklist.ts.Test plan
yarn typecheck,yarn lint,yarn test(full suite): 1691 passed, 0 failures.blocklist.test.ts, the job agent's "never scores or drafts a posting from a blocked company" test, and the Settings UI's block/unblock test.🤖 Generated with Claude Code