Repository navigation
fix(ci): keep internal runtime helpers private - #201017
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review endedClawSweeper stopped reviewing this revision because the pull request closed. |
vincentkoc
marked this pull request as ready for review
November 18, 2026 05:57
vincentkoc
enabled auto-merge (squash)
November 18, 2026 05:57
This was referenced Nov 18, 2026
Member
Author
|
Merged via squash auto-merge.
|
This was referenced Nov 18, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 19, 2026
* fix(ci): keep internal runtime helpers private * test: derive model request event from public hook contract
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
The scheduled main dependency check reports unused exports from four internal runtime modules. Production consumers use the containing public contracts, rather than these leaf names.
User Impact
No user-visible behavior or Plugin SDK contract changes. Public containing types and their members remain available.
Why This Change Was Made
Keep the GBrain asset selector, requester wake scope, and hook/metric leaf types private. This removes eight unnecessary export declarations without changing implementations or the Knip rules. The provider-policy test derives its event type from the retained public hook contract; its assertions are unchanged.
Evidence
08cb881bf7ed1751c6f61a9197cb13099b6add83.5e677bad858c331ec7db0a547bebf0b15e4786d4. No SDK barrel/package exports these eight names. The one test importing the hook event type now derives it from the retained public hook contract; containing API types and signatures are unchanged.git diff --checkpass.