textmachine/backend/internal/pipeline/testdata/golden/pipeline.yaml

12 lines
782 B
YAML

# Golden-fixture pipeline: C1 draft→edit with a single-hop escalation on the draft and the
# output-sanitizer gate ON (D28.2 fixture expansion — pins the FlagSanitizerDefect path in ch6).
core: C1
version: 1
defaults: { max_output_ratio: 2.0, min_max_tokens: 512 }
retries: { regenerate_before_escalate: 1 }
context: { glossary_injection: selective, glossary_token_budget: 800 }
gates: { sanitizer: { enabled: true } }
escalation: { budget_usd: 0.5 }
stages:
- { name: draft, role: translator, model: fake-model, prompt: prompts/translator.md, prompt_version: v-golden, temperature: 0.3, reasoning: "off", escalate_to: fake-fallback }
- { name: edit, role: editor, model: fake-model, prompt: prompts/editor.md, prompt_version: v-golden, temperature: 0.4, reasoning: "off" }