Files
hermes-agent/tests
Teknium d2098331e7 test(agent): add compress()-level E2E regression for short tool-suffix OOB (#75588)
Follow-up to the boundary clamps: drive the REAL compress() pipeline over
the live 8-message transcript shape from #75588 (system + tool-only
suffix, aligned head == len(messages)). Asserts no exception, the summary
LLM is never invoked when the window is out of range, and the transcript
is returned unchanged. Sanity-checks the clamped tail-cut boundary so a
future regression of the n+1 floor is caught even where downstream
callsite clamps mask the IndexError.
2026-07-31 23:16:58 -07:00
..