SharedBotTargetRefused now subclasses PermissionError, so the WeCom plugin catches it without importing a name outside the published plugin API (boundary lint: module_to_core rise). Behaviour is unchanged: the refusal still returns a send error and never falls through to the ephemeral sender.