Summary needs some kind of emphasis on the last user prompt and/or agent action
Kiro Product
IDE and CLI
Feature Description
The problem:
You have a conversion with Kiro, then ask it to do something and then summarisation kicks in. The new session will more often than not be at a complete loss as to what it's supposed to do and won't remember the last action it was taking or expected to take.
Suggested solution:
The summarisation should place special emphasis on the last user prompt and the last action Kiro took to make sure it can better "continue" the task at hand, instead of needing the user to re-prompt, often with extra context.
Generally the summarisation feature seems very "aggressive" and often gets in the way if not currently following a spec document but having a back-and-forth with Kiro.
Suggestions on how you could tackle this:
- Pass the last user prompt and agent action over as is, in addition to the summary
- Tune the summary prompt (for the LLM call doing the summary) with conversation history and large scale tasks in mind (last prompt and action are extra important to include as well as the overall task/feature/bug that the conversion takes places around)
- Summarise things in the distant past more aggressively and don't or only contextually summarise the last prompt and action
- Combination of the above
Use Case
Every prolonged interaction with Kiro.
Additional Context
No response
π€ Potential Duplicate Detected
This issue appears to be similar to:
- #6132: Automatic Sprint/Task Review Before Context Compression (85% similar)
- #6053: kiro-cli better resume behavior (85% similar)
- #5165: after conversation compating, Kiro undoes the previous changes (85% similar)
- #5080: Manual Summarization Trigger (85% similar)
- #5009: Use context caching for Antrophic models API prompts (85% similar)
- #4992: New sessions immediately hit 85%+ context usage and enter summarization loop, even with minimal steering docs and simple prompts. This worked fine for 6+ months prior. (85% similar)
- #4638: εζSESSION (85% similar)
- #4493: ζ ζ³θͺε¨ζ»η» (85% similar)
- #4411: Auto Summarization (85% similar)
What happens next?
- β° This issue will be automatically closed in 3 days
- π·οΈ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with π to this message.
- π¬ Comment on the original issue if you have additional information
Why is this marked as duplicate? Both issues address the same core problem with context compression/summarization losing important information from conversations, with similar solutions proposed including preserving recent context and improving summarization strategies
Thank you for your feedback! π
The π reaction has been noted. The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
My experience with the Kiro CLI conversation summaries is similar. Even if I trigger compaction (/compact (plus optional custom prompt)) with a thorough briefing of the next steps as the custom prompt, the conversation summary that gets generated is always significantly behind/outdated. It is as if it forgets the most recent two or three turns of the conversation.
Thanks for the detailed breakdown! You're right that summarization can lose the immediate task context β the suggestions around preserving the last prompt + action are well-articulated. Tracking as a feature request. π