bookworm-admin
|
42c52bca2b
|
Path A: strip legacy crypto/installer chain from public boot repo
Remove crypto-helper.js (secrets-*.enc decrypt helper), install.ps1 (legacy standalone installer), Bookworm-OneClick.bat (legacy entry). Decouple: auto-setup.ps1 clone-integrity probe now checks bw-launch.ps1 instead of crypto-helper.js (fresh installs survive removal; new Setup.exe already distributed); test-launcher-e2e.ps1 Test 3 drops the obsolete install.ps1 .lnk-contract cross-check; sync-version.js list pruned. The priority-4 secrets-decrypt block self-skips when crypto-helper.js is absent (guard at clone time). HEAD-only removal; stripped content carries no plaintext secret.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-30 01:34:16 +08:00 |
|
|
|
7c8540b542
|
feat(v3.1.1): E2E 护栏 + UX 4 项闭合 + 并发安全
闭合 v3.1.0 后续 4 个 HIGH 局限:
[L8] smoke 覆盖不到 .lnk 行为 → 引入 tools/test-launcher-e2e.ps1
4 测试套: PARSE / wrapper 6 特性 / .lnk Args 6 契约 / profile 双注入契约
集成到 build.ps1 后置, 失败 exit 1 拒绝发布
闭合 v3.0.10 -or 类 PSParser 漏网 bug 风险
[L5] Phase 1 总结弹窗仅有动作时弹 → 始终弹
老用户全就绪重跑 EXE 跳过总结不知是否完成
v3.1.1 移除条件, 永远显示 (零新装也弹 OK 态)
[L6] 更新.bat 完成无反馈 → GUI YesNo 询问立即启动
PS MessageBox: '同步完成. 是否立即启动 Claude?' Yes 触发 Start-Process 桌面 .lnk
[L7] profile 注入并发损坏 → FileShare.None 排他锁 + 5 次重试
WriteAllText 隐式 FileShare.Read 改为显式 FileStream
IOException catch sleep 50ms 重试, 5 次都失败 throw 触发 v3.1.0 显式弹窗
8/12 局限闭合 (剩余 L9-L12 计划 v3.1.2)
|
2026-04-25 23:16:08 +08:00 |
|