Compare commits

..

6 Commits

Author SHA1 Message Date
cfdaily c7b4b262b1 chore(docs): 归档 §13-sim §18 §21 §25 至 archive-3.0
CI / lint (pull_request) Successful in 7s
CI / test (pull_request) Successful in 9s
CI / notify-on-failure (pull_request) Successful in 0s
- 13-toolchain-and-dev-workflow-simulation.md → archive-3.0/(模拟报告,§16 已覆盖)
- 18-toolchain-e2e-test.md → archive-3.0/(E2E 测试记录,§13 已引用)
- 21-e2e-verification-handler.md → archive-3.0/(Handler 验证,§20 §19 已覆盖)
- 25-gitea-mention-toolchain.md → archive-3.0/(@mention 集成,§13 §16 已覆盖)
2026-06-13 08:53:23 +08:00
pangtong-fujunshi e43d87f3db Merge PR #52 2026-06-13 00:53:09 +00:00
cfdaily b07e311921 chore(docs): 归档 §22 §23 至 archive-3.0,§13 追加 §7.6
CI / lint (pull_request) Successful in 6s
CI / test (pull_request) Successful in 8s
CI / notify-on-failure (pull_request) Successful in 0s
- 22-cd-production.md → archive-3.0/(部署成功通知草案)
- 23-toolchain-pr-lifecycle.md → archive-3.0/(PR 全生命周期,已由 §13 §16 覆盖)
- §13 §7 新增 §7.6 部署成功通知(草案引用)
2026-06-13 08:51:35 +08:00
pangtong-fujunshi 6ca9b19876 Merge PR #51 2026-06-13 00:50:36 +00:00
cfdaily 98eb15125d chore(docs): 归档 §20 审查文档至 archive-3.0,追加审查历史
CI / lint (pull_request) Successful in 6s
CI / test (pull_request) Successful in 9s
CI / notify-on-failure (pull_request) Successful in 0s
- review-v3-vs-head-pangtong.md → archive-3.0/
- review-v3-vs-head-simayi.md → archive-3.0/
- step5-audit-report.md → archive-3.0/
- step5-impact-analysis.md → archive-3.0/
- §20 新增 §19 审查与验证历史(关键发现+修复状态汇总)
2026-06-13 08:49:41 +08:00
pangtong-fujunshi a01bedb193 Merge PR #50 2026-06-13 00:35:50 +00:00
12 changed files with 45 additions and 0 deletions
@@ -554,6 +554,16 @@ jobs:
- revert 可能产生合并冲突 → 部署失败时人工介入
- 数据库变更回滚需人工介入 → schema 变更必须向前兼容(只加字段不删/不改),违反此规范由 CI 检查拦截(或人工 Review 拦截)
### 7.6 部署成功通知(草案)
> **状态**:草案,未实现。详细方案见 `archive-3.0/22-cd-production.md`。
当前 deploy.yml 缺少部署成功后的 Mail 通知(CI 失败和 Deploy 失败通知已实现)。待实现方案:
- deploy job 末尾追加通知 step
- 查询 Gitea API 获取关联 PR 作者
- 通过 Mail API 发送成功通知给 PR 作者 + pangtong-fujunshi
- direct push 场景通知 jiangwei-infra + pangtong-fujunshi
---
## §8. 验证流程集成
+35
View File
@@ -1009,3 +1009,38 @@ handler.post_complete(task_id, agent_id, outcome, db_path)
**结论**L2 的 RoleSkillSection 改为注入索引+引导语(~100 token),引导 Agent 用 `read` 去读 Skill 全文(L3 层)。遵循 Hermes 的渐进式 Skill 加载模式。
---
## §19. 审查与验证历史
### Step 2-5 背靠背审查(2026-06-10/11
Step 2-5(Task 五层架构重构)合并前,庞统和司马懿分别独立完成 v3.0 → HEAD 的背靠背审查。
**审查范围**v3.0 tag → HEAD6 commits, +1584/-134 行, 9 个文件)
**关键发现与修复**
| # | 问题 | 严重度 | 状态 |
|---|------|--------|------|
| A1 | dispatcher review verdict 处理丢失 | 致命 | ✅ 已修复(PR #24 |
| A2 | Handler 注册初始化缺失 | 致命 | ✅ 已修复 |
| D1 | pre_spawn 返回值未检查 | 严重 | ✅ 已修复(H1 3次重试) |
| D2 | PromptContext 缺少 from_agent/mail_type | 严重 | ✅ 已修复 |
| D5 | _check_reply 语义差异 | 严重 | ✅ 已修复(恢复 tasks 表查询) |
| D3 | inform outcome 白名单 | 轻微 | ⚪ 保留(CRASH_OUTCOMES 已覆盖) |
| D4 | retry prompt 硬编码 | 轻微 | ⚪ 保留(旧方法 deprecated |
| D6 | 标 done 重试 | 轻微 | ✅ 已修复(统一 _mark_task_status |
**Handler 缺陷修复(Step 5 前)**
| # | 修复 | 状态 |
|---|------|------|
| H1 | _mark_task_status 3 次重试 | ✅ |
| H2 | review @mention comment_type | ✅ |
| H3 | review 非 approved 保持 review | ✅ |
**背靠背设计-编码一致性检查**:13 个专题(01-13),4 个严重偏差修复,6 个轻微保留。
**详细审查记录**:见 `archive-3.0/` 目录。
---