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

[View on GitCafe](https://git.cafe/stienswout/t3code/commit/00d2b33214e91d539841b2cf66e299b792538a4e)

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

Visibility: public

Requested revision: 00d2b33214e91d539841b2cf66e299b792538a4e

Requested commit: 00d2b33214e91d539841b2cf66e299b792538a4e

Commit: 00d2b33214e91d539841b2cf66e299b792538a4e

Tree: 6828154e170616d4a4fcdd1a29959d0c1bec49ad

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

- [6007bc45117a0a24b4fa4b5608389d7fdfe7d520](https://git.cafe/stienswout/t3code/commit/6007bc45117a0a24b4fa4b5608389d7fdfe7d520?format=markdown)

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