Skip to content

refactor(auto-reply): trim internal dead exports - #107678

Merged
steipete merged 2 commits into
mainfrom
codex/burn-dead-exports-auto-reply-wave
Jul 14, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/burn-dead-exports-auto-reply-wave

Conversation

@steipete

Copy link
Copy Markdown
Contributor

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

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: L maintainer Maintainer-authored PR labels Jul 14, 2026
@steipete
steipete merged commit 9daef57 into main Jul 14, 2026
41 of 45 checks passed
@steipete
steipete deleted the codex/burn-dead-exports-auto-reply-wave branch July 14, 2026 17:06
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR scripts Repository scripts size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant