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
@@ -13,149 +13,149 @@ priority: high
13
13
  ## HISTORY
14
14
 
15
15
  ### v0.1.3 (2025-10-17)
16
- - **UPDATED**: 템플릿 버전 동기화 (v0.3.8)
16
+ - **UPDATED**: Template version synced (v0.3.8)
17
17
  - **AUTHOR**: @Alfred
18
- - **SECTIONS**: Mission (12개 에이전트 최종 확인: Alfred + 11 전문 에이전트)
19
- - implementation-planner, tdd-implementer, quality-gate 추가
20
- - code-builder implementation-planner + tdd-implementer + quality-gate 분해
18
+ - **SECTIONS**: Mission (finalized team of 12 agents: Alfred + 11 specialists)
19
+ - Added implementation-planner, tdd-implementer, quality-gate
20
+ - Split code-builder into implementation-planner + tdd-implementer + quality-gate
21
21
 
22
22
  ### v0.1.2 (2025-10-17)
23
- - **UPDATED**: 에이전트 갱신 (9 → 11)
23
+ - **UPDATED**: Agent count adjusted (9 → 11)
24
24
  - **AUTHOR**: @Alfred
25
- - **SECTIONS**: Mission (Alfred SuperAgent 팀 구성 업데이트)
25
+ - **SECTIONS**: Mission (updated Alfred SuperAgent roster)
26
26
 
27
27
  ### v0.1.1 (2025-10-17)
28
- - **UPDATED**: 템플릿 기본값을 실제 MoAI-ADK 프로젝트 내용으로 갱신
28
+ - **UPDATED**: Template defaults aligned with the real MoAI-ADK project
29
29
  - **AUTHOR**: @Alfred
30
- - **SECTIONS**: Mission, User, Problem, Strategy, Success 실제 내용 반영
30
+ - **SECTIONS**: Mission, User, Problem, Strategy, Success populated with project context
31
31
 
32
32
  ### v0.1.0 (2025-10-01)
33
- - **INITIAL**: 프로젝트 제품 정의 문서 작성
33
+ - **INITIAL**: Authored the product definition document
34
34
  - **AUTHOR**: @project-owner
35
35
  - **SECTIONS**: Mission, User, Problem, Strategy, Success, Legacy
36
36
 
37
37
  ---
38
38
 
39
- ## @DOC:MISSION-001 핵심 미션
39
+ ## @DOC:MISSION-001 Core Mission
40
40
 
41
- > **"SPEC 없으면 CODE도 없다."**
41
+ > **"No SPEC, no CODE."**
42
42
 
43
- {{PROJECT_NAME}} **SPEC-First TDD 방법론**을 통해 플랑켄슈타인 코드를 근본적으로 방지하는 프로젝트입니다.
43
+ {{PROJECT_NAME}} combats Frankenstein code at the root by enforcing a **SPEC-first TDD methodology**.
44
44
 
45
- ### 핵심 가치 제안
45
+ ### Core Value Proposition
46
46
 
47
- #### 4가지 핵심 가치
47
+ #### Four Key Values
48
48
 
49
- 1. **일관성 (Consistency)**: SPEC → TDD → Sync 3단계 파이프라인으로 개발 품질 보장
50
- 2. **품질 (Quality)**: TRUST 5원칙 (Test First, Readable, Unified, Secured, Trackable) 자동 적용
51
- 3. **추적성 (Traceability)**: @TAG 시스템 (`@SPEC → @TEST → @CODE → @DOC`)으로 완벽한 이력 추적
52
- 4. **범용성 (Universality)**: 다양한 언어 프레임워크 지원
49
+ 1. **Consistency**: A three-step SPEC → TDD → Sync pipeline safeguards delivery quality.
50
+ 2. **Quality**: TRUST principles (Test First, Readable, Unified, Secured, Trackable) apply automatically.
51
+ 3. **Traceability**: The @TAG system (`@SPEC → @TEST → @CODE → @DOC`) preserves end-to-end lineage.
52
+ 4. **Universality**: Supports diverse programming languages and frameworks.
53
53
 
54
54
  #### Alfred SuperAgent
55
55
 
56
- **Alfred**는 12 AI 에이전트 (Alfred + 11 전문 에이전트)을 조율하는 중앙 오케스트레이터입니다:
57
- - **spec-builder** 🏗️: SPEC 작성 (EARS 방식) - Sonnet
58
- - **implementation-planner** 📋: SPEC 분석 구현 전략 수립 - Sonnet
59
- - **tdd-implementer** 🔬: TDD RED-GREEN-REFACTOR 전문 구현 - Sonnet
60
- - **quality-gate** 🛡️: TRUST 원칙 통합 검증 - Haiku
61
- - **doc-syncer** 📖: 문서 동기화 (Living Document) - Haiku
62
- - **tag-agent** 🏷️: TAG 시스템 관리 - Haiku
63
- - **git-manager** 🚀: Git 워크플로우 자동화 - Haiku
64
- - **debug-helper** 🔍: 런타임 오류 진단 - Sonnet
65
- - **trust-checker** ✅: TRUST 원칙 검증 - Haiku
66
- - **cc-manager** 🛠️: Claude Code 설정 관리 - Sonnet
67
- - **project-manager** 📂: 프로젝트 초기화 - Sonnet
56
+ **Alfred** coordinates a team of 12 AI agents (Alfred + 11 specialists):
57
+ - **spec-builder** 🏗️: Authors SPECs (EARS pattern) Sonnet
58
+ - **implementation-planner** 📋: Analyzes SPECs and derives implementation plans Sonnet
59
+ - **tdd-implementer** 🔬: Executes REDGREENREFACTOR cycles Sonnet
60
+ - **quality-gate** 🛡️: Enforces TRUST principles Haiku
61
+ - **doc-syncer** 📖: Maintains living documentation Haiku
62
+ - **tag-agent** 🏷️: Manages the TAG system Haiku
63
+ - **git-manager** 🚀: Automates Git workflows Haiku
64
+ - **debug-helper** 🔍: Diagnoses runtime issues Sonnet
65
+ - **trust-checker** ✅: Verifies TRUST compliance Haiku
66
+ - **cc-manager** 🛠️: Configures Claude Code Sonnet
67
+ - **project-manager** 📂: Bootstraps projects Sonnet
68
68
 
69
- ## @SPEC:USER-001 주요 사용자층
69
+ ## @SPEC:USER-001 Primary Users
70
70
 
71
- ### 1차 사용자
72
- - **대상**: [주요 사용자층을 정의하세요]
73
- - **핵심 니즈**: [사용자가 해결하고자 하는 문제]
74
- - **핵심 시나리오**: [주요 사용 시나리오를 설명하세요]
71
+ ### Primary Audience
72
+ - **Who**: [Describe your main user segment]
73
+ - **Core Needs**: [Explain the problems they want solved]
74
+ - **Critical Scenarios**: [Outline their primary usage scenarios]
75
75
 
76
- ### 2차 사용자 (선택사항)
77
- - **대상**: [추가 사용자층이 있다면 정의하세요]
78
- - **핵심 니즈**: [추가 사용자의 요구사항]
76
+ ### Secondary Audience (Optional)
77
+ - **Who**: [Describe any secondary user group]
78
+ - **Needs**: [Capture their requirements]
79
79
 
80
- ## @SPEC:PROBLEM-001 해결하는 핵심 문제
80
+ ## @SPEC:PROBLEM-001 Problems to Solve
81
81
 
82
- ### 우선순위 높음
83
- 1. [해결하려는 주요 문제 1]
84
- 2. [해결하려는 주요 문제 2]
85
- 3. [해결하려는 주요 문제 3]
82
+ ### High Priority
83
+ 1. [Top problem to resolve]
84
+ 2. [Second critical problem]
85
+ 3. [Third critical problem]
86
86
 
