Skip to content

Commit 0884e20

Browse files
committed
docs(mcp): migrate cloud deletion recovery guidance
Signed-off-by: phernandez <[email protected]>
1 parent d355401 commit 0884e20

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

‎docs/cloud-cli.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ See [Resolving conflicts](#resolving-conflicts).
726726

727727
**Explanation:** `push` and `pull` never delete on the destination, so deletions are not propagated.
728728

729-
**Solution:** Delete the note on the other side as well, for example through the web app or the MCP `delete_note` tool.
729+
**Solution:** Delete the note on the other side as well, for example through the web app or the MCP `bm_delete` tool.
730730

731731
### Project Name Is Ambiguous
732732

‎tests/test_tool_cli_consumers.py‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"docs/metadata-search.md",
1313
"docs/manual-pages.md",
1414
"docs/1.0.md",
15+
"docs/cloud-cli.md",
1516
"benchmarks/src/basic_memory_benchmarks/providers/bm_cloud.py",
1617
"src/basic_memory/man/bm.1",
1718
"skills/memory-literary-analysis/SKILL.md",
@@ -69,3 +70,20 @@ def test_benchmark_mcp_calls_use_registered_surface() -> None:
6970
f"{source.relative_to(ROOT)}:{node.lineno}: {node.args[0].value}"
7071
)
7172
assert failures == []
73+
74+
75+
def test_current_guides_do_not_recommend_retired_mcp_names() -> None:
76+
retired = re.compile(
77+
r"`(?:write_note|read_note|edit_note|delete_note|search_notes|build_context|"
78+
r"read_content|create_memory_project|delete_project|list_memory_projects|"
79+
r"list_workspaces|recent_activity|schema_validate|schema_infer|schema_diff|"
80+
r"view_note|list_directory|move_note)`"
81+
)
82+
# The migration table intentionally names the old tools alongside replacements.
83+
guides = [name for name in SHIPPED_REFERENCES if name.endswith(".md") and name != "docs/1.0.md"]
84+
failures = [
85+
f"{relative}: {match.group(0)}"
86+
for relative in guides
87+
for match in retired.finditer((ROOT / relative).read_text(encoding="utf-8"))
88+
]
89+
assert failures == []

0 commit comments

Comments
 (0)