Skip to content

refactor(plugin-sdk)!: retire unused command-auth, discord, and telegram-account facades - #163366

Merged
steipete merged 4 commits into
mainfrom
steipete/sdk-retire-unused-facades
Oct 2, 2026
Merged

steipete merged 4 commits into
mainfrom
steipete/sdk-retire-unused-facades

Conversation

@steipete

@steipete steipete commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Retires three unused Plugin SDK compatibility facades: openclaw/plugin-sdk/command-auth, openclaw/plugin-sdk/discord, and openclaw/plugin-sdk/telegram-account.

Why This Change Was Made

Peter Steinberger, the Plugin SDK owner, explicitly approved early removal of these three public subpaths on October 2, 2026. The audit found no bundled runtime imports. Remove their modules, compatibility registrations, package exports, catalog entries, and obsolete tests; keep active shared implementations and the facade loader. Shrink the SDK budgets by exactly 3 entrypoints, 128 exports, 79 callable exports, and 128 deprecated exports.

Three tests in the former command-auth suite protect surviving public contracts: prepared model metadata isolation, the native authorization result, and command-status output. Those cases move to their focused SDK subpaths. The deprecation scanner's diagnostic-order case uses another still-deprecated subpath.

The dependency/export scan exposed 15 internal export sites left unused by the retirement. Remove redundant reexports or make active helpers/types private, and delete the two dead leaf wrappers isCommandMessage and resolveDualTextControlCommandGate. Keep the active formatting, normalization, and authorization implementations, and retarget existing tests through their surviving APIs. No other public SDK subpath loses an exported name.

User Impact

Breaking change: third-party plugins importing any of the three removed subpaths must migrate before loading on a host containing this removal. Owner approval does not certify external migration. No official external plugin at latest or extended-stable imports these subpaths. The only published @openclaw/discord releases that do (2026.3.7–3.13 and 2026.5.2) already import subpaths that main removed earlier, so they cannot load today either; see the published-consumer evidence comment. Bundled Discord and Telegram behavior stays unchanged.

Use channel-ingress-runtime for sender authorization, command-auth-native for its matching native command helpers, command-status for help builders, and models-provider-runtime for model-provider helpers. Discord and Telegram behavior stays plugin-owned: repository consumers use their api.ts / runtime-api.ts barrels; external plugins use generic channel contracts and injected runtime helpers. Some named exports and facade-specific types require caller adaptation, not a path-only substitution. The migration docs describe those limits; private-local host exports are not replacements.

Evidence

  • Diff: production/tooling +15 / -794 (net -779); tests +134 / -560 (net -426); docs +56 / -14 (net +42).

  • No bundled runtime imports of the three retired subpaths; every exported name audited against its remaining owner. Active shared implementations and facade-loader.ts remain intact.

  • pnpm plugin-sdk:sync-exports: generated only the three intended package-export removals. git diff --check: passed.

  • Codex autoreview: scoped-clean at P2, no accepted/actionable findings.

  • Local single-file fallback checks: deprecation scanner 6/6 passed (2.82 s command wall with one worker); native-command SDK 2/2 passed (48.93 s command wall, 297 ms assertions); command-status SDK 1/1 passed (60.43 s command wall, 3 ms assertions). The latter two retain existing contracts; their cold worker/compiler preparation dominates wall time. No timers or process boots were added to the tests.

  • Blacksmith Testbox tbx_01m3xhtt8wdzfmwd0tn8hwavs2, backing run https://github.com/openclaw/openclaw/actions/runs/36969715426:

    • pnpm plugin-sdk:sync-exports clean (0.14 s); pnpm plugin-sdk:check-exports passed (0.14 s); pnpm plugin-sdk:surface:check passed (5.49 s); pnpm plugins:boundary-report passed (2.26 s).
    • pnpm build passed (531.84 s).
    • pnpm test:extension discord passed: 3,301 tests / 277 files (135.36 s).
    • pnpm test:extension telegram passed: 2,438 tests / 173 files (1,827.42 s).
    • pnpm test src/plugins/contracts/plugin-sdk-subpaths.test.ts --maxWorkers=1: 18/18 passed (29.74 s).
    • pnpm test src/secrets/channel-contract-surface-guardrails.test.ts --maxWorkers=1: 14/14 passed (2.36 s).
    • pnpm test src/plugins/contracts/plugin-sdk-package-contract-guardrails.test.ts --maxWorkers=1: 18/18 passed (22.66 s).
  • Full changed-lanes validation is deferred to PR CI by explicit maintainer instruction. The previous env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 node scripts/check-changed.mjs run was interrupted after 24 passing test-type shards, including Plugin SDK. Its backing Testbox workflow was cancelled; the wrapper returned 255 after 3,984.572 s and the lease had no host. No compiler/test failure was printed. This is partial proof, not a passing full gate.

  • Infrastructure history: Testbox tbx_01m3xgcfgrz14csnfyvn8qevjd timed out waiting for a host after 15 minutes; tbx_01m3xhtt8wdzfmwd0tn8hwavs2 completed the build/suites above before its workflow cancellation. Both leases were stopped. A preliminary capsule attempt stopped because editing overlapped source freezing and ran no tests.

  • Main was merged at b56164e4067c0a931fedb4faa2170d78b220f88d after its MCP SDK dependency patch changed package.json; the original facade-removal patch merged unchanged, with the bounded export cleanup added afterward. Earlier build and suite evidence above belongs to the pre-merge candidate 26e1400390e6d3637d6050f0d2a9ae10c97c4afb.

  • Before the CI refresh below, the retirement/export cleanup was validated on the single fresh Blacksmith Testbox tbx_01m3xpy5rnkkcagpvh6ec91p9t, backing run https://github.com/openclaw/openclaw/actions/runs/36976803864. The tested source tree is 8c67f7189c28ab0f507e0f465a2ed9090295a485. All required remaining gates passed, and the lease was stopped. Results below are wrapper-command exit statuses recorded before lease cleanup:

    • pnpm plugin-sdk:sync-exports: clean after merging main (0.18 s).
    • pnpm plugin-sdk:check-exports: passed on the retirement/export cleanup (0.17 s).
    • pnpm plugin-sdk:surface:check: passed on the retirement/export cleanup (6.49 s).
    • pnpm check:architecture: passed (164.48 s).
    • pnpm deadcode:dependencies: passed both Knip scans (112.26 s).
    • pnpm deadcode:unused-files: passed production and full-tree scans with zero entries (68.04 s).
    • pnpm test src/auto-reply/commands-registry.test.ts --maxWorkers=1: 42/42 passed (23.64 s).
    • pnpm test src/channels/command-gating.test.ts --maxWorkers=1: 9/9 passed (1.55 s).
  • The first dependency/export scan on this lease failed on the orphaned internal exports described above. Those findings were fixed without suppressions or baseline growth, then the focused tests, SDK checks, and all three remaining gates passed. Fresh Codex autoreview of the complete final diff was scoped-clean at P2.

  • PR CI is not awaited, per maintainer instruction.

  • CI refresh after main fixes: merged 0f470aecdc1208c34df6f233371ff1d6e7484d25, including d81a2d8b7294 (duplicate prepared-model logger property) and the command-custody type-cycle fix, in merge commit 782996fd272cba5e80dfa4cad3603b4135063728. The PR patch is unchanged, and no new imports of the three retired SDK subpaths were found.

  • The merged tree was checked on Blacksmith Testbox tbx_01m3xv25dm3b0znz1fm6smygn6 (backing run). The tested source tree a2eb5ddb1a54d13af2748fafefd44848fbfa4e8c matches the merge commit:

    • pnpm plugin-sdk:sync-exports: passed and clean; all generated export files unchanged (0.19 s).
    • pnpm plugin-sdk:check-exports: passed (0.19 s).
    • pnpm plugin-sdk:surface:check: passed (7.23 s).
    • pnpm check:architecture: passed; runtime and Madge cycle checks both reported zero cycles (169.93 s).
    • node scripts/run-vitest.mjs extensions/codex/src/app-server/run-attempt-thread-cleanup.test.ts: 8 failed, 7 passed (91.93 s), reproducing the additional model/list request in the request-sequence assertions from CI job 110749981855. No Codex test or runtime fixes were made in this PR, as requested.
  • The nonzero validation batch result above is the Codex test failure; the four requested repository checks passed. The Testbox was stopped, the fresh P2 review was scoped-clean, and the branch was pushed normally. No auto-merge or PR merge was requested; new PR CI is not awaited.

