Skip to content

fix: guide missing onboarding providers to ClawHub - #148488

Merged
fuller-stack-dev merged 3 commits into
openclaw:mainfrom
PollyBot13:fix/provider-clawhub-hint
Oct 27, 2026
Merged

fuller-stack-dev merged 3 commits into
openclaw:mainfrom
PollyBot13:fix/provider-clawhub-hint

Conversation

@PollyBot13

@PollyBot13 PollyBot13 commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Users who cannot find their provider in classic onboarding's searchable provider list get no hint that community provider plugins are available on ClawHub. This guidance is still absent from main at e09cc9edff1f8252c70cab71512c1aedcc104086.

User Impact

The searchable provider prompt includes “Provider not listed? Find community provider plugins at https://clawhub.ai/plugins”. The guidance stays visible when a search has no matches. It is discovery guidance, not an install button or a promise that a particular provider is available.

Why This Change Was Made

Put the hint in the existing More/flat provider prompt message rather than a filterable menu option or a separate wizard step. Choices, Back/Skip, provider detection, authentication and installation remain unchanged. No schema, dependency or runtime configuration changes.

The October 21 reconciliation preserves current main's test-helper rewrite. Only two fixture answers are adapted to the longer searchable prompt; all option/method assertions remain intact. Author-side pr-simplify found no extra responsibility or machinery to remove: two files, +5/−6. The production added/removed lines are identical to the prior reviewed contribution.

The October 27 full-file test audit adds exact prompt-message assertions to both existing navigation scenarios: the hint is present on More and the no-featured root, including missing-value recovery and Back, and absent from featured and auth-method prompts. All six distinct cases remain. Scripted normal answers must be offered options; only the intentional missing-value inputs are exempt. Removed the unused confirm override and ineffective featured-fixture parameter/arguments. Against the exact pre-hint production source, both navigation scenarios fail at the new message assertion (4 passed, 2 failed); restoring the PR source passes all 6. No new production behavior or test-only production seam.

Evidence

  • Current head 2767383, tree 6e84fa9b611dbf7b19cc2f23b6eba2af3d134e1e. The latest repair changes only the picker test file (+38/−82 from the preceding head); production remains unchanged. All six cases and their behavioral assertions remain. Explicit typed prompt steps replace parallel answer/message/searchability arrays; real comparator/featured exports preserve the fixture simplification already on main. Redundant provider-ID fixtures were identical to group values, not alias coverage.
  • The actual CI-base test-line ratchet passes on a genuine three-way merged tree: net −3 lines, with the ceiling unchanged. Comparing only against the older PR fork would have missed main's intervening fixture cleanup. No unrelated test deletion or line packing.
  • Standard focused repository suites: 6 picker tests plus 56 renderer/navigation tests passed on the final candidate; warm runner wall time was 7.16 seconds. The partial-real-module fixture also had a cold compiler preparation run of 27.58 seconds (six test bodies totaled about 27 ms); no per-file hosted timing claim. Pre-hint production still yields exactly four passes and two expected message-assertion failures. Scoped formatting, source-backed core lint and git diff --check passed.
  • Exact-head hosted CI run 40547901958 completed successfully on October 27: all selected jobs, baseline ratchets, typechecks, lint, tests and openclaw/ci-gate passed. The earlier local typecheck launcher was blocked by the canonical pnpm global-store path guard; no private dependency copy or bypass was used. Hosted typechecks cover that local gap.
  • Separate real-PTY proof on preceding head fdc4c8b passed 8 scenarios and 54 checkpoints. Production is unchanged, but that result is historical; fresh non-author exact-head runtime requalification remains a landing gate. Catalog construction is synthetic (OpenAI/MiniMax), not full onboarding, authentication, real-provider discovery or installation proof.
  • Before/after real Terminal screenshots below were captured and delivered in the originating chat on October 3, then re-inspected for this reconciliation. They are retained visual evidence, not new October 21 captures. The hint text, Clack versions and message-styling source are unchanged; intervening renderer changes concern cancellation/navigation handling and typing. Fresh PTY scenarios cover the current source. The featured-root title remains unchanged. Crops remove unrelated desktop/shell content; the More pair uses different capture font sizes, not application styling.
  • Independent Codex AutoReview reviewed the full frozen candidate, including the complete six-case test file, and found no actionable P0–P2 defects. The reviewed tree exactly matches the hosted commit; the reviewer did not execute tests. Native review validation and GitHub-gates preparation completed. No merge or auto-merge has been requested.

Featured → More: before

More before: unmatched search without discovery guidance

Featured → More: after

More after: unmatched search retains the ClawHub discovery hint

Direct flat catalog: before

Flat catalog before: unmatched search without discovery guidance

Direct flat catalog: after

Flat catalog after: unmatched search retains the ClawHub discovery hint

AI-assisted implementation and review. Routine copy-only scope; reverting the hint commit removes the guidance. The broader catalog-driven setup PR #135997 remains open and unmerged; it does not supersede this hint on current main.

@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added commands Command implementations size: XS labels Sep 14, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 14, 2026
@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Adds a persistent ClawHub provider-plugin discovery link to searchable onboarding provider prompts.

Example: Search for SiriusAI in the More provider list.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful, minimal copy change with direct visual proof and no findings; the demonstrated boundary is the real picker and renderer rather than complete onboarding.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected real-Terminal before/after screenshots directly show the changed picker message surviving unmatched searches in More and flat layouts; the body additionally reports current-source real-PTY navigation scenarios using a synthetic catalog, appropriately limited to rendering and interaction.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Docs · Worth it: Yes · Fix scope: Complete
User problem: Users whose provider search has no matches receive no pointer to community provider plugins.
Reason: A small, visible discovery hint supplies a useful next destination without promising provider availability or introducing configuration, installation, or authentication behavior.

Merge readiness

✅ Ready for maintainer review

This PR remains a useful, narrowly scoped discovery improvement absent from current main; no actionable correctness or security findings were identified.

Priority: P3
Reviewed head: 4d165050e2b4a23dff75eba0a15107d906bdeddc

Before merge

None.

Findings

None.

Agent review details

How this fits together

The onboarding provider picker receives available provider groups and renders them through the wizard prompter, returning a selected authentication method or navigation choice.

flowchart TD
 A[Available provider groups] --> B[Grouped provider picker]
 B --> C[Featured provider page]
 B --> D[Searchable provider page]
 D --> E[Clack prompt with discovery hint]
 C --> F[Authentication method or navigation]
 E --> F
Loading

Technical review

Best possible solution:

Keep the discovery hint in the existing searchable prompt message so filtering cannot hide it.

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

Current-main source establishes the missing guidance, and inspected before/after screenshots demonstrate its visible effect in both searchable layouts; no target code was executed during this review.

Is this the best way to solve the issue?

The change is the smallest complete improvement: reuse the existing prompt message, preserve navigation and provider ownership, and adapt existing test fixtures without adding machinery.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against bcb386ad34a8.

Provenance checked

  • Searchable provider prompt keeps the original intent (feat(onboarding): featured provider tier in interactive picker #80798: The featured tier shortened first-run selection while retaining long-tail providers behind More and preserving a searchable flat fallback.)
  • Unified picker loop keeps the original intent (fcb8c0a: Consolidated separate picker loops into one existing decision owner.)
  • Scripted picker tests keeps the original intent (test(core): remove low-value tests (batch d203) #175132: Consolidated repetitive test scaffolding while retaining distinct behavior coverage; this PR changes fixture answers without removing the option and method assertions.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Introduced change: The pinned introduction diff changes only searchable prompt copy and two scripted test answers; provider choices, filtering, navigation, and authentication remain intact. (src/commands/auth-choice-prompt.ts:155, 4d165050e2b4)
  • Current-main necessity: Current main still uses the unadorned “Model/auth provider” message on searchable pages. (src/commands/auth-choice-prompt.ts:153, bcb386ad34a8)
  • Inspected visual evidence: All four downloaded Terminal screenshots were inspected: before/after More and flat-catalog searches for SiriusAI show the new hint remaining visible with zero matches. The synthetic catalog proves rendering, not provider availability or installation. (4d165050e2b4)
  • Related work does not supersede this PR: feat(plugins): discover provider setup from the ClawHub catalog #135997 is closed unmerged; steipete's closing comment retires its coordinated catalog redesign rather than shipping this discovery hint.
  • Feature history and ownership: The featured/More layout originated in the reviewed featured-tier change; subsequent command refactoring consolidated both searchable layouts into the existing loop. The hint preserves that ownership. (src/commands/auth-choice-prompt.ts:139, fcb8c0a23281)
  • Current-head workflow state: GitHub reports the reviewed head cleanly mergeable; dependency-review, security-sensitive-review, and ci-gate statuses are successful. A cancelled context job nevertheless completed its context-and-evidence step successfully, providing no diff-caused failure. (4d165050e2b4)

Likely related people:

  • Peter Steinberger: Raw commit fcb8c0a adds src/commands/auth-choice-prompt.ts:151 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: fcb8c0a23281; files: src/commands/auth-choice-prompt.ts)
  • Sarah Fortune: Raw commit 26b2c47 adds src/commands/auth-choice-prompt.ts:56 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 26b2c47febb5; files: src/commands/auth-choice-prompt.ts)

