Repository navigation
Conversation
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.
已有数字 PTY 的窗格重连时,stable owner 暂缺会落入 fresh,本地 provider 随后丢弃普通数字 sessionId,另开空 shell。共享 host spawn 入口现在要求同一 PTY 的正向 absence 或 stop 证明,缺失时保留恢复状态并拒绝 fresh;owner 恢复后可接回原进程。
同时修正四个判断分支:ambiguous ownership 不算已安置;部分 live PTY 未安置时不能先报告 adopted/structured;window 不再因 live reattach 没有回放且有睡眠记录而清绑定重开;pending 启动空结果或旧 generation 不立即触发另一次启动。已确认退出、普通新建和独立 dead sibling 的正常恢复保留。没有新增 wire 字段。
验证:
pnpm tc、13 文件 224 项 feature checks、架构/Fork/三项本地化以及按 fork/integration 比较的 changed-code quality 通过。用户 Mac 未安装本轮代码,运行中的应用未重启;现场 PTY 16 的完整发起链仍缺 breadcrumb,不把源码可达反例当成该次事件的唯一归因。整体 journal 保持 testing。
Fixes #95