docs: add hypervisorlaunchtype toggle recovery to WSL2+Windows remote CDP guide#53950
docs: add hypervisorlaunchtype toggle recovery to WSL2+Windows remote CDP guide#53950Owlock wants to merge 2 commits intoopenclaw:mainfrom
Conversation
Removed outdated summary, title, and sections from the troubleshooting guide. Updated structure for clarity and streamlined content.
Greptile SummaryThis PR intends to add a Key issues:
Confidence Score: 1/5
Prompt To Fix All With AIThis is a comment left during a code review.
Path: docs/tools/browser-wsl2-windows-remote-cdp-troubleshooting.md
Line: 3
Comment:
**Entire existing guide deleted, not appended to**
The PR description says it "adds a troubleshooting section," but the diff shows that the complete original 211-line document was deleted and replaced with only the 40-line `hypervisorlaunchtype` recovery snippet. This loses all of the following content that existed before this change:
- The YAML frontmatter (`title`, `summary`, `read_when`) required by Mintlify for navigation and page metadata
- The H1 page title (`# WSL2 + Windows + remote Chrome CDP troubleshooting`)
- "Choose the right browser mode first" (Options 1 & 2)
- "Working architecture" reference shape
- "Why this setup is confusing" overview
- "Critical rule for the Control UI"
- All five validation layers (Chrome serves CDP → WSL2 reachability → browser profile config → Control UI layer → end-to-end test)
- "Common misleading errors" quick-reference table
- "Fast triage checklist"
- "Practical takeaway"
The intended change — adding a `hypervisorlaunchtype` recovery section — should be appended to the existing guide, not used to replace it. Please restore the original content and add the new section underneath it (e.g. as a new `## Troubleshooting specific scenarios` or directly appended before "Practical takeaway").
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: docs/tools/browser-wsl2-windows-remote-cdp-troubleshooting.md
Line: 1-3
Comment:
**Missing Mintlify frontmatter and H1 title**
The original file opened with a YAML frontmatter block and an H1 heading, both of which are required for this Mintlify-hosted docs site:
```yaml
---
summary: "Troubleshoot WSL2 Gateway + Windows Chrome remote CDP in layers"
read_when:
- Running OpenClaw Gateway in WSL2 while Chrome lives on Windows
- Seeing overlapping browser/control-ui errors across WSL2 and Windows
- Deciding between host-local Chrome MCP and raw remote CDP in split-host setups
title: "WSL2 + Windows + remote Chrome CDP troubleshooting"
---
# WSL2 + Windows + remote Chrome CDP troubleshooting
```
Without the frontmatter the page will lose its nav title, `summary`, and `read_when` fields. Without the H1 the document also starts with a `##` heading, which renders incorrectly as a sub-section with no visible page title. Both should be restored.
How can I resolve this? If you propose a fix, please make it concise.Reviews (1): Last reviewed commit: "Refactor WSL2 + Windows remote CDP troub..." | Re-trigger Greptile |
| # WSL2 + Windows + remote Chrome CDP troubleshooting | ||
|
|
||
| This guide covers the common split-host setup where: | ||
| ## Recovery after toggling `hypervisorlaunchtype` (Windows gaming mode) |
There was a problem hiding this comment.
Entire existing guide deleted, not appended to
The PR description says it "adds a troubleshooting section," but the diff shows that the complete original 211-line document was deleted and replaced with only the 40-line hypervisorlaunchtype recovery snippet. This loses all of the following content that existed before this change:
- The YAML frontmatter (
title,summary,read_when) required by Mintlify for navigation and page metadata - The H1 page title (
# WSL2 + Windows + remote Chrome CDP troubleshooting) - "Choose the right browser mode first" (Options 1 & 2)
- "Working architecture" reference shape
- "Why this setup is confusing" overview
- "Critical rule for the Control UI"
- All five validation layers (Chrome serves CDP → WSL2 reachability → browser profile config → Control UI layer → end-to-end test)
- "Common misleading errors" quick-reference table
- "Fast triage checklist"
- "Practical takeaway"
The intended change — adding a hypervisorlaunchtype recovery section — should be appended to the existing guide, not used to replace it. Please restore the original content and add the new section underneath it (e.g. as a new ## Troubleshooting specific scenarios or directly appended before "Practical takeaway").
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/tools/browser-wsl2-windows-remote-cdp-troubleshooting.md
Line: 3
Comment:
**Entire existing guide deleted, not appended to**
The PR description says it "adds a troubleshooting section," but the diff shows that the complete original 211-line document was deleted and replaced with only the 40-line `hypervisorlaunchtype` recovery snippet. This loses all of the following content that existed before this change:
- The YAML frontmatter (`title`, `summary`, `read_when`) required by Mintlify for navigation and page metadata
- The H1 page title (`# WSL2 + Windows + remote Chrome CDP troubleshooting`)
- "Choose the right browser mode first" (Options 1 & 2)
- "Working architecture" reference shape
- "Why this setup is confusing" overview
- "Critical rule for the Control UI"
- All five validation layers (Chrome serves CDP → WSL2 reachability → browser profile config → Control UI layer → end-to-end test)
- "Common misleading errors" quick-reference table
- "Fast triage checklist"
- "Practical takeaway"
The intended change — adding a `hypervisorlaunchtype` recovery section — should be appended to the existing guide, not used to replace it. Please restore the original content and add the new section underneath it (e.g. as a new `## Troubleshooting specific scenarios` or directly appended before "Practical takeaway").
How can I resolve this? If you propose a fix, please make it concise.There was a problem hiding this comment.
Update: I pushed a follow-up commit that addresses the bot review concerns on this PR.
What was fixed:
- Restored the full existing guide content (no full-file replacement).
- Kept Mintlify frontmatter + top-level title structure.
- Appended the new hypervisor-toggle recovery section instead of overwriting the page.
- Added shell-specific notes for PowerShell vs WSL (
curl.exealias caveat, Admin requirement fornetsh, dynamic WSL host IP handling).
The new section is focused on the real-world hypervisorlaunchtype off/auto reboot failure mode and includes a strict validation sequence for both Windows and WSL2.
There was a problem hiding this comment.
Addressed ✅
I pushed commit 7ee5e8a to this PR to resolve the review concerns:
- Restored full original guide content (no full-file replacement)
- Restored Mintlify frontmatter and H1
- Appended the hypervisor-toggle recovery section instead of overwriting
- Added shell-specific caveats (
curl.exein PowerShell, Admin requirement fornetsh, dynamic WSL host IP notes)
If helpful, please re-review against latest head commit.
|
|
||
| # WSL2 + Windows + remote Chrome CDP troubleshooting | ||
|
|
||
| This guide covers the common split-host setup where: | ||
| ## Recovery after toggling `hypervisorlaunchtype` (Windows gaming mode) |
There was a problem hiding this comment.
Missing Mintlify frontmatter and H1 title
The original file opened with a YAML frontmatter block and an H1 heading, both of which are required for this Mintlify-hosted docs site:
---
summary: "Troubleshoot WSL2 Gateway + Windows Chrome remote CDP in layers"
read_when:
- Running OpenClaw Gateway in WSL2 while Chrome lives on Windows
- Seeing overlapping browser/control-ui errors across WSL2 and Windows
- Deciding between host-local Chrome MCP and raw remote CDP in split-host setups
title: "WSL2 + Windows + remote Chrome CDP troubleshooting"
---
# WSL2 + Windows + remote Chrome CDP troubleshootingWithout the frontmatter the page will lose its nav title, summary, and read_when fields. Without the H1 the document also starts with a ## heading, which renders incorrectly as a sub-section with no visible page title. Both should be restored.
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/tools/browser-wsl2-windows-remote-cdp-troubleshooting.md
Line: 1-3
Comment:
**Missing Mintlify frontmatter and H1 title**
The original file opened with a YAML frontmatter block and an H1 heading, both of which are required for this Mintlify-hosted docs site:
```yaml
---
summary: "Troubleshoot WSL2 Gateway + Windows Chrome remote CDP in layers"
read_when:
- Running OpenClaw Gateway in WSL2 while Chrome lives on Windows
- Seeing overlapping browser/control-ui errors across WSL2 and Windows
- Deciding between host-local Chrome MCP and raw remote CDP in split-host setups
title: "WSL2 + Windows + remote Chrome CDP troubleshooting"
---
# WSL2 + Windows + remote Chrome CDP troubleshooting
```
Without the frontmatter the page will lose its nav title, `summary`, and `read_when` fields. Without the H1 the document also starts with a `##` heading, which renders incorrectly as a sub-section with no visible page title. Both should be restored.
How can I resolve this? If you propose a fix, please make it concise.There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 62ebef96d0
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
|
||
| # WSL2 + Windows + remote Chrome CDP troubleshooting | ||
|
|
||
| This guide covers the common split-host setup where: | ||
| ## Recovery after toggling `hypervisorlaunchtype` (Windows gaming mode) |
There was a problem hiding this comment.
Re-add front matter to WSL2 CDP troubleshooting page
This file now starts directly with a section header, so it no longer provides the summary/read_when metadata expected by the docs tooling; for example, scripts/docs-list.js reports this page as [missing front matter] instead of indexing it normally. That regression makes the page harder to discover and weakens downstream doc maintenance flows that rely on front matter fields.
Useful? React with 👍 / 👎.
Expanded troubleshooting guide for WSL2 and Windows remote Chrome CDP, detailing architecture, validation layers, common errors, and recovery steps.
Summary
bcdedit /set hypervisorlaunchtype off->auto) and rebooting.iphlpsvc,portproxyrecreation, firewall rule, endpoint validation).Why
This pattern can make remote CDP appear broken even when Chrome itself is healthy, and it maps directly to layered diagnostics work already discussed in #41553.
Scope
Relates to #41553