Repository navigation
Description
Problem / Motivation
OpenClaw 2026.8.1 adds protected cross-session recall from previous private conversations. Alternative memory providers only participate when they explicitly register the protected-recall capability and expose a deterministic recall tool that honors OpenClaw's trusted conversation authorization context.
memory-lancedb-pro does not currently register:
supportsPrivateTranscriptRecall: truedeterministicRecallToolName
Its deterministic recall path also does not consume ctx.conversationRecall, so OpenClaw cannot safely enable the feature while this plugin is selected.
The optional canonicalCorpus.includeSessionTranscripts index is not an equivalent substitute. It discovers recent JSONL files by agent and indexes them as transcript documents, but it does not implement the protected product boundary: recognized private-session classification, same-agent authorization, active-conversation exclusion, forgotten/policy-blocked source exclusion, or fail-closed handling of missing authorization context.
This leaves users with two poor options after upgrading: lose protected private transcript recall while keeping the plugin, or switch memory providers and lose memory-lancedb-pro functionality.
Proposed Solution
Add explicit support for OpenClaw's protected same-agent private transcript recall contract.
Acceptance criteria:
- Register
supportsPrivateTranscriptRecall: trueand a stabledeterministicRecallToolNamein the memory capability. - Make the named deterministic recall tool require and honor
ctx.conversationRecall. - Restrict eligible sources to recognized previous private conversations owned by the same agent.
- Exclude the active conversation.
- Exclude group/channel sessions, other agents, unknown session types, forgotten sessions, and policy-blocked sources.
- Fail closed when the authorization context is absent, malformed, or incomplete.
- Keep this protected path distinct from the broader opt-in
canonicalCorpus.includeSessionTranscriptsfeature. - Add boundary tests for private vs. group/channel, same-agent vs. cross-agent, previous vs. active conversation, forgotten/policy-blocked sources, and unknown chat/session types.
- Document the minimum supported OpenClaw version and the security boundary.
Alternatives Considered
- Use OpenClaw's built-in memory provider: enables the product feature but gives up the plugin's retrieval, storage, and governance functionality.
- Enable
canonicalCorpus.includeSessionTranscripts: broader indexing is useful for other purposes, but it is not authorization-equivalent and should not be presented as protected private-memory support. - Leave protected recall unavailable: safe, but makes the plugin incompatible with a significant OpenClaw 2026.8.1 memory feature.
Area
Scopes / Access Control; Retrieval / Search; Auto-capture / Auto-recall
Additional Context
- OpenClaw 2026.8.1 release notes
createOpenClawMemoryCapabilitycurrently omits protected-recall capability fieldsdiscoverSessionDocumentscurrently enumerates recent per-agent JSONL transcripts- Existing issue canonicalCorpus never indexes: sync() is never invoked, and workspace resolution reads agents.list instead of agents.entries #980 and PR fix: activate the canonical corpus indexer (agents.entries + startup sync) #982 concern activating the generic canonical transcript index; they do not implement the protected recall contract described here.
Activity
AliceLJY commentedon Oct 27, 2026
Confirmed against current
master: the memory capability registers neithersupportsPrivateTranscriptRecallnordeterministicRecallToolName, and nothing readsctx.conversationRecall. So the plugin can't take part in 2026.8.1 protected recall today.This is a new capability with a security boundary, not a bug fix, so scope and priority are @win4r's call. If you want to move it forward, the acceptance criteria above are already a good spec for a PR. Keeping it separate from
canonicalCorpus.includeSessionTranscripts, as you propose, is the important part.TurboTheTurtle commentedon Nov 11, 2026
Opened an upstream design issue: openclaw/openclaw#197150 — forgotten-session exclusions for external memory providers.
Before implementing protected recall, we’re waiting on OpenClaw’s guidance on whether forgotten-session exclusions should carry across memory providers and which supported API or provider-owned contract should enforce them. The trusted
conversationRecallcontext identifies the recall scope, but does not itself identify forgotten sources; we have not found a supported external-provider lookup for Memory Core’s exclusions.This will help us meet the forgotten-source acceptance criterion without depending on private storage details or risking resurfacing explicitly forgotten conversations. Once that contract is clarified, we can proceed with the implementation here, keeping protected recall separate from
canonicalCorpus.includeSessionTranscripts.AliceLJY commentedon Nov 12, 2026
Thanks for taking this upstream first. That's the right order, and keeping protected recall unavailable (fail closed) until the forgotten-source contract is settled makes sense.
One data point from this side, checked against current
master, in case it helps whichever answer OpenClaw gives:memory_forgethere deletes individual memory entries (by ID or search query), and thecanonicalCorpustranscript indexer keeps no session-level forget or exclusion record. So if exclusions turn out to be provider-local, this plugin would need a new session-level exclusion store plus a way to receive forget operations. If they're meant to carry across providers, a supported read-only eligibility check from OpenClaw would fit better, since nothing here would need to mirror Memory Core's records.Feel free to post here once openclaw/openclaw#197150 gets a maintainer response.