Observation subagents no longer fire your PostCompact hooks when they compact.
What's wrong with this entry?
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.
PostCompactreturns immediately for these agents.PreCompactstill runs, but any custom instructions or user-facing message the hook returns are discarded.
hook_event_name: "PostCompact"
Strings lifted out of the shipped bundle, so the claim above can be checked against them.