适配 GPT-6 Astra 的新上下文管理:跨窗口笔记与历史上下文搜索
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: Ma Marg
**客户端版本**: 0.1.73
---
## 希望解决什么
希望在 Cindy 使用 Codex + GPT-6 Astra 进行长时间任务时,能够使用 OpenAI 新公布的上下文管理方式,减少反复摘要后遗漏早期要求、已有结论、测试结果或失败原因的情况。
## 这里说的新能力
OpenAI 的 Astra 发布说明介绍了一种 Codex 实验功能:模型在不同上下文窗口之间保留笔记;此前的上下文窗口仍可搜索,因此即使某条信息没有记入笔记,也能从先前的消息和工具输出中找回,而不是反复把全部内容压成一份摘要。
官方说明:https://openai.com/index/gpt-6-astra/ (Coding 部分)
## 对 Cindy 的期待
希望维护者确认 Cindy 是否已经支持这套新机制;如果尚未支持,希望评估适配。
- 若已经支持,希望有清楚的开启说明或入口,并说明适用的 Codex 版本、模型及账号条件。
- 希望用户能够知道当前会话是否真正使用了新机制,而不只是底层配置接受了某个开关。
- 若暂时受版本、账号或接入方式限制,希望明确说明,避免用户误以为选择 Astra 后就自动启用了它。
## 与已有讨论的区别
本建议不是扩大上下文窗口、调整传统自动压缩阈值、增加手动 `/compact`,也不是请求体网络压缩。
此前的 #3566 讨论 Codex 原生远程压缩接入,#3470 讨论上下文窗口配置传递,#3711 讨论手动压缩入口。本建议单独关注 Astra 发布说明中的“跨窗口笔记 + 可搜索的历史上下文”。
目前没有确认 Cindy 不兼容,也没有完成该机制在 Cindy 中的端到端验证,因此按功能适配建议提交,而不是认定为现有故障。
---
## 提交时的任务环境
仅代表提交时快照,不一定是故障环境。OS 来自提交客户端本机,不含 SSH 远端主机;Harness / 模型来自当前任务。与运行环境无关的反馈可忽略本段。
**OS**: win32 x64 (10.0.22621)
**Harness**: Codex
**Model ID**: ` gpt-6-astra `
**界面语言**: zh-CN
Contributor guide
Research direction
No files, tests, or entry points are named. Start by reviewing Cindy’s current Codex integration and the related discussions in issues #3566, #3470, and #3711, then verify whether Astra’s cross-window notes and searchable history can be exercised end to end. Done should be a scoped implementation or a clear support status with an entry point, compatibility requirements, and visible session state.
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
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100