get_context_remaining

Takes no input and changes nothing. The context card on Desktop, the web and phone layouts, and the iOS meter show the compaction count as “compacted N times”.

The context notice

The model gets a short notice on the latest user message when the room before compaction drops to 25%, again at 10%, and after each compaction. Each fires once, and a restart does not repeat it. The notice is temporary: it is not saved and does not change the cached prompt.

history_recall

When a long session is compacted, the summary may drop an exact error, path or decision. history_recall reads it back. It reads only this session and the sessions it continues, and what it returns is labelled as data, not instructions. limit is at most 20.