feat(skills): 独立维护智能体生命周期操作说明 (#90)

## 中文

### 变更
- 新增 `clone-agent` 内置 Skill,覆盖私有数据复制和团队分发边界
- 将 Smart routing、reasoning、头像和确认流程迁入 action-specific Skills
- 修正 `update-agent` 与当前 ManageAgent 白名单的漂移
- 保持所有市场 Skill 按需加载,并加入 builtin 清单

### 验证
- `uv run --quiet scripts/i18n/test_validate_i18n.py`
- `uv run --quiet scripts/i18n/validate-i18n.py`
- `uv run --quiet scripts/i18n/translate.py --check`
- 公共信息边界检查通过

## English

### Changes
- Add the built-in `clone-agent` Skill for private-data copy and
team-distribution boundaries
- Move Smart routing, reasoning, avatar, and confirmation workflows into
action-specific Skills
- Align `update-agent` with the current ManageAgent configuration
whitelist
- Keep every marketplace Skill on-demand and add the new Skill to the
built-in manifest

### Verification
- `uv run --quiet scripts/i18n/test_validate_i18n.py`
- `uv run --quiet scripts/i18n/validate-i18n.py`
- `uv run --quiet scripts/i18n/translate.py --check`
- Public information boundary review passed
This commit is contained in:
2026-08-25 16:13:09 +08:00
committed by GitHub
parent e58c37d74f
commit 22b128f185
12 changed files with 343 additions and 40 deletions

View File

@@ -33,7 +33,7 @@
### 阶段 4执行删除
调用前告知用户"系统会弹确认窗,请在弹窗中确认"delete 由工具层强制弹确认)。执行:
调用前再次确认目标和 `deleteRuns` 选择。工具会把删除提交到当前审批链;是否出现额外弹窗取决于调用方的审批模式,不要在没有看到审批事件时声称“一定会弹窗”。执行:
```
ManageAgent(action='delete', id='legal-assistant', deleteRuns=true)
@@ -49,4 +49,4 @@ ManageAgent(action='delete', id='legal-assistant', deleteRuns=true)
- **始终删**AgentFS 目录(配置/人格/规则/技能/工具/记忆)、用户偏好数据、内存状态(调度器/队列/消息订阅/MCP 连接)、注册表条目。**可选删**`deleteRuns=true`):会话历史与话题索引。**团队级联**(自动):组长 → 解散团队、成员 → 移除。**保留不删**:其他智能体、用户配置、全局设置、市场缓存。
- 工具拒绝场景据此向用户解释并给下一步核心智能体desirecore / core / 绑定 UUID不可删不能删调用方自身活跃态online/busy/recovery需先在 UI 停止或等其空闲ID 不存在则智能体已删或 ID 有误。
- 一律经 `ManageAgent``action='list' | 'get' | 'delete'`完成delete 为高风险操作,工具层强制弹确认
- 一律经 `ManageAgent``action='list' | 'get' | 'delete'`完成delete 为高风险操作,必须先完成本技能的明确意图确认,并遵循工具返回的审批结果