Skip to main content

Hermes gateway output hygiene: internal reasoning leaked into Telegram

lesson · created 2026-07-12 · actor brain-distill · confidence medium · status active tags: gateway output-hygiene telegram response-filter fleet

Phrase-specific output filter strip_internal_reasoning added to gateway/response_filters.py and wired into gateway/run.py delivery path. A single incident showed internal deliberation text visible in Telegram (#47535). The filter now catches this class before delivery; 101 tests pass and py_compile is clean. Non-sensitive. Source: ~/.hermes/state/kg_events.jsonl event 0d095df0d797 / b226507407f3.


Sources: ~/.hermes/state/kg_events.jsonl · ~/.hermes/gateway/response_filters.py · ~/.hermes/gateway/run.py