diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..ff56c0d7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,66 @@ +name: 🐛 Bug 报告 / Bug Report +description: 功能异常、崩溃、数据错误 — Create a bug report +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + 感谢反馈!写之前先搜一下 [已有 issue](https://github.com/slow-stack/mneme/issues?q=is%3Aissue),避免重复。 + 请尽量填写完整——环境信息不全的 bug 大概率要多花一个来回才能定位。 + / Thanks for reporting! Please search existing issues first. Complete env info makes debugging much faster. + + - type: textarea + id: observed + attributes: + label: 现象 / What happened + description: 具体表现是什么?与预期不符在哪?/ What did you see vs. what did you expect? + validations: + required: true + + - type: textarea + id: repro + attributes: + label: 复现步骤 / Steps to reproduce + description: | + 最小复现路径,例如:开了什么开关 → 做了什么操作 → 看到什么。 + 若涉及 LLM 行为(巩固/蒸馏/实体抽取失败),附 `llm_audit_logs` 对应行的 error_message 更好。 + / Minimal repro path. For LLM-pipeline failures, the error_message from llm_audit_logs helps a lot. + validations: + required: true + + - type: textarea + id: expected + attributes: + label: 期望行为 / Expected behavior + validations: + required: false + + - type: textarea + id: env + attributes: + label: 环境 / Environment + value: | + - dsh-mneme 版本 / plugin version: + - DSH 桌面端版本与通道(stable / Beta / NEXT)/ DSH version & channel: + - 操作系统 / OS: + - Node 版本 / Node version: + - 安装方式 / install method (npm / dsh-market): + - 相关路由模型(巩固/蒸馏/实体抽取用的是什么模型)/ relevant model routes: + validations: + required: true + + - type: textarea + id: logs + attributes: + label: 日志 / Logs + description: 控制台报错、dream_runs / llm_audit_logs 记录片段。注意脱敏,不要贴 token 与记忆正文。 + validations: + required: false + + - type: checkboxes + id: disclosure + attributes: + label: 披露 / Disclosure + options: + - label: 本报告由 AI 辅助整理(人工审核后提交)/ Drafted with AI assistance, reviewed by a human + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..220431c8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: 💬 Questions & Ideas(问答与方向讨论) + url: https://github.com/slow-stack/mneme/discussions + about: 使用问题(如「如何临时关闭记忆」)、配置咨询、方向性想法请发 Discussions 的 Q&A / Ideas 分类 — usage questions and direction-level ideas go to Discussions + - name: 🔒 Security vulnerabilities(安全漏洞) + url: https://github.com/slow-stack/mneme/security/advisories/new + about: 请勿公开发布安全漏洞,走 GitHub 私密安全通告 — do not open public issues for security reports diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 00000000..d4035fd2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,49 @@ +name: ✨ Feature 提案 / Feature Request +description: 新功能或行为改进 — Propose a new feature or behavior change +labels: ["feature"] +body: + - type: markdown + attributes: + value: | + 写之前先搜 [已有 issue](https://github.com/slow-stack/mneme/issues?q=is%3Aissue) 与 [Discussions](https://github.com/slow-stack/mneme/discussions)——方向征询类的话题更适合先发 Discussion 聊出共识再立项。 + / Search existing issues & Discussions first. Direction-level ideas fit a Discussion better. + + - type: textarea + id: problem + attributes: + label: 要解决的问题 / Problem + description: 先说场景与痛点,再提方案——问题定义比方案更重要。 + / Describe the scenario and pain point first; the problem matters more than the solution. + validations: + required: true + + - type: textarea + id: proposal + attributes: + label: 期望的方案 / Proposed solution + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: 考虑过的替代方案 / Alternatives considered + validations: + required: false + + - type: checkboxes + id: gates + attributes: + label: 实现口径确认 / Implementation gates (维护者会逐项核对) + options: + - label: 新行为开关应 opt-in 默认关,注册进 settings 白名单 / new toggles opt-in by default + settings whitelist + - label: 涉及 schema 变更时需配幂等迁移 / idempotent migration for schema changes + - label: 接受带回归测试的验收线 / acceptance includes regression tests + + - type: checkboxes + id: disclosure + attributes: + label: 披露 / Disclosure + options: + - label: 本提案由 AI 辅助整理(人工审核后提交)/ Drafted with AI assistance, reviewed by a human + required: false