Skip to content

fix(onboarding): restore skill dependency consent - #116644

Merged
Patrick-Erichsen merged 2 commits into
mainfrom
pe/onboarding-skill-dependency-consent
Jul 31, 2026
Merged

Patrick-Erichsen merged 2 commits into
mainfrom
pe/onboarding-skill-dependency-consent

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • restore the pre-June 30 interaction: one multiselect containing all trusted bundled skill dependencies with install recipes, plus Skip for now
  • keep current installer-readiness checks, but apply them after consent: install only selected ready dependencies and show prerequisite guidance only for selected unavailable dependencies
  • preserve workspace-recipe exclusion, Linux-container handling, persistent-effect authority checks, and existing install error handling
  • preserve the old mixed-selection behavior: if Skip for now and dependencies are both selected, the explicit dependency selections still run

Validation

  • pnpm test src/commands/onboard-skills.test.ts — 16/16 passed on Blacksmith Testbox tbx_01kyv3xmp71jq374szt8bxgagh (run)
  • pnpm check:changed — passed on Blacksmith Testbox tbx_01kyv3zcejb430bq2q73awtmr9 (run)

Proof gap

  • No accepted real-behavior proof is currently attached. The prior Crabdrop link was removed because a Drop is an explanatory artifact, not PR proof.

Review notes

  • The ClawSweeper mixed-selection finding is covered by a focused regression test.

@openclaw-barnacle openclaw-barnacle Bot added commands Command implementations size: S maintainer Maintainer-authored PR labels Jul 31, 2026
@Patrick-Erichsen Patrick-Erichsen self-assigned this Jul 31, 2026
@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 31, 2026, 12:36 AM ET / 04:36 UTC.

ClawSweeper review

What this changes

This PR replaces automatic installation of ready trusted bundled-skill dependencies during onboarding with one explicit multi-select consent prompt that installs only selected ready dependencies and explains prerequisites for selected unavailable dependencies.

Merge readiness

⛔ Blocked until real behavior proof is added - 5 items remain

Keep this PR open for maintainer review and real-behavior proof. The focused test coverage and passing CI support the implementation, but the contributor explicitly confirms that no accepted after-fix onboarding transcript or recording is attached; the recently changed onboarding default also needs an owner-confirmed compatibility judgment before merge.

Priority: P1
Reviewed head: beb266fa2b461ba846b63fc8e83e8410bf00d7c1
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The implementation has focused coverage and no established patch defect, but missing after-fix real behavior proof is a merge gate.
Proof confidence 🧂 unranked krab (1/6) Needs real behavior proof before merge: The contributor explicitly states that no accepted real-behavior proof remains attached; add a redacted terminal transcript or recording of the after-fix onboarding flow before merge, then update the PR body for automatic re-review or ask a maintainer to comment @clawsweeper re-review.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: The contributor explicitly states that no accepted real-behavior proof remains attached; add a redacted terminal transcript or recording of the after-fix onboarding flow before merge, then update the PR body for automatic re-review or ask a maintainer to comment @clawsweeper re-review.
Evidence reviewed 5 items Changed onboarding decision surface: The supplied PR diff replaces the pre-prompt readiness filtering in setupSkills with readiness recorded by skill name, so the consent picker can show trusted bundled dependencies before later selecting ready installs or unavailable-prerequisite guidance.
Regression coverage: The supplied PR diff adds focused cases for offering ready bundled dependencies while excluding workspace recipes, preserving mixed Skip-plus-dependency selections, and presenting readiness outcomes through the picker.
Validation reported by contributor: The PR body reports the focused onboarding-skills test passing 16/16 and pnpm check:changed passing on Blacksmith Testbox; GitHub context also reports the required CI gate and the available real-behavior-proof checks succeeding.
Findings None None.
Security None None.

How this fits together

The onboarding command inspects bundled skills and their install recipes, determines whether the primary recipe is ready on the operator’s machine, then prompts before invoking dependency installers. Its output is the initial installed-tool state for a new OpenClaw workspace, so consent, readiness guidance, and persistent-effect authority all meet at this boundary.

flowchart TD
  A[Bundled skill metadata] --> B[Onboarding skill scan]
  B --> C[Installer readiness check]
  C --> D[Dependency consent picker]
  D --> E[Selected ready recipes]
  D --> F[Selected unavailable guidance]
  E --> G[Dependency installer]
  F --> H[Onboarding notes]
