[
  {
    "fixture": "M1-composite",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/M1-composite/fixture.json",
    "rows": [
      "R01",
      "R02",
      "R03",
      "R04",
      "R05",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537365,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/M1-composite/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/M1-composite-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl": "95638de6f27e465a38c6449dd4a10fb00598bf621253899fe552ed416dae33c2",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl": "1454561726a811317daa114cf24faa14d09dabc479e64cec94783887e9aa2248",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000003.jsonl": "cbe5783e807a09903fe98dc69afda84fb8a4894028d32c91399717aad6ababb9",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl": "ba95fadf30dbcde936a61c98460bbe1a5e004fea5168270b9bc0286f5fb91ce5",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005.jsonl": "9f12d5aa54dcc7f19bad6f0039ccd55b05f111b1d8ca642688b346c114c54794",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000033.jsonl": "c0237b3913b60952dd9c4c0766dd01409877738846a7bbb6e2f3ad1f5f24fe19",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000034.jsonl": "8079f8afcdb9e7bb3afa5d5ecaa130ab97677ad080d7d78b3156889daf925e5a",
      ".codex/state_5.sqlite": "d0cf93c11b437f607773acad2efd5c9a51a01f25737ebda01011ea7865e8bb32"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl": "95638de6f27e465a38c6449dd4a10fb00598bf621253899fe552ed416dae33c2",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl": "1454561726a811317daa114cf24faa14d09dabc479e64cec94783887e9aa2248",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000003.jsonl": "cbe5783e807a09903fe98dc69afda84fb8a4894028d32c91399717aad6ababb9",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl": "ba95fadf30dbcde936a61c98460bbe1a5e004fea5168270b9bc0286f5fb91ce5",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005.jsonl": "9f12d5aa54dcc7f19bad6f0039ccd55b05f111b1d8ca642688b346c114c54794",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000033.jsonl": "c0237b3913b60952dd9c4c0766dd01409877738846a7bbb6e2f3ad1f5f24fe19",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000034.jsonl": "8079f8afcdb9e7bb3afa5d5ecaa130ab97677ad080d7d78b3156889daf925e5a",
      ".codex/state_5.sqlite": "d0cf93c11b437f607773acad2efd5c9a51a01f25737ebda01011ea7865e8bb32"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "M1-composite",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "M1-composite",
          "rows": [
            "R01",
            "R02",
            "R03",
            "R04",
            "R05",
            "R14"
          ],
          "description": "Direct control, moved scratch, unassigned scratch, real other cwd, two rewinds with inherited history",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000001",
              "rolloutId": "019a5f00-0000-7000-8000-000000000001",
              "cwd": "<fakehome>/code/project",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000001\",\"cwd\":\"<fakehome>/code/project\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R01 direct control\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000002",
              "rolloutId": "019a5f00-0000-7000-8000-000000000002",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999100,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000002\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R02 assigned scratch\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000003.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000003",
              "rolloutId": "019a5f00-0000-7000-8000-000000000003",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999200,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000003\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R03 unassigned scratch\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000004",
              "rolloutId": "019a5f00-0000-7000-8000-000000000004",
              "cwd": "<fakehome>/code/other",
              "mtimeMs": 1794311999300,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000004\",\"cwd\":\"<fakehome>/code/other\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R04 real other cwd assigned to P\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000005",
              "rolloutId": "019a5f00-0000-7000-8000-000000000005",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999400,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000005\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\",\"history_mode\":\"paginated\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R05 keep original request\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"response_item\",\"payload\":{\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"R05 keep original reply\"}]}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R05 ABANDON original request\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"response_item\",\"payload\":{\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"R05 ABANDON original reply\"}]}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000033.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000005",
              "rolloutId": "019a5f00-0000-7000-8000-000000000033",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999500,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000005\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\",\"history_mode\":\"paginated\",\"history_base\":{\"thread_id\":\"019a5f00-0000-7000-8000-000000000005\",\"end_ordinal_exclusive\":3,\"end_byte_offset\":602}}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R05 keep first rewind request\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"response_item\",\"payload\":{\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"R05 keep first rewind reply\"}]}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R05 ABANDON first rewind request\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"response_item\",\"payload\":{\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"R05 ABANDON first rewind reply\"}]}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000034.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000005",
              "rolloutId": "019a5f00-0000-7000-8000-000000000034",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999600,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000005\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\",\"history_mode\":\"paginated\",\"history_base\":{\"thread_id\":\"019a5f00-0000-7000-8000-000000000033\",\"end_ordinal_exclusive\":3,\"end_byte_offset\":726}}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R05 final second rewind request\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"response_item\",\"payload\":{\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"R05 final second rewind reply\"}]}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000001",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/code/project"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000002",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000003",
              "projectId": null,
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000004",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/code/other"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000005",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000005",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000005",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 5,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000001",
              "cwd": "<fakehome>/code/project",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000002",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000003",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": null,
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000003.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000004",
              "cwd": "<fakehome>/code/other",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000005",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000034.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [
            {
              "path": "<fakehome>/code/other",
              "title": "other",
              "sources": [
                "codex"
              ],
              "threadCount": 1,
              "lastActiveAt": "2026-11-10T11:59:59.300Z",
              "alreadyImported": false,
              "git": null
            },
            {
              "path": "<fakehome>/code/project",
              "title": "project",
              "sources": [
                "codex"
              ],
              "threadCount": 1,
              "lastActiveAt": "2026-11-10T11:59:59.000Z",
              "alreadyImported": false,
              "git": null
            }
          ],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000001",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
              "size": 365,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2074969",
              "birthtimeMs": 1794308107420,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000001"
            },
            "title": "R01 direct control",
            "messages": [
              {
                "role": "user",
                "text": "R01 direct control"
              }
            ]
          }
        ]
      },
      {
        "event": "warm.recent(Q)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000004",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl",
              "size": 377,
              "mtimeMs": 1794311999300,
              "device": 64769,
              "inode": "2074972",
              "birthtimeMs": 1794308107420,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000004"
            },
            "title": "R04 real other cwd assigned to P",
            "messages": [
              {
                "role": "user",
                "text": "R04 real other cwd assigned to P"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000001",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
              "size": 365,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2074969",
              "birthtimeMs": 1794308107420,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000001"
            },
            "title": "R01 direct control",
            "messages": [
              {
                "role": "user",
                "text": "R01 direct control"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.recent(Q)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000004",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl",
              "size": 377,
              "mtimeMs": 1794311999300,
              "device": 64769,
              "inode": "2074972",
              "birthtimeMs": 1794308107420,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000004"
            },
            "title": "R04 real other cwd assigned to P",
            "messages": [
              {
                "role": "user",
                "text": "R04 real other cwd assigned to P"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "fixture": "M1-composite",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/M1-composite/fixture.json",
    "rows": [
      "R01",
      "R02",
      "R03",
      "R04",
      "R05",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537379,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/M1-composite/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/M1-composite-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl": "95638de6f27e465a38c6449dd4a10fb00598bf621253899fe552ed416dae33c2",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl": "1454561726a811317daa114cf24faa14d09dabc479e64cec94783887e9aa2248",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000003.jsonl": "cbe5783e807a09903fe98dc69afda84fb8a4894028d32c91399717aad6ababb9",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl": "ba95fadf30dbcde936a61c98460bbe1a5e004fea5168270b9bc0286f5fb91ce5",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005.jsonl": "9f12d5aa54dcc7f19bad6f0039ccd55b05f111b1d8ca642688b346c114c54794",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000033.jsonl": "c0237b3913b60952dd9c4c0766dd01409877738846a7bbb6e2f3ad1f5f24fe19",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000034.jsonl": "8079f8afcdb9e7bb3afa5d5ecaa130ab97677ad080d7d78b3156889daf925e5a",
      ".codex/state_5.sqlite": "d0cf93c11b437f607773acad2efd5c9a51a01f25737ebda01011ea7865e8bb32"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl": "95638de6f27e465a38c6449dd4a10fb00598bf621253899fe552ed416dae33c2",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl": "1454561726a811317daa114cf24faa14d09dabc479e64cec94783887e9aa2248",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000003.jsonl": "cbe5783e807a09903fe98dc69afda84fb8a4894028d32c91399717aad6ababb9",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl": "ba95fadf30dbcde936a61c98460bbe1a5e004fea5168270b9bc0286f5fb91ce5",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005.jsonl": "9f12d5aa54dcc7f19bad6f0039ccd55b05f111b1d8ca642688b346c114c54794",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000033.jsonl": "c0237b3913b60952dd9c4c0766dd01409877738846a7bbb6e2f3ad1f5f24fe19",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000034.jsonl": "8079f8afcdb9e7bb3afa5d5ecaa130ab97677ad080d7d78b3156889daf925e5a",
      ".codex/state_5.sqlite": "d0cf93c11b437f607773acad2efd5c9a51a01f25737ebda01011ea7865e8bb32"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "M1-composite",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "M1-composite",
          "rows": [
            "R01",
            "R02",
            "R03",
            "R04",
            "R05",
            "R14"
          ],
          "description": "Direct control, moved scratch, unassigned scratch, real other cwd, two rewinds with inherited history",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000001",
              "rolloutId": "019a5f00-0000-7000-8000-000000000001",
              "cwd": "<fakehome>/code/project",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000001\",\"cwd\":\"<fakehome>/code/project\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R01 direct control\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000002",
              "rolloutId": "019a5f00-0000-7000-8000-000000000002",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999100,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000002\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R02 assigned scratch\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000003.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000003",
              "rolloutId": "019a5f00-0000-7000-8000-000000000003",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999200,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000003\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R03 unassigned scratch\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000004",
              "rolloutId": "019a5f00-0000-7000-8000-000000000004",
              "cwd": "<fakehome>/code/other",
              "mtimeMs": 1794311999300,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000004\",\"cwd\":\"<fakehome>/code/other\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R04 real other cwd assigned to P\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000005",
              "rolloutId": "019a5f00-0000-7000-8000-000000000005",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999400,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000005\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\",\"history_mode\":\"paginated\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R05 keep original request\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"response_item\",\"payload\":{\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"R05 keep original reply\"}]}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R05 ABANDON original request\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"response_item\",\"payload\":{\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"R05 ABANDON original reply\"}]}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000033.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000005",
              "rolloutId": "019a5f00-0000-7000-8000-000000000033",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999500,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000005\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\",\"history_mode\":\"paginated\",\"history_base\":{\"thread_id\":\"019a5f00-0000-7000-8000-000000000005\",\"end_ordinal_exclusive\":3,\"end_byte_offset\":602}}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R05 keep first rewind request\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"response_item\",\"payload\":{\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"R05 keep first rewind reply\"}]}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R05 ABANDON first rewind request\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"response_item\",\"payload\":{\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"R05 ABANDON first rewind reply\"}]}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000034.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000005",
              "rolloutId": "019a5f00-0000-7000-8000-000000000034",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999600,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000005\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\",\"history_mode\":\"paginated\",\"history_base\":{\"thread_id\":\"019a5f00-0000-7000-8000-000000000033\",\"end_ordinal_exclusive\":3,\"end_byte_offset\":726}}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R05 final second rewind request\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"response_item\",\"payload\":{\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"output_text\",\"text\":\"R05 final second rewind reply\"}]}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000001",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/code/project"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000002",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000003",
              "projectId": null,
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000004",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/code/other"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000005",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000005",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000005",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 5,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000001",
              "cwd": "<fakehome>/code/project",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000002",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000003",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": null,
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000003.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000004",
              "cwd": "<fakehome>/code/other",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000005",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000034.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [
            {
              "path": "<fakehome>/code/project",
              "title": "project",
              "sources": [
                "codex"
              ],
              "threadCount": 5,
              "lastActiveAt": "2026-11-10T11:59:59.600Z",
              "alreadyImported": false,
              "git": null
            },
            {
              "path": "<fakehome>/code/other",
              "title": "other",
              "sources": [
                "codex"
              ],
              "threadCount": 1,
              "lastActiveAt": "2026-11-10T11:59:59.300Z",
              "alreadyImported": false,
              "git": null
            }
          ],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000005",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000034.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000034.jsonl",
              "size": 730,
              "mtimeMs": 1794311999600,
              "device": 64769,
              "inode": "2074975",
              "birthtimeMs": 1794308107421,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000005"
            },
            "title": "R05 keep original request",
            "messages": [
              {
                "role": "user",
                "text": "R05 keep original request"
              },
              {
                "role": "assistant",
                "text": "R05 keep original reply"
              },
              {
                "role": "user",
                "text": "R05 keep first rewind request"
              },
              {
                "role": "assistant",
                "text": "R05 keep first rewind reply"
              },
              {
                "role": "user",
                "text": "R05 final second rewind request"
              },
              {
                "role": "assistant",
                "text": "R05 final second rewind reply"
              }
            ]
          },
          {
            "tag": "Duplicate",
            "id": "019a5f00-0000-7000-8000-000000000005",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000033.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000033.jsonl",
              "size": 1052,
              "mtimeMs": 1794311999500,
              "device": 64769,
              "inode": "2074974",
              "birthtimeMs": 1794308107421,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000005"
            }
          },
          {
            "tag": "Duplicate",
            "id": "019a5f00-0000-7000-8000-000000000005",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005.jsonl",
              "size": 920,
              "mtimeMs": 1794311999400,
              "device": 64769,
              "inode": "2074973",
              "birthtimeMs": 1794308107421,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000005"
            }
          },
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000002",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl",
              "size": 390,
              "mtimeMs": 1794311999100,
              "device": 64769,
              "inode": "2074970",
              "birthtimeMs": 1794308107420,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000002"
            },
            "title": "R02 assigned scratch",
            "messages": [
              {
                "role": "user",
                "text": "R02 assigned scratch"
              }
            ]
          },
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000001",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
              "size": 365,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2074969",
              "birthtimeMs": 1794308107420,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000001"
            },
            "title": "R01 direct control",
            "messages": [
              {
                "role": "user",
                "text": "R01 direct control"
              }
            ]
          }
        ]
      },
      {
        "event": "warm.recent(Q)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000004",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl",
              "size": 377,
              "mtimeMs": 1794311999300,
              "device": 64769,
              "inode": "2074972",
              "birthtimeMs": 1794308107420,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000004"
            },
            "title": "R04 real other cwd assigned to P",
            "messages": [
              {
                "role": "user",
                "text": "R04 real other cwd assigned to P"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000005",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000034.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000034.jsonl",
              "size": 730,
              "mtimeMs": 1794311999600,
              "device": 64769,
              "inode": "2074975",
              "birthtimeMs": 1794308107421,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000005"
            },
            "title": "R05 keep original request",
            "messages": [
              {
                "role": "user",
                "text": "R05 keep original request"
              },
              {
                "role": "assistant",
                "text": "R05 keep original reply"
              },
              {
                "role": "user",
                "text": "R05 keep first rewind request"
              },
              {
                "role": "assistant",
                "text": "R05 keep first rewind reply"
              },
              {
                "role": "user",
                "text": "R05 final second rewind request"
              },
              {
                "role": "assistant",
                "text": "R05 final second rewind reply"
              }
            ]
          },
          {
            "tag": "Duplicate",
            "id": "019a5f00-0000-7000-8000-000000000005",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000033.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005_019a5f00-0000-7000-8000-000000000033.jsonl",
              "size": 1052,
              "mtimeMs": 1794311999500,
              "device": 64769,
              "inode": "2074974",
              "birthtimeMs": 1794308107421,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000005"
            }
          },
          {
            "tag": "Duplicate",
            "id": "019a5f00-0000-7000-8000-000000000005",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000005.jsonl",
              "size": 920,
              "mtimeMs": 1794311999400,
              "device": 64769,
              "inode": "2074973",
              "birthtimeMs": 1794308107421,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000005"
            }
          },
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000002",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl",
              "size": 390,
              "mtimeMs": 1794311999100,
              "device": 64769,
              "inode": "2074970",
              "birthtimeMs": 1794308107420,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000002"
            },
            "title": "R02 assigned scratch",
            "messages": [
              {
                "role": "user",
                "text": "R02 assigned scratch"
              }
            ]
          },
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000001",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
              "size": 365,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2074969",
              "birthtimeMs": 1794308107420,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000001"
            },
            "title": "R01 direct control",
            "messages": [
              {
                "role": "user",
                "text": "R01 direct control"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.recent(Q)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000004",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000004.jsonl",
              "size": 377,
              "mtimeMs": 1794311999300,
              "device": 64769,
              "inode": "2074972",
              "birthtimeMs": 1794308107420,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000004"
            },
            "title": "R04 real other cwd assigned to P",
            "messages": [
              {
                "role": "user",
                "text": "R04 real other cwd assigned to P"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "fixture": "M2-corrupt-db",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/M2-corrupt-db/fixture.json",
    "rows": [
      "R06",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537393,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/M2-corrupt-db/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/M2-corrupt-db-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl": "09a328654e35bc310ae84471d28dfda7661bcf599c74b6cc8b8c4a192d52d65f",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl": "81af3c3d754db339e8cc7662dc1b71f8e3b49c58f50991ebaf05b29d2e354f25",
      ".codex/state_5.sqlite": "1392877e0a2f64560ca2895c670ed7223a16900dda5091e0b8568bcfbc52ff8b"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl": "09a328654e35bc310ae84471d28dfda7661bcf599c74b6cc8b8c4a192d52d65f",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl": "81af3c3d754db339e8cc7662dc1b71f8e3b49c58f50991ebaf05b29d2e354f25",
      ".codex/state_5.sqlite": "1392877e0a2f64560ca2895c670ed7223a16900dda5091e0b8568bcfbc52ff8b"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "M2-corrupt-db",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "M2-corrupt-db",
          "rows": [
            "R06",
            "R14"
          ],
          "description": "Direct control and assigned scratch; corrupt state database is deterministic read failure",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000001",
              "rolloutId": "019a5f00-0000-7000-8000-000000000001",
              "cwd": "<fakehome>/code/project",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000001\",\"cwd\":\"<fakehome>/code/project\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R01 direct control\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000002",
              "rolloutId": "019a5f00-0000-7000-8000-000000000002",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000002\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R02 scratch must remain excluded on DB failure\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000001",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/code/project"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000002",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly.failure",
        "output": {
          "home": "<fakehome>/.codex",
          "code": "ERR_SQLITE_ERROR",
          "message": "file is not a database"
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [
            {
              "path": "<fakehome>/code/project",
              "title": "project",
              "sources": [
                "codex"
              ],
              "threadCount": 1,
              "lastActiveAt": "2026-11-10T11:59:59.000Z",
              "alreadyImported": false,
              "git": null
            }
          ],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000001",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
              "size": 366,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2074994",
              "birthtimeMs": 1794308107427,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000001"
            },
            "title": "R01 direct control",
            "messages": [
              {
                "role": "user",
                "text": "R01 direct control"
              }
            ]
          }
        ]
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000001",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
              "size": 366,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2074994",
              "birthtimeMs": 1794308107427,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000001"
            },
            "title": "R01 direct control",
            "messages": [
              {
                "role": "user",
                "text": "R01 direct control"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "M2-corrupt-db",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/M2-corrupt-db/fixture.json",
    "rows": [
      "R06",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537407,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/M2-corrupt-db/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/M2-corrupt-db-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl": "09a328654e35bc310ae84471d28dfda7661bcf599c74b6cc8b8c4a192d52d65f",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl": "81af3c3d754db339e8cc7662dc1b71f8e3b49c58f50991ebaf05b29d2e354f25",
      ".codex/state_5.sqlite": "1392877e0a2f64560ca2895c670ed7223a16900dda5091e0b8568bcfbc52ff8b"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl": "09a328654e35bc310ae84471d28dfda7661bcf599c74b6cc8b8c4a192d52d65f",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl": "81af3c3d754db339e8cc7662dc1b71f8e3b49c58f50991ebaf05b29d2e354f25",
      ".codex/state_5.sqlite": "1392877e0a2f64560ca2895c670ed7223a16900dda5091e0b8568bcfbc52ff8b"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "M2-corrupt-db",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "M2-corrupt-db",
          "rows": [
            "R06",
            "R14"
          ],
          "description": "Direct control and assigned scratch; corrupt state database is deterministic read failure",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000001",
              "rolloutId": "019a5f00-0000-7000-8000-000000000001",
              "cwd": "<fakehome>/code/project",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000001\",\"cwd\":\"<fakehome>/code/project\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R01 direct control\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000002.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000002",
              "rolloutId": "019a5f00-0000-7000-8000-000000000002",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000002\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R02 scratch must remain excluded on DB failure\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000001",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/code/project"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000002",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly.failure",
        "output": {
          "home": "<fakehome>/.codex",
          "code": "ERR_SQLITE_ERROR",
          "message": "file is not a database"
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [
            {
              "path": "<fakehome>/code/project",
              "title": "project",
              "sources": [
                "codex"
              ],
              "threadCount": 1,
              "lastActiveAt": "2026-11-10T11:59:59.000Z",
              "alreadyImported": false,
              "git": null
            }
          ],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000001",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
              "size": 366,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2074994",
              "birthtimeMs": 1794308107427,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000001"
            },
            "title": "R01 direct control",
            "messages": [
              {
                "role": "user",
                "text": "R01 direct control"
              }
            ]
          }
        ]
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000001",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000001.jsonl",
              "size": 366,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2074994",
              "birthtimeMs": 1794308107427,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000001"
            },
            "title": "R01 direct control",
            "messages": [
              {
                "role": "user",
                "text": "R01 direct control"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "M3-root-order",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/M3-root-order/fixture.json",
    "rows": [
      "R07",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537424,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/M3-root-order/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/M3-root-order-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000007.jsonl": "67fff03442fccad1277f944221dd402087194cdd79df8e3430a1ffa75e81b242",
      ".codex/state_5.sqlite": "0242714d0289b5986ced0e88a4a8d968916e7fbab606d11a87e880894cac2a37"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000007.jsonl": "67fff03442fccad1277f944221dd402087194cdd79df8e3430a1ffa75e81b242",
      ".codex/state_5.sqlite": "0242714d0289b5986ced0e88a4a8d968916e7fbab606d11a87e880894cac2a37"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "M3-root-order",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "M3-root-order",
          "rows": [
            "R07",
            "R14"
          ],
          "description": "Root Q at position 1 is inserted before P at position 0; no direct control",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000007.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000007",
              "rolloutId": "019a5f00-0000-7000-8000-000000000007",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000007\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R07 position zero wins\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000007",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/other"
            },
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000007",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000007.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/other"
            },
            {
              "rowid": 2,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "M3-root-order",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/M3-root-order/fixture.json",
    "rows": [
      "R07",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537456,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/M3-root-order/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/M3-root-order-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000007.jsonl": "67fff03442fccad1277f944221dd402087194cdd79df8e3430a1ffa75e81b242",
      ".codex/state_5.sqlite": "0242714d0289b5986ced0e88a4a8d968916e7fbab606d11a87e880894cac2a37"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000007.jsonl": "67fff03442fccad1277f944221dd402087194cdd79df8e3430a1ffa75e81b242",
      ".codex/state_5.sqlite": "0242714d0289b5986ced0e88a4a8d968916e7fbab606d11a87e880894cac2a37"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "M3-root-order",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "M3-root-order",
          "rows": [
            "R07",
            "R14"
          ],
          "description": "Root Q at position 1 is inserted before P at position 0; no direct control",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000007.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000007",
              "rolloutId": "019a5f00-0000-7000-8000-000000000007",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000007\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R07 position zero wins\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000007",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/other"
            },
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000007",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000007.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/other"
            },
            {
              "rowid": 2,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [
            {
              "path": "<fakehome>/code/project",
              "title": "project",
              "sources": [
                "codex"
              ],
              "threadCount": 1,
              "lastActiveAt": "2026-11-10T11:59:59.000Z",
              "alreadyImported": false,
              "git": null
            }
          ],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000007",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000007.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000007.jsonl",
              "size": 393,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075014",
              "birthtimeMs": 1794308107433,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000007"
            },
            "title": "R07 position zero wins",
            "messages": [
              {
                "role": "user",
                "text": "R07 position zero wins"
              }
            ]
          }
        ]
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000007",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000007.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000007.jsonl",
              "size": 393,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075014",
              "birthtimeMs": 1794308107433,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000007"
            },
            "title": "R07 position zero wins",
            "messages": [
              {
                "role": "user",
                "text": "R07 position zero wins"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R08-relative",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R08-relative/fixture.json",
    "rows": [
      "R08",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537470,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R08-relative/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R08-relative-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl": "fa9ad2ddb025c4f69df86a60fcfd840a8fb3b55de00cb6e9bdcc8f7318619077",
      ".codex/state_5.sqlite": "6f8c4ded438b0e09db178977db474ae6a0f1d5216e910b0422c65a3c3303ef2a"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl": "fa9ad2ddb025c4f69df86a60fcfd840a8fb3b55de00cb6e9bdcc8f7318619077",
      ".codex/state_5.sqlite": "6f8c4ded438b0e09db178977db474ae6a0f1d5216e910b0422c65a3c3303ef2a"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R08-relative",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R08-relative",
          "rows": [
            "R08",
            "R14"
          ],
          "description": "Assigned root rejected: relative",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000008",
              "rolloutId": "019a5f00-0000-7000-8000-000000000008",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000008\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R08 mapped invalid destination\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000008",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "relative-project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000008",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "relative-project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R08-relative",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R08-relative/fixture.json",
    "rows": [
      "R08",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537485,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R08-relative/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R08-relative-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl": "fa9ad2ddb025c4f69df86a60fcfd840a8fb3b55de00cb6e9bdcc8f7318619077",
      ".codex/state_5.sqlite": "6f8c4ded438b0e09db178977db474ae6a0f1d5216e910b0422c65a3c3303ef2a"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl": "fa9ad2ddb025c4f69df86a60fcfd840a8fb3b55de00cb6e9bdcc8f7318619077",
      ".codex/state_5.sqlite": "6f8c4ded438b0e09db178977db474ae6a0f1d5216e910b0422c65a3c3303ef2a"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R08-relative",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R08-relative",
          "rows": [
            "R08",
            "R14"
          ],
          "description": "Assigned root rejected: relative",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000008",
              "rolloutId": "019a5f00-0000-7000-8000-000000000008",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000008\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R08 mapped invalid destination\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000008",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "relative-project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000008",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "relative-project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R08-excluded",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R08-excluded/fixture.json",
    "rows": [
      "R08",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537499,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R08-excluded/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R08-excluded-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl": "59eed3322bb7ffcaab31902eb34455e9f2f57c4690d409e379e1d9d74000625d",
      ".codex/state_5.sqlite": "35c4dd250c88afa8f915819bb056b37fb4041a4aaa6b37cf64a6333dea7a7bd7"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl": "59eed3322bb7ffcaab31902eb34455e9f2f57c4690d409e379e1d9d74000625d",
      ".codex/state_5.sqlite": "35c4dd250c88afa8f915819bb056b37fb4041a4aaa6b37cf64a6333dea7a7bd7"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R08-excluded",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R08-excluded",
          "rows": [
            "R08",
            "R14"
          ],
          "description": "Assigned root rejected: excluded",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other",
            "destination": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000008",
              "rolloutId": "019a5f00-0000-7000-8000-000000000008",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000008\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R08 mapped invalid destination\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000008",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000008",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "warm.recent(destination)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      },
      {
        "event": "cold.recent(destination)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R08-excluded",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R08-excluded/fixture.json",
    "rows": [
      "R08",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537514,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R08-excluded/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R08-excluded-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl": "59eed3322bb7ffcaab31902eb34455e9f2f57c4690d409e379e1d9d74000625d",
      ".codex/state_5.sqlite": "35c4dd250c88afa8f915819bb056b37fb4041a4aaa6b37cf64a6333dea7a7bd7"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl": "59eed3322bb7ffcaab31902eb34455e9f2f57c4690d409e379e1d9d74000625d",
      ".codex/state_5.sqlite": "35c4dd250c88afa8f915819bb056b37fb4041a4aaa6b37cf64a6333dea7a7bd7"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R08-excluded",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R08-excluded",
          "rows": [
            "R08",
            "R14"
          ],
          "description": "Assigned root rejected: excluded",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other",
            "destination": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000008",
              "rolloutId": "019a5f00-0000-7000-8000-000000000008",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000008\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R08 mapped invalid destination\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000008",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000008",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "warm.recent(destination)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      },
      {
        "event": "cold.recent(destination)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R08-symlink-excluded",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R08-symlink-excluded/fixture.json",
    "rows": [
      "R08",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537541,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R08-symlink-excluded/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R08-symlink-excluded-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl": "1ec050a5c5921fda28b95b2cf9f065a457ce985125dca4a4fcdf8670f1d18d8f",
      ".codex/state_5.sqlite": "1e0694de8ea04adca6b40bd656de695ea539d4a4cb1ac6b925cf8959da6b2bc7"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl": "1ec050a5c5921fda28b95b2cf9f065a457ce985125dca4a4fcdf8670f1d18d8f",
      ".codex/state_5.sqlite": "1e0694de8ea04adca6b40bd656de695ea539d4a4cb1ac6b925cf8959da6b2bc7"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R08-symlink-excluded",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R08-symlink-excluded",
          "rows": [
            "R08",
            "R14"
          ],
          "description": "Assigned root rejected: symlink-excluded",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other",
            "destination": "<fakehome>/code/disguised-scratch"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000008",
              "rolloutId": "019a5f00-0000-7000-8000-000000000008",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000008\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R08 mapped invalid destination\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000008",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/disguised-scratch"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000008",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/disguised-scratch"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "warm.recent(destination)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      },
      {
        "event": "cold.recent(destination)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R08-symlink-excluded",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R08-symlink-excluded/fixture.json",
    "rows": [
      "R08",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537574,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R08-symlink-excluded/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R08-symlink-excluded-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl": "1ec050a5c5921fda28b95b2cf9f065a457ce985125dca4a4fcdf8670f1d18d8f",
      ".codex/state_5.sqlite": "1e0694de8ea04adca6b40bd656de695ea539d4a4cb1ac6b925cf8959da6b2bc7"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl": "1ec050a5c5921fda28b95b2cf9f065a457ce985125dca4a4fcdf8670f1d18d8f",
      ".codex/state_5.sqlite": "1e0694de8ea04adca6b40bd656de695ea539d4a4cb1ac6b925cf8959da6b2bc7"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R08-symlink-excluded",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R08-symlink-excluded",
          "rows": [
            "R08",
            "R14"
          ],
          "description": "Assigned root rejected: symlink-excluded",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other",
            "destination": "<fakehome>/code/disguised-scratch"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000008",
              "rolloutId": "019a5f00-0000-7000-8000-000000000008",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000008\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R08 mapped invalid destination\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000008",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/disguised-scratch"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000008",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000008.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/disguised-scratch"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "warm.recent(destination)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      },
      {
        "event": "cold.recent(destination)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R09-absent",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R09-absent/fixture.json",
    "rows": [
      "R09",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537595,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R09-absent/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R09-absent-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl": "6a966c97a40cc4cd4d986a14830364bd568a8506b8321617d6741d223d8e36ee",
      ".codex/state_5.sqlite": "7c9bac18fd66e91883ed74679ed96a8cf11b7c5a075eff43580b89f3d34c43f7"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl": "6a966c97a40cc4cd4d986a14830364bd568a8506b8321617d6741d223d8e36ee",
      ".codex/state_5.sqlite": "7c9bac18fd66e91883ed74679ed96a8cf11b7c5a075eff43580b89f3d34c43f7"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R09-absent",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R09-absent",
          "rows": [
            "R09",
            "R14"
          ],
          "description": "Mapped destination absent precedes valid P; scanner and direct recent have different validation",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other",
            "destination": "<fakehome>/code/destination"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000009",
              "rolloutId": "019a5f00-0000-7000-8000-000000000009",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000009\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R09 direct recent destination\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000009",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/destination"
            },
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000009",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/destination"
            },
            {
              "rowid": 2,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "warm.recent(destination)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      },
      {
        "event": "cold.recent(destination)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R09-absent",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R09-absent/fixture.json",
    "rows": [
      "R09",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537609,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R09-absent/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R09-absent-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl": "6a966c97a40cc4cd4d986a14830364bd568a8506b8321617d6741d223d8e36ee",
      ".codex/state_5.sqlite": "7c9bac18fd66e91883ed74679ed96a8cf11b7c5a075eff43580b89f3d34c43f7"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl": "6a966c97a40cc4cd4d986a14830364bd568a8506b8321617d6741d223d8e36ee",
      ".codex/state_5.sqlite": "7c9bac18fd66e91883ed74679ed96a8cf11b7c5a075eff43580b89f3d34c43f7"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R09-absent",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R09-absent",
          "rows": [
            "R09",
            "R14"
          ],
          "description": "Mapped destination absent precedes valid P; scanner and direct recent have different validation",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other",
            "destination": "<fakehome>/code/destination"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000009",
              "rolloutId": "019a5f00-0000-7000-8000-000000000009",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000009\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R09 direct recent destination\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000009",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/destination"
            },
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000009",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/destination"
            },
            {
              "rowid": 2,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "warm.recent(destination)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000009",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
              "size": 397,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075091",
              "birthtimeMs": 1794308107484,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000009"
            },
            "title": "R09 direct recent destination",
            "messages": [
              {
                "role": "user",
                "text": "R09 direct recent destination"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      },
      {
        "event": "cold.recent(destination)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000009",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
              "size": 397,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075091",
              "birthtimeMs": 1794308107484,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000009"
            },
            "title": "R09 direct recent destination",
            "messages": [
              {
                "role": "user",
                "text": "R09 direct recent destination"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "fixture": "R09-file",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R09-file/fixture.json",
    "rows": [
      "R09",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537623,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R09-file/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R09-file-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl": "1ae3f7d4a9989e9a4376679aa0df11e99a098f24abfb308dc03501b4eaa40578",
      ".codex/state_5.sqlite": "1acc86a7b122e9b8b2c51e298cf61cc4e7df6f3a26ec2bfdbd8ab707de069a0a",
      "code/destination": "d1148fa160b8fd71fcc800cdd1fe509a806ee6ec980ded86a283e1a5999124e4"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl": "1ae3f7d4a9989e9a4376679aa0df11e99a098f24abfb308dc03501b4eaa40578",
      ".codex/state_5.sqlite": "1acc86a7b122e9b8b2c51e298cf61cc4e7df6f3a26ec2bfdbd8ab707de069a0a",
      "code/destination": "d1148fa160b8fd71fcc800cdd1fe509a806ee6ec980ded86a283e1a5999124e4"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R09-file",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R09-file",
          "rows": [
            "R09",
            "R14"
          ],
          "description": "Mapped destination file precedes valid P; scanner and direct recent have different validation",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other",
            "destination": "<fakehome>/code/destination"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000009",
              "rolloutId": "019a5f00-0000-7000-8000-000000000009",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000009\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R09 direct recent destination\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000009",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/destination"
            },
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000009",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/destination"
            },
            {
              "rowid": 2,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "warm.recent(destination)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      },
      {
        "event": "cold.recent(destination)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R09-file",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R09-file/fixture.json",
    "rows": [
      "R09",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537637,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R09-file/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R09-file-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl": "1ae3f7d4a9989e9a4376679aa0df11e99a098f24abfb308dc03501b4eaa40578",
      ".codex/state_5.sqlite": "1acc86a7b122e9b8b2c51e298cf61cc4e7df6f3a26ec2bfdbd8ab707de069a0a",
      "code/destination": "d1148fa160b8fd71fcc800cdd1fe509a806ee6ec980ded86a283e1a5999124e4"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl": "1ae3f7d4a9989e9a4376679aa0df11e99a098f24abfb308dc03501b4eaa40578",
      ".codex/state_5.sqlite": "1acc86a7b122e9b8b2c51e298cf61cc4e7df6f3a26ec2bfdbd8ab707de069a0a",
      "code/destination": "d1148fa160b8fd71fcc800cdd1fe509a806ee6ec980ded86a283e1a5999124e4"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R09-file",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R09-file",
          "rows": [
            "R09",
            "R14"
          ],
          "description": "Mapped destination file precedes valid P; scanner and direct recent have different validation",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other",
            "destination": "<fakehome>/code/destination"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000009",
              "rolloutId": "019a5f00-0000-7000-8000-000000000009",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000009\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R09 direct recent destination\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000009",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/destination"
            },
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000009",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/destination"
            },
            {
              "rowid": 2,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "warm.recent(destination)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000009",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
              "size": 395,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075111",
              "birthtimeMs": 1794308107491,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000009"
            },
            "title": "R09 direct recent destination",
            "messages": [
              {
                "role": "user",
                "text": "R09 direct recent destination"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      },
      {
        "event": "cold.recent(destination)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000009",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
              "size": 395,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075111",
              "birthtimeMs": 1794308107491,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000009"
            },
            "title": "R09 direct recent destination",
            "messages": [
              {
                "role": "user",
                "text": "R09 direct recent destination"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "fixture": "R09-linked-worktree",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R09-linked-worktree/fixture.json",
    "rows": [
      "R09",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537670,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R09-linked-worktree/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R09-linked-worktree-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl": "d98a09c4c19bf897d5381b6490921755e5318d2ed7412027eed33d533e1a2b23",
      ".codex/state_5.sqlite": "2565de8091f15999ba7366587fae4358b124c7e6efd44ca33e05bd7246be80f6",
      "code/destination/.git": "a26074ff459ec904cd419261ea04159ae978cbd868a49989cc054c1ca8761559",
      "synthetic-repo/.git/config": "02a1d154d6b7756a53723457720fd7d877e4cc60d97fed77d5b07ad73e7810c9",
      "synthetic-repo/.git/worktrees/destination/commondir": "340ddcb67a6204f742cd1e28e5b462622dde7daaa8ee36001897196aacdc6d47"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl": "d98a09c4c19bf897d5381b6490921755e5318d2ed7412027eed33d533e1a2b23",
      ".codex/state_5.sqlite": "2565de8091f15999ba7366587fae4358b124c7e6efd44ca33e05bd7246be80f6",
      "code/destination/.git": "a26074ff459ec904cd419261ea04159ae978cbd868a49989cc054c1ca8761559",
      "synthetic-repo/.git/config": "02a1d154d6b7756a53723457720fd7d877e4cc60d97fed77d5b07ad73e7810c9",
      "synthetic-repo/.git/worktrees/destination/commondir": "340ddcb67a6204f742cd1e28e5b462622dde7daaa8ee36001897196aacdc6d47"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R09-linked-worktree",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R09-linked-worktree",
          "rows": [
            "R09",
            "R14"
          ],
          "description": "Mapped destination linked-worktree precedes valid P; scanner and direct recent have different validation",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other",
            "destination": "<fakehome>/code/destination"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000009",
              "rolloutId": "019a5f00-0000-7000-8000-000000000009",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000009\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R09 direct recent destination\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000009",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/destination"
            },
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000009",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/destination"
            },
            {
              "rowid": 2,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "warm.recent(destination)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      },
      {
        "event": "cold.recent(destination)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R09-linked-worktree",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R09-linked-worktree/fixture.json",
    "rows": [
      "R09",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537684,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R09-linked-worktree/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R09-linked-worktree-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl": "d98a09c4c19bf897d5381b6490921755e5318d2ed7412027eed33d533e1a2b23",
      ".codex/state_5.sqlite": "2565de8091f15999ba7366587fae4358b124c7e6efd44ca33e05bd7246be80f6",
      "code/destination/.git": "a26074ff459ec904cd419261ea04159ae978cbd868a49989cc054c1ca8761559",
      "synthetic-repo/.git/config": "02a1d154d6b7756a53723457720fd7d877e4cc60d97fed77d5b07ad73e7810c9",
      "synthetic-repo/.git/worktrees/destination/commondir": "340ddcb67a6204f742cd1e28e5b462622dde7daaa8ee36001897196aacdc6d47"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl": "d98a09c4c19bf897d5381b6490921755e5318d2ed7412027eed33d533e1a2b23",
      ".codex/state_5.sqlite": "2565de8091f15999ba7366587fae4358b124c7e6efd44ca33e05bd7246be80f6",
      "code/destination/.git": "a26074ff459ec904cd419261ea04159ae978cbd868a49989cc054c1ca8761559",
      "synthetic-repo/.git/config": "02a1d154d6b7756a53723457720fd7d877e4cc60d97fed77d5b07ad73e7810c9",
      "synthetic-repo/.git/worktrees/destination/commondir": "340ddcb67a6204f742cd1e28e5b462622dde7daaa8ee36001897196aacdc6d47"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R09-linked-worktree",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R09-linked-worktree",
          "rows": [
            "R09",
            "R14"
          ],
          "description": "Mapped destination linked-worktree precedes valid P; scanner and direct recent have different validation",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other",
            "destination": "<fakehome>/code/destination"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000009",
              "rolloutId": "019a5f00-0000-7000-8000-000000000009",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000009\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R09 direct recent destination\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000009",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/destination"
            },
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000009",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/destination"
            },
            {
              "rowid": 2,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 1,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "warm.recent(destination)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000009",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
              "size": 406,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075138",
              "birthtimeMs": 1794308107498,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000009"
            },
            "title": "R09 direct recent destination",
            "messages": [
              {
                "role": "user",
                "text": "R09 direct recent destination"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      },
      {
        "event": "cold.recent(destination)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000009",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000009.jsonl",
              "size": 406,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075138",
              "birthtimeMs": 1794308107498,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000009"
            },
            "title": "R09 direct recent destination",
            "messages": [
              {
                "role": "user",
                "text": "R09 direct recent destination"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "fixture": "R10-homes",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R10-homes/fixture.json",
    "rows": [
      "R10",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537701,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R10-homes/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R10-homes-before.log",
    "fixtureHashesBefore": {
      ".claude/projects/synthetic/claude-control.jsonl": "e8041ab04e7ee1426bae4ff4d25dca1aa607d4d81f8d5ff79558d651b71610d4",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl": "b1bc9993e635371d00b30cc608362c4480d9e13a7be75c457f7890c431c2129e",
      ".codex/state_5.sqlite": "4129af759789b67b1ce907d4075301de112ef1897a061b5695b22c3dbac788cb",
      ".codex-disabled/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000b.jsonl": "00354699fa1915b704da049fb958a81d42a5292d8eb943a96ec74d9cde0d5b08",
      ".codex-work/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl": "c75cf72691cfe3aab713f3e96981093a5a39e30c19775568ef499cdbb5ad9d58",
      ".codex-work/state_5.sqlite": "5be68bd8e2004a7dca3f0b5024699108aaae4f47d81dd67557d7ac6f21c8f10c",
      ".pi/sessions/synthetic/pi-control.jsonl": "1228881033019d720154d80a60ef0f7b525c3f84490c4e517e6ded3a5d238f75"
    },
    "fixtureHashesAfter": {
      ".claude/projects/synthetic/claude-control.jsonl": "e8041ab04e7ee1426bae4ff4d25dca1aa607d4d81f8d5ff79558d651b71610d4",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl": "b1bc9993e635371d00b30cc608362c4480d9e13a7be75c457f7890c431c2129e",
      ".codex/state_5.sqlite": "4129af759789b67b1ce907d4075301de112ef1897a061b5695b22c3dbac788cb",
      ".codex-disabled/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000b.jsonl": "00354699fa1915b704da049fb958a81d42a5292d8eb943a96ec74d9cde0d5b08",
      ".codex-work/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl": "c75cf72691cfe3aab713f3e96981093a5a39e30c19775568ef499cdbb5ad9d58",
      ".codex-work/state_5.sqlite": "5be68bd8e2004a7dca3f0b5024699108aaae4f47d81dd67557d7ac6f21c8f10c",
      ".pi/sessions/synthetic/pi-control.jsonl": "1228881033019d720154d80a60ef0f7b525c3f84490c4e517e6ded3a5d238f75"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R10-homes",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R10-homes",
          "rows": [
            "R10",
            "R14"
          ],
          "description": "Same thread UUID in distinct homes maps independently; alias scanned once, disabled home omitted, Claude and Pi controls",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000000a",
              "rolloutId": "019a5f00-0000-7000-8000-00000000000a",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000000a\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R10 primary home maps P\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex-work/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000000a",
              "rolloutId": "019a5f00-0000-7000-8000-00000000000a",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000000a\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R10 other home maps Q\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex-disabled/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000b.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000000b",
              "rolloutId": "019a5f00-0000-7000-8000-00000000000b",
              "cwd": "<fakehome>/code/other",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000000b\",\"cwd\":\"<fakehome>/code/other\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R10 disabled should not appear\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-00000000000a",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ],
          "providerInstances": {
            "codex-alias": {
              "driver": "codex",
              "config": {
                "homePath": "<fakehome>/.codex-alias"
              }
            },
            "codex-work": {
              "driver": "codex",
              "config": {
                "homePath": "<fakehome>/.codex-work"
              }
            },
            "codex-disabled": {
              "driver": "codex",
              "enabled": false,
              "config": {
                "homePath": "<fakehome>/.codex-disabled"
              }
            }
          }
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-00000000000a",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex-alias",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-00000000000a",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex-work",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-00000000000a",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a2",
              "rollout_path": "<fakehome>/.codex-work/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a2",
              "position": 0,
              "path": "<fakehome>/code/other"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly.failure",
        "output": {
          "home": "<fakehome>/.codex-disabled",
          "code": "ERR_SQLITE_ERROR",
          "message": "unable to open database file"
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [
            {
              "path": "<fakehome>/code/project",
              "title": "project",
              "sources": [
                "claudeAgent"
              ],
              "threadCount": 1,
              "lastActiveAt": "2026-11-10T11:59:58.000Z",
              "alreadyImported": false,
              "git": null
            },
            {
              "path": "<fakehome>/code/other",
              "title": "other",
              "sources": [
                "pi"
              ],
              "threadCount": 1,
              "lastActiveAt": "2026-11-10T11:59:57.000Z",
              "alreadyImported": false,
              "git": null
            }
          ],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "claude-control",
            "provider": "claudeAgent",
            "providerInstanceId": "claudeAgent",
            "file": "<fakehome>/.claude/projects/synthetic/claude-control.jsonl",
            "identity": {
              "filePath": "<fakehome>/.claude/projects/synthetic/claude-control.jsonl",
              "size": 261,
              "mtimeMs": 1794311998000,
              "device": 64769,
              "inode": "2075174",
              "birthtimeMs": 1794308107510,
              "provider": "claudeAgent",
              "providerInstanceId": "claudeAgent",
              "providerSessionId": "claude-control"
            },
            "title": "R10 Claude preserved",
            "messages": [
              {
                "role": "user",
                "text": "R10 Claude preserved"
              }
            ]
          }
        ]
      },
      {
        "event": "warm.recent(Q)",
        "output": [
          {
            "tag": "Importable",
            "id": "pi-control",
            "provider": "pi",
            "providerInstanceId": "pi",
            "file": "<fakehome>/.pi/sessions/synthetic/pi-control.jsonl",
            "identity": {
              "filePath": "<fakehome>/.pi/sessions/synthetic/pi-control.jsonl",
              "size": 375,
              "mtimeMs": 1794311997000,
              "device": 64769,
              "inode": "2075177",
              "birthtimeMs": 1794308107510,
              "provider": "pi",
              "providerInstanceId": "pi",
              "providerSessionId": "pi-control"
            },
            "title": "R10 Pi preserved",
            "messages": [
              {
                "role": "user",
                "text": "R10 Pi preserved"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "claude-control",
            "provider": "claudeAgent",
            "providerInstanceId": "claudeAgent",
            "file": "<fakehome>/.claude/projects/synthetic/claude-control.jsonl",
            "identity": {
              "filePath": "<fakehome>/.claude/projects/synthetic/claude-control.jsonl",
              "size": 261,
              "mtimeMs": 1794311998000,
              "device": 64769,
              "inode": "2075174",
              "birthtimeMs": 1794308107510,
              "provider": "claudeAgent",
              "providerInstanceId": "claudeAgent",
              "providerSessionId": "claude-control"
            },
            "title": "R10 Claude preserved",
            "messages": [
              {
                "role": "user",
                "text": "R10 Claude preserved"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.recent(Q)",
        "output": [
          {
            "tag": "Importable",
            "id": "pi-control",
            "provider": "pi",
            "providerInstanceId": "pi",
            "file": "<fakehome>/.pi/sessions/synthetic/pi-control.jsonl",
            "identity": {
              "filePath": "<fakehome>/.pi/sessions/synthetic/pi-control.jsonl",
              "size": 375,
              "mtimeMs": 1794311997000,
              "device": 64769,
              "inode": "2075177",
              "birthtimeMs": 1794308107510,
              "provider": "pi",
              "providerInstanceId": "pi",
              "providerSessionId": "pi-control"
            },
            "title": "R10 Pi preserved",
            "messages": [
              {
                "role": "user",
                "text": "R10 Pi preserved"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "fixture": "R10-homes",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R10-homes/fixture.json",
    "rows": [
      "R10",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537715,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R10-homes/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R10-homes-after.log",
    "fixtureHashesBefore": {
      ".claude/projects/synthetic/claude-control.jsonl": "e8041ab04e7ee1426bae4ff4d25dca1aa607d4d81f8d5ff79558d651b71610d4",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl": "b1bc9993e635371d00b30cc608362c4480d9e13a7be75c457f7890c431c2129e",
      ".codex/state_5.sqlite": "4129af759789b67b1ce907d4075301de112ef1897a061b5695b22c3dbac788cb",
      ".codex-disabled/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000b.jsonl": "00354699fa1915b704da049fb958a81d42a5292d8eb943a96ec74d9cde0d5b08",
      ".codex-work/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl": "c75cf72691cfe3aab713f3e96981093a5a39e30c19775568ef499cdbb5ad9d58",
      ".codex-work/state_5.sqlite": "5be68bd8e2004a7dca3f0b5024699108aaae4f47d81dd67557d7ac6f21c8f10c",
      ".pi/sessions/synthetic/pi-control.jsonl": "1228881033019d720154d80a60ef0f7b525c3f84490c4e517e6ded3a5d238f75"
    },
    "fixtureHashesAfter": {
      ".claude/projects/synthetic/claude-control.jsonl": "e8041ab04e7ee1426bae4ff4d25dca1aa607d4d81f8d5ff79558d651b71610d4",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl": "b1bc9993e635371d00b30cc608362c4480d9e13a7be75c457f7890c431c2129e",
      ".codex/state_5.sqlite": "4129af759789b67b1ce907d4075301de112ef1897a061b5695b22c3dbac788cb",
      ".codex-disabled/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000b.jsonl": "00354699fa1915b704da049fb958a81d42a5292d8eb943a96ec74d9cde0d5b08",
      ".codex-work/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl": "c75cf72691cfe3aab713f3e96981093a5a39e30c19775568ef499cdbb5ad9d58",
      ".codex-work/state_5.sqlite": "5be68bd8e2004a7dca3f0b5024699108aaae4f47d81dd67557d7ac6f21c8f10c",
      ".pi/sessions/synthetic/pi-control.jsonl": "1228881033019d720154d80a60ef0f7b525c3f84490c4e517e6ded3a5d238f75"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R10-homes",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R10-homes",
          "rows": [
            "R10",
            "R14"
          ],
          "description": "Same thread UUID in distinct homes maps independently; alias scanned once, disabled home omitted, Claude and Pi controls",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000000a",
              "rolloutId": "019a5f00-0000-7000-8000-00000000000a",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000000a\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R10 primary home maps P\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex-work/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000000a",
              "rolloutId": "019a5f00-0000-7000-8000-00000000000a",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000000a\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R10 other home maps Q\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex-disabled/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000b.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000000b",
              "rolloutId": "019a5f00-0000-7000-8000-00000000000b",
              "cwd": "<fakehome>/code/other",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000000b\",\"cwd\":\"<fakehome>/code/other\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R10 disabled should not appear\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-00000000000a",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ],
          "providerInstances": {
            "codex-alias": {
              "driver": "codex",
              "config": {
                "homePath": "<fakehome>/.codex-alias"
              }
            },
            "codex-work": {
              "driver": "codex",
              "config": {
                "homePath": "<fakehome>/.codex-work"
              }
            },
            "codex-disabled": {
              "driver": "codex",
              "enabled": false,
              "config": {
                "homePath": "<fakehome>/.codex-disabled"
              }
            }
          }
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-00000000000a",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex-alias",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-00000000000a",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex-work",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-00000000000a",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a2",
              "rollout_path": "<fakehome>/.codex-work/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a2",
              "position": 0,
              "path": "<fakehome>/code/other"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly.failure",
        "output": {
          "home": "<fakehome>/.codex-disabled",
          "code": "ERR_SQLITE_ERROR",
          "message": "unable to open database file"
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [
            {
              "path": "<fakehome>/code/other",
              "title": "other",
              "sources": [
                "codex",
                "pi"
              ],
              "threadCount": 2,
              "lastActiveAt": "2026-11-10T11:59:59.000Z",
              "alreadyImported": false,
              "git": null
            },
            {
              "path": "<fakehome>/code/project",
              "title": "project",
              "sources": [
                "claudeAgent",
                "codex"
              ],
              "threadCount": 2,
              "lastActiveAt": "2026-11-10T11:59:59.000Z",
              "alreadyImported": false,
              "git": null
            }
          ],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-00000000000a",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl",
              "size": 390,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075157",
              "birthtimeMs": 1794308107505,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000a"
            },
            "title": "R10 primary home maps P",
            "messages": [
              {
                "role": "user",
                "text": "R10 primary home maps P"
              }
            ]
          },
          {
            "tag": "Importable",
            "id": "claude-control",
            "provider": "claudeAgent",
            "providerInstanceId": "claudeAgent",
            "file": "<fakehome>/.claude/projects/synthetic/claude-control.jsonl",
            "identity": {
              "filePath": "<fakehome>/.claude/projects/synthetic/claude-control.jsonl",
              "size": 261,
              "mtimeMs": 1794311998000,
              "device": 64769,
              "inode": "2075174",
              "birthtimeMs": 1794308107510,
              "provider": "claudeAgent",
              "providerInstanceId": "claudeAgent",
              "providerSessionId": "claude-control"
            },
            "title": "R10 Claude preserved",
            "messages": [
              {
                "role": "user",
                "text": "R10 Claude preserved"
              }
            ]
          }
        ]
      },
      {
        "event": "warm.recent(Q)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-00000000000a",
            "provider": "codex",
            "providerInstanceId": "codex-work",
            "file": "<fakehome>/.codex-work/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex-work/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl",
              "size": 388,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075165",
              "birthtimeMs": 1794308107509,
              "provider": "codex",
              "providerInstanceId": "codex-work",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000a"
            },
            "title": "R10 other home maps Q",
            "messages": [
              {
                "role": "user",
                "text": "R10 other home maps Q"
              }
            ]
          },
          {
            "tag": "Importable",
            "id": "pi-control",
            "provider": "pi",
            "providerInstanceId": "pi",
            "file": "<fakehome>/.pi/sessions/synthetic/pi-control.jsonl",
            "identity": {
              "filePath": "<fakehome>/.pi/sessions/synthetic/pi-control.jsonl",
              "size": 375,
              "mtimeMs": 1794311997000,
              "device": 64769,
              "inode": "2075177",
              "birthtimeMs": 1794308107510,
              "provider": "pi",
              "providerInstanceId": "pi",
              "providerSessionId": "pi-control"
            },
            "title": "R10 Pi preserved",
            "messages": [
              {
                "role": "user",
                "text": "R10 Pi preserved"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-00000000000a",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl",
              "size": 390,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075157",
              "birthtimeMs": 1794308107505,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000a"
            },
            "title": "R10 primary home maps P",
            "messages": [
              {
                "role": "user",
                "text": "R10 primary home maps P"
              }
            ]
          },
          {
            "tag": "Importable",
            "id": "claude-control",
            "provider": "claudeAgent",
            "providerInstanceId": "claudeAgent",
            "file": "<fakehome>/.claude/projects/synthetic/claude-control.jsonl",
            "identity": {
              "filePath": "<fakehome>/.claude/projects/synthetic/claude-control.jsonl",
              "size": 261,
              "mtimeMs": 1794311998000,
              "device": 64769,
              "inode": "2075174",
              "birthtimeMs": 1794308107510,
              "provider": "claudeAgent",
              "providerInstanceId": "claudeAgent",
              "providerSessionId": "claude-control"
            },
            "title": "R10 Claude preserved",
            "messages": [
              {
                "role": "user",
                "text": "R10 Claude preserved"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.recent(Q)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-00000000000a",
            "provider": "codex",
            "providerInstanceId": "codex-work",
            "file": "<fakehome>/.codex-work/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex-work/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000a.jsonl",
              "size": 388,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075165",
              "birthtimeMs": 1794308107509,
              "provider": "codex",
              "providerInstanceId": "codex-work",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000a"
            },
            "title": "R10 other home maps Q",
            "messages": [
              {
                "role": "user",
                "text": "R10 other home maps Q"
              }
            ]
          },
          {
            "tag": "Importable",
            "id": "pi-control",
            "provider": "pi",
            "providerInstanceId": "pi",
            "file": "<fakehome>/.pi/sessions/synthetic/pi-control.jsonl",
            "identity": {
              "filePath": "<fakehome>/.pi/sessions/synthetic/pi-control.jsonl",
              "size": 375,
              "mtimeMs": 1794311997000,
              "device": 64769,
              "inode": "2075177",
              "birthtimeMs": 1794308107510,
              "provider": "pi",
              "providerInstanceId": "pi",
              "providerSessionId": "pi-control"
            },
            "title": "R10 Pi preserved",
            "messages": [
              {
                "role": "user",
                "text": "R10 Pi preserved"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "fixture": "R11-age",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R11-age/fixture.json",
    "rows": [
      "R11",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537729,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R11-age/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R11-age-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000006f.jsonl": "ef0d5f11d48c8ccd60dcdc5ab1f0f4ff7b67bae16650304f390800b8ac830215",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000070.jsonl": "3e0ebc0e4ee9bf66cfd24321e99bf59d1e406d9eedd60142029041e4e44c4911",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000071.jsonl": "bde270b2f427fb3c793fda051acdc07feb7bbdfb11d63764e9a33d1ecd3a47cf",
      ".codex/state_5.sqlite": "a70e41dd2b148184d1ac537fd5d7ea7819a9d33edbe975c27a4b36149c79c999"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000006f.jsonl": "ef0d5f11d48c8ccd60dcdc5ab1f0f4ff7b67bae16650304f390800b8ac830215",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000070.jsonl": "3e0ebc0e4ee9bf66cfd24321e99bf59d1e406d9eedd60142029041e4e44c4911",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000071.jsonl": "bde270b2f427fb3c793fda051acdc07feb7bbdfb11d63764e9a33d1ecd3a47cf",
      ".codex/state_5.sqlite": "a70e41dd2b148184d1ac537fd5d7ea7819a9d33edbe975c27a4b36149c79c999"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R11-age",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R11-age",
          "rows": [
            "R11",
            "R14"
          ],
          "description": "Fixed clock and exact cutoff; scan counts all three mapped sessions, recent accepts only exact 30-day cutoff",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000006f.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000006f",
              "rolloutId": "019a5f00-0000-7000-8000-00000000006f",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1791719999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000006f\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R11 older than cutoff\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000070.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000070",
              "rolloutId": "019a5f00-0000-7000-8000-000000000070",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794312001000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000070\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R11 future mtime\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000071.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000071",
              "rolloutId": "019a5f00-0000-7000-8000-000000000071",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1791720000000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000071\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R11 exact cutoff inclusive\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-00000000006f",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000070",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000071",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 3,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-00000000006f",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000006f.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000070",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000070.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000071",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000071.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R11-age",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R11-age/fixture.json",
    "rows": [
      "R11",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537743,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R11-age/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R11-age-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000006f.jsonl": "ef0d5f11d48c8ccd60dcdc5ab1f0f4ff7b67bae16650304f390800b8ac830215",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000070.jsonl": "3e0ebc0e4ee9bf66cfd24321e99bf59d1e406d9eedd60142029041e4e44c4911",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000071.jsonl": "bde270b2f427fb3c793fda051acdc07feb7bbdfb11d63764e9a33d1ecd3a47cf",
      ".codex/state_5.sqlite": "a70e41dd2b148184d1ac537fd5d7ea7819a9d33edbe975c27a4b36149c79c999"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000006f.jsonl": "ef0d5f11d48c8ccd60dcdc5ab1f0f4ff7b67bae16650304f390800b8ac830215",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000070.jsonl": "3e0ebc0e4ee9bf66cfd24321e99bf59d1e406d9eedd60142029041e4e44c4911",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000071.jsonl": "bde270b2f427fb3c793fda051acdc07feb7bbdfb11d63764e9a33d1ecd3a47cf",
      ".codex/state_5.sqlite": "a70e41dd2b148184d1ac537fd5d7ea7819a9d33edbe975c27a4b36149c79c999"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R11-age",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R11-age",
          "rows": [
            "R11",
            "R14"
          ],
          "description": "Fixed clock and exact cutoff; scan counts all three mapped sessions, recent accepts only exact 30-day cutoff",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000006f.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000006f",
              "rolloutId": "019a5f00-0000-7000-8000-00000000006f",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1791719999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000006f\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R11 older than cutoff\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000070.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000070",
              "rolloutId": "019a5f00-0000-7000-8000-000000000070",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794312001000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000070\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R11 future mtime\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000071.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000071",
              "rolloutId": "019a5f00-0000-7000-8000-000000000071",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1791720000000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000071\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R11 exact cutoff inclusive\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-00000000006f",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000070",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000071",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 3,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-00000000006f",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000006f.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000070",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000070.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000071",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000071.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [
            {
              "path": "<fakehome>/code/project",
              "title": "project",
              "sources": [
                "codex"
              ],
              "threadCount": 3,
              "lastActiveAt": "2026-11-10T12:00:01.000Z",
              "alreadyImported": false,
              "git": null
            }
          ],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000071",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000071.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000071.jsonl",
              "size": 391,
              "mtimeMs": 1791720000000,
              "device": 64769,
              "inode": "2075198",
              "birthtimeMs": 1794308107516,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000071"
            },
            "title": "R11 exact cutoff inclusive",
            "messages": [
              {
                "role": "user",
                "text": "R11 exact cutoff inclusive"
              }
            ]
          }
        ]
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-000000000071",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000071.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000071.jsonl",
              "size": 391,
              "mtimeMs": 1791720000000,
              "device": 64769,
              "inode": "2075198",
              "birthtimeMs": 1794308107516,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-000000000071"
            },
            "title": "R11 exact cutoff inclusive",
            "messages": [
              {
                "role": "user",
                "text": "R11 exact cutoff inclusive"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R11-row-cap",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R11-row-cap/fixture.json",
    "rows": [
      "R11",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537776,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R11-row-cap/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R11-row-cap-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000072.jsonl": "652bace99f917b51b56441d0ce21ee94cf3ec88242ec732175e4d3a2a4eafdc7",
      ".codex/state_5.sqlite": "5c05d608cb6806d23271a80407b94071cbaaa57b0bf5fbef3bcb25a0a5009f5c"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000072.jsonl": "652bace99f917b51b56441d0ce21ee94cf3ec88242ec732175e4d3a2a4eafdc7",
      ".codex/state_5.sqlite": "5c05d608cb6806d23271a80407b94071cbaaa57b0bf5fbef3bcb25a0a5009f5c"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R11-row-cap",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R11-row-cap",
          "rows": [
            "R11",
            "R14"
          ],
          "description": "Oldest thread is beyond 100000 joined rows; no new truncation flag",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000072.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000072",
              "rolloutId": "019a5f00-0000-7000-8000-000000000072",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000072\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R11 beyond DB joined-row cap\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000072",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ],
          "rowCap": "100000 filler joined rows inserted after target; target rowid 1 is beyond LIMIT 100000"
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 100001,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000072",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000072.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R11-row-cap",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R11-row-cap/fixture.json",
    "rows": [
      "R11",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537790,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R11-row-cap/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R11-row-cap-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000072.jsonl": "652bace99f917b51b56441d0ce21ee94cf3ec88242ec732175e4d3a2a4eafdc7",
      ".codex/state_5.sqlite": "5c05d608cb6806d23271a80407b94071cbaaa57b0bf5fbef3bcb25a0a5009f5c"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000072.jsonl": "652bace99f917b51b56441d0ce21ee94cf3ec88242ec732175e4d3a2a4eafdc7",
      ".codex/state_5.sqlite": "5c05d608cb6806d23271a80407b94071cbaaa57b0bf5fbef3bcb25a0a5009f5c"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R11-row-cap",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R11-row-cap",
          "rows": [
            "R11",
            "R14"
          ],
          "description": "Oldest thread is beyond 100000 joined rows; no new truncation flag",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000072.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000072",
              "rolloutId": "019a5f00-0000-7000-8000-000000000072",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000072\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R11 beyond DB joined-row cap\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000072",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ],
          "rowCap": "100000 filler joined rows inserted after target; target rowid 1 is beyond LIMIT 100000"
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 100001,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000072",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000072.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R12-repeat",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R12-repeat/fixture.json",
    "rows": [
      "R12",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537804,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R12-repeat/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R12-repeat-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl": "42a57cb4fa7c603f25bedba20a3e2b05d76163650c858038e51a1d16e5703b5b",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl": "9968a420671ba6e3744031d9e475328dc53445b3e78978fb072054737ff37e24",
      ".codex/state_5.sqlite": "0b32b1fb39628ce298c620cf801d8d8de01dfe4d069c0c2a55456acdbb5184c2"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl": "42a57cb4fa7c603f25bedba20a3e2b05d76163650c858038e51a1d16e5703b5b",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl": "9968a420671ba6e3744031d9e475328dc53445b3e78978fb072054737ff37e24",
      ".codex/state_5.sqlite": "0b32b1fb39628ce298c620cf801d8d8de01dfe4d069c0c2a55456acdbb5184c2"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R12-repeat",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R12-repeat",
          "rows": [
            "R12",
            "R14"
          ],
          "description": "Mapped duplicate rollouts, completedSources replay, then append changes identity and reparses",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000000c",
              "rolloutId": "019a5f00-0000-7000-8000-00000000000c",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311997000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000000c\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R12 repeated import\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000000c",
              "rolloutId": "019a5f00-0000-7000-8000-000000000079",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311998000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000000c\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R12 newer same-session copy\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-00000000000c",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-00000000000c",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ],
          "repeat": {
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
            "append": "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R12 appended after completed import\"}}\n",
            "originalMtimeMs": 1794311998000
          }
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-00000000000c",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "warm.recent(P; completedSources=initial Importable sources)",
        "output": []
      },
      {
        "event": "mutation.append",
        "output": {
          "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
          "appended": "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R12 appended after completed import\"}}\n",
          "mtimeMs": 1794311999000
        }
      },
      {
        "event": "warm.recent(P; changed file; old completedSources)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R12-repeat",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R12-repeat/fixture.json",
    "rows": [
      "R12",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537820,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R12-repeat/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R12-repeat-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl": "42a57cb4fa7c603f25bedba20a3e2b05d76163650c858038e51a1d16e5703b5b",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl": "9968a420671ba6e3744031d9e475328dc53445b3e78978fb072054737ff37e24",
      ".codex/state_5.sqlite": "0b32b1fb39628ce298c620cf801d8d8de01dfe4d069c0c2a55456acdbb5184c2"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl": "42a57cb4fa7c603f25bedba20a3e2b05d76163650c858038e51a1d16e5703b5b",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl": "9968a420671ba6e3744031d9e475328dc53445b3e78978fb072054737ff37e24",
      ".codex/state_5.sqlite": "0b32b1fb39628ce298c620cf801d8d8de01dfe4d069c0c2a55456acdbb5184c2"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R12-repeat",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R12-repeat",
          "rows": [
            "R12",
            "R14"
          ],
          "description": "Mapped duplicate rollouts, completedSources replay, then append changes identity and reparses",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000000c",
              "rolloutId": "019a5f00-0000-7000-8000-00000000000c",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311997000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000000c\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R12 repeated import\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000000c",
              "rolloutId": "019a5f00-0000-7000-8000-000000000079",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311998000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000000c\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R12 newer same-session copy\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-00000000000c",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-00000000000c",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ],
          "repeat": {
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
            "append": "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R12 appended after completed import\"}}\n",
            "originalMtimeMs": 1794311998000
          }
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-00000000000c",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [
            {
              "path": "<fakehome>/code/project",
              "title": "project",
              "sources": [
                "codex"
              ],
              "threadCount": 2,
              "lastActiveAt": "2026-11-10T11:59:58.000Z",
              "alreadyImported": false,
              "git": null
            }
          ],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-00000000000c",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
              "size": 395,
              "mtimeMs": 1794311998000,
              "device": 64769,
              "inode": "2075237",
              "birthtimeMs": 1794308107819,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000c"
            },
            "title": "R12 newer same-session copy",
            "messages": [
              {
                "role": "user",
                "text": "R12 newer same-session copy"
              }
            ]
          },
          {
            "tag": "Duplicate",
            "id": "019a5f00-0000-7000-8000-00000000000c",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl",
              "size": 387,
              "mtimeMs": 1794311997000,
              "device": 64769,
              "inode": "2075236",
              "birthtimeMs": 1794308107818,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000c"
            }
          }
        ]
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "warm.recent(P; completedSources=initial Importable sources)",
        "output": [
          {
            "tag": "AlreadyImported",
            "id": "019a5f00-0000-7000-8000-00000000000c",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
              "size": 395,
              "mtimeMs": 1794311998000,
              "device": 64769,
              "inode": "2075237",
              "birthtimeMs": 1794308107819,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000c"
            }
          },
          {
            "tag": "Duplicate",
            "id": "019a5f00-0000-7000-8000-00000000000c",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl",
              "size": 387,
              "mtimeMs": 1794311997000,
              "device": 64769,
              "inode": "2075236",
              "birthtimeMs": 1794308107818,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000c"
            }
          }
        ]
      },
      {
        "event": "mutation.append",
        "output": {
          "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
          "appended": "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R12 appended after completed import\"}}\n",
          "mtimeMs": 1794311999000
        }
      },
      {
        "event": "warm.recent(P; changed file; old completedSources)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-00000000000c",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
              "size": 537,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075237",
              "birthtimeMs": 1794308107819,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000c"
            },
            "title": "R12 newer same-session copy",
            "messages": [
              {
                "role": "user",
                "text": "R12 newer same-session copy"
              },
              {
                "role": "user",
                "text": "R12 appended after completed import"
              }
            ]
          },
          {
            "tag": "Duplicate",
            "id": "019a5f00-0000-7000-8000-00000000000c",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl",
              "size": 387,
              "mtimeMs": 1794311997000,
              "device": 64769,
              "inode": "2075236",
              "birthtimeMs": 1794308107818,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000c"
            }
          }
        ]
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-00000000000c",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c_019a5f00-0000-7000-8000-000000000079.jsonl",
              "size": 395,
              "mtimeMs": 1794311998000,
              "device": 64769,
              "inode": "2075237",
              "birthtimeMs": 1794308107819,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000c"
            },
            "title": "R12 newer same-session copy",
            "messages": [
              {
                "role": "user",
                "text": "R12 newer same-session copy"
              }
            ]
          },
          {
            "tag": "Duplicate",
            "id": "019a5f00-0000-7000-8000-00000000000c",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000c.jsonl",
              "size": 387,
              "mtimeMs": 1794311997000,
              "device": 64769,
              "inode": "2075236",
              "birthtimeMs": 1794308107818,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000c"
            }
          }
        ]
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R13-invalid",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R13-invalid/fixture.json",
    "rows": [
      "R13",
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537846,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R13-invalid/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R13-invalid-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000082.jsonl": "91dc593c1914536457e94c7ec71e0c5c8aa893fa6d857e475d235f3738cbda34",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000083.jsonl": "15cf1df41c768ab1a1cebd3e5aa59342dabbed149245932d93044b160655b716",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000084.jsonl": "2f879e7324d756b0497ffde4a40acff15bed771636b5672a8e992c740288f07e",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000085.jsonl": "60afdf9a7031493f6e63652f5932e7f593d615a18e29b7522f775ef063ee1d06",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000086.jsonl": "bec90609c01da2eb511962bf85ef796a24c8cef4abc608653966a22b0529c439",
      ".codex/state_5.sqlite": "6750f40b0b680decf131f81807c66bf3795b9c807c40d1242d055fcf649681fa"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000082.jsonl": "91dc593c1914536457e94c7ec71e0c5c8aa893fa6d857e475d235f3738cbda34",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000083.jsonl": "15cf1df41c768ab1a1cebd3e5aa59342dabbed149245932d93044b160655b716",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000084.jsonl": "2f879e7324d756b0497ffde4a40acff15bed771636b5672a8e992c740288f07e",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000085.jsonl": "60afdf9a7031493f6e63652f5932e7f593d615a18e29b7522f775ef063ee1d06",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000086.jsonl": "bec90609c01da2eb511962bf85ef796a24c8cef4abc608653966a22b0529c439",
      ".codex/state_5.sqlite": "6750f40b0b680decf131f81807c66bf3795b9c807c40d1242d055fcf649681fa"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R13-invalid",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R13-invalid",
          "rows": [
            "R13",
            "R14"
          ],
          "description": "Missing cwd, malformed input, Codex subagent, missing ID and no visible conversation are not rescued",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000082.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000082",
              "rolloutId": "019a5f00-0000-7000-8000-000000000082",
              "cwd": null,
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000082\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R13 missing cwd\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000083.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000083",
              "rolloutId": "019a5f00-0000-7000-8000-000000000083",
              "cwd": null,
              "mtimeMs": 1794311999000,
              "records": [
                "malformed json"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000084.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000084",
              "rolloutId": "019a5f00-0000-7000-8000-000000000084",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000084\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\",\"source\":{\"subagent\":\"thread_spawn\"}}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R13 subagent should not appear\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000085.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000085",
              "rolloutId": "019a5f00-0000-7000-8000-000000000085",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R13 no resumable ID\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000086.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000086",
              "rolloutId": "019a5f00-0000-7000-8000-000000000086",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000086\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000082",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": null
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000083",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": null
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000084",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000085",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000086",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 5,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000082",
              "cwd": "",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000082.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000083",
              "cwd": "",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000083.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000084",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000084.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000085",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000085.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000086",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000086.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R13-invalid",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R13-invalid/fixture.json",
    "rows": [
      "R13",
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537879,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R13-invalid/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R13-invalid-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000082.jsonl": "91dc593c1914536457e94c7ec71e0c5c8aa893fa6d857e475d235f3738cbda34",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000083.jsonl": "15cf1df41c768ab1a1cebd3e5aa59342dabbed149245932d93044b160655b716",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000084.jsonl": "2f879e7324d756b0497ffde4a40acff15bed771636b5672a8e992c740288f07e",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000085.jsonl": "60afdf9a7031493f6e63652f5932e7f593d615a18e29b7522f775ef063ee1d06",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000086.jsonl": "bec90609c01da2eb511962bf85ef796a24c8cef4abc608653966a22b0529c439",
      ".codex/state_5.sqlite": "6750f40b0b680decf131f81807c66bf3795b9c807c40d1242d055fcf649681fa"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000082.jsonl": "91dc593c1914536457e94c7ec71e0c5c8aa893fa6d857e475d235f3738cbda34",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000083.jsonl": "15cf1df41c768ab1a1cebd3e5aa59342dabbed149245932d93044b160655b716",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000084.jsonl": "2f879e7324d756b0497ffde4a40acff15bed771636b5672a8e992c740288f07e",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000085.jsonl": "60afdf9a7031493f6e63652f5932e7f593d615a18e29b7522f775ef063ee1d06",
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000086.jsonl": "bec90609c01da2eb511962bf85ef796a24c8cef4abc608653966a22b0529c439",
      ".codex/state_5.sqlite": "6750f40b0b680decf131f81807c66bf3795b9c807c40d1242d055fcf649681fa"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R13-invalid",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R13-invalid",
          "rows": [
            "R13",
            "R14"
          ],
          "description": "Missing cwd, malformed input, Codex subagent, missing ID and no visible conversation are not rescued",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000082.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000082",
              "rolloutId": "019a5f00-0000-7000-8000-000000000082",
              "cwd": null,
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000082\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R13 missing cwd\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000083.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000083",
              "rolloutId": "019a5f00-0000-7000-8000-000000000083",
              "cwd": null,
              "mtimeMs": 1794311999000,
              "records": [
                "malformed json"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000084.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000084",
              "rolloutId": "019a5f00-0000-7000-8000-000000000084",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000084\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\",\"source\":{\"subagent\":\"thread_spawn\"}}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R13 subagent should not appear\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000085.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000085",
              "rolloutId": "019a5f00-0000-7000-8000-000000000085",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R13 no resumable ID\"}}"
              ]
            },
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000086.jsonl",
              "threadId": "019a5f00-0000-7000-8000-000000000086",
              "rolloutId": "019a5f00-0000-7000-8000-000000000086",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-000000000086\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-000000000082",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": null
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000083",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": null
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000084",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000085",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            },
            {
              "threadId": "019a5f00-0000-7000-8000-000000000086",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 5,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-000000000082",
              "cwd": "",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000082.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000083",
              "cwd": "",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000083.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000084",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000084.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000085",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000085.jsonl"
            },
            {
              "id": "019a5f00-0000-7000-8000-000000000086",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-000000000086.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [
            {
              "path": "<fakehome>/code/project",
              "title": "project",
              "sources": [
                "codex"
              ],
              "threadCount": 2,
              "lastActiveAt": "2026-11-10T11:59:59.000Z",
              "alreadyImported": false,
              "git": null
            }
          ],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": [
          {
            "tag": "Skipped"
          },
          {
            "tag": "Skipped"
          }
        ]
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": [
          {
            "tag": "Skipped"
          },
          {
            "tag": "Skipped"
          }
        ]
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R14-cache-mutation",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R14-cache-mutation/fixture.json",
    "rows": [
      "R14"
    ],
    "side": "before",
    "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
    "pid": 537894,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-before/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R14-cache-mutation/fixture.json",
      "before"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R14-cache-mutation-before.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl": "8e2215bd7f6cadf921fcd3dd74169f834633a1cf83810b7615769da5e669b6af",
      ".codex/state_5.sqlite": "aa4a9e07539cfd27bd7a310b95ed81a7d1f12788fe3db3c89a0eeefb0722ecf3"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl": "8e2215bd7f6cadf921fcd3dd74169f834633a1cf83810b7615769da5e669b6af",
      ".codex/state_5.sqlite": "aa4a9e07539cfd27bd7a310b95ed81a7d1f12788fe3db3c89a0eeefb0722ecf3"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "before",
          "sha": "fa2f4ff2a2bac5ac92e07749f6b83b0003d642a0",
          "blob": "dc67bd9387e04b91fa61d34ea47929c056256796",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R14-cache-mutation",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R14-cache-mutation",
          "rows": [
            "R14"
          ],
          "description": "Stable warm/cold plus mapping mutation: cached candidates retain mapping until scan refresh",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000000e",
              "rolloutId": "019a5f00-0000-7000-8000-00000000000e",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000000e\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R14 cache mutation\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-00000000000e",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ],
          "cacheMutation": {
            "projectId": "019a5f00-0000-7000-8000-0000000186a1"
          },
          "persistedRoots": [
            "<fakehome>/code/project-alias"
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-00000000000e",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": []
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "mutation.SQL",
        "output": {
          "statement": "UPDATE project_roots SET path=Q WHERE project_id=? AND position=0",
          "projectId": "019a5f00-0000-7000-8000-0000000186a1"
        }
      },
      {
        "event": "warm.cached-after-mutation.recent(P)",
        "output": []
      },
      {
        "event": "warm.cached-after-mutation.recent(Q)",
        "output": []
      },
      {
        "event": "warm.rescan-after-mutation",
        "output": {
          "candidates": [],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.refreshed-after-mutation.recent(P)",
        "output": []
      },
      {
        "event": "warm.refreshed-after-mutation.recent(Q)",
        "output": []
      },
      {
        "event": "mutation.restore",
        "output": "original database bytes restored; position 0 root is P"
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": []
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  },
  {
    "fixture": "R14-cache-mutation",
    "fixturePath": "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R14-cache-mutation/fixture.json",
    "rows": [
      "R14"
    ],
    "side": "after",
    "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
    "pid": 537915,
    "exitCode": 0,
    "cwd": "/home/user/wt/pr-32880-after/apps/server",
    "command": [
      "/home/user/.local/share/vite-plus/js_runtime/node/26.12.1/bin/node",
      "--experimental-import-meta-resolve",
      "/tmp/lead-32880-r1/evidence-capture/scanner-driver.mjs",
      "/tmp/lead-32880-r1/evidence-capture/fixtures-2026-11-10T10-55-07.415040+00-00/R14-cache-mutation/fixture.json",
      "after"
    ],
    "log": "/tmp/lead-32880-r1/evidence-capture/batch-2026-11-10T10-59-18.150072+00-00/R14-cache-mutation-after.log",
    "fixtureHashesBefore": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl": "8e2215bd7f6cadf921fcd3dd74169f834633a1cf83810b7615769da5e669b6af",
      ".codex/state_5.sqlite": "aa4a9e07539cfd27bd7a310b95ed81a7d1f12788fe3db3c89a0eeefb0722ecf3"
    },
    "fixtureHashesAfter": {
      ".codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl": "8e2215bd7f6cadf921fcd3dd74169f834633a1cf83810b7615769da5e669b6af",
      ".codex/state_5.sqlite": "aa4a9e07539cfd27bd7a310b95ed81a7d1f12788fe3db3c89a0eeefb0722ecf3"
    },
    "inputFilesUnchanged": true,
    "events": [
      {
        "event": "environment",
        "output": {
          "side": "after",
          "sha": "df3ffc1249ca06ef43aaebe6a534f96034354700",
          "blob": "1b32de22a8878fdf07db29403cd9cedb9692ea7d",
          "node": "v26.12.1",
          "os": "linux",
          "arch": "x64",
          "fixture": "R14-cache-mutation",
          "label": "synthetic Codex home, schema per Codex 0.163.0",
          "clock": "2026-11-10T12:00:00.000Z",
          "substitutions": [
            "ServerSettings.layerTest: explicit synthetic provider homes",
            "ServerConfig.layerTest: scratch-only state directory",
            "ProjectStoreV2.listShells: synthetic persisted projects",
            "HostProcess.HomeDirectory: synthetic home",
            "Clock: fixed current time; real sleep retained"
          ],
          "realServices": [
            "AgentSessionScanner",
            "ProcessRunner",
            "NodeServices FileSystem/Path/ChildProcess"
          ]
        }
      },
      {
        "event": "fixture",
        "output": {
          "name": "R14-cache-mutation",
          "rows": [
            "R14"
          ],
          "description": "Stable warm/cold plus mapping mutation: cached candidates retain mapping until scan refresh",
          "home": "<fakehome>",
          "now": "2026-11-10T12:00:00.000Z",
          "roots": {
            "P": "<fakehome>/code/project",
            "Q": "<fakehome>/code/other"
          },
          "files": [
            {
              "path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl",
              "threadId": "019a5f00-0000-7000-8000-00000000000e",
              "rolloutId": "019a5f00-0000-7000-8000-00000000000e",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "mtimeMs": 1794311999000,
              "records": [
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"session_meta\",\"payload\":{\"id\":\"019a5f00-0000-7000-8000-00000000000e\",\"cwd\":\"<fakehome>/Documents/Codex/2026-11-08/new-chat\"}}",
                "{\"timestamp\":\"2026-11-10T12:00:00.000Z\",\"type\":\"event_msg\",\"payload\":{\"type\":\"user_message\",\"message\":\"R14 cache mutation\"}}"
              ]
            }
          ],
          "assignments": [
            {
              "threadId": "019a5f00-0000-7000-8000-00000000000e",
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat"
            }
          ],
          "rootInsertionOrder": [
            {
              "projectId": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ],
          "cacheMutation": {
            "projectId": "019a5f00-0000-7000-8000-0000000186a1"
          },
          "persistedRoots": [
            "<fakehome>/code/project-alias"
          ]
        }
      },
      {
        "event": "fixture.database.readOnly",
        "output": {
          "home": "<fakehome>/.codex",
          "threadCount": 1,
          "fixtureThreads": [
            {
              "id": "019a5f00-0000-7000-8000-00000000000e",
              "cwd": "<fakehome>/Documents/Codex/2026-11-08/new-chat",
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "rollout_path": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl"
            }
          ],
          "rootsInInsertionOrder": [
            {
              "rowid": 1,
              "project_id": "019a5f00-0000-7000-8000-0000000186a1",
              "position": 0,
              "path": "<fakehome>/code/project"
            }
          ]
        }
      },
      {
        "event": "warm.scanner.created",
        "output": {
          "instanceNumber": 1,
          "distinctFromPriorInstances": true,
          "firstCall": "scan"
        }
      },
      {
        "event": "warm.scan",
        "output": {
          "candidates": [
            {
              "path": "<fakehome>/code/project-alias",
              "title": "project-alias",
              "projectId": "project-1",
              "sources": [
                "codex"
              ],
              "threadCount": 1,
              "lastActiveAt": "2026-11-10T11:59:59.000Z",
              "alreadyImported": true,
              "git": null
            }
          ],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-00000000000e",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl",
              "size": 394,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075279",
              "birthtimeMs": 1794308107831,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000e"
            },
            "title": "R14 cache mutation",
            "messages": [
              {
                "role": "user",
                "text": "R14 cache mutation"
              }
            ]
          }
        ]
      },
      {
        "event": "warm.recent(Q)",
        "output": []
      },
      {
        "event": "mutation.SQL",
        "output": {
          "statement": "UPDATE project_roots SET path=Q WHERE project_id=? AND position=0",
          "projectId": "019a5f00-0000-7000-8000-0000000186a1"
        }
      },
      {
        "event": "warm.cached-after-mutation.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-00000000000e",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl",
              "size": 394,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075279",
              "birthtimeMs": 1794308107831,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000e"
            },
            "title": "R14 cache mutation",
            "messages": [
              {
                "role": "user",
                "text": "R14 cache mutation"
              }
            ]
          }
        ]
      },
      {
        "event": "warm.cached-after-mutation.recent(Q)",
        "output": []
      },
      {
        "event": "warm.rescan-after-mutation",
        "output": {
          "candidates": [
            {
              "path": "<fakehome>/code/other",
              "title": "other",
              "sources": [
                "codex"
              ],
              "threadCount": 1,
              "lastActiveAt": "2026-11-10T11:59:59.000Z",
              "alreadyImported": false,
              "git": null
            }
          ],
          "scannedAt": "2026-11-10T12:00:00.000Z"
        }
      },
      {
        "event": "warm.refreshed-after-mutation.recent(P)",
        "output": []
      },
      {
        "event": "warm.refreshed-after-mutation.recent(Q)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-00000000000e",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl",
              "size": 394,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075279",
              "birthtimeMs": 1794308107831,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000e"
            },
            "title": "R14 cache mutation",
            "messages": [
              {
                "role": "user",
                "text": "R14 cache mutation"
              }
            ]
          }
        ]
      },
      {
        "event": "mutation.restore",
        "output": "original database bytes restored; position 0 root is P"
      },
      {
        "event": "cold.scanner.created",
        "output": {
          "instanceNumber": 2,
          "distinctFromPriorInstances": true,
          "firstCall": "recentThreads(P)"
        }
      },
      {
        "event": "cold.recent(P)",
        "output": [
          {
            "tag": "Importable",
            "id": "019a5f00-0000-7000-8000-00000000000e",
            "provider": "codex",
            "providerInstanceId": "codex",
            "file": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl",
            "identity": {
              "filePath": "<fakehome>/.codex/sessions/2026/11/10/rollout-2026-11-10T10-00-00-019a5f00-0000-7000-8000-00000000000e.jsonl",
              "size": 394,
              "mtimeMs": 1794311999000,
              "device": 64769,
              "inode": "2075279",
              "birthtimeMs": 1794308107831,
              "provider": "codex",
              "providerInstanceId": "codex",
              "providerSessionId": "019a5f00-0000-7000-8000-00000000000e"
            },
            "title": "R14 cache mutation",
            "messages": [
              {
                "role": "user",
                "text": "R14 cache mutation"
              }
            ]
          }
        ]
      },
      {
        "event": "cold.recent(Q)",
        "output": []
      }
    ]
  }
]
