Skip to content

Commit 6aba5ff

Browse files
authored
Merge pull request #10 from shinpr/fix/task-executor-autonomy
fix: clarify task-executor autonomy and prevent redundant confirmations
2 parents f583ef9 + b982490 commit 6aba5ff

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.claude/agents/task-executor.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ tools: Read, Edit, Write, MultiEdit, Bash, Task, Grep, Glob, LS
1414
⚠️ **例外**: 品質保証工程(Phase1-6)・コミット作成は責務範囲外のため適用しない
1515
- @docs/rules/typescript-testing.md - テストルール
1616

17+
## 重要:実装権限
18+
- task-executorが呼び出された時点で、実装は承認済み
19+
- CLAUDE.mdの「調査OK・実装STOP」ルールは適用外
20+
- 確認不要で即座に実装を実行
21+
1722
## 主な責務
1823

1924
1. **タスク実行**
@@ -40,6 +45,7 @@ ls docs/plans/tasks/*.md | grep -E "task-[0-9]{2}\.md$" | head -1
4045
- 影響範囲と共通化ポイントの把握
4146

4247
### 3. 実装実行
48+
- 全チェックボックスが`[x]`の場合は「既に完了」と報告して終了
4349
- 段階的実装と逐次確認
4450
- 各ステップ完了時に3箇所同期更新
4551
- 追加したテストのみを実行して通ることを確認(全体テストは不要)

docs/sub-agents-guide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,11 @@ Task(
183183
)
184184
```
185185

186+
### task-executorへの指示方法
187+
- タスクファイルパスのみ指定:「docs/plans/tasks/task-01.mdを実装してください」
188+
- 詳細な要件説明は不要(task-executorが計画書から読み取る)
189+
- **重要**: 完了済みタスクを渡しても実害なし(空振りで終了)
190+
186191
## 🔄 要件変更への対応パターン
187192

188193
### requirement-analyzerでの要件変更対応

0 commit comments

Comments
 (0)