Repository navigation
refactor(shared): privatize requirement helpers - #106837
Merged
Merged
Conversation
vincentkoc
marked this pull request as ready for review
July 13, 2026 21:50
Member
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 14, 2026
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 shared requirements evaluator exposed seven lower-level production helpers only so tests could call its internal decomposition directly. That kept private implementation details in the dead-export baseline and made the owner boundary look wider than runtime callers actually use.
Why This Change Was Made
This maintainer-requested dead-code sweep makes the lower-level evaluators module-private and exercises their behavior through
evaluateRequirementsFromMetadataWithRemote, the wrapper used by entry-status runtime consumers. This preserves binary, environment, config, OS, remote-capability, andalwaysbehavior while removing seven obsolete export exemptions.User Impact
No user-visible behavior changes. The internal requirements surface is smaller, tests follow the production path, and the batch removes 48 net lines.
Evidence
c3191845ef4be73eb6a023a7037876487a82e965.evaluateRequirementsFromMetadataWithRemote.pnpm check:changed: passedpnpm deadcode:exports: baseline matched 1,289 entriesgpt-5.6-solmedium autoreview: clean, confidence 0.96.