Skip to content

Commit d0ae373

Browse files
groksrcphernandez
authored andcommitted
docs(cli): clarify team mirror sync guard
Signed-off-by: Drew Cain <groksrc@gmail.com>
1 parent 1acec0a commit d0ae373

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

src/basic_memory/cli/commands/cloud/project_sync.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@
3434
console = Console()
3535

3636
TEAM_WORKSPACE_SYNC_UNSUPPORTED = (
37-
"Local rclone sync/bisync is supported only for Personal workspaces.\n"
38-
"Team workspaces are accessed through the cloud API/MCP and do not support "
39-
"local multi-user bisync.\n"
40-
"Use `bm project list --workspace <workspace>` to inspect Team projects."
37+
"Mirror-style rclone sync/bisync is supported only for Personal workspaces.\n"
38+
"Team workspaces should not use local mirror workflows because they can "
39+
"overwrite or delete shared cloud files.\n"
40+
"Use cloud API/MCP routing for Team workspace edits, or inspect projects with "
41+
"`bm project list --workspace <workspace>`."
4142
)
4243

4344

tests/cli/cloud/test_project_sync_command.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ def test_cloud_sync_commands_block_organization_workspace(monkeypatch, argv, con
134134
result = runner.invoke(app, argv)
135135

136136
assert result.exit_code == 1, result.output
137-
assert "Local rclone sync/bisync is supported only for Personal workspaces" in result.output
138-
assert "Team workspaces are accessed through the cloud API/MCP" in result.output
137+
output = " ".join(result.output.split())
138+
assert "Mirror-style rclone sync/bisync is supported only for Personal workspaces" in output
139+
assert "overwrite or delete shared cloud files" in output
139140

140141

141142
def test_require_personal_workspace_allows_personal_workspace(monkeypatch, config_manager):

0 commit comments

Comments
 (0)