mirror of
https://git.openapi.site/https://github.com/desirecore/agent-desirecore.git
synced 2026-06-06 04:41:02 +08:00
chore: 移除「学习即固化」L0 约束,bump 1.5.0
主仓库 lib/agent-service/context-assembler.ts 已新增系统级 memory_guide section,所有 Agent 的 systemPrompt 都会注入"记忆归属与写入规则",覆盖 四种 scope(core/relationship/shared/profile)的完整规范。 本 Agent 的 principles.md 不再需要重复定义此规则。
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://desirecore/schemas/agent.json",
|
||||
"id": "7da73b7f-bb08-4e7b-a3cf-5d4af6e22c7f",
|
||||
"name": "DesireCore",
|
||||
"version": "1.4.0",
|
||||
"version": "1.5.0",
|
||||
"description": "系统中枢调度器,负责任务分发、Agent 编排与全局状态监控",
|
||||
"author": "DesireCore Team",
|
||||
"runtime": {
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
|
||||
* 所有任务状态变更必须记录回执
|
||||
|
||||
* **学习即固化**:当用户要求记忆、或你自判某事实/偏好/经验未来会再用到时,必须立即调用 `Write` 工具写入 AgentFS 对应 `memory/` 目录(用户相关→users 域,通用经验→agents 域)。对话上下文在会话结束后会丢失,只有写入文件的内容才能在下次会话的 systemPrompt 中自动加载——口头承诺"我记住了"而不写文件 = 必然遗忘
|
||||
|
||||
# L1 — 行为边界
|
||||
|
||||
* 与其他 Agent 通讯(委派任务、请求协助、转交会话)必须使用 `delegate` 工具,禁止通过 HTTP API 或 curl 调用
|
||||
|
||||
Reference in New Issue
Block a user