Skip to content

docs: clarify Control UI pairing in private browsing (issue #113000) - #114111

Merged
steipete merged 1 commit into
openclaw:mainfrom
qingminglong:issue-pr/113000-firefox-private-docs-3
Jul 31, 2026
Merged

steipete merged 1 commit into
openclaw:mainfrom
qingminglong:issue-pr/113000-firefox-private-docs-3

Conversation

@qingminglong

Copy link
Copy Markdown
Contributor

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:list
  • node scripts/check-docs-mdx.mjs docs/web/control-ui.md
  • git diff --check
  • trufflehog filesystem docs/web/control-ui.md --json --no-update --only-verified -> no verified or unverified secrets
  • autoreview attempted, but the bundled TruffleHog Git scan fails on this Windows checkout with a file-URI parsing bug before model review starts

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS labels Jul 26, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Jul 26, 2026
@clawsweeper

clawsweeper Bot commented Jul 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 31, 2026, 9:27 AM ET / 13:27 UTC.

ClawSweeper review

What this changes

The 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 readiness

⚠️ Ready for maintainer review - 1 item remains

Keep 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
Reviewed head: 9443a4c809ed7114054102ccadd2a8fe541964b9

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, accurate docs-only patch with no actionable correctness or security finding; ordinary maintainer review is the remaining step.
Proof confidence 🌊 off-meta tidepool Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Evidence reviewed 4 items Current Control UI guidance: Current main states that each browser profile has a unique device ID and that clearing browser data requires re-pairing, but it stops short of naming private profiles that discard site data on exit.
Supported cleanup command: The current Devices CLI reference documents openclaw devices remove &lt;deviceId> as the command that removes one paired-device entry, so the proposed recovery instruction is valid.
Focused PR behavior: The submitted head adds only the missing private-profile explanation and points users to the already documented device-removal command; it does not alter pairing, authentication, or device state.
Findings None None.
Security None None.

How this fits together

The 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]
Loading

Before merge

  • Complete next step (P2) - No repair lane is needed because the branch is already a bounded, correct documentation contribution awaiting ordinary maintainer review.
Agent review details

Security

None.

PR surface

Docs +1. Total +1 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 1 1 0 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 1 0 +1

Review metrics

None.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #113000
Summary: This PR is the explicit documentation-fix candidate for the linked Firefox private-browsing pairing report; the issue remains canonical until this PR merges.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best 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.

Labels

Label justifications:

  • P3: This is a narrow, low-risk documentation clarification for a recoverable pairing workflow and does not change runtime behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Real behavior proof is not required because this PR only changes files under docs/.

Evidence

What I checked:

  • Current Control UI guidance: Current main states that each browser profile has a unique device ID and that clearing browser data requires re-pairing, but it stops short of naming private profiles that discard site data on exit. Public docs: docs/web/control-ui.md. (docs/web/control-ui.md:78, aaab981ab097)
  • Supported cleanup command: The current Devices CLI reference documents openclaw devices remove <deviceId> as the command that removes one paired-device entry, so the proposed recovery instruction is valid. Public docs: docs/cli/devices.md. (docs/cli/devices.md:61, aaab981ab097)
  • Focused PR behavior: The submitted head adds only the missing private-profile explanation and points users to the already documented device-removal command; it does not alter pairing, authentication, or device state. Public docs: docs/web/control-ui.md. (docs/web/control-ui.md:79, 9443a4c809ed)
  • Prior review continuity: The prior ClawSweeper cycle found no actionable defect, and the current PR page still shows the same single documentation commit with successful docs and security checks; no prior finding remains to re-raise. Public docs: docs/web/control-ui.md. (docs/web/control-ui.md:79, 9443a4c809ed)

Likely related people:

  • Marcus67-dev: Reported the concrete Firefox “Never remember history” scenario and explicitly identified clear documentation of persistent-private-browsing re-pairing as an acceptable outcome; no stronger source-history owner was available from the read-only evidence. (role: current reproduction reporter; confidence: low; files: docs/web/control-ui.md)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-07-26T13:36:45.748Z sha 9443a4c :: needs maintainer review before merge. :: none

@steipete
steipete merged commit 3fc7fb2 into openclaw:main Jul 31, 2026
113 of 118 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Every browser restart creates a new browser identity and another trusted device entry.

2 participants