Repository navigation
feat(browser): keep selected logins synced - #4452
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
a2a5bc5 to
3885b85
Compare
Deploying openwork with
|
| Latest commit: |
7d073ba
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://870360d0.openwork.pages.dev |
| Branch Preview URL: | https://feature-browser-login-import.openwork.pages.dev |
7d073ba to
8ab6cd9
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (d156bc9e69033a91d4b738de6f11ca43995e6852). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Test evidence — selected-browser-logins-stay-synced-until-the-user-pauses-them — ✅ passedSHA d156bc9 · engine v1 ✅ passed · 0 expectations passed · 0 failed · 0 pending
[world] desktop(daytona) · workspace(/tmp/openwork-builtin-browser-1788680856383) · session("New task") · [seed:raw] evalIn() ×2 Test run created 2026-09-06T07:45:55.708Z · Source: |
Let users explicitly select one browser profile and sites whose HttpOnly login cookies OpenWork keeps synchronized into the shared built-in browser. Keep source reads one-way, native-confirmed, policy-gated, value-free outside the main process, and revocable from Settings.
Remove the undeployed Den policy dependency from this PR. Main-process installation state now enables personal Desktop sync, renderer code can only revoke access for managed contexts, and organization enablement remains a follow-up after a trusted policy channel exists.
d156bc9 to
0802e54
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (0802e543cf4cc7389f6024aad8f38115212d62f6). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Problem
Most browser work stops at a login wall. Signing in separately inside OpenWork also drifts as the source browser rotates or removes its session.
What changes
persist:openwork-browserpartition, so the login is available to visible and background conversations and Desktop Automations.@openwork/browser-loginsowns profile discovery, Chromium/Firefox readers, macOS Chromium decryption,tldtssite grouping, sensitivity defaults, and Electron cookie mapping.Managed Desktop boundary
Organization-managed and enterprise-required Desktop contexts are disabled in this PR. Main-process installation state enables personal Desktop sync; renderer code can only revoke access with
disableForManagedContextand cannot assert an allow decision. A trusted Den policy channel and deploy-before-consume rollout remain a follow-up.Safety boundary
Cookie values stay in the Electron main process: they are absent from persisted state, IPC responses, renderer state, and logs. Production accepts discovered source IDs rather than renderer paths. The eval-only source writer and value-free witness require an explicit isolated-Electron environment flag and temporary paths. Windows Chromium app-bound encryption and Safari Full Disk Access are not bypassed.
Proof
Overall verdict: Incomplete on
0802e543cf4cc7389f6024aad8f38115212d62f6.Rebased onto
devatf58b627c993b981fe16bfa2723665e57c2811844. Resolved the singlepnpm-lock.yamlconflict by retaining both upstream telemetry contracts and browser-login dependencies. No intended feature behavior changed.Current-head checks:
pnpm --filter @openwork/browser-logins test: 14 passed, 0 failed.node --test apps/desktop/electron/browser-login-sync.test.mjs: 9 passed, 0 failed, 0 skipped after installing Desktop dependencies (initial attempt could not resolve the workspace package).pnpm --filter @openwork/browser-logins typecheck: passed.git diff --check origin/dev...HEAD: passed. All nine rebased commits have verified signatures.pnpm evals:e2e browser-login-syncwas not run: new Daytona provisioning/spend is outside this conflict-resolution scope. Placement and test counts are unavailable. Current-head journey evidence remains missing; rerun and publish it before claiming Passed.Historical Proof (Previous Head Only)
The following Passed results and published evidence apply only to
d156bc9e69033a91d4b738de6f11ca43995e6852, not the rebased head.OPENWORK_EVAL_REF=d156bc9e69033a91d4b738de6f11ca43995e6852 pnpm evals:e2e browser-login-syncplacement: daytona (daytona CLI authenticated)d156bc9e6903@openwork/browser-logins: 14/14.Historical test evidence for the previous head is published on this PR; it does not validate the rebased head.
Deferred
Managed Desktop policy enablement and the browser URL allowlist tie-in are separate rollout-ordered work. Chromium Linux keyrings, Safari, Windows Chromium app-bound encryption, and password-manager fill also remain separate outcomes.