Repository navigation
fix: preflight browser proxy readiness - #1157
clawsweeper wants to merge 2 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
$clawsweeper-checkin |
|
Codex review: needs real behavior proof before merge. Reviewed August 24, 2026, 9:50 PM ET / August 25, 2026, 01:50 UTC. ClawSweeper reviewWhat this changesAdds authenticated browser-control readiness preflight, guided blocked states, diagnostics, documentation, and focused tests before forwarding browser proxy actions. Merge readiness⛔ Blocked until real behavior proof is added - 4 items remain Keep open. The PR is a focused implementation candidate for the linked browser-proxy readiness problem, but external current-head Windows/MCP or gateway proof is still required before merge. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — execution before step 1 Assertions:
How this fits togetherBrowser proxy forwards MCP or Gateway requests from the Windows node to a local browser-control host. The new preflight checks the resolved local endpoint and authentication before the requested browser operation, then returns repair guidance when that prerequisite is unavailable. flowchart LR
A[MCP or Gateway browser request] --> B[Windows browser proxy]
B --> C[Resolve local control endpoint]
C --> D[Authenticated readiness preflight]
D -->|Ready| E[Forward requested browser action]
D -->|Blocked| F[Guided repair result]
F --> G[Command Center and documentation]
Before merge
Agent review detailsSecurityNone. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the bounded readiness contract, then attach redacted current-head Windows MCP proof for one ready request and one guided blocked state before merge. Do we have a high-confidence way to reproduce the issue? No. The branch has a loopback HTTP test, but no current-head Windows MCP or gateway-mediated reproduction has been attached. Is this the best way to solve the issue? Yes, conditionally. A narrow local endpoint preflight is an appropriate boundary for this failure mode, provided the supported Windows runtime paths confirm it. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ccd64bbb7d68. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
ClawSweeper feedback follow-up (current head
So the requested live MCP, gateway-mediated |
|
Closing this stale draft rather than landing 76-commit-behind browser-readiness code without current MCP, gateway, and UI proof. The underlying need remains preserved in #1154 and should be implemented as a fresh, narrowly validated change if still applicable. |
Fixes #1154
Summary
BrowserProxyReadinesscontract for endpoint, SSH-forward, host reachability, and authentication states.GET /preflight before the first requested browser action and cache only a ready result.Validation
git diff --check- passed before commit..agents/skills/autoreview/scripts/autoreview --mode local --stream-engine-output- final run clean with no actionable findings../build.ps1- not run: this Linux host has neither PowerShell nor the .NET SDK.5d0c0f76reached the focused browser tests and exposed two guidance-copy regressions: missing literalauthenticationwording and missinggateway port + 2provenance. Both are corrected on current headfe81645c; rerun is pending.Focused coverage was added for endpoint provenance, readiness classifications, HTTP 401/403 handling, authenticated preflight ordering/fallback, cached readiness, authorization timeout, action timeout, and the real loopback HTTP route.
Real behavior proof
Not verified / blocked on this publication host:
tools/listandtools/callbrowser.proxyThe available OpenClaw remote-node route had no registered handler, so no connected Windows host was available. CI and a Windows current-head proof pass are required before merge.
Review
Rubber-duck/autoreview drove fixes for action-timeout classification, preflight/authorization timeout classification, HTTP 403 denial, and invalid explicit endpoints under SSH. The final exact-diff review was clean.