RFC: cross-session restoration and semantic handoff / 跨会话续接与语义交接 - #4344
Merged
Merged
Conversation
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
This was referenced Sep 13, 2026
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.
After #4330, cross-session continuation still needed an executable design rather than a promise to preserve context. This bilingual RFC amendment distinguishes compatible resume, same-Agent session replacement and cross-Agent takeover, then specifies context preparation, receiver reassessment, execution fencing and automatic return to the original conversation.
It integrates xiaods’ shipped #4094 Stage A with optional Obelisk
resume_or_handoff_gaprecall: deliberate handoff preserves current obligations and decisions; historical retrieval only fills remaining evidence gaps. Existing work authority remains the writer, and basic continuation does not depend on an index or broader archive permissions. Both related RFCs and the RFC index are updated.#4330 之后,补齐明确的跨 session 续接方案:区分原会话恢复、同 Agent 换会话、跨 Agent 接管,定义稠密 brief、重新判断、旧执行者隔离及回原入口自动报结论。吸收 xiaods #4094 与 Obelisk RFC,保持当前工作权威唯一;历史召回只补缺口,不成为基础续接的前置。三份 RFC 的中英正文及目录同步。
Delivery plan / 交付计划:新增 A17–A20,覆盖突然退出、旧会话复活、无 provider/越界召回和压缩遗漏;将其接入 M2/M3 及现有前端、飞书、CLI 的验收。按无索引同 Agent 替换 → 跨 Agent 接管与回传 → 可选历史召回推进。
Validation / 验证:
python examples/docs-governance-smoke.pypassed with the project Python 3.13 runtime.git diff --checkpassed; bilingual subsection/acceptance-ID parity and changed-file privacy checks passed.Product entry points / 产品入口:documentation-only; no runtime, frontend bundle, Lark behavior or provider default changes in this PR. The RFC explicitly requires companion controls/readback/feedback and real packaged-frontend/Lark/CLI acceptance in each implementation slice. These future acceptance cases have not yet been executed. Proposal remains review-required; no self-merge.