Skip to content

Commit 3fca2f6

Browse files
authored
Merge pull request #47 from shinpr/feat/apply-sub-agents-update
fix: Clarify orchestrator's commit execution responsibility in sub-agents guide
2 parents 52d7f5f + 23143c0 commit 3fca2f6

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

docs/guides/en/sub-agents.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ graph TD
211211
TD --> LOOP[Task execution loop]
212212
LOOP --> TE[task-executor: Implementation]
213213
TE --> QF[quality-fixer: Quality check and fixes]
214-
QF --> COMMIT[Create commit]
214+
QF --> COMMIT[Me: Execute git commit]
215215
COMMIT --> CHECK{Any remaining tasks?}
216216
CHECK -->|Yes| LOOP
217217
CHECK -->|No| REPORT[Completion report]
@@ -247,19 +247,19 @@ Stop autonomous execution and escalate to user in the following cases:
247247
- Direct stop instruction or interruption
248248

249249
### Quality Assurance During Autonomous Execution
250-
- Automatically execute `task-executor → quality-fixer → commit` cycle for each task
251-
- Have quality-fixer handle all quality checks and fixes in completely self-contained manner
252-
- Maintain quality standards until all tasks are complete
250+
- Execute task-executor → Execute quality-fixer → **I execute commit** (using Bash tool)
251+
- After confirming quality-fixer's `approved: true`, immediately execute git commit
252+
- Use changeSummary for commit message
253253

254254
## 🎼 My Main Roles as Orchestrator
255255

256256
1. **State Management**: Grasp current phase, each subagent's state, and next action
257257
2. **Information Bridging**: Data conversion and transmission between subagents
258258
- Convert each subagent's output to next subagent's input format
259259
- Extract necessary information from structured responses
260-
- Compose commit messages from changeSummary
260+
- Compose commit messages from changeSummary → **Execute git commit with Bash**
261261
- Explicitly integrate initial and additional requirements when requirements change
262-
3. **Quality Assurance**: Manage task → quality-check → commit cycle
262+
3. **Quality Assurance and Commit Execution**: After confirming approved=true, immediately execute git commit
263263
4. **Autonomous Execution Mode Management**: Start/stop autonomous execution after approval, escalation decisions
264264
5. **ADR Status Management**: Update ADR status after user decision (Accepted/Rejected)
265265

docs/guides/ja/sub-agents.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ graph TD
193193
TD --> LOOP[タスク実行ループ]
194194
LOOP --> TE[task-executor: 実装]
195195
TE --> QF[quality-fixer: 品質チェック・修正]
196-
QF --> COMMIT[コミット作成]
196+
QF --> COMMIT[私: git commit実行]
197197
COMMIT --> CHECK{残りタスクあり?}
198198
CHECK -->|Yes| LOOP
199199
CHECK -->|No| REPORT[完了報告]
@@ -229,19 +229,19 @@ graph TD
229229
- 直接的な停止指示や割り込み
230230

231231
### 自律実行中の品質保証
232-
- 各タスクごとに`task-executor → quality-fixercommit`サイクルを自動実行
233-
- quality-fixerに全品質チェックと修正を完全自己完結で処理させる
234-
- 全タスク完了まで品質基準を維持
232+
- task-executor実行 → quality-fixer実行**私がコミット実行**(Bashツール使用)
233+
- quality-fixerの`approved: true`確認後、即座にgit commitを実行
234+
- changeSummaryをコミットメッセージに使用
235235

236236
## 🎼 私のオーケストレーターとしての主な役割
237237

238238
1. **状態管理**: 現在のフェーズ、各サブエージェントの状態、次のアクションを把握
239239
2. **情報の橋渡し**: サブエージェント間のデータ変換と伝達
240240
- 各Sub-agentの出力を次のSub-agentの入力形式に変換
241241
- 構造化レスポンスから必要な情報を抽出
242-
- changeSummaryからコミットメッセージを構成
242+
- changeSummaryからコミットメッセージ構成→**Bashでgit commit実行**
243243
- 要件変更時は初回要件と追加要件を明示的に統合
244-
3. **品質保証**: task → quality-check → commit サイクルの管理
244+
3. **品質保証とコミット実行**: approved=true確認後、即座にgit commit実行
245245
4. **自律実行モード管理**: 承認後の自律実行開始・停止・エスカレーション判断
246246
5. **ADRステータス管理**: ユーザー判断後のADRステータス更新(Accepted/Rejected)
247247

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ai-coding-project-boilerplate",
3-
"version": "1.6.5",
3+
"version": "1.6.6",
44
"description": "TypeScript project boilerplate optimized for Claude Code development with comprehensive development rules, architecture patterns, and quality assurance tools",
55
"main": "dist/index.js",
66
"keywords": [

0 commit comments

Comments
 (0)