Repository navigation
docs: clarify Control UI pairing in private browsing (issue #113000) - #114111
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 31, 2026, 9:27 AM ET / 13:27 UTC. ClawSweeper reviewWhat this changesThe PR adds a Control UI documentation note explaining that private browser profiles which discard site data lose their paired device identity and can accumulate stale trusted-device entries. Merge readinessKeep this PR open for normal maintainer review. Current main documents that clearing browser data requires re-pairing, but it does not yet explain the Firefox permanent-private-browsing case or the supported stale-entry cleanup command; the one-line clarification is accurate and still necessary. Likely related person: Marcus67-dev, the reporter whose concrete Firefox scenario established the documentation need (low confidence as a code-owner signal). (raw.githubusercontent.com) Priority: P3 Review scores
Verification
How this fits togetherThe browser-based Control UI presents a browser-profile device identity when it connects to the Gateway. The Gateway uses that identity for pairing and retains approved devices until an operator removes them, so a profile that discards site data reconnects as a new device. flowchart LR
A[Browser profile] --> B[Stored device identity]
B --> C[Control UI WebSocket]
C --> D[Gateway pairing checks]
D --> E[Approved device record]
F[Private profile clears site data] --> G[New browser identity]
G --> D
E --> H[Remove stale device entry]
Before merge
Agent review detailsSecurityNone. PR surfaceDocs +1. Total +1 across 1 file. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Merge the focused clarification so the Control UI pairing documentation explains the observable private-profile behavior and gives operators the supported stale-device cleanup path. Do we have a high-confidence way to reproduce the issue? No live current-main Firefox reproduction was performed in this read-only review. The documented pairing contract directly supports the reported mechanism: clearing browser data makes the browser require re-pairing. (raw.githubusercontent.com) Is this the best way to solve the issue? Yes. The linked report explicitly allows a documentation outcome, and this small addition extends the adjacent pairing guidance without creating a new browser-storage policy or compatibility surface. (github.com) AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against aaab981ab097. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Merged via squash.
|
Closes #113000
What Problem This Solves
Fixes an issue where users browsing the Control UI in Firefox private modes or other profiles that clear site data on exit would lose their browser identity after every restart and accumulate new trusted device entries.
Why This Change Was Made
The Control UI docs now call out that persistent device pairing depends on a browser profile that keeps site data. The note points users to a persistent profile for stable pairing and to
openclaw devices remove <deviceId>when they need to clean up stale paired entries.User Impact
Users can tell why Firefox Never remember history behaves like a fresh browser on every launch, and they have a direct CLI path for removing old entries instead of guessing at the cause.
Evidence
pnpm docs:listnode scripts/check-docs-mdx.mjs docs/web/control-ui.mdgit diff --checktrufflehog filesystem docs/web/control-ui.md --json --no-update --only-verified-> no verified or unverified secrets