# Compression Configuration — Hermes Pi-Enhancement # Based on proven setting from Mumuni (node #483) # See: https://git.sysloggh.net/SyslogSolution/homelab_notes # For 256K context models (all harness models: qwen3.6-35B-A3B, qwen3.6-27B-code, gemma-4-12b) # For 128K context models, use threshold: 0.70, max_context_window: 131072 compression: enabled: true threshold: 0.80 # Compress at 80% of context window target_ratio: 0.30 # Keep 30% of threshold as working room protect_last_n: 40 # Keep last 40 messages intact protect_first_n: 3 # Keep first 3 messages (system prompt + identity) max_context_window: 262144 # MUST match actual model context length hygiene_hard_message_limit: 400 abort_on_summary_failure: false codex_gpt55_autoraise: true model: auto provider: auto