Answer: When context approaches the compaction threshold, the agent generates a structured LLM summary covering tasks completed, files modified, key decisions made, and next steps. The summary is persisted as a session checkpoint in the IDE's internal session storage, and on next session load only the summary is read rather than the full conversation history, making restarts fast regardless of session length. Status: Confirmed Entry: tool/kiro/memory-and-context/compaction-how-it-works Revision: 2 Digest: sha256:40631f581eec5fe3 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:43:07Z Last changed: 2026-11-20T13:30:04Z (Result: — → This makes restarts fast regardless of session length.) Last verified: 2026-11-20T13:30:04Z Next check: 2026-11-21T13:30:04Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Summary contents | tasks completed, files modified, key decisions made, and next steps | [1] | 2026-11-20 Storage location | the IDE's internal session storage | [1] | 2026-11-20 What is read on next session load | only the summary is read — not the full conversation history | [1] | 2026-11-20 Result | This makes restarts fast regardless of session length. | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "Improved compaction - What's new in 1.0 - IDE 1.x - Docs - Kiro". https://kiro.dev/docs/ide/whats-new-v1/compaction/ Role: primary. Accessed: 2026-11-20T13:30:04Z Quote: "tasks completed, files modified, key decisions made, and next steps" (Supports: Summary contents) Quote: "persisted as a session checkpoint in the IDE's internal session storage" (Supports: Storage location) Quote: "On next session load, only the summary is read — not the full conversation history." (Supports: What is read on next session load) Quote: "This makes restarts fast regardless of session length." (Supports: Result) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: eba10e041ce1a7a2f620c45a7598746705562be078fbe8ea149b426414602df3 (captured 2026-11-20T13:30:05Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T13:30:04Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:30:04Z Last attempt: 2026-11-20T13:30:04Z Notes and limitations: Extracted automatically from a single official source (section "How it works"). Related: https://latestn.com/tool/kiro/memory-and-context/compaction-preserved-vs-summarized What does Kiro preserve versus summarize during compaction? https://latestn.com/tool/kiro/memory-and-context/compaction-threshold How do I change the compaction threshold in Kiro Crew? https://latestn.com/tool/kiro/memory-and-context/compaction-what-is-preserved What information is preserved when Kiro compacts the conversation? https://latestn.com/tool/kiro/memory-and-context/add-steering-session-folder How do I add steering files to a Kiro Crew session folder? https://latestn.com/tool/kiro/memory-and-context/back-up-memory How do I back up Kiro Crew memory? https://latestn.com/tool/kiro/memory-and-context/cli-chat-conversation-persistence How does Kiro CLI persist conversations between sessions? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T13:30:04Z | changed | Result: — → This makes restarts fast regardless of session length. | [1] 2026-11-20T13:30:04Z | changed | What is read on next session load: — → only the summary is read — not the full conversation history | [1] 2026-11-20T13:30:04Z | changed | Storage location: — → the IDE's internal session storage | [1] 2026-11-20T13:30:04Z | changed | Summary contents: — → tasks completed, files modified, key decisions made, and next steps | [1] 2026-11-20T13:30:04Z | changed | restart speed: restarts fast regardless of session length → — | [1] 2026-11-20T13:30:04Z | changed | next session load: only the summary is read → — | [1] 2026-11-20T13:30:04Z | changed | project directory: not written to your project directory → — | [1] 2026-11-20T13:30:04Z | changed | storage location: IDE's internal session storage → — | [1] 2026-11-20T13:30:04Z | changed | summary contents: tasks completed, files modified, key decisions made, and next steps → — | [1] 2026-11-13T03:43:07Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/memory-and-context/compaction-how-it-works/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/kiro/memory-and-context/compaction-how-it-works POST: https://latestn.com/dispute/tool/kiro/memory-and-context/compaction-how-it-works with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/memory-and-context/compaction-how-it-works?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does improved compaction work in Kiro? Revision 2, last verified 2026-11-20T13:30:04Z. https://latestn.com/tool/kiro/memory-and-context/compaction-how-it-works (accessed 2026-11-21T10:02:01Z). @misc{LatestN_tool_kiro_memory_and_context_compaction_how_it_works_r2, title = {How does improved compaction work in Kiro?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/memory-and-context/compaction-how-it-works}}, note = {Revision 2; digest sha256:40631f581eec5fe3; last verified 2026-11-20T13:30:04Z; accessed 2026-11-21T10:02:01Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/kiro/memory-and-context/compaction-how-it-works