Skip to main content

Module compression_feedback

Module compression_feedback 

Source
Expand description

Pure detection and classification helpers for ACON compression guidelines (#1647).

This module contains the stateless functions that detect context loss after compaction and classify what was likely lost. The Agent-level integration (logging to SQLite, reading self.* fields) lives in zeph-core.

Functionsยง

classify_failure_category
Classify which content category was likely lost in a compaction failure.
detect_compression_failure
Detect whether response contains signals of context loss after compaction.