Skip to content

chapters 种子经 llm_task 交接时透传真实 kind(修 #227 最后断链) - #231

Merged
zj1123581321 merged 1 commit into
mainfrom
card/VideoTranscriptAPI-20261015-06
Oct 10, 2026
Merged

zj1123581321 merged 1 commit into
mainfrom
card/VideoTranscriptAPI-20261015-06

Conversation

@zj1123581321

Copy link
Copy Markdown
Collaborator

修复 issue #227 最后断链:llm_task 交接时透传真实种子 kind

#228(种子取值)与 #229(标签采纳 + reader 精确复现)之后仍有一个断点:transcription 分层补种把种子(dialogs 优先,518 段)放进 llm_task["timeline_segments"] 交接,_resolve_chapters_timeline_segments 分支 1 把 kind 硬编码为 "segments"——产物标签再次失真,notes reader 走 load_segments(556 段)与 chapters 实际锚点(518 段 cached dialogs,fp b5bebec0a91b)错配(生产实证 task_61b56024)。

改动

  • transcription.py:种子解析处记录真实 kind(dialogs → cached_dialogs,load_segments → segments),写入 handoff timeline_segments_kind
  • llm_ops.py:分支 1 改读透传 kind,缺省回退 "segments"(旧调用方/tests 直传行为不变)
  • 词表未新增(锁定决策)

验证

  • 红验:3 条测试修复前全红(AssertionError,原文在报告)
  • Narrow-Verify 78 passed(主脑实测);全量 3891 tests / 1 已知环境继承红(AF_UNIX,见 agent-config#3825)/ 0 新红
  • introduced_by 取证:分支 1 硬编码 = b5415be;transcription dialogs 优先 = 45e9102

部署后动作

删 BV1fcHD6cEw3 的 llm_chapters.json → 重提重生成 → 触发详细笔记,#227 闭环(主脑执行)。

Agent-Executor: glm-pi
Agent-Model: glm-5.3-flash
Agent-Effort: high
Dispatch-Id: dlg-20261010-161744-8c9581
Task-Id: VideoTranscriptAPI-20261015-07
@github-actions

Copy link
Copy Markdown

Required Gate v2 — 状态面板

当前状态:pass · 可合并

当前裁决:code_pass / primary_pass

PR 累计主审轮(影子):history_unavailable(未估算累计轮数)

历史可能不完整:1 个制品处理失败:URLError;1 个历史重建预算耗尽;1 个GitHub terminal history unavailable: URLError

Gate 历史(v1;来源为持久化 gate_terminal 制品)

Run Attempt Head 状态 PR 累计主审轮(影子) 收件人动作
38069606712 1 9be85e1 pass history_unavailable 可合并

历史行按 run_id + run_attempt 去重并只增不删;删除本评论后可由 gate_terminal 制品重建。

@zj1123581321
zj1123581321 merged commit 45c9f56 into main Oct 10, 2026
13 checks passed
@zj1123581321
zj1123581321 deleted the card/VideoTranscriptAPI-20261015-06 branch October 10, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant