Ray's Knowledge Base
Unlock

The rkb mod hooks classic.Stop and classic.PreCompact, not the new event names

DecisionVerified 2 Oct 2026Holds anywhere
Decision. The context, the choice, why, and the options that were turned down.

Context#

Choosing which mod events the rkb observer uses.

Decision#

The rkb Claude mod hooks classic.Stop and classic.PreCompact, not turn.complete or session.compact, because only the classic events carry the transcript path that the observer needs. session.end has a short time limit shared by all hooks, so never run distill there.

Why#

Only the classic events carry the transcript path, and session.end's shared time limit cannot fit a distill run.

Rejected options#

turn.complete, session.compact, and distill inside session.end.

Also found by searching

  • which events does the rkb mod hook
  • classic.Stop and classic.PreCompact carry the transcript path
  • session.end has a short shared time limit
  • never run distill in session.end