Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

docs: scope release-gate acceptance criteria to the cross-arch exception

guyong1420d8bf4265
diff --git a/docs/ios-simulator-integration-plan.md b/docs/ios-simulator-integration-plan.md
index f3c8495a9f..0be9c4e293 100644
--- a/docs/ios-simulator-integration-plan.md
+++ b/docs/ios-simulator-integration-plan.md
@@ -1479,7 +1479,7 @@ Phase 4F-3 验收门槛:只有精确收录组合能得到 per-capability `elig
- gate report 只保留 artifact source/trust/architecture、runtime identity、逐能力 compatibility、launch reason/fallback route 与有界 native 结果。绝对路径、TeamIdentifier、designated requirement、UDID、DeveloperDir、private framework 诊断和签名凭证不进入可归档输出,也不进入 renderer/Agent。
- 宿主无法原生启动目标架构 App 时沿用 cross-architecture 例外,只做 Mach-O architecture 门禁并跳过该本地 launch-based gate。该例外覆盖两个镜像方向:Intel Host + arm64 App,以及 arm64 Host + x64 App。后者是单机双架构 Developer ID 连打的现实——CN 发布在同一台 arm64 机上连打 arm64+x64 Developer ID 包,x64 那趟无法在本机 exec(Rosetta 起 x64 Electron 会挂/超时)。x64 正式包从不 bundle native helper、运行期必然回退 WDA/MJPEG,static gate 验证的是构造上已保证的 untrusted→WDA/MJPEG 行为,故此处跳过不降低真实安全;若需在受控发布环境对 x64 做完整 launch-based qualification,应在可运行 x64 的发布机上单独完成。`CINDY_IOS_SIMULATOR_RELEASE_NATIVE_SMOKE=1` 显式要求 native gate 却落在不可运行目标架构的宿主上时,Developer ID 路径直接失败而非跳过,避免把显式门禁静默降级为无门禁。
-Phase 4F-4 验收门槛:gate 必须运行于最终签名/公证后的 `.app`,且早于任何 DMG/ZIP;verified 精确组合可通过 static admission,untrusted/ad-hoc、runtime build near miss 与缺失 identity 必须保持 WDA/MJPEG;native 模式只准操作 gate 自建临时设备并在 `finally` 删除;H.264/HID/restart 任一步失败都中止打包;输出和子进程环境不得泄漏发布凭证、签名身份、路径、UDID 或 private framework 细节。
+Phase 4F-4 验收门槛(宿主可原生运行目标架构的常规构建):gate 必须运行于最终签名/公证后的 `.app`,且早于任何 DMG/ZIP;命中上述 cross-architecture 例外的跨 arch 那趟不适用本条,只做 Mach-O 架构门禁并跳过 launch-based gate;verified 精确组合可通过 static admission,untrusted/ad-hoc、runtime build near miss 与缺失 identity 必须保持 WDA/MJPEG;native 模式只准操作 gate 自建临时设备并在 `finally` 删除;H.264/HID/restart 任一步失败都中止打包;输出和子进程环境不得泄漏发布凭证、签名身份、路径、UDID 或 private framework 细节。
本地自动验证覆盖 gate 参数、最终 report 校验、精确 verified admission、ad-hoc fail-closed、runtime build near miss、native 调用边界、私有元数据泄漏拒绝,以及签名/公证 → gate → DMG/ZIP 的源码顺序契约。真实 Developer ID、Apple notarization 和 native packaged smoke 不在开发机模拟,必须在持有正式凭证且匹配 registry 的受控发布环境执行:
diff --git a/docs/ios-simulator-release-guide.md b/docs/ios-simulator-release-guide.md
index 7c7d622629..8348afea9d 100644
--- a/docs/ios-simulator-release-guide.md
+++ b/docs/ios-simulator-release-guide.md
@@ -60,7 +60,7 @@ arm64 和 x64 产物。
## 发布检查
-打包脚本成功退出即表示 Helper 签名、公证和静态 release gate 已通过。发布前可额外抽查:
+打包脚本成功退出即表示 Helper 签名、公证和静态 release gate 已通过(命中上文 cross-architecture 例外的跨 arch 那趟例外:该趟为 Mach-O 架构门禁,launch-based static gate 跳过)。发布前可额外抽查:
```bash
codesign --verify --deep --strict --verbose=2 /path/to/Cindy.app