Skip to content

Commit 97eca3d

Browse files
margropclaude
andcommitted
docs: AGENTS 补充 Windows 签名约定
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 08fe962 commit 97eca3d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ bash scripts/ci.sh # 完整 CI(要求 Node.js 22 及以上,含生
105105
- 向 GitHub 推送前展示 `git status` 与拟推送的 `git diff`,经用户确认后再执行 `git push`(包括分支、标签和历史重写)。本地 `git add` / `git commit` 及推送 Gitea 无需单独确认。
106106
- 用户在需求中已明确要求提交、推送或发布时,视为已确认,直接执行,不再二次确认;正式版标签仍需用户明确要求创建。
107107
- 发布版本默认打预览版标签 `v年.月.日-n`(如 `v2026.10.22-1`,`n` 为当天序号,月日不补零),推送前确认对应提交的 GitHub CI(含 E2E)已通过;正式版标签 `v年.月.日` 必须由用户确认后才能创建和推送。详见 `doc/release-guide.md`。
108+
- Windows 安装包签名使用 SignPath(配置见 `doc/WINDOWS_SIGNING.md`)。调试只用测试证书:手动运行 Packages 并选 `windows_signing=test`,签名包不进入 Release。生产签名由 `SIGNPATH_ENABLED` 开启,每次需维护者在 SignPath 人工批准,不得改为自动批准或在签名失败时回退为未签名附件。GitHub Secret 只存 CI 用户(Submitter)的 Token,不存管理员 Token。
108109
- 提交信息格式:`<type>: <中文描述>`,type 取 feat / fix / docs / style / refactor / test / chore / ci。
109110
- 提交信息中不添加 AI 署名。
110111
- 按功能拆分提交:一次任务包含多个相互独立的需求时,每个需求单独提交;同一需求涉及多个可独立交付的部分(如接入多个提供商)时也逐个提交。每个提交都应能独立通过测试,并包含该功能对应的测试与文档改动;无关的格式化、重构不要混入功能提交。

0 commit comments

Comments
 (0)