Skip to content

refactor(memory): remove unused runtime facade exports#101583

Merged
vincentkoc merged 1 commit into
mainfrom
refactor/deadcode-all-surfaces-20260707-v39
Jul 7, 2026
Merged

refactor(memory): remove unused runtime facade exports#101583
vincentkoc merged 1 commit into
mainfrom
refactor/deadcode-all-surfaces-20260707-v39

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

The private memory host SDK retained runtime facade exports that had no production consumers. Config reset helpers were also routed through the session facade solely for one package-local test.

Why This Change Was Made

Remove the unused SQLite WAL default and config reset re-exports. The package test now imports config reset helpers from the existing public runtime-config snapshot SDK subpath.

User Impact

No user-visible behavior changes. The private memory host bridge exposes fewer unused core symbols and keeps test-only reset access on its canonical SDK seam.

Evidence

  • pnpm check:changed passed in Blacksmith Testbox tbx_01kwy1zzdzt1wns6venftmwqxe.
  • Focused Testbox proof passed twice after live main rebases: 38 session-file tests and 8 package-boundary contract tests.
  • oxfmt --check passed for all five changed files.
  • Two fresh Codex autoreviews reported no actionable findings, each at 0.86 confidence.
  • git diff --check passed.

AI-assisted: yes. The implementation and validation evidence were reviewed before submission; transcript attachment was declined.

@vincentkoc vincentkoc self-assigned this Jul 7, 2026
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Jul 7, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

Land-ready verification complete.

Change:

  • Removed three unused SQLite WAL default exports from the private memory host runtime/IO/WAL facade chain.
  • Removed two config-reset exports used only by one package test; the test now imports the canonical openclaw/plugin-sdk/runtime-config-snapshot seam.
  • Diff: 5 files, +4/-14. No runtime behavior changes.

Proof:

  • Blacksmith Testbox provider, lease tbx_01kwy1zzdzt1wns6venftmwqxe.
  • corepack pnpm check:changed passed.
  • corepack pnpm test:serial packages/memory-host-sdk/src/host/session-files.test.ts src/plugins/contracts/extension-package-project-boundaries.test.ts passed twice after live-main rebases: 46 tests total each run.
  • corepack pnpm exec oxfmt --check packages/memory-host-sdk/src/host/openclaw-runtime-io.ts packages/memory-host-sdk/src/host/openclaw-runtime-session.ts packages/memory-host-sdk/src/host/openclaw-runtime.ts packages/memory-host-sdk/src/host/session-files.test.ts packages/memory-host-sdk/src/host/sqlite-wal.ts passed.
  • git diff --check passed.
  • Two fresh Codex autoreviews reported no actionable findings, each at 0.86 confidence.
  • Codebase-memory graph refreshed after the final live-main rebase: 280,630 nodes / 1,126,073 edges.

Known proof gaps: none for this behavior-neutral private-surface cleanup.

@vincentkoc
vincentkoc marked this pull request as ready for review July 7, 2026 10:57
@vincentkoc
vincentkoc merged commit 098b471 into main Jul 7, 2026
107 of 109 checks passed
@vincentkoc
vincentkoc deleted the refactor/deadcode-all-surfaces-20260707-v39 branch July 7, 2026 10:57
@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

maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant