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