托管实例把组织绑定写入 CLI profile 并区分两套工作区引导 - #68
Merged
Merged
Conversation
…he right workspace. Organization id used to live only in process env and got scrubbed, so collection create silently targeted the personal namespace. Write org_id and workspace kind next to the key, and tell agents that platform ro is not an org write ban.
…workspace identity. The new CLI keeps the bound org on disk after env scrub. Pin the published checksums and move the documented image tag to the release this change ships with.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
组织 id 以前只活在进程环境里,bash 子进程 scrub 后 CLI 默认命名空间会变成个人空间。
AGENTS.md也不区分个人/组织。这次把
org_id和workspace_kind写进 CLI profile,另落一份不含密钥的.apemind/workspace.json。组织/个人两套AGENTS.md:组织实例说明平台ro不是组织权限、不要用org role list判断能不能写;个人实例不要传--org-id。同时注入APEMIND_INSTANCE_ID(值与现有实例键相同)。镜像内置 CLI 钉到已发布的
v0.3.4(linux amd64/arm64 checksum 来自apemind.ai的 immutable release)。Closes #67