mirror of
https://gitcode.com/JianFeeeee/HomeAgent.git
synced 2026-11-15 08:51:49 +08:00
新增 TestPublishAsReturnsDeniedErrorAndBlocksDelivery
策略拒绝 → 返回可诊断 DeniedError,订阅者零投递
新增 TestSubscribersReceiveScrubbedPayload
入向脱敏后订阅者看不到明文
新增 TestHandlerPanicDoesNotBreakOtherSubscribers
handler panic 不影响其他订阅者
变异:绕过 AllowPublish 判断 → denied publish 返回 nil 错误
跳过 ScrubInbound → 明文 SECRET 到达订阅者