Skip to content

refactor(signal): localize internal declarations#102042

Merged
vincentkoc merged 1 commit into
mainfrom
refactor/deadcode-all-surfaces-20260708-v85
Jul 8, 2026
Merged

refactor(signal): localize internal declarations#102042
vincentkoc merged 1 commit into
mainfrom
refactor/deadcode-all-surfaces-20260708-v85

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

Signal still exported seven declaration-only implementation types that have no consumers outside their defining modules. That unnecessarily widens the plugin's internal TypeScript surface.

Why This Change Was Made

Repository-wide search and the refreshed codebase-memory graph found no external consumers. Signal's public API and runtime barrels export the owning functions and intentional contract types, not these helper declarations, so they can remain module-local without changing runtime behavior or callable shapes.

User Impact

None. This is a dead-export cleanup; Signal runtime behavior and public entrypoints are unchanged.

Evidence

  • Changed gates passed on Testbox tbx_01kx02pxt11qyq0wh0bfhbh8gb
  • pnpm test:serial extensions/signal: 31 files, 481 tests passed
  • pnpm build: passed, including declaration generation and plugin SDK export checks
  • local autoreview: clean, confidence 0.87
  • committed branch autoreview: clean, confidence 0.91
  • git diff --check: passed

@vincentkoc vincentkoc self-assigned this Jul 8, 2026
@openclaw-barnacle openclaw-barnacle Bot added channel: signal Channel integration: signal size: XS maintainer Maintainer-authored PR labels Jul 8, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

Land-ready proof for cf3950ca633a4aa03000d78d24d40314960e56ef:

  • Refreshed codebase-memory graph plus exact repository search found no consumers outside the seven defining Signal modules.
  • Signal's public api.ts, runtime barrels, and plugin entrypoint do not export these helper declarations.
  • Testbox tbx_01kx02pxt11qyq0wh0bfhbh8gb, Actions run https://github.com/openclaw/openclaw/actions/runs/28919501708:
    • changed gates passed, including runtime/test typechecks, lint, and import-cycle checks
    • pnpm test:serial extensions/signal: 31 files, 481 tests passed
    • pnpm build: passed, including declaration generation and plugin SDK export checks
  • Fresh autoreview passed twice with no findings: local confidence 0.87; committed branch confidence 0.91.
  • scripts/pr review-validate-artifacts 102042: passed.
  • OPENCLAW_TESTBOX=1 scripts/pr prepare-run 102042: passed; prep SHA exactly matches the PR head.

Known proof gaps: none for this declaration-only internal visibility cleanup.

@vincentkoc
vincentkoc marked this pull request as ready for review July 8, 2026 05:28
@vincentkoc
vincentkoc merged commit ee6c576 into main Jul 8, 2026
108 of 114 checks passed
@vincentkoc
vincentkoc deleted the refactor/deadcode-all-surfaces-20260708-v85 branch July 8, 2026 05:28
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: signal Channel integration: signal maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant