From 22c80b2d9485c57e434abc85f91b0c98ce7add87 Mon Sep 17 00:00:00 2001 From: mesalogo Date: Sat, 29 Aug 2026 23:01:46 +0800 Subject: [PATCH] fix: align Linux Agent verifier regression MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Linux source validator still expected the full verifier's old payload mode message after entrypoint metadata checks moved ahead of the payload loop. The test now asserts the actual bounded entrypoint error returned by the optimized verifier. The unpublished desktop 0.11.9 notes move to 0.11.10. The Agent lock remains on the successfully published Agent 0.11.9, and the recovery release still has no LoongArch preview. Release note: GoodBuddy 0.11.10 延续已批准的 Host 更新修复;未发布的桌面 0.11.9 由新版本替代。 --- .../remote-host-and-goodbuddy-agent-design.md | 8 ++++---- package-lock.json | 4 ++-- package.json | 2 +- resources/release-notes.json | 6 +++--- src/agent-daemon/installed-bundle-verifier.test.ts | 4 +++- 5 files changed, 13 insertions(+), 11 deletions(-) diff --git a/docs/architecture/remote-host-and-goodbuddy-agent-design.md b/docs/architecture/remote-host-and-goodbuddy-agent-design.md index 2712ec29..feed8a66 100644 --- a/docs/architecture/remote-host-and-goodbuddy-agent-design.md +++ b/docs/architecture/remote-host-and-goodbuddy-agent-design.md @@ -13,8 +13,8 @@ Windows 到 Linux x64 的既有安装、 Main-only 模型桥、断线恢复、输出重放、同一 OpenCode Session 续接与终态清理已经在真实 Host 上完成 provider-free 验证。上一轮 Linux x64 验收使用 Agent `0.11.2-e2e.12` 与 OpenCode Runtime `1.18.9` 完成了一次有界真实模型工具调用;加入每 helper 随机 loopback -路径 capability 后,Agent `0.11.7` 已通过独立 workflow 发布 Linux x64/arm64 复合包和 -签名累计目录;当前源码准备 `0.11.9`,修复 Host 更新并消除重复 payload 验证。失败的 +路径 capability 后,Agent `0.11.9` 已通过独立 workflow 发布 Linux x64/arm64 复合包和 +签名累计目录;当前桌面源码准备 `0.11.10`,修复 Host 更新并消除重复 payload 验证。失败的 `agent-v0.11.3` 保持不可变且未发布。 ## 产品语义 @@ -245,8 +245,8 @@ Execute 不经过 Ask 的 bubblewrap profile: - 2026-08 的本地 fixture 完整验证 Linux x64 Agent `0.11.2-e2e.12`、Node `24.19.0` 和 Agent protocol `2.0`;当时没有 arm64 fixture,因此该记录不能作为当前独立发布 - 的双架构验收。Agent `0.11.7` 后续已由原生 workflow 发布并公开验证双架构工件; - 当前源码 lock 是修复候选 `0.11.9`。 + 的双架构验收。Agent `0.11.9` 后续已由原生 workflow 发布并公开验证双架构工件; + 当前源码 lock 固定为 `0.11.9`。 - 正常 Host 更新路径把 Linux x64 Host 的 Agent 更新为 `0.11.2-e2e.12`,并确认 OpenCode Runtime 已安装版本与所需版本均为 `1.18.9`。 - 一条新的 Ask 用户操作只提交一次。OpenCode 先在 build 模型轮次请求一个原生 diff --git a/package-lock.json b/package-lock.json index 39297f72..a3d54ec6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "goodbuddy", - "version": "0.11.9", + "version": "0.11.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "goodbuddy", - "version": "0.11.9", + "version": "0.11.10", "license": "0BSD", "dependencies": { "@agentclientprotocol/sdk": "0.25.1", diff --git a/package.json b/package.json index 69eba2a1..04e669ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "goodbuddy", - "version": "0.11.9", + "version": "0.11.10", "private": true, "description": "Secure desktop AI workspace with controlled Agent Runtimes", "desktopName": "GoodBuddy", diff --git a/resources/release-notes.json b/resources/release-notes.json index cc6fdf6e..b1572b96 100644 --- a/resources/release-notes.json +++ b/resources/release-notes.json @@ -2,12 +2,12 @@ "formatVersion": 1, "releases": [ { - "version": "0.11.9", + "version": "0.11.10", "releasedAt": "2026-08-29", "notes": { "zh-CN": { "highlights": [ - "GoodBuddy 0.11.9 修复正式环境中的 Host 更新失败,并显著缩短 Agent 与 OpenCode Runtime 的安装、恢复和日常启动校验。" + "GoodBuddy 0.11.10 修复正式环境中的 Host 更新失败,并显著缩短 Agent 与 OpenCode Runtime 的安装、恢复和日常启动校验。" ], "features": [], "fixes": [ @@ -21,7 +21,7 @@ }, "en-US": { "highlights": [ - "GoodBuddy 0.11.9 fixes Host updates in production and substantially reduces Agent and OpenCode Runtime verification during installation, recovery, and normal startup." + "GoodBuddy 0.11.10 fixes Host updates in production and substantially reduces Agent and OpenCode Runtime verification during installation, recovery, and normal startup." ], "features": [], "fixes": [ diff --git a/src/agent-daemon/installed-bundle-verifier.test.ts b/src/agent-daemon/installed-bundle-verifier.test.ts index 5f5d3f3d..369cd68c 100644 --- a/src/agent-daemon/installed-bundle-verifier.test.ts +++ b/src/agent-daemon/installed-bundle-verifier.test.ts @@ -113,7 +113,9 @@ describe('installed Agent bundle verifier', () => { if (process.platform !== 'win32') { writeBundle() chmodSync(join(installationDirectory, 'goodbuddy-agent'), 0o777) - await expect(verifyBundle()).rejects.toThrow('mode mismatch') + await expect(verifyBundle()).rejects.toThrow( + 'entrypoint metadata changed' + ) resetInstallation() }