takt/e2e/fixtures/pieces/structured-output.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

23 lines
579 B
YAML

name: e2e-structured-output
description: E2E piece to verify structured output rule matching
piece_config:
provider_options:
codex:
network_access: true
opencode:
network_access: true
max_movements: 5
movements:
- name: execute
edit: false
persona: ../agents/test-coder.md
required_permission_mode: readonly
instruction_template: |
Reply with exactly: "Task completed successfully."
Do not do anything else.
rules:
- condition: Task completed
next: COMPLETE
- condition: Task failed
next: ABORT