Skip to content

Commit f8856f7

Browse files
groksrcclaude
andcommitted
Gate HTTPS fallback on missing project config entry
Only fall back to HTTPS transport for projects that have no local config entry at all. Previously a local-mode project that also existed in the cloud list could be mislabeled as HTTPS. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Drew Cain <groksrc@gmail.com>
1 parent f2fd83f commit f8856f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/basic_memory/cli/commands/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ async def _list_projects(ws: str | None = None):
190190
# Determine MCP transport based on project routing mode
191191
if entry and entry.mode == ProjectMode.CLOUD:
192192
mcp_transport = "https"
193-
elif cloud_project is not None and local_project is None:
193+
elif entry is None and cloud_project is not None:
194194
mcp_transport = "https"
195195
else:
196196
mcp_transport = "stdio"

0 commit comments

Comments
 (0)