docs(cli): document personal workspace sync#857
Conversation
Signed-off-by: Drew Cain <groksrc@gmail.com>
|
Claude finished @groksrc's task in 1m 18s —— View job Code Review
SummaryThis is a focused documentation-only PR (plus a small test) that:
The command path fix ( Checklist ResultsCode Quality & Standards
Testing & Documentation
Basic Memory Architecture
Security & Performance
Compatibility
Minor Observations
Overall: Clean, low-risk PR. The changes are correct and complete — all ✅ Approved for merge (no blocking issues) |
|
Reviewed while sweeping open PRs. I did not merge this one because the current wording is stale after the final #855 decision: #855 now allows Team/organization workspaces to use one-way |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 41d12cba95
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| """Personal workspace local mirror only. | ||
|
|
||
| One-way sync: local -> cloud (make cloud identical to local). | ||
| Not supported for Team workspaces - use cloud API/MCP routing instead. |
There was a problem hiding this comment.
Prevent Team workspace rclone sync at runtime
This help now says Team workspaces are not supported, but the command still proceeds for any cloud project name: if a config entry has workspace_id for an organization workspace plus local_sync_path, _get_cloud_project() will route to that workspace and then project_sync/project_bisync will run rclone instead of failing. In that scenario users can still start the unsupported Team local-mirror workflow the docs warn against, so the commands should explicitly reject non-Personal workspace entries before touching rclone.
Useful? React with 👍 / 👎.
|
we need to prefer the push/pull semantics and note that sync/bisync are not supported for shared projects. lets include what we can from this PR after updating the docs with the latest flow from main. |
Summary
bm cloud ...sync command examplesVerification
uv run pytest tests/cli/cloud/test_project_sync_command.pyuv run ruff check src/basic_memory/cli/commands/cloud/project_sync.py tests/cli/cloud/test_project_sync_command.pyuv run ruff format --check src/basic_memory/cli/commands/cloud/project_sync.py tests/cli/cloud/test_project_sync_command.pyjust typecheckFixes #851