Repository navigation
fix(onboarding): default to Full tools and unify catalog discovery - #150596
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 17, 2026, 2:59 AM ET / 06:59 UTC (Revision 4). ClawSweeper reviewWhat this changesThe PR defaults unprofiled local onboarding to Full, shares the core tool catalog with the UI, lists the existing setup helper, and preserves explicit Full selections in Security settings. Merge readiness⛔ Blocked before merge - 2 items remain This remains useful: current main still defaults onboarding to Coding and removes the profile when Security saves Full. No introduced blocking defect was found; the supplied proof supports the implementation, and the previously noted compatibility tradeoff is explicitly documented. Priority: P2 Review scores
Verification
How this fits togetherOnboarding and Security settings write tool-selection policy consumed by agent assembly. The shared catalog supplies Gateway and UI discovery, while execution permissions and owner checks independently govern tool use. flowchart TD
A[Local onboarding] --> C[Saved tool profile]
B[Security settings] --> C
C --> D[Agent tool selection]
E[Shared tool catalog] --> D
E --> F[Gateway and UI discovery]
D --> G[Owner and execution checks]
G --> H[Permitted tool calls]
Before merge
Agent review detailsSecurityNone. PR surfaceSource -54, Tests +458, Docs +24. Total +428 across 27 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the shared catalog and explicit Full semantics, with the documented owner-approved group behavior and existing execution restrictions preserved. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main saves Coding during unprofiled onboarding and deletes tools.profile when Security selects Full, although explicit Full selects optional plugin tools. The contributor also supplies real before/after configuration evidence; this review did not execute it. Is this the best way to solve the issue? Yes. Reusing the existing onboarding writer and canonical catalog removes drift, while saving explicit Full correctly preserves its existing plugin-selection meaning; the intentional default change is explained in the PR. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c5ef6e74279d. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
Upgrade and Doctor compatibilityTested the exact PR head Actual older-release update
Doctor tool-policy cases
LimitsThis is one macOS npm upgrade from No product changes were needed for the compatibility proof. The PR remains a draft. |
d80239a to
78ac247
Compare
|
Proof: Real isolated onboarding now saves Full and exposes messaging plus the setup helper in the catalog. A published 2026.9.3 updater successfully installed the candidate; tested profiles, helper overrides, denies, and workspace data survived. Doctor checks and final CI pass.
|
…penclaw#150596) The diff includes an unchanged four-test file split to meet the line limit; production shrinks by 54 lines. ## What Problem This Solves New local setups use Coding, which excludes messaging. The existing `openclaw` setup helper is also missing from the tool catalog. ## Why This Change Was Made The owner approved Full for unprofiled local onboarding, including reruns, and the helper's group allow/deny membership. This intentionally revises openclaw#39012. The onboarding default has one writer. Security and Agents now save Full consistently; the UI uses the canonical tool catalog instead of a duplicate list. ## User Impact New setups get broad tool selection. “Available tools” is distinct from “Execution permissions”; Full does not mean Full Access. ## Evidence Real isolated onboarding: `coding` before → `full` after. [Commands and browser proof](https://gist.github.com/obviyus/3ba9dd83878ff416c0c462468926e79a). | Before | After | | --- | --- | |  |  | |  |  | ## Compatibility No migration or new settings. Existing explicit profiles and independent execution rules stay intact during normal upgrade. Re-onboarding an unprofiled config selects Full. Helper membership extends automation/OpenClaw group allows **and denies**; owner and sandbox checks remain. [Compatibility proof](openclaw#150596 (comment)): published 2026.9.3 updater → candidate `d80239aace2d`, healthy Gateway, 12 Doctor scenarios twice, and 202 migration tests pass. The conflict-only rebase preserves those profile/helper changes. Existing Doctor repairs can rewrite conflicting profile/allow settings; tested helper policy access survives. ## Consumers CLI, wizard, setup repair, Gateway catalog, and Tools UI share existing owners. Full also selects available optional plugin tools. ## Invalidation Existing config reload and catalog refresh remain unchanged. ## Tests 412 core/plugin tests and 152 UI tests pass on the earlier proof merge; 54 affected UI tests pass after the conflict-only rebase. Type-aware changed lint, core types, script/root types, format, architecture, unused-export, UI size, and docs checks pass. CI corrections move the two optional-plugin cases into a focused test and update the full settings save/reload test. All 134 cases pass locally, including the repaired E2E, and the new file-growth check passes. Production behavior is unchanged. The prior CI run also hit Slack test/type failures from openclaw#150608, reproduced on its main and absent on its parent. Main now fixes those separately in `96195a16`; this PR carries no Slack edits. Co-authored-by: Ayaan Zaidi <[email protected]>
|
Evidence: OpenClaw Full tool default and catalog evidence Moved here from a one-off gist so the proof lives on this PR.
|





The diff includes an unchanged four-test file split to meet the line limit; production shrinks by 54 lines.
What Problem This Solves
New local setups use Coding, which excludes messaging. The existing
openclawsetup helper is also missing from the tool catalog.Why This Change Was Made
The owner approved Full for unprofiled local onboarding, including reruns, and the helper's group allow/deny membership. This intentionally revises #39012. The onboarding default has one writer. Security and Agents now save Full consistently; the UI uses the canonical tool catalog instead of a duplicate list.
User Impact
New setups get broad tool selection. “Available tools” is distinct from “Execution permissions”; Full does not mean Full Access.
Evidence
Real isolated onboarding:
codingbefore →fullafter. Commands and browser proof.Compatibility
No migration or new settings. Existing explicit profiles and independent execution rules stay intact during normal upgrade. Re-onboarding an unprofiled config selects Full. Helper membership extends automation/OpenClaw group allows and denies; owner and sandbox checks remain.
Compatibility proof: published 2026.9.3 updater → candidate
d80239aace2d, healthy Gateway, 12 Doctor scenarios twice, and 202 migration tests pass. The conflict-only rebase preserves those profile/helper changes. Existing Doctor repairs can rewrite conflicting profile/allow settings; tested helper policy access survives.Consumers
CLI, wizard, setup repair, Gateway catalog, and Tools UI share existing owners. Full also selects available optional plugin tools.
Invalidation
Existing config reload and catalog refresh remain unchanged.
Tests
412 core/plugin tests and 152 UI tests pass on the earlier proof merge; 54 affected UI tests pass after the conflict-only rebase. Type-aware changed lint, core types, script/root types, format, architecture, unused-export, UI size, and docs checks pass.
CI corrections move the two optional-plugin cases into a focused test and update the full settings save/reload test. All 134 cases pass locally, including the repaired E2E, and the new file-growth check passes. Production behavior is unchanged.
The prior CI run also hit Slack test/type failures from #150608, reproduced on its main and absent on its parent. Main now fixes those separately in
8f463a22; this PR carries no Slack edits.