docs: sdlc-repo-standard 技能更新 git 提交时机——改为审核通过后统一提交,agent 不再每次产出 git_commit_push

This commit is contained in:
yumoqing 2026-08-20 21:45:58 +08:00
parent 03745f38e9
commit 69c7c46718

View File

@ -50,8 +50,9 @@ workspace/
```
**说明**
- 项目过程仓库是**本地 git 仓库**(无远程),只 commit 不 pushQC 审核检查 commit 记录。
- 应用仓库、模块仓库是**代码仓库**有远程develop 阶段 clone 到 `repos/` 下并提交。
- 项目过程仓库是**本地 git 仓库**(无远程),只 commit 不 push。
- 应用仓库、模块仓库是**代码仓库**有远程develop 阶段 clone 到 `repos/` 下。
- **git 提交时机**:不在 agent 每次产出时提交,而是 **PM 审核通过后系统统一提交**(项目过程仓库 + 应用/模块仓库),减少 git 并发锁与远端 push 频率。
## 模块说明文件 `modules/<模块名>.md`
@ -98,7 +99,7 @@ modules/<模块名>/
## 各角色产出规范
> 所有阶段文档都产出到项目过程仓库 `repos/project/` 下,完成后 `git_commit_push` 提交到项目过程仓库
> 所有阶段文档都产出到项目过程仓库 `repos/project/` 下,完成后 `deliver` 交付即可;**git 提交由 PM 审核通过后系统统一执行**agent 无需自己 `git_commit_push`。
### requirement需求分析师
- **产出**: `repos/project/docs/00-requirement/requirement-spec.md`
@ -121,9 +122,8 @@ modules/<模块名>/
2. `git_clone` 模块仓库到 `repos/`
3. `write_file` 写代码到模块仓库
4. `run_shell` 编译验证
5. `git_commit_push` 提交模块仓库
6. `write_file` 更新 `repos/project/modules/<模块名>.md` 状态,`git_commit_push` 提交项目过程仓库
7. `deliver` 交付
5. `write_file` 更新 `repos/project/modules/<模块名>.md` 状态
6. `deliver` 交付git 提交由 PM 审核通过后系统统一执行)
### test测试工程师
- **产出**: `repos/project/docs/03-test/test-plan.md`, `test-cases.md`, `test-report.md`
@ -133,6 +133,6 @@ modules/<模块名>/
### PM项目经理
- **审核要点**:
- 每个阶段检查项目过程仓库有 git commit、交付件已受控提交
- develop: 必须检查对应模块仓库有 git commit`modules/` 状态已更新
- 每个阶段检查交付件实际产出list_files/read_file 检查文件),审核通过后系统统一 git 提交
- develop: 必须检查对应模块仓库代码文件实际产出`modules/` 状态已更新
- 每个阶段检查 `modules/``apps/` 文件是否随进度更新