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,48 +1,48 @@
1
- # SPEC 메타데이터 구조 가이드
1
+ # SPEC Metadata Structure Guide
2
2
 
3
- > **MoAI-ADK SPEC 메타데이터 표준**
3
+ > **MoAI-ADK SPEC Metadata Standard**
4
4
  >
5
- > 모든 SPEC 문서는 메타데이터 구조를 따라야 합니다.
5
+ > Every SPEC document must follow this structure.
6
6
 
7
7
  ---
8
8
 
9
- ## 📋 메타데이터 구조 개요
9
+ ## 📋 Metadata Overview
10
10
 
11
- SPEC 메타데이터는 **필수 필드 7개**와 **선택 필드 9개**로 구성됩니다.
11
+ SPEC metadata contains **7 required fields** and **9 optional fields**.
12
12
 
13
- ### 전체 구조 예시
13
+ ### Full Example
14
14
 
15
15
  ```yaml
16
16
  ---
17
- # 필수 필드 (7)
18
- id: AUTH-001 # SPEC 고유 ID
19
- version: 0.0.1 # Semantic Version (v0.0.1 = INITIAL, draft 시작)
17
+ # Required Fields (7)
18
+ id: AUTH-001 # Unique SPEC ID
19
+ version: 0.0.1 # Semantic version (v0.0.1 = INITIAL, draft start)
20
20
  status: draft # draft|active|completed|deprecated
21
- created: 2025-09-15 # 생성일 (YYYY-MM-DD)
22
- updated: 2025-09-15 # 최종 수정일 (YYYY-MM-DD, 최초에는 created와 동일)
23
- author: @Goos # 작성자 (GitHub ID, 단수형)
21
+ created: 2025-09-15 # Creation date (YYYY-MM-DD)
22
+ updated: 2025-09-15 # Last updated (YYYY-MM-DD; initially same as created)
23
+ author: @Goos # Author (single GitHub handle)
24
24
  priority: high # low|medium|high|critical
25
25
 
26
- # 선택 필드 - 분류/메타
26
+ # Optional Fields Classification/Meta
27
27
  category: security # feature|bugfix|refactor|security|docs|perf
28
- labels: # 분류 태그 (검색용)
28
+ labels: # Tags for search and grouping
29
29
  - authentication
30
30
  - jwt
31
31
 
32
- # 선택 필드 - 관계 (의존성 그래프)
33
- depends_on: # 의존하는 SPEC (선택)
32
+ # Optional Fields Relationships (Dependency Graph)
33
+ depends_on: # SPECs this one depends on (optional)
34
34
  - USER-001
35
- blocks: # 차단하는 SPEC (선택)
35
+ blocks: # SPECs blocked by this one (optional)
36
36
  - AUTH-002
37
- related_specs: # 관련 SPEC (선택)
37
+ related_specs: # Related SPECs (optional)
38
38
  - TOKEN-002
39
39
  related_issue: "https://github.com/modu-ai/moai-adk/issues/123"
40
40
 
41
- # 선택 필드 - 범위 (영향 분석)
41
+ # Optional Fields Scope/Impact
42
42
  scope:
43
- packages: # 영향받는 패키지
43
+ packages: # Impacted packages
44
44
  - src/core/auth
45
- files: # 핵심 파일 (선택)
45
+ files: # Key files (optional)
46
46
  - auth-service.ts
47
47
  - jwt-manager.ts
48
48
  ---
@@ -50,85 +50,84 @@ scope:
50
50
 
51
51
  ---
52
52
 
53
- ## 필수 필드 (Required Fields)
54
-
55
- ### 1. `id` - SPEC 고유 ID
56
- - **타입**: string
57
- - **형식**: `<DOMAIN>-<NUMBER>`
58
- - **예시**: `AUTH-001`, `INSTALLER-SEC-001`
59
- - **규칙**:
60
- - 영구 불변 (한 번 부여하면 변경 불가)
61
- - 3자리 숫자 사용 (001~999)
62
- - 도메인은 대문자, 하이픈 사용 가능
63
- - 디렉토리명: `.moai/specs/SPEC-{ID}/` (예: `.moai/specs/SPEC-AUTH-001/`)
64
-
65
- ### 2. `version` - 버전
66
- - **타입**: string (Semantic Version)
67
- - **형식**: `MAJOR.MINOR.PATCH`
68
- - **기본값**: `0.0.1` (모든 SPEC 시작 버전, status: draft)
69
- - **버전 체계**:
70
- - **v0.0.1**: INITIAL - SPEC 최초 작성 (status: draft)
71
- - **v0.0.x**: Draft 수정/개선 (SPEC 문서 수정 패치 버전 증가)
72
- - **v0.1.0**: TDD 구현 완료 (status: completed, /alfred:3-sync 자동 업데이트)
73
- - **v0.1.x**: 버그 수정, 문서 개선 (패치 버전)
74
- - **v0.x.0**: 기능 추가, 주요 개선 (마이너 버전)
75
- - **v1.0.0**: 정식 안정화 버전 (프로덕션 준비, 사용자 명시적 승인 필수)
76
-
77
- ### 3. `status` - 진행 상태
78
- - **타입**: enum
79
- - **가능한 값**:
80
- - `draft`: 초안 작성 중
81
- - `active`: 구현 진행 중
82
- - `completed`: 구현 완료
83
- - `deprecated`: 사용 중지 예정
84
-
85
- ### 4. `created` - 생성일
86
- - **타입**: date (string)
87
- - **형식**: `YYYY-MM-DD`
88
- - **예시**: `2025-10-06`
89
-
90
- ### 5. `updated` - 최종 수정일
91
- - **타입**: date (string)
92
- - **형식**: `YYYY-MM-DD`
93
- - **규칙**: SPEC 내용 수정 시마다 업데이트
94
-
95
- ### 6. `author` - 작성자
96
- - **타입**: string
97
- - **형식**: `@{GitHub ID}`
98
- - **예시**: `@Goos`
99
- - **규칙**:
100
- - 단수형 사용 (~~authors 배열 사용하지 않음~~)
101
- - GitHub ID 앞에 @ 접두사 필수
102
- - 복수 작성자는 HISTORY 섹션에 기록
103
-
104
- ### 7. `priority` - 우선순위
105
- - **타입**: enum
106
- - **가능한 값**:
107
- - `critical`: 즉시 처리 필요 (보안, 중대 버그)
108
- - `high`: 높은 우선순위 (주요 기능)
109
- - `medium`: 중간 우선순위 (개선사항)
110
- - `low`: 낮은 우선순위 (최적화, 문서)
53
+ ## Required Fields
54
+
55
+ ### 1. `id` Unique SPEC Identifier
56
+ - **Type**: string
57
+ - **Format**: `<DOMAIN>-<NUMBER>`
58
+ - **Examples**: `AUTH-001`, `INSTALLER-SEC-001`
59
+ - **Rules**:
60
+ - Immutable once assigned
61
+ - Use three digits (001999)
62
+ - Domain in uppercase; hyphens allowed
63
+ - Directory name: `.moai/specs/SPEC-{ID}/` (e.g., `.moai/specs/SPEC-AUTH-001/`)
64
+
65
+ ### 2. `version` Semantic Version
66
+ - **Type**: string (`MAJOR.MINOR.PATCH`)
67
+ - **Default**: `0.0.1` (all SPECs start here, status: draft)
68
+ - **Version Lifecycle**:
69
+ - **v0.0.1**: INITIAL – SPEC first draft (status: draft)
70
+ - **v0.0.x**: Draft refinements (increment PATCH when editing the SPEC)
71
+ - **v0.1.0**: TDD implementation complete (status: completed, updated via `/alfred:3-sync`)
72
+ - **v0.1.x**: Bug fixes or doc improvements (PATCH increment)
73
+ - **v0.x.0**: Feature additions or major enhancements (MINOR increment)
74
+ - **v1.0.0**: Stable release (production ready, explicit stakeholder approval required)
75
+
76
+ ### 3. `status` – Progress State
77
+ - **Type**: enum
78
+ - **Values**:
79
+ - `draft`: Authoring in progress
80
+ - `active`: Implementation underway
81
+ - `completed`: Implementation finished
82
+ - `deprecated`: Planned for retirement
83
+
84
+ ### 4. `created` – Creation Date
85
+ - **Type**: date string
86
+ - **Format**: `YYYY-MM-DD`
87
+ - **Example**: `2025-10-06`
88
+
89
+ ### 5. `updated` – Last Modified Date
90
+ - **Type**: date string
91
+ - **Format**: `YYYY-MM-DD`
92
+ - **Rule**: Update whenever the SPEC content changes.
93
+
94
+ ### 6. `author` – Primary Author
95
+ - **Type**: string
96
+ - **Format**: `@{GitHub ID}`
97
+ - **Example**: `@Goos`
98
+ - **Rules**:
99
+ - Single value only (no `authors` array)
100
+ - Prefix the GitHub handle with `@`
101
+ - Additional contributors belong in the HISTORY section
102
+
103
+ ### 7. `priority` – Work Priority
104
+ - **Type**: enum
105
+ - **Values**:
106
+ - `critical`: Immediate attention (security, severe defects)
107
+ - `high`: Major feature work
108
+ - `medium`: Enhancements
109
+ - `low`: Optimizations or documentation
111
110
 
112
111
  ---
113
112
 
114
- ## 선택 필드 (Optional Fields)
113
+ ## Optional Fields
115
114
 
116
- ### 분류/메타 필드
115
+ ### Classification / Meta
117
116
 
118
- #### 8. `category` - 변경 유형
119
- - **타입**: enum
120
- - **가능한 값**:
121
- - `feature`: 기능 추가
122
- - `bugfix`: 버그 수정
123
- - `refactor`: 리팩토링
124
- - `security`: 보안 개선
125
- - `docs`: 문서화
126
- - `perf`: 성능 최적화
117
+ #### 8. `category` Change Type
118
+ - **Type**: enum
119
+ - **Values**:
120
+ - `feature`: New functionality
121
+ - `bugfix`: Defect resolution
122
+ - `refactor`: Structural improvements
123
+ - `security`: Security enhancements
124
+ - `docs`: Documentation updates
125
+ - `perf`: Performance optimizations
127
126
 
128
- #### 9. `labels` - 분류 태그
129
- - **타입**: array of string
130
- - **용도**: 검색, 필터링, 그루핑
131
- - **예시**:
127
+ #### 9. `labels` Classification Tags
128
+ - **Type**: array of strings
129
+ - **Purpose**: Search, filtering, grouping
130
+ - **Example**:
132
131
  ```yaml
133
132
  labels:
134
133
  - installer
@@ -136,52 +135,52 @@ scope:
136
135
  - security
137
136
  ```
138
137
 
139
- ### 관계 필드 (Dependency Graph)
138
+ ### Relationship Fields (Dependency Graph)
140
139
 
141
- #### 10. `depends_on` - 의존 SPEC
142
- - **타입**: array of string
143
- - **의미**: SPEC이 완료되려면 먼저 완료되어야 하는 SPEC 목록
144
- - **예시**:
140
+ #### 10. `depends_on` Required SPECs
141
+ - **Type**: array of strings
142
+ - **Meaning**: SPECs that must be completed first
143
+ - **Example**:
145
144
  ```yaml
146
145
  depends_on:
147
146
  - USER-001
148
147
  - AUTH-001
149
148
  ```
150
- - **활용**: 작업 순서 결정, 병렬 작업 가능 여부 판단
149
+ - **Use Case**: Determines execution order and parallelization.
151
150
 
152
- #### 11. `blocks` - 차단 SPEC
153
- - **타입**: array of string
154
- - **의미**: SPEC으로 인해 차단된 SPEC 목록
155
- - **예시**:
151
+ #### 11. `blocks` Blocked SPECs
152
+ - **Type**: array of strings
153
+ - **Meaning**: SPECs that cannot proceed until this one is resolved
154
+ - **Example**:
156
155
  ```yaml
157
156
  blocks:
158
157
  - PAYMENT-003
159
158
  ```
160
159
 
161
- #### 12. `related_specs` - 관련 SPEC
162
- - **타입**: array of string
163
- - **의미**: 직접적 의존성은 없지만 관련된 SPEC 목록
164
- - **예시**:
160
+ #### 12. `related_specs` Associated SPECs
161
+ - **Type**: array of strings
162
+ - **Meaning**: Related items without direct dependencies
163
+ - **Example**:
165
164
  ```yaml
166
165
  related_specs:
167
166
  - TOKEN-002
168
167
  - SESSION-001
169
168
  ```
170
169
 
171
- #### 13. `related_issue` - 관련 GitHub Issue
172
- - **타입**: string (URL)
173
- - **형식**: GitHub Issue 전체 URL
174
- - **예시**:
170
+ #### 13. `related_issue` Linked GitHub Issue
171
+ - **Type**: string (URL)
172
+ - **Format**: Full GitHub issue URL
173
+ - **Example**:
175
174
  ```yaml
176
175
  related_issue: "https://github.com/modu-ai/moai-adk/issues/123"
177
176
  ```
178
177
 
179
- ### 범위 필드 (Scope/Impact)
178
+ ### Scope Fields (Impact Analysis)
180
179
 
181
- #### 14. `scope.packages` - 영향받는 패키지
182
- - **타입**: array of string
183
- - **의미**: SPEC이 영향을 주는 패키지/모듈 경로
184
- - **예시**:
180
+ #### 14. `scope.packages` Impacted Packages
181
+ - **Type**: array of strings
182
+ - **Meaning**: Packages or modules touched by the SPEC
183
+ - **Example**:
185
184
  ```yaml
186
185
  scope:
187
186
  packages:
@@ -189,10 +188,10 @@ scope:
189
188
  - moai-adk-ts/src/core/git
190
189
  ```
191
190
 
192
- #### 15. `scope.files` - 핵심 파일
193
- - **타입**: array of string
194
- - **의미**: 주요 변경 대상 파일 (참고용)
195
- - **예시**:
191
+ #### 15. `scope.files` Key Files
192
+ - **Type**: array of strings
193
+ - **Meaning**: Primary files involved (for reference)
194
+ - **Example**:
196
195
  ```yaml
197
196
  scope:
198
197
  files:
@@ -202,43 +201,43 @@ scope:
202
201
 
203
202
  ---
204
203
 
205
- ## 메타데이터 검증
204
+ ## Metadata Validation
206
205
 
207
- ### 필수 필드 검증
206
+ ### Required Field Checks
208
207
  ```bash
209
- # 모든 SPEC 파일에 필수 필드가 있는지 확인
208
+ # Verify that every SPEC includes the required fields
210
209
  rg "^(id|version|status|created|updated|author|priority):" .moai/specs/SPEC-*/spec.md
211
210
 
212
- # priority 필드 누락 확인
211
+ # Identify SPECs missing the priority field
213
212
  rg -L "^priority:" .moai/specs/SPEC-*/spec.md
214
213
  ```
215
214
 
216
- ### 형식 검증
215
+ ### Format Checks
217
216
  ```bash
218
- # author 필드 형식 확인 (@Goos 형식)
217
+ # Ensure the author field uses @Handle format
219
218
  rg "^author: @[A-Z]" .moai/specs/SPEC-*/spec.md
220
219
 
221
- # version 필드 형식 확인 (0.x.y)
220
+ # Ensure the version field follows 0.x.y
222
221
  rg "^version: 0\.\d+\.\d+" .moai/specs/SPEC-*/spec.md
223
222
  ```
224
223
 
225
224
  ---
226
225
 
227
- ## 마이그레이션 가이드
226
+ ## Migration Guide
228
227
 
229
- ### 기존 SPEC 업데이트
228
+ ### Updating Existing SPECs
230
229
 
231
- #### 1. priority 필드 추가
232
- 기존 SPEC에 priority 필드가 없다면 추가:
230
+ #### 1. Add the `priority` Field
231
+ Add it if missing:
233
232
  ```yaml
234
- priority: medium # 또는 low|high|critical
233
+ priority: medium # or low|high|critical
235
234
  ```
236
235
 
237
- #### 2. author 필드 표준화
236
+ #### 2. Normalize the `author` Field
238
237
  - `authors: ["@goos"]` → `author: @Goos`
239
- - 소문자 대문자로 변경
238
+ - Convert lowercase handles to the canonical casing.
240
239
 
241
- #### 3. 선택 필드 추가 (권장)
240
+ #### 3. Add Optional Fields (Recommended)
242
241
  ```yaml
243
242
  category: refactor
244
243
  labels:
@@ -248,30 +247,30 @@ labels:
248
247
 
249
248
  ---
250
249
 
251
- ## 설계 원칙
250
+ ## Design Principles
252
251
 
253
252
  ### 1. DRY (Don't Repeat Yourself)
254
- - ❌ **제거**: `reference` 필드 (모든 SPEC 같은 masterplan 참조 중복)
255
- - ✅ **대안**: README.md에 프로젝트 레벨 문서 명시
253
+ - ❌ **Remove**: the `reference` field (every SPEC referenced the same master plan)
254
+ - ✅ **Instead**: document project-level resources in README.md
256
255
 
257
256
  ### 2. Context-Aware
258
- - 필요한 컨텍스트만 포함
259
- - 선택 필드는 실제 필요할 때만 사용
257
+ - Include only the necessary context.
258
+ - Use optional fields only when they add value.
260
259
 
261
260
  ### 3. Traceable
262
- - `depends_on`, `blocks`, `related_specs`로 SPEC 의존성 명시
263
- - 자동화 도구로 순환 의존성 검증 가능
261
+ - Use `depends_on`, `blocks`, and `related_specs` to map dependencies.
262
+ - Automated tooling can detect cyclic references.
264
263
 
265
264
  ### 4. Maintainable
266
- - 모든 필드는 자동화 도구로 검증 가능
267
- - 일관된 형식으로 파싱 용이
265
+ - Every field must be machine-verifiable.
266
+ - Maintain consistent formatting for easy parsing.
268
267
 
269
268
  ### 5. Simple First
270
- - 복잡도 최소화
271
- - 필수 7 + 선택 9개로 제한
272
- - 점진적 확장 가능
269
+ - Keep complexity low.
270
+ - Limit to 7 required + 9 optional fields.
271
+ - Expand gradually when justified.
273
272
 
274
273
  ---
275
274
 
276
- **최종 업데이트**: 2025-10-06
277
- **작성자**: @Alfred
275
+ **Last Updated**: 2025-10-06
276
+ **Author**: @Alfred