You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expose explicit sync support/local usage metadata in project listings #850
Add explicit local-usage/sync-support metadata to project listing output so Team workspace projects cannot be misread as "not configured yet" when local sync is actually unsupported.
Problem
Today, project listing output includes fields such as:
local_path
cloud_path
cli_route
mcp_stdio
sync
workspace_type
For Team/organization workspace projects, sync: false and an empty local_path are technically correct, but they are ambiguous. Consumers may interpret them as "local sync has not been set up yet" instead of "local sync is unsupported for this workspace type."
These are distinct but strongly related. Fixing #848 (incorrect state attachment) should be done first; this issue (#850) adds the explicit metadata that makes the state machine self-documenting.
Code Analysis
Good news: the core logic already exists in the CLI. Line 620 of src/basic_memory/cli/commands/project.py already computes:
The gap is that this value is used internally for display but not exposed in JSON output (--json flag) or in the MCP tool response (list_memory_projects).
Activity
claude commentedon May 24, 2026
Claude finished @groksrc's task in 2m 42s —— View job
Triage Analysis
Classification
project list), MCP (list_memory_projects), cloudLabels applied:
enhancementRelated Issues (same author, same root cause)
This issue is part of a cluster addressing Team/organization workspace handling:
sync_supported/local_usagemetadata in listingsThese are distinct but strongly related. Fixing #848 (incorrect state attachment) should be done first; this issue (#850) adds the explicit metadata that makes the state machine self-documenting.
Code Analysis
Good news: the core logic already exists in the CLI. Line 620 of
src/basic_memory/cli/commands/project.pyalready computes:The gap is that this value is used internally for display but not exposed in JSON output (
--jsonflag) or in the MCP tool response (list_memory_projects).Affected locations:
MCP merge functions (
src/basic_memory/mcp/tools/project_management.py):_merge_projects()lines 107–131 — merged dict has nosync_supportedfield_merge_workspace_projects()lines 163–205 — same_format_project_list_text()line 210+ — no sync-support text for org projectsCLI JSON output (
src/basic_memory/cli/commands/project.py):row_datadict built around lines 620–671 could includesync_supportedandlocal_usagefields but doesn't currentlyProposed fields (aligned with issue proposal):
Implementation Notes
The change is straightforward because the workspace_type is already available at merge time:
workspace_type == "personal"orworkspace_type is None(local-only) →sync_supported = Trueworkspace_type == "organization"→sync_supported = False,local_usage = "cloud-only"The main work is:
sync_supported,sync_reason,local_usageto both merge function dicts--jsonCLI output includes these fieldsThis is a good medium-complexity enhancement that would be a natural companion to #848 and #849.