Repository navigation
docs(#1445): 条目形状 × fail-open 勘破 —— 命题自洽但对模型面惰性,49 版渲染只换过两次,推荐不做 - #1460
Merged
Merged
Conversation
第三轮勘破,只答四问不落闸,不改任何 .ts。 - Q1:「认出条目形状才声称、认不出一律放行」作为传输命题自洽(没有输入被拒);但模型只看 `output` (websearch.ts:186 / message-v2.ts:299),两个分支交给模型的字节逐字相同 ⇒ 对模型面惰性, 要让模型对「缺席」有反应就得把 fail-closed 搬进提示词。 - Q2:四种真实负载经两份生产 parseResponse 取文本后:D 放行不声称 / Z 放行不声称 / 今日 Exa 声称 3 条 / 今日 Parallel 声称 10 条;六条变异臂证明识别器看的是行结构。 - Q3:npm 上 exa-mcp-server 全部 49 个发行版的 web_search 渲染只有三代 (JSON.stringify 324 天 33 版 → 直出 /context 141 天 12 版 → Title: 行 184 天 4 版仍在), 上一版「无底洞」是错的;托管端发版史无法测,npm 史是代理量。 - Q4:三个候选逐个定价。识别器在传输文件里就是一条正文匹配,与在途 AC3 的源码普查闸互斥; 推荐不做,并写出若 owner 仍要「只记录」那一格时的 AC 形状。 证据全部离线(不打 Exa 端点):docs/verification/2026-09-27-1445-exa-entry-shape-fail-open/。 Refs #1445 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
Refs #1445
第三轮勘破,只答四问,不落闸,不改任何
.ts。把上一版递给 owner 的「条目形状闸」从 fail-closed 换成 fail-open 重问一遍。结论
output(packages/opencode/src/tool/websearch.ts:186→session/message-v2.ts:299;core 侧toModelOutput同理),两个分支交给模型的字节逐字相同 ⇒ 它对模型面是惰性的;要让模型对「缺席」有反应,就得把 fail-closed 搬进提示词。价值只剩 UI 与日志两个消费者。parseResponse取文本后:D 放行不声称 / Z 放行不声称 / 今日 Exa 声称 3 条 / 今日 Parallel 声称 10 条;D 与 A 可分,D 与 Z 不可分(fail-open 既定)。六条变异臂证明识别器看的是行结构而非恒真恒假。exa-mcp-server全部 49 个发行版(2024-12-17 → 2026-08-18)的web_search渲染只有三代:JSON.stringify(response.data)324 天 33 版 → 直出/context141 天 12 版 →Title:行 +_meta.searchTime184 天 4 版(仍在,且就是托管端今天的渲染)。上一版「无底洞」是错的;托管端自己的发版史无法测,npm 史是代理量。startsWith("Title: ")一类的正文匹配,与在途feat/1445-no-silent-degrade的 AC3 源码普查闸(「startsWith只认{与data:」)互斥。若 owner 仍要「只记录」那一格,文档末尾写了 AC 形状(按函数名白名单 + 变异臂)。文档影响
docs/architecture/2026-09-27-exa-entry-shape-fail-open-recon.md(勘破结论;不改上一轮那份,避免与在途 lane 的追加段冲突)docs/verification/2026-09-27-1445-exa-entry-shape-fail-open/(三个脚本 + 生产路径探针 + 结果;全部离线,不耗 Exa 额度)docs/README.md加两行索引(插在与在途 lane 改的那一行不相邻的位置)本地门
见 PR 评论/回报里的真实输出。
主动没做的
mcp.exa.ai的发版史(拿不到)🤖 Generated with Claude Code