# R01 — exact existing regression red/green

Exactly one selected regression per revision (171 unrelated skipped by -t). The baseline uses an untracked byte-for-byte copy of the entire head test file; production source is untouched. The head runs its original tracked test file. Both therefore use identical setup and regression body.

Environment: fs-40; Linux kernel 6.1.102; Node v26.13.0; Git 2.43.0; installed @effect/platform-node-shared 4.0.5; 4 available CPUs. GIT_CONFIG_GLOBAL=/dev/null; TMPDIR is capturer-owned scratch.

Exact test-file overlay SHA-256: 658fb43a1c701d8f9be771b59801a31862964411530e1f62a883c18618b26b30

| Before 30eb7e7bb1 | After 3c6d27fa7c |
|---|---|
| 1 selected test fails, marker true; selected test 3265ms, full test invocation 6.52s | 1 selected test passes, marker false; full test invocation 4.11s |

Inputs:

```json
{
  "test": "kills a timed-out git command that ignores SIGTERM",
  "fixture": "trap empty TERM; echo trapped; sleep 3; touch marker",
  "action": "interrupt owning fiber after trapped stdout callback; assert marker false",
  "defaultTimeoutMs": 30000
}
```

## Before 30eb7e7bb1ef103fdd6f54081b6a4acf66b3ee4c

cwd: /home/ubuntu/wt/pr-26601-base/apps/server
Command: GIT_CONFIG_GLOBAL=/dev/null TMPDIR=<capture>/r01-tmp-before vp test run src/vcs/scratch26601.r01exact.test.ts -t 'kills a timed-out git command that ignores SIGTERM'

```text
note: You are running `vp test` as a Vite+ built-in command. If you meant to run the test npm script, use `vpr test` instead.

 RUN  v5.0.5 /home/ubuntu/wt/pr-26601-base/apps/server

stdout | src/vcs/scratch26601.r01exact.test.ts > GitVcsDriver core integration > kills a timed-out git command that ignores SIGTERM
[19:40:53.838] ERROR (#21): Error [AssertionError]: the timed-out git command kept running until it finished on its own: expected true to be false
    at /home/ubuntu/wt/pr-26601-base/apps/server/src/vcs/scratch26601.r01exact.test.ts:1037:16 {
  actual: true,
  expected: false,
  showDiff: true,
  operator: 'strictEqual',
  [cause]: undefined
}

 ❯ src/vcs/scratch26601.r01exact.test.ts (172 tests | 1 failed | 171 skipped) 3303ms
   ❯ GitVcsDriver core integration (128)
     × kills a timed-out git command that ignores SIGTERM 3265ms

⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯

 FAIL  src/vcs/scratch26601.r01exact.test.ts > GitVcsDriver core integration > kills a timed-out git command that ignores SIGTERM
AssertionError: the timed-out git command kept running until it finished on its own: expected true to be false

- Expected
+ Received

- false
+ true

 ❯ src/vcs/scratch26601.r01exact.test.ts:1037:16
    1035|         yield* Fiber.interrupt(command);
    1036|
    1037|         assert.isFalse(
       |                ^
    1038|           yield* fileSystem.exists(markerPath),
    1039|           "the timed-out git command kept running until it finished on…
 ❯ ~effect/Effect/successCont ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28
 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30
 ❯ FiberImpl.runLoop ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41
 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23
 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27
 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17
 ❯ ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Effect.ts:26057:13

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯


 Test Files  1 failed (1)
      Tests  1 failed | 171 skipped (172)
   Start at  19:40:47
   Duration  6.52s (tests 53%, import 24%, transform 20%, setup 3%)


```

## After 3c6d27fa7c98ab98a23463891452f761aedbdea8

cwd: /home/ubuntu/wt/pr-26601/apps/server
Command: GIT_CONFIG_GLOBAL=/dev/null TMPDIR=<capture>/r01-tmp-after vp test run src/vcs/GitVcsDriverCore.test.ts -t 'kills a timed-out git command that ignores SIGTERM'

```text
note: You are running `vp test` as a Vite+ built-in command. If you meant to run the test npm script, use `vpr test` instead.

 RUN  v5.0.5 /home/ubuntu/wt/pr-26601/apps/server


 Test Files  1 passed (1)
      Tests  1 passed | 171 skipped (172)
   Start at  19:40:48
   Duration  4.11s (import 40%, tests 33%, transform 23%, setup 4%)


```
