# AccessLens 4.0C — One-click assisted applications (local prototype)

## What's new
- **Application queue → Launch agent** opens the browser worker directly from AccessLens, without per-job Terminal commands.
- Loads candidate-approved profile from browser localStorage only when you launch.
- Optional PDF/DOCX upload (5 MB max), stored in a temporary local file and deleted after the browser session closes.
- Review panel reports filled fields, fields needing manual review, and upload status.
- Close agent browser button. **No automated submission, CAPTCHA/MFA bypass, or bulk applying.**
- Restricted to direct HTTPS Greenhouse/Lever job URLs. Other portals use manual handoff.

## Installation (Mac)
Unzip to `~/Desktop/accesslens-4c`. Stop any prior AccessLens server.

```bash
cd ~/Desktop/accesslens-4c
python3 -m pip install pypdf python-docx playwright
python3 -m playwright install chromium
python3 server.py
```

Visit `http://127.0.0.1:8780/jobs.html?v=4c`. Your prior localStorage profile and queue should remain available when using the same browser origin. Open Candidate profile to confirm your details, then Application queue. Choose a genuine Greenhouse/Lever employer listing, select an approved resume, click **Launch agent · fill & review**, inspect the employer form in the browser, and manually submit if appropriate. After receiving employer confirmation, set queue status to **Submitted (candidate confirmed)**.

## Constraints
- Experimental selectors recognize a subset of ATS fields; many custom questions and multi-step pages still need manual completion.
- Browser worker is a separate Chromium session and may not inherit your Chrome login.
- Only one active worker per local server; launch is initiated by an explicit candidate click.
- Candidate profile is held in localStorage; sending it to the local server for the session is not encrypted at rest or production-ready. Do not use this on a publicly exposed server.
- Candidate should confirm URL, resume, and all fields. Never mark a job submitted unless the employer confirmed submission.
- This prototype does not persist application queue to the server, sync across devices, or automatically submit.
