Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Summary needs some kind of emphasis on the last user prompt and/or agent action

Open J-Bockhofer opened this issue 8 months ago β€’ 4 comments

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

J-Bockhofer avatar Mar 17 '26 17:03 J-Bockhofer

πŸ€– Potential Duplicate Detected

This issue appears to be similar to:

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

github-actions[bot] avatar Mar 17 '26 17:03 github-actions[bot]

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.

github-actions[bot] avatar Mar 17 '26 17:03 github-actions[bot]

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.

Roboyette avatar Apr 15 '26 09:04 Roboyette

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. πŸ‘

AnilMaktala avatar Jun 23 '26 20:06 AnilMaktala