# R06 — paired native runtime transcript

Real commit -a holds index.lock in a cooperative pre-commit hook; timeout and interruption; subsequent real commit.

Steps: create a fresh synthetic committed repo; start real GitVcsDriver operations; await fixture READY (and ninth REQUEST where applicable); apply the scripted timeout/interruption/control; observe command return, actual signals, process liveness and marker checkpoints. Events use monotonic ms from each printed wall origin.

Inputs from the exact uploaded driver (these are setup values, not inferred outcomes):

```json
{
  "variants": [
    "timeout 1000ms",
    "interrupt with timeout null"
  ],
  "command": "commit -a -m controlled hook",
  "file": "tracked, edited",
  "hook": "pre-commit; cooperative TERM exit1; naturalCompletion 8000ms",
  "action": "observe actual .git/index.lock before cancellation, after return; disable hook; commit again"
}
```

| Variant | Before 30eb7e7bb1 | After 3c6d27fa7c |
|---|---|---|
| timeout | index.lock 1→0; timeout 1019.262ms; post-READY through subsequent commit 978.6ms; subsequent commit success=True; remaining locks=[], live 0 | index.lock 1→0; timeout 1014.716ms; post-READY through subsequent commit 969.9ms; subsequent commit success=True; remaining locks=[], live 0 |
| interrupt | index.lock 1→0; interrupted; post-READY through subsequent commit 32.1ms; subsequent commit success=True; remaining locks=[], live 0 | index.lock 1→0; interrupted; post-READY through subsequent commit 37.1ms; subsequent commit success=True; remaining locks=[], live 0 |

## Before environment and monotonic transcript

```json
{
  "sha": "30eb7e7bb1ef103fdd6f54081b6a4acf66b3ee4c",
  "wallOrigin": "2026-10-28T19:41:22.545Z",
  "os": "Linux",
  "kernel": "6.1.102",
  "node": "v26.13.0",
  "git": "git version 2.43.0",
  "cpus": 4,
  "platformNodeShared": "4.0.5",
  "driverHash": "ebc4c041c767f7756be00ab0c77dd2e44af336520baad6ae51f8e2f005f60460",
  "helperHash": "f7f10c819bdb0bbb8a004b05d04b205406b9b64b11e0e9fbfc128f8a39454cf9",
  "group": "core",
  "root": "/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core",
  "inputProtocol": "native GitVcsDriver.layer + NodeServices.layer + ServerConfig.layerTest; passive native spawn/signal observer; real git aliases/hooks/local upload-pack; READY IPC; no fake spawner/clock/platform"
}
```

Full recorded row results:

```json
[
  {
    "row": "R06",
    "variant": "timeout",
    "lockPath": "/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-timeout/.git/index.lock",
    "lockBefore": true,
    "lockAfter": false,
    "result": {
      "elapsedMs": 1019.262,
      "ok": false,
      "result": {
        "_tag": "GitCommandError",
        "operation": "capture.R06-timeout",
        "detail": "Git command timed out."
      }
    },
    "cleanupFromReadyMs": 978.572,
    "subsequentCommit": {
      "elapsedMs": 19.746,
      "ok": true,
      "result": {
        "exitCode": 0,
        "stdout": "[main b4210e3] after cancellation\n 1 file changed, 1 insertion(+)\n",
        "stderr": "",
        "stdoutTruncated": false,
        "stderrTruncated": false
      }
    },
    "locks": [],
    "label": "R06-timeout",
    "pids": [
      310845
    ],
    "live": [],
    "liveCount": 0,
    "markers": [],
    "markerCount": 0,
    "ms": 108197.814,
    "kind": "SNAPSHOT"
  },
  {
    "row": "R06",
    "variant": "interrupt",
    "lockPath": "/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-interrupt/.git/index.lock",
    "lockBefore": true,
    "lockAfter": false,
    "result": "Failure(Cause([Interrupt(1),Interrupt(1),Interrupt(1),Interrupt(1),Interrupt(1),Interrupt(1),Interrupt(1)]))",
    "cleanupFromReadyMs": 32.12,
    "subsequentCommit": {
      "elapsedMs": 17.282,
      "ok": true,
      "result": {
        "exitCode": 0,
        "stdout": "[main b4210e3] after cancellation\n 1 file changed, 1 insertion(+)\n",
        "stderr": "",
        "stdoutTruncated": false,
        "stderrTruncated": false
      }
    },
    "locks": [],
    "label": "R06-interrupt",
    "pids": [
      310858
    ],
    "live": [],
    "liveCount": 0,
    "markers": [],
    "markerCount": 0,
    "ms": 108347.254,
    "kind": "SNAPSHOT"
  }
]
```

```jsonl
{"label":"R06-timeout","ms":107157.436,"kind":"REQUEST"}
{"service":"R06-timeout","id":825,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-timeout","args":["commit","-a","-m","controlled hook"],"options":{},"nativeDelegation":true,"ms":107158.515,"kind":"SPAWN_REQUEST"}
{"service":"R06-timeout","id":825,"pid":310844,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-timeout","args":["commit","-a","-m","controlled hook"],"ms":107165.084,"kind":"SPAWNED"}
{"label":"R06-timeout","pid":310845,"ppid":310844,"pgid":310844,"mono_ns":37409923313713,"duration_ms":8000,"mode":"cooperative","source":"fixture","ms":107218.168,"kind":"READY"}
{"label":"R06-timeout","lockPath":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-timeout/.git/index.lock","exists":true,"ms":107218.65,"kind":"LOCK_BEFORE"}
{"pid":-310844,"signal":"SIGTERM","ms":108161.744,"kind":"SIGNAL"}
{"label":"R06-timeout","pid":310845,"ppid":310844,"pgid":310844,"mono_ns":37410868604626,"policy":"cooperative","source":"fixture","ms":108164.74,"kind":"TERM"}
{"service":"R06-timeout","id":825,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-timeout","args":["commit","-a","-m","controlled hook"],"elapsedMs":1017.29,"ms":108175.823,"kind":"FINALIZED"}
{"label":"R06-timeout","elapsedMs":1019.262,"result":{"_tag":"GitCommandError","operation":"capture.R06-timeout","detail":"Git command timed out."},"ms":108176.714,"kind":"RETURN"}
{"label":"R06-timeout","lockPath":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-timeout/.git/index.lock","exists":false,"ms":108176.932,"kind":"LOCK_AFTER"}
{"label":"R06-timeout.subsequent","ms":108177.169,"kind":"REQUEST"}
{"service":"R06-timeout","id":835,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-timeout","args":["commit","-a","-m","after cancellation"],"options":{},"nativeDelegation":true,"ms":108177.951,"kind":"SPAWN_REQUEST"}
{"service":"R06-timeout","id":835,"pid":310849,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-timeout","args":["commit","-a","-m","after cancellation"],"ms":108191.159,"kind":"SPAWNED"}
{"pid":-310849,"signal":"SIGTERM","ms":108195.909,"kind":"SIGNAL"}
{"service":"R06-timeout","id":835,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-timeout","args":["commit","-a","-m","after cancellation"],"elapsedMs":18.439,"ms":108196.457,"kind":"FINALIZED"}
{"label":"R06-timeout.subsequent","elapsedMs":19.746,"result":{"exitCode":0,"stdout":"[main b4210e3] after cancellation\n 1 file changed, 1 insertion(+)\n","stderr":"","stdoutTruncated":false,"stderrTruncated":false},"ms":108196.92,"kind":"RETURN"}
{"label":"R06-timeout","pids":[310845],"live":[],"liveCount":0,"markers":[],"markerCount":0,"ms":108197.814,"kind":"SNAPSHOT"}
{"label":"R06-interrupt","ms":108258.783,"kind":"REQUEST"}
{"service":"R06-interrupt","id":843,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-interrupt","args":["commit","-a","-m","controlled hook"],"options":{},"nativeDelegation":true,"ms":108259.718,"kind":"SPAWN_REQUEST"}
{"service":"R06-interrupt","id":843,"pid":310857,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-interrupt","args":["commit","-a","-m","controlled hook"],"ms":108265.673,"kind":"SPAWNED"}
{"label":"R06-interrupt","pid":310858,"ppid":310857,"pgid":310857,"mono_ns":37411019615142,"duration_ms":8000,"mode":"cooperative","source":"fixture","ms":108314.321,"kind":"READY"}
{"label":"R06-interrupt","lockPath":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-interrupt/.git/index.lock","exists":true,"ms":108314.648,"kind":"LOCK_BEFORE"}
{"label":"R06-interrupt","ms":108314.716,"kind":"INTERRUPT_REQUEST"}
{"pid":-310857,"signal":"SIGTERM","ms":108315.158,"kind":"SIGNAL"}
{"label":"R06-interrupt","pid":310858,"ppid":310857,"pgid":310857,"mono_ns":37411021118814,"policy":"cooperative","source":"fixture","ms":108315.57,"kind":"TERM"}
{"service":"R06-interrupt","id":843,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-interrupt","args":["commit","-a","-m","controlled hook"],"elapsedMs":68.399,"ms":108328.135,"kind":"FINALIZED"}
{"label":"R06-interrupt","lockPath":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-interrupt/.git/index.lock","exists":false,"ms":108329.048,"kind":"LOCK_AFTER"}
{"label":"R06-interrupt.subsequent","ms":108329.346,"kind":"REQUEST"}
{"service":"R06-interrupt","id":853,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-interrupt","args":["commit","-a","-m","after cancellation"],"options":{},"nativeDelegation":true,"ms":108330.018,"kind":"SPAWN_REQUEST"}
{"service":"R06-interrupt","id":853,"pid":310859,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-interrupt","args":["commit","-a","-m","after cancellation"],"ms":108337.794,"kind":"SPAWNED"}
{"pid":-310859,"signal":"SIGTERM","ms":108345.622,"kind":"SIGNAL"}
{"service":"R06-interrupt","id":853,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-22.529Z-30eb7e7bb1-core/R06-interrupt","args":["commit","-a","-m","after cancellation"],"elapsedMs":16.139,"ms":108346.163,"kind":"FINALIZED"}
{"label":"R06-interrupt.subsequent","elapsedMs":17.282,"result":{"exitCode":0,"stdout":"[main b4210e3] after cancellation\n 1 file changed, 1 insertion(+)\n","stderr":"","stdoutTruncated":false,"stderrTruncated":false},"ms":108346.629,"kind":"RETURN"}
{"label":"R06-interrupt","pids":[310858],"live":[],"liveCount":0,"markers":[],"markerCount":0,"ms":108347.254,"kind":"SNAPSHOT"}
```

## After environment and monotonic transcript

```json
{
  "sha": "3c6d27fa7c98ab98a23463891452f761aedbdea8",
  "wallOrigin": "2026-10-28T19:41:21.648Z",
  "os": "Linux",
  "kernel": "6.1.102",
  "node": "v26.13.0",
  "git": "git version 2.43.0",
  "cpus": 4,
  "platformNodeShared": "4.0.5",
  "driverHash": "ebc4c041c767f7756be00ab0c77dd2e44af336520baad6ae51f8e2f005f60460",
  "helperHash": "f7f10c819bdb0bbb8a004b05d04b205406b9b64b11e0e9fbfc128f8a39454cf9",
  "group": "core",
  "root": "/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core",
  "inputProtocol": "native GitVcsDriver.layer + NodeServices.layer + ServerConfig.layerTest; passive native spawn/signal observer; real git aliases/hooks/local upload-pack; READY IPC; no fake spawner/clock/platform"
}
```

Full recorded row results:

```json
[
  {
    "row": "R06",
    "variant": "timeout",
    "lockPath": "/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-timeout/.git/index.lock",
    "lockBefore": true,
    "lockAfter": false,
    "result": {
      "elapsedMs": 1014.716,
      "ok": false,
      "result": {
        "_tag": "GitCommandError",
        "operation": "capture.R06-timeout",
        "detail": "Git command timed out."
      }
    },
    "cleanupFromReadyMs": 969.911,
    "subsequentCommit": {
      "elapsedMs": 23.136,
      "ok": true,
      "result": {
        "exitCode": 0,
        "stdout": "[main 6ebf91c] after cancellation\n 1 file changed, 1 insertion(+)\n",
        "stderr": "",
        "stdoutTruncated": false,
        "stderrTruncated": false
      }
    },
    "locks": [],
    "label": "R06-timeout",
    "pids": [
      310524
    ],
    "live": [],
    "liveCount": 0,
    "markers": [],
    "markerCount": 0,
    "ms": 46653.565,
    "kind": "SNAPSHOT"
  },
  {
    "row": "R06",
    "variant": "interrupt",
    "lockPath": "/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-interrupt/.git/index.lock",
    "lockBefore": true,
    "lockAfter": false,
    "result": "Failure(Cause([Interrupt(1),Interrupt(1),Interrupt(1),Interrupt(1),Interrupt(1),Interrupt(1),Interrupt(1)]))",
    "cleanupFromReadyMs": 37.068,
    "subsequentCommit": {
      "elapsedMs": 21.484,
      "ok": true,
      "result": {
        "exitCode": 0,
        "stdout": "[main 6ebf91c] after cancellation\n 1 file changed, 1 insertion(+)\n",
        "stderr": "",
        "stdoutTruncated": false,
        "stderrTruncated": false
      }
    },
    "locks": [],
    "label": "R06-interrupt",
    "pids": [
      310534
    ],
    "live": [],
    "liveCount": 0,
    "markers": [],
    "markerCount": 0,
    "ms": 46809.058,
    "kind": "SNAPSHOT"
  }
]
```

