fix(web): scope markdown actions to their environment

Use the owning thread or pull request environment for editor, shell, and remote-open actions instead of whichever environment is active. Add a multi-environment regression test for the action hooks.

Audit: R20

Implemented by GPT-5.6 Sol with Codex.
11511ca015Julius Marminge committed on 9/18/2026, 12:49:53 AM· committed by Julius Marmingeparent321d5c6
1 file changedLine totals unavailable