Repository navigation
og 分享卡片卡A:总结成功后生成分享卡片文案 llm_share_card.json - #248
Merged
Merged
Conversation
added 5 commits
October 16, 2026 00:44
Agent-Executor: glm-pi Agent-Model: glm-5.3-flash Agent-Effort: high Dispatch-Id: dlg-20261015-161137-54d4e3 Task-Id: VideoTranscriptAPI-20261016-01
Agent-Executor: glm-pi Agent-Model: glm-5.3-flash Agent-Effort: high Dispatch-Id: dlg-20261015-161137-54d4e3 Task-Id: VideoTranscriptAPI-20261016-01
Agent-Executor: glm-pi Agent-Model: glm-5.3-flash Agent-Effort: high Dispatch-Id: dlg-20261015-161137-54d4e3 Task-Id: VideoTranscriptAPI-20261016-01
Agent-Executor: glm-pi Agent-Model: glm-5.3-flash Agent-Effort: high Dispatch-Id: dlg-20261015-161137-54d4e3 Task-Id: VideoTranscriptAPI-20261016-01
Agent-Executor: glm-pi Agent-Model: glm-5.3-flash Agent-Effort: high Dispatch-Id: dlg-20261015-161137-54d4e3 Task-Id: VideoTranscriptAPI-20261016-01
zj1123581321
marked this pull request as ready for review
October 15, 2026 16:53
Required Gate v2 — 状态面板当前状态:pass · 可合并 当前裁决: PR 累计主审轮(影子): Gate 历史(v1;来源为持久化
|
| Run | Attempt | Head | 状态 | PR 累计主审轮(影子) | 收件人动作 |
|---|---|---|---|---|---|
| 38771696830 | 1 | 912f3ed |
skipped |
— |
无需动作(主审未跑,绿≠过审) |
| 38772805896 | 1 | 912f3ed |
fail |
— |
要修代码 |
| 38774451416 | 1 | 1a9d242 |
pass |
2/5 · collecting |
可合并 |
历史行按 run_id + run_attempt 去重并只增不删;删除本评论后可由 gate_terminal 制品重建。
Agent-Executor: glm-pi Agent-Model: glm-5.3-flash Agent-Effort: high Dispatch-Id: dlg-20261015-165806-1ca5a0 Task-Id: VideoTranscriptAPI-20261016-01
Agent-Executor: glm-pi Agent-Model: glm-5.3-flash Agent-Effort: high Dispatch-Id: dlg-20261015-165806-1ca5a0 Task-Id: VideoTranscriptAPI-20261016-01
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.
概要(卡 A:分享卡片文案)
总结(summary)成功生成后,另发一次独立的小型大模型调用,产出分享卡片文案,按固定契约落盘为任务缓存目录下的
llm_share_card.json,供并行的卡 B(出图接口 + 页面 og 标签)读取。设计文档:
docs/sessions/og-card-261015/design.md;调研事实:docs/sessions/og-card-261015/research.md(本 PR 首个提交原样入库;research.md 的 file:// 本地绝对路径链接改写为仓内相对路径以通过 public-scan 闸,文字内容零改动,原链接指向已销毁的调研 worktree 本就是死链)。落盘契约(A 写、B 读,已由测试锁死)
{"version": 1, "headline": "≤30 汉字(英文 ≤60 字符)", "points": ["1-3 条,每条 ≤40 汉字(英文 ≤80 字符)"], "generated_at": "ISO8601 带时区"}llm_summary.txt同一任务缓存目录,UTF-8,tmp + os.replace 原子写(B 卡不会读到半截 JSON)。config["llm"]["summary_model"]与summary_reasoning_effort(含风控 selected_models 覆盖)。行为语义
llm_share_card.json,新总结成功且新卡片生成成功后写入新文件;SKIPPED_SHORT / FAILED 轮次旧卡保持删除。验证
uv run --frozen pytest tests -k share_card:32 条全绿(processor 契约/拒绝/隔离 21 条 + coordinator 挂点 4 条 + llm_ops 落盘 wiring 8 条)。make test:唯一失败test_unix_domain_socket_is_not_blocked为继承红(AF_UNIX path too long,基线 552f496 的独立 worktree 复跑同样红,worktree 路径过长的环境性问题)。边界
llm_summary.txt;不做出图、路由、模板、依赖、Dockerfile(卡 B 范围);不回填历史任务;不新增数据库列或状态字段。后续(卡 B):
GET /og/{view_token}.png出图 +transcript.htmlog 标签,按上述契约读文件。