Repository navigation
Fix restore completion after PSReadLine command redraw BS - #65
Merged
Merged
Conversation
JavaZeroo
marked this pull request as ready for review
October 26, 2026 10:29
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…space-restore-r61 # Conflicts: # docs/FEATURES.md
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.
工作区 v2 恢复的三会话已完成命令,但 PowerShell 命令编辑重绘中的一个 BS 让运输完成 oracle 永久拒绝整段输出,造成原 stage1 超时。本修改只把首次匹配输出之前含 BS 的记录视为不可信,直到真实 LF 才验证后续完整输出与新提示符;输出匹配后的 BS、回显拼接、未知/截断控制封装仍拒绝。产品恢复逻辑、UTF-8 字节、8192-byte 观测上限及原 30/40 秒期限不变。
验证:两份原始失败运输的四谓词分别重放,只有 PowerShell 的目录/版本谓词从 false 转 true;原始过程结果保持失败。41 个独立断言(保留原 32 个,新增 2 正例/7 负例)通过。默认/system 与候选
.4/system 分别通过原 unittest 方法,各覆盖两轮保存、普通恢复和超宽钳制恢复,以及目录、版本、配置、几何、尺寸与 Job/desktop 回收。证据记录在experiments/shell/results/2026-10-26-workspace-restore-bs/validation.json;实现源码固定3775a8e,文档/证据提交独立。官方实验后端及完整 R2 验收仍独立进行。独立 Standards/Spec 均通过:重算79项身份、两份原始字节8谓词、旧helper反事实和12次真实结果;没有弱化原期限/回显排除/UTF-8或非法控制拒绝。合并前等待本head的CI。
Fixes #61.