18 Commits
Author SHA1 Message Date
Neptrue_Lin ad29d7eb04 Issue template refinement 2026-10-01 09:38:33 +00:00
fanlusky a7779d2b05 refactor(engine): 将 engine 从 submodule 内嵌为仓内一等组件
`vendor/MetasequoiaImeEngine` submodule 改为 `engine/` 目录,导入的是
product-lock.json 原本钉住的提交 c810d201,逐文件核对过 blob,因此这是一次
搬迁而不是引擎升级。引擎自己的嵌套 submodule(googlepinyinime-rev、utfcpp、
miniaudio)按各自 gitlink 一并展开,来源与提交见 engine/UPSTREAM.md。

Windows 专门化裁掉了不属于本产品的部分:whisper.cpp 与本地推理 provider、
macOS 示例宿主、整个 dictionary/ 建库流水线、上游 CI 与 release-please 配置。
词库仍按 product-lock.json 在构建时取发布产物。

引擎不再进 product-lock.json:没有 gitlink 就没有可比对的东西,锁里写一个上游
commit 等于宣称这棵树仍等于上游,而第一个 Windows 专门化改动落地时这句话就假了。
verify-contracts / verify-checkout 随之移除,verify-published 保留。

CI 与工具链:引擎源码并入根 scripts/format.sh(删掉引擎自己的那份,避免两套排除
列表分叉);引擎 voice.yml 里的 silero_vad.onnx 摘要校验移到本仓 lock job;
engine-bump-triage 工作流与其测试删除;gitsubmodule 的 dependabot 频率由 daily
改为 monthly。

