diff --git a/docs/ouroboros/50_tpm_control_protocol.md b/docs/ouroboros/50_tpm_control_protocol.md index b179790..619f6a8 100644 --- a/docs/ouroboros/50_tpm_control_protocol.md +++ b/docs/ouroboros/50_tpm_control_protocol.md @@ -168,11 +168,11 @@ TPM 티켓 운영 규칙: - 모니터링 체크리스트(핵심 경보/주문 경로/예외 로그) 수행 - 결과를 티켓/PR 코멘트에 증적으로 첨부하지 않으면 완료로 간주하지 않음 -## Server Reflection Rule (No-Merge by Default) +## Server Reflection Rule -- 서버 반영 기본 규칙은 `브랜치 푸시 + PR 생성/코멘트`까지로 제한한다. -- 기본 흐름에서 검증 승인 후 자동/수동 머지 실행은 금지한다. -- 예외는 사용자 명시 승인 시에만 허용되며, Main Agent가 예외 근거를 PR에 기록한다. +- `ticket temp branch -> program feature branch` 머지는 검증 승인 후 자동/수동 진행 가능하다. +- `program feature branch -> main` 머지는 사용자 명시 승인 시에만 허용한다. +- Main 병합 시 Main Agent가 승인 근거를 PR 코멘트에 기록한다. ## Acceptance Matrix (PM Scenario -> Dev Tasks -> Verifier Checks) diff --git a/docs/ouroboros/60_repo_enforcement_checklist.md b/docs/ouroboros/60_repo_enforcement_checklist.md index 58bbeb5..02f40e9 100644 --- a/docs/ouroboros/60_repo_enforcement_checklist.md +++ b/docs/ouroboros/60_repo_enforcement_checklist.md @@ -89,11 +89,11 @@ Updated: 2026-02-26 - `REPLAN-REQUEST`는 Main Agent 승인 전 \"제안\" 상태로 유지 - 승인된 재계획은 `REQ/TASK/TEST` 문서를 동시 갱신해야 유효 -## 9) 서버 반영 규칙 (No-Merge by Default) +## 9) 서버 반영 규칙 -- 서버 반영은 `브랜치 푸시 + PR 코멘트(리뷰/논의/검증승인)`까지를 기본으로 한다. -- 기본 규칙에서 `tea pulls merge` 실행은 금지한다. -- 사용자 명시 승인 시에만 예외적으로 머지를 허용한다(예외 근거를 PR 코멘트에 기록). +- 티켓 PR(`feature/issue-* -> feature/{stream}`)은 검증 승인 후 머지 가능하다. +- 최종 통합 PR(`feature/{stream} -> main`)은 사용자 명시 승인 전 `tea pulls merge` 실행 금지. +- Main 병합 시 승인 근거 코멘트 필수. ## 10) 최종 main 병합 조건 diff --git a/docs/workflow.md b/docs/workflow.md index 6e76b81..f3bb3b0 100644 --- a/docs/workflow.md +++ b/docs/workflow.md @@ -11,7 +11,7 @@ - Format: `feature/issue-{N}-{short-description}` 4. **Implement Per Ticket** — Write code, tests, and documentation on the ticket temp branch 5. **Create Pull Request to Program Feature Branch** — `feature/issue-N-* -> feature/{stream}` -6. **Review/Verify and Merge into Program Feature Branch** +6. **Review/Verify and Merge into Program Feature Branch** — user approval not required 7. **Final Integration PR to main** — Only after all ticket stages complete and explicit user approval **Never commit directly to `main`.** This policy applies to all changes, no exceptions. @@ -20,6 +20,7 @@ - Team operation default branch is the **program feature branch**, not `main`. - Ticket-level development happens only on **ticket temp branches** cut from the program feature branch. +- Ticket PR merges into program feature branch are allowed after verifier approval. - Until final user sign-off, `main` merge is prohibited. ## Gitea CLI Formatting Troubleshooting