Files
hermes-agent/plugins/platforms/slack
Teknium 10b6eb5f0a fix(gateway): keep every numbered clarify line when the prompt is over its cap
Independent review round:
- P2 Slack: a long question left no room for the numbered list, so the final
  section cut dropped it and the positional buttons pointed at nothing. The list is
  now reserved first (shared clarify_text_with_choices) and the question is cut.
- P3 relay: text[:limit-1] could cut numbered lines; same helper, measured with the
  chat's length unit (UTF-16 lanes).
- P3 class: Discord's max_chars dropped trailing lines; numbered_clarify_choices now
  shortens options instead so every button keeps its line. Google Chat never cuts
  the card text (no fix needed).
2026-11-08 11:44:52 -08:00
..