29640e3b5a
Multiplex gateway startup only ever calls agent.shell_hooks/ outbound_webhooks register_from_config() once, against the root/default profile's config, before any profile scope exists. _start_one_profile_adapters() discovers Python plugins per profile but never registered that profile's own declarative `hooks:` block, so a secondary profile's shell hooks (e.g. a deny-writes gate) and outbound webhooks silently never fire. Load and register each profile's own config inside its _profile_runtime_scope, and key the module-level idempotence sets in shell_hooks.py/outbound_webhooks.py by resolved Hermes home so two profiles configuring an identical hook/webhook both register on their own plugin manager instead of the second being dropped as a duplicate of the first. Fixes #92672