mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 02:40:22 +08:00
① #22 BASH_TIMEOUT_RAISED 非幂等:pattern 以 `timeoutMs: 60000` 结尾,替换产物 `600000` 仍包含它,markers 子串判断恒真 → autoApplyOnStart 每次启动再补一个 0。 实测宿主已涨到 600000000000000(n 次开机 = 60s × 10ⁿ)。 改为锚定 bash-sandbox 行内、`[^\n]*` 吃到行尾的正则,产物收敛不动。 ② applyReplacementsToText 支持正则 pattern;并修掉 `out.replace(re, () => …)` 回调形态导致 `$1` 不展开(会把字面量 `$1` 写进宿主文件)的问题。 补 matchesPattern() 供 patchHasRemainingWork 复用,避免带正则的补丁反复写盘。 ③ #4 / #26 markers 补 bundle 布局:web-app / headless 的 persona 挂在 `persona:` 键上,清掉后是 `persona: ""`,现有 markers 命中不了 → 已完成的清洗在面板上永远报"待应用"。 ④ client.js 跳过态文案:0.1.5 里 #39 这类未应用的真实原因是"本版不需要", 原文案"没装或官方已改写"会误导。 连跑两遍 applyPatches → 0 files written(不动点);42 项 CLOSED 35 / N-A 5 / UNTOUCHED 2,non-optional unresolved 为空。