Repository navigation
Description
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
A keyless, host-proxied WebIQ web-search configuration still disables the secrets runtime fast path on current main, forcing full web-tool/SecretRef preparation even though the container does not hold the provider credential.
Steps to reproduce
- Configure current main with
tools.web.search.providerset towebiq. - Configure
plugins.entries.webiq.config.webSearch.omitAuthastrueand do not configure an in-container WebIQ API key. - Prepare the secrets runtime snapshot for startup.
- Observe the runtime falls back to full resolver preparation instead of the fast path.
Expected behavior
A host-proxied WebIQ search setup with omitAuth=true, no search credential fields, no legacy x_search, no active web-fetch surface, and no custom plugin load path should be allowed to use the secrets fast path.
Actual behavior
Current main treats any tools.web.search surface and any plugin webSearch config as requiring full secrets/web-tool resolution before checking whether the surface is credential-bearing.
OpenClaw version
current main at 9c2dc92
Operating system
Linux test environment; original cold-start profile source did not include a full OS build string.
Install method
pnpm source checkout
Model
NOT_ENOUGH_INFO
Provider / routing chain
OpenClaw -> host-proxied WebIQ web search
Additional provider/model setup details
The affected setup intentionally keeps the WebIQ credential outside the OpenClaw container. The container sends the request without an API key and a host-owned proxy injects the runtime-owned header at egress.
Logs
Observed local evidence was a patch-backed cold-start profile summary rather than raw profiler output. Current source proof before the fix:
src/secrets/runtime-fast-path.ts treated any tools.web.search or legacy tools.web.x_search key as a runtime web-tool surface, and treated any plugin config.webSearch key as a runtime web-tool surface. That made canUseSecretsRuntimeFastPath return false before SecretRef scanning could prove the keyless WebIQ shape had no credential-bearing values.
Focused proof added with this report:
node scripts/run-vitest.mjs src/secrets/runtime.fast-path.test.ts --reporter=verbose
Test Files 1 passed (1)
Tests 18 passed (18)
Screenshots, recordings, and evidence
No screenshots apply. Evidence is current-main source inspection plus the focused regression test above.
Impact and severity
Affected: deployments using host-proxied/keyless WebIQ search.
Severity: Medium startup performance regression.
Frequency: Every startup with this configuration, based on current source behavior.
Consequence: startup falls off the fast path and runs full secrets/web-tool preparation even though there is no in-container web-search credential to resolve.
Additional information
The fix should stay fail-closed: credential-bearing WebIQ config, custom providers, legacy x_search, active web fetch, and custom plugin load paths should continue to use the resolver path.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jul 14, 2026
Codex review: this still needs some work. Reviewed September 28, 2026, 6:56 PM ET / 22:56 UTC.
Summary
Current main and v2026.9.6 still route configured web search through full secrets preparation. The linked fix PR remains open, and its proposed shortcut needs a decision about plugin-owned credential semantics.
Reproducibility: yes. for the branch choice: current-main source deterministically sends the supplied search configuration to full preparation. This read-only review did not measure the startup cost.
Root-cause cluster
Relationship:
canonicalCanonical: #107154
Summary: The open PR explicitly proposes a fix for this issue, subject to the unresolved plugin-credential contract.
Members:
fixed_by_candidate: fix: keep keyless web search on secrets fast path #107155 - The PR formally links this issue and changes the reported startup decision, but has not merged.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Maintainer decision needed
Why: Current manifests establish provider ownership but not conditional credential semantics; choosing that cross-plugin contract and its safety boundary requires owner intent.
Next step
The protected issue has an open paired PR, and the credential-contract choice belongs to plugin and secrets owners.
Review details
Best possible solution:
Define conditional credential eligibility in validated plugin metadata, preserve provider selection and diagnostics, and fail closed for ambiguous or credential-bearing configurations.
Do we have a high-confidence way to reproduce the issue?
Yes for the branch choice: current-main source deterministically sends the supplied search configuration to full preparation. This read-only review did not measure the startup cost.
Is this the best way to solve the issue?
No for a generic check of the plugin-private omitAuth field: it does not establish credential or metadata semantics. A validated conditional plugin contract is the safer route.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against e5d45852792b.
Label changes
Label changes:
No label changes.
Label justifications:
P2: The reported effect is startup overhead for a limited host-proxied search setup, without evidence that startup or search fails.impact:auth-provider: The affected startup decision controls web-provider and credential preparation.Evidence reviewed
What I checked:
src/secrets/runtime-fast-path.ts:159, e5d45852792b)src/gateway/server-startup-config.ts:426, 3da238d5e385)src/secrets/runtime-web-tools.ts:841, 3da238d5e385)src/secrets/runtime.fast-path.test.ts:238, 3da238d5e385)docs/plugins/manifest/capabilities.md. (docs/plugins/manifest/capabilities.md:78, 3da238d5e385)Likely related people:
How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.giodl73-repo commentedon Oct 20, 2026
Tracking update: #107155 was closed unmerged by its author on October 17, at head
ff85c33c553de8c87e9f5d3098764672cc76cd45. The earlier review's "open paired PR" description is now historical. No successor was named in the inspected closure timeline; this is not an exhaustive search or a conclusion that the optimization was accepted or rejected.The existing secrets/provider owner question remains relevant here: conditional manifest-owned credential metadata versus retaining full preparation. Core should not infer that contract from a plugin-private
omitAuthpredicate. Provider selection/diagnostics and fail-closed credential handling remain part of the decision.Keep this issue as the tracking home. Please record any intended successor or decision here before another implementation is started. Closure is not evidence of a current runtime fix, a measured startup regression, or permission to reopen/recreate the old candidate. No new source or runtime proof is claimed by this update.
steipete commentedon Oct 24, 2026
Thanks for filing this. We're closing older issues that no longer look actionable on current
main.The paired fix PR (#107155) was closed by its author, and the cost of the full secrets preparation path for keyless web search was never measured. If startup cost from this path matters in practice, please open a fresh issue with timings and a proposal for manifest-declared keyless providers.