Release-note context: Plugin SDK: removed the deprecated command-auth, discord, and telegram-account subpaths; migrate to channel ingress, focused native-command/status/model-provider SDK helpers, and generic channel contracts or plugin-owned APIs as appropriate.

Retire command-auth, discord, and telegram-account with explicit SDK-owner approval on October 2, 2026. Preserve bundled plugin behavior and document the breaking migration for external callers.
@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: XL labels Oct 2, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 2, 2026
@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 2, 2026, 5:07 AM ET / 09:07 UTC (Revision 3).

ClawSweeper review

What this changes

Removes three deprecated Plugin SDK import paths, trims orphaned internal exports, moves surviving contract tests, and documents replacement APIs.

Merge readiness

⛔ Blocked before merge - 2 items remain

The owner-approved retirement remains necessary on current main, and no introduced correctness defect was found. The published-consumer audit materially narrows the compatibility concern, but does not establish installed-package loading after fresh installation or host upgrade.

Priority: P2
Reviewed head: 782996fd272cba5e80dfa4cad3603b4135063728

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is coherent and has substantial focused validation, but installed-consumer upgrade confidence remains incomplete.
Proof confidence 🌊 off-meta tidepool Not applicable: Verified repository-admin authorship exempts ordinary contributor runtime proof. Reported suites and export checks cover the surviving SDK owners, and the static published-consumer audit narrows import exposure; it does not demonstrate fresh or upgraded installed-package loading. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Verified repository-admin authorship exempts ordinary contributor runtime proof. Reported suites and export checks cover the surviving SDK owners, and the static published-consumer audit narrows import exposure; it does not demonstrate fresh or upgraded installed-package loading. No stored-data contract changes.
Evidence reviewed 10 items Pinned introduced changes: Reviewed the merge-base-to-head hunks, including complete deleted facade implementations and tests. Package exports, inventories, compatibility records, documentation, and budgets remove the same three subpaths. The supplied test merge is stale and was not used to infer removal of current-main behavior.
Retirement is not already implemented: Fetched main still exports command-auth, discord, and telegram-account. The latest release also exposes those paths; this branch therefore retains a distinct contribution.
Latest-release export contract: Read the release-tag package manifest through GitHub; all three retired paths remain exported in v2026.9.7.
Findings None None.
Security None None.

How this fits together

The Plugin SDK connects installed plugins to OpenClaw’s shared channel and command capabilities. Package exports determine which SDK imports plugins can resolve before their runtime loads.

flowchart TD
  A[Installed plugin] --> B[SDK import request]
  B --> C[Package export map]
  C --> D[Supported focused SDK]
  C --> E[Removed legacy path]
  D --> F[Shared command or channel owner]
  E --> G[Import failure requiring migration]
Loading

Before merge

  • Resolve merge risk (P1) - Fresh installation and host-upgrade loading of a compatible published external plugin remain unverified; the static consumer audit does not exercise installed package resolution.
  • Complete next step (P2) - Record compatible published-plugin loading on fresh and upgraded candidate installations.
Agent review details

Security

None.

PR surface

Source -753, Tests -426, Docs +42, Config -12, Other -14. Total -1163 across 34 files.

View PR surface stats
Area Files Added Removed Net
Source 11 8 761 -753
Tests 10 134 560 -426
Docs 6 56 14 +42
Config 1 0 12 -12
Generated 0 0 0 0
Other 6 7 21 -14
Total 34 205 1368 -1163

Review metrics

Metric Value Why it matters
Public SDK retirement 3 import paths; 128 export paths and 79 callable exports removed The export-map removals and matching budget reductions define the deliberate compatibility boundary.

Merge-risk options

Maintainer options:

  1. Verify installed consumer loading (recommended)
    Record a compatible published plugin loading on both a fresh candidate installation and an existing installation upgraded to the candidate host.

Technical review

Best possible solution:

Complete the approved retirement with focused installed-package loading evidence for fresh and upgraded hosts, retaining the documented caller-adaptation guidance.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this is an intentional API retirement, and the reviewed diff does not establish an introduced runtime bug.

