Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/compaction-summary-task-status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Reduce post-compaction task drift: the compaction summary now records whether each earlier request still visible in the conversation was finished, abandoned, or superseded, so the agent no longer restarts long-completed work after auto compaction.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ continue:
above all the actual ask. If several requests are in play, say which one governs
the next move, and re-quote any still-relevant earlier request that may have
scrolled out of the kept messages.
- The fate of every earlier request still visible in your kept messages: old
user prompts survive compaction verbatim, but with none of your answers
attached, so a long-finished request reads exactly like a pending one. Go
through them and mark each plainly — done (and where its output landed),
abandoned, superseded by a newer request, or still open. This applies doubly
to kept messages that carry their own instructions, such as a skill
activation or slash command: record whether you already carried that
instruction out. Never leave a completed request unmarked — the next turn
re-executes anything that looks unanswered.
- The instructions and constraints currently in force (user preferences,
project rules, environment and tooling limits) — condensed to what still
matters, keeping decisions you have already settled (what you chose and why)
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
The conversation so far has been compacted to free up context. What follows is your own working summary of this task — use it to continue your train of thought rather than starting over. Treat it as notes, not proof: where it says a step was done, tests passed, or a fix worked, verify that yourself before relying on it. Any user messages earlier in this context are preserved verbatim from the compacted conversation; where a system-reminder note among them marks an omitted middle section, the user messages it replaced are covered by this summary.
The conversation so far has been compacted to free up context. What follows is your own working summary of this task — use it to continue your train of thought rather than starting over. Treat it as notes, not proof: where it says a step was done, tests passed, or a fix worked, verify that yourself before relying on it. Any user messages earlier in this context are preserved verbatim from the compacted conversation, stripped of the answers they originally received; where the summary marks such a request as completed, abandoned, or superseded, do not start it over. Where a system-reminder note among them marks an omitted middle section, the user messages it replaced are covered by this summary.
Loading