chore(templates): add issue forms and PR template

This commit is contained in:
Devid HW
2026-08-25 01:52:17 +07:00
parent 6a54b2f54a
commit 941be795c1
4 changed files with 120 additions and 0 deletions
+71
View File
@@ -0,0 +1,71 @@
name: Bug Report
description: Report a problem with mt5-quant (backtest, compile, analytics, MCP tools)
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report a bug. Please keep answers concise — link gists for very long logs.
- type: textarea
id: description
attributes:
label: Description
description: A clear, one-paragraph summary of the bug.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Steps to Reproduce
description: Include the MT5 command or MCP tool called, with its arguments (and EA/.set inputs if relevant).
placeholder: |
1. Call tool `run_backtest` with expert=..., symbol=XAUUSDc, from_date=...
2. Observe ...
validations:
required: true
- type: textarea
id: expected_vs_actual
attributes:
label: Expected vs Actual
description: What did you expect to happen, and what actually happened?
validations:
required: true
- type: dropdown
id: os
attributes:
label: OS
options:
- macOS (Apple Silicon)
- macOS (Intel)
- Linux
validations:
required: true
- type: dropdown
id: wine_setup
attributes:
label: Wine / CrossOver setup
options:
- CrossOver (macOS)
- MetaTrader 5.app bundled Wine (macOS)
- System Wine on Linux (Xvfb headless)
- Other / not sure
validations:
required: true
- type: input
id: mt5_build
attributes:
label: MT5 terminal build
description: e.g. 4885 (Help → About in MetaTrader 5)
- type: textarea
id: logs
attributes:
label: Relevant logs
description: Tester journal, MT5 logs, or MCP server output (wrap in code fences).
render: text
+1
View File
@@ -0,0 +1 @@
blank_issues_enabled: false
@@ -0,0 +1,30 @@
name: Feature Request
description: Suggest an idea or improvement for mt5-quant
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for suggesting a feature. Start with the problem — the solution can be discussed from there.
- type: textarea
id: problem
attributes:
label: Problem Statement
description: What are you trying to do, and what is missing or painful today? Name the MCP tool(s) involved, if any.
validations:
required: true
- type: textarea
id: proposed_solution
attributes:
label: Proposed Solution
description: What would you like to happen? Include rough tool names/arguments if it affects the MCP surface.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives Considered
description: Other approaches, workarounds you've tried, or existing tools that almost fit.
+18
View File
@@ -0,0 +1,18 @@
## What & Why
<!-- Summarize the change and why it is needed. Link related issues. -->
## How Tested
- [ ] `cargo test` passes
- [ ] `cargo clippy --all-targets -- -D warnings` passes clean
- [ ] `cargo fmt --all -- --check` passes
- [ ] Verified against MT5/Wine locally (only if compile/backtest behavior changed)
## MCP Tool Impact
- [ ] No tool schema changes (if schemas changed, list affected tools below)
- [ ] Existing tool outputs unchanged (no breaking changes)
- [ ] Any new tool wired into definitions, handler, and dispatch table
<!-- Affected MCP tools: -->