Repository navigation
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 3, 2026, 5:39 PM ET / 21:39 UTC. Summary Reproducibility: yes. for the source-level failure mode: current main hardcodes Review metrics: 3 noteworthy metrics.
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 helper if maintainers accept the opt-in local OAuth auth-provider surface, keeping Do we have a high-confidence way to reproduce the issue? Yes for the source-level failure mode: current main hardcodes Is this the best way to solve the issue? Yes, assuming maintainers want the new env surface: the patch is narrow, allowlists AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 74f63a090af7. 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
|
22b13c5 to
dae6f09
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Adds a 'local-review' CLI command that reviews the current branch diff against a base branch using Codex, without requiring a GitHub PR. Includes all prerequisites for local runs: - CODEX_BIN env var support (Windows .cmd wrapper compatibility) - shell: true on win32 for all Codex spawn sites - CLAWSWEEPER_CODEX_LOGIN_METHOD for ChatGPT Pro OAuth login - Applied to all 4 Codex subprocess launchers Merge order: this PR subsumes openclaw#250 (Windows spawn) and openclaw#251 (OAuth login). If this lands first, close those as superseded. If either lands first, this PR needs a trivial rebase (identical changes).
Adds a 'local-review' CLI command that reviews the current branch diff against a base branch using Codex, without requiring a GitHub PR. Includes all prerequisites for local runs: - CODEX_BIN env var support (Windows .cmd wrapper compatibility) - shell: true on win32 for all Codex spawn sites - CLAWSWEEPER_CODEX_LOGIN_METHOD for ChatGPT Pro OAuth login - Applied to all 4 Codex subprocess launchers - Clears stale output before each review run Merge order: this PR subsumes openclaw#250 (Windows spawn) and openclaw#251 (OAuth login). If this lands first, close those as superseded. If either lands first, this PR needs a trivial rebase (identical changes).
|
Review note from local harness testing: This is a useful local-operator compatibility improvement. The default remains CLAWSWEEPER_CODEX_LOGIN_METHOD=chatgptI verified the intended auth flow locally using ChatGPT device auth plus this setting as part of the Merge guidance: best merged together with #250, or via #253, because local users may also need |
Co-authored-by: Cameron Beeley <[email protected]>
dae6f09 to
4a6a58d
Compare
Add a validated local OAuth login-method override across all Codex execution surfaces while preserving API authentication as the default and retaining the Windows-safe launcher. Co-authored-by: Cameron Beeley <[email protected]>
Summary
CLAWSWEEPER_CODEX_LOGIN_METHOD=api|chatgptfor local Codex authentication selectionapias the default for CI and productionRewrite notes
The original patch changed only two direct review call sites. This rewrite covers every synchronous and repair Codex surface, including app-server mode, while retaining current main's Windows process launcher and timeout fixes.
Contributor credit is preserved in commit
4a6a58d109:Co-authored-by: Cameron Beeley <[email protected]>Validation
pnpm run checkon rebased head: passedCLAWSWEEPER_CODEX_LOGIN_METHOD=chatgptBehavior
Default behavior is unchanged. Local OAuth users may set:
Invalid non-empty values stop before Codex is launched. This PR does not enable automerge or alter generated-PR merge policy.