# test\(desktop\): capture fixture restores the checkout on SIGTERM and records real sources · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 02fbdb6a74f8ab8afd3310911d13e87919c519e3

Requested commit: 02fbdb6a74f8ab8afd3310911d13e87919c519e3

Commit: 02fbdb6a74f8ab8afd3310911d13e87919c519e3

Tree: 971655d1fd885283670bc5069dcc60ec4f85d8af

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
test(desktop): capture fixture restores the checkout on SIGTERM and records real sources

SIGTERM, SIGHUP, and SIGINT now raise SystemExit, so the finally block
restores main.cjs and the renamed server entry and stops every spawned
process, including the recorder. Spawns defer signals until the child is
tracked.

The manifest no longer hardcodes head/base commits. --head-source and
--base-source are required, resolved with git rev-parse, and recorded
with each saved bundle's hash. Missing refs, bundles, or entry state are
rejected before the checkout is touched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

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

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