Repository navigation
说话人证据闸门补名字绑定与自我介绍判据 - #284
Merged
Merged
Conversation
added 2 commits
October 30, 2026 17:37
Agent-Executor: codex-pi Agent-Model: gpt-6-luna Agent-Effort: xhigh Dispatch-Id: dlg-20261030-090333-810d8f Task-Id: VideoTranscriptAPI-20261030-01
Agent-Executor: codex-pi Agent-Model: gpt-6-luna Agent-Effort: xhigh Dispatch-Id: dlg-20261030-090333-810d8f Task-Id: VideoTranscriptAPI-20261030-01
Required Gate v2 — 状态面板当前状态:pass · 可合并 当前裁决: PR 累计主审轮(影子): Gate 历史(v1;来源为持久化
|
| Run | Attempt | Head | 状态 | PR 累计主审轮(影子) | 收件人动作 |
|---|---|---|---|---|---|
| 41039224681 | 1 | 6cbdae5 |
unavailable |
— |
修基础设施 |
| 41039244011 | 1 | 5cdd6bb |
fail |
— |
要修代码 |
| 41049343417 | 1 | 6cd2b7d |
pass |
2/5 · collecting |
可合并 |
历史行按 run_id + run_attempt 去重并只增不删;删除本评论后可由 gate_terminal 制品重建。
Co-authored-by: Cursor <cursoragent@cursor.com> Agent-Executor: cursor Agent-Model: cursor-grok-4.6-high Agent-Effort: unknown Dispatch-Id: dlg-20261030-103637-6a27f4 Task-Id: VideoTranscriptAPI-20261030-03
Co-authored-by: Cursor <cursoragent@cursor.com> Agent-Executor: cursor Agent-Model: cursor-grok-4.6-high Agent-Effort: unknown Dispatch-Id: dlg-20261030-103637-6a27f4 Task-Id: VideoTranscriptAPI-20261030-03
超限老文件相对基线只许变短;编排与本卡新增用例改放到 verifier 模块和新测试文件。 Co-authored-by: Cursor <cursoragent@cursor.com> Agent-Executor: cursor Agent-Model: cursor-grok-4.6-high Agent-Effort: unknown Dispatch-Id: dlg-20261030-110447-5b14bb Task-Id: VideoTranscriptAPI-20261030-03
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Executor: cc Agent-Session: d2fc9dea-7e73-459c-a27f-1f25c1552fb6 Agent-Effort: medium
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.
背景
说话人命名的证据闸门有两个漏洞,外部顾问(fable5、Codex)读代码时发现,Codex 用探针实测复现:
Invented Person配上标题里的OpenAI也能通过核对,在「对话称呼 + 标题」的复合名路径下会被拼进显示名。此外,提示词把作者名写进了 title_credit 的定义,但核对时 title_credit 只认标题行,导致生产中 John Collison 被判 quote_missing。提示词里「作者署名即主持人身份」这个前提本身也不成立。
改动
name_not_in_quote。name_not_self_intro。判断方式是独立的一次 LLM 复核调用(speaker_self_intro_verifier.py):输入只包含程序生成的{id, name, quote},不带首轮推断的任何输出;输出四类分类(self_introduction / addressed_by_other / third_party_mention / unclear),只有 self_introduction 通过;缺 id 或返回域外值按 unclear 处理。每次infer()最多调用一次复核,没有待复核候选时不调用;结果写入 meta 的self_intro_verdict。引用来自出场前他人发言或第三人旁证时不复核,行为不变。correctness-self-introduction-whitespace。SPEAKER_EVIDENCE_RULES_VERSION从 4 升到 6(卡 A 一次,复核改造一次),旧的说话人映射缓存因此失效,会重新推断。_decide_display_name的采用规则不变(两人推测通路由后续卡 C 处理)。测试
make test通过(执行器报告)。tests/unit/test_speaker_self_intro_verifier.py,覆盖复核隔离、批量单次调用、缺 id、异常路径、缓存命中,以及端到端的实际请求内容。部署影响
合并后会自动部署。规则版本升级后,命中缓存的任务下次处理时会重新调用一次 LLM 推断说话人。
设计文档:分支
feat/vta-speaker-naming-261030下的docs/sessions/vta-speaker-naming-261030/design.md(卡 A)。🤖 Generated with Claude Code