Repository navigation
Conversation
There was a problem hiding this comment.
All reported issues were addressed across 17 files
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 8 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
There was a problem hiding this comment.
1 issue found across 7 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/lever-search/url-reference.md">
<violation number="1" location="portals/global/lever-search/url-reference.md:43">
P3: This row omits the accepted values (`remote|hybrid|onsite`) and the fallback for postings with no workplace type, which matches `remote` only when the location says Remote. Add both so the reference matches `matchesWorkplace` and SKILL.md.</violation>
</file>
There was a problem hiding this comment.
1 issue found across 1 file (changes from recent commits).
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/lever-search/url-reference.md">
<violation number="1" location="portals/global/lever-search/url-reference.md:43">
P3: The new `--remote` cell is hard to parse: "no type matches `remote` only when the location says Remote" reads as if postings with no type never match. Say that postings with a missing or `unspecified` workplace type match `remote` only when their location contains "Remote", and that a known type never falls back.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
What changed and why
Adds
lever-search, a read-only portal for company job boards hosted on Lever. It uses Lever's public Postings API (api.lever.co/v0/postings,api.eu.lever.cofor EU boards) to list one company's open roles with client-side title, location and age filtering, or to fetch one posting's full text, pay range, department/team and apply URL. This fills the Lever gap alongside the existing Greenhouse and Ashby ATS portals.Portal
portals/global/lever-search/The five checks
searchsupports--format json|table|plain;detailsupports--format json|plain(the optionaltableformat is omitted). Errors are JSON on stderr with exit 1, 429/5xx are retried withRetry-After/exponential backoff, runtime dependencies are zero, and 75 offline tests cover parsing, paging, hidden-text removal, backoff and the CLI contract.SKILL.mdhas the requiredQuery syntax:line.trustedDependenciesor workspaces, nobunfig.tomlor.npmrc. Requests go only toapi.lever.coandapi.eu.lever.co;jobs.lever.coappears only as an output URL and is never fetched.cli/srcreads no environment variables and no files.enabled: true. The key-gated application POST endpoint is not used.api.lever.coandapi.eu.lever.coallow/withCrawl-delay: 1; the CLI pauses 1 s between paged requests, sends an honestlever-cli/1.0User-Agent, and never fetchesjobs.lever.coor/apply.SKILL.mdandurl-reference.mddocument this.applyUrlbut never fills in or submits an application.Ownership
/portals/global/lever-search/ @lucacomeis in.github/CODEOWNERS, andlever-searchis unique across the repo.Deviations from the contract
None.
detailomits the optionaltableformat; all other contract commands and flags are implemented.Verification
Run in
portals/global/lever-search/cli/:Also run from the repo root:
Live smoke tests against
leverdemo:search -b leverdemo -q "customer" --format table|plain|jsondetail https://jobs.lever.co/leverdemo/ad208490-4052-4f91-a57e-433f2d1e484b --format plain|jsonThe EU host is covered by offline fixtures; no live EU board was available for this PR.
Summary by cubic
Adds
lever-search, a new read-only portal for company job boards hosted on Lever, alongside the existing Greenhouse and Ashby ATS portals. It reads Lever's public Postings API with no API key and zero runtime dependencies, so it ships enabled.Portal
searchlists one company's open roles with client-side title, location, age and workplace filters;detailreturns a posting's full text, pay range, department and apply URL.--remotematchesremote,hybridandonsite(accepting bothonsiteandon-sitespellings); a posting with no workplace type matchesremoteonly when its location says Remote.api.eu.lever.co); posting URLs likejobs.lever.co/...are parsed, never fetched.Compliance
Retry-After(delta-seconds or HTTP-date) with exponential fallback to match the API'srobots.txt.<script>,<style>,display:none) is stripped from descriptions, and the CLI only reads postings — it never submits an application.Written for commit d9f6281. Summary will update on new commits.