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.
e111c0543dJulius Marminge committed on 9/5/2026, 4:54:28 AMparentad6a9f7
1 file changedLine totals unavailable