Conversation
This was referenced Aug 28, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的 / Why
按 Accepted vNext Electron + Node 架构基线,在保留 checkpoint 历史的单一 Draft PR 中交付共享 Node Core、兼容 CLI、重建 Web UI、现代 Electron 桌面端、跨运行时安全合同,以及 release-ready 打包/CI 工程。
本 PR 使用 ADR-0011 记录的单分支/单最终 PR 例外。它是代码审查与内部验收 PR,不是公开发布授权,也不授权合并。
关联基线 / Baseline
docs/VNEXT_ELECTRON_NODE_ARCHITECTURE_ZH.mddocs/migration/VNEXT_MIGRATION_EXECUTION_INDEX_ZH.mddocs/adr/0011-v1-single-branch-single-final-pr.md改动 / Changes
apps/*、packages/*workspace;根 npm 包和原 CLI bin 保持 Node>=16.20.2兼容。ci-gate与 release-false-only C10 evidence bundle。releaseAuthorizedfail-closed 门;安装前由 Main 再次向 Utility 查询 Watch 状态。外部 CLI/Web/Watch writer 的跨运行时维护租约仍列为发布阻断项。sync --json → backup → drift → restore --json。v0.4.1Automation Release 二进制现已在 hosted Windows runner 上真实产出 metadata v2 backup,并由当前 Node Restore 完成 synthetic round-trip;该证据不外推为 GUI/Electron/Beta/真实用户升级验证。Checkpoint review order
29c84ecC0 governance and baselinef008d0eC1 public API and structured errors13163f5C2 CLI JSON contract166f6ffC3 Plan/Apply and dual locksd6b0fefC4 workspace and Core clients8a53ce8C5 shared UI and Web migration6820858C6 Electron secure read-only runtime1ec27a5C7 Electron Sync/Switch1673147C8 Restore/Watch/Diagnostics/Update73256f3C9 release candidate gatesc1a59c9C10 evidence handoffc63a403C10 cross-runtime actual writers and surface-aware UI6d53196C10 candidate-role documentation and final evidence snapshoteb4e273C10 updater, Restore, Watch, Diagnostics and compatibility hardeningf6a7c85CI: bind packaged desktop CDP startupd0d3308C10: verify hosted historical Release backupsde2fab8C10: harden Electron cancellation lifecycle中间 hardening checkpoints 均保留在历史中。如未来获得合并授权,请使用 merge commit,不 squash,以保留阶段证据。当前禁止合并。
版本、候选角色与发布边界
Root/Desktop source manifests 当前统一为
1.0.0。Source headde2fab8032341cf52f0edc673197b95105e0880f的完整 PR merge-ref 门禁已通过;这只表示“经 CI 验证的源版本”,不构成 Beta、Stable、公开发布、默认更新入口或可下载产品声明。V1 候选在界面和文档中显示“Electron 新版主桌面端候选 / .NET 交接后 Legacy fallback 目标”。当前公开 Release 仍是 .NET
v0.4.1;Electron 尚未合入main,没有公开下载、签名、公证或生产更新通道。本 PR 未执行且不授权:
main验证 / Validation
Final required CI
de2fab8032341cf52f0edc673197b95105e0880fd26c648a7388df7742c79324c458a93641b91a7dc7ff85218a07a8e5f14132c582cad1239c52865e; evidence confirmscontainsEventBase=trueelectron-candidate-set: success;candidate version1.0.0-rc.209c10-evidence-bundle: success;outcomeci-verified-not-releasec60dee9ef87835a1e4aaeb70da6bf56dca505b45e56c84cfee9e1407a7c36c80016de373727e2d36db939f91635af5d5e839376dc138fa5823c419beea3e85a5C10 assertions 全部通过:linear checkpoint chain、evidence hashes、source/base binding、13 类 required jobs、four-target candidate completeness、candidate commit identity、正式历史 Release backup、release unauthorized policy 与 redaction scan。Bundle 明确记录
releaseAuthorized/tag/npm/githubRelease/signed/notarized/updateMetadata/crossVersionUpgrade=false。正式历史 Release 证据固定到
v0.4.1Release ID366935386、tag object1971fd52c8b9f9e24835dd2b4719137e73b36d77、commit75f45756cf732333e7c52f45c8cd1b183291a029、Automation ZIP SHA-2566a8266a38567c56f9c8bb2662a84ac5a7b739c837a92cc4be0f4fdef76058616与 EXE SHA-256e1ed5a75018833ecc80cd2da90b185c9573efcf4d07e13baef2c206fb6b70c64。测试仅使用临时 synthetic Home/SQLite/auth canary;EXE 为NotSigned,并不构成签名或生产升级证据。前一轮 run
33150180709保留了可审计失败:Windows Electron 的 cancel-before-backup 和一个 Utility crash 场景分别耗尽 90/45 秒,而 hosted formal Release fixture 已成功。de2fab8没有用 rerun 或放宽 timeout 掩盖失败,而是增加取消确认的单飞指数退避、operationId 建立后的再次确认,以及 test-only crash pending 的同步 settle;新的完整 run33152377789通过 26/26。Local pre-push evidence
npm test: 378/378 passed。dotnet test CodexProviderSync.sln --configuration Release --no-restore: 417 passed,1 environment skip(真实 WSL)。CPS_DESKTOP_WINDOW_DISPLAY=hidden,没有占用主屏。auth.json、凭据、消息正文或用户数据库。Draft blockers / 尚未授权或尚未闭合
maincommit;若以后获准合并,必须在最终mainSHA 上重跑 required CI 与 C10 bundle。ext4.vhdx,不得把明确 Skip 当作通过。检查清单 / Checklist
1.0.0在当前 head 上通过 required CIv0.4.1Automation backup → 当前 Node Restore 证据成功ci-gate成功mainSHA 重跑证据