Skip to content

Support OpenClaw 2026.8.1 protected same-agent private transcript recall #993

Open

Description

@TurboTheTurtle

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: true
  • deterministicRecallToolName

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: true and a stable deterministicRecallToolName in 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.includeSessionTranscripts feature.
  • 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

Activity

  1. AliceLJY commented on Oct 27, 2026

    @AliceLJY
    Collaborator

    Confirmed against current master: the memory capability registers neither supportsPrivateTranscriptRecall nor deterministicRecallToolName, and nothing reads ctx.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.

  2. TurboTheTurtle commented on Nov 11, 2026

    @TurboTheTurtle
    ContributorAuthor

    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 conversationRecall context 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.

  3. AliceLJY commented on Nov 12, 2026

    @AliceLJY
    Collaborator

    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_forget here deletes individual memory entries (by ID or search query), and the canonicalCorpus transcript 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.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions