Skip to content

feat(memory): add a provider-neutral memory provider runtime - #162175

Merged
jalehman merged 2 commits into
mainfrom
feat/memory-provider-runtime
Oct 2, 2026
Merged

jalehman merged 2 commits into
mainfrom
feat/memory-provider-runtime

Conversation

@jalehman

@jalehman jalehman commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Memory consumers can only read a file-backed search manager, so a memory plugin whose records are not workspace files cannot serve recall.

User Impact

Existing installs are unchanged. When Memory Core or any runtime-only (V1) memory plugin owns the slot, every consumer runs main's code path, producing the same results, prompt bytes, citation labels, plugin calls and loading order. That covers Active Memory, project recall, Memory Wiki, voice fast context, Doctor, status, compaction and Gateway memory.search v1. A differential pass checked this against main on isolated Gateways, under four configurations: Memory Core, Memory Core with Wiki, and a V1 plugin with and without authorizeSearchHits.

New for plugin authors: a memory plugin can register a caller-bound providerRuntime with declared capabilities. A provider that does gets:

  • Gateway memory.search v2, memory.get and memory.status, open to the same operator.read callers as v1
  • an unversioned memory.search that answers INVALID_REQUEST … retry memory.search with version: 2 instead of searching a file index the provider doesn't use
  • openclaw memory status reporting that provider's health, with Memory Core noted as the consolidation sidecar only

Intended differences, by design:

  • memory.search validates version, so a string "1" is rejected.
  • The new memory.get and memory.status methods; memory.status omits filesystem paths, matching status redaction for non-admin callers.
  • Memory Core's CLI behavior when another plugin owns the slot.

No persisted data changes: no tables, columns, stored formats or migrations.

Why This Change Was Made

The host owns one contract, MemoryPluginCapability.providerRuntime. The host validates declared capabilities at open, and the bound handle rejects undeclared requests before they reach the provider. The new provider path runs only when a native provider owns the slot (isActiveMemoryProviderNative); legacy owners keep main's code. memory-host-search stays private-local, so public SDK budgets are unchanged.

Compatibility fixes in this revision:

  • The released v2026.9.7 voice-call plugin calls the fast-context helper without liveness. That still works: legacy owners answer as before, and a native provider is never read without live-call authority.
  • Memory Wiki falls back to wiki-only results when the memory provider fails to open, as on main.
  • Memory Wiki's session visibility matches main for sessionless, operator and conversation-recall callers.
  • The package-boundary producer mapping for memory-core's session-search-visibility-api leaf is restored, so the extension package-boundary check selects memory-core again. The same check fails on main since ef97e9a0429.

This is the first of a three-PR stack: #162176 (host-resolved memory audience) and #162177 (provider-owned pre-compaction flush) follow.

Evidence

  • Differential compatibility, main vs this stack, isolated Gateways: the only differences were the intended ones above, plus timing noise. Memory Core prompt bytes are identical.
  • Isolated Gateway through openclaw gateway call, with a provider-runtime plugin in the slot: the unversioned call returns the v2 redirect, and v2 search, get and status succeed for a token operator.read client.
  • Regression tests, each failing before its fix:
    • voice helper called exactly as v2026.9.7 does
    • memory provider authority: 7 cases through handleGatewayRequest
    • Memory Wiki session scope and conversation recall through the real adapter, plus provider-open fallback
    • the Memory Core CLI slot behavior
    • lane-1 dedupe for legacy owners
    • sources: [] rejection, project-recall cleanup containment, and the method-list suffix
  • Gates on the final tree:
    • all tsgo lanes, check:architecture, protocol:check, plugin-sdk surface/exports, docs:check-mdx and focused vitest: pass
    • check-changed: lint fails only on inherited max-lines errors, in files this PR doesn't touch, with identical counts on main (agent-create.integration.test.ts, git-backup.test.ts, openclaw-agent-db.ts, openclaw-state-read.worker.ts, run-attempt-dispatch.ts, subagent-spawn.ts)
  • Knowledge plugin: check, 256/256 tests, build and validate pass against the stack build.

Inherited CI failures

CI on 7baaf4bd036 fails 5 shards. None is caused by this PR: each failing test either fails today on unrelated PRs or passes in isolation on this PR's commit and on main, and this PR touches none of their files.

