moai-adk 0.3.13__py3-none-any.whl → 0.4.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of moai-adk might be problematic. Click here for more details.

Files changed (141) hide show
  1. moai_adk/__init__.py +1 -1
  2. moai_adk/__main__.py +1 -1
  3. moai_adk/cli/commands/__init__.py +1 -1
  4. moai_adk/cli/commands/doctor.py +2 -2
  5. moai_adk/cli/commands/init.py +10 -5
  6. moai_adk/cli/commands/status.py +1 -1
  7. moai_adk/cli/commands/update.py +210 -8
  8. moai_adk/cli/prompts/init_prompts.py +15 -19
  9. moai_adk/core/__init__.py +1 -1
  10. moai_adk/core/diagnostics/slash_commands.py +1 -1
  11. moai_adk/core/git/branch.py +1 -1
  12. moai_adk/core/git/manager.py +1 -1
  13. moai_adk/core/project/backup_utils.py +1 -0
  14. moai_adk/core/project/phase_executor.py +3 -1
  15. moai_adk/core/project/validator.py +3 -2
  16. moai_adk/core/quality/__init__.py +1 -1
  17. moai_adk/core/quality/trust_checker.py +1 -1
  18. moai_adk/core/quality/validators/__init__.py +1 -1
  19. moai_adk/core/quality/validators/base_validator.py +1 -1
  20. moai_adk/core/template/__init__.py +1 -1
  21. moai_adk/core/template/backup.py +12 -3
  22. moai_adk/core/template/config.py +24 -0
  23. moai_adk/core/template/languages.py +1 -1
  24. moai_adk/core/template/merger.py +74 -4
  25. moai_adk/core/template/processor.py +62 -14
  26. moai_adk/templates/.claude/agents/alfred/cc-manager.md +765 -191
  27. moai_adk/templates/.claude/agents/alfred/debug-helper.md +116 -103
  28. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +130 -116
  29. moai_adk/templates/.claude/agents/alfred/git-manager.md +186 -174
  30. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +227 -213
  31. moai_adk/templates/.claude/agents/alfred/project-manager.md +205 -125
  32. moai_adk/templates/.claude/agents/alfred/quality-gate.md +224 -209
  33. moai_adk/templates/.claude/agents/alfred/spec-builder.md +174 -160
  34. moai_adk/templates/.claude/agents/alfred/tag-agent.md +151 -139
  35. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +209 -196
  36. moai_adk/templates/.claude/agents/alfred/trust-checker.md +247 -233
  37. moai_adk/templates/.claude/commands/alfred/0-project.md +856 -355
  38. moai_adk/templates/.claude/commands/alfred/1-plan.md +572 -0
  39. moai_adk/templates/.claude/commands/alfred/2-run.md +470 -0
  40. moai_adk/templates/.claude/commands/alfred/3-sync.md +366 -356
  41. moai_adk/templates/.claude/hooks/alfred/README.md +52 -52
  42. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +44 -48
  43. moai_adk/templates/.claude/hooks/alfred/core/__init__.py +17 -17
  44. moai_adk/templates/.claude/hooks/alfred/core/checkpoint.py +59 -59
  45. moai_adk/templates/.claude/hooks/alfred/core/context.py +19 -19
  46. moai_adk/templates/.claude/hooks/alfred/core/project.py +52 -52
  47. moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +1 -1
  48. moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +4 -4
  49. moai_adk/templates/.claude/hooks/alfred/handlers/session.py +30 -51
  50. moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +16 -17
  51. moai_adk/templates/.claude/hooks/alfred/handlers/user.py +11 -11
  52. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +308 -307
  53. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +297 -296
  54. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +191 -190
  55. moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +112 -0
  56. moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +103 -0
  57. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +103 -0
  58. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +95 -0
  59. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +99 -0
  60. moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +105 -0
  61. moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +97 -0
  62. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +97 -0
  63. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +90 -0
  64. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +99 -0
  65. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +87 -0
  66. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +62 -0
  67. moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +94 -0
  68. moai_adk/templates/.claude/skills/moai-claude-code/examples.md +513 -0
  69. moai_adk/templates/.claude/skills/moai-claude-code/reference.md +433 -0
  70. moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +332 -0
  71. moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +384 -0
  72. moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +363 -0
  73. moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +595 -0
  74. moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +496 -0
  75. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +99 -0
  76. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +95 -0
  77. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +98 -0
  78. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +100 -0
  79. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +100 -0
  80. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +99 -0
  81. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +99 -0
  82. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +93 -0
  83. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +105 -0
  84. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +97 -0
  85. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +102 -0
  86. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +104 -0
  87. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +96 -0
  88. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +112 -0
  89. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +98 -0
  90. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +90 -0
  91. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +94 -0
  92. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +93 -0
  93. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +86 -0
  94. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +86 -0
  95. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +100 -0
  96. moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +100 -0
  97. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +102 -0
  98. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +100 -0
  99. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +98 -0
  100. moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +99 -0
  101. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +100 -0
  102. moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +100 -0
  103. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +98 -0
  104. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +96 -0
  105. moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +98 -0
  106. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +99 -0
  107. moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +98 -0
  108. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +98 -0
  109. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +96 -0
  110. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +99 -0
  111. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +99 -0
  112. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +100 -0
  113. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +100 -0
  114. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +100 -0
  115. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +100 -0
  116. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +99 -0
  117. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +96 -0
  118. moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +44 -43
  119. moai_adk/templates/.github/workflows/moai-gitflow.yml +36 -35
  120. moai_adk/templates/.moai/config.json +9 -6
  121. moai_adk/templates/.moai/memory/development-guide.md +220 -221
  122. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +85 -85
  123. moai_adk/templates/.moai/memory/spec-metadata.md +149 -150
  124. moai_adk/templates/.moai/project/product.md +90 -90
  125. moai_adk/templates/.moai/project/structure.md +85 -85
  126. moai_adk/templates/.moai/project/tech.md +117 -117
  127. moai_adk/templates/CLAUDE.md +354 -573
  128. moai_adk/templates/__init__.py +1 -1
  129. moai_adk/utils/__init__.py +1 -1
  130. moai_adk/utils/banner.py +7 -7
  131. moai_adk/utils/logger.py +1 -1
  132. moai_adk-0.4.1.dist-info/METADATA +303 -0
  133. moai_adk-0.4.1.dist-info/RECORD +152 -0
  134. moai_adk/templates/.claude/commands/alfred/1-spec.md +0 -532
  135. moai_adk/templates/.claude/commands/alfred/2-build.md +0 -432
  136. moai_adk/templates/.moai/hooks/pre-push.sample +0 -88
  137. moai_adk-0.3.13.dist-info/METADATA +0 -1586
  138. moai_adk-0.3.13.dist-info/RECORD +0 -90
  139. {moai_adk-0.3.13.dist-info → moai_adk-0.4.1.dist-info}/WHEEL +0 -0
  140. {moai_adk-0.3.13.dist-info → moai_adk-0.4.1.dist-info}/entry_points.txt +0 -0
  141. {moai_adk-0.3.13.dist-info → moai_adk-0.4.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: alfred:3-sync
3
- description: 문서 동기화 + PR Ready 전환
4
- argument-hint: "모드 대상경로 - 모드: auto(기본)|force|status|project, 대상경로: 동기화 대상 경로"
3
+ description: Document synchronization + PR Ready conversion
4
+ argument-hint: "Mode target path - Mode: auto (default)|force|status|project, target path: Synchronization target path"
5
5
  allowed-tools:
6
6
  - Read
7
7
  - Write
@@ -16,539 +16,549 @@ allowed-tools:
16
16
  - TodoWrite
17
17
  ---
18
18
 
19
- # 📚 MoAI-ADK 3단계: 문서 동기화(+선택적 PR Ready)
19
+ # 📚 MoAI-ADK Step 3: Document Synchronization (+Optional PR Ready)
20
+ > Interactive prompts rely on `Skill("moai-alfred-tui-survey")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
20
21
 
21
- ## 🎯 커맨드 목적
22
+ ## 🎯 Command Purpose
22
23
 
23
- 코드 변경사항을 Living Document에 동기화하고, @TAG 시스템을 검증하여 완벽한 추적성을 보장합니다.
24
+ Synchronize code changes to Living Documents and verify @TAG system to ensure complete traceability.
24
25
 
25
- **문서 동기화 대상**: $ARGUMENTS
26
+ **Document sync to**: $ARGUMENTS
26
27
 
27
- > **표준 2단계 워크플로우** (자세한 내용: `CLAUDE.md` - "Alfred 커맨드 실행 패턴" 참조)
28
+ > **Standard two-step workflow** (see `CLAUDE.md` - "Alfred Command Execution Pattern" for details)
28
29
 
29
- ## 📋 실행 흐름
30
+ ## 📋 Execution flow
30
31
 
31
- 1. **프로젝트 상태 분석**: Git 변경사항 TAG 시스템 검증
32
- 2. **동기화 범위 결정**: 전체/부분/선택적 동기화 전략
33
- 3. **사용자 확인**: 동기화 계획 검토 승인
34
- 4. **문서 동기화**: Living Document 갱신 TAG 무결성 보장
35
- 5. **Git 작업**: git-manager를 통한 커밋 PR 상태 전환
32
+ 1. **Project status analysis**: Git changes and TAG system verification
33
+ 2. **Determine the scope of synchronization**: Full/partial/selective synchronization strategy
34
+ 3. **User Confirmation**: Review and approve synchronization plan
35
+ 4. **Document Synchronization**: Living Document updates and TAG integrity guaranteed
36
+ 5. **Git operations**: Commit and PR state transitions via git-manager
36
37
 
37
- ## 🔗 연관 에이전트
38
+ ## 🧠 Skill Loadout Overview
38
39
 
39
- - **Phase 1**: quality-gate (🛡️ 품질 보증 엔지니어) - 동기화 전 품질 검증 (조건부)
40
- - **Primary**: doc-syncer (📖 테크니컬 라이터) - 문서 동기화 전담
41
- - **Secondary**: git-manager (🚀 릴리스 엔지니어) - Git 커밋/PR 전담
40
+ | Agent | Auto core skill | Conditional skills |
41
+ | ----- | ---------------- | ------------------ |
42
+ | tag-agent | Skill("moai-alfred-tag-scanning") | Skill("moai-foundation-tags"), Skill("moai-alfred-trust-validation"), Skill("moai-foundation-specs"), Skill("moai-alfred-tui-survey") |
43
+ | quality-gate | Skill("moai-alfred-trust-validation") | Skill("moai-alfred-tag-scanning"), Skill("moai-alfred-code-reviewer"), Skill("moai-essentials-review"), Skill("moai-essentials-perf"), Skill("moai-alfred-performance-optimizer"), Skill("moai-foundation-trust"), Skill("moai-alfred-tui-survey") |
44
+ | doc-syncer | Skill("moai-alfred-tag-scanning") | Skill("moai-foundation-tags"), Skill("moai-alfred-trust-validation"), Skill("moai-foundation-specs"), Skill("moai-alfred-git-workflow"), Skill("moai-alfred-code-reviewer"), Skill("moai-alfred-tui-survey") |
45
+ | git-manager | Skill("moai-alfred-git-workflow") | Skill("moai-foundation-git"), Skill("moai-alfred-trust-validation"), Skill("moai-alfred-tag-scanning"), Skill("moai-alfred-tui-survey") |
42
46
 
43
- ## 💡 사용 예시
47
+ ## 🔗 Associated Agent
44
48
 
45
- 사용자가 다음과 같이 커맨드를 실행할 있습니다:
46
- - `/alfred:3-sync` - 자동 동기화 (PR Ready만)
47
- - `/alfred:3-sync --auto-merge` - PR 자동 머지 + 브랜치 정리
48
- - `/alfred:3-sync force` - 강제 전체 동기화
49
- - `/alfred:3-sync status` - 동기화 상태 확인
50
- - `/alfred:3-sync project` - 통합 프로젝트 동기화
49
+ - **Phase 1**: quality-gate (🛡️ Quality Assurance Engineer) - Quality verification before synchronization (conditional)
50
+ - **Primary**: doc-syncer (📖 Technical Writer) - Dedicated to document synchronization
51
+ - **Secondary**: git-manager (🚀 Release Engineer) - Dedicated to Git commits/PR
51
52
 
52
- ### 🚀 완전 자동화된 GitFlow (--auto-merge)
53
+ ## 💡 Example of use
53
54
 
54
- **Team 모드에서 사용 다음 작업을 자동으로 수행합니다**:
55
- 1. 문서 동기화 완료
56
- 2. PR Ready 전환
57
- 3. CI/CD 상태 확인
58
- 4. PR 자동 머지 (squash)
59
- 5. develop 체크아웃 동기화
60
- 6. 로컬 feature 브랜치 정리
61
- 7. **다음 작업 준비 완료** ✅
55
+ Users can run the command as follows:
56
+ - `/alfred:3-sync` - Auto-sync (PR Ready only)
57
+ - `/alfred:3-sync --auto-merge` - PR auto-merge + branch cleanup
58
+ - `/alfred:3-sync force` - Force full synchronization
59
+ - `/alfred:3-sync status` - Check synchronization status
60
+ - `/alfred:3-sync project` - Integrated project synchronization
62
61
 
63
- **권장 사용 시점**: TDD 구현 완료 후 한 번에 머지까지 완료하고 싶을 때
62
+ ### 🚀 Fully automated GitFlow (--auto-merge)
64
63
 
65
- **Personal 모드**: 로컬 main/develop 머지 브랜치 정리 자동화
64
+ **Automatically performs the following actions when used in Team mode**:
65
+ 1. Document synchronization complete
66
+ 2. Switch to PR Ready
67
+ 3. Check CI/CD status
68
+ 4. PR automatic merge (squash)
69
+ 5. Develop checkout and synchronization
70
+ 6. Organizing local feature branches
71
+ 7. **Ready for next task** ✅
66
72
 
67
- ## 🔍 STEP 1: 동기화 범위 분석 계획 수립
73
+ **Recommended use time**: When you want to complete the merge in one go after completing TDD implementation.
68
74
 
69
- 프로젝트 상태를 분석하여 동기화 범위를 결정하고 체계적인 동기화 계획을 수립한 후 사용자 확인을 받습니다.
75
+ **Personal mode**: Automate local main/develop merges and branch cleanups
70
76
 
71
- **doc-syncer 에이전트가 자동으로 TAG 체인 스캔 Git 변경사항을 확인하여 분석합니다.**
77
+ ## 🔍 STEP 1: Analyze synchronization scope and establish plan
72
78
 
73
- ### 🔍 TAG 체인 탐색 (선택사항)
79
+ Analyze project status to determine synchronization scope, develop a systematic synchronization plan, and receive user confirmation.
74
80
 
75
- **TAG 체인이 복잡하거나 광범위한 경우** Explore 에이전트를 먼저 활용합니다:
81
+ **The doc-syncer agent automatically scans the TAG chain and identifies and analyzes Git changes.**
82
+
83
+ ### 🔍 TAG chain navigation (optional)
84
+
85
+ **If your TAG chain is complex or extensive**, utilize the Explore agent first:
76
86
 
77
87
  ```
78
- Task tool 호출 (Explore 에이전트):
88
+ Invoking the Task tool (Explore agent):
79
89
  - subagent_type: "Explore"
80
- - description: "TAG 시스템 전체 스캔"
81
- - prompt: "프로젝트 전체에서 @TAG 시스템을 스캔해주세요:
82
- - @SPEC TAG 위치 (.moai/specs/)
83
- - @TEST TAG 위치 (tests/)
84
- - @CODE TAG 위치 (src/)
85
- - @DOC TAG 위치 (docs/)
86
- - 고아 TAG 끊어진 참조 탐지
87
- thoroughness 레벨: very thorough"
90
+ - description: "Scan entire TAG system"
91
+ - prompt: "Please scan @TAG system throughout the project:
92
+ - @SPEC TAG location (.moai/specs/)
93
+ - @TEST TAG location (tests/)
94
+ - @CODE TAG location (src/)
95
+ - @DOC TAG location (docs/)
96
+ - Detect orphan TAGs and broken references
97
+ Thoroughness level: very thorough"
88
98
  ```
89
99
 
90
- **Explore 에이전트 사용 시점**:
91
- - ✅ 대규모 프로젝트 (100 이상 파일)
92
- - ✅ TAG 체인 무결성 검증이 필요한 경우
93
- - ✅ 여러 SPEC에 걸친 변경사항
94
- - ❌ 단일 SPEC의 간단한 변경
100
+ **Explore Agent When to Use**:
101
+ - ✅ Large projects (100+ files)
102
+ - ✅ When TAG chain integrity verification is required
103
+ - ✅ Changes across multiple SPECs
104
+ - ❌ Simple changes to a single SPEC
95
105
 
96
- ### ⚙️ 에이전트 호출 방법
106
+ ### ⚙️ How to call an agent
97
107
 
98
- **STEP 1에서는 Task tool을 사용하여 doc-syncer tag-agent 호출합니다**:
108
+ **In STEP 1, call doc-syncer and tag-agent using the Task tool**:
99
109
 
100
110
  ```
101
- 1. tag-agent 호출 (TAG 검증):
111
+ 1. Tag-agent call (TAG verification):
102
112
  - subagent_type: "tag-agent"
103
- - description: "TAG 시스템 검증"
104
- - prompt: "전체 TAG 체인 무결성을 검증해주세요.
105
- @SPEC, @TEST, @CODE, @DOC TAG의 완전성과
106
- 고아 TAG를 확인해주세요.
107
- (선택) Explore 결과: $EXPLORE_RESULTS"
113
+ - description: "Verify TAG system"
114
+ - prompt: "Please verify the integrity of the entire TAG chain.
115
+ Please verify the integrity of @SPEC, @TEST, @CODE, @DOC TAGs
116
+ and orphan TAGs.
117
+ (Optional) Explore results: $EXPLORE_RESULTS"
108
118
 
109
- 2. doc-syncer 호출 (동기화 계획):
119
+ 2. doc-syncer call (synchronization plan):
110
120
  - subagent_type: "doc-syncer"
111
- - description: "문서 동기화 계획 수립"
112
- - prompt: "Git 변경사항을 분석하여 문서 동기화 계획을 수립해주세요.
121
+ - description: "Establish a document synchronization plan"
122
+ - prompt: "Please analyze Git changes and establish a document synchronization plan.
113
123
  $ARGUMENTS
114
- (선택) TAG 검증 결과: $TAG_VALIDATION_RESULTS"
124
+ (Optional) TAG validation results: $TAG_VALIDATION_RESULTS"
115
125
  ```
116
126
 
117
- ### 동기화 분석 진행
127
+ ### Synchronization analysis in progress
118
128
 
119
- 1. **프로젝트 상태 확인**
120
- - Git 상태 변경된 파일 목록
121
- - 코드-문서 일치성 검사
122
- - @TAG 시스템 검증 (tag-agent 또는 Explore 활용)
123
- - (선택) Explore 결과 기반 광범위한 TAG 스캔
129
+ 1. **Check project status**
130
+ - Git status and changed file list
131
+ - Code-document consistency check
132
+ - @TAG system verification (using tag-agent or Explore)
133
+ - (Optional) Extensive TAG scan based on Explore results
124
134
 
125
- 2. **동기화 범위 결정**
126
- - Living Document 업데이트 필요 영역
127
- - TAG 인덱스 갱신 필요성
128
- - PR 상태 전환 가능성 ( 모드)
135
+ 2. **Determine the scope of synchronization**
136
+ - Living Document area requiring update
137
+ - TAG index need to be updated
138
+ - PR status transition possibility (team mode)
129
139
 
130
- 3. **동기화 전략 수립**
131
- - 모드별 동기화 접근 방식
132
- - 예상 작업 시간 우선순위
133
- - 잠재적 위험 요소 식별
140
+ 3. **Establish a synchronization strategy**
141
+ - Synchronization approach for each mode
142
+ - Estimated work time and priorities
143
+ - Identify potential risks
134
144
 
135
- ### Phase 1 세부: 품질 사전 검증 (조건부 자동 실행)
145
+ ### Phase 1 Details: Quality pre-verification (conditional automatic execution)
136
146
 
137
- 동기화 코드 품질을 빠르게 확인합니다.
147
+ Quickly check code quality before synchronization.
138
148
 
139
- **Phase 3 (2-build)와의 차이점**:
140
- - **Phase 3**: TDD 구현 완료 심층 검증 (테스트 커버리지, 코드 품질, 보안)
141
- - **Phase 1**: 동기화 빠른 스캔 (파일 손상, Critical 이슈만)
149
+ **Differences from Phase 3 (2-build)**:
150
+ - **Phase 3**: In-depth verification after completion of TDD implementation (test coverage, code quality, security)
151
+ - **Phase 1**: Quick scan before synchronization (file corruption, critical issues only)
142
152
 
143
- **목적**: 품질 문제가 있는 코드의 문서화 방지
153
+ **Purpose**: Prevent documentation of code with quality issues
144
154
 
145
- **실행 조건 (자동 판단)**:
146
- - Git diff로 코드 변경 라인 확인
147
- - 변경 라인 > 50줄: 자동 실행
148
- - 변경 라인 ≤ 50줄: 건너뛰기
149
- - 문서만 변경: 건너뛰기
155
+ **Execution conditions (automatic judgment)**:
156
+ - Check the number of code change lines with Git diff
157
+ - Changed lines > 50 lines: Automatically run
158
+ - Changed lines ≤ 50 lines: Skip
159
+ - Change only document: Skip
150
160
 
151
- **검증 항목**:
152
- - **변경 파일만 검증**: Git diff로 확인된 파일 대상
153
- - **TRUST 원칙 검증**: trust-checker 스크립트 실행
154
- - **코드 스타일**: 린터 실행 (변경 파일만)
155
- - **TAG 체인**: 변경된 TAG 무결성 확인
161
+ **Verification items**:
162
+ - **Verify only changed files**: File targets verified by Git diff
163
+ - **TRUST principle verification**: Run trust-checker script
164
+ - **Code style**: Run linter (changed files only)
165
+ - **TAG chain**: Verify changed TAG integrity
156
166
 
157
- **실행 방식**:
158
- Alfred 코드 변경이 많을 때 자동으로 quality-gate 에이전트를 호출하여 문서 동기화 빠른 품질 검증을 수행합니다.
167
+ **How ​​it works**:
168
+ Alfred automatically calls the quality-gate agent when there are a lot of code changes to perform quick quality verification before document synchronization.
159
169
 
160
- **검증 결과 처리**:
170
+ **Handling verification results**:
161
171
 
162
- ✅ **PASS (Critical 0개)**: 동기화 진행
172
+ ✅ **PASS (0 Critical)**: Synchronization in progress
163
173
 
164
- ⚠️ **WARNING (Critical 0개, Warning 있음)**: 경고 표시 동기화 진행
174
+ ⚠️ **WARNING (0 Critical, Warning included)**: Synchronization proceeds after displaying warning.
165
175
 
166
- ❌ **CRITICAL (Critical 1 이상)**: 동기화 중단, 수정 권장
167
- - Critical 이슈 발견: 동기화 중단, 수정 권장
168
- - 사용자 선택: "수정 재시도" 또는 "강제 진행"
176
+ ❌ **CRITICAL (1 or more Critical)**: Synchronization stopped, correction recommended
177
+ - Critical issue found: Synchronization stopped, correction recommended
178
+ - User selection: “Retry after modification” or “Force proceed”
169
179
 
170
- **검증 생략 옵션**:
171
- 사전 검증을 건너뛰려면 `/alfred:3-sync --skip-pre-check` 옵션을 사용합니다.
180
+ **Skip verification option**:
181
+ To skip pre-verification, use the `/alfred:3-sync --skip-pre-check` option.
172
182
 
173
183
  ---
174
184
 
175
- ### 사용자 확인 단계
185
+ ### User verification steps
176
186
 
177
- 동기화 계획 검토 다음 선택하세요:
178
- - **"진행"** 또는 **"시작"**: 계획대로 동기화 시작
179
- - **"수정 [내용]"**: 동기화 계획 수정 요청
180
- - **"중단"**: 동기화 작업 중단
187
+ After reviewing your sync plan, `Skill("moai-alfred-tui-survey")` presents the following options for user decision:
188
+ - **"Proceed"** or **"Start"**: Start synchronization as planned
189
+ - **"Modify [Contents]"**: Request modifications to your sync plan
190
+ - **"Abort"**: Abort the sync operation
181
191
 
182
192
  ---
183
193
 
184
- ## 🚀 STEP 2: 문서 동기화 실행 (사용자 승인 )
194
+ ## 🚀 STEP 2: Execute document synchronization (after user approval)
185
195
 
186
- 사용자 승인 doc-syncer 에이전트가 **Living Document 동기화와 @TAG 업데이트**를 수행하고, 모드에서만 PR Ready 전환을 선택적으로 실행합니다.
196
+ After user approval (collected via `Skill("moai-alfred-tui-survey")`), the doc-syncer agent performs **Living Document synchronization and @TAG updates**, and optionally executes PR Ready transitions only in team mode.
187
197
 
188
- ### Phase 2 세부: SPEC 완료 처리 (자동)
198
+ ### Phase 2 Details: SPEC Completion Processing (Automatic)
189
199
 
190
- doc-syncer 에이전트가 TDD 구현 완료 여부를 자동으로 판단하여 SPEC 메타데이터를 업데이트합니다.
200
+ The doc-syncer agent automatically determines whether TDD implementation is complete and updates SPEC metadata.
191
201
 
192
- **자동 업데이트 조건**:
193
- - status `draft`인 SPEC
194
- - RED → GREEN → REFACTOR 커밋 존재
195
- - @TEST @CODE TAG 존재
202
+ **Automatic update conditions**:
203
+ - SPEC with status `draft`
204
+ - RED → GREEN → REFACTOR commit exists
205
+ - @TEST and @CODE TAG exist
196
206
 
197
- **업데이트 내용**:
207
+ **Update details**:
198
208
  - `status: draft` → `status: completed`
199
209
  - `version: 0.0.x` → `version: 0.1.0`
200
- - HISTORY 섹션 자동 추가
210
+ - Automatic addition of HISTORY section
201
211
 
202
- **조건 미충족 시**: Phase 2 세부 작업 자동 건너뜀
212
+ **If conditions are not met**: Phase 2 detailed work is automatically skipped
203
213
 
204
- ## 기능
214
+ ## function
205
215
 
206
- - **자동 문서 동기화**: doc-syncer 에이전트가 Living Document 동기화와 @TAG 업데이트를 수행합니다. 모드에서만 PR Ready 전환을 선택적으로 실행합니다.
216
+ - **Automatic Document Synchronization**: The doc-syncer agent performs Living Document synchronization and @TAG updates. Optionally implements the PR Ready transition only in team mode.
207
217
 
208
- ## 동기화 산출물
218
+ ## Synchronization output
209
219
 
210
- - `.moai/reports/sync-report.md` 생성/갱신
211
- - TAG 체인 검증: 코드 직접 스캔 (`rg '@TAG' -n src/ tests/`)
220
+ - `.moai/reports/sync-report.md` creation/update
221
+ - TAG chain verification: Direct code scan (`rg '@TAG' -n src/ tests/`)
212
222
 
213
- ## 모드별 실행 방식
223
+ ## Execution method by mode
214
224
 
215
- ## 📋 STEP 1 실행 가이드: 동기화 범위 분석 계획 수립
225
+ ## 📋 STEP 1 Implementation Guide: Analyzing the scope of synchronization and establishing a plan
216
226
 
217
- ### 1. 프로젝트 상태 분석
227
+ ### 1. Project status analysis
218
228
 
219
- Alfred doc-syncer 에이전트를 호출하여 동기화 대상과 범위를 분석합니다.
229
+ Alfred calls the doc-syncer agent to analyze synchronization targets and scopes.
220
230
 
221
- #### 분석 체크리스트
231
+ #### Analysis Checklist
222
232
 
223
- - [ ] **Git 상태**: 변경된 파일, 브랜치 상태, 커밋 히스토리
224
- - [ ] **문서 일치성**: 코드-문서 동기화 필요성
225
- - [ ] **TAG 시스템**: @TAG 체계 검증 끊어진 링크
226
- - [ ] **동기화 범위**: 전체 vs 부분 vs 특정 경로 동기화
233
+ - [ ] **Git status**: Changed files, branch status, commit history
234
+ - [ ] **Document consistency**: Need for code-to-document synchronization
235
+ - [ ] **TAG system**: @TAG scheme verification and broken links
236
+ - [ ] **Sync scope**: Full vs partial vs specific path synchronization
227
237
 
228
- ### 2. 동기화 전략 결정
238
+ ### 2. Determine synchronization strategy
229
239
 
230
- #### 모드별 동기화 접근법
240
+ #### Mode-specific synchronization approach
231
241
 
232
- | 모드 | 동기화 범위 | PR 처리 | 주요 특징 |
233
- |------|-------------|---------|----------|
234
- | **Personal** | 로컬 문서 동기화 | 체크포인트만 | 개인 작업 중심 |
235
- | **Team** | 전체 동기화 + TAG | PR Ready 전환 | 협업 지원 |
236
- | **Auto** | 지능형 자동 선택 | 상황별 결정 | 최적 전략 |
237
- | **Force** | 강제 전체 동기화 | 전체 재생성 | 오류 복구용 |
242
+ | mode | Synchronization range | PR processing | Key Features |
243
+ | ------------ | ------------------------------- | ---------------------- | ---------------------- |
244
+ | **Personal** | Local document synchronization | checkpoint only | Focus on personal work |
245
+ | **Team** | Full Sync + TAG | PR Ready conversion | Collaboration support |
246
+ | **Auto** | Intelligent automatic selection | Decisions by situation | Optimal strategy |
247
+ | **Force** | Force full sync | Full regeneration | For error recovery |
238
248
 
239
- #### 예상 작업 범위
249
+ #### Expected scope of work
240
250
 
241
- - **Living Document**: API 문서, README, 아키텍처 문서
242
- - **TAG 인덱스**: `.moai/indexes/tags.db` 갱신
243
- - **동기화 보고서**: `.moai/reports/sync-report.md`
244
- - **PR 상태**: Draft → Ready for Review 전환
251
+ - **Living Document**: API documentation, README, architecture document
252
+ - **TAG index**: Update `.moai/indexes/tags.db`
253
+ - **Sync report**: `.moai/reports/sync-report.md`
254
+ - **PR status**: Draft → Ready for Review transition
245
255
 
246
- ### 3. 동기화 계획 보고서 생성
256
+ ### 3. Generate synchronization plan report
247
257
 
248
- 다음 형식으로 계획을 제시합니다:
258
+ Present your plan in the following format:
249
259
 
250
260
  ```
251
- ## 문서 동기화 계획 보고서: [TARGET]
261
+ ## Document Synchronization Plan Report: [TARGET]
252
262
 
253
- ### 📊 상태 분석 결과
254
- - **변경된 파일**: [개수 유형]
255
- - **동기화 필요성**: [높음/중간/낮음]
256
- - **TAG 시스템 상태**: [정상/문제 감지]
263
+ ### 📊 Health Analysis Results
264
+ - **Changed Files**: [Number and Type]
265
+ - **Synchronization Required**: [High/Medium/Low]
266
+ - **TAG System Status**: [Healthy/Problem Detected]
257
267
 
258
- ### 🎯 동기화 전략
259
- - **선택된 모드**: [auto/force/status/project]
260
- - **동기화 범위**: [전체/부분/선택적]
261
- - **PR 처리**: [유지/Ready 전환/새 PR 생성]
268
+ ### 🎯 Sync Strategy
269
+ - **Selected Mode**: [auto/force/status/project]
270
+ - **Sync Scope**: [Full/Partial/Selective]
271
+ - **PR Handling**: [Maintain/Switch Ready/Create New PR]
262
272
 
263
- ### ⚠️ 주의사항
264
- - **잠재적 충돌**: [문서 충돌 가능성]
265
- - **TAG 문제**: [끊어진 링크, 중복 TAG]
266
- - **성능 영향**: [대용량 동기화 예상시간]
273
+ ### ⚠️ Notes
274
+ - **Potential conflicts**: [Possible document conflicts]
275
+ - **TAG issues**: [Broken links, duplicate TAGs]
276
+ - **Performance impact**: [Estimated time for large synchronization]
267
277
 
268
- ### ✅ 예상 산출물
269
- - **sync-report.md**: [동기화 결과 요약]
270
- - **tags.db**: [업데이트된 TAG 인덱스]
271
- - **Living Documents**: [갱신된 문서 목록]
272
- - **PR 상태**: [ 모드에서 PR 전환]
278
+ ### ✅ Expected deliverables
279
+ - **sync-report.md**: [Summary of sync results]
280
+ - **tags.db**: [Updated TAG index]
281
+ - **Living Documents**: [Updated document list]
282
+ - **PR Status**: [PR transition in team mode]
273
283
 
274
284
  ---
275
- **승인 요청**: 계획으로 동기화를 진행하시겠습니까?
276
- ("진행", "수정 [내용]", "중단" 중 선택)
285
+ **Approval Request**: Do you want to proceed with synchronization using the above plan?
286
+ (select “Proceed”, “Modify [Content]”, or “Abort”)
277
287
  ```
278
288
 
279
289
  ---
280
290
 
281
- ## 🚀 STEP 2 실행 가이드: 문서 동기화 (승인 )
291
+ ## 🚀 STEP 2 Implementation Guide: Document Synchronization (After Approval)
282
292
 
283
- 사용자가 **"진행"** 또는 **"시작"**을 선택한 경우에만 Alfred doc-syncer 에이전트를 호출하여 Living Document 동기화와 TAG 업데이트를 수행합니다.
293
+ Only when the user selects **"Proceed"** or **"Start"** will Alfred call the doc-syncer agent to perform Living Document synchronization and TAG updates.
284
294
 
285
- ### 동기화 단계별 가이드
295
+ ### Sync step-by-step guide
286
296
 
287
- 1. **Living Document 동기화**: 코드문서 자동 반영
288
- 2. **TAG 시스템 검증**: @TAG 체계 무결성 확인
289
- 3. **인덱스 업데이트**: 트레이시빌리티 매트릭스 갱신
290
- 4. **보고서 생성**: 동기화 결과 요약 작성
297
+ 1. **Living Document Synchronization**: CodeDocument automatically reflected
298
+ 2. **TAG System Verification**: @TAG System Integrity Verification
299
+ 3. **Index Update**: Traceability Matrix Update
300
+ 4. **Create Report**: Create a summary of synchronization results
291
301
 
292
- ### 에이전트 협업 구조
302
+ ### Agent collaboration structure
293
303
 
294
- - **1단계**: `doc-syncer` 에이전트가 Living Document 동기화 @TAG 관리를 전담합니다.
295
- - **2단계**: `git-manager` 에이전트가 모든 Git 커밋, PR 상태 전환, 동기화를 전담합니다.
296
- - **단일 책임 원칙**: doc-syncer 문서 작업만, git-manager Git 작업만 수행합니다.
297
- - **순차 실행**: doc-syncer → git-manager 순서로 실행하여 명확한 의존성을 유지합니다.
298
- - **에이전트 호출 금지**: 에이전트는 다른 에이전트를 직접 호출하지 않고, 커맨드 레벨에서만 순차 실행합니다.
304
+ - **Step 1**: The `doc-syncer` agent is dedicated to Living Document synchronization and @TAG management.
305
+ - **Step 2**: The `git-manager` agent is dedicated to all Git commits, PR state transitions, and synchronization.
306
+ - **Single Responsibility Principle**: doc-syncer only performs document tasks, and git-manager only performs Git tasks.
307
+ - **Sequential execution**: Executes in the order doc-syncer → git-manager to maintain clear dependencies.
308
+ - **No inter-agent calls**: Each agent does not directly call other agents, and executes commands. Runs sequentially in levels only.
299
309
 
300
- ## 🚀 최적화된 병렬/순차 하이브리드 워크플로우
310
+ ## 🚀 Optimized parallel/sequential hybrid workflow
301
311
 
302
- ### Phase 1: 빠른 상태 확인 (병렬 실행)
312
+ ### Phase 1: Quick status check (parallel execution)
303
313
 
304
- 다음 작업들을 **동시에** 수행:
314
+ Do the following **simultaneously**:
305
315
 
306
316
  ```
307
- Task 1 (haiku): Git 상태 체크
308
- ├── 변경된 파일 목록 수집
309
- ├── 브랜치 상태 확인
310
- └── 동기화 필요성 판단
311
-
312
- Task 2 (sonnet): 문서 구조 분석
313
- ├── 프로젝트 유형 감지
314
- ├── TAG 목록 수집
315
- └── 동기화 범위 결정
317
+ Task 1 (haiku): Check Git status
318
+ ├── Collect list of changed files
319
+ ├── Check branch status
320
+ └── Determine need for synchronization
321
+
322
+ Task 2 (sonnet): Analyze document structure
323
+ ├── Detect project type
324
+ ├── Collect TAG list
325
+ └── Determine synchronization scope
316
326
  ```
317
327
 
318
- ### Phase 2: 문서 동기화 (순차 실행)
328
+ ### Phase 2: Document synchronization (sequential execution)
319
329
 
320
- `doc-syncer` 에이전트(sonnet) 집중 처리:
330
+ The `doc-syncer` agent (sonnet) handles intensive processing:
321
331
 
322
- - Living Document 동기화
323
- - @TAG 시스템 검증 업데이트
324
- - 문서-코드 일치성 체크
325
- - TAG 추적성 매트릭스 갱신
332
+ - Living Document synchronization
333
+ - @TAG system verification and update
334
+ - Document-code consistency check
335
+ - TAG traceability matrix update
326
336
 
327
- ### Phase 3: Git 작업 처리 (순차 실행)
337
+ ### Phase 3: Git task processing (sequential execution)
328
338
 
329
- `git-manager` 에이전트(haiku)가 최종 처리:
339
+ Final processing by the `git-manager` agent (haiku):
330
340
 
331
- - 문서 변경사항 커밋
332
- - 모드별 동기화 전략 적용
333
- - Team 모드에서 PR Ready 전환
334
- - 리뷰어 자동 할당 (gh CLI 사용)
341
+ - Commit document changes
342
+ - Apply synchronization strategy for each mode
343
+ - Switch PR Ready in Team mode
344
+ - Automatically assign reviewers (using gh CLI)
335
345
 
336
- ### Phase 4: PR 머지 브랜치 정리 (선택적)
346
+ ### Phase 4: PR merge and branch cleanup (optional)
337
347
 
338
- `--auto-merge` 플래그 사용 `git-manager`가 추가 처리:
348
+ Additional processing by `git-manager` when using the `--auto-merge` flag:
339
349
 
340
- **Team 모드 (GitFlow)**:
341
- 1. PR 상태 확인 (CI/CD 통과 체크)
342
- 2. PR 자동 머지 (develop 브랜치로)
343
- 3. 원격 feature 브랜치 삭제
344
- 4. 로컬 develop 체크아웃 동기화
345
- 5. 로컬 feature 브랜치 정리
346
- 6. 다음 작업 준비 완료 알림
350
+ **Team mode (GitFlow)**:
351
+ 1. Check PR status (CI/CD pass check)
352
+ 2. PR automatic merge (to develop branch)
353
+ 3. Delete remote feature branch
354
+ 4. Local develop checkout and synchronization
355
+ 5. Organizing local feature branches
356
+ 6. Notification that the next task is ready
347
357
 
348
- **Personal 모드**:
349
- 1. 로컬 main/develop 머지
350
- 2. feature 브랜치 삭제
351
- 3. 베이스 브랜치 체크아웃
352
- 4. 다음 작업 준비 완료 알림
358
+ **Personal Mode**:
359
+ 1. Local main/develop merge
360
+ 2. Delete feature branch
361
+ 3. Check out the base branch
362
+ 4. Notification that the next task is ready
353
363
 
354
- **성능 향상**: 초기 확인 단계를 병렬화하여 대기 시간 최소화
364
+ **Performance improvements**: Minimize latency by parallelizing the initial verification step
355
365
 
356
- ### 인수 처리
366
+ ### Argument handling
357
367
 
358
- - **$1 (모드)**: `$1` → `auto`(기본값)|`force`|`status`|`project`
359
- - **$2 (경로)**: `$2` → 동기화 대상 경로 (선택사항)
360
- - **플래그**:
361
- - `--auto-merge`: PR 자동 머지 브랜치 정리 활성화 (Team 모드)
362
- - `--skip-pre-check`: 사전 품질 검증 건너뛰기
363
- - `--skip-quality-check`: 최종 품질 검증 건너뛰기
368
+ - **$1 (mode)**: `$1` → `auto` (default)|`force`|`status`|`project`
369
+ - **$2 (path)**: `$2` → Sync target path (optional)
370
+ - **flags**:
371
+ - `--auto-merge`: Enable PR automatic merge and branch cleanup (Team mode)
372
+ - `--skip-pre-check`: Skip pre-quality check
373
+ - `--skip-quality-check`: Skip final quality check
364
374
 
365
- **커맨드 사용 예시**:
366
- - `/alfred:3-sync` - 기본 자동 동기화 (모드별 최적화)
367
- - `/alfred:3-sync --auto-merge` - PR 자동 머지 + 브랜치 정리 (Team 모드 권장)
368
- - `/alfred:3-sync force` - 전체 강제 동기화
369
- - `/alfred:3-sync status` - 동기화 상태 확인
370
- - `/alfred:3-sync project` - 통합 프로젝트 동기화
371
- - `/alfred:3-sync auto src/auth/` - 특정 경로 동기화
372
- - `/alfred:3-sync --auto-merge --skip-pre-check` - 빠른 머지
375
+ **Command usage example**:
376
+ - `/alfred:3-sync` - Basic automatic synchronization (optimized by mode)
377
+ - `/alfred:3-sync --auto-merge` - PR automatic merge + branch cleanup (Team mode recommended)
378
+ - `/alfred:3-sync force` - Force full synchronization
379
+ - `/alfred:3-sync status` - Check synchronization status
380
+ - `/alfred:3-sync project` - Integrated project synchronization
381
+ - `/alfred:3-sync auto src/auth/` - Specific path Synchronization
382
+ - `/alfred:3-sync --auto-merge --skip-pre-check` - Fast merge
373
383
 
374
- ### 에이전트 역할 분리
384
+ ### Agent role separation
375
385
 
376
- #### doc-syncer 전담 영역
386
+ #### doc-syncer dedicated area
377
387
 
378
- - Living Document 동기화 (코드문서)
379
- - @TAG 시스템 검증 업데이트
380
- - API 문서 자동 생성/갱신
381
- - README 아키텍처 문서 동기화
382
- - 문서-코드 일치성 검증
388
+ - Living Document synchronization (codedocument)
389
+ - @TAG system verification and update
390
+ - Automatic creation/update of API document
391
+ - README and architecture document synchronization
392
+ - Verification of document-code consistency
383
393
 
384
- #### git-manager 전담 영역
394
+ #### git-manager dedicated area
385
395
 
386
- - 모든 Git 커밋 작업 (add, commit, push)
387
- - 모드별 동기화 전략 적용
388
- - PR 상태 전환 (Draft → Ready)
389
- - **PR 자동 머지** (--auto-merge 플래그 시)
390
- - CI/CD 상태 확인
391
- - 충돌 검증
392
- - Squash 머지 실행
393
- - 원격 브랜치 삭제
394
- - **브랜치 정리 전환**
395
- - 로컬 develop 체크아웃
396
- - 원격 동기화 (git pull)
397
- - 로컬 feature 브랜치 삭제
398
- - 리뷰어 자동 할당 라벨링
399
- - GitHub CLI 연동 원격 동기화
396
+ - All Git commit operations (add, commit, push)
397
+ - Apply synchronization strategy for each mode
398
+ - PR status transition (Draft → Ready)
399
+ - **PR auto merge** (when --auto-merge flag)
400
+ - Check CI/CD status
401
+ - Conflict verification
402
+ - Execute Squash merge
403
+ - Remote branch deletion
404
+ - **Branch cleanup and conversion**
405
+ - Local develop checkout
406
+ - Remote synchronization (git pull)
407
+ - Local feature branch deletion
408
+ - Automatic assignment and labeling of reviewers
409
+ - GitHub CLI integration and remote synchronization
400
410
 
401
- ### 🧪 개인 모드 (Personal)
411
+ ### 🧪 Personal Mode
402
412
 
403
- - git-manager 에이전트가 동기화 전/후 자동으로 체크포인트 생성
404
- - README·심층 문서·PR 본문 정리는 체크리스트에 따라 수동 마무리
413
+ - The git-manager agent automatically creates checkpoints before and after synchronization
414
+ - The README, in-depth documentation, and PR body are organized manually according to the checklist.
405
415
 
406
- ### 🏢 모드 (Team)
416
+ ### 🏢 Team Mode
407
417
 
408
- - Living Document 완전 동기화 + @TAG 검증/보정
409
- - gh CLI가 설정된 경우에 한해 PR Ready 전환과 라벨링을 선택적으로 실행
410
- - **--auto-merge 플래그 사용 시 완전 자동화**:
411
- 1. 문서 동기화 완료
418
+ - Full synchronization of Living Document + @TAG verification/correction
419
+ - Optionally perform PR Ready conversion and labeling only when gh CLI is set
420
+ - Fully automated when using **--auto-merge flag**:
421
+ 1. Document synchronization complete.
412
422
  2. git push origin feature/SPEC-{ID}
413
423
  3. gh pr ready {PR_NUMBER}
414
- 4. CI/CD 상태 확인 (gh pr checks)
424
+ 4. Check CI/CD status (gh pr checks)
415
425
  5. gh pr merge --squash --delete-branch
416
426
  6. git checkout develop && git pull origin develop
417
- 7. 다음 작업 준비 완료 알림
427
+ 7. Notification that the next task is ready
418
428
 
419
- **중요**: 모든 Git 작업(커밋, 동기화, PR 관리) git-manager 에이전트가 전담하므로, 커멘드에서는 Git 작업을 직접 실행하지 않습니다.
429
+ **Important**: All Git operations (commit, sync, PR management) are handled by the git-manager agent, so this command does not run Git operations directly.
420
430
 
421
- **브랜치 정책**:
422
- - 베이스 브랜치: `develop` (GitFlow 표준)
423
- - 머지 후: 자동으로 `develop` 체크아웃
424
- - 다음 `/alfred:1-spec`은 자동으로 `develop`에서 시작
431
+ **Branch Policy**:
432
+ - Base branch: `develop` (GitFlow standard)
433
+ - After merge: automatically checkout `develop`
434
+ - Next `/alfred:1-plan` automatically starts in `develop`
425
435
 
426
- ## 동기화 상세(요약)
436
+ ## Synchronization Details (Summary)
427
437
 
428
- 1. 프로젝트 분석 TAG 검증끊어진/중복/고아 TAG 점검
429
- 2. 코드문서 동기화 → API/README/아키텍처 문서 갱신, SPEC ↔ 코드 TODO 동기화
430
- 3. TAG 체인 검증 → `rg '@TAG' -n src/ tests/` (코드 직접 스캔)
438
+ 1. Project analysis and TAG verificationCheck broken/duplicate/orphaned TAG
439
+ 2. CodeDocument synchronization → API/README/architecture document update, SPEC ↔ Code TODO synchronization
440
+ 3. TAG chain verification → `rg '@TAG' -n src/ tests/` (scan code directly)
431
441
 
432
- ## 다음 단계
442
+ ## Next steps
433
443
 
434
- **권장사항**: 다음 단계 진행 `/clear` 또는 `/new` 명령으로 새로운 대화 세션을 시작하면 나은 성능과 컨텍스트 관리를 경험할 있습니다.
444
+ **Recommendation**: For better performance and context management, start a new chat session with the `/clear` or `/new` command before proceeding to the next step.
435
445
 
436
- - 문서 동기화 완료 후 전체 MoAI-ADK 워크플로우 완성
437
- - 모든 Git 작업은 git-manager 에이전트가 전담하여 일관성 보장
438
- - 에이전트 직접 호출 없이 커멘드 레벨 오케스트레이션만 사용
446
+ - The entire MoAI-ADK workflow is completed after document synchronization is completed
447
+ - All Git operations are dedicated to the git-manager agent to ensure consistency
448
+ - Only command-level orchestration is used without direct calls between agents
439
449
 
440
- ## 결과 보고
450
+ ## Report results
441
451
 
442
- 동기화 결과를 구조화된 형식으로 보고합니다:
452
+ Report synchronization results in a structured format:
443
453
 
444
- ### 성공적인 동기화(요약 예시)
454
+ ### Successful synchronization (summary example)
445
455
 
446
- 문서 동기화 완료업데이트 N, 생성 M, TAG 수정 K, 검증 통과
456
+ Document synchronization completeUpdate N, Create M, TAG Modify K, Verification passed
447
457
 
448
- ### 부분 동기화 (문제 감지)
458
+ ### Partial synchronization (problem detected)
449
459
 
450
460
  ```
451
- ⚠️ 부분 동기화 완료 (문제 발견)
461
+ ⚠️ Partial sync completed (issue found)
452
462
 
453
- 해결 필요한 문제:
454
- ├── 끊어진 링크: X (구체적 목록)
455
- ├── 중복 TAG: X
456
- └── 고아 TAG: X
463
+ Problems that need solving:
464
+ ├── Broken links: X (specific list)
465
+ ├── Duplicate TAG: X
466
+ └── Orphan TAG: X
457
467
 
458
- 🛠️ 자동 수정 권장사항:
459
- 1. 끊어진 링크 복구
460
- 2. 중복 TAG 병합
461
- 3. 고아 TAG 정리
468
+ 🛠️ Auto-correction recommendations:
469
+ 1. Broken link recovery
470
+ 2. Merge duplicate TAGs
471
+ 3. Orphan TAG cleanup
462
472
  ```
463
473
 
464
- ## 다음 단계 안내
474
+ ## Next steps guidance
465
475
 
466
- ### 개발 사이클 완료
476
+ ### Development cycle complete
467
477
 
468
- **기본 모드 (PR Ready)**:
478
+ **Default mode (PR Ready only)**:
469
479
  ```
470
- 🔄 MoAI-ADK 3단계 워크플로우 완성:
471
- ✅ /alfred:1-spec → EARS 명세 작성 (feature/SPEC-{ID} 브랜치)
472
- ✅ /alfred:2-build → TDD 구현
473
- ✅ /alfred:3-sync → 문서 동기화 + PR Ready
474
-
475
- 다음 단계: PR 리뷰 수동 머지 필요
476
- > gh pr view (PR 확인)
477
- > gh pr merge --squash (리뷰 머지)
480
+ 🔄 MoAI-ADK 3-step workflow completion:
481
+ ✅ /alfred:1-planCreate EARS specification (feature/SPEC-{ID} branch)
482
+ ✅ /alfred:2-run → TDD implementation
483
+ ✅ /alfred:3-sync → Document synchronization + PR Ready
484
+
485
+ Next steps: PR review and manual merge required
486
+ > gh pr view (check PR)
487
+ > gh pr merge --squash (merge after review)
478
488
  ```
479
489
 
480
- **자동 머지 모드 (권장)**:
490
+ **Auto Merge Mode (Recommended)**:
481
491
  ```
482
- 🔄 완전 자동화된 GitFlow 워크플로우:
483
- ✅ /alfred:1-spec → EARS 명세 작성 (from develop)
484
- ✅ /alfred:2-build → TDD 구현
485
- ✅ /alfred:3-sync --auto-merge → 문서 동기화 + PR 머지 + 브랜치 정리
486
-
487
- 🎉 develop 브랜치로 자동 전환 완료!
488
- 📍 현재 위치: develop (다음 작업 준비됨)
489
- > /alfred:1-spec "다음 기능 설명" # develop에서 브랜치 생성
492
+ 🔄 Fully automated GitFlow workflow:
493
+ ✅ /alfred:1-plan → EARS specification creation (from develop)
494
+ ✅ /alfred:2-run → TDD implementation
495
+ ✅ /alfred:3-sync --auto-merge → Document synchronization + PR Merge + branch cleanup
496
+
497
+ 🎉 Automatic switch to develop branch done!
498
+ 📍 You are here: develop (ready for next work)
499
+ > /alfred:1-plan "Describe next feature" # Create new branch in develop
490
500
  ```
491
501
 
492
- ### 통합 프로젝트 모드
502
+ ### Integrated project mode
493
503
 
494
- **사용 시점**:
495
- - 여러 SPEC의 구현이 완료되어 프로젝트 전체 문서를 업데이트할
496
- - Personal 모드에서 주기적인 전체 문서 동기화가 필요할
504
+ **When to use**:
505
+ - When the implementation of multiple SPECs has been completed and the entire project documentation needs to be updated
506
+ - When periodic synchronization of the entire document in Personal mode is required.
497
507
 
498
- **Personal/Team 모드와의 차이**:
499
- - **Personal/Team 모드**: 특정 SPEC 관련 문서만 동기화
500
- - **Project 모드**: README, 아키텍처 문서, 전체 API 문서 동기화
508
+ **Differences from Personal/Team mode**:
509
+ - **Personal/Team mode**: Synchronize only specific SPEC-related documents
510
+ - **Project mode**: Synchronize README, architecture documentation, and entire API documentation
501
511
 
502
- **산출물**:
503
- - README.md (전체 기능 목록 업데이트)
504
- - docs/architecture.md (시스템 설계 갱신)
505
- - docs/api/ (통합 API 문서)
506
- - .moai/indexes/ (전체 TAG 인덱스 재구성)
512
+ **Output**:
513
+ - README.md (updated complete feature list)
514
+ - docs/architecture.md (updated system design)
515
+ - docs/api/ (unified API documentation)
516
+ - .moai/indexes/ (rebuilt full TAG index)
507
517
 
508
518
  ```
509
- 🏢 통합 브랜치 동기화 완료!
519
+ 🏢 Integrated branch sync complete!
510
520
 
511
- 📋 전체 프로젝트 동기화:
512
- ├── README.md (전체 기능 목록)
513
- ├── docs/architecture.md (시스템 설계)
514
- ├── docs/api/ (통합 API 문서)
515
- └── .moai/indexes/ (전체 TAG 인덱스)
521
+ 📋 Entire project synchronization:
522
+ ├── README.md (full feature list)
523
+ ├── docs/architecture.md (system design)
524
+ ├── docs/api/ (unified API documentation)
525
+ └── .moai/indexes/ (full TAG index)
516
526
 
517
- 🎯 PR 전환 지원 완료
527
+ 🎯 PR conversion support completed
518
528
  ```
519
529
 
520
- ## 제약사항 가정
530
+ ## Constraints and Assumptions
521
531
 
522
- **환경 의존성:**
532
+ **Environment Dependency:**
523
533
 
524
- - Git 저장소 필수
525
- - gh CLI (GitHub 통합 필요)
526
- - Python3 (TAG 검증 스크립트)
534
+ - Git repository required
535
+ - gh CLI (required for GitHub integration)
536
+ - Python3 (TAG verification script)
527
537
 
528
- **전제 조건:**
538
+ **Prerequisites:**
529
539
 
530
- - MoAI-ADK 프로젝트 구조 (.moai/, .claude/)
531
- - TDD 구현 완료 상태
532
- - TRUST 5원칙 준수
540
+ - MoAI-ADK project structure (.moai/, .claude/)
541
+ - TDD implementation completion status
542
+ - Compliance with TRUST 5 principles
533
543
 
534
- **제한 사항:**
544
+ **Limitations:**
535
545
 
536
- - TAG 검증은 파일 존재 기반 체크
537
- - PR 자동 전환은 gh CLI 환경에서만 동작
538
- - 커버리지 수치는 별도 측정 필요
546
+ - TAG verification is based on file existence
547
+ - PR automatic conversion only works in gh CLI environment
548
+ - Coverage figures need to be measured separately
539
549
 
540
550
  ---
541
551
 
542
- ## 🧠 Context Management (컨텍스트 관리)
552
+ ## 🧠 Context Management
543
553
 
544
- > 자세한 내용: `.moai/memory/development-guide.md` - "Context Engineering" 섹션 참조
554
+ > For more information: `.moai/memory/development-guide.md` - see section "Context Engineering"
545
555
 
546
- ### 커맨드의 핵심 전략
556
+ ### Core strategy of this command
547
557
 
548
- **우선 로드**: `.moai/reports/sync-report-latest.md` (이전 동기화 상태)
558
+ **Load first**: `.moai/reports/sync-report-latest.md` (old sync state)
549
559
 
550
- **권장사항**: 문서 동기화가 완료되었습니다. 전체 MoAI-ADK 사이클(1-spec → 2-build → 3-sync) 완료되었으니, 다음 기능 개발 `/clear` 또는 `/new` 명령으로 새로운 대화 세션을 시작하세요.
560
+ **Recommendation**: Document synchronization is complete. Now that the entire MoAI-ADK cycle (1-spec → 2-build → 3-sync) has been completed, start a new conversation session with the `/clear` or `/new` command before developing the next feature.
551
561
 
552
562
  ---
553
563
 
554
- **doc-syncer 서브에이전트와 연동하여 코드-문서 일치성 향상과 @TAG 추적성 보장을 목표로 합니다.**
564
+ **Aims to improve code-document consistency and ensure @TAG traceability by linking with the doc-syncer subagent.**