项目 lead 支持自动交接并在全新会话中继续任务
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 丹绿
**客户端版本**: 0.1.20
---
## 使用场景
在持续时间较长的项目协作中,lead 的会话上下文会不断累积。对于 Fable 等能力较强但依赖良好上下文管理的模型,过长、冗余的上下文会影响后续判断与执行质量。
目前为了让一个全新上下文的 lead 接手,用户需要自行管理 session,并在 workspace 中手工编写 handoff,再设法让新的 lead 延续任务。这增加了操作成本,也容易遗漏关键决策或待办事项。
## 诉求
项目中的 lead 应支持会话轮换:当当前上下文过长时,lead 可以先生成完整交接信息,再直接创建一个全新的 lead 会话,并通过协同插件把当前项目续接给新 lead。
新 lead 应在干净的上下文中获得继续工作所需的项目目标、已完成事项、关键决策、未完成任务、阻塞项和必要引用,从而无需用户手工创建 handoff 文件或重新说明背景。
## 建议方案
- 为 lead 或协同插件提供“交接到新会话”的能力。
- 当前 lead 调用该能力时,自动生成结构化 handoff。
- 协同插件创建一个全新的 lead session,并把 handoff 投递给新 lead。
- 新 lead 自动关联原项目并继续当前任务,旧会话与新会话之间保留可追溯关系。
- 整个过程尽量由 lead 一次完成,不要求用户在 workspace 中手工编写或搬运 handoff。
---
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN
Contributor guide
Research direction
The issue does not name files, tests, or entry points. Start by locating the lead session and collaboration-plugin entry points, then trace how projects and sessions are created and linked. Done means a lead can generate structured handoff information, create a fresh lead session, continue the project there, and preserve the relationship between sessions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100