Shard Test Evidence
compact-large-25-1 packages/memory-host-sdk/src/host/session-transcript-corpus.test.ts (getOpenClawAgentDatabaseIfOpen(...) undefined) Fails on unrelated PR fix/session-anchor-dedup. Passes in isolation on this PR and on main (11/11).
compact-large-8 src/agents/subagents/spawn/subagent-spawn.production-boundary.test.ts ("Subagent browser cleanup lost its original owner") Fails on fix/session-anchor-dedup and deslop/l201-infra7. Passes in isolation on this PR and on main (8/8).
extensions-bundle-30-2 extensions/tlon/src/monitor/index.test.ts Fails on deslop/l201-infra7.
extensions-bundle-26 extensions/whatsapp/src/auto-reply.web-auto-reply.media-delivery.test.ts Fails on feat/whatsapp-poll-vote-hook.
extensions-bundle-15-3 extensions/browser/src/browser/server-context.list-profiles.test.ts Passes in isolation on this PR's commit (7/7); this PR doesn't touch extensions/browser/.

The common thread is agent-database lifecycle within a shard ("Agent database resources are closing", or the database handle missing), which looks like cross-test interference currently on main. In the previous CI round, status.summary-read-only failed the same way and also fails on deslop/l201-infra7 and refactor/lg-runtime-claws-canonical. The earlier error-message failures (cli-json-stdout.*, entry.memory-json, models-dispatch.catalog, QA-lab wire tests) came from main's #163381 and were fixed by rebasing onto main's #163525 / #163538.

@clawsweeper

clawsweeper Bot commented Sep 30, 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 app: android App: android gateway Gateway runtime agents Agent runtime and tooling extensions: memory-wiki extensions: xai extensions: active-memory labels Sep 30, 2026
@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components. This comment is informational because the PR author has repository Maintain or Admin access.

  • Current SHA: 7baaf4bd0361d06f1334723c47ee6e2a0a166c85
  • Maintainer: @jalehman
  • Repository role: admin

These security sensitive changes were made:

  • src/gateway/methods/core-descriptors.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.

Carefully review these changes before merging.

@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. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 30, 2026
@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 2, 2026, 4:23 PM ET / 20:23 UTC (Revision 12).

ClawSweeper review

What this changes

Adds a caller-bound memory provider interface so record-based plugins can serve recall, voice context, Memory Wiki, and Gateway reads while preserving legacy file-backed readers.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open: current main lacks this provider-neutral memory capability, and this maintainer-authored PR remains useful. No blocking correctness finding was established; the previous migration-proof request does not apply because this patch changes no persisted-data contract.

Priority: P2
Reviewed head: 7baaf4bd0361d06f1334723c47ee6e2a0a166c85

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent additive implementation with focused compatibility and authority coverage and no established blocking defect.
Proof confidence 🌊 off-meta tidepool Not applicable: The verified maintainer author is exempt from the external-contributor proof gate. The body reports isolated Gateway calls through the new provider owner and differential legacy compatibility; inspected boundary tests supplement those claims. No material unresolved authority violation was established, and no stored-data contract changes require migration proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The verified maintainer author is exempt from the external-contributor proof gate. The body reports isolated Gateway calls through the new provider owner and differential legacy compatibility; inspected boundary tests supplement those claims. No material unresolved authority violation was established, and no stored-data contract changes require migration proof.
Evidence reviewed 10 items Pinned introduction: Reviewed changes between the verified merge base ec9f39d and original PR head 7baaf4b; fetched main was treated separately as behavioral context.
Still necessary on current main: Current main’s MemoryPluginCapability exposes the legacy runtime but no providerRuntime registration; its resolver still acquires file-shaped search managers. The latest released contract likewise lacks providerRuntime.
Released contract comparison: The v2026.9.7 registration contract contains runtime and existing memory hooks, without the proposed neutral provider capability.
Findings None None.
Security None None.

How this fits together

OpenClaw’s memory runtime connects the selected memory plugin to agent recall and operator searches. It translates caller authority and retrieval requests into provider results that feed prompts, voice context, and memory diagnostics.

flowchart TD
  A[Agent recall and voice requests] --> C[Selected memory runtime]
  B[Authorized Gateway requests] --> C
  C --> D{Native provider available}
  D --> E[Caller-bound provider lease]
  D --> F[Legacy memory reader]
  E --> G[Authorized memory results]
  F --> G
  G --> H[Prompts and operator responses]
Loading

Before merge

  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source +1887, Tests +2517, Docs +143, Config 0. Total +4547 across 62 files.

