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.
- moai_adk/__init__.py +2 -3
- moai_adk/cli/commands/init.py +10 -5
- moai_adk/cli/commands/update.py +274 -118
- moai_adk/cli/prompts/init_prompts.py +14 -18
- moai_adk/core/diagnostics/slash_commands.py +1 -1
- moai_adk/core/project/backup_utils.py +2 -11
- moai_adk/core/project/checker.py +2 -2
- moai_adk/core/project/phase_executor.py +11 -14
- moai_adk/core/project/validator.py +3 -2
- moai_adk/core/quality/__init__.py +1 -1
- moai_adk/core/quality/trust_checker.py +63 -63
- moai_adk/core/quality/validators/__init__.py +1 -1
- moai_adk/core/quality/validators/base_validator.py +1 -1
- moai_adk/core/template/backup.py +21 -8
- moai_adk/core/template/merger.py +14 -4
- moai_adk/core/template/processor.py +24 -5
- moai_adk/templates/.claude/agents/alfred/cc-manager.md +446 -424
- 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 +216 -128
- 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 +756 -640
- moai_adk/templates/.claude/commands/alfred/1-plan.md +343 -333
- moai_adk/templates/.claude/commands/alfred/2-run.md +297 -285
- moai_adk/templates/.claude/commands/alfred/3-sync.md +387 -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 +27 -27
- 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 +70 -43
- moai_adk/templates/.claude/skills/moai-claude-code/examples.md +141 -141
- moai_adk/templates/.claude/skills/moai-claude-code/reference.md +179 -165
- moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +78 -78
- moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +90 -90
- moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +39 -25
- moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +117 -74
- moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +131 -134
- moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +43 -11
- moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +47 -11
- moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +47 -11
- moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +51 -14
- moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +46 -10
- moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +62 -25
- moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +44 -17
- moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +44 -14
- moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +45 -13
- moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +46 -14
- moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +48 -8
- moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +44 -12
- 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 +229 -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 +564 -709
- moai_adk-0.4.4.dist-info/METADATA +369 -0
- moai_adk-0.4.4.dist-info/RECORD +152 -0
- moai_adk/templates/.claude/commands/alfred/1-spec.md +0 -31
- moai_adk/templates/.claude/commands/alfred/2-build.md +0 -30
- moai_adk/templates/.claude/skills/scripts/standardize_skills.py +0 -166
- moai_adk/templates/.claude/skills/scripts/verify_standardization.sh +0 -43
- moai_adk/templates/.moai/hooks/pre-push.sample +0 -88
- moai_adk-0.4.0.dist-info/METADATA +0 -1816
- moai_adk-0.4.0.dist-info/RECORD +0 -145
- {moai_adk-0.4.0.dist-info → moai_adk-0.4.4.dist-info}/WHEEL +0 -0
- {moai_adk-0.4.0.dist-info → moai_adk-0.4.4.dist-info}/entry_points.txt +0 -0
- {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:2-run
|
|
3
|
-
description: "
|
|
4
|
-
argument-hint: "SPEC-ID -
|
|
3
|
+
description: "Implement all SPECs with SPEC ID to implement (e.g. SPEC-001) or all - Execute planned work (TDD implementation, prototyping, documentation, etc.)"
|
|
4
|
+
argument-hint: "SPEC-ID - All with SPEC ID to implement (e.g. SPEC-001) or all “SPEC Implementation”
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
7
7
|
- Write
|
|
@@ -19,442 +19,454 @@ allowed-tools:
|
|
|
19
19
|
- TodoWrite
|
|
20
20
|
---
|
|
21
21
|
|
|
22
|
-
# ⚒️ MoAI-ADK 2
|
|
22
|
+
# ⚒️ MoAI-ADK Phase 2: Run the plan - Flexible implementation strategy
|
|
23
|
+
> Interactive prompts rely on `Skill("moai-alfred-tui-survey")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
|
|
23
24
|
|
|
24
|
-
## 🎯
|
|
25
|
+
## 🎯 Command Purpose
|
|
25
26
|
|
|
26
|
-
SPEC
|
|
27
|
+
Analyze SPEC documents to execute planned tasks. It supports not only TDD implementation but also various execution scenarios such as prototyping and documentation work.
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
**Run on**: $ARGUMENTS
|
|
29
30
|
|
|
30
|
-
## 💡
|
|
31
|
+
## 💡 Execution philosophy: “Plan → Run → Sync”
|
|
31
32
|
|
|
32
|
-
`/alfred:2-run
|
|
33
|
+
`/alfred:2-run` is a general-purpose command that does not simply "build" code, but **performs** a planned task.
|
|
33
34
|
|
|
34
|
-
### 3
|
|
35
|
+
### 3 main scenarios
|
|
35
36
|
|
|
36
|
-
####
|
|
37
|
+
#### Scenario 1: TDD implementation (main method) ⭐
|
|
37
38
|
```bash
|
|
38
39
|
/alfred:2-run SPEC-AUTH-001
|
|
39
40
|
→ RED → GREEN → REFACTOR
|
|
40
|
-
→
|
|
41
|
+
→ Implement high-quality code through test-driven development
|
|
41
42
|
```
|
|
42
43
|
|
|
43
|
-
####
|
|
44
|
+
#### Scenario 2: Prototyping
|
|
44
45
|
```bash
|
|
45
46
|
/alfred:2-run SPEC-PROTO-001
|
|
46
|
-
→
|
|
47
|
-
→
|
|
47
|
+
→ Prototype implementation for quick verification
|
|
48
|
+
→ Quick feedback with minimal testing
|
|
48
49
|
```
|
|
49
50
|
|
|
50
|
-
####
|
|
51
|
+
#### Scenario 3: Documentation tasks
|
|
51
52
|
```bash
|
|
52
53
|
/alfred:2-run SPEC-DOCS-001
|
|
53
|
-
→
|
|
54
|
-
→ API
|
|
54
|
+
→ Writing documentation and generating sample code
|
|
55
|
+
→ API documentation, tutorials, guides, etc.
|
|
55
56
|
```
|
|
56
57
|
|
|
57
|
-
>
|
|
58
|
+
> **Standard two-step workflow** (see `CLAUDE.md` - "Alfred Command Execution Pattern" for details)
|
|
58
59
|
|
|
59
|
-
## 📋
|
|
60
|
+
## 📋 Execution flow
|
|
60
61
|
|
|
61
|
-
1. **SPEC
|
|
62
|
-
2.
|
|
63
|
-
3.
|
|
64
|
-
4.
|
|
65
|
-
5. **Git
|
|
62
|
+
1. **SPEC Analysis**: Requirements extraction and complexity assessment
|
|
63
|
+
2. **Establishment of implementation strategy**: Determine the optimized approach for each language (TDD, prototype, documentation, etc.)
|
|
64
|
+
3. **User Confirmation**: Review and approve action plan
|
|
65
|
+
4. **Execute work**: Perform work according to the approved plan
|
|
66
|
+
5. **Git Operations**: Creating step-by-step commits with git-manager
|
|
66
67
|
|
|
67
|
-
##
|
|
68
|
+
## 🧠 Associated Skills & Agents
|
|
68
69
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
70
|
+
| Agent | Core Skill | Purpose |
|
|
71
|
+
| ----- | -------- | ------- |
|
|
72
|
+
| implementation-planner | `moai-alfred-language-detection` | Detect language and design architecture |
|
|
73
|
+
| tdd-implementer | `moai-essentials-debug` | Implement TDD (RED → GREEN → REFACTOR) |
|
|
74
|
+
| quality-gate | `moai-alfred-trust-validation` | Verify TRUST 5 principles |
|
|
75
|
+
| git-manager | `moai-alfred-git-workflow` | Commit and manage Git workflows |
|
|
73
76
|
|
|
74
|
-
|
|
77
|
+
**Note**: TUI Survey Skill is used for user confirmations during the run phase and is shared across all interactive prompts.
|
|
75
78
|
|
|
76
|
-
|
|
77
|
-
- `/alfred:2-run SPEC-001` - 특정 SPEC 실행
|
|
78
|
-
- `/alfred:2-run all` - 모든 SPEC 일괄 실행
|
|
79
|
-
- `/alfred:2-run SPEC-003 --test` - 테스트만 실행
|
|
79
|
+
## 🔗 Associated Agent
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
- **Phase 1**: implementation-planner (📋 technical architect) - SPEC analysis and establishment of execution strategy
|
|
82
|
+
- **Phase 2**: tdd-implementer (🔬 senior developer) - Dedicated to execution work
|
|
83
|
+
- **Phase 2.5**: quality-gate (🛡️ Quality Assurance Engineer) - TRUST principle verification (automatically)
|
|
84
|
+
- **Phase 3**: git-manager (🚀 Release Engineer) - Dedicated to Git commits
|
|
82
85
|
|
|
83
|
-
|
|
86
|
+
## 💡 Example of use
|
|
84
87
|
|
|
85
|
-
|
|
88
|
+
Users can run commands as follows:
|
|
89
|
+
- `/alfred:2-run SPEC-001` - Run a specific SPEC
|
|
90
|
+
- `/alfred:2-run all` - Run all SPECs in batches
|
|
91
|
+
- `/alfred:2-run SPEC-003 --test` - Run only tests
|
|
86
92
|
|
|
87
|
-
|
|
93
|
+
## 🔍 STEP 1: SPEC analysis and execution plan establishment
|
|
88
94
|
|
|
89
|
-
|
|
95
|
+
First, the specified SPEC is analyzed to establish an action plan and receive user confirmation.
|
|
96
|
+
|
|
97
|
+
**The implementation-planner agent automatically loads and analyzes the required documents.**
|
|
98
|
+
|
|
99
|
+
### 🔍 Browse the code base (recommended)
|
|
100
|
+
|
|
101
|
+
**If you need to understand existing code structure or find similar patterns** Use the Explore agent first:
|
|
90
102
|
|
|
91
103
|
```
|
|
92
|
-
Task tool
|
|
104
|
+
Invoking the Task tool (Explore agent):
|
|
93
105
|
- subagent_type: "Explore"
|
|
94
|
-
- description: "
|
|
95
|
-
- prompt: "
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
106
|
+
- description: "Explore existing code structures and patterns"
|
|
107
|
+
- prompt: "Please explore existing code related to SPEC-$ARGUMENTS:
|
|
108
|
+
- Similar function implementation code (src/)
|
|
109
|
+
- Test patterns for reference (tests/)
|
|
110
|
+
- Architectural patterns and design patterns
|
|
111
|
+
- Use Current libraries and versions (package.json, requirements.txt)
|
|
112
|
+
thoroughness level: medium"
|
|
101
113
|
```
|
|
102
114
|
|
|
103
|
-
**
|
|
104
|
-
- ✅
|
|
105
|
-
- ✅
|
|
106
|
-
- ✅
|
|
107
|
-
- ✅
|
|
115
|
+
**When to use the Explore Agent**:
|
|
116
|
+
- ✅ When you need to understand the existing code structure/pattern
|
|
117
|
+
- ✅ When you need to refer to how a similar function is implemented
|
|
118
|
+
- ✅ When you need to understand the architectural rules of the project
|
|
119
|
+
- ✅ Check the library and version being used
|
|
108
120
|
|
|
109
|
-
### ⚙️
|
|
121
|
+
### ⚙️ How to call an agent
|
|
110
122
|
|
|
111
|
-
**STEP 1
|
|
123
|
+
**In STEP 1, we call the implementation-planner agent using the Task tool**:
|
|
112
124
|
|
|
113
125
|
```
|
|
114
|
-
Task tool
|
|
126
|
+
Task tool call example:
|
|
115
127
|
- subagent_type: "implementation-planner"
|
|
116
|
-
- description: "SPEC
|
|
117
|
-
- prompt: "$ARGUMENTS
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
3. TAG
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
128
|
+
- description: "SPEC analysis and establishment of execution strategy"
|
|
129
|
+
- prompt: "Please analyze the SPEC of $ARGUMENTS and establish an execution plan.
|
|
130
|
+
It must include the following:
|
|
131
|
+
1. SPEC requirements extraction and complexity assessment
|
|
132
|
+
2. Library and tool selection (using WebFetch)
|
|
133
|
+
3. TAG chain design
|
|
134
|
+
4. Step-by-step execution plan
|
|
135
|
+
5. Risks and response plans
|
|
136
|
+
6. Create action plan and use `Skill("moai-alfred-tui-survey")` to confirm the next action with the user
|
|
137
|
+
(Optional) Explore results: $EXPLORE_RESULTS"
|
|
126
138
|
```
|
|
127
139
|
|
|
128
|
-
### SPEC
|
|
129
|
-
|
|
130
|
-
1. **SPEC
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
2.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
3.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
140
|
+
### SPEC analysis in progress
|
|
141
|
+
|
|
142
|
+
1. **SPEC document analysis**
|
|
143
|
+
- Requirements extraction and complexity assessment
|
|
144
|
+
- Check technical constraints
|
|
145
|
+
- Dependency and impact scope analysis
|
|
146
|
+
- (Optional) Identify existing code structure based on Explore results
|
|
147
|
+
|
|
148
|
+
2. **Establish execution strategy**
|
|
149
|
+
- Detect project language and optimize execution strategy
|
|
150
|
+
- Determine approach (TDD, prototyping, documentation, etc.)
|
|
151
|
+
- Estimate expected work scope and time
|
|
152
|
+
|
|
153
|
+
3. **Check and specify library versions (required)**
|
|
154
|
+
- **Web search**: Check the latest stable versions of all libraries to be used through `WebSearch`
|
|
155
|
+
- **Specify versions**: Specify the exact version for each library in the implementation plan report (e.g. `fastapi>=0.118.3`)
|
|
156
|
+
- **Stability priority**: Exclude beta/alpha versions, select only production stable versions
|
|
157
|
+
- **Check compatibility**: Verify version compatibility between libraries
|
|
158
|
+
- **Search keyword examples**:
|
|
147
159
|
- `"FastAPI latest stable version 2025"`
|
|
148
160
|
- `"SQLAlchemy 2.0 latest stable version 2025"`
|
|
149
161
|
- `"React 18 latest stable version 2025"`
|
|
150
162
|
|
|
151
|
-
4.
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
163
|
+
4. **Report action plan**
|
|
164
|
+
- Present step-by-step action plan
|
|
165
|
+
- Identify potential risk factors
|
|
166
|
+
- Set quality gate checkpoints
|
|
167
|
+
- **Specify library version (required)**
|
|
156
168
|
|
|
157
|
-
###
|
|
169
|
+
### User verification steps
|
|
158
170
|
|
|
159
|
-
|
|
160
|
-
- **"
|
|
161
|
-
- **"
|
|
162
|
-
- **"
|
|
171
|
+
After reviewing the action plan, select one of the following:
|
|
172
|
+
- **"Proceed"** or **"Start"**: Start executing the task as planned
|
|
173
|
+
- **"Modify [Content]"**: Request a plan modification
|
|
174
|
+
- **"Abort"**: Stop the task
|
|
163
175
|
|
|
164
176
|
---
|
|
165
177
|
|
|
166
|
-
## 🚀 STEP 2:
|
|
178
|
+
## 🚀 STEP 2: Execute task (after user approval)
|
|
167
179
|
|
|
168
|
-
|
|
180
|
+
After user approval (gathered through `Skill("moai-alfred-tui-survey")`), **call the tdd-implementer agent using the Task tool**.
|
|
169
181
|
|
|
170
|
-
### ⚙️
|
|
182
|
+
### ⚙️ How to call an agent
|
|
171
183
|
|
|
172
|
-
**STEP 2
|
|
184
|
+
**STEP 2 calls tdd-implementer using the Task tool**:
|
|
173
185
|
|
|
174
186
|
```
|
|
175
|
-
Task tool
|
|
187
|
+
Task tool call example:
|
|
176
188
|
- subagent_type: "tdd-implementer"
|
|
177
|
-
- description: "
|
|
178
|
-
- prompt: "
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
189
|
+
- description: "Execute task"
|
|
190
|
+
- prompt: "Please execute the task according to the plan approved in STEP 1.
|
|
191
|
+
For TDD scenario:
|
|
192
|
+
- Perform RED → GREEN → REFACTOR cycle,
|
|
193
|
+
Perform the following for each TAG:
|
|
194
|
+
1. RED Phase: Write a test that fails with the @TEST:ID tag
|
|
195
|
+
2. GREEN Phase: Minimal implementation with the @CODE:ID tag
|
|
196
|
+
3. REFACTOR Phase: Improve code quality
|
|
197
|
+
4. Verify TAG completion conditions and proceed to the next TAG
|
|
198
|
+
|
|
199
|
+
Execute on: $ARGUMENTS"
|
|
188
200
|
```
|
|
189
201
|
|
|
190
|
-
## 🔗
|
|
202
|
+
## 🔗 TDD optimization for each language
|
|
191
203
|
|
|
192
|
-
###
|
|
204
|
+
### Project language detection and optimal routing
|
|
193
205
|
|
|
194
|
-
`tdd-implementer
|
|
206
|
+
`tdd-implementer` automatically detects the language of your project and selects the optimal TDD tools and workflow:
|
|
195
207
|
|
|
196
|
-
-
|
|
197
|
-
-
|
|
198
|
-
- **TAG
|
|
199
|
-
-
|
|
208
|
+
- **Language detection**: Analyze project files (package.json, pyproject.toml, go.mod, etc.)
|
|
209
|
+
- **Tool selection**: Automatically select the optimal test framework for each language
|
|
210
|
+
- **TAG application**: Write @TAG annotations directly in code files
|
|
211
|
+
- **Run cycle**: RED → GREEN → REFACTOR sequential process
|
|
200
212
|
|
|
201
|
-
### TDD
|
|
213
|
+
### TDD tool mapping
|
|
202
214
|
|
|
203
|
-
####
|
|
215
|
+
#### Backend/System
|
|
204
216
|
|
|
205
|
-
| SPEC
|
|
217
|
+
| SPEC Type | Implementation language | Test Framework | Performance Goals | Coverage Goals |
|
|
206
218
|
|-----------|-----------|-------------------|-----------|---------------|
|
|
207
|
-
| **CLI
|
|
208
|
-
| **API
|
|
209
|
-
|
|
|
210
|
-
|
|
|
211
|
-
| **Python
|
|
219
|
+
| **CLI/System** | TypeScript | jest + ts-node | < 18ms | 95%+ |
|
|
220
|
+
| **API/Backend** | TypeScript | Jest + SuperTest | < 50ms | 90%+ |
|
|
221
|
+
| **Frontend** | TypeScript | Jest + Testing Library | < 100ms | 85%+ |
|
|
222
|
+
| **Data Processing** | TypeScript | Jest + Mock | < 200ms | 85%+ |
|
|
223
|
+
| **Python Project** | Python | pytest + mypy | Custom | 85%+ |
|
|
212
224
|
|
|
213
|
-
####
|
|
225
|
+
#### Mobile Framework
|
|
214
226
|
|
|
215
|
-
| SPEC
|
|
227
|
+
| SPEC Type | Implementation language | Test Framework | Performance Goals | Coverage Goals |
|
|
216
228
|
|-----------|-----------|-------------------|-----------|---------------|
|
|
217
|
-
| **Flutter
|
|
229
|
+
| **Flutter App** | Dart | flutter test + widget test | < 100ms | 85%+ |
|
|
218
230
|
| **React Native** | TypeScript | Jest + RN Testing Library | < 100ms | 85%+ |
|
|
219
|
-
| **iOS
|
|
220
|
-
| **Android
|
|
231
|
+
| **iOS App** | Swift | XCTest + XCUITest | < 150ms | 80%+ |
|
|
232
|
+
| **Android App** | Kotlin | JUnit + Espresso | < 150ms | 80%+ |
|
|
221
233
|
|
|
222
|
-
## 🚀
|
|
234
|
+
## 🚀 Optimized agent collaboration structure
|
|
223
235
|
|
|
224
|
-
- **Phase 1**: `implementation-planner`
|
|
225
|
-
- **Phase 2**: `tdd-implementer`
|
|
226
|
-
- **Phase 2.5**: `quality-gate`
|
|
227
|
-
- **Phase 3**: `git-manager`
|
|
228
|
-
-
|
|
229
|
-
-
|
|
236
|
+
- **Phase 1**: `implementation-planner` agent analyzes SPEC and establishes execution strategy
|
|
237
|
+
- **Phase 2**: `tdd-implementer` agent executes tasks (TDD cycle, prototyping, documentation, etc.)
|
|
238
|
+
- **Phase 2.5**: `quality-gate` agent verifies TRUST principle and quality verification (automatically)
|
|
239
|
+
- **Phase 3**: `git-manager` agent processes all commits at once after task completion
|
|
240
|
+
- **Single responsibility principle**: Each agent is responsible only for its own area of expertise
|
|
241
|
+
- **Inter-agent call prohibited**: Each agent runs independently, sequential calls are made only at the command level
|
|
230
242
|
|
|
231
|
-
## 🔄 2
|
|
243
|
+
## 🔄 Step 2 Workflow Execution Order
|
|
232
244
|
|
|
233
|
-
### Phase 1:
|
|
245
|
+
### Phase 1: Analysis and planning phase
|
|
234
246
|
|
|
235
|
-
`implementation-planner`
|
|
247
|
+
The `implementation-planner` agent does the following:
|
|
236
248
|
|
|
237
|
-
1. **SPEC
|
|
238
|
-
2.
|
|
239
|
-
3. **TAG
|
|
240
|
-
4.
|
|
241
|
-
5.
|
|
249
|
+
1. **SPEC document analysis**: Requirements extraction and complexity assessment of specified SPEC ID
|
|
250
|
+
2. **Library selection**: Check the latest stable version and verify compatibility through WebFetch
|
|
251
|
+
3. **TAG chain design**: Determine TAG order and dependency
|
|
252
|
+
4. **Establishment of implementation strategy**: Step-by-step implementation plan and risk identification
|
|
253
|
+
5. **Create action plan**: Create a structured plan and, via `Skill("moai-alfred-tui-survey")`, collect user approval before proceeding
|
|
242
254
|
|
|
243
|
-
### Phase 2:
|
|
255
|
+
### Phase 2: Task execution phase (after approval)
|
|
244
256
|
|
|
245
|
-
`tdd-implementer`
|
|
257
|
+
The `tdd-implementer` agent performs **TAG-by-TAG** after user approval (based on TDD scenario):
|
|
246
258
|
|
|
247
|
-
1. **RED Phase**:
|
|
248
|
-
2. **GREEN Phase**:
|
|
249
|
-
3. **REFACTOR Phase**:
|
|
250
|
-
4. **TAG
|
|
259
|
+
1. **RED Phase**: Write a failing test (add @TEST:ID tag) and check for failure
|
|
260
|
+
2. **GREEN Phase**: Write minimal code that passes the test (add @CODE:ID tag)
|
|
261
|
+
3. **REFACTOR Phase**: Improve code quality (without changing functionality)
|
|
262
|
+
4. **TAG completion confirmation**: Verify the completion conditions of each TAG and proceed to the next TAG
|
|
251
263
|
|
|
252
|
-
### Phase 2.5:
|
|
264
|
+
### Phase 2.5: Quality verification gate (automatic execution)
|
|
253
265
|
|
|
254
|
-
|
|
266
|
+
After the job execution is complete, the `quality-gate` agent **automatically** performs quality verification.
|
|
255
267
|
|
|
256
|
-
|
|
257
|
-
-
|
|
258
|
-
-
|
|
268
|
+
**Automatic execution conditions**:
|
|
269
|
+
- Automatically invoked upon completion of task execution
|
|
270
|
+
- Manually invoked upon user request
|
|
259
271
|
|
|
260
|
-
|
|
261
|
-
- **TRUST
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
-
|
|
268
|
-
-
|
|
269
|
-
- **TAG
|
|
270
|
-
-
|
|
272
|
+
**Verification items**:
|
|
273
|
+
- **TRUST principle verification**: Trust-checker script execution and result parsing
|
|
274
|
+
- T (Testable): Test coverage ≥ 85%
|
|
275
|
+
- R (Readable): Code readability (file≤300 LOC, function≤50 LOC, Complexity≤10)
|
|
276
|
+
- U (Unified): Architectural integrity
|
|
277
|
+
- S (Secured): No security vulnerabilities
|
|
278
|
+
- T (Traceable): @TAG chain integrity
|
|
279
|
+
- **Code style**: Run and verify linter (ESLint/Pylint)
|
|
280
|
+
- **Test Coverage**: Run language-specific coverage tools and verify goal achievement
|
|
281
|
+
- **TAG chain verification**: Check orphan TAGs, missing TAGs
|
|
282
|
+
- **Dependency verification**: Check security vulnerabilities
|
|
271
283
|
|
|
272
|
-
|
|
284
|
+
**How it works**: When Alfred completes job execution, it automatically calls the quality-gate agent to perform quality verification.
|
|
273
285
|
|
|
274
|
-
|
|
286
|
+
**Handling verification results**:
|
|
275
287
|
|
|
276
|
-
✅ **PASS (
|
|
277
|
-
- Phase 3 (Git
|
|
278
|
-
-
|
|
288
|
+
✅ **PASS (0 Critical, 5 or less Warnings)**:
|
|
289
|
+
- Proceed to Phase 3 (Git work)
|
|
290
|
+
- Create a quality report
|
|
279
291
|
|
|
280
|
-
⚠️ **WARNING (
|
|
281
|
-
-
|
|
282
|
-
-
|
|
292
|
+
⚠️ **WARNING (0 Critical, 6 or more Warnings)**:
|
|
293
|
+
- Display warning
|
|
294
|
+
- User choice: "Continue" or "Re-verify after modification"
|
|
283
295
|
|
|
284
|
-
❌ **CRITICAL (
|
|
285
|
-
- Git
|
|
286
|
-
-
|
|
287
|
-
- tdd-implementer
|
|
296
|
+
❌ **CRITICAL (1 or more Critical)**:
|
|
297
|
+
- Block Git commits
|
|
298
|
+
- Detailed report on items requiring improvement (including file: line information)
|
|
299
|
+
- Recommended tdd-implementer re-invocation
|
|
288
300
|
|
|
289
|
-
|
|
301
|
+
**Skip verification option**: To skip quality verification, use the `--skip-quality-check` option.
|
|
290
302
|
|
|
291
|
-
### Phase 3: Git
|
|
303
|
+
### Phase 3: Git operations (git-manager)
|
|
292
304
|
|
|
293
|
-
`git-manager`
|
|
305
|
+
After the `git-manager` agent completes the task **at once**:
|
|
294
306
|
|
|
295
|
-
1.
|
|
296
|
-
2.
|
|
297
|
-
3.
|
|
307
|
+
1. **Create checkpoint**: Backup point before starting work
|
|
308
|
+
2. **Structured Commit**: Step-by-step commit creation (RED→GREEN→REFACTOR for TDD)
|
|
309
|
+
3. **Final synchronization**: Apply Git strategy for each mode and remote synchronization
|
|
298
310
|
|
|
299
311
|
|
|
300
|
-
## 📋 STEP 1
|
|
312
|
+
## 📋 STEP 1 Execution Guide: SPEC Analysis and Planning
|
|
301
313
|
|
|
302
|
-
### 1. SPEC
|
|
314
|
+
### 1. SPEC document analysis
|
|
303
315
|
|
|
304
|
-
Alfred
|
|
316
|
+
Alfred calls the implementation-planner agent to check the SPEC document and create an execution plan.
|
|
305
317
|
|
|
306
|
-
####
|
|
318
|
+
#### Analysis Checklist
|
|
307
319
|
|
|
308
|
-
- [ ]
|
|
309
|
-
- [ ]
|
|
310
|
-
- [ ]
|
|
311
|
-
- [ ]
|
|
320
|
+
- [ ] **Requirements clarity**: Are the functional requirements in the SPEC specific?
|
|
321
|
+
- [ ] **Technical constraints**: Check performance, compatibility, and security requirements
|
|
322
|
+
- [ ] **Dependency analysis**: Connection points with existing code and scope of impact
|
|
323
|
+
- [ ] **Complexity assessment**: Implementation difficulty and expected workload
|
|
312
324
|
|
|
313
|
-
### 2.
|
|
325
|
+
### 2. Determine implementation strategy
|
|
314
326
|
|
|
315
|
-
#### TypeScript
|
|
327
|
+
#### TypeScript execution criteria
|
|
316
328
|
|
|
317
|
-
| SPEC
|
|
329
|
+
| SPEC characteristics | execution language | Reason |
|
|
318
330
|
|-----------|-----------|------|
|
|
319
|
-
| CLI
|
|
320
|
-
| API
|
|
321
|
-
|
|
|
322
|
-
|
|
|
323
|
-
|
|
|
331
|
+
| CLI/System Tools | TypeScript | High performance (18ms), type safety, SQLite3 integration |
|
|
332
|
+
| API/Backend | TypeScript | Node.js ecosystem, Express/Fastify compatibility |
|
|
333
|
+
| Frontend | TypeScript | React/Vue native support |
|
|
334
|
+
| data processing | TypeScript | High-performance asynchronous processing, type safety |
|
|
335
|
+
| User Python Project | Python tool support | MoAI-ADK provides Python project development tools |
|
|
324
336
|
|
|
325
|
-
####
|
|
337
|
+
#### Approach
|
|
326
338
|
|
|
327
|
-
- **Bottom-up**:
|
|
328
|
-
- **Top-down**: API →
|
|
329
|
-
- **Middle-out**:
|
|
339
|
+
- **Bottom-up**: Utility → Service → API
|
|
340
|
+
- **Top-down**: API → Service → Utility
|
|
341
|
+
- **Middle-out**: Core logic → Bidirectional expansion
|
|
330
342
|
|
|
331
|
-
### 3.
|
|
343
|
+
### 3. Generate action plan report
|
|
332
344
|
|
|
333
|
-
|
|
345
|
+
Present your plan in the following format:
|
|
334
346
|
|
|
335
347
|
```
|
|
336
|
-
##
|
|
348
|
+
## Execution Plan Report: [SPEC-ID]
|
|
337
349
|
|
|
338
|
-
### 📊
|
|
339
|
-
-
|
|
340
|
-
-
|
|
341
|
-
-
|
|
350
|
+
### 📊 Analysis Results
|
|
351
|
+
- **Complexity**: [Low/Medium/High]
|
|
352
|
+
- **Estimated Work Time**: [Time Estimation]
|
|
353
|
+
- **Key Technical Challenges**: [Technical Difficulties]
|
|
342
354
|
|
|
343
|
-
### 🎯
|
|
344
|
-
-
|
|
345
|
-
-
|
|
346
|
-
-
|
|
355
|
+
### 🎯 Execution Strategy
|
|
356
|
+
- **Language of choice**: [Python/TypeScript + Reason]
|
|
357
|
+
- **Approach**: [Bottom-up/Top-down/Middle-out or Prototype/Documentation]
|
|
358
|
+
- **Core module**: [Major work target]
|
|
347
359
|
|
|
348
|
-
### 📦
|
|
349
|
-
|
|
350
|
-
|
|
|
360
|
+
### 📦 Library version (required - based on web search)
|
|
361
|
+
**Backend dependencies** (example):
|
|
362
|
+
| package | Latest stable version | installation command |
|
|
351
363
|
|--------|--------------|----------|
|
|
352
364
|
| FastAPI | 0.118.3 | fastapi>=0.118.3 |
|
|
353
365
|
| SQLAlchemy | 2.0.43 | sqlalchemy>=2.0.43 |
|
|
354
366
|
|
|
355
|
-
|
|
356
|
-
|
|
|
367
|
+
**Frontend dependency** (example):
|
|
368
|
+
| package | Latest stable version | installation command |
|
|
357
369
|
|--------|--------------|----------|
|
|
358
370
|
| React | 18.3.1 | react@^18.3.1 |
|
|
359
371
|
| Vite | 7.1.9 | vite@^7.1.9 |
|
|
360
372
|
|
|
361
|
-
|
|
362
|
-
- [
|
|
363
|
-
- [
|
|
373
|
+
**Important Compatibility Information**:
|
|
374
|
+
- [Specific Version Requirements]
|
|
375
|
+
- [Known Compatibility Issues]
|
|
364
376
|
|
|
365
|
-
### ⚠️
|
|
366
|
-
-
|
|
367
|
-
-
|
|
368
|
-
-
|
|
377
|
+
### ⚠️ Risk Factors
|
|
378
|
+
- **Technical Risk**: [Expected Issues]
|
|
379
|
+
- **Dependency Risk**: [External Dependency Issues]
|
|
380
|
+
- **Schedule Risk**: [Possible Delay]
|
|
369
381
|
|
|
370
|
-
### ✅
|
|
371
|
-
-
|
|
372
|
-
-
|
|
373
|
-
-
|
|
382
|
+
### ✅ Quality Gates
|
|
383
|
+
- **Test Coverage**: [Goal %]
|
|
384
|
+
- **Performance Goals**: [Specific Metrics]
|
|
385
|
+
- **Security Checkpoints**: [Verification Items]
|
|
374
386
|
|
|
375
387
|
---
|
|
376
|
-
|
|
377
|
-
(
|
|
388
|
+
**Approval Request**: Do you want to proceed with the above plan?
|
|
389
|
+
(Choose between “Proceed,” “Modify [Content],” or “Abort”)
|
|
378
390
|
```
|
|
379
391
|
|
|
380
392
|
---
|
|
381
393
|
|
|
382
|
-
## 🚀 STEP 2
|
|
394
|
+
## 🚀 STEP 2 Execution Guide: Execute Task (After Approval)
|
|
383
395
|
|
|
384
|
-
|
|
396
|
+
Only if the user selects **"Proceed"** or **"Start"** will Alfred call the tdd-implementer agent to start the task.
|
|
385
397
|
|
|
386
|
-
### TDD
|
|
398
|
+
### TDD step-by-step guide
|
|
387
399
|
|
|
388
|
-
1. **RED**: Given/When/Then
|
|
389
|
-
2. **GREEN**:
|
|
390
|
-
3. **REFACTOR**:
|
|
400
|
+
1. **RED**: Writing failure tests with Given/When/Then structure. Follow test file rules for each language and simply record failure logs.
|
|
401
|
+
2. **GREEN**: Add only the minimal implementation that makes the tests pass. Optimization is postponed to the REFACTOR stage.
|
|
402
|
+
3. **REFACTOR**: Removal of duplication, explicit naming, structured logging/exception handling enhancements. Split into additional commits if necessary.
|
|
391
403
|
|
|
392
|
-
**TRUST 5
|
|
393
|
-
- **T (Test First)**:
|
|
394
|
-
- **R (Readable)**: REFACTOR
|
|
395
|
-
- **T (Trackable)**:
|
|
404
|
+
**TRUST 5 Principles Linkage** (Details: `development-guide.md` - "TRUST 5 Principles"):
|
|
405
|
+
- **T (Test First)**: Writing SPEC-based tests in the RED stage
|
|
406
|
+
- **R (Readable)**: Readability in the REFACTOR stage Improvement (file≤300 LOC, function≤50 LOC)
|
|
407
|
+
- **T (Trackable)**: Maintain @TAG traceability at all stages.
|
|
396
408
|
|
|
397
|
-
> TRUST 5
|
|
409
|
+
> TRUST 5 principles provide only basic recommendations, so if you need a structure that exceeds `simplicity_threshold`, proceed with the basis in SPEC or ADR.
|
|
398
410
|
|
|
399
|
-
##
|
|
411
|
+
## Agent role separation
|
|
400
412
|
|
|
401
|
-
### implementation-planner
|
|
413
|
+
### implementation-planner dedicated area
|
|
402
414
|
|
|
403
|
-
- SPEC
|
|
404
|
-
-
|
|
405
|
-
- TAG
|
|
406
|
-
-
|
|
407
|
-
-
|
|
415
|
+
- SPEC document analysis and requirements extraction
|
|
416
|
+
- Library selection and version management
|
|
417
|
+
- TAG chain design and sequence decision
|
|
418
|
+
- Establishment of implementation strategy and identification of risks
|
|
419
|
+
- Creation of execution plan
|
|
408
420
|
|
|
409
|
-
### tdd-implementer
|
|
421
|
+
### tdd-implementer dedicated area
|
|
410
422
|
|
|
411
|
-
-
|
|
412
|
-
-
|
|
413
|
-
-
|
|
414
|
-
-
|
|
415
|
-
-
|
|
423
|
+
- Execute tasks (TDD, prototyping, documentation, etc.)
|
|
424
|
+
- Write and run tests (TDD scenarios)
|
|
425
|
+
- Add and manage TAG comments
|
|
426
|
+
- Improve code quality (refactoring)
|
|
427
|
+
- Run language-specific linters/formatters
|
|
416
428
|
|
|
417
|
-
###
|
|
429
|
+
### Quality-gate dedicated area
|
|
418
430
|
|
|
419
|
-
- TRUST
|
|
420
|
-
-
|
|
421
|
-
-
|
|
422
|
-
- TAG
|
|
423
|
-
-
|
|
431
|
+
- TRUST principle verification
|
|
432
|
+
- Code style verification
|
|
433
|
+
- Test coverage verification
|
|
434
|
+
- TAG chain integrity verification
|
|
435
|
+
- Dependency security verification
|
|
424
436
|
|
|
425
|
-
### git-manager
|
|
437
|
+
### git-manager dedicated area
|
|
426
438
|
|
|
427
|
-
-
|
|
428
|
-
-
|
|
429
|
-
-
|
|
430
|
-
-
|
|
431
|
-
-
|
|
439
|
+
- All Git commit operations (add, commit, push)
|
|
440
|
+
- Checkpoint creation for each task stage
|
|
441
|
+
- Apply commit strategy for each mode
|
|
442
|
+
- Git branch/tag management
|
|
443
|
+
- Remote synchronization processing
|
|
432
444
|
|
|
433
|
-
##
|
|
445
|
+
## Quality Gate Checklist
|
|
434
446
|
|
|
435
|
-
-
|
|
436
|
-
-
|
|
437
|
-
-
|
|
438
|
-
- @TAG
|
|
447
|
+
- Test coverage ≥ `.moai/config.json.test_coverage_target` (default 85%)
|
|
448
|
+
- Pass linter/formatter (`ruff`, `eslint --fix`, `gofmt`, etc.)
|
|
449
|
+
- Check presence of structured logging or observation tool call
|
|
450
|
+
- @TAG update needed changes note (used by doc-syncer in next step)
|
|
439
451
|
|
|
440
452
|
---
|
|
441
453
|
|
|
442
|
-
## 🧠 Context Management
|
|
454
|
+
## 🧠 Context Management
|
|
443
455
|
|
|
444
|
-
>
|
|
456
|
+
> For more information: `.moai/memory/development-guide.md` - see section "Context Engineering"
|
|
445
457
|
|
|
446
|
-
###
|
|
458
|
+
### Core strategy of this command
|
|
447
459
|
|
|
448
|
-
|
|
460
|
+
**Load first**: `.moai/specs/SPEC-XXX/spec.md` (implementation target requirement)
|
|
449
461
|
|
|
450
|
-
|
|
462
|
+
**Recommendation**: Job execution completed successfully. You can experience better performance and context management by starting a new chat session with the `/clear` or `/new` command before proceeding to the next step (`/alfred:3-sync`).
|
|
451
463
|
|
|
452
464
|
---
|
|
453
465
|
|
|
454
|
-
##
|
|
466
|
+
## Next steps
|
|
455
467
|
|
|
456
|
-
|
|
468
|
+
**Recommendation**: For better performance and context management, start a new chat session with the `/clear` or `/new` command before proceeding to the next step.
|
|
457
469
|
|
|
458
|
-
-
|
|
459
|
-
-
|
|
460
|
-
-
|
|
470
|
+
- After task execution is complete, document synchronization proceeds with `/alfred:3-sync`
|
|
471
|
+
- All Git operations are dedicated to the git-manager agent to ensure consistency
|
|
472
|
+
- Only command-level orchestration is used without direct calls between agents
|