Repository navigation
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 1, 2026, 4:50 PM ET / 20:50 UTC. Summary PR surface: Source +43, Tests +66. Total +109 across 6 files. Reproducibility: no. high-confidence live sandbox reproduction was run here. The source path is clear: current main can downgrade 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 combined strict-loopback and status-diagnostic fix only after maintainers accept that Do we have a high-confidence way to reproduce the issue? No high-confidence live sandbox reproduction was run here. The source path is clear: current main can downgrade Is this the best way to solve the issue? Yes, with a maintainer caveat. The changed owner boundaries are appropriate for gateway bind resolution and daemon status diagnostics, but the stricter loopback failure mode needs explicit maintainer acceptance before merge. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against f8d5f162a129. Label changesLabel justifications:
Evidence reviewedPR surface: Source +43, Tests +66. Total +109 across 6 files. View PR surface stats
What 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
|
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@clawsweeper re-review PR body now includes current-head redacted host-side gateway status proof for 548d0d00de: strict loopback bindHost 127.0.0.1, RPC ok true over ws://127.0.0.1:, empty port hints, and custom launchd label proving it did not rely on the installed service. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@codex review Rebased onto current upstream main and force-with-lease pushed refreshed head . Verification after rebase:RUN v4.1.7 /Users/louisherman/Projects/openclaw-wt-gateway-sandbox Test Files 1 passed (1) RUN v4.1.7 /Users/louisherman/Projects/openclaw-wt-gateway-sandbox Test Files 1 passed (1) RUN v4.1.7 /Users/louisherman/Projects/openclaw-wt-gateway-sandbox Test Files 1 passed (1) |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Correction to the previous rebase note: shell backticks in the inline body were interpreted locally before posting. Actual refreshed head: 0fbb3bba0b.
|
|
Codex Review: Didn't find any major issues. 🚀 ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review Added the same test-only CI stabilizers already proven on #88911 after the rebase exposed shared upstream CI failures on this PR:
Refreshed head: 825bbf686a.
|
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex Review: Didn't find any major issues. Swish! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Status check:
I attempted to merge, but GitHub rejected it with: |
|
Superseded by consolidated fork-main PR #89224, which carries this branch payload on top of current upstream main. |
Summary
EPERMand HTTP000.openclaw/openclaw.Verification
node scripts/run-vitest.mjs src/cli/daemon-cli/status.gather.test.ts src/gateway/net.test.ts src/infra/ports-format.test.tsgit diff --checkReal Behavior Proof
Behavior addressed: Gateway status diagnostics now distinguish sandbox probe false negatives from real gateway failures; strict loopback uses
127.0.0.1; status output avoids same-PID false conflict hints.Real environment tested: local OpenClaw source checkout on macOS at PR head
548d0d00de6e5f0501224c42ded14710de0fe020. The proof started the branch's source gateway with a redacted temp OpenClaw home, custom launchd label, explicit token auth,--bind loopback, and a random loopback port. No.dev.vars, live credentials, or private config were read.Exact steps or command run after this patch: started
node --import tsx src/entry.ts gateway run --dev --auth token --token <token> --bind loopback --port <port> --allow-unconfigured --verbosewithOPENCLAW_HOME=<tmp>/home,OPENCLAW_STATE_DIR=<tmp>/home/.openclaw,OPENCLAW_CONFIG_DIR=<tmp>/home/.openclaw,OPENCLAW_DISABLE_BUNDLED_PLUGINS=1,OPENCLAW_TEST_MINIMAL_GATEWAY=1, andOPENCLAW_LAUNCHD_LABEL=ai.openclaw.proof.gateway; then rannode --import tsx src/entry.ts gateway status --url ws://127.0.0.1:<port> --token <token> --json --require-rpc --timeout 5000and summarized the redacted JSON/log output.Evidence after fix: copied terminal output from the current-head temp gateway proof:
Observed result after fix: the branch gateway bound to strict loopback (
127.0.0.1),gateway status --json --require-rpcreached the temp gateway successfully withrpc.ok=true, status reported no port conflict hints (hints: []) for the loopback listener case, and the custom launchd label prevented the proof from relying on the user's installed service.What was not tested: no real Codex Desktop sandbox was forced to emit loopback
EPERMduring this proof; the live host-side gateway/status path was exercised with redacted temp state, while focused tests cover the sandbox-false-negative diagnostic classification.