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.
- moai_adk/__init__.py +1 -1
- moai_adk/__main__.py +1 -1
- moai_adk/cli/commands/__init__.py +1 -1
- moai_adk/cli/commands/doctor.py +2 -2
- moai_adk/cli/commands/init.py +10 -5
- moai_adk/cli/commands/status.py +1 -1
- moai_adk/cli/commands/update.py +210 -8
- moai_adk/cli/prompts/init_prompts.py +15 -19
- moai_adk/core/__init__.py +1 -1
- moai_adk/core/diagnostics/slash_commands.py +1 -1
- moai_adk/core/git/branch.py +1 -1
- moai_adk/core/git/manager.py +1 -1
- moai_adk/core/project/backup_utils.py +1 -0
- moai_adk/core/project/phase_executor.py +3 -1
- moai_adk/core/project/validator.py +3 -2
- moai_adk/core/quality/__init__.py +1 -1
- moai_adk/core/quality/trust_checker.py +1 -1
- moai_adk/core/quality/validators/__init__.py +1 -1
- moai_adk/core/quality/validators/base_validator.py +1 -1
- moai_adk/core/template/__init__.py +1 -1
- moai_adk/core/template/backup.py +12 -3
- moai_adk/core/template/config.py +24 -0
- moai_adk/core/template/languages.py +1 -1
- moai_adk/core/template/merger.py +74 -4
- moai_adk/core/template/processor.py +62 -14
- moai_adk/templates/.claude/agents/alfred/cc-manager.md +765 -191
- moai_adk/templates/.claude/agents/alfred/debug-helper.md +116 -103
- moai_adk/templates/.claude/agents/alfred/doc-syncer.md +130 -116
- moai_adk/templates/.claude/agents/alfred/git-manager.md +186 -174
- moai_adk/templates/.claude/agents/alfred/implementation-planner.md +227 -213
- moai_adk/templates/.claude/agents/alfred/project-manager.md +205 -125
- moai_adk/templates/.claude/agents/alfred/quality-gate.md +224 -209
- moai_adk/templates/.claude/agents/alfred/spec-builder.md +174 -160
- moai_adk/templates/.claude/agents/alfred/tag-agent.md +151 -139
- moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +209 -196
- moai_adk/templates/.claude/agents/alfred/trust-checker.md +247 -233
- moai_adk/templates/.claude/commands/alfred/0-project.md +856 -355
- moai_adk/templates/.claude/commands/alfred/1-plan.md +572 -0
- moai_adk/templates/.claude/commands/alfred/2-run.md +470 -0
- moai_adk/templates/.claude/commands/alfred/3-sync.md +366 -356
- moai_adk/templates/.claude/hooks/alfred/README.md +52 -52
- moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +44 -48
- moai_adk/templates/.claude/hooks/alfred/core/__init__.py +17 -17
- moai_adk/templates/.claude/hooks/alfred/core/checkpoint.py +59 -59
- moai_adk/templates/.claude/hooks/alfred/core/context.py +19 -19
- moai_adk/templates/.claude/hooks/alfred/core/project.py +52 -52
- moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +1 -1
- moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +4 -4
- moai_adk/templates/.claude/hooks/alfred/handlers/session.py +30 -51
- moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +16 -17
- moai_adk/templates/.claude/hooks/alfred/handlers/user.py +11 -11
- moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +308 -307
- moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +297 -296
- moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +191 -190
- moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +112 -0
- moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +103 -0
- moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +103 -0
- moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +95 -0
- moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +105 -0
- moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +97 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +97 -0
- moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +90 -0
- moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +87 -0
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +62 -0
- moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +94 -0
- moai_adk/templates/.claude/skills/moai-claude-code/examples.md +513 -0
- moai_adk/templates/.claude/skills/moai-claude-code/reference.md +433 -0
- moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +332 -0
- moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +384 -0
- moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +363 -0
- moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +595 -0
- moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +496 -0
- moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +95 -0
- moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +98 -0
- moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +100 -0
- moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +100 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +93 -0
- moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +105 -0
- moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +97 -0
- moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +102 -0
- moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +104 -0
- moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +96 -0
- moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +112 -0
- moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +98 -0
- moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +90 -0
- moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +94 -0
- moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +93 -0
- moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +86 -0
- moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +86 -0
- moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +100 -0
- moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +100 -0
- moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +102 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +100 -0
- moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +98 -0
- moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +100 -0
- moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +100 -0
- moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +98 -0
- moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +96 -0
- moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +98 -0
- moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +98 -0
- moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +98 -0
- moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +96 -0
- moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +100 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +100 -0
- moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +100 -0
- moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +100 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +96 -0
- moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +44 -43
- moai_adk/templates/.github/workflows/moai-gitflow.yml +36 -35
- moai_adk/templates/.moai/config.json +9 -6
- moai_adk/templates/.moai/memory/development-guide.md +220 -221
- moai_adk/templates/.moai/memory/gitflow-protection-policy.md +85 -85
- moai_adk/templates/.moai/memory/spec-metadata.md +149 -150
- moai_adk/templates/.moai/project/product.md +90 -90
- moai_adk/templates/.moai/project/structure.md +85 -85
- moai_adk/templates/.moai/project/tech.md +117 -117
- moai_adk/templates/CLAUDE.md +354 -573
- moai_adk/templates/__init__.py +1 -1
- moai_adk/utils/__init__.py +1 -1
- moai_adk/utils/banner.py +7 -7
- moai_adk/utils/logger.py +1 -1
- moai_adk-0.4.1.dist-info/METADATA +303 -0
- moai_adk-0.4.1.dist-info/RECORD +152 -0
- moai_adk/templates/.claude/commands/alfred/1-spec.md +0 -532
- moai_adk/templates/.claude/commands/alfred/2-build.md +0 -432
- moai_adk/templates/.moai/hooks/pre-push.sample +0 -88
- moai_adk-0.3.13.dist-info/METADATA +0 -1586
- moai_adk-0.3.13.dist-info/RECORD +0 -90
- {moai_adk-0.3.13.dist-info → moai_adk-0.4.1.dist-info}/WHEEL +0 -0
- {moai_adk-0.3.13.dist-info → moai_adk-0.4.1.dist-info}/entry_points.txt +0 -0
- {moai_adk-0.3.13.dist-info → moai_adk-0.4.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -13,215 +13,215 @@ priority: medium
|
|
|
13
13
|
## HISTORY
|
|
14
14
|
|
|
15
15
|
### v0.1.1 (2025-10-17)
|
|
16
|
-
- **UPDATED**:
|
|
16
|
+
- **UPDATED**: Template version synced (v0.3.8)
|
|
17
17
|
- **AUTHOR**: @Alfred
|
|
18
|
-
- **SECTIONS**:
|
|
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 technology stack document
|
|
22
22
|
- **AUTHOR**: @tech-lead
|
|
23
23
|
- **SECTIONS**: Stack, Framework, Quality, Security, Deploy
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
## @DOC:STACK-001
|
|
27
|
+
## @DOC:STACK-001 Languages & Runtimes
|
|
28
28
|
|
|
29
|
-
###
|
|
29
|
+
### Primary Language
|
|
30
30
|
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
31
|
+
- **Language**: [Chosen primary language]
|
|
32
|
+
- **Version Range**: [Supported versions]
|
|
33
|
+
- **Rationale**: [Justification and trade-offs]
|
|
34
|
+
- **Package Manager**: [Tool used to manage dependencies]
|
|
35
35
|
|
|
36
|
-
###
|
|
36
|
+
### Multi-Platform Support
|
|
37
37
|
|
|
38
|
-
|
|
|
39
|
-
|
|
40
|
-
| **Windows** | [
|
|
41
|
-
| **macOS**
|
|
42
|
-
| **Linux**
|
|
38
|
+
| Platform | Support Level | Validation Tooling | Key Constraints |
|
|
39
|
+
| ----------- | ------------- | ------------------- | --------------- |
|
|
40
|
+
| **Windows** | [Supported?] | [Validation method] | [Constraints] |
|
|
41
|
+
| **macOS** | [Supported?] | [Validation method] | [Constraints] |
|
|
42
|
+
| **Linux** | [Supported?] | [Validation method] | [Constraints] |
|
|
43
43
|
|
|
44
|
-
## @DOC:FRAMEWORK-001
|
|
44
|
+
## @DOC:FRAMEWORK-001 Core Frameworks & Libraries
|
|
45
45
|
|
|
46
|
-
### 1.
|
|
46
|
+
### 1. Runtime Dependencies
|
|
47
47
|
|
|
48
48
|
```json
|
|
49
49
|
{
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"[
|
|
52
|
-
"[
|
|
53
|
-
"[
|
|
51
|
+
"[library1]": "[version]",
|
|
52
|
+
"[library2]": "[version]",
|
|
53
|
+
"[library3]": "[version]"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
### 2.
|
|
58
|
+
### 2. Development Tooling
|
|
59
59
|
|
|
60
60
|
```json
|
|
61
61
|
{
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"[
|
|
64
|
-
"[
|
|
65
|
-
"[
|
|
63
|
+
"[dev-tool1]": "[version]",
|
|
64
|
+
"[dev-tool2]": "[version]",
|
|
65
|
+
"[dev-tool3]": "[version]"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
### 3.
|
|
70
|
+
### 3. Build System
|
|
71
71
|
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
72
|
+
- **Build Tool**: [Selected build tool]
|
|
73
|
+
- **Bundling**: [Bundler and configuration]
|
|
74
|
+
- **Targets**: [Build targets such as browser, Node.js, etc.]
|
|
75
|
+
- **Performance Goals**: [Desired build duration]
|
|
76
76
|
|
|
77
|
-
## @DOC:QUALITY-001
|
|
77
|
+
## @DOC:QUALITY-001 Quality Gates & Policies
|
|
78
78
|
|
|
79
|
-
###
|
|
79
|
+
### Test Coverage
|
|
80
80
|
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
81
|
+
- **Target**: [Coverage percentage goal]
|
|
82
|
+
- **Measurement Tool**: [Tooling used]
|
|
83
|
+
- **Failure Response**: [Actions when coverage falls short]
|
|
84
84
|
|
|
85
|
-
###
|
|
85
|
+
### Static Analysis
|
|
86
86
|
|
|
87
|
-
|
|
|
88
|
-
|
|
89
|
-
| [
|
|
90
|
-
| [
|
|
91
|
-
| [
|
|
87
|
+
| Tool | Role | Config File | Failure Handling |
|
|
88
|
+
| -------------- | --------- | ------------- | ---------------- |
|
|
89
|
+
| [linter] | [Purpose] | [config file] | [Action] |
|
|
90
|
+
| [formatter] | [Purpose] | [config file] | [Action] |
|
|
91
|
+
| [type-checker] | [Purpose] | [config file] | [Action] |
|
|
92
92
|
|
|
93
|
-
###
|
|
93
|
+
### Automation Scripts
|
|
94
94
|
|
|
95
95
|
```bash
|
|
96
|
-
#
|
|
97
|
-
[
|
|
98
|
-
[
|
|
99
|
-
[
|
|
100
|
-
[
|
|
96
|
+
# Quality gate pipeline
|
|
97
|
+
[test-command] # Run tests
|
|
98
|
+
[lint-command] # Enforce code quality
|
|
99
|
+
[type-check-command] # Validate types
|
|
100
|
+
[build-command] # Verify builds
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
## @DOC:SECURITY-001
|
|
103
|
+
## @DOC:SECURITY-001 Security Policy & Operations
|
|
104
104
|
|
|
105
|
-
###
|
|
105
|
+
### Secret Management
|
|
106
106
|
|
|
107
|
-
-
|
|
108
|
-
-
|
|
109
|
-
-
|
|
107
|
+
- **Policy**: [Approach to handling secrets]
|
|
108
|
+
- **Tooling**: [Services or tools in use]
|
|
109
|
+
- **Verification**: [Automation to validate compliance]
|
|
110
110
|
|
|
111
|
-
###
|
|
111
|
+
### Dependency Security
|
|
112
112
|
|
|
113
113
|
```json
|
|
114
114
|
{
|
|
115
115
|
"security": {
|
|
116
|
-
"audit_tool": "[
|
|
117
|
-
"update_policy": "[
|
|
118
|
-
"vulnerability_threshold": "[
|
|
116
|
+
"audit_tool": "[security-audit-tool]",
|
|
117
|
+
"update_policy": "[update-policy]",
|
|
118
|
+
"vulnerability_threshold": "[allowed-threshold]"
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
###
|
|
123
|
+
### Logging Policy
|
|
124
124
|
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
-
|
|
125
|
+
- **Log Levels**: [Define log levels]
|
|
126
|
+
- **Sensitive Data Masking**: [Masking rules]
|
|
127
|
+
- **Retention Policy**: [Log retention period]
|
|
128
128
|
|
|
129
|
-
## @DOC:DEPLOY-001
|
|
129
|
+
## @DOC:DEPLOY-001 Release Channels & Strategy
|
|
130
130
|
|
|
131
|
-
### 1.
|
|
131
|
+
### 1. Distribution Channels
|
|
132
132
|
|
|
133
|
-
-
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
- **
|
|
133
|
+
- **Primary Channel**: [Main release path]
|
|
134
|
+
- **Release Procedure**: [Deployment process]
|
|
135
|
+
- **Versioning Policy**: [Version management strategy]
|
|
136
|
+
- **Rollback Strategy**: [Rollback plan]
|
|
137
137
|
|
|
138
|
-
### 2.
|
|
138
|
+
### 2. Developer Setup
|
|
139
139
|
|
|
140
140
|
```bash
|
|
141
|
-
#
|
|
142
|
-
[
|
|
143
|
-
[
|
|
144
|
-
[
|
|
141
|
+
# Developer mode setup
|
|
142
|
+
[local-install-command]
|
|
143
|
+
[dependency-install-command]
|
|
144
|
+
[dev-environment-command]
|
|
145
145
|
```
|
|
146
146
|
|
|
147
|
-
### 3. CI/CD
|
|
147
|
+
### 3. CI/CD Pipeline
|
|
148
148
|
|
|
149
|
-
|
|
|
150
|
-
|
|
151
|
-
| [
|
|
152
|
-
| [
|
|
153
|
-
| [
|
|
149
|
+
| Stage | Objective | Tooling | Success Criteria |
|
|
150
|
+
| --------- | ----------- | ------- | ---------------- |
|
|
151
|
+
| [Stage 1] | [Objective] | [Tool] | [Condition] |
|
|
152
|
+
| [Stage 2] | [Objective] | [Tool] | [Condition] |
|
|
153
|
+
| [Stage 3] | [Objective] | [Tool] | [Condition] |
|
|
154
154
|
|
|
155
|
-
##
|
|
155
|
+
## Environment Profiles
|
|
156
156
|
|
|
157
|
-
###
|
|
157
|
+
### Development (`dev`)
|
|
158
158
|
|
|
159
159
|
```bash
|
|
160
160
|
export PROJECT_MODE=development
|
|
161
161
|
export LOG_LEVEL=debug
|
|
162
|
-
[
|
|
162
|
+
[dev-env-command]
|
|
163
163
|
```
|
|
164
164
|
|
|
165
|
-
###
|
|
165
|
+
### Test (`test`)
|
|
166
166
|
|
|
167
167
|
```bash
|
|
168
168
|
export PROJECT_MODE=test
|
|
169
169
|
export LOG_LEVEL=info
|
|
170
|
-
[
|
|
170
|
+
[test-env-command]
|
|
171
171
|
```
|
|
172
172
|
|
|
173
|
-
###
|
|
173
|
+
### Production (`production`)
|
|
174
174
|
|
|
175
175
|
```bash
|
|
176
176
|
export PROJECT_MODE=production
|
|
177
177
|
export LOG_LEVEL=warning
|
|
178
|
-
[
|
|
178
|
+
[prod-env-command]
|
|
179
179
|
```
|
|
180
180
|
|
|
181
|
-
## @CODE:TECH-DEBT-001
|
|
181
|
+
## @CODE:TECH-DEBT-001 Technical Debt Management
|
|
182
182
|
|
|
183
|
-
###
|
|
183
|
+
### Current Debt
|
|
184
184
|
|
|
185
|
-
1. **[
|
|
186
|
-
2. **[
|
|
187
|
-
3. **[
|
|
185
|
+
1. **[debt-item-1]** – [Description and priority]
|
|
186
|
+
2. **[debt-item-2]** – [Description and priority]
|
|
187
|
+
3. **[debt-item-3]** – [Description and priority]
|
|
188
188
|
|
|
189
|
-
###
|
|
189
|
+
### Remediation Plan
|
|
190
190
|
|
|
191
|
-
-
|
|
192
|
-
-
|
|
193
|
-
-
|
|
191
|
+
- **Short term (1 month)**: [Immediate fixes]
|
|
192
|
+
- **Mid term (3 months)**: [Progressive improvements]
|
|
193
|
+
- **Long term (6+ months)**: [Strategic upgrades]
|
|
194
194
|
|
|
195
|
-
## EARS
|
|
195
|
+
## EARS Technical Requirements Guide
|
|
196
196
|
|
|
197
|
-
###
|
|
197
|
+
### Using EARS for the Stack
|
|
198
198
|
|
|
199
|
-
|
|
199
|
+
Apply EARS patterns when documenting technical decisions and quality gates:
|
|
200
200
|
|
|
201
|
-
####
|
|
201
|
+
#### Technology Stack EARS Example
|
|
202
202
|
```markdown
|
|
203
|
-
### Ubiquitous Requirements (
|
|
204
|
-
-
|
|
205
|
-
-
|
|
206
|
-
|
|
207
|
-
### Event-driven Requirements
|
|
208
|
-
- WHEN
|
|
209
|
-
- WHEN
|
|
210
|
-
|
|
211
|
-
### State-driven Requirements
|
|
212
|
-
- WHILE
|
|
213
|
-
- WHILE
|
|
214
|
-
|
|
215
|
-
### Optional Features
|
|
216
|
-
- WHERE Docker
|
|
217
|
-
- WHERE CI/CD
|
|
218
|
-
|
|
219
|
-
### Constraints
|
|
220
|
-
- IF
|
|
221
|
-
-
|
|
222
|
-
-
|
|
203
|
+
### Ubiquitous Requirements (Baseline)
|
|
204
|
+
- The system shall guarantee TypeScript type safety.
|
|
205
|
+
- The system shall provide cross-platform compatibility.
|
|
206
|
+
|
|
207
|
+
### Event-driven Requirements
|
|
208
|
+
- WHEN code is committed, the system shall run tests automatically.
|
|
209
|
+
- WHEN a build fails, the system shall notify developers immediately.
|
|
210
|
+
|
|
211
|
+
### State-driven Requirements
|
|
212
|
+
- WHILE in development mode, the system shall offer hot reloading.
|
|
213
|
+
- WHILE in production mode, the system shall produce optimized builds.
|
|
214
|
+
|
|
215
|
+
### Optional Features
|
|
216
|
+
- WHERE Docker is available, the system may support container-based deployment.
|
|
217
|
+
- WHERE CI/CD is configured, the system may execute automated deployments.
|
|
218
|
+
|
|
219
|
+
### Constraints
|
|
220
|
+
- IF a dependency vulnerability is detected, the system shall halt the build.
|
|
221
|
+
- Test coverage shall remain at or above 85%.
|
|
222
|
+
- Build time shall not exceed 5 minutes.
|
|
223
223
|
```
|
|
224
224
|
|
|
225
225
|
---
|
|
226
226
|
|
|
227
|
-
|
|
227
|
+
_This technology stack guides tool selection and quality gates when `/alfred:2-run` runs._
|