87
- ### 우선순위 중간
88
- - [중요도가 중간인 문제들]
87
+ ### Medium Priority
88
+ - [Problems with moderate urgency]
89
89
 
90
- ### 현재 실패 사례들
91
- - [기존 솔루션의 한계나 실패 사례들]
90
+ ### Current Failure Cases
91
+ - [Limitations or failure patterns in existing solutions]
92
92
 
93
- ## @DOC:STRATEGY-001 차별점 강점
93
+ ## @DOC:STRATEGY-001 Differentiators & Strengths
94
94
 
95
- ### 경쟁 솔루션 대비 강점
96
- 1. [주요 차별점 1]
97
- - **발휘 시나리오**: [어떤 상황에서 강점이 드러나는지]
95
+ ### Strengths Versus Alternatives
96
+ 1. [Primary differentiator]
97
+ - **When it matters**: [Scenario where the strength shines]
98
98
 
99
- 2. [주요 차별점 2]
100
- - **발휘 시나리오**: [구체적인 활용 시나리오]
99
+ 2. [Second differentiator]
100
+ - **When it matters**: [Concrete usage example]
101
101
 
102
- ## @SPEC:SUCCESS-001 성공 지표
102
+ ## @SPEC:SUCCESS-001 Success Metrics
103
103
 
104
- ### 즉시 측정 가능한 KPI
105
- 1. [측정 지표 1]
106
- - **베이스라인**: [목표값과 측정 방법]
104
+ ### Immediately Measurable KPIs
105
+ 1. [Metric 1]
106
+ - **Baseline**: [Target value and measurement approach]
107
107
 
108
- 2. [측정 지표 2]
109
- - **베이스라인**: [목표값과 측정 방법]
108
+ 2. [Metric 2]
109
+ - **Baseline**: [Target value and measurement approach]
110
110
 
111
- ### 측정 주기
112
- - **일간**: [일단위로 측정할 지표]
113
- - **주간**: [주단위로 측정할 지표]
114
- - **월간**: [월단위로 측정할 지표]
111
+ ### Measurement Cadence
112
+ - **Daily**: [Metrics tracked daily]
113
+ - **Weekly**: [Metrics tracked weekly]
114
+ - **Monthly**: [Metrics tracked monthly]
115
115
 
116
116
  ## Legacy Context
117
117
 
118
- ### 기존 자산 요약
119
- - [활용할 기존 자산이나 리소스]
120
- - [참고할 기존 프로젝트나 경험]
118
+ ### Existing Assets
119
+ - [Reusable assets or resources]
120
+ - [Relevant past projects or experience]
121
121
 
122
- ## TODO:SPEC-BACKLOG-001 다음 단계 SPEC 후보
122
+ ## TODO:SPEC-BACKLOG-001 Next SPEC Candidates
123
123
 
124
- 1. **SPEC-001**: [ 번째 구현할 기능]
125
- 2. **SPEC-002**: [ 번째 구현할 기능]
126
- 3. **SPEC-003**: [ 번째 구현할 기능]
124
+ 1. **SPEC-001**: [First feature to implement]
125
+ 2. **SPEC-002**: [Second feature to implement]
126
+ 3. **SPEC-003**: [Third feature to implement]
127
127
 
128
- ## EARS 요구사항 작성 가이드
128
+ ## EARS Requirement Authoring Guide
129
129
 
130
130
  ### EARS (Easy Approach to Requirements Syntax)
131
131
 
132
- SPEC 작성 다음 EARS 구문을 활용하여 체계적인 요구사항을 작성하세요:
132
+ Use these EARS patterns to keep SPEC requirements structured:
133
133
 
134
- #### EARS 구문 형식
135
- 1. **Ubiquitous Requirements**: 시스템은 [기능]을 제공해야 한다
136
- 2. **Event-driven Requirements**: WHEN [조건]이면, 시스템은 [동작]해야 한다
137
- 3. **State-driven Requirements**: WHILE [상태] 때, 시스템은 [동작]해야 한다
138
- 4. **Optional Features**: WHERE [조건]이면, 시스템은 [동작]할 수 있다
139
- 5. **Constraints**: IF [조건]이면, 시스템은 [제약]해야 한다
134
+ #### EARS Patterns
135
+ 1. **Ubiquitous Requirements**: The system shall provide [capability].
136
+ 2. **Event-driven Requirements**: WHEN [condition], the system shall [behaviour].
137
+ 3. **State-driven Requirements**: WHILE [state], the system shall [behaviour].
138
+ 4. **Optional Features**: WHERE [condition], the system may [behaviour].
139
+ 5. **Constraints**: IF [condition], the system shall enforce [constraint].
140
140
 
141
- #### 적용 예시
141
+ #### Sample Application
142
142
  ```markdown
143
- ### Ubiquitous Requirements (기본 기능)
144
- - 시스템은 사용자 관리 기능을 제공해야 한다
143
+ ### Ubiquitous Requirements (Foundational)
144
+ - The system shall provide user management capabilities.
145
145
 
146
- ### Event-driven Requirements (이벤트 기반)
147
- - WHEN 사용자가 가입하면, 시스템은 환영 이메일을 발송해야 한다
146
+ ### Event-driven Requirements
147
+ - WHEN a user signs up, the system shall send a welcome email.
148
148
 
149
- ### State-driven Requirements (상태 기반)
150
- - WHILE 사용자가 로그인된 상태일 때, 시스템은 개인화된 대시보드를 표시해야 한다
149
+ ### State-driven Requirements
150
+ - WHILE a user remains logged in, the system shall display a personalized dashboard.
151
151
 
152
- ### Optional Features (선택적 기능)
153
- - WHERE 프리미엄 계정이면, 시스템은 고급 기능을 제공할 있다
152
+ ### Optional Features
153
+ - WHERE an account is premium, the system may offer advanced features.
154
154
 
155
- ### Constraints (제약사항)
156
- - IF 계정이 잠긴 상태이면, 시스템은 로그인을 거부해야 한다
155
+ ### Constraints
156
+ - IF an account is locked, the system shall reject login attempts.
157
157
  ```
158
158
 
159
159
  ---
160
160
 
161
- _이 문서는 `/alfred:1-spec` 실행 시 SPEC 생성의 기준이 됩니다._
161
+ _This document serves as the baseline when `/alfred:1-plan` runs._
@@ -13,144 +13,144 @@ priority: medium
13
13
  ## HISTORY
14
14
 
15
15
  ### v0.1.1 (2025-10-17)
16
- - **UPDATED**: 템플릿 버전 동기화 (v0.3.8)
16
+ - **UPDATED**: Template version synced (v0.3.8)
17
17
  - **AUTHOR**: @Alfred
18
- - **SECTIONS**: 메타데이터 표준화 (author 필드 단수형, priority 추가)
18
+ - **SECTIONS**: Metadata standardization (single `author` field, added `priority`)
19
19
 
20
20
  ### v0.1.0 (2025-10-01)
21
- - **INITIAL**: 프로젝트 구조 설계 문서 작성
21
+ - **INITIAL**: Authored the structure design document
22
22
  - **AUTHOR**: @architect
23
23
  - **SECTIONS**: Architecture, Modules, Integration, Traceability
24
24
 
25
25
  ---
26
26
 
27
- ## @DOC:ARCHITECTURE-001 시스템 아키텍처
27
+ ## @DOC:ARCHITECTURE-001 System Architecture
28
28
 
29
- ### 아키텍처 전략
29
+ ### Architectural Strategy
30
30
 
31
- **[프로젝트의 전체 아키텍처 접근법을 설명하세요]**
31
+ **[Describe the end-to-end architectural approach for the project]**
32
32
 
33
33
  ```
34
34
  Project Architecture
35
- ├── [Layer 1] # [역할 설명]
36
- ├── [Layer 2] # [역할 설명]
37
- ├── [Layer 3] # [역할 설명]
38
- └── [Layer 4] # [역할 설명]
35
+ - [Layer 1] # [Describe its responsibilities]
36
+ - [Layer 2] # [Describe its responsibilities]
37
+ - [Layer 3] # [Describe its responsibilities]
38
+ - [Layer 4] # [Describe its responsibilities]
39
39
  ```
40
40
 
41
- **선택 이유**: [아키텍처 선택의 근거와 트레이드오프]
41
+ **Rationale**: [Explain the trade-offs behind the chosen architecture]
42
42
 
43
- ## @DOC:MODULES-001 모듈별 책임 구분
43
+ ## @DOC:MODULES-001 Module Responsibilities
44
44
 
45
- ### 1. [주요 모듈 1]
45
+ ### 1. [Primary Module 1]
46
46
 
47
- - **책임**: [모듈의 주요 책임]
48
- - **입력**: [처리하는 입력 데이터]
49
- - **처리**: [수행하는 주요 처리 과정]
50
- - **출력**: [생성하는 결과물]
47
+ - **Responsibilities**: [Key duties of the module]
48
+ - **Inputs**: [Data it consumes]
49
+ - **Processing**: [Core processing steps]
50
+ - **Outputs**: [Produced artifacts]
51
51
 
52
- | 컴포넌트 | 역할 | 주요 기능 |
53
- |----------|------|-----------|
54
- | [컴포넌트1] | [역할] | [기능 목록] |
55
- | [컴포넌트2] | [역할] | [기능 목록] |
52
+ | Component | Role | Key Capabilities |
53
+ | ------------- | ------ | ---------------- |
54
+ | [Component 1] | [Role] | [Feature list] |
55
+ | [Component 2] | [Role] | [Feature list] |
56
56
 
57
- ### 2. [주요 모듈 2]
57
+ ### 2. [Primary Module 2]
58
58
 
59
- - **책임**: [모듈의 주요 책임]
60
- - **입력**: [처리하는 입력 데이터]
61
- - **처리**: [수행하는 주요 처리 과정]
62
- - **출력**: [생성하는 결과물]
59
+ - **Responsibilities**: [Key duties of the module]
60
+ - **Inputs**: [Data it consumes]
61
+ - **Processing**: [Core processing steps]
62
+ - **Outputs**: [Produced artifacts]
63
63
 
64
- ## @DOC:INTEGRATION-001 외부 시스템 통합
64
+ ## @DOC:INTEGRATION-001 External Integrations
65
65
 
66
- ### [외부 시스템 1] 연동
66
+ ### [External System 1] Integration
67
67
 
68
- - **인증 방식**: [인증 방법]
69
- - **데이터 교환**: [데이터 형식과 프로토콜]
70
- - **장애 대체**: [fallback 전략]
71
- - **위험도**: [리스크 수준과 완화 방안]
68
+ - **Authentication**: [Method used]
69
+ - **Data Exchange**: [Formats and protocols]
70
+ - **Failure Handling**: [Fallback strategy]
71
+ - **Risk Level**: [Risk profile and mitigation]
72
72
 
73
- ### [외부 시스템 2] 연동
73
+ ### [External System 2] Integration
74
74
 
75
- - **용도**: [사용 목적]
76
- - **의존성 수준**: [의존도와 대안]
77
- - **성능 요구사항**: [응답 시간, 처리량 등]
75
+ - **Purpose**: [Why it is used]
76
+ - **Dependency Level**: [Degree of reliance and alternatives]
77
+ - **Performance Requirements**: [Latency, throughput, etc.]
78
78
 
79
- ## @DOC:TRACEABILITY-001 추적성 전략
79
+ ## @DOC:TRACEABILITY-001 Traceability Strategy
80
80
 
81
- ### TAG 체계 적용
81
+ ### Applying the TAG Framework
82
82
 
83
- **TDD 완벽 정렬**: SPEC → 테스트구현문서
84
- - `@SPEC:ID` (.moai/specs/) → `@TEST:ID` (tests/) → `@CODE:ID` (src/) → `@DOC:ID` (docs/)
83
+ **Full TDD Alignment**: SPEC → TestsImplementationDocumentation
84
+ - `@SPEC:ID` (`.moai/specs/`) → `@TEST:ID` (`tests/`) → `@CODE:ID` (`src/`) → `@DOC:ID` (`docs/`)
85
85
 
86
- **구현 세부사항**: @CODE:ID 내부 주석 레벨
87
- - `@CODE:ID:API` - REST API, GraphQL 엔드포인트
88
- - `@CODE:ID:UI` - 컴포넌트, 뷰, 화면
89
- - `@CODE:ID:DATA` - 데이터 모델, 스키마, 타입
90
- - `@CODE:ID:DOMAIN` - 비즈니스 로직, 도메인 규칙
91
- - `@CODE:ID:INFRA` - 인프라, 데이터베이스, 외부 연동
86
+ **Implementation Detail Levels**: Annotation within `@CODE:ID`
87
+ - `@CODE:ID:API` REST APIs, GraphQL endpoints
88
+ - `@CODE:ID:UI` Components, views, screens
89
+ - `@CODE:ID:DATA` Data models, schemas, types
90
+ - `@CODE:ID:DOMAIN` Business logic, domain rules
91
+ - `@CODE:ID:INFRA` Infrastructure, databases, integrations
92
92
 
93
- ### TAG 추적성 관리 (코드 스캔 방식)
93
+ ### Managing TAG Traceability (Code-Scan Approach)
94
94
 
95
- - **검증 방법**: `/alfred:3-sync` 실행 `rg '@(SPEC|TEST|CODE|DOC):' -n`으로 코드 전체 스캔
96
- - **추적 범위**: 프로젝트 전체 소스코드 (.moai/specs/, tests/, src/, docs/)
97
- - **유지 주기**: 코드 변경 시점마다 실시간 검증
98
- - **CODE-FIRST 원칙**: TAG 진실은 코드 자체에만 존재
95
+ - **Verification**: Run `/alfred:3-sync`, which scans with `rg '@(SPEC|TEST|CODE|DOC):' -n`
96
+ - **Coverage**: Full project source (`.moai/specs/`, `tests/`, `src/`, `docs/`)
97
+ - **Cadence**: Validate whenever the code changes
98
+ - **Code-First Principle**: TAG truth lives in the source itself
99
99
 
100
100
  ## Legacy Context
101
101
 
102
- ### 기존 시스템 현황
102
+ ### Current System Snapshot
103
103
 
104
- **[현재 시스템이나 기존 자산에 대한 설명]**
104
+ **[Describe the existing system or assets]**
105
105
 
106
106
  ```
107
- 기존 구조/
108
- ├── [기존 컴포넌트1]/ # [현재 상태]
109
- ├── [기존 컴포넌트2]/ # [현재 상태]
110
- └── [기존 컴포넌트3]/ # [현재 상태]
107
+ Current System/
108
+ ├── [Component 1]/ # [Current state]
109
+ ├── [Component 2]/ # [Current state]
110
+ └── [Component 3]/ # [Current state]
111
111
  ```
112
112
 
113
- ### 마이그레이션 고려사항
113
+ ### Migration Considerations
114
114
 
115
- 1. **[마이그레이션 항목 1]** - [계획과 우선순위]
116
- 2. **[마이그레이션 항목 2]** - [계획과 우선순위]
117
- 3. **[마이그레이션 항목 3]** - [계획과 우선순위]
115
+ 1. **[Migration item 1]** [Plan and priority]
116
+ 2. **[Migration item 2]** [Plan and priority]
117
+ 3. **[Migration item 3]** [Plan and priority]
118
118
 
119
- ## TODO:STRUCTURE-001 구조 개선 계획
119
+ ## TODO:STRUCTURE-001 Structural Improvements
120
120
 
121
- 1. **모듈 인터페이스 정의** - [계획 내용]
122
- 2. **의존성 관리 전략** - [계획 내용]
123
- 3. **확장성 확보 방안** - [계획 내용]
121
+ 1. **Define module interfaces** [Plan details]
122
+ 2. **Dependency management strategy** [Plan details]
123
+ 3. **Scalability roadmap** [Plan details]
124
124
 
125
- ## EARS 아키텍처 요구사항 작성법
125
+ ## EARS for Architectural Requirements
126
126
 
127
- ### 구조 설계에서의 EARS 활용
127
+ ### Applying EARS to Architecture
128
128
 
129
- 아키텍처와 모듈 설계 EARS 구문을 활용하여 명확한 요구사항을 정의하세요:
129
+ Use EARS patterns to write clear architectural requirements:
130
130
 
131
- #### 시스템 아키텍처 EARS 예시
131
+ #### Architectural EARS Example
132
132
  ```markdown
133
- ### Ubiquitous Requirements (아키텍처 기본 요구사항)
134
- - 시스템은 계층형 아키텍처를 채택해야 한다
135
- - 시스템은 모듈 느슨한 결합을 유지해야 한다
133
+ ### Ubiquitous Requirements (Baseline Architecture)
134
+ - The system shall adopt a layered architecture.
135
+ - The system shall maintain loose coupling across modules.
136
136
 
137
- ### Event-driven Requirements (이벤트 기반 구조)
138
- - WHEN 외부 API 호출이 실패하면, 시스템은 fallback 로직을 실행해야 한다
139
- - WHEN 데이터 변경 이벤트가 발생하면, 시스템은 관련 모듈에 통지해야 한다
137
+ ### Event-driven Requirements
138
+ - WHEN an external API call fails, the system shall execute fallback logic.
139
+ - WHEN a data change event occurs, the system shall notify dependent modules.
140
140
 
141
- ### State-driven Requirements (상태 기반 구조)
142
- - WHILE 시스템이 확장 모드일 때, 새로운 모듈을 동적으로 로드할 있어야 한다
143
- - WHILE 개발 모드일 때, 시스템은 상세한 디버그 정보를 제공해야 한다
141
+ ### State-driven Requirements
142
+ - WHILE the system operates in scale-out mode, it shall load new modules dynamically.
143
+ - WHILE in development mode, the system shall provide verbose debug information.
144
144
 
145
- ### Optional Features (선택적 구조)
146
- - WHERE 클라우드 환경이면, 시스템은 분산 캐시를 활용할 있다
147
- - WHERE 고성능이 요구되면, 시스템은 메모리 캐싱을 적용할 있다
145
+ ### Optional Features
146
+ - WHERE the deployment runs in the cloud, the system may use distributed caching.
147
+ - WHERE high performance is required, the system may apply in-memory caching.
148
148
 
149
- ### Constraints (구조적 제약사항)
150
- - IF 보안 레벨이 높으면, 시스템은 모든 모듈 통신을 암호화해야 한다
151
- - 모듈의 복잡도는 15를 초과하지 않아야 한다
149
+ ### Constraints
150
+ - IF the security level is elevated, the system shall encrypt all inter-module communication.
151
+ - Each module shall keep cyclomatic complexity under 15.
152
152
  ```
153
153
 
154
154
  ---
155
155
 
156
- _이 구조는 `/alfred:2-build` 실행 시 TDD 구현의 가이드라인이 됩니다._
156
+ _This structure informs the TDD implementation when `/alfred:2-run` runs._