docs(agents): add Teamwork hourly Beijing Time reporting and immediate merge/push rule

This commit is contained in:
troytt 2026-10-02 12:26:59 +00:00
parent 778bd57806
commit 4460f356e6
1 changed files with 14 additions and 0 deletions

View File

@ -109,3 +109,17 @@
5. **一个主题一个 worktree**:
- 不同功能、不同 issue 使用不同 worktree,严禁在同一 worktree 中混杂无关改动。
---
## 8. Teamwork 任务执行与每小时汇报铁律 (Teamwork Hourly Reporting & Continuous Delivery)
> [!IMPORTANT]
> 凡使用 Teamwork(`/teamwork-preview` 或多智能体协同编排)发起的任务,主控 Agent(Sentinel / Orchestrator)与各子 Agent 必须严格执行以下纪律:
1. **每小时(北京时间 UTC+8)汇报工作进度与完成百分比**:
- 任务运行期间,必须设置定时调度(如 `schedule` 定时/cron 任务),**每隔 1 小时按北京时间(UTC+8 / `Asia/Shanghai`)**向 master 汇报当前工作进度摘要、已完成/进行中/待处理的子任务或 Issue 列表,以及**整体完成百分比(`%`)**。
2. **修好的 Issue 立即合并回 `main` 并推送远端**:
- 采用流式持续交付,**严禁**积压所有 Issue 等全部结束再统一合并。
- 每修好一个 Issue 并通过全部门禁验证(`npm run typecheck`、`vitest`、无头浏览器实机走查等)后,必须**立即**将其从独立 worktree 合并回 `main`(fast-forward 或 rebase 到最新 `main` 后合并),**立即推送至远端 `origin/main`**,并清理对应的临时 worktree 与分支。