Files
ycode/docs/升级发布说明-0.0.9-2026-10-21.md
T
xiaohan.yuanandClaude Code b55750a12b docs: record the 0.0.9 and 0.0.10 releases
Add the release notes for both published versions and the matching
handoff entries, so the release history is tracked in the repository.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-21 18:27:58 +08:00

35 lines
3.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# YCode 0.0.9 发布记录
日期:2026-10-21(Asia/Shanghai)。状态:已发布到 local001,线上 latest 为 0.0.9,生产应用隔离启动与完整下载校验通过。
## 源码与修复
- 基线:Gitea master `8fcfb69408716a98d4fd09bd34912048ba419891`。
- `npm ci --legacy-peer-deps --no-audit --no-fund` 补齐锁定依赖,包括 `7zip-bin@5.2.0`;没有升级依赖。
- `scripts/prepare-runtime-bundle.mjs`:解压目录重命名遇到 Windows `EPERM`、`EACCES`、`EBUSY` 时最多尝试 10 次,累计退避最多 4.5 秒,其他错误立即抛出;保留官方归档与文件树哈希校验。
- `scripts/smoke-runtime-bundle.mjs`:修正 cmd.exe 参数重复转义,并禁止 Python 冒烟测试生成字节码缓存,确保验证前后资源哈希不变。
- 项目版本从 0.0.8 升为 0.0.9。上述修复与版本修改尚未 Git 提交,因此产物不是纯提交构建。
- 本次包含内置 Node/Python/Git 及其设置、思考阅读跟随、上下文快照和下一条消息权限设置;具体产品验收边界沿用各功能交付文档。
## 产物
- 安装包:`release/publish/0.0.9/YCode-0.0.9-Setup-x64.exe`。
- 大小:`401787927` 字节。
- SHA-256:`8deb1a1cac516f960996047cbb35b66404a93ea4c26a7410e0b003f230fe9d1d`。
- 下载:`http://192.168.10.6/ycode/releases/versions/0.0.9/YCode-0.0.9-Setup-x64.exe`。
- 签名清单:`release/publish/0.0.9/latest.json`,使用既有 Ed25519 密钥。安装包 Authenticode 为 `NotSigned`,清单签名不等于 Windows 代码签名。
## 已验证
- `npm test`、`npm run test:updates`、`npm run test:release`(17 项)、`npm run test:runtime-bundle`(4 项)通过。
- 实际 `runtimes:prepare`、`runtimes:smoke` 通过。Node 24.22.0、npm/npx 11.19.1、Python 3.14.8、pip 26.2.1、venv、Git 2.56.0.windows.2 和 Bash 在 Windows x64 执行通过,含中文/空格临时目录;测试后资源完整性不变。
- Node 1992、Python 1377、Git 9614 个文件的锁定树哈希通过,包内资源复核也通过。
- `node scripts/ops.mjs package --json` 返回 `PASS / PACKAGED`,包含类型检查与完整生产构建。日志:`.git/ycode-ops/logs/1792573542649-80a3e6ee-5f84-4a2e-8785-509c938bb6c9.log`。
- 包内版本为 0.0.9;637 个 out 文件与本次构建逐一相同,更新公钥一致,Claude 运行时存在。报告:`.tmp/release-0.0.9-package-verification.json`。
- `npm run release -- --version 0.0.9 --resume` 完成部署预检、SSH 上传、HTTP 精确清单与签名校验,线上从 0.0.8 切换为 0.0.9。
- `node scripts/verify-updates-live.cjs --expected-version 0.0.9` 使用生产 EXE 和隔离 userData 返回 `up-to-date`;模拟旧版本通过正式更新后端完整下载,状态 `ready`,大小与 SHA-256 相符。安装器调用为 0,真实安装版文件/注册表指纹前后一致。报告:`.tmp/updates-live/2026-10-21T09-10-36-162Z/report.json`;已查看该目录的 `production-boot.png`。
## 验收边界
未执行真实 NSIS 安装、覆盖升级或重启用户安装版;未验证内置工具联网安装软件包、Git HTTPS 或全部运行时设置交互。构建、离线原生工具和更新下载通过不代表完整 WorkBuddy 1:1 验收。本次没有新增原版取证。