Skip to content

refactor(core): remove stale internal exports#100856

Merged
vincentkoc merged 2 commits into
mainfrom
refactor/deadcode-full-sweep-20260706-v3
Jul 6, 2026
Merged

refactor(core): remove stale internal exports#100856
vincentkoc merged 2 commits into
mainfrom
refactor/deadcode-full-sweep-20260706-v3

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Closes #100854

What Problem This Solves

Resolves a maintenance problem where stale internal exports left duplicate lifecycle, loader, registry, and plugin-runtime paths after their production callers had moved or disappeared.

Why This Change Was Made

The change removes graph-verified definition-only helpers, including a ClawHub endpoint client accidentally reintroduced after an earlier cleanup. Tests now exercise the canonical production seam or keep test-only literals local. Manifest-loaded hooks and public plugin SDK/protocol exports were deliberately preserved.

User Impact

No user-visible behavior changes. The internal runtime surface is smaller and has fewer misleading or duplicate paths.

Evidence

  • Codebase-memory graph: 272,931 nodes and 1,087,146 edges after indexing the rebased branch.
  • Focused Blacksmith Testbox proof: 197 tests passed across worktree registry, session lifecycle, plugin loading/metadata, host hooks, runtime facade, and retention.
  • pnpm check:changed on Testbox tbx_01kwvgdznssnm9ax170cgccvxs: core, core-test, extension, and extension-test typechecks passed; full core and extension lint passed; import-cycle and policy guards passed.
  • Fresh Codex autoreview: no accepted/actionable findings.
  • Diff: 17 files, 14 insertions, 262 deletions.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime agents Agent runtime and tooling size: M maintainer Maintainer-authored PR labels Jul 6, 2026
@vincentkoc vincentkoc self-assigned this Jul 6, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review July 6, 2026 11:13
@blacksmith-sh

This comment has been minimized.

@vincentkoc

Copy link
Copy Markdown
Member Author

Land-ready proof for exact head ca5227eed89ce6e9ba51747aab72badbc7a8a765:

No known proof gaps.

@vincentkoc
vincentkoc merged commit ab53491 into main Jul 6, 2026
228 of 235 checks passed
@vincentkoc
vincentkoc deleted the refactor/deadcode-full-sweep-20260706-v3 branch July 6, 2026 11:43
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 7, 2026
* refactor(core): remove reintroduced unused helpers

* refactor(core): remove test-only production seams
giodl73-repo pushed a commit to giodl73-repo/openclaw that referenced this pull request Jul 8, 2026
* refactor(core): remove reintroduced unused helpers

* refactor(core): remove test-only production seams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling gateway Gateway runtime maintainer Maintainer-authored PR size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove stale internal exports retained only for tests

1 participant