Files
openclaw/src/infra
velamints2 61be533ad4 fix(restart): deduplicate reason line in restart sentinel message
When gateway.restart is triggered with a reason but no separate note,
the payload sets both message and stats.reason to the same text.
formatRestartSentinelMessage() then emits both the message line and a
redundant 'Reason: <same text>' line, doubling the restart reason in
the notification delivered to the agent session.

Skip the 'Reason:' line when stats.reason matches the already-emitted
message text. Add regression tests for both duplicate and distinct
reason scenarios.
2026-03-03 00:30:34 +00:00
..
2026-02-18 00:45:43 -05:00
2026-02-18 00:45:43 -05:00
2026-02-14 19:53:04 +01:00
2026-02-18 01:34:35 +00:00