version: 1

defaults:
  profile: medium
  task_types:
    source_discovery: dr_searcher
    evidence_packet: dr_analyst
    chapter_assembly: dr_analyst
    counter_verification: dr_verifier
    phase3_review: dr_chief_editor
    final_editorial: dr_editor_in_chief
    report_render: dr_reporter
  script_models:
    # Legacy compatibility only. v0.20 defaults to Chinese-native finalization.
    translate: anthropic/claude-sonnet-4.6
    glossary: anthropic/claude-haiku-4.5
    polish: anthropic/claude-sonnet-4.6

profiles:
  simple:
    description: Lower cost exploration profile for quick scoping.
    roles:
      dr_plan: zenmux/qwen/qwen3.6-plus
      dr_pm: zenmux/qwen/qwen3.6-plus
      dr_searcher: zenmux-anthropic/claude-haiku-4-5
      dr_analyst: zenmux/deepseek/deepseek-v3.2
      dr_verifier: zenmux/minimax/minimax-m2.7
      dr_chief_editor: zenmux/google/gemini-2.5-pro
      dr_editor_in_chief: zenmux-anthropic/claude-sonnet-4-6
      dr_reporter: zenmux-anthropic/claude-sonnet-4-6
      translate: anthropic/claude-haiku-4.5
      glossary: anthropic/claude-haiku-4.5
      polish: anthropic/claude-haiku-4.5

  medium:
    description: Recommended default profile for most production runs.
    roles:
      dr_plan: zenmux-anthropic/claude-opus-4-7
      dr_pm: zenmux-anthropic/claude-sonnet-4-6
      dr_searcher: zenmux-anthropic/claude-haiku-4-5
      dr_analyst: zenmux-anthropic/claude-sonnet-4-6
      dr_verifier: zenmux/openai/gpt-5.4-mini
      dr_chief_editor: zenmux/google/gemini-3.1-pro-preview
      dr_editor_in_chief: zenmux-anthropic/claude-opus-4-7
      dr_reporter: zenmux-anthropic/claude-sonnet-4-6
      translate: anthropic/claude-sonnet-4.6
      glossary: anthropic/claude-haiku-4.5
      polish: anthropic/claude-sonnet-4.6

  premium:
    description: Highest quality profile for formal client-facing deliverables.
    roles:
      dr_plan: zenmux-anthropic/claude-opus-4-7
      dr_pm: zenmux-anthropic/claude-sonnet-4-6
      dr_searcher: zenmux-anthropic/claude-haiku-4-5
      dr_analyst: zenmux-anthropic/claude-sonnet-4-6
      dr_verifier: zenmux/openai/gpt-5.4
      dr_chief_editor: zenmux/google/gemini-3.1-pro-preview
      dr_editor_in_chief: zenmux-anthropic/claude-opus-4-7
      dr_reporter: zenmux-anthropic/claude-sonnet-4-6
      translate: anthropic/claude-sonnet-4.6
      glossary: anthropic/claude-haiku-4.5
      polish: anthropic/claude-sonnet-4.6

  cn_heavy:
    description: China-market-heavy profile with stronger CN-side verification.
    roles:
      dr_plan: zenmux-anthropic/claude-opus-4-7
      dr_pm: zenmux-anthropic/claude-sonnet-4-6
      dr_searcher: zenmux-anthropic/claude-haiku-4-5
      dr_analyst: zenmux-anthropic/claude-sonnet-4-6
      dr_verifier: zenmux/qwen/qwen3.6-plus
      dr_chief_editor: zenmux/google/gemini-3.1-pro-preview
      dr_editor_in_chief: zenmux-anthropic/claude-opus-4-7
      dr_reporter: zenmux-anthropic/claude-sonnet-4-6
      translate: anthropic/claude-sonnet-4.6
      glossary: anthropic/claude-haiku-4.5
      polish: anthropic/claude-sonnet-4.6

  codex_native:
    description: Deprecated/misleading name. These are OpenAI models through the external Python API client, not Codex App built-in models.
    roles:
      dr_plan: gpt-5.4
      dr_pm: gpt-5.4
      dr_searcher: gpt-5.4-mini
      dr_analyst: gpt-5.4
      dr_verifier: gpt-5.4
      dr_chief_editor: gpt-5.4
      dr_editor_in_chief: gpt-5.4
      dr_reporter: gpt-5.4-mini
      translate: anthropic/claude-sonnet-4.6
      glossary: anthropic/claude-haiku-4.5
      polish: anthropic/claude-sonnet-4.6
