name: Bug report 🐛
description: Report a bug or unexpected behavior.
title: "[Bug] "
labels: ['status: needs check']
body:
  - type: markdown
    attributes:
      value: |
        > 💡 English is recommended so global developers can help. 推荐使用英文提交，谢谢 ❤️
  - type: checkboxes
    attributes:
      label: Self check
      options:
        - label: I'm on the latest version and searched [existing issues](https://github.com/zhayujie/CowAgent/issues) (incl. closed) — no duplicate.
          required: true
  - type: textarea
    attributes:
      label: Environment
      description: "Version (`cow status`), OS, Python version, install method, model & channel."
      placeholder: |
        Version: v1.2.0
        OS: macOS / Linux / Windows / Docker
        Python: 3.11
        Install: installer / Docker / source
        Model & channel: deepseek-v4-flash, web
    validations:
      required: true
  - type: textarea
    attributes:
      label: What happened?
      description: "Steps to reproduce, what you expected, and what happened instead. Screenshots welcome."
      placeholder: |
        1. ...
        2. ...

        Expected: ...
        Actual: ...
    validations:
      required: true
  - type: textarea
    attributes:
      label: Logs
      description: "Relevant logs from `run.log` (set `\"debug\": true` for more detail). ⚠️ Redact your API keys."
      render: shell
    validations:
      required: false
