[
  {
    "side": "before",
    "commit": "dae752080bd72d8b614d930ca72517e0f1c1fdc3",
    "process": 1,
    "environment": {
      "os": "linux",
      "arch": "x64",
      "node": "v26.13.1",
      "sqlite": "3.54.1"
    },
    "synthetic": true,
    "turns": 237,
    "threadItems": 4267,
    "fullHistorySemanticHash": "1cde97c995ec327c83264225cd959055c74f3d8a951e95977d3b0be93a91d73c",
    "payloadBytes": 16139745,
    "warmups": 10,
    "repetitions": 50,
    "results": [
      {
        "name": "turnItemRunIds",
        "returnedRows": 36,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "954beca97cc3c6b232f812c4425943dd50bcc7d5800dc32040ffd63c4751465e",
        "semanticHash": "b7f15a668e027e73782d24a62e22a114ef481c21e87a0552cd7299f8b8237b51",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 5.205657,
          "minMs": 2.934714,
          "maxMs": 9.076622,
          "samplesMs": [
            5.724678,
            6.129329,
            7.954281,
            6.177608,
            5.854518,
            6.126898,
            5.237527,
            4.885416,
            5.195027,
            5.671917,
            9.076622,
            6.165979,
            5.570518,
            4.876267,
            4.082416,
            3.173354,
            4.363555,
            6.010588,
            4.688476,
            5.711727,
            3.515764,
            3.983956,
            4.108256,
            5.373727,
            4.274705,
            3.531675,
            3.694365,
            4.840966,
            5.201857,
            3.727615,
            4.892957,
            5.837178,
            6.168868,
            5.502577,
            5.383228,
            6.045858,
            5.229337,
            5.709278,
            5.184318,
            5.263457,
            5.738657,
            3.578794,
            4.451636,
            3.349174,
            4.255385,
            2.934714,
            4.318646,
            4.912547,
            5.209457,
            5.974158
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 8.979977499999904,
          "minMs": 5.068927000000031,
          "maxMs": 16.727762999999868,
          "samplesMs": [
            9.499993000000131,
            12.352206000000024,
            12.342275999999856,
            10.991844000000128,
            10.163444000000027,
            9.896612999999888,
            7.7401199999999335,
            7.940160999999989,
            7.671849999999949,
            8.760752000000139,
            12.648147000000108,
            11.314335999999912,
            16.727762999999868,
            12.897526999999855,
            6.114507999999887,
            5.125166999999919,
            13.721518999999944,
            10.302033999999821,
            8.948141999999962,
            9.813304000000016,
            5.928439000000026,
            7.19771999999989,
            7.162869000000001,
            9.051692000000003,
            7.696930000000066,
            6.830449000000044,
            7.274990000000116,
            9.27606199999991,
            8.9511829999999,
            6.598317999999836,
            8.708120999999892,
            9.008771999999908,
            9.691152999999986,
            14.40062899999998,
            11.267565000000104,
            9.47891299999992,
            8.51205200000004,
            9.270631999999978,
            9.188362999999981,
            9.334502999999813,
            9.19372199999998,
            6.196648000000096,
            7.801080000000184,
            6.302699000000075,
            6.688728999999967,
            5.068927000000031,
            7.844420000000127,
            8.265201000000161,
            8.724782000000005,
            9.411251999999877
          ]
        },
        "preparedSql": {
          "medianMs": 3.2476694999998017,
          "minMs": 2.0045420000001286,
          "maxMs": 3.9363250000001244,
          "samplesMs": [
            3.1068139999999858,
            3.3315339999999196,
            3.2454039999997804,
            2.5024729999997817,
            2.1806729999998424,
            2.233053999999811,
            2.123023000000103,
            2.1718630000000303,
            2.1242929999998523,
            3.147864000000027,
            3.17971499999976,
            2.33490299999994,
            2.0831230000003416,
            2.6738429999995788,
            3.0429739999999583,
            2.958024000000023,
            3.201274000000012,
            3.1341440000001057,
            2.097823000000062,
            2.0045420000001286,
            2.4801930000003267,
            3.0353839999997945,
            3.3156349999999293,
            3.3118050000002768,
            3.2431640000004336,
            3.8388050000003204,
            3.549015000000054,
            3.56550500000003,
            3.4090439999999944,
            2.3714930000001004,
            3.032944000000043,
            3.3907939999999144,
            3.310743999999886,
            3.249934999999823,
            3.476525000000038,
            3.4944649999997637,
            3.9363250000001244,
            3.875796000000264,
            3.6941549999996823,
            3.846885999999813,
            3.833394999999655,
            3.755435000000034,
            3.7336050000003524,
            3.6424050000000534,
            3.566835000000083,
            3.4970549999998184,
            3.325144999999793,
            2.4449939999999515,
            3.39042500000005,
            3.3548749999999927
          ]
        },
        "vmStepsLastExecution": 42808
      },
      {
        "name": "turnItemRunId",
        "returnedRows": 18,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "af919c9df03c53fdeabc6c8e8d1b8bf67c0c104b127c5a183c3773b87de6b176",
        "semanticHash": "853a4a8552c31a9101e32534e66b7beacf848e87bfb7dafff1989bb51d0f7ca3",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND run_id = ? ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)"
        ],
        "querySpan": {
          "medianMs": 4.618316,
          "minMs": 2.815833,
          "maxMs": 6.745309,
          "samplesMs": [
            4.601466,
            5.002777,
            4.821887,
            4.652846,
            4.689986,
            4.623887,
            4.418426,
            4.540906,
            4.633096,
            4.482846,
            5.246276,
            5.244637,
            4.901307,
            4.679877,
            6.745309,
            4.617197,
            4.502736,
            5.432427,
            4.668206,
            4.688716,
            4.132436,
            3.337685,
            2.815833,
            3.250264,
            3.473615,
            3.898985,
            3.872765,
            3.942475,
            4.310396,
            4.753256,
            4.153745,
            4.300416,
            4.278506,
            4.929667,
            4.618586,
            4.441626,
            4.523276,
            4.600456,
            4.282896,
            4.277226,
            4.249205,
            4.663527,
            4.618046,
            4.681276,
            4.916777,
            4.759587,
            5.217907,
            4.693806,
            4.751906,
            4.661056
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 7.102588999999853,
          "minMs": 4.2718549999999595,
          "maxMs": 12.63936700000022,
          "samplesMs": [
            7.064840000000004,
            8.411090999999942,
            7.670411000000058,
            7.678871000000072,
            7.19542999999976,
            7.081008999999995,
            6.841918999999962,
            6.911298999999872,
            7.743671000000177,
            6.870288999999957,
            9.126342000000022,
            12.63936700000022,
            8.83067200000005,
            8.123560999999881,
            12.16008600000032,
            6.763048999999683,
            8.80922099999998,
            8.891631999999845,
            6.9875489999999445,
            6.880828999999721,
            6.643337999999858,
            5.992888000000221,
            4.2718549999999595,
            6.314977999999883,
            5.126036999999997,
            5.351846999999907,
            5.347377000000051,
            5.547986999999921,
            7.118629000000055,
            7.672970999999961,
            6.2510990000000675,
            7.151738999999907,
            8.660741000000144,
            7.789571000000251,
            7.00841999999966,
            7.3960400000000845,
            6.9885699999999815,
            6.55495800000017,
            6.285759000000326,
            6.984539000000041,
            6.581469000000197,
            6.618729000000258,
            7.213509000000158,
            7.317790000000059,
            7.530139999999847,
            7.525470000000041,
            8.810922000000119,
            9.565933000000314,
            7.616740000000391,
            7.08654899999965
          ]
        },
        "preparedSql": {
          "medianMs": 3.3032989999999245,
          "minMs": 3.0999540000002526,
          "maxMs": 7.805901000000176,
          "samplesMs": [
            3.272465000000011,
            3.310375000000022,
            3.3528149999997368,
            3.2937140000003637,
            3.3923350000000028,
            3.3497749999996813,
            3.295173999999861,
            3.307764000000134,
            3.3068939999998292,
            3.30795500000022,
            3.3101839999999356,
            3.2997040000000197,
            3.331275000000005,
            3.3434649999999237,
            3.3830440000001545,
            3.253024000000096,
            3.217704999999569,
            3.2160439999997834,
            3.2918140000001586,
            3.154464000000189,
            3.1549239999999372,
            3.205135000000155,
            3.2201639999998406,
            3.2343949999999495,
            3.3103540000001885,
            3.2085940000001756,
            3.1673949999999422,
            3.1116839999999684,
            3.1652839999997013,
            3.1485649999999623,
            3.133564000000206,
            3.114585000000261,
            3.0999540000002526,
            7.805901000000176,
            3.9744949999999335,
            3.6884250000002794,
            3.590244999999868,
            3.5299349999995684,
            3.4265150000001086,
            3.41394500000024,
            3.395813999999973,
            3.346154000000297,
            3.3493439999997463,
            3.416084999999839,
            3.2883640000000014,
            3.3618240000000696,
            3.336833999999726,
            3.262615000000096,
            3.227233999999953,
            3.2041849999995975
          ]
        },
        "vmStepsLastExecution": 21382
      },
      {
        "name": "mixedRunIds",
        "returnedRows": 18,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "af919c9df03c53fdeabc6c8e8d1b8bf67c0c104b127c5a183c3773b87de6b176",
        "semanticHash": "853a4a8552c31a9101e32534e66b7beacf848e87bfb7dafff1989bb51d0f7ca3",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 4.806666,
          "minMs": 2.744853,
          "maxMs": 8.095611,
          "samplesMs": [
            7.53514,
            3.200324,
            6.256058,
            7.48104,
            5.334818,
            3.118214,
            4.276895,
            4.244856,
            2.847204,
            2.985964,
            3.374075,
            2.744853,
            2.887774,
            3.409455,
            4.344376,
            5.850698,
            4.024755,
            3.045894,
            5.438438,
            5.494988,
            4.708436,
            6.088898,
            6.205398,
            5.350347,
            7.45318,
            5.154806,
            4.587356,
            4.714846,
            4.676906,
            4.639236,
            4.698596,
            4.859827,
            4.718476,
            5.011667,
            4.874307,
            4.786636,
            4.976326,
            4.714486,
            4.802616,
            4.943747,
            5.318507,
            4.883786,
            4.811987,
            4.522057,
            4.901036,
            4.779467,
            4.810716,
            8.095611,
            4.933477,
            5.076037
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 7.439045000000078,
          "minMs": 3.910725000000184,
          "maxMs": 16.663492000000133,
          "samplesMs": [
            11.027434999999969,
            6.853689999999915,
            9.34600300000011,
            11.056794999999966,
            7.929389999999785,
            6.1787589999999,
            6.317429000000175,
            7.188530000000355,
            4.18588600000021,
            4.495576000000256,
            4.850917000000209,
            3.910725000000184,
            4.023924999999963,
            5.393387000000075,
            7.187660000000051,
            8.73712099999966,
            6.241078000000016,
            4.674395999999888,
            8.022149999999783,
            8.133120999999846,
            16.663492000000133,
            9.307512999999744,
            9.779973000000155,
            8.436130999999932,
            10.649343999999928,
            7.266390000000229,
            6.811919000000216,
            7.41820000000007,
            7.2613500000002205,
            6.995298999999704,
            7.227470000000267,
            7.507500000000164,
            7.451320000000123,
            7.645909999999731,
            7.630220000000008,
            7.127690000000257,
            7.921690000000126,
            7.080479000000196,
            8.006350999999995,
            7.453139999999621,
            8.309911000000284,
            7.426770000000033,
            7.349139999999807,
            7.02880899999991,
            7.566489999999703,
            7.130849000000126,
            7.711359999999786,
            11.04215400000021,
            10.597134000000096,
            7.673189999999977
          ]
        },
        "preparedSql": {
          "medianMs": 3.5784249999999247,
          "minMs": 3.3139450000003308,
          "maxMs": 4.7253569999998035,
          "samplesMs": [
            3.4407539999997425,
            3.763985000000048,
            4.7253569999998035,
            3.7442049999999654,
            3.661004999999932,
            3.6034139999997024,
            3.591704000000391,
            3.614494999999806,
            3.5729550000000927,
            3.547265000000152,
            3.5997950000000856,
            3.436474999999973,
            3.4117940000001,
            3.4307740000003832,
            3.382704999999987,
            3.3139450000003308,
            3.3780149999997775,
            3.359864000000016,
            3.4183740000003127,
            3.35240500000009,
            3.3591049999999996,
            3.397154999999657,
            3.331344000000172,
            3.441885000000184,
            3.4322849999998652,
            3.4074149999996735,
            3.505334999999832,
            3.55375499999991,
            3.591965000000073,
            3.917304999999942,
            3.6657350000000406,
            3.642005000000154,
            3.6672349999998914,
            3.5838949999997567,
            3.6889850000002298,
            3.6422150000003057,
            3.6400140000000647,
            3.641574999999648,
            3.7008249999998952,
            3.7526849999999286,
            3.6696759999999813,
            3.5681939999999486,
            3.517244000000119,
            3.5040539999999964,
            3.538253999999597,
            3.651434999999765,
            3.634114999999838,
            3.653345000000172,
            3.52871499999992,
            3.6082250000004024
          ]
        },
        "vmStepsLastExecution": 51283
      },
      {
        "name": "nullOnly",
        "returnedRows": 0,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
        "semanticHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 4.331205,
          "minMs": 2.498133,
          "maxMs": 6.595989,
          "samplesMs": [
            4.942397,
            4.898006,
            4.725117,
            4.674196,
            5.324348,
            4.690306,
            4.468656,
            4.597037,
            4.579716,
            4.632806,
            4.556786,
            4.368755,
            4.221316,
            4.393376,
            4.513016,
            4.828007,
            4.172436,
            4.178805,
            4.482856,
            4.338175,
            4.863886,
            4.728897,
            4.589526,
            4.160985,
            2.854313,
            2.990814,
            2.498133,
            3.450785,
            3.080454,
            3.585735,
            3.773615,
            3.510425,
            3.570035,
            2.699423,
            2.657604,
            2.956614,
            3.450415,
            2.514203,
            2.620184,
            5.331007,
            4.072005,
            4.428336,
            4.324235,
            4.174866,
            4.290716,
            3.972405,
            3.462485,
            6.595989,
            4.587846,
            4.666516
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 6.214163000000099,
          "minMs": 3.4267150000000584,
          "maxMs": 9.392423000000235,
          "samplesMs": [
            7.149200000000292,
            7.208619999999883,
            6.974229000000378,
            6.814789000000019,
            9.392423000000235,
            6.693138999999974,
            6.5841089999998985,
            6.783708999999817,
            7.256919999999809,
            6.757258999999976,
            6.537909000000127,
            6.244008000000122,
            6.24516900000026,
            6.455488000000059,
            6.551708999999846,
            8.152270999999928,
            5.853286999999909,
            5.502167999999983,
            6.207327999999961,
            6.220998000000236,
            6.810739999999896,
            8.230571000000054,
            6.377968000000237,
            5.819688000000042,
            3.8000550000001567,
            4.022765000000163,
            3.779725000000326,
            5.0477969999997185,
            4.586876000000302,
            4.4235859999998866,
            5.467667999999776,
            4.520926000000145,
            4.311725000000024,
            3.452914999999848,
            4.184076000000005,
            4.782126000000062,
            4.447775999999976,
            3.4267150000000584,
            3.4572739999998703,
            6.5562989999998535,
            5.422737000000325,
            6.47186899999997,
            5.628006999999798,
            5.341537999999673,
            6.692769000000226,
            5.346697999999833,
            4.643456000000242,
            8.292381000000205,
            7.526229999999941,
            6.155458000000181
          ]
        },
        "preparedSql": {
          "medianMs": 3.452618999999686,
          "minMs": 3.184363999999732,
          "maxMs": 4.092196000000513,
          "samplesMs": [
            3.293453999999656,
            3.317674000000352,
            3.2739440000000286,
            3.234983999999713,
            3.2266249999997854,
            3.20012399999996,
            3.193624,
            3.3064650000001166,
            3.3464539999999943,
            3.612405000000308,
            3.7457049999993615,
            3.8896649999996953,
            3.7858550000000832,
            3.729164999999739,
            4.092196000000513,
            4.023425000000316,
            3.986754999999903,
            4.031055999999808,
            3.803265000000465,
            3.9426949999997305,
            3.8885559999998804,
            4.013654999999744,
            3.6814650000005713,
            3.6171750000003158,
            3.493484000000535,
            3.4625950000008743,
            3.493634999999813,
            3.49933400000009,
            3.3723650000001726,
            3.339494000000741,
            3.323685000000296,
            3.3435439999993832,
            3.4196350000001985,
            3.184363999999732,
            3.2707640000007814,
            3.2689849999997023,
            3.1892539999998917,
            3.2196539999995366,
            3.3602249999994456,
            3.397493999999824,
            3.4385749999992186,
            3.5398549999999886,
            3.4429739999995945,
            3.422725000000355,
            3.442004999999881,
            3.4657649999999194,
            3.5131750000000466,
            3.6954750000004424,
            3.583295000000362,
            3.4622639999997773
          ]
        },
        "vmStepsLastExecution": 51224
      }
    ]
  },
  {
    "side": "before",
    "commit": "dae752080bd72d8b614d930ca72517e0f1c1fdc3",
    "process": 2,
    "environment": {
      "os": "linux",
      "arch": "x64",
      "node": "v26.13.1",
      "sqlite": "3.54.1"
    },
    "synthetic": true,
    "turns": 237,
    "threadItems": 4267,
    "fullHistorySemanticHash": "1cde97c995ec327c83264225cd959055c74f3d8a951e95977d3b0be93a91d73c",
    "payloadBytes": 16139745,
    "warmups": 10,
    "repetitions": 50,
    "results": [
      {
        "name": "turnItemRunIds",
        "returnedRows": 36,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "954beca97cc3c6b232f812c4425943dd50bcc7d5800dc32040ffd63c4751465e",
        "semanticHash": "b7f15a668e027e73782d24a62e22a114ef481c21e87a0552cd7299f8b8237b51",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 5.565852,
          "minMs": 3.668535,
          "maxMs": 7.922411,
          "samplesMs": [
            4.236916,
            5.537937,
            5.627417,
            4.961667,
            5.108896,
            6.561488,
            5.248696,
            7.922411,
            7.67557,
            6.535588,
            6.031427,
            5.913908,
            6.781539,
            6.269718,
            5.977198,
            5.575497,
            6.005348,
            5.927118,
            6.362688,
            6.175908,
            5.948268,
            5.632908,
            5.496537,
            6.438209,
            5.329807,
            5.719977,
            5.334066,
            5.118907,
            5.385618,
            5.347137,
            4.724487,
            5.065387,
            4.623826,
            4.600976,
            7.22593,
            3.668535,
            5.073297,
            6.028207,
            5.426697,
            5.312097,
            5.947808,
            5.580357,
            5.329357,
            5.183237,
            5.442707,
            5.097127,
            5.556207,
            5.326217,
            5.631137,
            5.833257
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 10.143728499999952,
          "minMs": 7.236069999999927,
          "maxMs": 15.624509999999873,
          "samplesMs": [
            7.538909999999987,
            9.161552000000029,
            9.59963300000004,
            9.614233000000013,
            8.768801000000167,
            10.717813999999862,
            9.018491999999924,
            12.357745999999906,
            15.624509999999873,
            11.437425000000076,
            11.231845000000021,
            10.437253999999939,
            11.840556000000106,
            14.892350000000079,
            10.216243000000077,
            10.66508500000009,
            12.186545999999908,
            14.990970000000061,
            10.926784999999882,
            12.534725999999864,
            10.70662399999992,
            10.454623999999967,
            11.239475000000084,
            11.731516000000056,
            9.533101999999872,
            10.914874000000054,
            9.079002000000173,
            7.973770000000059,
            8.760970999999927,
            8.96968199999992,
            7.236069999999927,
            8.120979999999918,
            8.639841999999817,
            10.708464000000049,
            10.165952999999945,
            14.430738999999903,
            10.121503999999959,
            8.997061999999914,
            9.622931999999992,
            8.870022000000063,
            10.453254000000015,
            9.16935199999989,
            11.173125000000027,
            8.885512000000062,
            8.885872000000063,
            8.492490999999973,
            9.818522999999914,
            9.384012999999868,
            10.16603299999997,
            9.956022999999732
          ]
        },
        "preparedSql": {
          "medianMs": 3.761929499999951,
          "minMs": 2.934483999999884,
          "maxMs": 5.39072699999997,
          "samplesMs": [
            3.626075000000128,
            3.713944999999967,
            3.747335000000021,
            3.666754999999739,
            3.747874000000138,
            3.74192499999981,
            4.031975999999759,
            3.5706649999997353,
            3.7710250000000087,
            3.7968949999999495,
            3.844614999999976,
            3.7185050000002775,
            3.653925000000072,
            3.594364999999925,
            3.7538339999996424,
            3.7700250000002598,
            3.9487749999998414,
            3.818424999999934,
            3.975265000000036,
            3.8538650000000416,
            3.982734999999593,
            3.8401850000000195,
            3.9360350000001745,
            3.9243949999995493,
            3.8703949999999168,
            4.030885000000126,
            3.9047059999998055,
            4.018344999999954,
            5.39072699999997,
            5.018657000000076,
            3.747045000000071,
            3.5339450000001307,
            3.517045000000053,
            3.629045000000133,
            3.6103439999997136,
            3.598743999999897,
            3.590024000000085,
            3.7741550000000643,
            4.084875000000011,
            3.9141859999999724,
            4.742645999999695,
            4.031315000000177,
            3.0286230000001524,
            3.5158440000000155,
            3.1627440000002025,
            3.19050500000003,
            3.2481239999997342,
            2.934483999999884,
            3.7367449999997007,
            4.066505999999663
          ]
        },
        "vmStepsLastExecution": 42808
      },
      {
        "name": "turnItemRunId",
        "returnedRows": 18,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "af919c9df03c53fdeabc6c8e8d1b8bf67c0c104b127c5a183c3773b87de6b176",
        "semanticHash": "853a4a8552c31a9101e32534e66b7beacf848e87bfb7dafff1989bb51d0f7ca3",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND run_id = ? ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)"
        ],
        "querySpan": {
          "medianMs": 4.1401105000000005,
          "minMs": 2.661953,
          "maxMs": 7.128099,
          "samplesMs": [
            5.705627,
            4.904217,
            4.554596,
            4.811256,
            5.326927,
            4.718566,
            4.563976,
            4.493815,
            4.387796,
            4.266166,
            4.684646,
            4.805926,
            4.632426,
            4.388926,
            7.128099,
            4.792846,
            5.145106,
            4.664516,
            5.120717,
            3.302314,
            3.142704,
            3.099554,
            3.619115,
            4.141756,
            3.882996,
            3.919155,
            3.994016,
            3.247284,
            2.661953,
            5.085627,
            3.085654,
            3.980115,
            3.171374,
            3.744255,
            3.524035,
            3.812515,
            3.385964,
            3.140364,
            3.614475,
            4.489606,
            3.642715,
            4.064195,
            3.053764,
            2.745944,
            2.988904,
            4.499075,
            4.682056,
            4.138465,
            4.019495,
            5.422176
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 6.266937999999982,
          "minMs": 3.9957150000000183,
          "maxMs": 13.586237999999867,
          "samplesMs": [
            9.736613000000034,
            8.436241000000336,
            7.906730999999581,
            9.096412000000328,
            7.98824999999988,
            7.389979000000039,
            7.124578999999812,
            6.971919000000071,
            7.08431900000005,
            6.651379000000361,
            7.225278999999773,
            7.367240000000038,
            7.79520999999977,
            13.586237999999867,
            13.034925999999814,
            12.271995999999945,
            9.909523000000263,
            8.565691000000243,
            8.060181000000284,
            5.222737000000052,
            4.606725999999981,
            5.706818000000112,
            5.632536999999957,
            6.341878000000179,
            5.871618000000126,
            5.791908000000149,
            6.191997999999785,
            5.793887000000268,
            3.9957150000000183,
            6.724499000000378,
            4.793136000000231,
            5.609246999999868,
            5.235646999999972,
            5.564367999999831,
            5.8032680000001164,
            6.137557999999899,
            4.990585999999894,
            4.750215999999909,
            5.748837000000094,
            6.945948999999928,
            6.0278980000002775,
            6.175668000000314,
            4.603056000000379,
            4.076375999999982,
            4.411556000000019,
            7.019788999999946,
            6.497019000000364,
            5.650587999999971,
            5.714358000000175,
            7.631060000000161
          ]
        },
        "preparedSql": {
          "medianMs": 3.3817289999999502,
          "minMs": 1.8827830000000176,
          "maxMs": 7.4482600000001185,
          "samplesMs": [
            3.2118940000000293,
            3.246853999999985,
            3.2898839999998017,
            3.1138639999999214,
            3.104573999999957,
            3.1835840000003373,
            3.3110939999996845,
            3.207804000000124,
            3.2984839999999167,
            3.449253999999655,
            3.2997949999999037,
            3.350514000000203,
            3.2607340000004115,
            3.371814000000086,
            3.518844000000172,
            3.4834240000000136,
            3.5417640000000574,
            3.5296739999998863,
            3.5428850000002967,
            3.5200150000000576,
            3.57153500000004,
            3.636504999999943,
            3.6356250000003456,
            3.8119940000001407,
            3.714984999999615,
            3.5294050000002244,
            3.3941839999997683,
            3.3755739999996877,
            4.56834600000002,
            3.402915000000121,
            3.005464000000302,
            2.184342999999899,
            2.0306730000002062,
            1.9883030000000872,
            1.9536319999997431,
            1.9607620000001589,
            1.8827830000000176,
            2.3828130000001693,
            7.4482600000001185,
            4.068214999999782,
            3.7831349999996746,
            3.5859850000001643,
            3.656355000000076,
            3.5955950000002304,
            3.476694999999836,
            3.393644000000222,
            3.387884000000213,
            3.340665000000172,
            3.3477240000001984,
            3.290874000000258
          ]
        },
        "vmStepsLastExecution": 21382
      },
      {
        "name": "mixedRunIds",
        "returnedRows": 18,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "af919c9df03c53fdeabc6c8e8d1b8bf67c0c104b127c5a183c3773b87de6b176",
        "semanticHash": "853a4a8552c31a9101e32534e66b7beacf848e87bfb7dafff1989bb51d0f7ca3",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 4.5777705,
          "minMs": 3.057464,
          "maxMs": 9.015492,
          "samplesMs": [
            5.876948,
            5.421997,
            5.614217,
            5.603908,
            4.206715,
            4.315995,
            4.917326,
            3.057464,
            4.117736,
            4.307805,
            4.360896,
            5.457987,
            4.871956,
            4.583435,
            4.491006,
            4.889966,
            3.468445,
            4.327426,
            4.198665,
            4.572106,
            3.871205,
            9.015492,
            5.026896,
            5.702847,
            5.412298,
            3.705515,
            4.453716,
            4.184545,
            4.389675,
            4.525846,
            5.269277,
            5.274407,
            5.000466,
            7.56396,
            4.176565,
            3.597375,
            3.782455,
            3.405254,
            3.734874,
            5.377247,
            4.948776,
            4.867226,
            5.482167,
            5.461918,
            5.224917,
            5.204397,
            5.311237,
            3.342754,
            4.113586,
            4.557155
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 6.702317999999877,
          "minMs": 4.320834999999988,
          "maxMs": 14.465749000000415,
          "samplesMs": [
            8.796051000000261,
            9.423122000000149,
            10.181323000000248,
            9.30735199999981,
            6.613988999999947,
            6.213948000000073,
            7.201429000000189,
            4.320834999999988,
            5.28902700000026,
            5.739467000000332,
            6.005597999999736,
            8.275609999999688,
            7.563320000000203,
            6.62547799999993,
            6.4904380000002675,
            7.59684900000002,
            5.3348369999998795,
            6.435238000000027,
            6.9547889999998915,
            6.257387999999992,
            5.518497000000025,
            12.075076000000081,
            7.41450900000018,
            14.465749000000415,
            8.159390000000258,
            5.4445770000002085,
            6.046237000000019,
            5.681606999999985,
            5.998998000000029,
            6.472768999999971,
            7.88986100000011,
            7.892350000000079,
            7.7807600000001,
            10.339252999999644,
            5.80772799999977,
            5.2605969999999616,
            5.910897000000205,
            5.267766999999822,
            6.287137999999686,
            7.561110000000099,
            7.661689999999908,
            6.779157999999825,
            8.184070999999676,
            8.551480999999967,
            7.940819999999803,
            8.250770999999986,
            8.938922000000275,
            5.016066000000137,
            5.742797000000337,
            6.374647999999979
          ]
        },
        "preparedSql": {
          "medianMs": 3.5999900000001617,
          "minMs": 2.2231729999998606,
          "maxMs": 5.3871070000000145,
          "samplesMs": [
            3.653834000000188,
            4.017885000000206,
            3.9015150000000176,
            3.7661440000001676,
            3.585415000000012,
            3.696194999999989,
            3.7969450000000506,
            3.820995000000039,
            3.858244999999897,
            3.746444999999767,
            3.75903500000004,
            3.6952250000003914,
            3.6514649999999165,
            3.7489949999999226,
            3.8403159999998024,
            3.776455000000169,
            3.5984849999999824,
            3.732785000000149,
            3.6927949999999328,
            3.6941549999996823,
            3.6924850000000333,
            3.6184440000001814,
            5.3871070000000145,
            4.33697600000005,
            3.7891450000001896,
            3.474264999999832,
            2.5080729999999676,
            2.2231729999998606,
            2.8271230000000287,
            3.4240850000001046,
            3.511294999999791,
            3.767965000000004,
            3.601495000000341,
            2.733564000000115,
            3.3923640000002706,
            3.3698749999998654,
            2.7054739999998674,
            2.3565330000001268,
            2.47080300000016,
            3.448464000000058,
            2.320542999999816,
            3.3416549999997187,
            3.5660350000002836,
            3.519405000000006,
            3.2891340000001037,
            2.3164130000000114,
            2.4658540000000357,
            3.2860540000001492,
            3.238054999999804,
            3.5829749999998057
          ]
        },
        "vmStepsLastExecution": 51283
      },
      {
        "name": "nullOnly",
        "returnedRows": 0,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
        "semanticHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 4.800981,
          "minMs": 2.502833,
          "maxMs": 8.452251,
          "samplesMs": [
            3.992355,
            6.087188,
            4.919786,
            5.434097,
            6.407199,
            4.628086,
            3.628625,
            4.479586,
            6.210368,
            4.833857,
            4.465126,
            4.278296,
            4.249735,
            4.225076,
            4.384496,
            4.619086,
            4.182805,
            3.986025,
            4.077475,
            4.093545,
            4.129405,
            4.298765,
            6.724489,
            6.465278,
            6.011398,
            5.162257,
            5.739517,
            3.703805,
            4.143126,
            3.874645,
            2.502833,
            3.625554,
            5.619188,
            4.701006,
            4.968556,
            4.841297,
            5.503567,
            5.716617,
            4.870876,
            4.798796,
            4.042626,
            3.813785,
            8.452251,
            5.053657,
            4.803166,
            4.911846,
            5.190116,
            5.102706,
            4.908006,
            5.461687
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 7.044104000000061,
          "minMs": 3.4956449999999677,
          "maxMs": 9.97933299999977,
          "samplesMs": [
            6.267727999999806,
            8.98953100000017,
            7.942810999999892,
            9.013202000000092,
            9.903491999999915,
            6.828089000000091,
            8.104291000000103,
            8.392840999999862,
            8.166589999999815,
            7.117219000000205,
            6.250608000000284,
            5.906798000000435,
            6.439448000000084,
            6.0152280000002065,
            7.0973690000000715,
            7.76346999999987,
            5.947638000000097,
            5.657067000000097,
            5.6879180000000815,
            5.763856999999916,
            5.939558000000034,
            6.178227999999763,
            8.40364099999988,
            8.799641000000065,
            8.241750000000138,
            7.494539999999688,
            7.846770000000106,
            6.356919000000289,
            5.752927,
            4.793896000000132,
            3.4956449999999677,
            5.802738000000318,
            8.867420999999922,
            6.990839000000051,
            7.159290000000055,
            6.887879999999768,
            7.625019000000066,
            7.205508999999893,
            6.179298000000017,
            7.89984000000004,
            5.53745600000002,
            5.245636999999988,
            9.97933299999977,
            6.815348999999969,
            6.898089000000255,
            6.915079000000333,
            9.039621999999326,
            8.826931999999942,
            7.186189000000013,
            8.022560999999769
          ]
        },
        "preparedSql": {
          "medianMs": 3.4586944999996376,
          "minMs": 2.8678239999999278,
          "maxMs": 3.9345149999999194,
          "samplesMs": [
            3.556604999999763,
            3.3942440000000715,
            3.4726449999998295,
            3.396353999999519,
            3.35115500000029,
            3.777984999999717,
            3.319743999999446,
            3.299474000000373,
            3.362884999999551,
            3.405413999999837,
            3.3893239999997604,
            3.35278500000004,
            3.3202640000008614,
            3.483715000000302,
            3.64066400000047,
            3.6490950000006706,
            3.6690749999997934,
            3.600035000000389,
            3.4616940000005343,
            3.9345149999999194,
            3.480123999999705,
            3.373483999999735,
            3.5517549999995026,
            3.7074149999998554,
            3.5114440000006653,
            3.4693850000003295,
            3.445104000000356,
            3.5162049999999,
            3.4661439999999857,
            3.5428750000000946,
            3.4736549999997806,
            3.4955339999996795,
            3.4577949999993507,
            3.4595939999999246,
            3.4493149999998423,
            3.0782740000004196,
            3.4304339999998774,
            3.4898349999994025,
            3.4489039999998568,
            3.4159049999998388,
            3.459924000000683,
            2.8678239999999278,
            3.316193999999996,
            3.403874999999971,
            3.423084000000017,
            3.4439549999997325,
            3.422833999999966,
            3.4690849999997226,
            3.408064000000195,
            3.463434999999663
          ]
        },
        "vmStepsLastExecution": 51224
      }
    ]
  },
  {
    "side": "before",
    "commit": "dae752080bd72d8b614d930ca72517e0f1c1fdc3",
    "process": 3,
    "environment": {
      "os": "linux",
      "arch": "x64",
      "node": "v26.13.1",
      "sqlite": "3.54.1"
    },
    "synthetic": true,
    "turns": 237,
    "threadItems": 4267,
    "fullHistorySemanticHash": "1cde97c995ec327c83264225cd959055c74f3d8a951e95977d3b0be93a91d73c",
    "payloadBytes": 16139745,
    "warmups": 10,
    "repetitions": 50,
    "results": [
      {
        "name": "turnItemRunIds",
        "returnedRows": 36,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "954beca97cc3c6b232f812c4425943dd50bcc7d5800dc32040ffd63c4751465e",
        "semanticHash": "b7f15a668e027e73782d24a62e22a114ef481c21e87a0552cd7299f8b8237b51",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 4.742641,
          "minMs": 2.755043,
          "maxMs": 12.275096,
          "samplesMs": [
            2.755043,
            4.425775,
            4.734616,
            12.275096,
            4.392075,
            4.668736,
            3.066834,
            2.842594,
            4.880027,
            3.795585,
            4.840367,
            5.644898,
            5.410127,
            6.307548,
            4.472945,
            3.349684,
            7.044469,
            5.978678,
            4.569596,
            4.131905,
            4.370875,
            4.078455,
            3.826385,
            4.428156,
            5.639537,
            6.611828,
            5.131716,
            3.836995,
            2.812304,
            4.748326,
            4.010115,
            5.147387,
            4.664396,
            4.633696,
            4.549116,
            4.686066,
            5.162716,
            4.821806,
            6.663399,
            5.583007,
            5.976838,
            5.422497,
            4.923486,
            5.322037,
            8.256921,
            4.736956,
            8.280871,
            5.300737,
            5.946138,
            4.684496
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 8.29742049999993,
          "minMs": 4.571625999999924,
          "maxMs": 18.76419399999986,
          "samplesMs": [
            11.834034999999858,
            11.353794999999991,
            8.239919999999984,
            16.02015100000017,
            7.552209999999832,
            7.132239000000027,
            5.231506999999965,
            4.571625999999924,
            7.946130000000039,
            8.609361000000035,
            8.354920999999877,
            8.864010999999891,
            10.09402299999988,
            11.065065000000004,
            7.092499000000089,
            5.373837000000094,
            10.33871299999987,
            9.178081999999904,
            6.759698999999955,
            6.317708000000039,
            6.629129000000148,
            5.679546999999957,
            5.502377000000024,
            7.806880000000092,
            8.736361000000215,
            11.463133999999854,
            9.161190999999917,
            5.881926999999905,
            7.357650000000149,
            7.22404900000015,
            7.936470000000099,
            7.586669999999913,
            7.013509000000113,
            7.041508999999905,
            8.951391999999942,
            7.100719000000026,
            7.227468999999928,
            11.850736000000097,
            9.529752000000144,
            9.27559199999996,
            9.232972000000018,
            8.536790999999994,
            7.777900000000045,
            9.602433000000019,
            13.324648000000025,
            9.069821000000047,
            18.76419399999986,
            10.780413999999837,
            8.376741000000038,
            7.852090000000089
          ]
        },
        "preparedSql": {
          "medianMs": 3.605264499999862,
          "minMs": 1.789982000000009,
          "maxMs": 4.0291550000001735,
          "samplesMs": [
            1.789982000000009,
            1.9610029999998915,
            2.7805939999998373,
            2.5659229999998843,
            2.0024120000000494,
            2.8220139999998537,
            2.9638740000000325,
            2.949613999999883,
            3.0400829999998678,
            3.152023999999983,
            3.005672999999888,
            3.1776639999998224,
            3.215543999999909,
            3.5890249999999924,
            3.5348650000000816,
            3.6502040000000306,
            3.65834400000017,
            4.0291550000001735,
            3.6874139999999898,
            3.339334000000008,
            3.5396539999999277,
            3.756104999999934,
            3.2241939999998976,
            3.8943950000000314,
            3.8353250000000116,
            3.7992349999999533,
            3.84350500000005,
            3.8569639999998344,
            3.8735649999998714,
            3.8929250000001048,
            3.7922150000001693,
            3.7128539999998793,
            3.638545000000022,
            3.032534000000169,
            3.608534999999847,
            3.730064000000084,
            3.7194750000001022,
            3.6493450000000394,
            3.7103749999998854,
            3.8052450000000135,
            3.813035000000127,
            3.8088249999998425,
            3.7274049999998624,
            3.695465000000013,
            3.598075000000108,
            3.601993999999877,
            3.4930040000001554,
            3.515064000000166,
            3.459423999999899,
            3.3700240000000576
          ]
        },
        "vmStepsLastExecution": 42808
      },
      {
        "name": "turnItemRunId",
        "returnedRows": 18,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "af919c9df03c53fdeabc6c8e8d1b8bf67c0c104b127c5a183c3773b87de6b176",
        "semanticHash": "853a4a8552c31a9101e32534e66b7beacf848e87bfb7dafff1989bb51d0f7ca3",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND run_id = ? ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)"
        ],
        "querySpan": {
          "medianMs": 3.942215,
          "minMs": 2.789353,
          "maxMs": 6.315518,
          "samplesMs": [
            4.397745,
            4.194596,
            4.396076,
            2.961054,
            4.219925,
            2.789353,
            5.884318,
            4.345735,
            3.674095,
            3.987255,
            3.805905,
            4.412255,
            4.493016,
            4.694446,
            4.841756,
            3.539845,
            4.039266,
            3.714045,
            4.482646,
            6.315518,
            4.599636,
            3.142654,
            3.726505,
            3.374954,
            2.963003,
            3.200454,
            3.832705,
            3.658455,
            3.879525,
            3.463774,
            4.325565,
            4.401995,
            5.416827,
            5.109187,
            4.451486,
            4.387866,
            4.369596,
            4.110975,
            3.723665,
            4.455755,
            3.863845,
            4.144215,
            3.783915,
            3.646615,
            3.757065,
            3.897175,
            3.534524,
            3.544075,
            3.423284,
            2.868334
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 5.693583000000217,
          "minMs": 4.513605000000098,
          "maxMs": 10.314172999999755,
          "samplesMs": [
            6.215467999999873,
            5.550107000000025,
            5.957248000000163,
            5.126796000000013,
            6.303047999999762,
            4.5484050000000025,
            8.6035609999999,
            5.616977000000134,
            5.034497000000101,
            5.08065600000009,
            4.817235999999866,
            6.040907999999945,
            7.292080000000169,
            7.813190000000304,
            9.857633000000078,
            5.610786999999618,
            6.158577999999579,
            6.596937999999682,
            6.7698380000001634,
            9.149502000000211,
            6.975100000000111,
            5.286157000000003,
            5.779297000000042,
            5.368246999999883,
            5.4242669999998725,
            5.172665999999936,
            5.2564870000001065,
            5.599177000000054,
            5.769938000000366,
            5.255435999999918,
            7.533640000000105,
            7.6788000000001375,
            7.744940999999926,
            6.994669000000158,
            6.451348000000053,
            6.864748999999847,
            10.314172999999755,
            5.989086999999927,
            6.274438000000373,
            6.490188000000217,
            5.5461270000000695,
            5.617228000000068,
            5.127446999999847,
            4.892186999999922,
            5.194997000000058,
            5.424027000000024,
            5.193946999999753,
            5.108456999999817,
            4.513605000000098,
            4.823445999999876
          ]
        },
        "preparedSql": {
          "medianMs": 2.6763484999999037,
          "minMs": 1.8279320000001462,
          "maxMs": 3.396143999999822,
          "samplesMs": [
            3.052353999999923,
            3.1580949999997756,
            3.290104000000156,
            2.7206240000000435,
            2.412213000000065,
            3.1482349999996586,
            3.0824640000000727,
            2.997453999999834,
            3.038083999999799,
            2.942074000000048,
            2.730293999999958,
            1.9808520000001408,
            1.9482819999998355,
            2.8107139999997344,
            2.99475399999983,
            3.3405250000000706,
            2.671733000000131,
            3.025434000000132,
            3.396143999999822,
            2.684694000000036,
            3.1761240000000726,
            2.4758740000002035,
            3.0389040000000023,
            2.6776339999996708,
            2.2841130000001613,
            2.8439539999999397,
            2.330982999999833,
            2.015352000000348,
            2.6750630000001365,
            2.6945840000003045,
            2.621613000000252,
            2.7215030000002116,
            2.682514000000083,
            2.165502999999717,
            2.1335830000002716,
            2.178212999999687,
            2.4832530000003317,
            2.010823000000073,
            2.489172999999937,
            3.1293949999999313,
            2.758593000000019,
            2.2264430000000175,
            2.206152000000202,
            2.268622999999934,
            2.0111219999998866,
            2.2957139999998617,
            2.0741320000001906,
            1.8760619999998198,
            1.8279320000001462,
            1.8344620000002578
          ]
        },
        "vmStepsLastExecution": 21382
      },
      {
        "name": "mixedRunIds",
        "returnedRows": 18,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "af919c9df03c53fdeabc6c8e8d1b8bf67c0c104b127c5a183c3773b87de6b176",
        "semanticHash": "853a4a8552c31a9101e32534e66b7beacf848e87bfb7dafff1989bb51d0f7ca3",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 4.7277765,
          "minMs": 2.599024,
          "maxMs": 7.030799,
          "samplesMs": [
            5.511687,
            5.692058,
            5.530227,
            5.040466,
            5.481097,
            4.964676,
            4.453886,
            4.367615,
            4.473466,
            4.211825,
            7.030799,
            5.179587,
            5.736397,
            4.482266,
            4.597756,
            4.961427,
            5.367146,
            5.350837,
            3.350615,
            4.326065,
            4.520566,
            3.588324,
            3.295414,
            2.811023,
            2.599024,
            3.576815,
            4.754777,
            5.180407,
            5.077067,
            4.871496,
            5.290857,
            5.263237,
            4.992246,
            4.804896,
            5.708437,
            5.190677,
            3.915175,
            4.981257,
            4.885297,
            3.026724,
            3.804815,
            3.143424,
            2.976234,
            3.353884,
            3.090544,
            3.229785,
            2.879654,
            3.372504,
            4.700776,
            4.925737
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 7.0073145000001205,
          "minMs": 4.129195999999865,
          "maxMs": 13.38070800000014,
          "samplesMs": [
            8.2596309999999,
            9.13855199999989,
            9.21730099999968,
            8.27163100000007,
            8.428660000000036,
            7.48575000000028,
            6.117267999999967,
            6.542588000000251,
            6.0815779999998085,
            5.501828000000387,
            10.086522999999943,
            9.034190999999737,
            7.690689999999904,
            6.241357999999764,
            6.3562480000000505,
            7.483538999999837,
            7.810429999999997,
            7.400028999999904,
            5.066636000000017,
            6.0788870000001225,
            6.09277800000018,
            6.12629700000025,
            4.750566000000163,
            4.139064999999846,
            4.196034999999938,
            5.115866000000096,
            7.240158999999949,
            7.657570000000305,
            7.638150000000223,
            7.908280000000104,
            8.048991000000115,
            8.04462999999987,
            7.226610000000164,
            7.061750000000302,
            13.38070800000014,
            8.15755100000024,
            6.952878999999939,
            7.592270000000099,
            7.739660000000185,
            4.389155000000301,
            5.896506999999929,
            5.225706000000173,
            4.273536000000149,
            4.483625999999731,
            4.363965999999891,
            6.594429000000218,
            4.129195999999865,
            4.596046000000115,
            6.925959000000148,
            7.081118999999944
          ]
        },
        "preparedSql": {
          "medianMs": 2.581188999999995,
          "minMs": 2.1417129999999815,
          "maxMs": 3.921084999999948,
          "samplesMs": [
            3.2831850000002305,
            3.921084999999948,
            3.2604040000001078,
            3.6669950000000426,
            3.2121539999998276,
            3.401695000000018,
            3.062974000000395,
            2.836254000000281,
            2.8424740000000384,
            2.86392399999977,
            3.165104000000156,
            2.9679040000000896,
            2.4995639999997366,
            2.5646230000002106,
            2.215903000000253,
            2.184893000000102,
            2.1887329999999565,
            2.1417129999999815,
            2.312242999999853,
            2.5476840000001175,
            2.4871430000002874,
            2.4093729999999596,
            2.4037230000003547,
            2.3380529999999453,
            2.450843000000077,
            2.8347839999996722,
            2.433592999999746,
            2.436662999999953,
            2.2556130000002668,
            2.76872400000002,
            3.5815950000001067,
            3.1437340000002223,
            2.470563000000311,
            2.9101529999998093,
            3.127914000000146,
            2.321003000000019,
            2.246932999999899,
            2.333423000000039,
            2.567034000000149,
            3.2673039999999673,
            2.595343999999841,
            2.5393330000001697,
            2.2763930000000983,
            2.9427730000002157,
            2.5098140000000058,
            2.6545340000002398,
            2.66681299999982,
            2.3276929999997265,
            3.0582039999999324,
            2.6370730000003277
          ]
        },
        "vmStepsLastExecution": 51283
      },
      {
        "name": "nullOnly",
        "returnedRows": 0,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
        "semanticHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 3.030724,
          "minMs": 2.323093,
          "maxMs": 4.337816,
          "samplesMs": [
            2.445423,
            2.400283,
            3.652215,
            3.068374,
            3.571454,
            3.810005,
            3.655315,
            2.964124,
            2.787664,
            3.999235,
            3.500504,
            3.933035,
            3.647155,
            2.938074,
            3.158664,
            2.840383,
            2.445063,
            2.323093,
            2.964764,
            3.612615,
            2.406773,
            2.790484,
            2.639293,
            4.080255,
            3.340454,
            2.657163,
            2.715123,
            2.651403,
            4.337816,
            2.993074,
            4.013055,
            3.871985,
            4.110565,
            3.351265,
            3.245885,
            2.468853,
            3.545094,
            2.462913,
            2.661904,
            2.575503,
            2.860733,
            2.718744,
            2.537514,
            2.466154,
            2.778294,
            4.051456,
            3.669585,
            3.929615,
            4.011885,
            4.264125
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 4.357695999999805,
          "minMs": 3.166373999999905,
          "maxMs": 7.827639999999974,
          "samplesMs": [
            3.2532639999999446,
            3.451065000000199,
            5.276777000000038,
            4.65693599999986,
            5.177766999999676,
            5.707387000000381,
            5.153346000000056,
            3.9129649999999856,
            3.806174000000283,
            5.984297999999853,
            5.276676999999836,
            5.711137000000235,
            4.833976999999777,
            3.8225940000002083,
            4.122695999999905,
            4.665085999999974,
            3.3196539999999004,
            3.166373999999905,
            4.089905999999701,
            4.409705999999915,
            3.4139249999998356,
            3.680644999999913,
            5.442817999999988,
            6.02573700000039,
            4.411286000000018,
            3.579594999999699,
            3.452374999999847,
            5.326346999999714,
            7.827639999999974,
            4.032785000000331,
            4.9883569999997235,
            4.853346000000329,
            5.148185999999896,
            4.285984999999982,
            4.20225500000015,
            3.463864000000285,
            4.465885999999955,
            3.2929439999998067,
            3.468883999999889,
            4.305685999999696,
            3.793645000000197,
            3.856344999999692,
            3.2728540000002795,
            3.207343999999921,
            3.9605249999999614,
            6.595218999999815,
            5.208055999999942,
            5.61124800000016,
            5.7706270000003315,
            6.175307999999859
          ]
        },
        "preparedSql": {
          "medianMs": 3.4172340000000077,
          "minMs": 2.1704530000001796,
          "maxMs": 3.756575000000339,
          "samplesMs": [
            3.3179439999998976,
            3.316714999999931,
            3.339944000000287,
            3.5055349999997816,
            3.59036500000002,
            3.756575000000339,
            3.62170500000002,
            3.352654000000257,
            3.3574640000001637,
            3.211543999999776,
            3.341005000000223,
            3.4460540000000037,
            3.418413999999757,
            3.484364999999798,
            3.4619950000001154,
            3.4893449999999575,
            3.4801139999999577,
            3.6177950000001147,
            3.599714999999833,
            3.594474999999875,
            3.6877340000000913,
            3.583154999999806,
            3.6462549999996554,
            3.648074000000179,
            3.6469640000000254,
            3.5586050000001705,
            3.559944000000087,
            3.6311949999999342,
            3.6431649999999536,
            2.55164300000024,
            2.291563000000224,
            2.1704530000001796,
            2.567282999999861,
            3.3058139999998275,
            2.782854000000043,
            2.6852329999996982,
            2.6496640000000298,
            2.985333999999966,
            3.5383739999997488,
            3.4429849999996804,
            3.4727240000001984,
            3.2662740000000667,
            3.2499330000000555,
            3.2466049999998177,
            3.1072939999999107,
            3.1186139999999796,
            3.4160540000002584,
            3.3344139999999243,
            2.6083730000000287,
            2.550202999999783
          ]
        },
        "vmStepsLastExecution": 51224
      }
    ]
  },
  {
    "side": "before",
    "commit": "dae752080bd72d8b614d930ca72517e0f1c1fdc3",
    "process": 4,
    "environment": {
      "os": "linux",
      "arch": "x64",
      "node": "v26.13.1",
      "sqlite": "3.54.1"
    },
    "synthetic": true,
    "turns": 237,
    "threadItems": 4267,
    "fullHistorySemanticHash": "1cde97c995ec327c83264225cd959055c74f3d8a951e95977d3b0be93a91d73c",
    "payloadBytes": 16139745,
    "warmups": 10,
    "repetitions": 50,
    "results": [
      {
        "name": "turnItemRunIds",
        "returnedRows": 36,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "954beca97cc3c6b232f812c4425943dd50bcc7d5800dc32040ffd63c4751465e",
        "semanticHash": "b7f15a668e027e73782d24a62e22a114ef481c21e87a0552cd7299f8b8237b51",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 4.877746,
          "minMs": 2.961674,
          "maxMs": 6.572879,
          "samplesMs": [
            5.664247,
            3.252874,
            4.838426,
            3.314504,
            5.368857,
            5.404537,
            4.975577,
            4.602355,
            5.342147,
            6.572879,
            5.099717,
            4.119165,
            5.222947,
            4.051065,
            5.449597,
            4.892306,
            4.242045,
            5.903238,
            4.611155,
            5.112767,
            3.154924,
            3.054854,
            5.802067,
            4.279516,
            3.968135,
            5.491277,
            4.955536,
            4.799326,
            6.138128,
            5.225817,
            3.583345,
            3.429634,
            3.169793,
            2.961674,
            5.569407,
            5.104846,
            4.398595,
            4.969306,
            3.491124,
            3.049564,
            5.553777,
            5.837617,
            5.403187,
            5.748317,
            5.053577,
            4.863186,
            4.744196,
            4.854477,
            4.528515,
            4.689076
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 7.977425000000039,
          "minMs": 4.843575999999985,
          "maxMs": 13.220297000000073,
          "samplesMs": [
            9.320791999999983,
            8.190069999999878,
            8.004059999999981,
            5.984156999999868,
            9.702262000000019,
            8.427081000000044,
            8.189540000000079,
            7.377909000000045,
            9.125141999999869,
            9.472972000000027,
            8.112800000000107,
            7.6957199999999375,
            8.332261000000017,
            7.47505000000001,
            8.974520999999868,
            8.366649999999936,
            6.713808999999856,
            13.220297000000073,
            9.191552000000001,
            9.384151999999858,
            5.798086999999896,
            9.241442000000006,
            9.763502000000017,
            6.586099000000104,
            6.535707999999886,
            8.137170999999853,
            7.666050000000041,
            7.505589999999984,
            8.564380999999912,
            7.482688999999937,
            5.925066999999899,
            5.925278000000162,
            5.02220699999998,
            6.061396999999943,
            12.737137000000075,
            7.40386999999987,
            6.302777999999989,
            7.482469000000037,
            6.538648000000194,
            4.843575999999985,
            8.478600999999799,
            8.764251000000058,
            7.950790000000097,
            8.893970999999965,
            8.125841000000037,
            7.74416999999994,
            7.63074000000006,
            7.389929000000166,
            7.398388999999952,
            9.072062000000187
          ]
        },
        "preparedSql": {
          "medianMs": 3.0343090000000075,
          "minMs": 1.9879820000001018,
          "maxMs": 4.205185000000029,
          "samplesMs": [
            2.7955540000000383,
            2.9240839999999935,
            2.746223999999984,
            3.109032999999954,
            3.86836500000004,
            3.3481950000000325,
            2.6867929999998523,
            2.4775529999999435,
            2.2779930000001514,
            3.2547440000000734,
            3.7351149999999507,
            4.11907599999995,
            4.205185000000029,
            4.162405000000035,
            3.972575000000006,
            4.116095000000087,
            3.9825650000000223,
            3.965795000000071,
            3.8602750000000015,
            3.820365000000038,
            3.6255149999999503,
            3.4776540000000296,
            3.6056049999999686,
            2.7413530000001174,
            3.0037540000000718,
            3.1019549999998617,
            2.903304000000162,
            2.6710230000001047,
            2.7294030000000475,
            2.759943999999905,
            2.354033000000072,
            3.069443999999976,
            3.7323539999999866,
            3.299863999999843,
            3.0027840000000197,
            2.404853000000003,
            2.2391430000000128,
            2.0458730000000287,
            1.9879820000001018,
            2.1529820000000655,
            3.064863999999943,
            2.59380299999998,
            3.0940230000001065,
            3.0930539999999382,
            2.383453000000145,
            3.1111130000001594,
            2.938374000000067,
            2.1047929999999724,
            2.0368130000001656,
            2.0398219999999583
          ]
        },
        "vmStepsLastExecution": 42808
      },
      {
        "name": "turnItemRunId",
        "returnedRows": 18,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "af919c9df03c53fdeabc6c8e8d1b8bf67c0c104b127c5a183c3773b87de6b176",
        "semanticHash": "853a4a8552c31a9101e32534e66b7beacf848e87bfb7dafff1989bb51d0f7ca3",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND run_id = ? ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)"
        ],
        "querySpan": {
          "medianMs": 3.237784,
          "minMs": 2.342703,
          "maxMs": 4.011955,
          "samplesMs": [
            2.759183,
            2.697543,
            2.744793,
            3.464345,
            3.287694,
            3.307605,
            3.270404,
            3.504284,
            3.393564,
            3.372764,
            3.190383,
            3.428835,
            4.011955,
            2.674494,
            3.656495,
            2.706174,
            3.467494,
            3.370895,
            3.236694,
            3.605815,
            2.628333,
            3.400555,
            3.447295,
            3.292504,
            2.427813,
            2.417023,
            3.071204,
            2.356112,
            2.504404,
            2.381433,
            2.948694,
            2.422043,
            2.722413,
            2.917684,
            3.213444,
            3.358874,
            3.259245,
            3.315475,
            3.238874,
            3.311774,
            3.240514,
            3.171614,
            3.162845,
            3.192824,
            3.269494,
            3.331645,
            3.382764,
            3.155534,
            2.357173,
            2.342703
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 4.3755210000001625,
          "minMs": 3.36812400000008,
          "maxMs": 7.26667899999984,
          "samplesMs": [
            4.81173600000011,
            3.9891459999998915,
            4.069405000000188,
            4.803976000000148,
            4.367645999999695,
            4.454146000000037,
            4.3210760000001756,
            4.620666000000256,
            4.370366000000104,
            4.294695999999931,
            4.2380450000000565,
            7.26667899999984,
            6.030177999999978,
            4.122365000000173,
            5.452896999999666,
            4.025994999999966,
            4.739725999999791,
            4.774305999999797,
            4.757405999999719,
            4.88609600000018,
            3.880854999999883,
            4.493475000000217,
            4.7239660000000185,
            4.303005999999641,
            3.4538139999999657,
            4.985165999999936,
            4.129695999999967,
            3.498994000000039,
            3.5701739999999518,
            3.402324000000135,
            4.142884999999751,
            3.547845000000052,
            4.361635000000206,
            4.422265000000152,
            4.6181360000000495,
            4.91413700000021,
            4.215764999999919,
            4.445745999999872,
            4.380676000000221,
            4.518856000000142,
            4.369005000000016,
            4.4258050000003095,
            4.29160499999989,
            4.41276599999992,
            4.612206000000242,
            4.77246600000035,
            4.43941599999971,
            4.043924999999945,
            3.4757740000000013,
            3.36812400000008
          ]
        },
        "preparedSql": {
          "medianMs": 2.8510080000000926,
          "minMs": 2.193652999999813,
          "maxMs": 3.579635000000053,
          "samplesMs": [
            2.1943129999999655,
            2.2109629999999925,
            2.6745029999997314,
            2.5735930000000735,
            2.648233999999775,
            2.38547299999982,
            2.579722999999831,
            2.344253000000208,
            2.260393000000022,
            2.2584830000000693,
            2.4840030000000297,
            2.2915130000001227,
            2.367754000000332,
            2.5405930000001717,
            2.5755330000001777,
            2.544593000000077,
            3.0124840000003132,
            2.361312999999882,
            2.193652999999813,
            3.0712039999998524,
            3.4380449999998746,
            3.0088439999999537,
            2.584693000000243,
            3.103574000000208,
            2.643453000000136,
            2.855363000000125,
            2.9408629999998084,
            3.1416839999997137,
            2.2731720000001587,
            2.6330830000001697,
            2.8602039999996123,
            3.297374000000218,
            2.8466530000000603,
            2.479033999999956,
            3.579635000000053,
            2.8729730000000018,
            3.461363999999776,
            3.4917050000003655,
            3.5509750000001077,
            3.494683999999779,
            3.384954000000107,
            3.3910649999997986,
            3.3009440000000723,
            3.255963999999949,
            3.238473999999769,
            3.2687340000002223,
            3.3101940000001377,
            3.303563999999824,
            2.831724000000122,
            3.261113999999907
          ]
        },
        "vmStepsLastExecution": 21382
      },
      {
        "name": "mixedRunIds",
        "returnedRows": 18,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "af919c9df03c53fdeabc6c8e8d1b8bf67c0c104b127c5a183c3773b87de6b176",
        "semanticHash": "853a4a8552c31a9101e32534e66b7beacf848e87bfb7dafff1989bb51d0f7ca3",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 3.4067095,
          "minMs": 2.458033,
          "maxMs": 5.923487,
          "samplesMs": [
            3.904895,
            3.665695,
            4.036974,
            2.984674,
            3.046104,
            3.067404,
            3.224144,
            3.326824,
            4.916156,
            3.861905,
            2.829964,
            2.711143,
            3.200914,
            4.896216,
            4.387535,
            3.080954,
            2.831244,
            2.713274,
            2.856293,
            2.974774,
            2.729854,
            4.059255,
            4.030225,
            3.777135,
            3.093624,
            3.030204,
            2.903323,
            3.079024,
            2.867693,
            2.613053,
            2.712654,
            2.470384,
            2.458033,
            2.730163,
            2.758784,
            3.486595,
            5.451187,
            5.268066,
            5.244047,
            4.613946,
            5.044587,
            5.164556,
            5.663847,
            5.500017,
            5.084156,
            5.923487,
            5.070886,
            5.339487,
            5.243127,
            4.856397
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 5.364522000000079,
          "minMs": 3.5873249999999643,
          "maxMs": 9.905631999999969,
          "samplesMs": [
            5.142276000000038,
            5.079326000000037,
            5.413216999999804,
            4.6562159999998585,
            5.315827000000354,
            6.682878000000073,
            6.6115279999999075,
            5.5997669999997015,
            6.75186900000017,
            5.791357999999946,
            4.1371250000001965,
            3.883274999999685,
            4.886615999999776,
            6.621548000000075,
            6.298827999999958,
            4.533666000000267,
            4.295096000000285,
            4.852515999999923,
            4.495585000000119,
            4.799365999999736,
            4.356596000000081,
            9.905631999999969,
            6.118518000000222,
            5.19721699999991,
            4.464645000000019,
            4.337685999999849,
            5.716566999999941,
            4.857956000000286,
            4.307576000000154,
            3.818985000000339,
            3.940816000000268,
            3.5873249999999643,
            3.834754999999859,
            4.022985000000062,
            3.996204999999918,
            4.885407000000214,
            7.674549999999726,
            7.765250000000378,
            7.855599999999868,
            6.965828999999758,
            7.839669999999842,
            7.036699000000226,
            8.742420999999922,
            8.688791000000037,
            7.1980100000000675,
            7.9915900000000875,
            7.105389000000287,
            9.385342000000037,
            7.793109999999615,
            7.104098999999678
          ]
        },
        "preparedSql": {
          "medianMs": 3.042269000000033,
          "minMs": 2.8127830000003087,
          "maxMs": 3.641324999999597,
          "samplesMs": [
            3.605754000000161,
            3.641324999999597,
            3.544945000000098,
            3.515795000000253,
            3.529794000000038,
            3.5939540000003944,
            3.5107550000002448,
            3.4970140000000356,
            3.4605940000001283,
            3.401155000000017,
            3.4310340000001815,
            3.309635000000071,
            3.2744739999998274,
            3.21779400000014,
            3.487025000000358,
            3.3980139999998755,
            3.375263999999788,
            3.2220040000001973,
            3.1689440000000104,
            3.1606950000000325,
            3.176183999999921,
            3.1542340000000877,
            3.0567739999996775,
            2.973253999999997,
            2.9653839999996308,
            3.032983999999942,
            3.0648839999998927,
            3.051554000000124,
            3.0223840000003293,
            3.0238640000002306,
            2.9952939999998307,
            2.9822739999999612,
            2.9530039999999644,
            2.9324839999999313,
            2.980293999999958,
            2.952823999999964,
            2.9683540000000903,
            2.918924000000061,
            2.907792999999856,
            2.8847940000000563,
            2.9316939999998795,
            2.9775140000001556,
            2.8782639999999446,
            2.86305399999992,
            2.8298829999998816,
            2.8127830000003087,
            2.9744439999999486,
            2.9881540000001223,
            3.0017539999998917,
            3.0115139999998064
          ]
        },
        "vmStepsLastExecution": 51283
      },
      {
        "name": "nullOnly",
        "returnedRows": 0,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
        "semanticHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 3.7954049999999997,
          "minMs": 2.244063,
          "maxMs": 5.447147,
          "samplesMs": [
            2.896633,
            3.599465,
            3.331315,
            3.445814,
            4.418765,
            2.776063,
            2.569313,
            2.538254,
            3.013554,
            2.340443,
            2.244063,
            2.586003,
            2.556233,
            2.720074,
            5.053016,
            5.183816,
            2.852604,
            2.702833,
            3.342734,
            2.800453,
            3.225074,
            3.822215,
            4.272496,
            3.958265,
            4.253735,
            4.141086,
            3.913395,
            4.188755,
            4.158445,
            4.047595,
            4.292986,
            3.130673,
            4.258325,
            4.227256,
            4.396756,
            4.330295,
            4.757366,
            5.447147,
            4.516246,
            4.161575,
            4.160275,
            2.881674,
            3.608145,
            5.018887,
            4.416006,
            3.768595,
            3.701135,
            4.216066,
            3.512935,
            3.567304
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 5.246026000000029,
          "minMs": 2.893894000000273,
          "maxMs": 9.531792000000223,
          "samplesMs": [
            4.391415000000052,
            5.098606000000018,
            5.418976999999813,
            5.721927000000051,
            7.374788999999964,
            3.6952949999999873,
            3.433723999999984,
            3.331924000000072,
            3.9799349999998412,
            3.0930140000000392,
            2.893894000000273,
            3.693123999999898,
            3.3569840000000113,
            3.684353999999985,
            6.423158000000058,
            9.531792000000223,
            4.219986000000063,
            4.1517250000001695,
            4.579215999999633,
            4.099994999999581,
            4.5965659999997115,
            5.245175999999901,
            5.484147000000121,
            5.02803700000004,
            5.3620969999997214,
            5.246876000000157,
            4.932556000000204,
            6.993368999999802,
            6.2387079999998605,
            5.815306999999848,
            5.604515999999876,
            4.380225000000337,
            5.383456999999908,
            5.287957000000006,
            5.677846999999929,
            5.680487000000085,
            6.271608000000015,
            7.0462390000002415,
            6.1216080000003785,
            5.980637999999999,
            5.293027000000166,
            3.816964999999982,
            5.386937000000216,
            6.981468999999834,
            5.477356999999756,
            5.005235999999968,
            4.815277000000151,
            5.480286999999862,
            4.5696759999996175,
            4.963596999999936
          ]
        },
        "preparedSql": {
          "medianMs": 2.606463500000018,
          "minMs": 2.060283000000254,
          "maxMs": 3.3304840000000695,
          "samplesMs": [
            3.3304840000000695,
            3.177614000000176,
            3.1483840000000782,
            3.0512539999999717,
            2.9982930000001033,
            3.0548530000000937,
            3.130373999999847,
            2.9599639999996725,
            2.9393740000000435,
            2.919042999999874,
            2.9056739999996353,
            2.9153339999998025,
            2.899593999999979,
            2.867653999999675,
            2.7575539999998,
            2.708082999999988,
            2.6868829999998525,
            2.6813539999998284,
            2.6108530000001338,
            2.434382999999798,
            2.303812999999991,
            2.605152999999973,
            2.607774000000063,
            2.5854529999996885,
            2.6580229999999574,
            2.6221839999998338,
            2.568322999999964,
            2.5519630000003417,
            2.1926029999999628,
            2.337363000000096,
            2.556843000000299,
            2.469572999999855,
            2.3376130000001467,
            2.060283000000254,
            2.5908230000000003,
            2.5940029999997023,
            2.5398230000000694,
            2.089622999999847,
            2.179352999999992,
            2.5839829999999893,
            2.4473229999998694,
            2.395662999999786,
            2.5394540000002053,
            2.631514000000152,
            2.5400230000000192,
            2.3899630000000798,
            2.307782999999745,
            2.480782999999974,
            2.608292999999776,
            2.855084000000261
          ]
        },
        "vmStepsLastExecution": 51224
      }
    ]
  },
  {
    "side": "before",
    "commit": "dae752080bd72d8b614d930ca72517e0f1c1fdc3",
    "process": 5,
    "environment": {
      "os": "linux",
      "arch": "x64",
      "node": "v26.13.1",
      "sqlite": "3.54.1"
    },
    "synthetic": true,
    "turns": 237,
    "threadItems": 4267,
    "fullHistorySemanticHash": "1cde97c995ec327c83264225cd959055c74f3d8a951e95977d3b0be93a91d73c",
    "payloadBytes": 16139745,
    "warmups": 10,
    "repetitions": 50,
    "results": [
      {
        "name": "turnItemRunIds",
        "returnedRows": 36,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "954beca97cc3c6b232f812c4425943dd50bcc7d5800dc32040ffd63c4751465e",
        "semanticHash": "b7f15a668e027e73782d24a62e22a114ef481c21e87a0552cd7299f8b8237b51",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 4.960201,
          "minMs": 3.046684,
          "maxMs": 6.455518,
          "samplesMs": [
            4.849056,
            4.550615,
            4.948696,
            4.219915,
            4.087595,
            4.237405,
            4.362095,
            4.238336,
            4.440495,
            4.817056,
            3.323684,
            6.323088,
            5.962177,
            5.471697,
            4.988477,
            4.329775,
            5.973077,
            4.986876,
            5.612577,
            4.225306,
            4.939717,
            4.284395,
            4.643946,
            3.200925,
            3.398424,
            4.341766,
            4.971706,
            3.330994,
            3.046684,
            4.105125,
            3.150004,
            3.921856,
            3.789664,
            4.997256,
            6.328838,
            5.476847,
            5.201626,
            5.784257,
            6.455518,
            5.612487,
            5.786767,
            5.689777,
            5.436137,
            6.001267,
            5.234756,
            5.619547,
            6.162678,
            5.896467,
            5.316227,
            5.375466
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 7.950339999999983,
          "minMs": 5.101467000000184,
          "maxMs": 15.805010000000038,
          "samplesMs": [
            7.494898999999805,
            7.5209389999999985,
            7.737670000000207,
            6.322658000000047,
            6.447128000000021,
            6.434289000000035,
            6.7097080000000915,
            6.582918999999947,
            6.796289000000115,
            7.785630000000083,
            6.34375799999998,
            9.434642000000167,
            13.724157999999989,
            8.510721000000103,
            8.645890999999892,
            6.394937999999911,
            15.805010000000038,
            12.76259600000003,
            8.947221000000127,
            7.769889999999805,
            7.993469999999888,
            6.949628999999959,
            6.950148000000127,
            5.568557000000055,
            6.010857999999871,
            7.145909000000074,
            7.998889999999847,
            5.336287000000084,
            5.101467000000184,
            6.103788000000122,
            5.42630599999984,
            6.1857870000001185,
            6.350696999999855,
            13.350847000000158,
            9.920331999999917,
            8.14501099999984,
            7.907210000000077,
            9.639942000000019,
            10.445093000000043,
            9.55955199999994,
            11.130363999999872,
            9.299862000000076,
            9.282151000000113,
            9.824982000000091,
            8.84590100000014,
            9.530751999999893,
            10.237002999999959,
            9.840883000000076,
            9.337052000000085,
            9.780982999999878
          ]
        },
        "preparedSql": {
          "medianMs": 3.7836949999998524,
          "minMs": 3.439444999999978,
          "maxMs": 4.819686000000047,
          "samplesMs": [
            3.5665050000000065,
            3.6332440000001043,
            3.6062040000001616,
            3.6353540000000066,
            3.557833999999957,
            3.493193999999903,
            3.4981740000000627,
            3.5958639999998923,
            3.498514000000114,
            3.579874000000018,
            3.6610239999999976,
            3.69905400000016,
            3.7191649999999754,
            3.7497349999998733,
            3.5420050000000174,
            3.52183500000001,
            3.6780939999998736,
            3.6052740000000085,
            3.503944000000047,
            3.4857240000001184,
            3.439444999999978,
            3.52470500000004,
            3.4986249999999472,
            3.4753339999999753,
            3.448173999999881,
            4.819686000000047,
            4.565055999999913,
            4.32529599999998,
            4.219636000000037,
            4.172375000000102,
            4.146044999999958,
            4.150425000000041,
            4.135545000000093,
            4.114754999999832,
            4.197544999999991,
            3.9523650000001,
            3.939405000000079,
            4.052385000000186,
            4.247395000000097,
            4.214064999999891,
            4.235114999999951,
            4.228824999999915,
            4.127985000000081,
            4.063754999999901,
            3.9639750000001186,
            3.8176549999998315,
            3.9126050000002124,
            3.88757499999997,
            3.939324999999826,
            3.892714999999953
          ]
        },
        "vmStepsLastExecution": 42808
      },
      {
        "name": "turnItemRunId",
        "returnedRows": 18,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "af919c9df03c53fdeabc6c8e8d1b8bf67c0c104b127c5a183c3773b87de6b176",
        "semanticHash": "853a4a8552c31a9101e32534e66b7beacf848e87bfb7dafff1989bb51d0f7ca3",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND run_id = ? ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)"
        ],
        "querySpan": {
          "medianMs": 4.565931000000001,
          "minMs": 2.932294,
          "maxMs": 8.01295,
          "samplesMs": [
            5.220756,
            5.631637,
            6.394538,
            5.343017,
            5.193556,
            5.228846,
            4.883927,
            5.010366,
            5.040437,
            3.198934,
            2.932294,
            4.183106,
            4.393235,
            4.332435,
            4.528596,
            4.439835,
            4.386835,
            4.423105,
            4.263715,
            4.712616,
            4.358286,
            4.731836,
            4.408386,
            4.466276,
            4.253906,
            4.162146,
            4.117825,
            4.124725,
            4.509585,
            4.543726,
            4.652085,
            4.455535,
            4.402545,
            4.182095,
            4.418815,
            4.691556,
            4.202666,
            5.264847,
            4.487256,
            4.679856,
            4.666226,
            8.01295,
            5.191887,
            5.525497,
            4.617076,
            4.588136,
            5.621987,
            5.205017,
            4.692706,
            4.609016
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 7.1390389999999115,
          "minMs": 4.454146000000037,
          "maxMs": 10.432332999999971,
          "samplesMs": [
            8.44993999999997,
            10.432332999999971,
            9.843281999999817,
            10.361323999999968,
            8.046640000000025,
            8.849500999999918,
            7.845459000000119,
            8.552181000000019,
            8.232950999999957,
            4.794945999999982,
            4.454146000000037,
            10.276112999999896,
            7.15994899999987,
            6.842579000000114,
            9.272021000000223,
            7.198128999999881,
            6.878379000000223,
            6.8349189999999,
            7.083247999999912,
            7.099518999999873,
            6.870358000000124,
            7.121678999999858,
            6.869019000000208,
            6.880607999999938,
            6.5973479999997835,
            6.58705800000007,
            6.466108000000077,
            6.513977999999952,
            7.156398999999965,
            7.002508999999918,
            7.3742400000001,
            6.687157999999727,
            6.962378000000172,
            7.283308999999917,
            6.853649000000132,
            7.451489999999922,
            6.352378000000044,
            7.774719999999888,
            6.288648000000194,
            7.205148999999892,
            6.928408000000218,
            10.37712300000021,
            7.465798999999606,
            7.967930000000251,
            6.727757999999994,
            6.887518999999884,
            9.071181000000252,
            8.382360999999946,
            8.455071000000316,
            6.620637999999872
          ]
        },
        "preparedSql": {
          "medianMs": 3.817115000000058,
          "minMs": 3.0358940000000985,
          "maxMs": 4.125835000000279,
          "samplesMs": [
            4.09869499999968,
            3.9371249999999236,
            4.000514999999723,
            3.9268349999997554,
            4.0825049999998555,
            4.066585000000032,
            3.885874999999942,
            3.94825499999979,
            3.9375749999999243,
            3.881105000000389,
            3.8908449999998993,
            3.7972239999999147,
            3.797903999999562,
            3.8123850000001767,
            3.843684999999823,
            3.9178850000002967,
            3.9022150000000693,
            3.7431950000000143,
            3.8069150000001173,
            4.044264999999996,
            3.9728249999998297,
            3.8649850000001607,
            3.8218449999999393,
            3.871693999999934,
            3.8262949999998455,
            3.850104999999985,
            3.7720650000001115,
            3.8816350000001876,
            3.952035000000251,
            3.839303999999629,
            3.775553999999829,
            3.5865539999999783,
            3.5199949999996534,
            4.125835000000279,
            3.7945740000000114,
            3.704584000000068,
            3.7184950000000754,
            3.6075949999999466,
            3.539824999999837,
            3.4144139999998515,
            3.3577650000001995,
            3.5301939999999377,
            3.411783999999898,
            3.3661540000002788,
            3.267475000000104,
            3.182314000000133,
            3.0926140000001396,
            3.0358940000000985,
            3.426785000000109,
            3.306373999999778
          ]
        },
        "vmStepsLastExecution": 21382
      },
      {
        "name": "mixedRunIds",
        "returnedRows": 18,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "af919c9df03c53fdeabc6c8e8d1b8bf67c0c104b127c5a183c3773b87de6b176",
        "semanticHash": "853a4a8552c31a9101e32534e66b7beacf848e87bfb7dafff1989bb51d0f7ca3",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 4.794081,
          "minMs": 2.453644,
          "maxMs": 7.136108,
          "samplesMs": [
            5.390907,
            7.123469,
            4.548946,
            4.034835,
            3.686025,
            3.375795,
            3.063594,
            2.453644,
            2.842684,
            2.869224,
            2.471563,
            3.805655,
            3.875965,
            3.188494,
            4.170906,
            3.567705,
            4.154595,
            3.598435,
            5.797137,
            6.014857,
            7.136108,
            7.080638,
            5.662097,
            4.452255,
            4.628036,
            5.316996,
            4.818246,
            5.271867,
            4.929456,
            5.142876,
            5.275296,
            5.744457,
            5.299657,
            4.985346,
            5.116406,
            4.915796,
            4.189245,
            5.257506,
            5.157196,
            4.653505,
            3.944615,
            4.439715,
            3.934955,
            5.337337,
            5.065057,
            4.900876,
            4.769916,
            4.879286,
            4.582115,
            4.843675
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 7.026114000000007,
          "minMs": 3.473783999999796,
          "maxMs": 16.78992100000005,
          "samplesMs": [
            8.041000000000167,
            10.056491999999707,
            6.621748000000025,
            6.367768000000069,
            5.120546999999988,
            5.2524370000001,
            5.161576999999852,
            3.503153999999995,
            4.332075000000259,
            3.945933999999852,
            3.473783999999796,
            5.249066000000312,
            5.1293259999997645,
            4.6168660000003,
            5.737556999999924,
            5.094545999999809,
            5.879018000000087,
            6.0990380000002915,
            8.630040000000008,
            8.727280999999948,
            16.78992100000005,
            10.712982999999895,
            8.845181000000139,
            6.529669000000013,
            7.5618300000001,
            8.345730999999887,
            8.588370999999825,
            8.117991000000075,
            7.53038000000015,
            8.778771000000233,
            8.059979999999996,
            9.295741000000362,
            8.246280000000297,
            7.652399999999943,
            8.65351099999998,
            7.290719000000081,
            6.953357999999753,
            7.688838999999916,
            10.109193000000232,
            6.746719000000212,
            5.599586999999701,
            6.264508000000205,
            5.393506999999772,
            7.437949000000117,
            7.09635900000012,
            7.720328999999765,
            6.955868999999893,
            7.724050000000261,
            6.85316899999998,
            6.812589000000116
          ]
        },
        "preparedSql": {
          "medianMs": 3.109808499999872,
          "minMs": 3.0305640000001404,
          "maxMs": 3.5382839999997486,
          "samplesMs": [
            3.0653229999998075,
            3.076064000000315,
            3.076094000000012,
            3.062623999999687,
            3.0305640000001404,
            3.101693999999952,
            3.1060339999999087,
            3.2094339999998738,
            3.5382839999997486,
            3.287303999999949,
            3.1074029999999766,
            3.073714000000109,
            3.104233999999906,
            3.152034000000185,
            3.0886340000001837,
            3.123113999999987,
            3.112213999999767,
            3.1270840000001954,
            3.1028140000003077,
            3.0941039999997884,
            3.0866439999999784,
            3.0754839999999604,
            3.0964539999999943,
            3.078762999999981,
            3.1187840000002325,
            3.1235740000001897,
            3.118543999999929,
            3.1528739999998834,
            3.1307240000001,
            3.0971040000003995,
            3.124793999999838,
            3.118702999999641,
            3.171104000000014,
            3.1650839999997515,
            3.1991039999998065,
            3.1605939999999464,
            3.153903999999784,
            3.1159739999998237,
            3.166754999999739,
            3.134113999999954,
            3.1053640000000087,
            3.147034000000076,
            3.1053940000001603,
            3.0633939999997892,
            3.061884000000191,
            3.0902139999998326,
            3.0793539999999666,
            3.0623140000002422,
            3.350115000000187,
            3.4726840000002994
          ]
        },
        "vmStepsLastExecution": 51283
      },
      {
        "name": "nullOnly",
        "returnedRows": 0,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
        "semanticHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 4.172605,
          "minMs": 3.433815,
          "maxMs": 7.170769,
          "samplesMs": [
            6.290728,
            5.696697,
            5.092846,
            5.364527,
            7.170769,
            5.157716,
            5.500937,
            4.280666,
            3.969265,
            4.073865,
            4.333946,
            4.191615,
            5.274506,
            5.302067,
            5.077447,
            4.821446,
            4.635656,
            4.771706,
            4.407345,
            4.692066,
            4.153595,
            4.520446,
            4.488675,
            4.068755,
            4.094115,
            4.063155,
            4.259935,
            4.079085,
            4.070965,
            3.898825,
            3.988985,
            3.884785,
            5.215176,
            3.748505,
            3.433815,
            3.517625,
            3.729735,
            3.774555,
            3.578634,
            3.541204,
            3.778405,
            3.750065,
            4.237555,
            3.866325,
            3.775045,
            4.729346,
            3.723985,
            4.540076,
            3.716415,
            3.774545
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 5.933942999999772,
          "minMs": 4.120824999999968,
          "maxMs": 10.598203999999896,
          "samplesMs": [
            7.63879900000029,
            8.419310000000223,
            7.282588999999916,
            8.019690000000082,
            10.598203999999896,
            7.811948999999913,
            8.84215099999983,
            5.659686999999849,
            5.298436000000038,
            5.436637000000246,
            5.7350970000002235,
            5.904807999999775,
            9.364921999999751,
            8.135619000000133,
            8.17846099999997,
            9.528471999999965,
            6.437148000000434,
            6.83084800000006,
            6.394467999999961,
            6.572519000000284,
            6.237936999999874,
            6.564718999999968,
            6.2900369999997565,
            5.935997999999927,
            5.747976999999992,
            5.697616999999809,
            5.931887999999617,
            6.444227999999839,
            5.685396999999739,
            6.133136999999806,
            6.446727999999894,
            5.159345999999914,
            6.655467999999928,
            5.0897070000000895,
            4.120824999999968,
            4.638985999999932,
            5.5730170000001635,
            5.6281669999998485,
            4.885515999999825,
            4.934835999999905,
            5.436987000000045,
            5.303146000000197,
            5.856888000000254,
            5.529736999999841,
            5.365256000000045,
            6.41896799999995,
            5.602837999999792,
            6.564558000000034,
            5.508946999999807,
            5.431696000000102
          ]
        },
        "preparedSql": {
          "medianMs": 3.2138740000000325,
          "minMs": 2.2432020000001103,
          "maxMs": 4.359094999999797,
          "samplesMs": [
            3.2519940000001952,
            4.359094999999797,
            3.4284950000001118,
            3.5151639999999134,
            3.3014140000000225,
            3.891375000000153,
            4.174515000000156,
            4.157486000000063,
            4.1193349999998645,
            3.9710549999999785,
            3.809834000000137,
            3.7898450000002413,
            3.7417350000000624,
            3.65022399999998,
            3.608204999999998,
            3.6307449999999335,
            3.639103999999861,
            3.4716239999997924,
            3.1313340000001517,
            2.404152999999951,
            2.282632999999805,
            2.3800029999997605,
            3.1309839999998985,
            2.8256240000000616,
            3.466313999999784,
            2.2993329999999332,
            2.3055129999997916,
            2.790382999999565,
            4.266484999999648,
            3.938274999999976,
            3.1485429999997905,
            2.791603000000123,
            3.6975649999999405,
            3.7492839999999887,
            2.6675030000001243,
            2.5698230000002695,
            2.5934830000001057,
            2.483042999999725,
            2.683263999999781,
            3.039922999999817,
            3.312514000000192,
            3.1236840000001393,
            2.3965030000003935,
            2.7778430000003027,
            3.17575399999987,
            3.5047239999998965,
            2.6237129999999524,
            2.446103000000221,
            2.2474029999998493,
            2.2432020000001103
          ]
        },
        "vmStepsLastExecution": 51224
      }
    ]
  },
  {
    "side": "before",
    "commit": "dae752080bd72d8b614d930ca72517e0f1c1fdc3",
    "process": 6,
    "environment": {
      "os": "linux",
      "arch": "x64",
      "node": "v26.13.1",
      "sqlite": "3.54.1"
    },
    "synthetic": true,
    "turns": 237,
    "threadItems": 4267,
    "fullHistorySemanticHash": "1cde97c995ec327c83264225cd959055c74f3d8a951e95977d3b0be93a91d73c",
    "payloadBytes": 16139745,
    "warmups": 10,
    "repetitions": 50,
    "results": [
      {
        "name": "turnItemRunIds",
        "returnedRows": 36,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "954beca97cc3c6b232f812c4425943dd50bcc7d5800dc32040ffd63c4751465e",
        "semanticHash": "b7f15a668e027e73782d24a62e22a114ef481c21e87a0552cd7299f8b8237b51",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 4.58216,
          "minMs": 2.520833,
          "maxMs": 8.473,
          "samplesMs": [
            5.540026,
            8.473,
            4.729626,
            5.300057,
            4.382405,
            6.155927,
            6.262707,
            5.800557,
            4.831646,
            4.597185,
            4.334206,
            4.298065,
            5.818827,
            5.601267,
            4.951656,
            4.734665,
            4.676615,
            5.035916,
            4.888396,
            4.691616,
            4.749336,
            4.471826,
            4.936845,
            4.333715,
            4.567135,
            4.061575,
            3.474695,
            3.822034,
            3.881645,
            4.130905,
            4.093615,
            4.689126,
            5.071897,
            4.793286,
            4.955966,
            4.771285,
            4.452945,
            5.401597,
            4.531895,
            3.694684,
            3.002924,
            2.731654,
            3.416234,
            3.636504,
            3.571374,
            2.781684,
            2.520833,
            2.758674,
            2.554804,
            4.003535
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 7.218243500000085,
          "minMs": 4.242295999999897,
          "maxMs": 13.142626000000064,
          "samplesMs": [
            9.110111000000188,
            12.342194999999947,
            8.728219999999965,
            11.923774000000094,
            9.064390999999887,
            10.22873299999992,
            10.73837299999991,
            10.940503000000035,
            6.90409899999986,
            6.4848279999998795,
            6.350707000000057,
            6.032587000000149,
            8.262119999999868,
            8.881281000000172,
            7.99694999999997,
            6.694887999999992,
            11.554863999999952,
            8.143589999999904,
            7.547289000000092,
            7.143138000000135,
            7.579310000000078,
            7.354568999999856,
            8.291609999999991,
            6.427207999999837,
            7.3624600000000555,
            6.554437999999891,
            5.775757000000112,
            5.742637000000059,
            5.809146999999939,
            6.333786999999802,
            7.791339999999991,
            7.293349000000035,
            7.671460000000025,
            13.142626000000064,
            7.8829789999999775,
            7.5074990000000525,
            7.031028000000106,
            7.735110000000077,
            6.912548000000015,
            6.04365800000005,
            5.106567000000041,
            4.242295999999897,
            5.4425659999999425,
            5.486986000000115,
            5.272487000000183,
            4.458135999999968,
            4.247395000000097,
            6.463987999999972,
            5.626856999999973,
            6.680758000000196
          ]
        },
        "preparedSql": {
          "medianMs": 3.7041544999999587,
          "minMs": 3.305603999999903,
          "maxMs": 4.335735000000113,
          "samplesMs": [
            3.305603999999903,
            3.3198329999997895,
            3.326903999999786,
            3.39937400000008,
            3.501045000000204,
            3.437293999999838,
            3.8363150000000132,
            4.18104500000004,
            4.062774999999874,
            3.932534999999916,
            4.0591759999999795,
            3.9304749999998876,
            3.8608639999999923,
            3.7643339999999625,
            3.7615140000000338,
            3.7602150000000165,
            3.683624000000009,
            3.652464000000009,
            3.661923999999999,
            3.663413999999875,
            3.7070340000000215,
            3.8511949999999615,
            3.807254999999941,
            3.720115000000078,
            3.701274999999896,
            4.335735000000113,
            4.046325000000024,
            3.9239749999999276,
            3.8609140000000934,
            3.843885,
            3.7761749999999665,
            3.7762550000002193,
            3.7571650000002137,
            3.7296049999999923,
            3.7085850000000846,
            3.655334000000039,
            3.641544000000067,
            3.735804000000144,
            3.64569500000016,
            3.6516050000000178,
            3.6053450000001703,
            3.621264999999994,
            3.662064999999984,
            3.668184999999994,
            3.634604999999965,
            3.6576339999999163,
            3.584043999999949,
            3.569684000000052,
            3.5094440000000304,
            3.527014999999892
          ]
        },
        "vmStepsLastExecution": 42808
      },
      {
        "name": "turnItemRunId",
        "returnedRows": 18,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "af919c9df03c53fdeabc6c8e8d1b8bf67c0c104b127c5a183c3773b87de6b176",
        "semanticHash": "853a4a8552c31a9101e32534e66b7beacf848e87bfb7dafff1989bb51d0f7ca3",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND run_id = ? ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)"
        ],
        "querySpan": {
          "medianMs": 4.568415,
          "minMs": 2.500023,
          "maxMs": 6.840388,
          "samplesMs": [
            3.651615,
            4.414485,
            4.700426,
            4.768696,
            5.037136,
            5.149286,
            4.400155,
            4.522545,
            4.280475,
            5.395077,
            4.903456,
            4.861376,
            4.762166,
            5.026747,
            5.683057,
            4.614285,
            6.284848,
            5.511007,
            5.773657,
            6.840388,
            2.868904,
            2.500023,
            2.602264,
            3.267614,
            3.829754,
            3.651954,
            2.970974,
            3.675415,
            2.785453,
            2.701953,
            5.762077,
            4.817456,
            5.094136,
            5.202946,
            5.534456,
            4.767866,
            4.862826,
            4.247595,
            4.189175,
            3.686574,
            4.665956,
            4.068776,
            4.451105,
            4.386026,
            4.351105,
            4.676996,
            4.476655,
            4.219285,
            5.358046,
            4.090445
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 6.945453999999927,
          "minMs": 3.831843999999819,
          "maxMs": 11.12632399999984,
          "samplesMs": [
            5.493626999999833,
            6.812148999999863,
            7.564059000000043,
            8.446770000000015,
            8.613540000000057,
            8.46527100000003,
            6.090286999999989,
            7.31301899999994,
            6.491837999999916,
            7.533069000000069,
            6.863438999999971,
            11.12632399999984,
            7.027468999999883,
            8.385420999999951,
            10.948043999999982,
            7.071678999999904,
            8.842300999999907,
            8.911960999999792,
            10.023942000000261,
            9.262941999999839,
            4.479546000000028,
            3.831843999999819,
            4.0605649999997695,
            4.758284999999887,
            5.355046000000129,
            5.028886000000057,
            4.292355000000043,
            5.286247000000003,
            4.588976000000002,
            3.832194999999956,
            7.135149000000183,
            6.3580879999999524,
            7.425568999999996,
            7.612060000000383,
            8.159310000000005,
            8.79307000000017,
            7.527159000000211,
            6.461428999999953,
            6.686667999999827,
            5.346727000000101,
            6.325677999999698,
            5.517406999999821,
            6.803257999999914,
            6.28746799999999,
            7.454529000000093,
            7.446320000000014,
            7.638438999999835,
            6.069077000000107,
            7.478599000000031,
            5.9019570000000385
          ]
        },
        "preparedSql": {
          "medianMs": 2.2481375000002117,
          "minMs": 1.7982120000001487,
          "maxMs": 3.9943249999996624,
          "samplesMs": [
            3.969094000000041,
            3.950655000000097,
            3.9943249999996624,
            3.759254999999939,
            3.703885000000355,
            3.0619739999997364,
            2.3543030000000726,
            2.4026229999999487,
            2.270733000000291,
            2.199323000000277,
            2.299562000000151,
            2.1746029999999337,
            2.1793720000000576,
            2.0963329999999587,
            2.143862999999783,
            2.0403120000000854,
            2.0478119999997944,
            2.1145430000001397,
            2.081963000000087,
            1.8506119999997281,
            1.874772000000121,
            1.959222999999838,
            1.8043219999999565,
            1.9784119999999348,
            1.835852000000159,
            2.0209030000000894,
            1.9024819999999636,
            1.81240200000002,
            1.7982120000001487,
            1.931282999999894,
            2.0204319999998006,
            2.1572229999997035,
            2.121882999999798,
            2.059512999999697,
            3.08609400000023,
            3.7271639999999024,
            3.1044440000000577,
            2.636703000000125,
            2.8096630000000005,
            2.3637830000002396,
            3.2021340000001146,
            3.1964539999999033,
            2.263172000000395,
            2.2638019999999415,
            3.4631039999999302,
            3.624294000000191,
            3.429204000000027,
            2.9962839999998323,
            2.2331030000000283,
            2.6898229999997056
          ]
        },
        "vmStepsLastExecution": 21382
      },
      {
        "name": "mixedRunIds",
        "returnedRows": 18,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "af919c9df03c53fdeabc6c8e8d1b8bf67c0c104b127c5a183c3773b87de6b176",
        "semanticHash": "853a4a8552c31a9101e32534e66b7beacf848e87bfb7dafff1989bb51d0f7ca3",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 5.125931,
          "minMs": 2.952793,
          "maxMs": 6.793828,
          "samplesMs": [
            4.717655,
            5.885227,
            5.707206,
            5.322526,
            5.153156,
            5.455006,
            3.305064,
            4.011034,
            3.334124,
            3.152614,
            2.952793,
            5.248707,
            5.147156,
            6.135327,
            6.399548,
            5.341126,
            5.273787,
            5.413956,
            5.836267,
            6.229227,
            5.906337,
            5.260716,
            5.663117,
            6.793828,
            5.110596,
            5.023486,
            4.560876,
            5.541047,
            5.579416,
            6.149598,
            5.579417,
            5.735237,
            5.271076,
            5.000386,
            4.596716,
            4.329736,
            4.363985,
            4.755406,
            4.283415,
            4.302195,
            5.141266,
            4.813706,
            4.705015,
            4.275795,
            4.691395,
            4.465805,
            4.336866,
            4.404436,
            4.544086,
            4.556915
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 7.67707449999989,
          "minMs": 4.297645000000102,
          "maxMs": 12.728215000000091,
          "samplesMs": [
            6.893108000000211,
            9.002230999999938,
            8.291650000000118,
            7.785469999999805,
            11.30533400000013,
            8.067959999999857,
            5.304255999999896,
            5.915027000000009,
            4.896916000000147,
            4.502865999999813,
            4.297645000000102,
            9.381050999999843,
            7.292519000000084,
            10.259523000000172,
            9.313441000000239,
            9.205021000000215,
            8.150730000000294,
            8.214050000000043,
            9.03561099999979,
            9.436800999999832,
            12.728215000000091,
            7.676429000000098,
            9.99878200000012,
            9.86838200000011,
            7.631579000000329,
            7.158518000000186,
            6.46111800000017,
            9.648481000000174,
            8.143680000000131,
            8.997020999999677,
            8.862211000000116,
            8.442600000000311,
            8.174039999999877,
            7.677719999999681,
            6.468227999999726,
            6.241967000000386,
            6.630648000000292,
            7.779430000000048,
            5.950577000000067,
            6.063717999999881,
            7.114948999999797,
            6.9294489999997495,
            6.568816999999854,
            5.660246999999799,
            8.049499000000196,
            6.4144679999999425,
            6.061667999999827,
            6.234617999999955,
            6.331537000000026,
            6.7208379999997305
          ]
        },
        "preparedSql": {
          "medianMs": 2.919994000000088,
          "minMs": 2.0432630000000245,
          "maxMs": 3.8594539999999142,
          "samplesMs": [
            3.540034000000105,
            3.529844000000139,
            3.8594539999999142,
            3.6509040000000823,
            3.5007650000002286,
            3.426594000000023,
            3.327093999999761,
            3.2851040000000467,
            3.482394000000113,
            3.405275000000074,
            3.411673999999948,
            3.3655640000001767,
            3.385584000000108,
            3.466413999999986,
            3.4059449999999742,
            3.3420740000001388,
            3.290353999999752,
            3.3996539999998276,
            3.346313999999893,
            3.4179650000000947,
            3.2560339999999997,
            2.386942999999974,
            2.951313999999911,
            2.3828230000003714,
            2.1792819999996027,
            2.0957720000001245,
            2.1054220000000896,
            2.1158629999999903,
            2.0432630000000245,
            2.188572000000022,
            2.529342999999699,
            2.689552999999705,
            2.628584000000046,
            2.5798030000000836,
            2.761373000000276,
            2.608292999999776,
            2.812912999999753,
            2.5262229999998453,
            2.136772999999721,
            2.644452999999885,
            2.444792999999663,
            2.8886740000002646,
            2.7692339999998694,
            3.1057339999997566,
            3.2543940000000475,
            3.3990340000000288,
            2.7026939999996102,
            2.7925129999998717,
            2.5018629999999575,
            2.686572999999953
          ]
        },
        "vmStepsLastExecution": 51283
      },
      {
        "name": "nullOnly",
        "returnedRows": 0,
        "sameRowsAndOrder": true,
        "serviceWirePayloadEqualsOracle": true,
        "rawSqlPayloadEqualsOracle": true,
        "oracleHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
        "semanticHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
        "query": "SELECT payload_json FROM orchestration_v2_projection_turn_items WHERE thread_id = ? AND (run_id IN (SELECT value FROM json_each(?)) OR (? = 1 AND run_id IS NULL)) ORDER BY ordinal ASC, turn_item_id ASC",
        "plan": [
          "SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)",
          "LIST SUBQUERY 1",
          "SCAN json_each VIRTUAL TABLE INDEX 1:",
          "CREATE BLOOM FILTER"
        ],
        "querySpan": {
          "medianMs": 3.99847,
          "minMs": 2.629833,
          "maxMs": 6.150887,
          "samplesMs": [
            4.847495,
            3.883575,
            2.983314,
            2.802614,
            2.966383,
            2.711603,
            3.379844,
            2.925564,
            2.799314,
            2.730833,
            2.753523,
            3.907255,
            3.978485,
            6.150887,
            5.244736,
            4.454846,
            4.018455,
            3.875555,
            3.791985,
            4.044734,
            4.811206,
            3.882764,
            3.775544,
            3.819895,
            4.198995,
            3.670144,
            3.684785,
            4.148374,
            3.848935,
            3.898985,
            4.397296,
            4.313755,
            4.139076,
            4.122275,
            4.482666,
            3.235524,
            2.629833,
            3.713924,
            5.774737,
            5.503637,
            5.681717,
            5.066506,
            4.886486,
            4.975576,
            4.926886,
            4.482455,
            4.781336,
            3.901265,
            4.047864,
            4.203725
          ]
        },
        "wholeGetThreadRecords": {
          "medianMs": 5.383461500000067,
          "minMs": 3.576065000000199,
          "maxMs": 8.11180000000013,
          "samplesMs": [
            6.541357999999946,
            5.889607000000069,
            4.0661449999997785,
            3.8566850000001978,
            3.9350750000003245,
            3.576065000000199,
            4.309905999999955,
            3.895813999999973,
            3.823034000000007,
            3.5937050000002273,
            3.600174000000152,
            5.481517000000167,
            5.936816999999792,
            8.11180000000013,
            7.028607999999622,
            6.680178000000069,
            5.17766599999959,
            4.999256000000059,
            5.117385999999897,
            5.416106000000127,
            6.234738000000107,
            5.048886000000039,
            4.737145999999939,
            4.816006000000016,
            5.126936000000114,
            4.5877660000001015,
            4.679915000000165,
            6.594078000000081,
            4.945046000000275,
            5.01384599999983,
            5.4590760000000955,
            5.350817000000006,
            5.735456999999769,
            5.293166000000383,
            5.611577000000125,
            6.018278000000009,
            3.6280039999996916,
            4.509806000000026,
            7.191808000000037,
            7.363608999999997,
            8.03423900000007,
            6.547447999999804,
            6.387768000000051,
            6.634038000000146,
            6.355717999999797,
            5.995286999999735,
            6.649659000000156,
            6.5736580000002505,
            5.301625999999942,
            5.5142869999999675
          ]
        },
        "preparedSql": {
          "medianMs": 4.107560000000149,
          "minMs": 3.5120339999998578,
          "maxMs": 4.592224999999871,
          "samplesMs": [
            4.401215999999749,
            4.39149499999985,
            4.254095000000234,
            4.447595999999976,
            4.303274999999758,
            4.436496000000261,
            4.332094999999754,
            4.592224999999871,
            4.2777649999998175,
            4.227425000000039,
            4.41575499999999,
            4.206136000000242,
            4.265184999999747,
            4.279614999999922,
            4.270105000000058,
            4.253025999999863,
            4.510165000000143,
            4.125544999999875,
            4.0227749999999105,
            4.05281500000001,
            4.021134999999958,
            4.119005000000016,
            4.077314999999999,
            4.096115000000282,
            4.071634999999787,
            4.133225000000039,
            4.147294999999758,
            4.037795000000187,
            4.1265049999997245,
            4.078895000000102,
            3.928204999999707,
            3.9229949999999008,
            3.91499500000009,
            4.283744999999726,
            4.125254999999925,
            4.022315000000162,
            3.9446649999999863,
            4.161974999999984,
            4.081035000000156,
            3.5120339999998578,
            3.6444550000001072,
            3.7379439999999704,
            3.8510550000000876,
            3.868304999999964,
            3.925525000000107,
            3.913383999999951,
            3.8746750000000247,
            3.755345000000034,
            3.6966640000000552,
            3.6246949999999742
          ]
        },
        "vmStepsLastExecution": 51224
      }
    ]
  }
]