fix(sshx): 由 AI 解释 oracle 返回并容忍格式偏差 - #1056
Merged
Merged
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.
nyxid oracle的回复可能包含 Markdown、自然语言或不一致的字段格式,原有精确封装要求会把内容明确的结果送入重试。现在由 caller AI 理解完整的紧凑最终答复,再生成 canonical envelope;例如approved、无标签的批准或拒绝、同义 verdict 镜像都可按明确语义归一化。保留全部实质信息、限定条件与 caveat;缺少日志引用时可指向同一次调用实际保存的原始回复。含糊、矛盾、未完成或身份不匹配的结果仍走原有失败路径。canonical verdict、完成证据和权限边界保持严格,不新增自然语言 parser 或同义词字典。
同步 Lean 投影与来源模型、37 项行为语料及独立采集结果校验器。为容纳已评审的接收规则,将 SKILL 字节上限从 65,536 调整为 68,000,保留 451 行上限。
验证:
lake build;最终语义说明调整仅涉及注释和 trace,可执行声明保持一致。quick_validate、git diff --check通过。这些证据覆盖有限样例和整理后的记录约束,不代表机械证明任意自然语言解释正确。