Skip to content

feat(global): add icims-search - #68

Open
lucacome wants to merge 1 commit into
ai-job-search-dev:mainfrom
lucacome:feat/icims
Open

lucacome wants to merge 1 commit into
ai-job-search-dev:mainfrom
lucacome:feat/icims

Conversation

@lucacome

@lucacome lucacome commented Nov 26, 2026 •

Copy link
Copy Markdown

What changed and why

Adds icims-search, a portal skill for employer career sites hosted on iCIMS
(<portal>.icims.com). iCIMS has no cross-company index, so every call names one
employer portal, the same shape as the greenhouse, lever and workday portals:
search reads one page of the portal's own search, and detail reads a posting's
schema.org JobPosting data with the page markup as fallback. Zero runtime
dependencies; the only other change is the portal's CODEOWNERS line.

Portal

The five checks

  • The contract. search --format json|table|plain, detail --format json|plain; JSON errors on stderr with exit 1; 429/5xx backoff with a 30 s retry budget; zero runtime dependencies ("dependencies": {}); 55 network-free tests.
  • A safety pass. No install/lifecycle scripts, no trustedDependencies, workspaces, bunfig.toml or .npmrc; no environment or file reads. The CLI requests only GET /jobs/search and GET /jobs/<id>/.../job on *.icims.com.
  • Honest scoping. No API key and nothing metered, so it ships enabled: true. No personal-use warning: the sampled portals' robots.txt allows both paths, and the SKILL keeps volume to one page per call ("never a crawl").
  • robots.txt and terms respected. The sampled rules are recorded in url-reference.md and summarised in SKILL.md: /jobs/search and posting pages are allowed; referral, login, candidate and /connect paths are off-limits and never requested.
  • Search only. The skill reads postings and never fills in or submits an application. A pasted ?mode=apply URL is normalised to the posting page; the apply flow is never fetched.

Ownership

  • The folder has a line in .github/CODEOWNERS (/portals/global/icims-search/ @lucacome), and icims-search is unique across the repo.

Deviations from the contract

  • Keyword search is server-side; location, workplace and age are not. --query goes to iCIMS's own searchKeyword (AND over words, double quotes for a phrase). --location, --remote and --jobage run client-side on the one page fetched: iCIMS's location filter needs internal option IDs and it has no workplace filter. --remote reads the card's telework/remote field or a Remote location, so a portal that prints neither cannot match it. There is no full-board fetch: the portal sets the page size (20 and 50 both sampled), and --page maps to the portal's own paging.
  • Recency is best-effort on undated portals. Many portals print no posted date on search cards; those results carry date: null and are kept by --jobage (dropping them would empty the whole portal). detail always returns the posting's datePosted when the portal publishes it.
  • A portal needs a *.icims.com host. Portals that front iCIMS through a custom domain without exposing the iCIMS hostname are not supported. detail takes either a posting URL or an ID with --portal, not both.
  • Dates are read US-style. A card date printed as M/D/YYYY with both numbers ≤ 12 is read as month/day, which is what every sampled portal used.
  • No application deadline. validThrough is a rolling +1 year on sampled portals, so it is not reported as a real closes_at.

Verification

In portals/global/icims-search/cli/:

bun install
bun run typecheck
bun test        # 71 pass, 0 fail; network blocked by tests/no-network.ts

Repo-level, from the root:

python3 tools/security_guards.py
python3 -m unittest discover -s tests

Manual live checks (not part of CI): careers-usu search and detail,
careers-primehealthcare paged phrase search and --jobage 14 on a portal with
no card dates, and careersat-ohsu search whose postings live on the sibling
externalcareers-ohsu host.


Summary by cubic

Adds icims-search, a portal skill for reading employer career sites hosted on iCIMS (<portal>.icims.com), with the same search/detail contract as the greenhouse, lever, and workday portals. iCIMS has no cross-company index and its official Job Portal/Search APIs require customer credentials, so every call reads one employer portal's public HTML: search reads one page of the portal's own search, detail reads a posting's schema.org JobPosting data with page markup as fallback. Zero runtime dependencies, shipped with enabled: true.

  • --query uses iCIMS's server-side keyword search; --location, --remote, and --jobage filter client-side on the fetched page because iCIMS's location filter needs internal option IDs and it has no workplace parameter.
  • --remote reads the card's telework/remote field or a Remote location, so a portal that prints neither cannot be matched. Workplace is also shown in the search table, plain output, and JSON, and invisible characters are stripped before matching so a zero-width character can't hide a visibly hybrid or remote posting.
  • Cards without a printed posted date carry date: null and are kept by --jobage instead of dropped.
  • Only *.icims.com hosts are fetched; redirects are followed by hand only when the target stays on an iCIMS /jobs path, with one retry budget shared across the chain, and a ?mode=apply URL is normalised to the posting page.
  • Adds the portal's CODEOWNERS line for @lucacome; offline tests included.

Written for commit a68f998. Summary will update on new commits.

View guided diff

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 16 files

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 5 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 2 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="portals/global/icims-search/url-reference.md">

<violation number="1" location="portals/global/icims-search/url-reference.md:98">
P3: This new section contradicts the file's opening `No official public API`: it documents an official Job Portal API that is merely authenticated. Qualify the API description as authenticated or change the opening to say there is no unauthenticated portal API.</violation>
</file>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 10 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant