takt/e2e/fixtures/pieces/mock-max-iter.yaml
nrslib 2460dbdf61 refactor(output-contracts): unify OutputContractEntry to item format with use_judge and move runtime dir under .takt
- Remove OutputContractLabelPath (label:path format), unify to OutputContractItem only
- Add required format field and use_judge flag to output contracts
- Add getJudgmentReportFiles() to filter reports eligible for Phase 3 status judgment
- Add supervisor-validation output contract, remove review-summary
- Enhance output contracts with finding_id tracking (new/persists/resolved sections)
- Move runtime environment directory from .runtime to .takt/.runtime
- Update all builtin pieces, e2e fixtures, and tests
2026-02-15 11:17:55 +09:00

30 lines
673 B
YAML

name: e2e-mock-max-iter
description: Piece with max_movements=2 that loops between two steps
piece_config:
provider_options:
codex:
network_access: true
opencode:
network_access: true
max_movements: 2
initial_movement: step-a
movements:
- name: step-a
edit: true
persona: ../agents/test-coder.md
required_permission_mode: edit
instruction_template: |
{task}
rules:
- condition: Done
next: step-b
- name: step-b
edit: true
persona: ../agents/test-coder.md
required_permission_mode: edit
instruction_template: |
Continue the task.
rules:
- condition: Done
next: step-a