Files
hermes-agent/gateway
teknium1 2b9b3b829f fix(gateway): drop the 6-hour auto-delete line when /debug fell back to dpaste.com
The gateway /debug handler is the twin of `hermes debug share`: same
upload_to_pastebin() fallback chain, different renderer. With the CLI
output fixed, the gateway reply still ended with the localized
"Pastes will auto-delete in 6 hours." even when the URL it just printed
was a dpaste.com paste that lives 1 day and cannot be deleted.

The retention of the fallback is already disclosed by
_GATEWAY_PRIVACY_NOTICE at the top of the same reply, so the honest
rendering is to omit the paste.rs-only line rather than add a second
(17-locale) string. The _schedule_auto_delete comment now says what the
sweep can actually act on.

Refs #106164
2026-09-09 10:54:34 -07:00
..