Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
feat(config-sync): drop the Experimental badge from Cloud sync
vastsa14974ea11acd
diff --git a/apps/desktop/src/lib/settings-search.ts b/apps/desktop/src/lib/settings-search.tsindex 87b34295a..8651f99b7 100644--- a/apps/desktop/src/lib/settings-search.ts+++ b/apps/desktop/src/lib/settings-search.ts@@ -282,7 +282,6 @@ export const SETTINGS_NAV: SettingsNavEntry[] = [labelKey: "settings.nav.sync",titleKey: "settings.configSync.title",group: "system",- experimentalBadgeKey: "settings.configSync.experimental",keywordKeys: ["settings.configSync.connectionTitle","settings.configSync.endpoint",diff --git a/apps/desktop/test/config-sync-settings.test.mjs b/apps/desktop/test/config-sync-settings.test.mjsindex 5efb9fa51..8ba3ec407 100644--- a/apps/desktop/test/config-sync-settings.test.mjs+++ b/apps/desktop/test/config-sync-settings.test.mjs@@ -30,7 +30,7 @@ const progressModel = await read(test("cloud sync rendering follows the settings visibility gate", () => {assert.match(settingsPage, /tab === "sync" && !tabHidden && <ConfigSyncPage \/>/);assert.match(settingsIndex, /id: "sync"/);- assert.match(settingsIndex, /experimentalBadgeKey: "settings\.configSync\.experimental"/);+ assert.doesNotMatch(settingsIndex, /experimentalBadgeKey: "settings\.configSync\.experimental"/);assert.match(settingsIndex, /settings\.configSync\.connectionTitle/);});diff --git a/apps/desktop/test/settings-developer-only-destinations.test.mjs b/apps/desktop/test/settings-developer-only-destinations.test.mjsindex defd8d084..29e505f13 100644--- a/apps/desktop/test/settings-developer-only-destinations.test.mjs+++ b/apps/desktop/test/settings-developer-only-destinations.test.mjs@@ -90,12 +90,12 @@ test("Cloud sync is reachable in every build without developer mode", () => {}}}- // Cloud sync is public but still Experimental: the rail row and page title- // keep the badge, and no developer or build gate remains.+ // Cloud sync is a regular destination now: no developer or build gate and no+ // Experimental badge remain.const sync = SETTINGS_NAV.find((entry) => entry.id === "sync");assert.equal(sync?.developerOnly, undefined);assert.equal(sync?.developmentOnly, undefined);- assert.equal(sync?.experimentalBadgeKey, "settings.configSync.experimental");+ assert.equal(sync?.experimentalBadgeKey, undefined);});test("developer mode retains the developer-only destinations in development", () => {diff --git a/docs/spec/04-ux/06-settings-ia.md b/docs/spec/04-ux/06-settings-ia.mdindex b07027f23..4e4941696 100644--- a/docs/spec/04-ux/06-settings-ia.md+++ b/docs/spec/04-ux/06-settings-ia.md@@ -78,9 +78,9 @@ Settings is a **full-window page** that replaces the app sidebar + main chrome (- **Cloud sync / 云同步** is a regular `System` / `系统` destinationavailable to every user in every build: its rail row, page, andsettings-search hits never depend on developer mode and never fall back to- General. It is still Experimental, so the rail row and page title carry the- Experimental badge (`settings.configSync.experimental`). Nothing about the- sync behavior itself changes.+ General. It ships as a stable destination, so neither the rail row nor the+ page title carries an Experimental badge, and nothing about the sync+ behavior itself changes.- **Remote Hosts / 远程主机** is a developer-only, Experimental destination: itsrail row, its page, and its settings-search hits exist only while`AppSettings.developerMode` is `true`. With developer mode off the row isdiff --git a/docs/spec/06-delivery/04-e2e-test-plan.md b/docs/spec/06-delivery/04-e2e-test-plan.mdindex 641ed74cb..96128c6d1 100644--- a/docs/spec/06-delivery/04-e2e-test-plan.md+++ b/docs/spec/06-delivery/04-e2e-test-plan.md@@ -9227,8 +9227,8 @@ must keep splitting are covered by `markdown-blocks.test.mjs`.Developer mode starts off so the public destination is exercised as shipped.- **Steps:** 1) Open Settings with developer mode off; confirm Cloud sync ispresent in the rail and returned by settings search, then open it and- confirm the Experimental badge appears beside the rail row and page title.- 2) Toggle developer mode on and off and confirm the destination stays+ confirm neither the rail row nor the page title carries an Experimental+ badge. 2) Toggle developer mode on and off and confirm the destination staysreachable either way. 3) Enter the fixture URL,device label, directory, and backup password. 4) Run the capability test andconfirm it uses temporary objects. 5) Select provider/MCP/skill categories@@ -9254,9 +9254,9 @@ must keep splitting are covered by `markdown-blocks.test.mjs`.WebDAV app password, while password fields themselves remain blank and novault password is written to renderer storage.- **Expected:** Cloud sync is reachable in every build without developer mode,- keeps its Experimental badge beside the rail row and page title, and- neither its availability nor its behavior changes when developer mode is- toggled. Strict mode refuses+ carries no Experimental badge on the rail row or page title, and neither its+ availability nor its behavior changes when developer mode is toggled.+ Strict mode refusesunreliable conditional writes. The explicitcompatibility mode accepts only a server that proves bounded directorylisting, explains that it is not atomic CAS, and retains per-device tips for@@ -16256,9 +16256,10 @@ the latest destination. These assertions measure work counts, not device FPS.- Automated coverage: `pnpm test:e2e:settings-scroll` mounts the productionSettingsPage, store, translations, and built CSS in isolated Electron. Onlypreload data is stubbed; search navigation uses SearchDialog's public store- entry points. It also checks Cloud sync visibility without developer mode,- the Experimental badges, and the fallback to General. This covers renderer- interaction, not host persistence or the full global-search dialog.+ entry points. It also checks that Cloud sync has no developer-mode gate and+ no Experimental badge, that Remote hosts keeps its badge, and the fallback+ to General. This covers renderer interaction, not host persistence or the+ full global-search dialog.### E2E-SCHEDULED-dispatchdiff --git a/docs/spec/08-meta/decisions-log.md b/docs/spec/08-meta/decisions-log.mdindex 957024645..a8775118c 100644--- a/docs/spec/08-meta/decisions-log.md+++ b/docs/spec/08-meta/decisions-log.md@@ -36,7 +36,8 @@ This log freezes previously open questions into concrete decisions.| D639 | models.dev owns published chat-model metadata | **Supersede D136 / D266 and ADR `pi-ai-core-0991-authority` for chat metadata: the bundled and explicitly refreshed models.dev catalog supplies published chat-model limits, modalities, reasoning metadata, names, and prices. Prefer the selected official publisher; when it has no record, accept another publisher only for a safe, unambiguous match, otherwise keep generic metadata. The checked-in preset identities are the priority set; do not assert an unsupported fixed count of 39. Live endpoint/OAuth discovery still owns selectable IDs. Pi remains responsible for OAuth, wire identity, transport and typed non-chat operations, but never supplies sibling chat limits, reasoning or prices. Explicit user binding overrides remain authoritative. No credentials are sent to models.dev; no host schema/protocol or persistence change. See ADR `models-dev-catalog-authority` and E2E-162 / E2E-MODEL-catalog-window-correction-reaches-saved-bindings.** | A Pi sibling default assigned a 272,000-token window to GPT models whose selected models.dev records publish 1,050,000 tokens, changing the Settings display and runtime context budget. || D640 | User MCP tools keep the normal approval path | **`mcp_<serverId>_<tool>` calls are `medium` risk in host-core: under `ask` and `accept-edits` each call shows the approval card ("MCP server tool requires approval"), allow-once and allow-session keep their usual scope (one call / that exact tool name in that session), `auto` runs without a card, and Plan/Goal still deny. Annotations or risk values the MCP server declares about its own tools are ignored and never lower the path. Dispatch, read-only-mode handling and the `mcp_` namespace are unchanged; no host protocol or persistence change. See ADR `mcp-tool-approval-risk` and E2E-MCP-tool-requires-approval.** | MCP tools were auto-allowed as `low` risk, so a configured server could write files, call networks or run commands without any prompt under `ask`. Configuring a server is consent to launch it, not to every action its opaque tools take. || D641 | Custom endpoint API style precedence | **A custom endpoint uses the saved provider-row `apiStyle` ahead of a model catalog's adapter API. Named and OAuth providers can continue to use a model-level wire API pin where their published configuration requires a different transport. This keeps a user's explicit endpoint choice stable without removing model-specific routing such as OpenCode Go Responses models. No persisted format or protocol change. See E2E-005E and issue #1313.** | A publisher's adapter default must not silently redirect a custom gateway whose user-selected API format is different. |-| D642 | Cloud sync is a public Experimental destination | **Remove the developer-mode and packaged-build gates from the Settings `sync` destination: its rail row, page, and settings-search hits exist for every user in every build, and a saved `sync` tab no longer falls back to General. Remote Hosts keeps both gates and its own badge. The destination keeps its Experimental badge on the rail row and page title; sync behavior, protocol, host schema, and persisted data are unchanged. See `04-ux/06-settings-ia.md` and E2E-CONFIG-SYNC-webdav-portable-configuration.** | Encrypted WebDAV backup is the app's only multi-device configuration path, and a developer-mode gate left it undiscoverable for the users who need it. |+| D642 | Cloud sync is a public Experimental destination *(amended by D643)* | **Remove the developer-mode and packaged-build gates from the Settings `sync` destination: its rail row, page, and settings-search hits exist for every user in every build, and a saved `sync` tab no longer falls back to General. Remote Hosts keeps both gates and its own badge. The destination keeps its Experimental badge on the rail row and page title; sync behavior, protocol, host schema, and persisted data are unchanged. See `04-ux/06-settings-ia.md` and E2E-CONFIG-SYNC-webdav-portable-configuration.** | Encrypted WebDAV backup is the app's only multi-device configuration path, and a developer-mode gate left it undiscoverable for the users who need it. |+| D643 | Cloud sync ships without an Experimental badge | **Amend D642: the Settings `sync` destination drops `experimentalBadgeKey`, and `settings.configSync.experimental` is removed from every bundled locale. Cloud sync stays available to every user in every build. Remote Hosts keeps its own badge and both gates. Sync behavior, protocol, host schema, and persisted data are unchanged. See `04-ux/06-settings-ia.md` and E2E-CONFIG-SYNC-webdav-portable-configuration.** | Cloud sync is the app's shipped multi-device path, so an Experimental label no longer described it and only made the destination look unfinished. || D450 | Signed macOS GitHub Releases | **Amend D078 / ADR 0022: GitHub tag releases Developer ID-sign, notarize (`notarytool` via electron-builder 26), staple, and Gatekeeper-verify macOS DMG/ZIP before upload, using identity `Developer ID Application: XingYu Liu (DUV63RKYTW)` / team `DUV63RKYTW` from Actions secrets (`CSC_LINK`, `CSC_KEY_PASSWORD`, `APPLE_ID`, `APPLE_APP_SPECIFIC_PASSWORD`, `APPLE_TEAM_ID`). Missing secrets fail the job. Local unsigned packaging without a certificate remains. `workflow_dispatch` may set `sign_macos: false` only for unsigned debug artifacts. Packaged macOS uses in-app `electron-updater` (ZIP + merged `latest-mac.yml`); Linux deb/rpm and Windows portable ZIP stay notify-and-link. No afterPack/afterSign adhoc codesign (ADR 0278).** | Production DMGs must open without a Gatekeeper warning, and signed macOS installs can download and restart into a new tag. See ADR 0289, E2E-196c, E2E-067A. |## B. Secondary implementation defaults@@ -7418,8 +7419,21 @@ must keep splitting are covered by `markdown-blocks.test.mjs`.`sync` destination: its rail row, page, and settings-search hits areavailable to every user in every build, and a saved `sync` tab no longerfalls back to General. Remote Hosts keeps both gates.-- The destination keeps its Experimental badge on the rail row and page title,- and sync behavior, protocol, host schema, and persisted data are unchanged.+- The destination kept its Experimental badge on the rail row and page title+ at that time (amended by D643).- Covered by `apps/desktop/test/settings-developer-only-destinations.test.mjs`and the Cloud sync probe in `pnpm test:e2e:settings-scroll`. See`04-ux/06-settings-ia.md` and E2E-CONFIG-SYNC-webdav-portable-configuration.++## 2026-10-04 — Cloud sync ships without an Experimental badge (D643)++- D643 amends D642: the Settings `sync` destination drops its+ `experimentalBadgeKey`, and `settings.configSync.experimental` is removed+ from every bundled locale. Cloud sync stays available to every user in+ every build.+- Remote Hosts keeps its own badge and both gates. Sync behavior, protocol,+ host schema, and persisted data are unchanged.+- Covered by the badge assertions in+ `apps/desktop/test/settings-developer-only-destinations.test.mjs` and+ `apps/desktop/test/config-sync-settings.test.mjs`, plus the Cloud sync probe+ in `pnpm test:e2e:settings-scroll`.diff --git a/docs/zh-CN/spec/04-ux/06-settings-ia.md b/docs/zh-CN/spec/04-ux/06-settings-ia.mdindex f8697e797..7e3b659d9 100644--- a/docs/zh-CN/spec/04-ux/06-settings-ia.md+++ b/docs/zh-CN/spec/04-ux/06-settings-ia.md@@ -46,8 +46,8 @@的非交互文字,分组之间只使用留白,不绘制分割线;搜索过滤后,空分组及其标题一并隐藏。- **云同步**是面向所有用户、在任何构建中都可见的常规「系统」目的地:其导轨行、页面- 和设置搜索命中从不依赖开发者模式,也不会回落到常规。它仍是实验性功能,- 导轨行和页面标题继续带有实验性徽章(`settings.configSync.experimental`)。+ 和设置搜索命中从不依赖开发者模式,也不会回落到常规。它作为稳定目的地发布:+ 导轨行与页面标题都不再带有实验性徽章。同步行为本身没有任何变化。- **远程主机**是仅开发者可用的实验性目的地:其导轨行、页面和设置搜索命中仅在`AppSettings.developerMode` 为 `true` 时存在。开发者模式关闭时该行是缺失而不是diff --git a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.mdindex a79d1ae50..30d26e19d 100644--- a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md+++ b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md@@ -8828,8 +8828,8 @@ the latest destination. These assertions measure work counts, not device FPS.### E2E-CONFIG-SYNC-webdav-portable-configuration- **前提:** 已构建的任务候选版本、隔离的 Host 配置(开发者模式默认关闭,用来验证公开入口),以及支持 strong ETag 和条件 PUT 的本地 WebDAV fixture,另有忽略条件头但支持 `PROPFIND` 目录列举的 fixture 变体。不使用真实 WebDAV 账户、provider 或生产桌面。-- **步骤:** 1)在开发者模式关闭的情况下打开设置,确认“云同步”出现在导轨中且设置搜索能命中它;打开该页,确认导轨行和页面标题均显示“实验性”徽章。2)开关一次开发者模式,确认该目的地始终可用且可见性不变。3)填写 fixture URL、设备标签、目录和备份密码。4)运行能力测试,确认使用临时对象。5)选择 provider/MCP/skill 类别,保持凭据和 memory 未选中;在第二次预览中启用凭据,确认只显示脱敏计数。6)配置设备 A,创建 user provider 和 MCP 定义并同步。7)让设备 B 连接同一 vault,同步后检查待激活/映射,并验证审批前不会运行命令或任务。8)批准一个变更后的安全实体,拒绝一个暂存实体,在两台设备上编辑不相交设置并再次同步。9)测试并发 head writer、错误密码、weak ETag、密文损坏、redirect、归档路径穿越和网络中断。10)使用回环/私有地址的 fixture 勾选“允许在受信任的内网地址使用 HTTP”,确认刷新状态后仍保留;即使勾选,公网 HTTP 地址也必须被拒绝。-- **预期:** 云同步在任何构建、任何开发者模式设置下都可访问,并保留“实验性”徽章;开关开发者模式既不改变入口可见性也不改变同步行为。测试拒绝不可靠的条件写入。HTTP 默认关闭,仅允许 localhost、`.local` 或私有/链路本地地址;公网 HTTP 地址会被拒绝,界面会提示凭据暴露风险。若 fixture 探测到该 endpoint 对不存在对象返回 502,后续只兼容该 endpoint 的这一行为;忽略条件头的服务器仍必须标记为不受支持。WebDAV 只能看到已认证的密文和不透明对象名;原始秘密不会出现在 Renderer 状态或日志中。相同和不相交的编辑会收敛,冲突保持可审查,明确删除使用 tombstone,类别退出不是删除,可执行导入在本地审批和映射前保持不激活。恢复不会暴露部分应用的本地配置。+- **步骤:** 1)在开发者模式关闭的情况下打开设置,确认“云同步”出现在导轨中且设置搜索能命中它;打开该页,确认导轨行和页面标题都不再带实验性徽章。2)开关一次开发者模式,确认该目的地始终可用且可见性不变。3)填写 fixture URL、设备标签、目录和备份密码。4)运行能力测试,确认使用临时对象。5)选择 provider/MCP/skill 类别,保持凭据和 memory 未选中;在第二次预览中启用凭据,确认只显示脱敏计数。6)配置设备 A,创建 user provider 和 MCP 定义并同步。7)让设备 B 连接同一 vault,同步后检查待激活/映射,并验证审批前不会运行命令或任务。8)批准一个变更后的安全实体,拒绝一个暂存实体,在两台设备上编辑不相交设置并再次同步。9)测试并发 head writer、错误密码、weak ETag、密文损坏、redirect、归档路径穿越和网络中断。10)使用回环/私有地址的 fixture 勾选“允许在受信任的内网地址使用 HTTP”,确认刷新状态后仍保留;即使勾选,公网 HTTP 地址也必须被拒绝。+- **预期:** 云同步在任何构建、任何开发者模式设置下都可访问,导轨行与页面标题都不带实验性徽章;开关开发者模式既不改变入口可见性也不改变同步行为。测试拒绝不可靠的条件写入。HTTP 默认关闭,仅允许 localhost、`.local` 或私有/链路本地地址;公网 HTTP 地址会被拒绝,界面会提示凭据暴露风险。若 fixture 探测到该 endpoint 对不存在对象返回 502,后续只兼容该 endpoint 的这一行为;忽略条件头的服务器仍必须标记为不受支持。WebDAV 只能看到已认证的密文和不透明对象名;原始秘密不会出现在 Renderer 状态或日志中。相同和不相交的编辑会收敛,冲突保持可审查,明确删除使用 tombstone,类别退出不是删除,可执行导入在本地审批和映射前保持不激活。恢复不会暴露部分应用的本地配置。- **规格:** `04-ux/06-settings-ia.md`、`03-runtime/22-config-sync.md`、`03-runtime/14-secrets-storage.md`、`05-security/01-security.md`、ADR 0300。- **验收:** F(持久化)、Security、Quality。- **里程碑:** M6+。diff --git a/docs/zh-CN/spec/08-meta/decisions-log.md b/docs/zh-CN/spec/08-meta/decisions-log.mdindex 8a689a059..00e225231 100644--- a/docs/zh-CN/spec/08-meta/decisions-log.md+++ b/docs/zh-CN/spec/08-meta/decisions-log.md@@ -39,7 +39,8 @@| D639 | models.dev 拥有已发布的聊天模型元数据 | **就聊天元数据而言,取代 D136 / D266 和 ADR `pi-ai-core-0991-authority`:随应用打包并可显式刷新的 models.dev 目录提供已发布的聊天模型上下文 / 输出上限、模态、推理元数据、名称和价格。优先采用所选官方发布方;其没有记录时,只有安全且无歧义的匹配才采用其他发布方,否则保留通用元数据。仓库中的预设身份是优先集合;不要声称存在未经证实的 39 家固定名单。实时端点 / OAuth 发现仍决定可选模型 ID。Pi 仍负责 OAuth、wire 身份、传输和有类型的非聊天操作,但不再为聊天模型提供同档模型的上限、推理能力或价格。明确的用户绑定覆盖仍具权威性。不向 models.dev 发送凭据;不改主机模式 / 协议或持久化。见 ADR `models-dev-catalog-authority` 与 E2E-162 / E2E-MODEL-catalog-window-correction-reaches-saved-bindings。** | Pi 同档模型默认值曾把 GPT 模型的上下文窗口设为 272,000;所选 models.dev 记录实际发布的是 1,050,000,导致设置页显示和运行时上下文预算错误。 || D640 | 用户 MCP 工具保持常规审批路径 | **host-core 将 `mcp_<serverId>_<tool>` 调用视为 `medium` 风险:在 `ask` 与 `accept-edits` 下每次调用都显示审批卡片("MCP server tool requires approval"),允许一次与本会话允许保持原有范围(单次调用 / 该会话内同一工具名),`auto` 不显示卡片直接执行,Plan/Goal 仍然拒绝。MCP 服务器对自身工具声明的标注或风险值被忽略,绝不降低审批路径。分发、只读模式处理与 `mcp_` 命名空间不变;不改主机协议或持久化。见 ADR `mcp-tool-approval-risk` 与 E2E-MCP-tool-requires-approval。** | MCP 工具此前按 `low` 风险自动放行,已配置的服务器在 `ask` 下可以不经提示写文件、访问网络或执行命令。配置服务器意味着同意启动它,而不是同意其不透明工具的每一个操作。 || D641 | 自定义端点 API 格式优先级 | **自定义端点始终优先使用 provider 行上保存的 `apiStyle`,再考虑模型目录适配器 API。对于具名与 OAuth provider,如果已发布配置要求不同传输,仍可沿用模型级 wire API 固定项。这可确保用户为自定义 endpoint 选择的格式不会被静默覆盖,同时保留 OpenCode Go Responses 模型等特定路由。不改变持久化格式或协议。见 E2E-005E 与 issue #1313。** | 发布方的适配器默认值不应把请求从用户已选择的自定义网关格式静默重定向。 |-| D642 | 云同步是对所有用户开放的实验性目的地 | **移除设置中 `sync` 目的地的开发者模式与打包构建门控:其导轨行、页面和设置搜索命中在任何构建中对所有用户存在,已保存的 `sync` 标签页也不再回落到常规。远程主机保留这两道门控和它自己的徽章。该目的地继续在导轨行与页面标题上保留实验性徽章;同步行为、协议、Host schema 与持久化数据均不变。见 `04-ux/06-settings-ia.md` 与 E2E-CONFIG-SYNC-webdav-portable-configuration。** | 加密 WebDAV 备份是应用唯一的多设备配置路径,而开发者模式门控让需要它的用户无法发现该功能。 |+| D642 | 云同步是对所有用户开放的实验性目的地 *(由 D643 修订)* | **移除设置中 `sync` 目的地的开发者模式与打包构建门控:其导轨行、页面和设置搜索命中在任何构建中对所有用户存在,已保存的 `sync` 标签页也不再回落到常规。远程主机保留这两道门控和它自己的徽章。该目的地继续在导轨行与页面标题上保留实验性徽章;同步行为、协议、Host schema 与持久化数据均不变。见 `04-ux/06-settings-ia.md` 与 E2E-CONFIG-SYNC-webdav-portable-configuration。** | 加密 WebDAV 备份是应用唯一的多设备配置路径,而开发者模式门控让需要它的用户无法发现该功能。 |+| D643 | 云同步不再带实验性徽章 | **修订 D642:设置中的 `sync` 目的地不再有 `experimentalBadgeKey`,各内置语言包中的 `settings.configSync.experimental` 键也已删除。云同步在任何构建中对所有用户保持可用。远程主机保留自己的徽章和两道门控。同步行为、协议、Host schema 与持久化数据均不变。见 `04-ux/06-settings-ia.md` 与 E2E-CONFIG-SYNC-webdav-portable-configuration。** | 云同步是应用已发布的多设备路径,实验性标签已不再描述它,只会让该目的地看起来尚未完成。 || D450 | 签名的 macOS GitHub Release | **修订 D078 / ADR 0022:GitHub tag 发布使用身份 `Developer ID Application: XingYu Liu (DUV63RKYTW)` / 团队 `DUV63RKYTW`,通过 Actions 密钥(`CSC_LINK`、`CSC_KEY_PASSWORD`、`APPLE_ID`、`APPLE_APP_SPECIFIC_PASSWORD`、`APPLE_TEAM_ID`)对 macOS DMG/ZIP 做 Developer ID 签名、`notarytool` 公证、装订和 Gatekeeper 校验;缺少密钥则失败。无证书的本地未签名打包仍可用。`workflow_dispatch` 仅可把 `sign_macos: false` 用于未签名调试产物。打包的 macOS 走应用内 `electron-updater`(ZIP + 合并后的 `latest-mac.yml`);Linux deb/rpm 与 Windows 便携版 ZIP 仍为通知并打开发布页。禁止 afterPack/afterSign adhoc 签名(ADR 0278)。** | 正式 DMG 应无需 Gatekeeper 警告即可打开,已签名 macOS 安装可下载并重启到新 tag。见 ADR 0289、E2E-196c、E2E-067A。 |## B. 辅助实现默认值@@ -5220,8 +5221,18 @@ Markdown 源码,不是 `text/html` 负载;对禁用行内 HTML 的外部编- D642 移除设置中 `sync` 目的地的开发者模式与打包构建门控:其导轨行、页面和设置搜索命中在任何构建中对所有用户可用,已保存的 `sync` 标签页也不再回落到常规。远程主机保留这两道门控。-- 该目的地继续在导轨行和页面标题上保留实验性徽章;同步行为、协议、Host schema 与- 持久化数据均不变。+- 该目的地当时在导轨行和页面标题上保留实验性徽章+ (已由 D643 修订)。- 由 `apps/desktop/test/settings-developer-only-destinations.test.mjs` 与`pnpm test:e2e:settings-scroll` 的云同步探针覆盖。见 `04-ux/06-settings-ia.md` 与E2E-CONFIG-SYNC-webdav-portable-configuration。++## 2026-10-04 —— 云同步不再带实验性徽章(D643)++- D643 修订 D642:设置中的 `sync` 目的地不再有 `experimentalBadgeKey`,+ 各内置语言包中的 `settings.configSync.experimental` 键也已删除。云同步在任何构建、+ 对所有用户都保持可用。+- 远程主机保留自己的徽章和两道门控。同步行为、协议、Host schema 与持久化数据均不变。+- 由 `apps/desktop/test/settings-developer-only-destinations.test.mjs`、+ `apps/desktop/test/config-sync-settings.test.mjs` 中的徽章断言,以及+ `pnpm test:e2e:settings-scroll` 的云同步探针覆盖。diff --git a/packages/i18n/src/locales/de/index.ts b/packages/i18n/src/locales/de/index.tsindex b394c53c9..74e854d44 100644--- a/packages/i18n/src/locales/de/index.ts+++ b/packages/i18n/src/locales/de/index.ts@@ -786,7 +786,6 @@ sklm: {},"configSync": {title: "Cloud sync",- experimental: "Experimentell",connectionTitle: "WebDAV cloud sync",connectionDescription:"Synchronize portable configuration through an encrypted WebDAV vault. Conversation history, source files, and runtime state are never included.",diff --git a/packages/i18n/src/locales/en/index.ts b/packages/i18n/src/locales/en/index.tsindex aa2a45ddd..df11531ba 100644--- a/packages/i18n/src/locales/en/index.ts+++ b/packages/i18n/src/locales/en/index.ts@@ -1069,7 +1069,6 @@ sklm: {},configSync: {title: "Cloud sync",- experimental: "Experimental",connectionTitle: "WebDAV cloud sync",connectionDescription:"Synchronize portable configuration through an encrypted WebDAV vault. Conversation history, source files, and runtime state are never included.",diff --git a/packages/i18n/src/locales/es/index.ts b/packages/i18n/src/locales/es/index.tsindex 031507cf3..47a8aa344 100644--- a/packages/i18n/src/locales/es/index.ts+++ b/packages/i18n/src/locales/es/index.ts@@ -786,7 +786,6 @@ sklm: {},"configSync": {title: "Cloud sync",- experimental: "Experimental",connectionTitle: "WebDAV cloud sync",connectionDescription:"Synchronize portable configuration through an encrypted WebDAV vault. Conversation history, source files, and runtime state are never included.",diff --git a/packages/i18n/src/locales/fr/index.ts b/packages/i18n/src/locales/fr/index.tsindex a34bf1d53..352ebe71e 100644--- a/packages/i18n/src/locales/fr/index.ts+++ b/packages/i18n/src/locales/fr/index.ts@@ -786,7 +786,6 @@ sklm: {},"configSync": {title: "Cloud sync",- experimental: "Expérimental",connectionTitle: "WebDAV cloud sync",connectionDescription:"Synchronize portable configuration through an encrypted WebDAV vault. Conversation history, source files, and runtime state are never included.",diff --git a/packages/i18n/src/locales/ko/index.ts b/packages/i18n/src/locales/ko/index.tsindex 1b219b865..eea4c76ea 100644--- a/packages/i18n/src/locales/ko/index.ts+++ b/packages/i18n/src/locales/ko/index.ts@@ -794,7 +794,6 @@ sklm: {},configSync: {title: "Cloud sync",- experimental: "실험적",connectionTitle: "WebDAV cloud sync",connectionDescription:"Synchronize portable configuration through an encrypted WebDAV vault. Conversation history, source files, and runtime state are never included.",diff --git a/packages/i18n/src/locales/pt-BR/index.ts b/packages/i18n/src/locales/pt-BR/index.tsindex c4601eae3..ab222a782 100644--- a/packages/i18n/src/locales/pt-BR/index.ts+++ b/packages/i18n/src/locales/pt-BR/index.ts@@ -1036,7 +1036,6 @@ export const ptBR = {},configSync: {title: "Sincronização na nuvem",- experimental: "Experimental",connectionTitle: "Sincronização na nuvem via WebDAV",connectionDescription: "Sincronize configurações portáteis através de um cofre criptografado WebDAV. O histórico de conversas, arquivos-fonte e estados de execução nunca são incluídos.",errorTitle: "A sincronização requer atenção",diff --git a/packages/i18n/src/locales/tr/index.ts b/packages/i18n/src/locales/tr/index.tsindex d7edf4b1e..2b68e8925 100644--- a/packages/i18n/src/locales/tr/index.ts+++ b/packages/i18n/src/locales/tr/index.ts@@ -794,7 +794,6 @@ sklm: {},configSync: {title: "Bulut senkronizasyonu",- experimental: "Deneysel",connectionTitle: "WebDAV bulut senkronizasyonu",connectionDescription: "Şifreli bir WebDAV kasası üzerinden taşınabilir yapılandırmayı senkronize edin.",errorTitle: "Sync needs attention",diff --git a/packages/i18n/src/locales/zh-CN/index.ts b/packages/i18n/src/locales/zh-CN/index.tsindex f255513e9..1b7fbc1b6 100644--- a/packages/i18n/src/locales/zh-CN/index.ts+++ b/packages/i18n/src/locales/zh-CN/index.ts@@ -784,7 +784,6 @@ sklm: {},configSync: {title: "云同步",- experimental: "实验性",connectionTitle: "WebDAV 云同步",connectionDescription: "通过加密的 WebDAV 保管库同步可移植配置。不会包含对话历史、源文件或运行时状态。",errorTitle: "同步需要处理",diff --git a/packages/i18n/src/locales/zh-TW/index.ts b/packages/i18n/src/locales/zh-TW/index.tsindex d93b1ec69..32b8f8382 100644--- a/packages/i18n/src/locales/zh-TW/index.ts+++ b/packages/i18n/src/locales/zh-TW/index.ts@@ -784,7 +784,6 @@ sklm: {},configSync: {title: "雲端同步",- experimental: "實驗性",connectionTitle: "WebDAV 雲端同步",connectionDescription: "透過加密的 WebDAV 保管庫同步可攜式設定。不會包含對話記錄、原始碼或執行階段狀態。",errorTitle: "同步需要處理",diff --git a/scripts/e2e/settings-scroll.jsx b/scripts/e2e/settings-scroll.jsxindex cecaaf2ca..789130c5d 100644--- a/scripts/e2e/settings-scroll.jsx+++ b/scripts/e2e/settings-scroll.jsx@@ -120,13 +120,13 @@ async function setSettingsSearch(value) {await settle();}async function checkCloudSyncVisibility() {- // Cloud sync is a public Experimental destination: no developer mode needed.+ // Cloud sync is a regular destination: no developer mode and no badge.await setSettingsSearch("Cloud sync");const syncButton = navButton("Cloud sync");assert(syncButton, "Cloud sync must appear in settings search without developer mode");assert(- syncButton.querySelector(".settings-nav-experimental")?.textContent?.trim() === "Experimental",- "Cloud sync's rail entry must stay marked Experimental",+ !syncButton.querySelector(".settings-nav-experimental"),+ "Cloud sync's rail entry must not carry the Experimental badge",);flushSync(() => syncButton.click());@@ -136,8 +136,8 @@ async function checkCloudSyncVisibility() {"Cloud sync must open its page without developer mode",);assert(- document.querySelector(".settings-section-title")?.textContent?.includes("Experimental"),- "Cloud sync's page title must stay marked Experimental",+ !document.querySelector(".settings-section-title")?.textContent?.includes("Experimental"),+ "Cloud sync's page title must not carry the Experimental badge",);await setSettingsSearch("");@@ -161,6 +161,11 @@ async function checkCloudSyncVisibility() {settings = { ...settings, developerMode: true };flushSync(() => useAppStore.setState({ settings }));await settle();+ assert(+ navButton("Remote hosts")?.querySelector(".settings-nav-experimental")+ ?.textContent?.trim() === "Experimental",+ "Remote hosts must keep the Experimental badge",+ );await select("Remote hosts");assert(useAppStore.getState().settingsTab === "remoteHosts",