## 概要
仕様ドキュメント `/Users/m_naruse/work/git/takt/task_planning/output-contracts-and-quality-gates.md` に基づき、YAML構造の変更を実装する。
---
## タスク一覧
### 【高】トップレベル構造の変更
- 現在の `output_contracts` を `report_formats` にリネーム
- レポートテンプレート定義として機能させる
### 【高】Movement内の output_contracts 構造変更
- 各 movement の `output_contracts` が直接レポート配列を持つ構造に変更
- `output_contracts.report` の `report` キーを廃止
**変更後の構造:**
```yaml
report_formats: # トップレベル(テンプレート定義)
plan: ...
movements:
- name: plan
output_contracts: # 直接配列(reportキー不要)
- name: 00-plan.md
format: plan
```
### 【中】quality_gates の実装
- エージェントへの通達として機能させる(自動検証は将来実装)
- Movement完了時にエージェントが参照できる形式で定義
---
## 制約(ユーザー明示)
- 後方互換性は不要
---
## 確認方法
- 既存のピース定義YAMLが新構造でパースできること
- テストが通ること
40 lines
863 B
YAML
40 lines
863 B
YAML
name: passthrough
|
|
description: Single-agent thin wrapper. Pass task directly to coder as-is.
|
|
max_iterations: 10
|
|
policies:
|
|
coding: ../policies/coding.md
|
|
testing: ../policies/testing.md
|
|
personas:
|
|
coder: ../personas/coder.md
|
|
initial_movement: execute
|
|
movements:
|
|
- name: execute
|
|
edit: true
|
|
persona: coder
|
|
policy:
|
|
- coding
|
|
- testing
|
|
allowed_tools:
|
|
- Read
|
|
- Glob
|
|
- Grep
|
|
- Edit
|
|
- Write
|
|
- Bash
|
|
- WebSearch
|
|
- WebFetch
|
|
permission_mode: edit
|
|
rules:
|
|
- condition: Task complete
|
|
next: COMPLETE
|
|
- condition: Cannot proceed
|
|
next: ABORT
|
|
- condition: User input required
|
|
next: execute
|
|
requires_user_input: true
|
|
interactive_only: true
|
|
instruction_template: |
|
|
Do the task.
|
|
output_contracts:
|
|
- Summary: summary.md
|