# fix\(mobile\): make every inspector identity fully workspace-bound · pingdotgg/t3code

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

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

Visibility: public

Requested revision: d2c8618187e3d7a1f249bfce393c6cb7de7f426f

Requested commit: d2c8618187e3d7a1f249bfce393c6cb7de7f426f

Commit: d2c8618187e3d7a1f249bfce393c6cb7de7f426f

Tree: ed1bdc7a51a361de24df4e2a264ad066a431bf3f

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(mobile): make every inspector identity fully workspace-bound

Three audited collisions where a crashed inspector fallback could persist
over new healthy content: review keyed on section id only (ids recur across
threads/worktrees), files used threadId ?? cwd (a worktree move under a
stable thread id left the key unchanged), and the thread screen's
workspace-bound Files/Git modes keyed on thread + mode without the cwd
they actually render. One builder — source, workspace key, cwd, content
selection — replaces both helpers; tests cover failed-fallback -> healthy
content switching for each registrant path.

```

## Parents

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

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