Skip to content

refactor(auto-reply): privatize reply helpers - #106600

Merged
steipete merged 1 commit into
mainfrom
codex/burn-dead-exports-auto-reply-reply-internals
Jul 13, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/burn-dead-exports-auto-reply-reply-internals

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Related: #105595

What Problem This Solves

The production dead-export ratchet still carried nine src/auto-reply/reply/** helpers whose only external consumers were tests.

Why This Change Was Made

Make eight reply helpers module-private, delete one unused dispatcher cleanup helper, and move tests onto retained production paths. No CLI, config, plugin SDK, or runtime behavior changes.

User Impact

No user-visible change. The dead-export baseline shrinks from 2,503 to 2,494 entries, and the exact core src/auto-reply/** group shrinks from 49 to 40.

Evidence

  • Signed head: 9ec71555d7ac5cca22d12de1d696234f01533121
  • Blacksmith Testbox: tbx_01kxe63s7ytt6gbr19mbvkvrsj
  • pnpm deadcode:exports:update: byte-stable baseline regeneration at 2,494 entries
  • pnpm deadcode:exports: exact match at 2,494 entries
  • Focused tests: 120/120 passed across auto-reply, gateway, and agent callers
  • pnpm check:test-types: passed
  • pnpm tsgo:core: passed
  • Targeted oxfmt and type-aware oxlint: passed
  • git diff --check origin/main...HEAD: passed
  • Fresh autoreview: clean, confidence 0.96
  • Current-main merge-tree: clean; no touched-path or baseline overlap

Diff shape: production +8/-19, tests +66/-147, baseline +0/-9; total +74/-175.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime scripts Repository scripts agents Agent runtime and tooling size: M maintainer Maintainer-authored PR labels Jul 13, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready proof for signed head 9ec71555d7ac5cca22d12de1d696234f01533121:

  • Blacksmith Testbox tbx_01kxe63s7ytt6gbr19mbvkvrsj
  • pnpm deadcode:exports:update: byte-stable regeneration at 2,494 entries
  • pnpm deadcode:exports: exact match at 2,494
  • Focused auto-reply, gateway, and agent tests: 120/120 passed
  • pnpm check:test-types: passed
  • pnpm tsgo:core: passed
  • Targeted oxfmt and type-aware oxlint: passed
  • git diff --check origin/main...HEAD: passed
  • Fresh autoreview: zero findings, confidence 0.96
  • Native review artifact: READY, zero findings

Ratchet delta: total 2,503 → 2,494; anchored core src/auto-reply/** 49 → 40. Current-main merge-tree is clean with no touched-path or baseline overlap. No known proof gaps for this internal-only cleanup.

@steipete

Copy link
Copy Markdown
Contributor Author

Focused maintainer override: repo-native prepare stopped only because the exact-head CI workflow was still in progress (29269307637), not because a relevant gate failed. Exact-head check-dependencies, check-prod-types, guards, security, and contract checks already pass; the focused Testbox proof covers deadcode, 120 tests, test types, core types, format, and lint. Proceeding with the user-authorized relaxed-CI merge on the frozen signed head.

@steipete
steipete merged commit edbcf11 into main Jul 13, 2026
139 of 144 checks passed
@steipete
steipete deleted the codex/burn-dead-exports-auto-reply-reply-internals branch July 13, 2026 17:12
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 14, 2026
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 scripts Repository scripts size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant