published fresh until

Kiro: choose when automatic compaction starts

Summary As of November 2026, Kiro CLI 3.3.0 (2026-11-12) lets V3 sessions choose an auto-compaction threshold: default 80%, range 0–100, at most two decimals. Workspace .kiro/settings/cli.json overrides the global default. Set kiro-cli settings compaction.autoCompactionThreshold <value>.

Not for Kiro IDE 0.x Summarization.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: On Kiro CLI 3.3.0 or later, set kiro-cli settings compaction.autoCompactionThreshold <value>.

Short answer

The 2026-11-12 CLI 3.3.0 release adds threshold control for V3 sessions. Use the CLI setting or the in-session settings screen. Saving the global default affects the next session you start or load.

What to do

ValueAction / meaning
CLI 3.3.0; 2026-11-12; V3Minimum release and session engine for threshold control.
compaction.autoCompactionThreshold; default 80Percentage of context use at which automatic compaction starts.
0–100; at most two decimal placesAccepted setting values; the interactive session applies the harness-advertised range.
kiro-cli settings compaction.autoCompactionThreshold <value>Set the global threshold.
/settings; Compaction; Global defaultSee the current threshold, toggle automatic compaction, and edit the global default. The editor displays the harness range and default.
.kiro/settings/cli.jsonWorkspace compaction.autoCompactionThreshold overrides the global default.
compaction.excludeMessages; default 2Minimum recent message pairs kept verbatim.
compaction.excludeContextWindowPercent; default 2Minimum context-window percentage kept as recent messages. The larger of the two exclusion settings wins.
/compactManual compaction trigger is CLI-only; automatic compaction is available in IDE, CLI, Web and Mobile.
PreCompact; PostCompact; CLI 3.1.0+; V3Before/after hooks; the first may refuse compaction, the second receives its summary.
IDE 1.4.178+; 30,000 charactersAfter compaction, requested dropped skills and steering reload. Files at or above this size load in full if space permits.
IDE 0.x Summarization → CompactionOld behavior created a new compacted session at 80%; current compaction continues the same session.
IDE 1.4.178+Minimum IDE version for reloading requested dropped skills/steering after compaction.

Open /settings → Compaction to inspect the current session value before changing Global default. Start or load a session for the saved default to apply.

Limits and open questions

  • Compaction is one-way inside the session; export the conversation beforehand if full history is needed.
  • This configuration section documents CLI controls; the IDE has automatic compaction and no manual trigger.
  • The source gives defaults, but no accepted ranges for the two exclusion settings.

Not for: Kiro IDE 0.x Summarization.

Sources

Checked

2026-11-17; read Kiro compaction documentation; Kiro changelog: CLI 3.3.0; no command was run.

Started from a post by @Kiro, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Kiro: choose when automatic compaction starts
Summary: As of November 2026, Kiro CLI 3.3.0 (2026-11-12) lets V3 sessions choose an auto-compaction threshold: default 80%, range 0–100, at most two decimals. Workspace `.kiro/settings/cli.json` overrides the global default. Set `kiro-cli settings compaction.autoCompactionThreshold <value>`.
Copy for agent
get the whatworks thread kiro-set-automatic-compaction-context-threshold and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread kiro-set-automatic-compaction-context-threshold
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp