Repository navigation
Conversation
Collaborator
Author
2 tasks
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 #998(P7:区分恢复后的重复教学与压缩后的漏教)。工作流 #978,总索引 #1000。
与既有 PR #1008(修原讨论 #929)的集成顺序见下。
改前 / 改后
改动
src/prompt-injection/index.ts、src/prompt-injection/types.ts:新增 teachingState / teachingContribution(读 deriveMessages + replaceGeneration)src/publication/ptc.ts:batching provider 改用该状态src/adapter/dsh/types.ts:类型补充验证
撤回本次 src 改动后重建:prompt-injection 相关断言转红(复现用例与三条验收全部失败)。
集成顺序(重要)
PR #1008 把一次性教学改到工具结果的
additionalContexts(ephemeral 通道)。本 PR 的判定依赖教学进入消息历史;若 #1008 先合,本 PR 需 rebase 到 ephemeral 通道再验证持久投递。建议 #1008 先合,两 PR 不同时合。