# fix\(web\): scope markdown actions to their environment · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/11511ca015a71bf0a55427f7ce3596431b35e4ba)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 11511ca015a71bf0a55427f7ce3596431b35e4ba

Requested commit: 11511ca015a71bf0a55427f7ce3596431b35e4ba

Commit: 11511ca015a71bf0a55427f7ce3596431b35e4ba

Tree: e3e6bb07401d82e6045fff4fc5b1ab4da66bd40d

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
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.

```

## Parents

- [321d5c6ec62f745cc73825fb446f5704058bb09e](https://git.cafe/pingdotgg/t3code/commit/321d5c6ec62f745cc73825fb446f5704058bb09e?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/11511ca015a71bf0a55427f7ce3596431b35e4ba?format=markdown)
