From 90a892988179cce3fd2d1ede4a08825fe3a42454 Mon Sep 17 00:00:00 2001 From: weishu Date: Sat, 3 Jan 2026 10:55:43 +0800 Subject: [PATCH] chore: Add github issue template --- .github/ISSUE_TEMPLATE/bug-report.yml | 54 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature-request.yml | 25 ++++++++++ 2 files changed, 79 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.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 00000000..5c48efaa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,54 @@ +name: Bug Report +description: Report an issue that should be fixed +labels: + - bug +body: + - type: markdown + attributes: + value: | + Thank you for submitting a bug report! It helps make HAPI better for everyone. + + If you need help or support using HAPI, and are not reporting a bug, please post on [HAPI/discussions](https://github.com/tiann/hapi/discussions), where you can ask questions or engage with others on ideas for how to improve HAPI. + + You are already an engineer who uses coding agents; you should know how to describe issues clearly. Issues that lack a clear description will be closed. + + Please try to include as much information as possible. + + - type: input + id: version + attributes: + label: What version of HAPI is running? + description: Copy the output of `hapi --version` + validations: + required: true + - type: input + id: platform + attributes: + label: What platform is your computer? + description: | + For MacOS and Linux: copy the output of `uname -mprs` + For Windows: copy the output of `"$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" })"` in the PowerShell console + - type: textarea + id: actual + attributes: + label: What issue are you seeing? + description: Please include the full error messages and prompts with PII redacted. If possible, please provide text instead of a screenshot. + validations: + required: true + - type: textarea + id: steps + attributes: + label: What steps can reproduce the bug? + description: Explain the bug and provide a code snippet that can reproduce it. Please include session id, token limit usage, context window usage if applicable. + validations: + required: true + - type: textarea + id: expected + attributes: + label: What is the expected behavior? + description: If possible, please provide text instead of a screenshot. + - type: textarea + id: notes + attributes: + label: Additional information + description: Is there anything else you think we should know? diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 00000000..5723ab1a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,25 @@ +name: Feature Request +description: Propose a new feature for Codex +labels: + - enhancement +body: + - type: markdown + attributes: + value: | + Is HAPI missing a feature that you'd like to see? Feel free to propose it here. + + Before you submit a feature: + 1. Search existing issues for similar features. If you find one, 👍 it rather than opening a new one. + 2. The HAPI team will try to balance the varying needs of the community when prioritizing or rejecting new features. Not all features will be accepted. + + - type: textarea + id: feature + attributes: + label: What feature would you like to see? + validations: + required: true + - type: textarea + id: notes + attributes: + label: Additional information + description: Is there anything else you think we should know?