Repository navigation
fix(plugins): keep Decision provider startup metadata scoped - #176313
Merged
Merged
Conversation
Decision references added by #176133 were being treated as direct chat provider IDs before the existing Decision contract-owner lookup. When the provider and plugin IDs differ, metadata selection falls back to the whole inventory. Provider activation still works, but startup does extra work. Let the existing capability lookup own Decision refs and preserve direct provider validation for the other configured models. Keep the per-agent regression and cover default Decision selection with the same contract. Validation: exact current-main failure reproduced in 31.49s. Native Bun startup siblings passed (15 tests, 45.02s); channel metadata siblings passed (87 tests, 18.86s). Core/test types, targeted lint/format, full packaged build (4m33.5s), and independent P2 review passed.
Contributor
|
🦞👀 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. |
steipete
marked this pull request as ready for review
October 18, 2026 18:04
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
steipete
enabled auto-merge (squash)
October 18, 2026 18:11
Contributor
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 19, 2026
…w#176313) Decision references added by openclaw#176133 were being treated as direct chat provider IDs before the existing Decision contract-owner lookup. When the provider and plugin IDs differ, metadata selection falls back to the whole inventory. Provider activation still works, but startup does extra work. Let the existing capability lookup own Decision refs and preserve direct provider validation for the other configured models. Keep the per-agent regression and cover default Decision selection with the same contract. Validation: exact current-main failure reproduced in 31.49s. Native Bun startup siblings passed (15 tests, 45.02s); channel metadata siblings passed (87 tests, 18.86s). Core/test types, targeted lint/format, full packaged build (4m33.5s), and independent P2 review passed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Decision-only configurations fall back to the complete startup metadata inventory when their provider ID differs from the owning plugin ID.
User Impact
Restores narrow metadata selection for per-agent and default Decision models. The existing fallback still loaded the provider; this fixes unnecessary discovery work, not a proven loss of Decision execution.
Why This Change Was Made
Related: #176133. That change deliberately added capability-tagged Decision references to the shared configured-model collector. The startup validation reader treated those references as direct conversational provider IDs before the existing
decisionProviderscontract-owner lookup could run. Keep those references with the capability owner instead. No new lookup, cache, or fallback is needed.Evidence
pnpm buildpassed in 4m 33.5s, including declarations, public SDK export checks, and the Control UI build.