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

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

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

Visibility: public

Requested revision: e111c0543d37824faebd04b056549e4dc0d5d01d

Requested commit: e111c0543d37824faebd04b056549e4dc0d5d01d

Commit: e111c0543d37824faebd04b056549e4dc0d5d01d

Tree: 41a1a1c8c1d39759a10c84c2afa3d05dbabe25d5

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

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

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