View PR surface stats
Area Files Added Removed Net
Source 33 2240 353 +1887
Tests 24 3086 569 +2517
Docs 3 148 5 +143
Config 2 5 5 0
Generated 0 0 0 0
Other 0 0 0 0
Total 62 5479 932 +4547

Review metrics

Metric Value Why it matters
Production versus test growth production/tooling +2245/-358; tests/support +3086/-569 Production growth has a stated purpose: the shared provider lease contract, legacy adapter, and consumer integration.
Gateway API expansion 2 new methods; 1 new search response version Clients gain retrieval and health operations while legacy search keeps its established response shape.

Stored data model

Persistent data-model change detected: unknown-data-model-change: extensions/memory-core/src/cli-memory-slot.ts, unknown-data-model-change: extensions/memory-core/src/cli-runtime-common.ts, unknown-data-model-change: extensions/memory-core/src/cli-status.runtime.ts, unknown-data-model-change: extensions/memory-wiki/src/gateway.ts, unknown-data-model-change: extensions/memory-wiki/src/query-memory-provider.ts, unknown-data-model-change: extensions/memory-wiki/src/query-shared-memory.ts, and 24 more. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Keep one selected memory owner behind the additive caller-bound contract, with legacy readers preserved and provider-owned visibility enforced before data is released.

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

Not applicable as a feature reproduction: current-main source confirms memory consumers still depend on the legacy file-shaped runtime.

Is this the best way to solve the issue?

Yes: extending the existing selected-slot owner with a neutral read contract addresses the missing capability while retaining established legacy readers and cleanup ownership.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a useful, bounded memory-platform feature without an established urgent user regression.
  • merge-risk: 🚨 compatibility: The maintainer explicitly accepts changed foreign-slot CLI behavior and strict search-version validation; legacy runtime and released voice-call contracts remain supported.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; 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: The verified maintainer author is exempt from the external-contributor proof gate. The body reports isolated Gateway calls through the new provider owner and differential legacy compatibility; inspected boundary tests supplement those claims. No material unresolved authority violation was established, and no stored-data contract changes require migration proof.

Evidence

What I checked:

  • Pinned introduction: Reviewed changes between the verified merge base ec9f39d and original PR head 7baaf4b; fetched main was treated separately as behavioral context. (7baaf4bd0361)
  • Still necessary on current main: Current main’s MemoryPluginCapability exposes the legacy runtime but no providerRuntime registration; its resolver still acquires file-shaped search managers. The latest released contract likewise lacks providerRuntime. (src/plugins/registry-contribution-types.ts:284, b4d1a0efc8a9)
  • Released contract comparison: The v2026.9.7 registration contract contains runtime and existing memory hooks, without the proposed neutral provider capability. (src/plugins/registry-contribution-types.ts, c074824a27c9)
  • No stored-data migration introduced: The new runtime is an additive registration and caller-bound handle contract. Provider references travel in query results and RPC payloads; the inspected patch adds no schema, stored format, persistence writer, or migration. The preceding review’s generic migration blocker is therefore withdrawn. (src/plugins/registry-contribution-types.ts:278, 7baaf4bd0361)
  • Authorization and lease lifetime: Gateway methods retain operator.read authorization, synthetic callers require admitted operator authority, and provider handles check caller cancellation, connection currency, plugin lifetime, reference ownership, and closure around asynchronous operations. Boundary tests cover scope denial and authority loss before search I/O. (src/gateway/server-methods/memory-provider.ts:109, 7baaf4bd0361)
  • Prior compatibility findings resolved: Released voice callers without liveness retain legacy lookup; native reads require live-call authority. Project recall contains cleanup failures and rechecks authority after cleanup. Wiki retains legacy session visibility, conversation recall, and wiki-only fallback when provider opening fails. (src/talk/fast-context-runtime.ts:137, 7baaf4bd0361)

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • ruel225: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Josh Avant: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (11 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-01T14:24:46.689Z sha 3e6aa3b :: blocked before merge. :: [P2] Contain lease cleanup failures in optional project recall
  • reviewed 2026-10-01T20:49:40.181Z sha 9b89d7a :: blocked before merge. :: none
  • reviewed 2026-10-01T21:14:59.971Z sha 9b89d7a :: blocked before merge. :: none
  • reviewed 2026-10-01T23:19:02.713Z sha 64edded :: blocked before merge. :: none
  • reviewed 2026-10-02T06:23:03.274Z sha e191fe0 :: blocked before merge. :: [P1] [P1] Preserve the released voice helper caller contract
  • reviewed 2026-10-02T12:14:56.948Z sha 27ea94b :: blocked before merge. :: none
  • reviewed 2026-10-02T18:22:53.839Z sha 97217ad :: blocked before merge. :: none
  • reviewed 2026-10-02T19:55:23.437Z sha 7baaf4b :: blocked before merge. :: none

@openclaw-barnacle openclaw-barnacle Bot closed this Oct 1, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Oct 1, 2026
@jalehman
jalehman force-pushed the feat/memory-provider-runtime branch from 7eea7b5 to d6608bb Compare October 1, 2026 03:10
@openclaw-barnacle openclaw-barnacle Bot added channel: voice-call Channel integration: voice-call extensions: memory-core Extension: memory-core labels Oct 1, 2026
@jalehman
jalehman force-pushed the feat/memory-provider-runtime branch from d6608bb to 3e6aa3b Compare October 1, 2026 14:16
@openclaw-barnacle openclaw-barnacle Bot added the commands Command implementations label Oct 1, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 1, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 2, 2026
Memory consumers were bound to the file-backed search manager, so a
memory plugin whose records are not workspace files could not serve
recall.

Add a caller-bound MemoryProviderRuntime (search, get, health, optional
candidates and refresh) registered as MemoryPluginCapability
.providerRuntime. Providers declare their capabilities (sources,
pagination, candidate kinds, project filtering); the host validates them
at open and the bound handle rejects undeclared requests before calling
the provider.

Project recall, realtime voice context, Active Memory trigger recall,
and Memory Wiki use the neutral runtime when the selected slot owner
registers providerRuntime. With a legacy runtime they keep their
manager calls, purposes, authorization, results, and citation labels
unchanged. Deciding which path to take reads only owners this process
already loaded (the current registry, the process registry, or a
standalone owner), never loading the slot plugin to decide.

Add the Gateway memory.search v2 / memory.get / memory.status RPCs. A
legacy adapter serves them over existing file-backed managers,
preserving session-hit authorization: session callers keep requester
visibility plus any host-granted conversation recall pass carried on
their session authority, and sessionless host or operator callers keep
the opened agent's own session hits through Memory Core's trusted agent
scope. Its health omits host paths. Any authenticated operator
connection with operator.read can call them, as with unversioned
memory.search; in-process agent callers keep their run's operator
authority. memory.search v2 rejects missing, unknown, or empty source
restrictions before provider admission. Unversioned or version 1
memory.search directs a provider-runtime owner's clients to retry with
version 2.

Realtime voice fast context binds its provider reads to the live call and
consult abort signal. Plugins released before that liveness argument keep
their call shape: without it, legacy owners answer as before and a native
provider is never read. When another plugin owns the memory slot, Memory
Core's CLI reports that provider's health from memory status, refuses
memory search, and labels index commands as acting on its sidecar index.
The memory-host-search SDK subpath stays private-local, so the public SDK
surface does not grow. Memory Wiki's package boundary maps memory-core's
session visibility leaf to its declaration producer.
@jalehman
jalehman force-pushed the feat/memory-provider-runtime branch from 27ea94b to 97217ad Compare October 2, 2026 18:16
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Oct 2, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Oct 2, 2026
@jalehman
jalehman merged commit 0dc63ee into main Oct 2, 2026
263 of 270 checks passed
@jalehman
jalehman deleted the feat/memory-provider-runtime branch October 2, 2026 20:30
vincentkoc added a commit that referenced this pull request Oct 2, 2026
* commit '79be075e5aa46be9e42dbd53ed6e30e81469210a': (33 commits)
  fix(ui): keep selected-text comment input readable while scrolling (#163772)
  test(memory): open corpus database explicitly
  fix: bound Doctor migration capture to plugin data (#163780)
  fix(ui): gate system information at the shared reader (#160982)
  chore(db): reclassify worker inventory sites with caller evidence (#163754)
  refactor(channels): deslop Slack and Matrix (#163740)
  fix(agents): reject empty sessions_search queries in the tool schema (#129120)
  perf(nodes): load only what a worker turn needs (#160442)
  test(cli): assert concise Gateway failure copy in CLI process tests (#163649)
  refactor(discord): deslop discord (#163728)
  fix(workboard): make Sessions boards work on multi-agent Gateways (#163761)
  test(gateway): add sustained heap retention diagnostics (#163764)
  test(ui): disambiguate session filter controls
  refactor(plugins): deslop imessage, mattermost, and voice-call (#163767)
  fix(qa): run Telegram plugin source in --source-gateway userbot runs (#163718)
  feat(macos): add a --no-activate launch flag for background automation (#163758)
  fix(agents): preserve host authority across module reloads (#163725)
  perf(gateway): serve the listener before multi-gigabyte store validation and honor clean-close receipts at startup (#163690)
  fix: keep video widgets scrollable and preload initial frames (#163762)
  feat(memory): add a provider-neutral memory provider runtime (#162175)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 3, 2026
…w#162175)

Memory consumers were bound to the file-backed search manager, so a
memory plugin whose records are not workspace files could not serve
recall.

Add a caller-bound MemoryProviderRuntime (search, get, health, optional
candidates and refresh) registered as MemoryPluginCapability
.providerRuntime. Providers declare their capabilities (sources,
pagination, candidate kinds, project filtering); the host validates them
at open and the bound handle rejects undeclared requests before calling
the provider.

Project recall, realtime voice context, Active Memory trigger recall,
and Memory Wiki use the neutral runtime when the selected slot owner
registers providerRuntime. With a legacy runtime they keep their
manager calls, purposes, authorization, results, and citation labels
unchanged. Deciding which path to take reads only owners this process
already loaded (the current registry, the process registry, or a
standalone owner), never loading the slot plugin to decide.

Add the Gateway memory.search v2 / memory.get / memory.status RPCs. A
legacy adapter serves them over existing file-backed managers,
preserving session-hit authorization: session callers keep requester
visibility plus any host-granted conversation recall pass carried on
their session authority, and sessionless host or operator callers keep
the opened agent's own session hits through Memory Core's trusted agent
scope. Its health omits host paths. Any authenticated operator
connection with operator.read can call them, as with unversioned
memory.search; in-process agent callers keep their run's operator
authority. memory.search v2 rejects missing, unknown, or empty source
restrictions before provider admission. Unversioned or version 1
memory.search directs a provider-runtime owner's clients to retry with
version 2.

Realtime voice fast context binds its provider reads to the live call and
consult abort signal. Plugins released before that liveness argument keep
their call shape: without it, legacy owners answer as before and a native
provider is never read. When another plugin owns the memory slot, Memory
Core's CLI reports that provider's health from memory status, refuses
memory search, and labels index commands as acting on its sidecar index.
The memory-host-search SDK subpath stays private-local, so the public SDK
surface does not grow. Memory Wiki's package boundary maps memory-core's
session visibility leaf to its declaration producer.
wheakerd pushed a commit to wheakerd/clawdbot that referenced this pull request Oct 3, 2026
* commit '1fda703fb4d3630e4633461967b2a2186e8f15fd': (33 commits)
  fix(ui): keep selected-text comment input readable while scrolling (openclaw#163772)
  test(memory): open corpus database explicitly
  fix: bound Doctor migration capture to plugin data (openclaw#163780)
  fix(ui): gate system information at the shared reader (openclaw#160982)
  chore(db): reclassify worker inventory sites with caller evidence (openclaw#163754)
  refactor(channels): deslop Slack and Matrix (openclaw#163740)
  fix(agents): reject empty sessions_search queries in the tool schema (openclaw#129120)
  perf(nodes): load only what a worker turn needs (openclaw#160442)
  test(cli): assert concise Gateway failure copy in CLI process tests (openclaw#163649)
  refactor(discord): deslop discord (openclaw#163728)
  fix(workboard): make Sessions boards work on multi-agent Gateways (openclaw#163761)
  test(gateway): add sustained heap retention diagnostics (openclaw#163764)
  test(ui): disambiguate session filter controls
  refactor(plugins): deslop imessage, mattermost, and voice-call (openclaw#163767)
  fix(qa): run Telegram plugin source in --source-gateway userbot runs (openclaw#163718)
  feat(macos): add a --no-activate launch flag for background automation (openclaw#163758)
  fix(agents): preserve host authority across module reloads (openclaw#163725)
  perf(gateway): serve the listener before multi-gigabyte store validation and honor clean-close receipts at startup (openclaw#163690)
  fix: keep video widgets scrollable and preload initial frames (openclaw#163762)
  feat(memory): add a provider-neutral memory provider runtime (openclaw#162175)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling channel: voice-call Channel integration: voice-call commands Command implementations docs Improvements or additions to documentation extensions: active-memory extensions: memory-core Extension: memory-core extensions: memory-wiki extensions: xai gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. security-sensitive-changed 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