Loading

Decision needed

Question Recommendation
Should onboarding retain the current automatic installation of ready trusted bundled-skill dependencies, or should it restore the explicit unified consent picker proposed here? Restore explicit consent: Accept the unified picker after real-flow proof, making dependency installation an explicit operator choice during onboarding.

Why: The patch deliberately changes a recent onboarding default with persistent installation effects; tests establish the proposed mechanics but cannot establish the intended operator contract.

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: The contributor explicitly states that no accepted real-behavior proof remains attached; add a redacted terminal transcript or recording of the after-fix onboarding flow before merge, then update the PR body for automatic re-review or ask a maintainer to comment @clawsweeper re-review.
  • Resolve merge risk (P1) - Merging changes the onboarding default from automatic installation of ready trusted bundled-skill dependencies to explicit consent; operators who relied on automatic setup may finish onboarding without selected dependencies unless the restored interaction is the intended product contract.
  • Resolve merge risk (P1) - No redacted terminal transcript or recording shows the after-fix Clack interaction, selected-ready installation, selected-unavailable guidance, and Skip behavior in a real onboarding run.
  • Complete next step (P2) - The remaining blocker is owner confirmation of the onboarding default plus contributor-supplied real behavior proof, not a narrow automated code repair.
Agent review details

Security

None.

PR surface

Source +14, Tests +112. Total +126 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 1 56 42 +14
Tests 1 131 19 +112
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 187 61 +126

Review metrics

None.

Merge-risk options

Maintainer options:

  1. Prove and land the consent restoration (recommended)
    Confirm the intended onboarding default and add redacted real-flow proof that demonstrates installation and unavailable-prerequisite outcomes before merge.
  2. Keep automatic setup
    If automatic installation is the intended default, pause or close this restoration rather than creating two competing onboarding contracts.

Technical review

Best possible solution:

Confirm that explicit dependency consent is the intended onboarding default, then attach a redacted terminal recording or transcript covering ready, unavailable, Skip-only, and mixed Skip-plus-dependency selections before merging.

Do we have a high-confidence way to reproduce the issue?

No high-confidence live reproduction is attached. Source and the focused tests make the behavioral path reproducible in principle, but the supplied evidence does not show the changed interactive onboarding flow running after the fix.

Is this the best way to solve the issue?

Unclear until the owner confirms the intended onboarding default. If explicit consent is the intended contract, the unified picker is a bounded solution because it preserves readiness checks while restoring an operator-controlled install decision.

AGENTS.md: unclear because the file could not be read completely.

Codex review notes: model internal, reasoning high; reviewed against 4219ece28185.

Labels

Label justifications:

  • P1: This changes a first-run onboarding workflow that determines whether selected trusted skill dependencies are installed for real users.
  • merge-risk: 🚨 compatibility: The patch replaces automatic ready-dependency installation with explicit consent, which can change existing onboarding outcomes and operator expectations.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The contributor explicitly states that no accepted real-behavior proof remains attached; add a redacted terminal transcript or recording of the after-fix onboarding flow before merge, then update the PR body for automatic re-review or ask a maintainer to comment @clawsweeper re-review.

Evidence

What I checked:

  • Changed onboarding decision surface: The supplied PR diff replaces the pre-prompt readiness filtering in setupSkills with readiness recorded by skill name, so the consent picker can show trusted bundled dependencies before later selecting ready installs or unavailable-prerequisite guidance. (src/commands/onboard-skills.ts:211, beb266fa2b46)
  • Regression coverage: The supplied PR diff adds focused cases for offering ready bundled dependencies while excluding workspace recipes, preserving mixed Skip-plus-dependency selections, and presenting readiness outcomes through the picker. (src/commands/onboard-skills.test.ts:272, beb266fa2b46)
  • Validation reported by contributor: The PR body reports the focused onboarding-skills test passing 16/16 and pnpm check:changed passing on Blacksmith Testbox; GitHub context also reports the required CI gate and the available real-behavior-proof checks succeeding. (beb266fa2b46)
  • Real behavior proof remains absent: The PR body and the July 31, 2026 contributor correction explicitly state that the prior Crabdrop artifact was removed and no accepted real-behavior proof is attached. Tests and CI do not show an operator completing the changed interactive onboarding flow.
  • Review continuity: Earlier review cycles raised the mixed Skip-selection defect; the current PR description says it is covered by a focused regression test, and the supplied current diff contains that targeted test change. No remaining line-level correctness defect is established from the supplied evidence. (src/commands/onboard-skills.test.ts:272, beb266fa2b46)

