Files
hermes-agent/agent
kshitijk4poor 8f848ecda9 fix(auxiliary): skip output_text in leak rescue when a commentary item is present
The leak-like-answer rescue fell back to response.output_text whenever no
final-phase message carried text, even when the output had a commentary or
analysis item. The shared normalizer never treats output_text as the answer in
that shape (it is the streamed narration), so the aux path promoted mid-turn
commentary to a final "stop" answer. Apply the same gate: use output_text only
when no message item has a commentary/analysis phase.

Gate review r3 (2c Low #1). New matrix row: empty commentary item plus a
leak-like output_text must stay (None, "length").
2026-10-05 19:35:01 +05:30
..
…