alanhuangyoo f5cf25a8b6
fix(summarization): keep a Human Input Card reply as the current request (#5416)
Summarization rescues the latest user message by id so the current
request survives compaction (#4882). It picked that message with
is_real_user_message, which rejects every hide_from_ui HumanMessage,
including Human Input Card replies. When a run starts from a card
reply, the older visible request was kept and the user's answer was
summarized away.

Use is_genuine_user_message, which accepts hidden messages that carry a
valid human_input_response and still skips other hidden injections.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 10:45:31 +08:00
..