```jsonl
{"label":"R06-timeout","ms":45614.154,"kind":"REQUEST"}
{"service":"R06-timeout","id":827,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-timeout","args":["commit","-a","-m","controlled hook"],"options":{"forceKillAfter":"1 second"},"nativeDelegation":true,"ms":45615.055,"kind":"SPAWN_REQUEST"}
{"service":"R06-timeout","id":827,"pid":310523,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-timeout","args":["commit","-a","-m","controlled hook"],"ms":45619.447,"kind":"SPAWNED"}
{"label":"R06-timeout","pid":310524,"ppid":310523,"pgid":310523,"mono_ns":37347486140277,"duration_ms":8000,"mode":"cooperative","source":"fixture","ms":45682.452,"kind":"READY"}
{"label":"R06-timeout","lockPath":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-timeout/.git/index.lock","exists":true,"ms":45682.99,"kind":"LOCK_BEFORE"}
{"pid":-310523,"signal":"SIGTERM","ms":46616.976,"kind":"SIGNAL"}
{"label":"R06-timeout","pid":310524,"ppid":310523,"pgid":310523,"mono_ns":37348421738309,"policy":"cooperative","source":"fixture","ms":46617.624,"kind":"TERM"}
{"service":"R06-timeout","id":827,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-timeout","args":["commit","-a","-m","controlled hook"],"elapsedMs":1012.939,"ms":46628.012,"kind":"FINALIZED"}
{"label":"R06-timeout","elapsedMs":1014.716,"result":{"_tag":"GitCommandError","operation":"capture.R06-timeout","detail":"Git command timed out."},"ms":46628.872,"kind":"RETURN"}
{"label":"R06-timeout","lockPath":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-timeout/.git/index.lock","exists":false,"ms":46629.06,"kind":"LOCK_AFTER"}
{"label":"R06-timeout.subsequent","ms":46629.251,"kind":"REQUEST"}
{"service":"R06-timeout","id":837,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-timeout","args":["commit","-a","-m","after cancellation"],"options":{"forceKillAfter":"1 second"},"nativeDelegation":true,"ms":46629.978,"kind":"SPAWN_REQUEST"}
{"service":"R06-timeout","id":837,"pid":310525,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-timeout","args":["commit","-a","-m","after cancellation"],"ms":46638.596,"kind":"SPAWNED"}
{"pid":-310525,"signal":"SIGTERM","ms":46650.883,"kind":"SIGNAL"}
{"service":"R06-timeout","id":837,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-timeout","args":["commit","-a","-m","after cancellation"],"elapsedMs":21.502,"ms":46651.483,"kind":"FINALIZED"}
{"label":"R06-timeout.subsequent","elapsedMs":23.136,"result":{"exitCode":0,"stdout":"[main 6ebf91c] after cancellation\n 1 file changed, 1 insertion(+)\n","stderr":"","stdoutTruncated":false,"stderrTruncated":false},"ms":46652.394,"kind":"RETURN"}
{"label":"R06-timeout","pids":[310524],"live":[],"liveCount":0,"markers":[],"markerCount":0,"ms":46653.565,"kind":"SNAPSHOT"}
{"label":"R06-interrupt","ms":46711.084,"kind":"REQUEST"}
{"service":"R06-interrupt","id":845,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-interrupt","args":["commit","-a","-m","controlled hook"],"options":{"forceKillAfter":"1 second"},"nativeDelegation":true,"ms":46711.861,"kind":"SPAWN_REQUEST"}
{"service":"R06-interrupt","id":845,"pid":310533,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-interrupt","args":["commit","-a","-m","controlled hook"],"ms":46716.756,"kind":"SPAWNED"}
{"label":"R06-interrupt","pid":310534,"ppid":310533,"pgid":310533,"mono_ns":37348574843826,"duration_ms":8000,"mode":"cooperative","source":"fixture","ms":46771.001,"kind":"READY"}
{"label":"R06-interrupt","lockPath":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-interrupt/.git/index.lock","exists":true,"ms":46771.519,"kind":"LOCK_BEFORE"}
{"label":"R06-interrupt","ms":46771.679,"kind":"INTERRUPT_REQUEST"}
{"pid":-310533,"signal":"SIGTERM","ms":46772.598,"kind":"SIGNAL"}
{"label":"R06-interrupt","pid":310534,"ppid":310533,"pgid":310533,"mono_ns":37348577485925,"policy":"cooperative","source":"fixture","ms":46773.331,"kind":"TERM"}
{"service":"R06-interrupt","id":845,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-interrupt","args":["commit","-a","-m","controlled hook"],"elapsedMs":73.57,"ms":46785.456,"kind":"FINALIZED"}
{"label":"R06-interrupt","lockPath":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-interrupt/.git/index.lock","exists":false,"ms":46786.523,"kind":"LOCK_AFTER"}
{"label":"R06-interrupt.subsequent","ms":46786.956,"kind":"REQUEST"}
{"service":"R06-interrupt","id":855,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-interrupt","args":["commit","-a","-m","after cancellation"],"options":{"forceKillAfter":"1 second"},"nativeDelegation":true,"ms":46788.423,"kind":"SPAWN_REQUEST"}
{"service":"R06-interrupt","id":855,"pid":310535,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-interrupt","args":["commit","-a","-m","after cancellation"],"ms":46800.633,"kind":"SPAWNED"}
{"pid":-310535,"signal":"SIGTERM","ms":46807.015,"kind":"SIGNAL"}
{"service":"R06-interrupt","id":855,"cwd":"/tmp/lead-26601-r1/capture/2026-10-28T19-41-21.628Z-3c6d27fa7c-core/R06-interrupt","args":["commit","-a","-m","after cancellation"],"elapsedMs":19.565,"ms":46807.99,"kind":"FINALIZED"}
{"label":"R06-interrupt.subsequent","elapsedMs":21.484,"result":{"exitCode":0,"stdout":"[main 6ebf91c] after cancellation\n 1 file changed, 1 insertion(+)\n","stderr":"","stdoutTruncated":false,"stderrTruncated":false},"ms":46808.44,"kind":"RETURN"}
{"label":"R06-interrupt","pids":[310534],"live":[],"liveCount":0,"markers":[],"markerCount":0,"ms":46809.058,"kind":"SNAPSHOT"}
```
