chore: Add github issue template

This commit is contained in:
weishu
2026-01-03 10:55:43 +08:00
parent 83fa0157b4
commit 90a8929881
2 changed files with 79 additions and 0 deletions
+54
View File
@@ -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?
@@ -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?