refactor(agents): remove dead internal test seams#106956
Merged
Merged
Conversation
Contributor
Author
|
Land-ready proof for exact head
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 14, 2026
* refactor(channels): remove dead action discovery reset * refactor(agents): remove dead internal test seams
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
Production-mode Knip still grandfathered 20 internal agent exports used only by tests. Those exports kept test-only state, dependency-injection hooks, schemas, constants, and pure helpers on production module surfaces.
Why This Change Was Made
The agent tests now exercise retained production entry points or canonical owner modules instead of exported test seams. The matching baseline rows are deleted. Newly exposed façade exports are removed without adding baseline entries. The cross-subsystem message-action reset cascade stays isolated in its own conventional commit.
User Impact
No documented CLI, plugin SDK, configuration, or runtime behavior changes. Internal module surfaces shrink; meaningful policy, parsing, media, timeout, schema, and cleanup coverage remains.
Evidence
src/agents/**is 239, down from 259.tbx_01kxf2trfd999gw1gp6pqtzft4, Actions run 29297908599: exact regeneration,deadcode:exports, and 20 focused files passed (523 tests; 4 Windows-only skips).tsgo:core, andcheck:test-typespassed.