fix: use container MCP path in portal canary
Memind CI / Test, build, and release guards (push) Successful in 1m41s

This commit is contained in:
john
2026-07-26 22:34:58 +08:00
parent 02f2dc6b17
commit 046704816f
3 changed files with 68 additions and 0 deletions
+7
View File
@@ -16,6 +16,13 @@ Portal 的首个生产动作必须是用户级灰度,不能直接整包替换
`MEMIND_RUNTIME_ROLE=candidate` 会禁止重复启动 MindSpace、Plaza、提醒、订阅续期和
Agent 恢复扫描等单例后台任务。
候选 Portal 必须从候选 runtime 目录启动,使相对模块只解析到本次候选 artifact。
候选 goosed 在 Docker 内执行扩展,MCP Node 和入口路径必须固定为
`/usr/local/bin/node``/opt/portal/mindspace-sandbox-mcp.mjs`;禁止继承稳定
`.env` 中仅宿主机可见的 `/Users/...` 路径。若日志出现
`Failed to add extension` 和宿主机绝对路径的 `MODULE_NOT_FOUND`,应先核对候选
进程环境与 `/opt/portal` 容器挂载,禁止把宿主机文件复制进容器临时修补。
## 身份和回落规则
- `john`:按数据库中的唯一用户名或用户 ID 匹配。