Conversation
Owner
Author
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.
对应 A05,基于 #9 的堆叠 PR;本差异只处理启动结果。
此前只要 PowerShell 自身 spawn 成功就返回成功,Agent 不存在或工作目录无效也无法反馈。现在等待启动桥完成,检查退出状态并解析 Start-Process 返回的子进程号。非零退出、空输出、零 PID 和无效输出都返回错误,保留启动失败原因。
验证:6 个 launcher tests 通过,包含失败退出带伪 PID、有效 PID、空值、零值及多行无效输出。rustfmt/diff check 通过。原生 Windows 启动失败场景仍需实测,保留草稿。
返回成功表示系统接受进程启动,不表示 Agent 已连通模型服务。
2026-09-23 repair verification
8180a4b8f9b94aa909a848d3b41cc115b29fac0b.