Repository navigation
fix(onboarding): remote retry hint omits required risk acknowledgment - #130174
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 11:05 AM ET / 15:05 UTC. ClawSweeper reviewWhat this changesThe PR adds the required Regression provenancePossible regression — probable (reproduction; reviewed change). No predecessor PR is attributed. Merge readinessKeep open: current main still emits the unusable retry command, while this focused patch fixes the validation owner and preserves the existing risk gate. No blocking code or security findings; exact-head checks are still running. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — step 1 Assertions:
How this fits togetherThe CLI registers flowchart LR
A[CLI command] --> B[Option registration]
B --> C[Onboarding preflight]
C --> D{Remote URL present?}
D -->|No| E[Copyable recovery error]
D -->|Yes| F[Continue setup]
E --> G[Operator retry]
Before merge
Agent review detailsSecurityNone. PR surfaceSource 0, Tests 0. Total 0 across 2 files. View PR surface stats
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: Land the owner-boundary text correction once exact-head CI is green, keeping the existing risk acknowledgment requirement unchanged. Do we have a high-confidence way to reproduce the issue? Yes: current main emits the incomplete example before its later noninteractive risk-acknowledgment guard, so copying the displayed command reaches the documented rejection path. Is this the best way to solve the issue? Yes: fixing the preflight message at its producer is the narrowest maintainable repair; changing enforcement or adding a parallel recovery path would be unnecessary. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 60e3d5f19429. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…openclaw#130174) * fix(onboarding): include risk acknowledgment in remote retry hint * test(onboarding): keep remote retry coverage within lint budget
Closes #130169
What Problem This Solves
Fixes an issue where users running noninteractive remote onboarding without
--remote-urlreceived a suggested retry command that immediately failed again because it omitted mandatory--accept-risk.Why This Change Was Made
Include the already-required risk acknowledgment flag in the canonical missing-remote-URL validation example. Keep the existing validation owner, real risk-enforcement behavior, profile/container formatting, and side-effect-free preflight path unchanged.
User Impact
Operators can copy the remote-onboarding recovery command and continue setup immediately instead of hitting a second risk-acknowledgment error. Human-readable and JSON onboarding errors now provide the same usable guidance.
Evidence
--accept-risk.onboardandsetup.AI-assisted and independently validated through actual CLI registration and execution.