fix(onboard): clarify keyed vs keyless skill setup prompts#74407
fix(onboard): clarify keyed vs keyless skill setup prompts#74407dwc1997 wants to merge 4 commits intoopenclaw:mainfrom
Conversation
Greptile SummaryThis PR refactors the onboard-skills credential setup flow: skills without a
Confidence Score: 3/5The onboarding code change itself is correct, but the PR description claims a Windows ACL security fix that is not present in the diff — needs verification before merging. A P1 concern exists: the PR description describes a security fix (Windows ACL world-equivalent SID classification) that is absent from the code. If the described fix was intentional and security-relevant, merging this PR as-is would leave that bug unaddressed while falsely marking it resolved. The onboarding code change itself looks correct and well-tested. No file-level code issues; the concern is the gap between the stated Windows ACL fix and the actual diff. Prompt To Fix All With AIThis is a comment left during a code review.
Path: src/commands/onboard-skills.test.ts
Line: 190-291
Comment:
**PR description does not match the implemented change**
The PR description and root-cause analysis describe a Windows ACL principal-classification fix (expanding world-equivalent SIDs, files `src/security/windows-acl.test.ts` / `src/security/audit-filesystem-windows.test.ts`), but the actual diff only touches `src/commands/onboard-skills.ts` and its test. The described security fix — misclassifying `Anonymous Logon`, `S-1-5-7`, etc. — does not appear to be implemented in this PR. Please verify whether the description was copy-pasted from a different PR and whether the intended Windows ACL fix was accidentally omitted.
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: src/commands/onboard-skills.ts
Line: 50-52
Comment:
**Trivial wrapper used exactly once**
`formatCredentialSetupMessage` is a single-use, one-line string template that adds indirection without encapsulating any meaningful logic. The same template was already inline before this PR, and the helper is only called in one place. Consider inlining it to keep the code simpler.
How can I resolve this? If you propose a fix, please make it concise.Reviews (1): Last reviewed commit: "fix(onboard): clarify keyed vs keyless s..." | Re-trigger Greptile |
|
Codex review: needs changes before merge. Summary Reproducibility: yes. Current main Next step before merge Security Review findings
Review detailsBest possible solution: Land this narrow Do we have a high-confidence way to reproduce the issue? Yes. Current main Is this the best way to solve the issue? Yes, with the changelog repair. The PR keeps the fix in the onboarding owner function and avoids changing installer behavior, skill metadata, or secret storage semantics. Full review comments:
Overall correctness: patch is correct Acceptance criteria:
What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against c136bb0eafab. |
49e778f to
49fc2a7
Compare
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
e38c7b4 to
f61564e
Compare
|
Codex review: needs maintainer review before merge. What this changes: This PR adds a Maintainer follow-up before merge: This is an open implementation PR with a plausible narrow fix, but the remaining decision is maintainer review and reconciliation with overlapping PR #74417, not an autonomous repair lane. Best possible solution: Pick one narrow implementation for #74382, keep the credential explanation in Acceptance criteria:
What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 2d53b49b20e1. |
Thanks for the review and for calling out the overlap with #74417. I’ve already addressed the actionable feedback on this PR:
On overlap with #74417:
I’m good with either direction—please pick whichever is easier to land. |
Made-with: Cursor
Summary
openclaw onboardcan show keyless skill dependency install options (for example localopenai-whisper) and later ask for API keys for different keyed skills, which is easy to misread as contradictory.Linked Issue/PR
Root Cause
openai-whisper) + keyed (openai-whisper-api,sag) scenario.Regression Test Plan
src/commands/onboard-skills.test.tsUser-visible / Behavior Changes
Security Impact