Likely related people:

  • Patrick-Erichsen: The available PR history attributes both commits that restore the unified consent picker and add the follow-up mixed-selection regression coverage to this contributor; current-main ownership could not be independently established in the read-only review environment. (role: current repair author and onboarding-change contributor; confidence: low; commits: 7e527bd7ee15, beb266fa2b46; files: src/commands/onboard-skills.ts, src/commands/onboard-skills.test.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Attach a redacted terminal recording or transcript of the consent picker with at least one ready and one unavailable dependency.
  • Show the resulting selected-ready install and selected-unavailable prerequisite guidance, including the mixed Skip-plus-dependency case.
  • Obtain maintainer confirmation that explicit consent is the intended onboarding default.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (4 earlier review cycles)
  • reviewed 2026-07-31T03:23:36.860Z sha 7e527bd :: needs real behavior proof before merge. :: [P2] Make the Skip choice mutually exclusive
  • reviewed 2026-07-31T03:49:23.313Z sha beb266f :: needs real behavior proof before merge. :: [P2] Make the Skip choice an exclusive no-install action
  • reviewed 2026-07-31T04:15:18.831Z sha beb266f :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T04:30:51.770Z sha beb266f :: needs real behavior proof before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P1 High-priority user-facing bug, regression, or broken workflow. labels Jul 31, 2026
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Updated head beb266fa2b461ba846b63fc8e83e8410bf00d7c1 restores the pre-June 30 unified picker, fixes mixed Skip/dependency selection, adds focused coverage, and links inspectable real-Clack proof in the PR body.

@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 31, 2026
@Patrick-Erichsen Patrick-Erichsen removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jul 31, 2026
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Correction: the Crabdrop link has been removed from the PR body. Drops are explanatory artifacts, not accepted PR proof. The proof: sufficient label was removed; please reassess this PR with the real-behavior proof gap stated explicitly.

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jul 31, 2026
@Patrick-Erichsen
Patrick-Erichsen merged commit 0cb6a17 into main Jul 31, 2026
222 of 248 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the pe/onboarding-skill-dependency-consent branch July 31, 2026 21:05
vincentkoc added a commit that referenced this pull request Jul 31, 2026
* origin/main: (22 commits)
  fix(cron): preserve lazy ownership and bounded notification lifetimes (#117018)
  fix: live updater no-op restarts healthy gateways (#117038)
  fix(bedrock): release streaming clients (#117039)
  fix(google): restore canonical Gemini and Vertex provider invariants (#117042)
  fix(channels): preserve accepted LINE and Mattermost delivery (#117024)
  fix(feishu): unify truthful delivery and media ownership (#117023)
  fix(ui): isolate gateway observer lifecycles (#117017)
  fix(tui): keep reset transitions isolated from stale input (#116873)
  fix(gateway): centralize streamed media descriptor ownership (#117000)
  feat(plugins): externalize OpenCode provider (#117035)
  fix(onboarding): restore skill dependency consent (#116644)
  fix(streaming): preserve incomplete bracket tails in final replies (#116983)
  fix: allow slower gateway readiness after updates (#117032)
  fix(plugin-state): avoid shared SQLite corruption when CLI starts during gateway runtime (#113204)
  fix(cli): keep config file output raw under JSON logging (#116968)
  fix(ai): malformed Anthropic stream frames expose raw event payloads (#116938)
  fix(qa): authenticate actual scenario execution evidence (#117004)
  feat(plugins): externalize NovitaAI provider (#117007)
  fix(text): preserve fenced tool markers in visible-text sanitizer (#116939) (#116971)
  fix(channels): reset metadata memos with plugin lifecycle (#117005)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
* fix(onboarding): restore skill dependency consent

* fix(onboarding): restore unified dependency selection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands Command implementations maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: M status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant