Skip to content

fix(wework): prepare credential-compatible rollback bridge - #5

Closed
Micro66 wants to merge 24 commits into
mainfrom
fix/wework-credential-bridge
Closed

Micro66 wants to merge 24 commits into
mainfrom
fix/wework-credential-bridge

Conversation

@Micro66

@Micro66 Micro66 commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

旧版只支持 v2 凭据,安全版迁移为系统保护的 v3 后直接回滚会丢失鉴权。本变更提供过渡包,原生模型密钥和云设备凭据可读写 v2/v3,保持已观察到的格式。清空/退出保留 v3 空标记,防止写入降级;使用异步系统保护并拒绝 Linux 固定密钥降级。

保留中间交付包。来源版本下限只是限制,任何升级边仍须绑定实际交付包的成功 CI 证据。当前 head c5a6c12,普通 PR CI 34 项成功、无失败;跳过的 Draft E2E 不计作通过。

验收按 suite19 的实际原生格式分层:v2→v2 必须通过升级、回滚后写入/读回/鉴权,并保留隔离或取消显式重试后不下载;涉及 v3 则必须再次升级并鉴权回滚写入的凭据。验证绑定实际归档 hash/size、源码及完整组件组合;个人凭据不进入快照。

验证证据:

  • 签名过渡包矩阵 42757189995 已全部成功,head c5a6c12,publish_release=false、build_only=false。macOS arm64 四个来源均完成三场景组,Windows x64 四个来源均独立完成核心场景;8/8 报告和原生凭据证据通过,实际为 v2→v2。目标 arm64 SHA256:6f38573c5d485daed06f7e59867c8b4dd703730068c78549a9f42f35581ee587;Windows x64:00599eb034e203399dc6beb05a829b84801ab5f77c32657c4adde13908fb8c3c。
  • 2026-11-10,用户处理两个候选签名的钥匙串访问后,未修改包或延长健康期限的本机完整三场景全部通过:正常升级/回滚、中断回滚恢复、失败激活恢复。四阶段证明 v2/storage2 → v3/storage3 → 回滚 v3/storage2 并写入新凭据 → 再升级 v3/storage3,模型鉴权及设备签名均通过。来源 0.6.7(source b297cbc,SHA256 c94d4300c0ee40ba195b65d220c51c42c0b1e43b24483a14c10a6ad5d5acf412);目标 0.6.8-beta.1(source fe50fab,SHA256 30db9031238515133d4d09e1747974d9e827004e65c75a74152c7cc919d9f87b)。这是 kind=candidate 的本机证据,不能认证正式发布升级边或后续程序。
  • 启动事务相关两分支 42 项聚焦、真实 Electron 并发/崩溃释放、Rust 16 项通过;正常释放使用测试指令文件并观察其状态,避免 Windows GUI stdin 结束和 macOS 文件监听初始事件漏收。历史失败记录保留,未靠重试掩盖缺陷。

仍缺安全 v3 目标正式交付包的完整矩阵、独立 Windows 证据及 macOS x64 等价证据。当前非发布流程未执行发布前的 x64 映射,不能以 x64 构建成功替代匹配源修订与自身包哈希的等价证据。设备签名不替代真实云登录/刷新验收。版本号下限不证明兼容,主分支上的同名 0.6.7 不得自动视为具备过渡能力。

插件准入策略和 Streamdown 2.5.0→@types/hast 3.0.5 的依赖边/packageExtensions 人工审计仍待决定;官方元数据与 tarball SHA512 校验不替代审计批准。保持 Draft,未发布、未合并,未标记安全事项完成。

协作 Issue:WEWORK2D8526-144(weWork需求)。

安全修复:wecode-ai#4479
主仓库:wecode-ai#4487
Fork:#5

FicoHu and others added 8 commits November 9, 2026 18:23
…ngs (wecode-ai#4380)

* fix(wework): unify remote project device onboarding

* docs(wework): describe shared device onboarding

* fix(wework): keep device setup bound to the selected flow

* fix(wework): clear command copy errors after recovery

* fix(executor): wait for native thread teardown before resuming

* fix(executor): bound native request admission futures

* test(wework): wait for connection and proposal readiness

* test(wework): preserve MCP identity in function model fixtures

* chore(wework): trace template device authorization failures

* test(executor): use an immutable blocked Git fixture

* fix(collaboration): await device discovery for cloud template creation

* test(wework): await calendar entries before opening them

* test(executor): reap cancelled Codex tool children on Linux

* test(wework): wait for temporary chat completion evidence

* test(wework): use Node for temporary chat log assertions

* fix(wework): reconcile project devices after onboarding

* test(wework): wait for the batch result before archiving

* fix(ci): authenticate the desktop ORAS download

* fix(ci): share authenticated ORAS setup with macOS

* fix(ci): restore the upstream ORAS setup action

---------

Co-authored-by: Wegent Test <test@wegent.local>
* fix(wework): isolate test Node runtimes and reclaim child processes

* fix(wework): bound script output draining after exit

* fix(wework): reclaim process groups after leader exit

---------

Co-authored-by: Wegent Test <test@wegent.local>
…ecode-ai#4385)

* feat(collaboration): add offline device cleanup and last-online time

* test(wework): enter requirements through native paste

* test(hooks): assert focused renderer timeout argument

* test(dingtalk): synchronize receipt recovery with execution startup

* fix(ci): use reachable Ubuntu mirror for E2E dependencies

* fix(ci): use the reachable Ubuntu archive in the Rust E2E builder

* fix(ci): fetch the verified Electron test archive through the release API

* fix(ci): separate Python bootstrap from competing cloud fixtures

* fix(ci): use immutable release assets for historical desktop fixtures

* test(ci): keep historical plugin download integrity coverage

* fix(ci): install the pinned ORAS binary from its official image

* fix(ci): share the verified ORAS installer across E2E producers

* revert(ci): restore the existing ORAS setup action

* fix(devices): protect registrations before local identity is known

---------

Co-authored-by: Wegent Test <test@wegent.local>
@Micro66 Micro66 closed this Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants