Repository navigation
Closed as not planned
Labels
desktopDesktop client and Windows distributionDesktop client and Windows distributionenhancementNew feature or requestNew feature or requestgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions codehelp wantedExtra attention is neededExtra attention is neededsecuritySecurity boundary or high-risk capabilitySecurity boundary or high-risk capability高难度
Description
Parent: #37
问题概述 / Summary
Prayu 尚无正式安装包、代码签名和可验证升级/卸载流程。需要完成 per-user MSIX(或经 ADR 论证的等价方案)、证书管理、CI 签名、数据保留与回滚策略。
当前基线 / Current baseline
- Desktop 目前是 unsigned portable preview。
- 仓库不应保存私钥或测试 API key。
- 注册表、文件关联、自动启动和后台服务不是第一版默认需求。
范围 / Scope
- 通过 ADR 确定 MSIX identity、per-user 安装范围、版本与升级规则。
- 建立图标、manifest、WebView2 prerequisite、安装目录和用户数据目录合同。
- 在受保护 CI 环境使用代码签名证书/硬件或托管签名,不导出私钥。
- 验证安装、同/升级、降级拒绝、repair、卸载、重装和用户数据保留/删除选择。
- 生成签名验证、certificate chain、artifact hash、source commit 和 provenance。
- Release 页面提供下载、签名校验、安装、升级、卸载和诊断说明。
- 保持 portable ZIP 作为明确区分的替代发布物。
非目标 / Non-goals
- 不默认增加系统服务、开机自启、文件关联、自定义 URL protocol 或 machine-wide 权限。
- 不做 Microsoft Store 发布或企业 MSI;可在后续单独规划。
- 不把签名私钥放入仓库、普通 CI secret 输出或开发机文件。
涉及目录 / Affected directories
cmd/cyberagent-desktop/internal/desktop/web/packaging/windows/scripts/.github/workflows/docs/README.md
依赖 / Dependencies
- 依赖 portable release metadata/SBOM 合同。
- 最终 release sign-off 依赖 Windows 实机矩阵。
验收条件 / Acceptance criteria
- MSIX identity/version/upgrade/data paths 有 ADR 与稳定 manifest。
- CI 签名密钥不可导出且日志不泄露证书 Secret。
- 安装、升级、降级拒绝、repair、卸载、重装矩阵在 Windows 10/11 通过。
- 默认卸载不会意外删除用户 Workspace/API 配置;删除数据必须单独明确确认。
- WebView2 缺失/不兼容时给出安全、可操作诊断。
- Authenticode/package signature、certificate chain、SHA-256 和 provenance 可由用户验证。
- SmartScreen/Defender、时间戳服务不可用和签名失败时发布 fail closed。
- GitHub Release 文档中英文完整,portable 与 installer 风险/用途区分清楚。
人工配合 / Human assistance
需要仓库所有者选择并配置正式代码签名方案、保护 CI Environment,并在真实 Windows 机器上验收安装生命周期。
Metadata
Metadata
Assignees
Labels
desktopDesktop client and Windows distributionDesktop client and Windows distributionenhancementNew feature or requestNew feature or requestgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions codehelp wantedExtra attention is neededExtra attention is neededsecuritySecurity boundary or high-risk capabilitySecurity boundary or high-risk capability高难度
Activity
Qiyuanqiii commentedon Aug 21, 2026
自签开发验证收尾 / Self-signed development closeout
按当前产品仍会改名、前端与 Store identity 尚未冻结的现实,本 issue 以“开发阶段 MSIX 生命周期已验证,生产信任范围延期”收口。正式公开签名与 Microsoft Store 发布已迁移到 #123;本关闭不声称自签证书满足公开 CA、SmartScreen 或正式 release sign-off。
本次实测
延期边界
以下原生产验收不以本 issue 完成论处,统一由 #123 在品牌与前端冻结后完成:
因此本 issue 以 superseded/not planned 关闭,而不是把未满足的生产签名检查框误标为完成。开发阶段的实现基线仍由已合并 PR #84 保留。