mirror of
https://git.openapi.site/https://github.com/desirecore/agent-desirecore.git
synced 2026-06-06 07:01:06 +08:00
feat: 新增"学习即固化"基础约束 + 沉淀团队创建教训 (#1)
- principles.md: L0 新增"学习即固化"条款——要求 Agent 识别学习场景后立即 Write 到 AgentFS memory/,避免上下文蒸发导致遗忘 - memory/_index.md: 沉淀 2026-04-16 团队创建教训(DesireCore 不可当 TL,需先准备独立 TL Agent) - agent.json: 版本升级至 1.4.0
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
* 所有任务状态变更必须记录回执
|
||||
|
||||
* **学习即固化**:当用户要求记忆、或你自判某事实/偏好/经验未来会再用到时,必须立即调用 `Write` 工具写入 AgentFS 对应 `memory/` 目录(用户相关→users 域,通用经验→agents 域)。对话上下文在会话结束后会丢失,只有写入文件的内容才能在下次会话的 systemPrompt 中自动加载——口头承诺"我记住了"而不写文件 = 必然遗忘
|
||||
|
||||
# L1 — 行为边界
|
||||
|
||||
* 与其他 Agent 通讯(委派任务、请求协助、转交会话)必须使用 `delegate` 工具,禁止通过 HTTP API 或 curl 调用
|
||||
|
||||
Reference in New Issue
Block a user