PR surface

Source +2, Tests -3. Total -1 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 3 1 +2
Tests 1 2 5 -3
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 5 6 -1

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is low-risk discovery copy that helps users understand an empty provider search without changing setup behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (6 earlier review cycles)
  • reviewed 2026-09-14T19:59:46.094Z sha c3ffa99fc706d10f7fec49db23cc9c62444f22db :: needs real behavior proof before merge. :: none
  • reviewed September 24, 2026, 2:44 AM ET / 06:44 UTC (Revision 2) sha unknown :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-24T06:44:47.349Z sha c3ffa99fc706d10f7fec49db23cc9c62444f22db :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-03T18:53:03.014Z sha 605925d8d62793e52f89905ca295cb6aca71442c :: needs changes before merge. :: none
  • reviewed 2026-10-03T19:28:43.152Z sha 605925d8d62793e52f89905ca295cb6aca71442c :: needs maintainer review before merge. :: none
  • reviewed 2026-10-10T10:24:39.898Z sha 030df1b7e8147c9c59bffa7db8e9369e25b92b23 :: needs maintainer review before merge. :: none

Reviewed October 21, 2026, 11:59 AM ET / 15:59 UTC (Revision 7).

@PollyBot13
PollyBot13 force-pushed the fix/provider-clawhub-hint branch from c3ffa99 to 605925d Compare October 3, 2026 18:46
@PollyBot13

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Reconciled with the unified current-main picker at 605925d8d62793e52f89905ca295cb6aca71442c. The PR description now embeds inspected before/after real Terminal screenshots for both More and direct flat-catalog unmatched searches, and records the synthetic-catalog proof boundary. Focused picker/renderer suites (58 tests) and 8 PTY interaction scenarios pass. The PR remains draft.

@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. 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. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 3, 2026
@PollyBot13
PollyBot13 marked this pull request as ready for review October 3, 2026 19:23
@PollyBot13
PollyBot13 force-pushed the fix/provider-clawhub-hint branch from 605925d to 030df1b Compare October 10, 2026 10:18
@PollyBot13
PollyBot13 force-pushed the fix/provider-clawhub-hint branch from 030df1b to 4d16505 Compare October 21, 2026 14:52
@PollyBot13

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Reconciled the unchanged discovery hint with current main at 4d165050e2b4a23dff75eba0a15107d906bdeddc. The description records the current 6 picker tests, 50 renderer/navigation tests, 8 real-PTY before/after scenarios, clean independent Codex review, and the retained screenshot-proof boundary. Production added/removed lines are identical to the prior reviewed contribution; only current-main test fixtures were adapted. Hosted current-head CI is running.

@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 21, 2026
@vyctorbrzezowski vyctorbrzezowski self-assigned this Oct 21, 2026

@vyctorbrzezowski vyctorbrzezowski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the searchable provider prompt, its Clack rendering path, and the adjusted picker fixtures. The ClawHub guidance is attached to the prompt message in both More and flat-catalog layouts, leaving provider options, filtering, Back/Skip navigation, and authentication selection unchanged. The existing option and method assertions remain intact. No actionable issue found in the reviewed diff.

Automated code review complete. No further changes are requested from the author at this stage. Final product and design review will be handled by the responsible maintainer before the PR is considered for merge.

@vyctorbrzezowski

Copy link
Copy Markdown
Member

I'll review this with Patrick. This might work better as guidance when the provider search returns no results, rather than remaining visible throughout the provider list.

@fuller-stack-dev
fuller-stack-dev merged commit c1465bd into openclaw:main Oct 27, 2026
121 checks passed
@fuller-stack-dev

Copy link
Copy Markdown
Member

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 28, 2026
* fix: guide missing onboarding providers to ClawHub

* test(onboarding): verify provider discovery hint placement

* test(onboarding): consolidate provider hint navigation fixtures

---------

Co-authored-by: Jason (Json) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands Command implementations P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants