修复连续性 Hook 误拦与重复纠正,更新至 v0.16.1 - #88
Merged
Merged
Conversation
Owner
Author
独立验收 PASS(安装为合并后后置项)精确 head dc54a66 / base f626d59。新上下文验收者核对16文件任务diff,并独立运行中文/英文模板、合法HTML/泛型/链接、明确模板标记、Claude首次/重复Stop及其他协议验证。真实安装Cordis4.0.1加载实际插件并派发事件,最小Agent接口验证首次纠正、重复抑制、两Agent隔离、恢复循环、内容改变与插件卸载。 |
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.
当前连续性 Hook 把 HTML、泛型和链接当作占位符,无法识别已中文化的任务模板;重复停止纠正可能不断要求同一修复。本变更允许真实中文/旧英文状态、只识别明确模板标记,Claude Stop 首次阻止后对重复纠正输出未解决状态交接,DSH 对同一 Agent 的未改变错误内容仅 steer 一次,并在状态恢复后重新允许纠正。
Refs #86;Initiative #83 / rev 1。
候选完成审计:T1/T2 DONE;T3 的独立验收、CI、合并及清理仍待完成。A4 的版本子项通过,合并后的本地安装刷新由父 Execute 执行,当前保持 UNVERIFIED。无页面修改。父 Execute 拥有工作树、任务分支及清理责任;本 PR 不自动关闭 Issue。
协议依据:Claude Stop 文档 说明
stop_hook_active表示正在因停止 Hook 而继续;本补丁在重复状态只发送continue: true和用户可见systemMessage,不发decision: block或可继续 Agent 的 additionalContext。PreCompact 和其他平台协议保持原行为。