Skip to content

Feature/auth portal support#2

Merged
DSnoNintendo merged 16 commits intomainfrom
feature/auth-portal-support
Apr 15, 2026
Merged

Feature/auth portal support#2
DSnoNintendo merged 16 commits intomainfrom
feature/auth-portal-support

Conversation

@DSnoNintendo
Copy link
Copy Markdown
Owner

No description provided.

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
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

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.

@DSnoNintendo DSnoNintendo merged commit e8252a3 into main Apr 15, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant