[codex] docs(wizard): clarify provider key update path#90118
[codex] docs(wizard): clarify provider key update path#90118Pluviobyte wants to merge 5 commits into
Conversation
|
Codex review: needs changes before merge. Reviewed June 30, 2026, 8:23 AM ET / 12:23 UTC. Summary PR surface: Source +10, Tests +100, Docs +8, Other 0. Total +118 across 8 files. Reproducibility: yes. at source level: current main shows the generic existing-config menu and non-skip auth choices continue into applyAuthChoice after that gate. The linked issue's user-visible confusion is not fixed on current main. Review metrics: 1 noteworthy metric.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. 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:
Copy recommended automerge instructionNext step before merge
Security Review findings
Review detailsBest possible solution: Keep the Review and update hint, reword the Keep-current-values docs claim or change runtime to enforce it, and refresh the raw-fetch guard before merge. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main shows the generic existing-config menu and non-skip auth choices continue into applyAuthChoice after that gate. The linked issue's user-visible confusion is not fixed on current main. Is this the best way to solve the issue? No as-is. The Review and update hint is the right narrow fix, but the docs overstate Keep-current-values behavior and the raw-fetch guard hunk is stale against current main. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6cb82eaab865. Label changesLabel justifications:
Evidence reviewedPR surface: Source +10, Tests +100, Docs +8, Other 0. Total +118 across 8 files. View PR surface stats
Acceptance criteria:
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
Review history (1 earlier review cycle)
|
|
Addressed the skip edge case in 6504bb6 by hiding the provider-key update hint when rerunning with Validation run locally:
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
…ovider-switch-copy
|
This pull request has been automatically marked as stale due to inactivity. |
Summary
Review and updateoption so provider key updates are discoverableValidation
node scripts/run-vitest.mjs src/wizard/setup.test.ts --reporter=dotnode scripts/run-vitest.mjs src/commands/configure.gateway-auth.prompt-auth-config.test.ts --reporter=dotnpx oxfmt --check src/wizard/setup.ts src/wizard/setup.test.ts src/wizard/i18n/locales/en.ts src/wizard/i18n/locales/zh-CN.ts src/wizard/i18n/locales/zh-TW.ts docs/cli/onboard.md docs/reference/wizard.mdnode scripts/run-oxlint.mjs src/wizard/setup.ts src/wizard/setup.test.ts src/wizard/i18n/locales/en.ts src/wizard/i18n/locales/zh-CN.ts src/wizard/i18n/locales/zh-TW.tsnode scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.test.src.json --pretty false --incrementalgit diff --checkDuplicate Check
#88373, auth-choice/provider key wording, post-onboarding provider switch wording, and the target wizard/docs files.Fixes #88373
Real behavior proof
--auth-choice <provider>did not make it clear thatReview and updateis the path to enter or update the selected provider key.codex/onboarding-provider-switch-copyatf2d912d, with isolatedOPENCLAW_HOME,OPENCLAW_STATE_DIR, andOPENCLAW_CONFIG_PATHpointing at a temporary existing config.node --import tsx, using an existing temporary OpenClaw config and command context equivalent toopenclaw onboard --auth-choice groq-api-key --flow quickstart.Review and updatewith the explicit hintChoose this to enter or update the selected provider key.when an auth choice is supplied.Review and updateoption had no provider-key-specific hint in this existing-config branch.