Is this the best way to solve the issue?

Yes: removing unused facades and their registrations together preserves one implementation owner, with focused replacements documented; installed-consumer validation remains incomplete.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 6000ebd389bf.

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.

Label justifications:

  • P2: This is a bounded SDK cleanup with explicit migration impact and no demonstrated urgent runtime regression.
  • merge-risk: 🚨 compatibility: Unmigrated third-party plugins intentionally lose import resolution under the accepted removal decision, while installed-consumer loading verification remains outstanding.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Verified repository-admin authorship exempts ordinary contributor runtime proof. Reported suites and export checks cover the surviving SDK owners, and the static published-consumer audit narrows import exposure; it does not demonstrate fresh or upgraded installed-package loading. No stored-data contract changes.

Evidence

What I checked:

  • Pinned introduced changes: Reviewed the merge-base-to-head hunks, including complete deleted facade implementations and tests. Package exports, inventories, compatibility records, documentation, and budgets remove the same three subpaths. The supplied test merge is stale and was not used to infer removal of current-main behavior. (package.json:1036, 782996fd272c)
  • Retirement is not already implemented: Fetched main still exports command-auth, discord, and telegram-account. The latest release also exposes those paths; this branch therefore retains a distinct contribution. (package.json:1041, 6000ebd389bf)
  • Latest-release export contract: Read the release-tag package manifest through GitHub; all three retired paths remain exported in v2026.9.7. (package.json:1043, c074824a27c9)
  • Accepted compatibility tradeoff: The PR body and migration timeline expressly record Peter Steinberger’s approval to close these compatibility windows. Unmigrated third-party imports will fail, and some callers require adaptation rather than a path substitution. This accepted removal does not require renewed product acceptance. Public docs: docs/plugins/sdk-migration/removal-timeline.md. (docs/plugins/sdk-migration/removal-timeline.md:64, 782996fd272c)
  • Verified author authority: GitHub reports steipete has repository-admin permission, corroborating trusted-author treatment despite the CONTRIBUTOR association returned by the pull endpoint.
  • New published-consumer evidence: The captured comment refactor(plugin-sdk)!: retire unused command-auth, discord, and telegram-account facades #163366 (comment) reports scanning 67 published tarballs across 34 official packages at latest and extended-stable, finding no retired imports. Six older Discord versions using these paths also import already-removed paths. This positively addresses the consumer inventory, but the reported procedure is static inspection rather than package-loading execution.

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Record a compatible published external plugin loading after fresh installation and host upgrade.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-02T07:38:23.688Z sha dfd3c95 :: blocked before merge. :: none
  • reviewed 2026-10-02T08:41:35.658Z sha 782996f :: blocked before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Oct 2, 2026
@steipete

steipete commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

Published consumer evidence for the three retired subpaths

This answers the installed-package and upgrade item in the ClawSweeper review. It scans the published npm tarballs (static import strings, no execution) for openclaw/plugin-sdk/discord, openclaw/plugin-sdk/command-auth (excluding command-auth-native), and openclaw/plugin-sdk/telegram-account.

Every official external plugin, as installs resolve it today: the latest (2026.9.7) and extended-stable (2026.8.34) versions of all 34 npm packages in scripts/lib/official-external-plugin-catalog.json, 67 tarballs in total. None imports a retired subpath. As a control, @openclaw/[email protected] matches plugin-sdk/command-auth-native twice, so the pattern does see real SDK imports.

Older @openclaw/discord releases: I scanned every stable release from 2026.3 through 2026.5.2x, plus spot checks of 2026.1.29, 2026.2.21, 2026.5.26, 2026.5.28, 2026.6.1, 2026.7.35 and 2026.8.34. Only six releases reference a retired subpath, and each already imports at least one subpath that current main removed before this PR:

Release Retired here Already gone on main
2026.3.7, 3.10, 3.11, 3.12, 3.13 plugin-sdk/discord plugin-sdk/compat
2026.5.2 plugin-sdk/command-auth 15 subpaths, including channel-lifecycle, outbound-runtime and text-runtime

Those releases already cannot resolve their imports on a current host, so this PR does not newly strand any published official plugin. Fresh installs get the newest compatible version, which is clean. On upgrade, an existing install of a current release keeps loading because it never imported these paths. Third-party plugins outside the catalog that still use these facades must migrate, as the removal timeline and the import-path table document. That is the break the SDK owner approved.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Oct 2, 2026
@steipete

steipete commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

Landing over inherited reds only

Every failing check on head 782996fd272c (run https://github.com/openclaw/openclaw/actions/runs/36984706050) also fails on main, and this PR changes none of the files involved:

  • checks-node-changed-extensions-bundle-5, -8 and -10 fail only in extensions/codex/src/app-server/run-attempt-thread-cleanup.test.ts, run-attempt.context-engine.test.ts, run-attempt.context-engine-overflow.test.ts and run-attempt.subscription.test.ts. Each one expects an app-server request sequence that is now one "model/list" short. The cause is b56164e (feat(codex): request Ultrafast by default when the catalog advertises it #163320, Ultrafast catalog lookup by default), which updated only some of the Codex sequence tests. I reproduced it on clean main 2ab22d8 (run-attempt-thread-cleanup.test.ts: 8 failed, 7 passed). The test update is in progress as a separate red-main fix.
  • checks-node-changed-3 fails only in src/plugins/contracts/extension-package-project-boundaries.test.ts, because refactor(sessions): move memory inventory reads into history worker #163234 imported core types directly in the memory-host-sdk transcript corpus. I reproduced it on clean main 3831af5, and it is fixed on main by 2516be9.
  • openclaw/ci-gate is the aggregate of the checks above.

This PR touches nothing under extensions/codex/ or packages/memory-host-sdk/, and nothing in that boundary test. ClawSweeper reported no findings. Its installed-package and upgrade item is answered by the published-consumer scan in the comment above.

@steipete
steipete merged commit 0d530ea into main Oct 2, 2026
271 of 277 checks passed
@steipete
steipete deleted the steipete/sdk-retire-unused-facades branch October 2, 2026 09:09
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 3, 2026
…ram-account facades (openclaw#163366)

Retire the public plugin-sdk/command-auth, plugin-sdk/discord, and plugin-sdk/telegram-account subpaths early, with the Plugin SDK owner's approval (2026-10-02). No bundled runtime imports them. No official external plugin at latest or extended-stable imports them either, and the only older @openclaw/discord releases that did (2026.3.7-3.13, 2026.5.2) already import subpaths main removed earlier.

Remove the modules, package exports, entrypoint inventory, compat registrations, and obsolete tests. Move the three surviving contract tests to their focused SDK subpaths. Drop 15 internal exports orphaned by the retirement and the dead isCommandMessage and resolveDualTextControlCommandGate wrappers. Shrink the SDK surface budgets by exactly 3 entrypoints, 128 exports, 79 callable exports, and 128 deprecated exports.

Breaking change for third-party plugins that import these paths: use channel-ingress-runtime, command-auth-native, command-status, or models-provider-runtime, as described in docs/plugins/sdk-migration/import-paths.md and the removal timeline.

Landed over inherited main reds only (Codex model/list sequence tests from openclaw#163320, the memory-host-sdk boundary test fixed by 1663d1f).
steipete added a commit that referenced this pull request Oct 3, 2026
Complete the dead-code ownership cleanup after the SDK facade retirement. Keep the command-choice, live-preview, and realtime-liveness definitions and callable signatures while removing only unused source export modifiers and the redundant command context reexport.

The retired command-auth subpath was already removed by #163366 with SDK-owner approval; no current SDK entrypoint or named public export changes. Native TypeScript erasure yields identical JavaScript for all three modules. Full deadcode:full, the core typecheck with isolated dependencies, and independent P2 review pass.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 4, 2026
Complete the dead-code ownership cleanup after the SDK facade retirement. Keep the command-choice, live-preview, and realtime-liveness definitions and callable signatures while removing only unused source export modifiers and the redundant command context reexport.

The retired command-auth subpath was already removed by openclaw#163366 with SDK-owner approval; no current SDK entrypoint or named public export changes. Native TypeScript erasure yields identical JavaScript for all three modules. Full deadcode:full, the core typecheck with isolated dependencies, and independent P2 review pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant