Files
LWLT-AI/archive/handoff/2026-07-12/legacy-erp-handoff/skills/erp-session-runtime/references/session-recovery.md
2026-07-13 19:57:46 +08:00

715 B

Session Recovery Reference

Safe sequence

  1. Detect whether the target protected page is login-required, active, or an unknown shell.
  2. If login-required, preserve the same live browser context and wait for a human captcha/login completion.
  3. Re-check the protected target and main workspace with condition-based waits.
  4. Revalidate task lock, duplicate state, and submit evidence before continuing.
  5. Retry at most once after the exact automation window was intentionally closed and the session manager reports a recoverable condition.

Never do

Do not copy cookies, bypass captcha, kill all Chrome processes, delete SingletonLock, or treat a login page/HTTP response as business-operation evidence.