fix(ui-mac): 上游 esm-shim 适配 + S29-γ verify 批(6 项) - #145
Merged
Conversation
## 构建修复(必须,阻断 build) 上游 f63a451(anomalyco#35270)把 electron-vite 的 Node 20.11+ CJS shim 从 正则插入改为 Rollup banner —— 正则插入会腐蚀打包的 TS(未终止字符串 字面量,node.js:605480)。本仓 ui-mac 的 electron.vite.config.ts 是 desktop 的镜像,75-commit sync 后同款损坏首次触发,build 红。镜像上游 banner 修复。 ## S29-γ verify 批(处理 38 项矩阵剩余项) 前置:修复 sync-upstream 连败三天(PR #143 husky 门 + #144 冻结冲突) → 真实 sync run 28847373458 成功,吸收 75 commits 零冲突,两 tripwire 实跑(prompt「No changes」/ anchor「intact」)。 翻 verified 6 项: - REQ-009:用户拍板重划验收(partial-clone ①③④ 划出),②⑤ 达标 - REQ-022:B 侧 prod e2e 三轮在册,矩阵 α 桶复核 - REQ-012 + C14:真实 sync tripwire 实跑 + strict transform build 全绿 - REQ-033:签名包 CDP 表单端到端真提交(config 落盘 + 密钥 {file:} 0600 + 账本 origin:created,明文零泄漏) - C25:非白名单 app 降级、白名单 exec 二路 CDP 实测 诚实未翻:E2(条目可见半边 ✓,首调用待真凭证)· B4(数据层达成, 验收③单个残留 home Instance 移出为 REQ-058)。 新登记 REQ-058(sidecar 惰性 cwd,B4 排查副产)。 矩阵累计 verified 15→21 / 剩 17。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
jinjunnn
pushed a commit
that referenced
this pull request
Aug 4, 2026
),闭合 #827/#828 的反向 pin 发布端追平了宿主合同:`generic-rules.v1.json` 的 `graph.maxComponents` 16 → 32、声明 schema 的 `root.leaves` maxItems 15 → 31,`input.bundle-overflow.invalid.json` 随之从 17 个组件加宽到 33 (否则它在新界下**不再是**溢出,那条负向语料会静默失效)。 **反向 pin 就此闭合**:vendored `host-contract-pin.v1.json` 现在指向 `jinjunnn/alpha-code@7d6ff40` + `33eab79c…`,与本仓活的宿主 artifact **逐字节相同**。 `extension-package-artifact.test.ts` 的「vendored host contract copy is byte-identical to this repository's live host artifact」自 #828 起一直红着,本跳转绿。 只走既有 vendor 机制(`bun run vendor`,commit-bound 逐字节从 `git show <pin>:<prefix>/<path>` 取): pin 的 commit 与 aggregate、lock、20 份 vendored 字节,以及两处**必然**点名旧 commit/hash 的 provenance 断言。文件集仍是同样 36 个(无增无删 ⇒ 无无主残留),`files[]` 清单一字未动。 宿主实现与宿主 artifact 一律未碰(`packages/ui-mac` 零改动,artifact hash 仍 `33eab79c63a476b96db5f1a64e024531393f78a63186ef2d6ef0f86bc11f3612`)。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EyTAtBpg7bDEPJVf1JjWav
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.
两部分
1. 构建修复(阻断)
75-commit sync 吸收上游 f63a451(anomalyco#35270)后,ui-mac
build红:electron-vite 的 Node 20.11+ CJS shim 正则插入腐蚀打包 TS(node.js:605480未终止字符串)。上游 desktop 已改用 Rollup banner 修复,本仓 ui-mac config 是其镜像,同款损坏首次触发 → 镜像 banner 修复。alpha-check + 全量 build 绿。2. S29-γ verify 批(处理 38 项矩阵剩余)
证据:docs/audits/2026-07-07-s29-verify §七 + shots/。
🤖 Generated with Claude Code