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
73e73b7 to
a19ee57
Compare
There was a problem hiding this comment.
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
There was a problem hiding this comment.
All reported issues were addressed across 3 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.
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
306f350 to
caa60cf
Compare
What changed and why
Adds a Workable portal:
searchlists one company's Workable board anddetailreads a posting's full text from its URL. Workable boards are per company, like
Greenhouse and Ashby, so every call names an account slug. The CLI folds the
public board response into one posting per shortcode, filters client-side, and
follows the same contract and output shapes as the existing ATS portals.
Includes
SKILL.md,url-reference.md, offline fixtures and tests, and a.github/CODEOWNERSline.searchcalls Workable's documented public jobs endpoint(
www.workable.com/api/accounts/<slug>, which redirects to the widget endpoint).detailcalls the board's account job endpoint, which returns every locationplus separate requirements and benefits.
Search also supports
--remote remote|hybrid|onsite.remotefalls back toWorkable's
telecommutingboolean;hybridandonsitewarn on stderr when aboard sends no
workplace_type, instead of silently returning nothing.Portal
apply.workable.com/<slug>)portals/global/workable-search/The five checks
search --format json|table|plainanddetail --format json|plain(notable, optional in the contract). Errors are JSON on stderr with exit 1; 429/5xx back off, honoringRetry-Afteras seconds or an HTTP-date (including0); zero runtime dependencies; 73 offline tests; aQuery syntax:line sits under the search command. One deviation declared below: the board has no server-side search or pagination.trustedDependencies, nobunfig.tomlor.npmrc. The CLI reads no environment variables or files. It makes requests only towww.workable.com(/api/accounts/<slug>, the documented endpoint) andapply.workable.com(the redirect target and the account job endpoint). Pastedwww/tenant/j/URLs are parsed into a validated slug and shortcode, never fetched.enabled: true.searchuses Workable's documented public jobs endpoint;detailuses the board's public account job endpoint. A personal-use note covers volume, and the skill says to fall back to WebSearch if Workable blocks access. The documented public single-job endpoint is not used because it returns only the primary location and one combined description.apply.workable.com/robots.txtallows/;www.workable.comallows/api/and disallows/j/. The CLI calls/api/and never fetches a/j/link. Both are documented inSKILL.mdandurl-reference.md. No workaround is used for a blocked path.Ownership
/portals/global/workable-search/ @lucacomeis in.github/CODEOWNERS, andworkable-searchis unique across the repo.Deviations from the contract
detailsetscompanyto the board slug because Workable's account job endpoint returns no account display name.searchuses the display name from the public board response.--query,--location,--remote,--jobage,--pageand--limitrun client-side.--remote hybridand--remote onsiteneedworkplace_type; on a board that sends none, the CLI writes aWORKPLACE_TYPE_UNAVAILABLEwarning to stderr and exits0.--remote remotestill usestelecommuting.detailexposes Workable'sdepartment[]as both a joineddepartmentstring and the rawdepartments[]array;requisitionIdis Workable's internalcode.detailsupports--format json|plainonly;tableis optional in the contract.searchcalls the documented URL, which 302s to the widget endpoint, so each search is two HTTP requests (302 + 200). Calling the redirect target directly would save one hop but lose the documented contract.www.workable.com/api/jobs/<shortcode>?details=true) resolves a posting without a slug, but returns one primary location and a combined description, sodetailuses the account endpoint instead.Verification
Run in
portals/global/workable-search/cli/:bun install(lockfile not committed, as other portals do)bun run typecheck— cleanbun test— 73 pass, 0 fail; network-free, fixtures onlypython tools/security_guards.py— OKpython -m unittest discover -s tests— 30 passManual smoke checks against board
digitalgenius(not part of CI): search through the documented URL and its 302, detail by URL,www.workable.com/j/<id>share link, and/api/v2/...detail URL all returned the expected posting.--remote remotereturned the two remote postings;--remote hybridemitted theWORKPLACE_TYPE_UNAVAILABLEwarning.Summary by cubic
Adds a
workable-searchportal that reads company job boards hosted on Workable through its public endpoints:searchlists one company's board anddetailreads a posting's full text from its URL. Workable boards are per company, so every call names an account slug, and the CLI follows the same contract and output shapes as the existing ATS portals.Contract deviations
--query,--location,--jobage,--page, and--limitfilter client-side. The new--remote remote|hybrid|onsiteflag does too.detailsetscompanyto the board slug because the account job endpoint returns no display name.detailsupportsjson|plainonly.workplace_typecannot filterhybrid/onsite; the CLI warns withWORKPLACE_TYPE_UNAVAILABLEinstead of returning an empty result.Portal contents
SKILL.md,url-reference.md, and a zero-runtime-dependencycli/with offline fixtures and tests.www.workable.com/j/share links are parsed but never fetched (robots.txt disallows that path)..github/CODEOWNERSentry for@lucacome.Written for commit caa60cf. Summary will update on new commits.