Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.228 ·

Subagents doing delegated observation no longer trigger compact hooks

Observation subagents no longer fire your PostCompact hooks when they compact.

You'll notice Improvements
JSON All of v2.1.228
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.228,
ImprovementsSection of the release
What

When a subagent set up for delegated observation compacts its context, your PostCompact hooks are skipped and PreCompact hook output is limited to whether compaction was blocked. Compaction in the main session and in ordinary subagents runs hooks as before.

Details
  • PostCompact returns immediately for these agents.
  • PreCompact still runs, but any custom instructions or user-facing message the hook returns are discarded.
Evidence

hook_event_name: "PostCompact"

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundlePostCompactPreCompact

See this entry in the whole of v2.1.228 →

Feedback