fix: repair Goal execution and validation failures - #573
Closed
LeXwDeX wants to merge 22 commits into
Closed
Conversation
chore(release): promote v1.0.40 to main
chore(release): promote DAG reliability fixes to main
fix(hooks): repair execution, decisions and lifecycle
This was referenced Sep 7, 2026
LeXwDeX
marked this pull request as ready for review
September 7, 2026 06:24
This was referenced Sep 7, 2026
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.
Closes #568
Closes #569
Closes #570
Closes #571
Closes #572
Closes #574
Closes #575
Why
Goal 在用户开始新一轮操作后仍可能提交旧判定,并可能因交互提问或状态命令中断自动执行。生产依赖装配还缺少 Goal 服务,使
/goal status退化成普通模型请求。此次修复也处理了完整测试中发现的 PTY 环境验证时序失败。What changed
/goal --max-turns N <目标>和/goal resume --max-turns N,保留已用轮数。Evidence
使用固定 Bun 1.3.14。新增真实 AppRuntime 和 SessionPrompt/GoalLoop 组合回归,覆盖迟到 done/blocked/continue、25 次连续状态查询、子目标编辑、三类并发入口和普通/自动轮次中的 question。
修复提交
9a651339b1df92e0739a9653e7f08f4c807f7a58已推送。该 head 的 Typecheck、Linux Unit Tests、Linux/Windows E2E 和 CodeQL 已通过;SpecGit 远端验收暴露本地 worktree 绑定无法匹配 CI 普通 checkout。全部修复已作为祖先纳入 dev 候选 PR #577,将通过正式分支绑定和当前 head 验收完成集成。Checklist