Fix install wizard -- WhatsApp channel QR code rendering#767
Conversation
Render gateway console QR output as a fixed-width block, wrap long wizard links, and refresh chat sessions when channel events arrive before sessions.list catches up. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Codex review: needs maintainer review before merge. Reviewed June 22, 2026, 1:32 PM ET / 17:32 UTC. Summary Reproducibility: yes. source inspection gives a high-confidence path: current main wraps console output line-by-line and only emits chat messages from the existing Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the focused QR rendering and message parsing fix after maintainer confirmation that Do we have a high-confidence way to reproduce the issue? Yes, source inspection gives a high-confidence path: current main wraps console output line-by-line and only emits chat messages from the existing Is this the best way to solve the issue? Yes, the proposed path is narrow: keep Windows hosting gateway-provided wizard steps, render QR console output safely, and reuse the shared chat event parser. The only remaining check is maintainer confirmation of the AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f057db768192. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
|
…wizard # Conflicts: # src/OpenClaw.Tray.WinUI/Chat/OpenClawChatDataProvider.cs
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
Handle gateway session.message events with string content so live channel messages surface in the companion. Drop malformed message payloads safely and cover notification behavior. Remove the chat provider session refresh changes from this PR so the wizard QR fix does not carry the session-state risk surface. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Proof update for ClawSweeper:
Latest validation:
|
|
Redacted visual proof: WhatsApp QR output is rendered as a fixed-width block in the Windows install wizard. QR is intentionally covered because pairing QR codes are sensitive; unredacted QR was manually verified via WhatsApp Linked Devices before redaction. @clawsweeper re-review |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Video proof of message delivery in WhatsApp session: Screen.Recording.2026-06-22.130257.mp4 |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Summary
Validation
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --logger 'console;verbosity=minimal'.\build.ps1Notes
Proof
session.messagelive-message parsing and regression tests.Latest validation
./build.ps1— passeddotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore --logger 'console;verbosity=minimal'— passed: 2265 passed, 29 skippeddotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore --logger 'console;verbosity=minimal'— passed: 1079 passedProof note: the QR screenshot is redacted by design; QR pairing was verified locally before redaction.