auto-sync: 2026-06-07 11:16:12
Deploy / ci (push) Waiting to run
Deploy / deploy (push) Blocked by required conditions
Deploy / notify-deploy-failure (push) Blocked by required conditions

This commit is contained in:
cfdaily
2026-06-07 11:16:12 +08:00
parent 3f0a03ab3d
commit 5518ab2487
+12 -12
View File
@@ -1,6 +1,6 @@
# 三国团队工具链与开发流程设计
> **状态**: v2.0串联架构重构(Gitea 自动化 + Daemon Webhook + Mail 执行层
> **状态**: v2.1事件中枢详细设计(§16 新增
> **作者**: 庞统(副军师)🐦
> **评审**: 司马懿(仲达)🗡️
> **日期**: 2026-06-06
@@ -1483,7 +1483,7 @@ daemon Webhook 模块中维护此映射表。
> §16 是对 §15 串联架构的落地设计补充,定义事件中枢的具体实现方案。
> 版本: v1.0-draft | 日期: 2026-06-07 | 状态: 待评审
## §16.0. 讨论纪要
### §16.0. 讨论纪要
本节记录设计过程中的关键讨论,供未来回溯。
@@ -1511,7 +1511,7 @@ daemon Webhook 模块中维护此映射表。
---
## §16.1. 定位与边界
### §16.1. 定位与边界
### 1.1 是什么
@@ -1558,7 +1558,7 @@ daemon 内部 ───────┘ │ 5. 创建 Mail │
---
## §16.2. 事件分类与处理
### §16.2. 事件分类与处理
### 2.1 事件来源
@@ -1593,7 +1593,7 @@ daemon 内部 ───────┘ │ 5. 创建 Mail │
---
## §16.3. 模板系统
### §16.3. 模板系统
### 3.1 模板文件组织
@@ -1663,7 +1663,7 @@ def calc_risk_level(changed_files: list[str]) -> str:
---
## §16.4. 技术设计
### §16.4. 技术设计
### 4.1 模块结构
@@ -1885,7 +1885,7 @@ class TemplateEngine:
---
## §16.5. 错误处理
### §16.5. 错误处理
| 场景 | 处理 | HTTP 返回 |
|------|------|----------|
@@ -1903,7 +1903,7 @@ class TemplateEngine:
---
## §16.6. CI/Deploy Workflow 配合
### §16.6. CI/Deploy Workflow 配合
### 6.1 CI 失败通知
@@ -1948,7 +1948,7 @@ CI workflow 失败时写 PR comment,触发 issue_comment Webhook
---
## §16.7. 配置
### §16.7. 配置
| 环境变量 | 用途 | 默认值 |
|---------|------|--------|
@@ -1958,7 +1958,7 @@ CI workflow 失败时写 PR comment,触发 issue_comment Webhook
---
## §16.8. 待确认项
### §16.8. 待确认项
| # | 项 | 负责人 | 说明 |
|---|------|--------|------|
@@ -1970,7 +1970,7 @@ CI workflow 失败时写 PR comment,触发 issue_comment Webhook
---
## §16.9. 实施计划
### §16.9. 实施计划
| 步骤 | 内容 | 依赖 |
|------|------|------|
@@ -1998,7 +1998,7 @@ CI workflow 失败时写 PR comment,触发 issue_comment Webhook
---
## §16.10. 评审检查清单
### §16.10. 评审检查清单
- [ ] §0 讨论纪要是否准确反映了决策过程
- [ ] §1 两条线的边界是否清晰(出线不走中枢,入线统一走中枢)