Repository navigation
refactor(auto-reply): trim internal dead exports - #107678
Merged
Merged
Conversation
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 15, 2026
* refactor(auto-reply): trim internal exports * chore(deadcode): refresh unused export baseline
zooqueen
pushed a commit
to zooqueen/openclaw
that referenced
this pull request
Sep 11, 2026
* refactor(auto-reply): trim internal exports * chore(deadcode): refresh unused export baseline
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.
Related: #105595
What Problem This Solves
The dead-export ratchet still grandfathered 14 internal auto-reply symbols. Tests imported several implementation helpers directly, keeping those exports alive and widening internal module boundaries.
Why This Change Was Made
This removes or privatizes the 14 verified internal exports and migrates meaningful coverage through retained production entry points. Runtime-mode metadata now has one real internal production owner; no synthetic production consumer was added. Thirteen stateful, testing, or policy seams remain grandfathered where a clean production-boundary migration was not available.
User Impact
No user-visible behavior or public CLI/API contract changes. Internal auto-reply surface becomes smaller and tests better reflect production paths.
Evidence
Dead-export baseline: 596 to 582; anchored src/auto-reply count: 27 to 13.
Fresh Testbox generation byte-stable; exact deadcode check matched all 582 entries.
Focused Testbox: 17 files, 609 tests passed.
Type-aware Oxlint: 0 warnings, 0 errors; tsgo core and test types passed.
Fresh branch autoreview: clean, 0.96 confidence.
Production non-test diff excluding baseline: +45/-47, net -2 LOC.
Final rebase drift was limited to a disjoint plugin tar-recursion test.
AI-assisted
I understand the code and reviewed the retained boundaries