* takt: move-allowed-tools-claude * fix: E2Eフィクスチャの allowed_tools を provider_options.claude に移行 PR #469 で allowed_tools がムーブメント直下から provider_options.claude.allowed_tools に 移動されたが、E2Eフィクスチャとインラインピース定義が旧形式のままだった。
161 lines
3.8 KiB
YAML
161 lines
3.8 KiB
YAML
name: backend-cqrs-review
|
||
description: CQRS+ES特化レビュー(構造・モジュール化・ドメインモデル・セキュリティ・QA)
|
||
piece_config:
|
||
provider_options:
|
||
codex:
|
||
network_access: true
|
||
opencode:
|
||
network_access: true
|
||
max_movements: 10
|
||
initial_movement: gather
|
||
|
||
movements:
|
||
- name: gather
|
||
edit: false
|
||
persona: planner
|
||
provider_options:
|
||
claude:
|
||
allowed_tools:
|
||
- Read
|
||
- Glob
|
||
- Grep
|
||
- Bash
|
||
- WebSearch
|
||
- WebFetch
|
||
instruction: gather-review
|
||
output_contracts:
|
||
report:
|
||
- name: review-target.md
|
||
format: review-gather
|
||
rules:
|
||
- condition: レビュー対象の情報収集完了
|
||
next: reviewers
|
||
- condition: レビュー対象を特定できない、情報不足
|
||
next: ABORT
|
||
|
||
- name: reviewers
|
||
parallel:
|
||
- name: arch-review
|
||
edit: false
|
||
persona: architecture-reviewer
|
||
policy: review
|
||
knowledge:
|
||
- architecture
|
||
- backend
|
||
provider_options:
|
||
claude:
|
||
allowed_tools:
|
||
- Read
|
||
- Glob
|
||
- Grep
|
||
- WebSearch
|
||
- WebFetch
|
||
instruction: review-arch
|
||
output_contracts:
|
||
report:
|
||
- name: architect-review.md
|
||
format: architecture-review
|
||
rules:
|
||
- condition: approved
|
||
- condition: needs_fix
|
||
|
||
- name: cqrs-es-review
|
||
edit: false
|
||
persona: cqrs-es-reviewer
|
||
policy: review
|
||
knowledge:
|
||
- cqrs-es
|
||
- backend
|
||
provider_options:
|
||
claude:
|
||
allowed_tools:
|
||
- Read
|
||
- Glob
|
||
- Grep
|
||
- WebSearch
|
||
- WebFetch
|
||
instruction: review-cqrs-es
|
||
output_contracts:
|
||
report:
|
||
- name: cqrs-es-review.md
|
||
format: cqrs-es-review
|
||
rules:
|
||
- condition: approved
|
||
- condition: needs_fix
|
||
|
||
- name: security-review
|
||
edit: false
|
||
persona: security-reviewer
|
||
policy: review
|
||
knowledge: security
|
||
provider_options:
|
||
claude:
|
||
allowed_tools:
|
||
- Read
|
||
- Glob
|
||
- Grep
|
||
- WebSearch
|
||
- WebFetch
|
||
instruction: review-security
|
||
output_contracts:
|
||
report:
|
||
- name: security-review.md
|
||
format: security-review
|
||
rules:
|
||
- condition: approved
|
||
- condition: needs_fix
|
||
|
||
- name: qa-review
|
||
edit: false
|
||
persona: qa-reviewer
|
||
policy:
|
||
- review
|
||
- qa
|
||
provider_options:
|
||
claude:
|
||
allowed_tools:
|
||
- Read
|
||
- Glob
|
||
- Grep
|
||
- WebSearch
|
||
- WebFetch
|
||
instruction: review-qa
|
||
output_contracts:
|
||
report:
|
||
- name: qa-review.md
|
||
format: qa-review
|
||
rules:
|
||
- condition: approved
|
||
- condition: needs_fix
|
||
|
||
rules:
|
||
- condition: all("approved")
|
||
next: supervise
|
||
- condition: any("needs_fix")
|
||
next: supervise
|
||
|
||
- name: supervise
|
||
edit: false
|
||
persona: supervisor
|
||
policy: review
|
||
provider_options:
|
||
claude:
|
||
allowed_tools:
|
||
- Read
|
||
- Glob
|
||
- Grep
|
||
- WebSearch
|
||
- WebFetch
|
||
pass_previous_response: false
|
||
instruction: supervise
|
||
output_contracts:
|
||
report:
|
||
- name: supervisor-validation.md
|
||
format: supervisor-validation
|
||
- name: summary.md
|
||
format: summary
|
||
use_judge: false
|
||
rules:
|
||
- condition: レビュー統合完了
|
||
next: COMPLETE
|