Repository navigation
Conversation
🦋 Changeset detectedLatest commit: 505396e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
commit: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 505396e77f
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| "@moonshot-ai/kimi-code": patch | ||
| --- | ||
|
|
||
| Shorten repeated goal and plan mode reminders. |
There was a problem hiding this comment.
Name the reminder guidance that users lose
For Goal/Plan mode users who rely on repeated guidance, this release stops repeating the full Goal audit and removes Bash-permission, auto-mode assumption, and multi-approach guidance from sparse Plan reminders, with no switch to restore the previous cadence. The changeset only says reminders are “shorten[ed],” so it does not tell upgrading users what behavior is no longer available on sparse turns; name these losses and state that there is no escape hatch.
AGENTS.md reference: AGENTS.md:L115-L117
Useful? React with 👍 / 👎.
|
已由统一 PR #4521 收拢,目标分支为 release/2026-10-29;保留原分支与历史,不再单独合并此 PR。 |
Requirement or Bug
长 Goal / Plan 会话每轮都重发完整提醒,动态历史开销随轮次线性增长;改为首轮及状态变化时发 full,稳定轮次发 sparse。
Bug Reproduction Steps
N/A
Root Cause
N/A
Code Changes
Stacked on #4483(从中拆出,便于单独审查状态迁移逻辑)。
Goal active 提醒的选择逻辑:
GoalInjection新增IAgentContextMemoryService依赖,用于检测上次注入后的 compaction。Behavior Changes and Affected Users
受影响人群:所有客户端(TUI、print 模式、desktop 与 web、VS Code、ACP、SDK)中使用 Goal mode 或 Plan mode 的会话。Tower reminder 不在本 PR 范围内。
goalInjection.test.ts与 compaction 回归钉住;动态进度与预算仍每轮更新options、Write/Edit 的详细用法ExitPlanMode的optionsschema / 说明Goal 的
origin.disclosure新增当前 goal 的状态、目标、预算档位与工具可用性,用于恢复时决定是否重发 full;既有 wire record 的其他字段不变,旧会话没有该 disclosure 时按需要 full 处理。参数 schema、配置键、环境变量与 kap-server API 均未修改。文档无需更新。测试与覆盖:
goalInjection.test.ts+planModeInjection.test.ts:连续 sparse、暂停恢复、预算跨档、sparse 后 compaction、其他注入与真实用户消息test/features/goal、test/features/plan、test/agent/fullCompaction等 22 个测试文件共 646 条通过(含 Goal 十轮 continuation)Checklist
/approve).gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update.