-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: openclaw doctor misses Windows cloud-synced state dirs #98470
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Type
Fields
Priority
None yet
Problem
openclaw doctorwarns about macOS cloud-synced state directories, but native Windows state under OneDrive or similar cloud-synced folders is not detected.On Windows, managed startup persists and reuses
OPENCLAW_STATE_DIRfor the generated gateway startup scripts plus sessions, credentials, config, and SQLite state. If the state dir is under OneDrive / Dropbox / Google Drive / iCloud Drive, Files On-Demand hydration, sync locks, or delayed writes can make startup readiness flaky or block session/state writes.Repro
OPENCLAW_STATE_DIRto a cloud-synced location, e.g.C:\Users\alice\OneDrive\OpenClaw\.openclaworC:\Users\alice\OneDrive - Contoso\OpenClaw\.openclaw.openclaw doctor.Expected
Doctor warns that the state directory is under Windows cloud-synced storage and recommends a local non-synced path such as
%USERPROFILE%\.openclaw.Actual
No cloud-synced state-dir warning is emitted on Windows.
Impact
This misses a common Windows startup failure class where terminal setup may work initially, but GUI/login startup later sees slow, locked, or dehydrated Gateway state.