MystenLabs / MystenLabs/MemWal

No memwal_delete or supersede tool via MCP - stored memories cannot be corrected

Open
#697 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
107
Forks
37
Avg merge
3d 12h
Merged PRs (30d)
86

Description

Feature Request

Description

Once a memory is written via memwal_remember, there is no MCP tool to delete it, mark it as superseded, or replace it with a corrected version.

Problem

In production use, incorrect memories accumulate over time:

  • A decision is reversed but the old record stays visible
  • A bug is marked ''fixed'' but the original ''open'' record is never retired
  • A wrong fact is stored and keeps surfacing in recall results

The only workaround is deduplication by similarity score, which is imprecise and cannot distinguish between ''same fact, updated'' vs ''genuinely different fact.'

Proposed Solution

Add a memwal_delete(blob_id, namespace) tool and/or a memwal_supersede(blob_id, replacement_text, namespace) tool that retires an old record and writes its replacement atomically.

The Continuity Keeper community prompt (Session 5) already works around this via a separate CLI (continuity supersede), but this functionality should be a first-class MCP tool.


Reported during Walrus Session 7 - Prompt Evolution

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing memwal_remember MCP tool and reviewing the continuity supersede CLI mentioned in the issue. Compare the deletion and superseding behaviors, then define which MCP operation or operations are required and how atomic replacement should behave. Done means incorrect memories can be retired or replaced through MCP without relying on similarity deduplication.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.