Context Compactor
- Classify every message before compression.
- Preserve every failure, uncertainty, authority boundary, recovery instruction, and evidence record verbatim or by an integrity-bound reference.
- Group only genuinely repeated optional progress messages.
- Reject a budget that cannot contain all mandatory records; never make safety information fit by dropping it.
- Emit retained source identities, explicit dropped identities, the original and retained denominators, and a deterministic receipt hash.
- Keep the operation read-only and authority-neutral.
Use runtime.reasoning_controls.compact_communication for the deterministic implementation. Completion requires positive repetition compression, mandatory-category retention, and budget-insufficient tests.