fix(agent): juaner 配置迁移到权威位置(workspace 根目录)
- workspace-juaner/SOUL.md:合并 agentDir 下的 39 行内容(原文件仅 47 字节空模板)
- workspace-juaner/AGENTS.md:新增「配置文件位置(红线)」,禁止往 agents/<id>/agent/ 写配置
- 移除 agents/juaner/agent/{IDENTITY,SOUL}.md:官方 bootstrap 只注入 workspace 根目录的
6 个固定文件名,该目录下的 .md 不被任何机制加载(源码 resolveAgentWorkspaceDir +
loadAgentIdentityFromWorkspace;且 agentDir 清空后 --from-identity 仍能读到)
- openclaw.json:补全 juaner.identity 的 emoji/theme(set-identity --from-identity)
- 验证:--from-identity EXIT=0 读出「卷儿」;探测实验(WS-PROBE)证实读取路径为 workspace
This commit is contained in:
+3
-1
@@ -249,7 +249,9 @@
|
||||
},
|
||||
"identity": {
|
||||
"name": "卷儿",
|
||||
"avatar": "https://minio.climbcube.cn/img/assistant.jpg"
|
||||
"avatar": "https://minio.climbcube.cn/img/assistant.jpg",
|
||||
"emoji": "🐑",
|
||||
"theme": "温暖体贴、细致周到、有求必应"
|
||||
}
|
||||
},
|
||||
"sql": {
|
||||
|
||||
Reference in New Issue
Block a user