Login and Credential Bootstrap

Login and Credential Bootstrap A workflow diagram generated by Archify. 01 / CLI command 02 / Browser credentials 03 / Alternative sources 04 / Persistence Select source Acquire credentials Persist login · operator · CLI command › Select source login operator Resolve · _app plan · CLI command › Select source Resolve _app plan Launch · Chromium · Browser credentials › Acquire credentials Launch Chromium Browser Jar · Playwright · cookies · Browser credentials › Persist Browser Jar Playwright · cookies oauth · single use · Alternative sources › Select source oauth single use Mint · gpsoauth · Alternative sources › Acquire credentials Mint gpsoauth Commit · atomic · Persistence › Persist · lock held Commit atomic lock held installed browser sign-in wait master token durable Legend Agent logic Policy Context / trace Cloud service External system

Capture core

  • • _app/login_browser orders the flow; _browser/browser_capture persists
  • • login_cookie.py projects installed-browser cookies into the same profile store

Redaction

  • • Login-wait tracing keeps only scheme and host, never the path
  • • Stricter than extraction, because SSO paths can carry one-time assertions

Failure classification

  • • Launch failures map to actionable help or re-raise unchanged
  • • A landing URL redirected to login raises HeadlessLoginRequiredError