From b93dd124419c9aa09f41806d04d0589816cdfb3e Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 10 Nov 2026 05:44:26 +0800 Subject: [PATCH] github: bug and feature issue templates, with a known-issues link A bug report asks for the version, surface (GUI/TUI/CLI), OS, agent and provider, steps and the exact error, so a report can be reproduced without a round of questions. config.yml links open bug issues as the known-issues list, and Discord for questions. Asked for on X by AskarKerey (2119903378700403104). Run: the three files parse as YAML (python yaml.safe_load); the labels bug and enhancement exist. No code changes, nothing else to run. --- .github/ISSUE_TEMPLATE/bug_report.yml | 53 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 ++++ .github/ISSUE_TEMPLATE/feature_request.yml | 14 ++++++ 3 files changed, 75 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..1a8d82ecc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,53 @@ +name: Bug report +description: Something in magpie doesn't work as expected +labels: [bug] +body: + - type: input + id: version + attributes: + label: magpie version + description: Settings → About, or `magpie version`. + placeholder: v0.1.3471 + validations: + required: true + - type: dropdown + id: surface + attributes: + label: Where + options: [GUI, TUI, CLI, Gateway only] + validations: + required: true + - type: input + id: os + attributes: + label: OS + placeholder: macOS 26 / Windows 11 / Ubuntu 24.04 (WSL) + validations: + required: true + - type: input + id: setup + attributes: + label: Agent, provider and model + placeholder: Claude Code → Codex subscription → gpt-6.1 + - type: textarea + id: steps + attributes: + label: Steps to reproduce + placeholder: | + 1. + 2. + 3. + validations: + required: true + - type: textarea + id: expected + attributes: + label: What happened, and what you expected + validations: + required: true + - type: textarea + id: logs + attributes: + label: Error text or logs + description: Paste the exact error. Remove keys and tokens first. + render: text diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..94e69c740 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Known issues + url: https://github.com/yetone/magpie/issues?q=is%3Aissue+is%3Aopen+label%3Abug + about: Check whether it's already reported before filing. + - name: Discord + url: https://discord.gg/vGSnD3ZKQF + about: Questions and quick help. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 000000000..b0382f90c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,14 @@ +name: Feature request +description: Something magpie should do +labels: [enhancement] +body: + - type: textarea + id: want + attributes: + label: What you want to do + validations: + required: true + - type: textarea + id: now + attributes: + label: What you do today instead