Skip to content

fix: runtime-patch verify skips unused wrapper smoke (#32) - #41

Merged
Jia-Ethan merged 2 commits into
masterfrom
fix/p0-verify-and-p1-series
Sep 23, 2026
Merged

Jia-Ethan merged 2 commits into
masterfrom
fix/p0-verify-and-p1-series

Conversation

@Jia-Ethan

Copy link
Copy Markdown
Owner

Fixes #32.

runtime-patch 模式下 leftover wrapper 会从已打补丁的 glm/zcode.cjs 反推原始锚点,verify 恒失败,和 doctor.patched 矛盾。

  • verify 在 runtime-patch 下默认跳过 wrapper --help smoke;判据改为 zcode_runtime_patched + competing_context(CLI-prefix / OVERRIDE / MEMORY skip)。--smoke 仍可强制跑。
  • wrapper 在 live 文件已无 vendor needle 时改读 runtime_original_backup,或直接放行已含 ZCODE_KEYSMITH_SYSTEM_FILE 的 runtime。
  • 新增 recover:预览/重打补丁、补 follow-up、bootstrap 掉出 GUI 会话的 LaunchAgent。锚点不认识或 plist 缺失则失败关闭。
  • 共用 breaktest/series-bank.txt / docs/series-eval.md。

0.3.3 仍待发 tag。合入后请打 v0.3.3 并挂 zip + SHA256SUMS。

verify no longer fails because leftover wrapper --help cannot find vendor
needles on an in-place patched glm/zcode.cjs. recover reapplies the patch
and bootstraps dropped LaunchAgents. Shared series-eval cell IDs land in
breaktest/series-bank.txt.
The leftover wrapper --help path execs NODE_COMMAND. The fixture node is a
shebang stub, which CreateProcess rejects (WinError 193). Import
patched_runtime_path instead of spawning node.
@Jia-Ethan
Jia-Ethan merged commit 8f92e2c into master Sep 23, 2026
6 checks passed
@Jia-Ethan
Jia-Ethan deleted the fix/p0-verify-and-p1-series branch September 23, 2026 10:35
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.

[Bug] runtime-patch 模式下 verify 恒失败:wrapper smoke 从已打补丁的 App 文件里反推原始锚点

1 participant