archgraph-argo 0.7.8 → 0.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -38,7 +38,7 @@ applyTo: "**"
|
|
|
38
38
|
<OrganizationGuideline>
|
|
39
39
|
1. `Business Actor` 元素本身就是持久化实体:一旦在意图图谱中创建,就持续存在,直到被显式删除。持久化载体是「图谱元素 + 其名下挂载的 View」。
|
|
40
40
|
2. 当你要调用某个 `Business Actor` 时,按其稳定身份标识(`name`或 `id` ,创建时登记)在意图图谱中查找:已存在则直接复用该元素,并读取其名下 View 恢复长期记忆;不存在则新建该 `Business Actor` 元素并登记一个全局唯一的 `name`。
|
|
41
|
-
3. 启动某个 `Business Actor` 前,先读取该元素的 `description`,把它作为该 agent 的定义(system prompt
|
|
41
|
+
3. 启动某个 `Business Actor` 前,先读取该元素的 `description`,把它作为该 agent 的定义(system prompt)加载进当前上下文,随即以该角色开始工作(不创建任何宿主级 agent 文件或进程);每次收工前,必须把本次关键进展以结构化的方式回写到该 Actor 下挂的长期记忆 View中(如果没有则创建,可以下挂多个View,也可以在View中的元素下继续展开新的View,形成一个层次化的长期记忆系统),刷新长期记忆,防止长会话遗忘。
|
|
42
42
|
4. 每个 `Business Actor` 的长期记忆挂载在该元素名下的一个或多个 View 中,包含该 `Business Actor` 的所有历史工作信息。
|
|
43
43
|
5. 每个 `Business Actor` 工作时必须与其他 `Business Actor` 保持隔离,即各自使用独立的会话/工作上下文:调用某个 `Business Actor` 时,只加载其自己名下 View 的长期记忆,不得读取或写入其他 `Business Actor` 的 View,不同 `Business Actor` 的记忆与上下文不得混用。
|
|
44
44
|
6. 每个 `Business Actor` 的 `name` 必须全局唯一,不能与其他 `Business Actor` 的 `name` 冲突。
|
package/package.json
CHANGED