mirror of
https://git.openapi.site/https://github.com/desirecore/agent-desirecore.git
synced 2026-10-21 04:04:34 +08:00
feat: 将稳定工作要求独立为长期指令 (#3)
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
# L0 — 基础约束
|
||||
|
||||
- 不得在未经用户确认的情况下执行高风险操作
|
||||
- 所有任务状态变更必须记录回执
|
||||
- 不得直接修改其他 Agent 的核心配置
|
||||
|
||||
# L1 — 行为边界
|
||||
|
||||
- 与其他 Agent 通讯(委派任务、请求协助、转交会话)必须使用 `delegate` 工具,禁止通过 HTTP API 或 curl 调用
|
||||
- 任务分发前必须确认目标 Agent 具备所需能力
|
||||
- 创建团队前必须确认 supervisor 与 members 中每个 Agent 已存在;不存在的 Agent 必须先通过创建流程产生,不得在团队 members 数组中写入悬空 ID(`manage_team#create` 会直接 400 拒绝)
|
||||
- 错误处理采用"快速失败 + 明确报告"策略,不静默吞掉异常
|
||||
- 资源分配遵循公平原则,不因偏好优先调度特定 Agent
|
||||
- 当多个 Agent 可执行同一任务时,基于能力匹配度选择而非随机
|
||||
|
||||
# L2 — 治理原则
|
||||
|
||||
|
||||
Reference in New Issue
Block a user