README、README.en、AGENTS.md、CONTRIBUTING、docs/product-release.md 及各子目录
文档同步说明新的位置与边界。
2026-09-12 03:40:48 +08:00
Neptrue_Lin 2d304168b5 Revise feature request template
Updated feature request template for clarity.
2026-09-09 14:53:19 +08:00
Neptrue_Lin 11c6b88e51 Revise bug report template
Updated the bug report template for clarity.
2026-09-09 14:50:23 +08:00
Evan 99ab7804ef docs(.github): 为新用户补充反馈模板示例与填写提示 (#263) 2026-09-08 07:42:07 +00:00
Evan Hu 88720a80df fix(ci): 修复引擎 bump 自动合并的守卫,并补回 Issue 模板的脱敏警告
engine-bump-triage.yml 里 `&& steps.lock.outputs.locked == 'yes'` 被写进了 HEAD 这个环境变量的值,而不是步骤的 if:。它在那个位置根本不是条件:不论契约锁校验通过与否,自动合并都会执行;步骤随后发出的评论还会把 commit 后面跟上字面量 `&& steps.lock.outputs.locked == 'yes'` 一起打印出来。因为没有任何东西失败,这个问题没有暴露过。

(实际风险有限:Product inputs 是必需检查,未审的 bump 不会真的被放行。但这条守卫本身写了等于没写。)

补 tests/test_engine_bump_triage.py 三个断言:自动合并的条件必须同时包含判定和锁;任何步骤的 env 值里都不许再出现条件片段;评论用的 BASE/HEAD 必须只是 range 输出本身。第二条是通用的,同类错误以后写在别的步骤上也会被抓到。

同时补回本仓 bug_report.yml 相对组织模板丢掉的两项:日志字段的「不要粘贴真实输入内容、用户词库、API Key 或任何凭据」加粗警告,以及「这不是安全漏洞」的必选确认项。全组织的 Issue 流量几乎都在这个仓库,恰恰是最需要这两条的地方——输入法的日志天然贴近用户真实输入。
2026-09-06 18:15:51 +09:00
Evan b65063a155 Merge pull request #183 from metasequoiaime/chore/oss-hardening
chore: harden the repository against mainstream OSS standards
2026-09-06 15:21:25 +09:00
Neptrue_Lin 3a1a56633c Revise feature request template
Updated options for feature request template to improve clarity.
2026-09-06 12:32:14 +08:00
Evan 24adac667a chore(windows): 截图自托管,issue chooser 补安全上报入口
8 张 README 截图从 i.imgur.com 迁到 docs/images/:大陆网络直连不了 imgur,等于对最核心的受众
隐藏了产品截图,同时把门面绑在随时可能失效的第三方图床上。

issue chooser 此前三条 contact link 没有安全条目,而 blank issue 是关掉的——发现漏洞的人看到的
唯一路径就是提公开 bug,恰好是 SECURITY.md 明令禁止的。本仓 private vulnerability reporting 已启用,
直接指向 advisory 表单。文档链接改指 msime.app/docs。
2026-09-06 12:11:35 +09:00
Neptrue_Lin 54aa158991 Refine bug report template labels and descriptions
Updated labels and descriptions in the bug report template to clarify the problem and actual behavior sections.
2026-09-06 10:12:47 +08:00
Neptrue_Lin cdbc6a7710 Change bug type from 'bug' to 'Bug' in template 2026-09-06 10:09:15 +08:00
Neptrue_Lin 1538b2b33a Revise problem label to include motivation
Updated the label for the problem section to include motivation.
2026-09-06 10:08:11 +08:00
Neptrue_Lin b5c3355ece Refine bug report template fields and options
Updated bug report template with improved labels and descriptions.
2026-09-06 10:02:19 +08:00
Evan Hu b2d736cd79 fix(build): finish local tooling migration to the monorepo 2026-09-06 09:02:13 +09:00
Evan Hu 3329dabbae docs(contributing): name the consolidated dictionary component 2026-09-06 04:47:38 +09:00
Evan Hu b56bb8d3ad docs: record that the helpcodes and the dictionary source moved into the engine
MSIME-HelpCode is no longer a product input and the dictionary now ships from MSIME-Engine, so the readme, the agent notes, the release documentation and the issue templates stop naming a repository the product does not consume.
2026-09-06 04:13:48 +09:00
Evan Hu e90ac18723 fix(ci): take the release scripts from the default branch, not the built commit
The TSF jobs failed with:

    The term './scripts/ci/check-tsf-dll.ps1' is not recognized as a name of a cmdlet, function,
    script file, or executable program.

Those jobs check the product out at the draft release's target commit, and then ran scripts/ci
from that checkout. scripts/ci arrived later than the commit v0.0.12 points at, so the directory
simply was not there. The same trap applies to every script the packaging job runs: a workflow
change can always outrun the scripts present at the tag being built, and it means the commit being
released could substitute its own release automation.

Each job that runs a script now checks the automation out separately from the default branch, the
way MSIME-Apple's release workflow does. The product still comes from the release commit; only the
automation is pinned to the branch the workflow itself came from.

Also here, since they are all .github correctness:

The UiHtml checkout named metasequoiaime/MetasequoiaImeUiHtml, which now resolves only through the
rename redirect to MSIME-UiHtml. A release pipeline should not depend on that; if anyone ever
creates a repository at the old name the redirect stops. The MetasequoiaIme* paths elsewhere in the
file are staging directory names the installer scripts require, and a comment now says so, so they
do not get "fixed" later.

The issue templates offered components under the pre-rename names, and the QQ group contact link
pointed at the old repository URL while the documentation link pointed at MetasequoiaIME, which
redirects to MSIME-Docs.

ISSUE_TEMPLATE/config.yml was not valid YAML: the QQ group about text contains a bare "QQ Group: ",
and a colon followed by a space cannot appear in a plain scalar. It predates this change; quoting
the value fixes it.

Two checkout pins dependabot could not reach, because the steps did not exist on main when it ran,
are brought up to the version the rest of the file uses.
2026-09-05 17:47:13 +09:00
fanlusky c289551643 Add GitHub issue templates for bugs and feature requests. 2026-07-23 11:41:57 +08:00