Files
nexus/openclaw/xingshu/Agent任务管理系统实施记录.md
2026-03-23 20:57:45 +08:00

71 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Agent 任务管理系统实施记录
> 创建日期2026-03-19
---
## 1. Notion Integration 创建
1. 登录 https://www.notion.so/my-integrations
2. 点击 "New integration",命名为"任务调度"
3. 获取 Token`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`
---
## 2. 创建数据库
### 2.1 准备父页面
1. 在 Notion 中创建一个空白页面(如"Agent任务管理"
2. 右上角 ... → Connect to → 选择"任务调度"
### 2.2 创建任务数据库
**Database ID**: `32847fe1-da27-8135-af44-eefdbd3b1640`
| 字段 | 类型 |
|------|------|
| 任务名 | Title |
| 状态 | Select (TODO/进行中/待验收/完成/需修复) |
| 优先级 | Select (1-5) |
| 验收标准 | Rich Text |
| 报告链接 | URL |
### 2.3 创建 Agents 数据库
**Database ID**: `32847fe1-da27-8101-8758-d416db87d4de`
| 字段 | 类型 |
|------|------|
| Agent ID | Title |
| 名称 | Rich Text |
| 服务器 | Select (Ubuntu2/Ubuntu1/Mac Mini) |
| 角色 | Select (云系/风系/星系) |
| 状态 | Select (在线/离线) |
### 2.4 创建任务类型数据库
**Database ID**: `32847fe1-da27-8172-9558-e8cd5ae3e9b4`
| 字段 | 类型 |
|------|------|
| 类型名 | Title |
| 描述 | Rich Text |
---
## 3. 待完成
- [ ] 连接 Agents 和任务类型数据库到"任务调度" Integration
- [ ] 更新任务数据库,添加 Relation 字段(执行者、验收者、任务类型)
- [ ] 添加预设 Agent 数据
- [ ] 添加预设任务类型数据
---
## 4. 数据库链接
- 任务数据库https://www.notion.so/32847fe1da278135af44eefdbd3b1640
- Agentshttps://www.notion.so/32847fe1da2781018758d416db87d4de
- 任务类型https://www.notion.so/32847fe1da2781729558e8cd5ae3e9b4