Files
hermes-agent/website/docs
teknium1 9b3042902e fix: trim hygiene bound salvage to two invariant tests and document the knob
Salvage follow-up to the cherry-picked #112055 hunk (@Finn763):

- tests: fold the landed-commit control into the turn-hold-miss test and drop the
  two extra end-to-end tests (sub-limit identity is already pinned by the pure
  contract test) so the fix carries exactly two invariant tests.
- gateway/run_turn.py::bound_model_input_without_hygiene: drop the isinstance /
  limit<=0 defences — the caller always passes the transcript list and a
  _knob()-validated positive int, so the checks could never fire.
- docs: configuration.md now says hygiene_hard_message_limit also bounds the
  model payload on any turn where hygiene did not land (payload-only, disk
  untouched, landed summaries adopted as-is).

Co-authored-by: Noor-Sol <187156657+Noor-Sol@users.noreply.github.com>
Co-authored-by: Kevin Rajan <7121943+kvnloo@users.noreply.github.com>
2026-09-15 18:18:58 -07:00
..