Merged
Conversation
Multi-portal job scanner using Playwright with persistent browser profiles. Portal-agnostic orchestrator delegates extraction, filtering, dedup, and pagination to per-portal scanner classes. - scan-auth.mjs: CLI, browser launch, login flow, JD file writing, output - scan-auth/linkedin.mjs: LinkedInScanner class handling selectors, config parsing, session checks, pagination, and card extraction - Portal specified via positional arg (e.g. node scan-auth.mjs linkedin) - Browser profiles per portal (~/.scan-auth/<portal>/profile/) - Results written to data/<portal>-scan-results.json
- modes/scan-auth.md: defines workflow for authenticated portal scanning including result processing, pipeline integration, and error handling - SKILL.md: register scan-auth in mode routing, discovery menu, context loading, and subagent delegation
- README: add to usage commands, features table, project structure, and tech stack - CLAUDE.md: add scan-auth.mjs to main files table - DATA_CONTRACT: add browser profile path to user layer, mode file and scanner classes to system layer
Add accepted URLs to the in-memory scanHistory set so the same posting appearing under multiple keyword searches is not extracted twice.
Short or already-expanded job descriptions lack the expandable control. Proceed with extraction instead of returning an empty object, so these listings are not silently skipped as errors.
Title, company, and URL values come from portal data and may contain quotes, colons, or line breaks that produce invalid YAML frontmatter. Escape these scalars before writing to jds/*.md.
The --search, --max, and --dry-run flags override portals.yml config and are meant for user debugging, not normal agent operation.
The --search, --max, and --dry-run flags override portals.yml config and are meant for user debugging, not normal agent operation.
Update scan-auth mode to instruct the agent to run each supported portal in sequence when invoked without a portal argument.
The --login flow opens an interactive browser requiring direct user interaction. Agents cannot handle this via stdin, so the mode doc now directs users to run login in a separate terminal window.
…lling 'node scan-auth.mjs --login <portal> directly'
… explicity used
this keeps agents from hanging when user calls scan-auth when there is no authenticated browser profile available
There was a problem hiding this comment.
Welcome to career-ops, @DSnoNintendo! Thanks for your first PR.
A few things to know:
- Tests will run automatically — check the status below
- Make sure you've linked a related issue (required for features)
- Read CONTRIBUTING.md if you haven't
We'll review your PR soon. Join our Discord if you have questions.
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.
No description provided.