{
  "side": "after",
  "sha": "6538014ca1a68623fef81735760f9d2d61cc9bfb",
  "environment": "Linux x86_64; Node 26.13.1; SQLite 3.54.1",
  "measurements": [
    {
      "completed": 1000,
      "running": 1,
      "groups": [
        {
          "statementMs": [
            0.061354,
            0.03187,
            0.02639,
            0.02716,
            0.025798,
            0.031329,
            0.028924,
            0.027683,
            0.03772,
            0.027812,
            0.034375,
            0.031459,
            0.020328,
            0.022701,
            0.027451,
            0.021451,
            0.021621,
            0.018874,
            0.020218,
            0.020318,
            0.020447
          ],
          "vmSteps": [
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106
          ],
          "medianMs": 0.02716,
          "httpMs": [
            5.375997,
            4.15195,
            3.878498,
            4.232723,
            3.49549,
            3.436698,
            3.627175,
            3.612037,
            4.049248,
            4.340976,
            4.530742,
            5.618763,
            3.898444,
            3.572092,
            3.310161,
            3.140863,
            3.316202,
            2.964382,
            2.94699,
            2.999709,
            2.951047
          ],
          "httpMedianMs": 3.612037
        },
        {
          "statementMs": [
            0.018495,
            0.019357,
            0.02139,
            0.025087,
            0.017664,
            0.019407,
            0.033713,
            0.049003,
            0.058639,
            0.038683,
            0.038161,
            0.040085,
            0.040947,
            0.068368,
            0.024746,
            0.041507,
            0.018244,
            0.020889,
            0.02176,
            0.053921,
            0.041268
          ],
          "vmSteps": [
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106
          ],
          "medianMs": 0.033713,
          "httpMs": [
            2.911833,
            14.66109,
            4.123978,
            3.027941,
            2.994178,
            5.713601,
            6.517258,
            4.058455,
            6.995997,
            5.797209,
            5.427133,
            4.908029,
            8.58582,
            4.466171,
            3.533008,
            3.745468,
            3.110646,
            3.625072,
            3.514946,
            4.595804,
            4.021256
          ],
          "httpMedianMs": 4.123978
        },
        {
          "statementMs": [
            0.04254,
            0.035736,
            0.034195,
            0.033352,
            0.023795,
            0.049653,
            0.029485,
            0.017322,
            0.017893,
            0.01583,
            0.01554,
            0.01557,
            0.027662,
            0.018425,
            0.028553,
            0.028714,
            0.025569,
            0.019056,
            0.024337,
            0.06331,
            0.039605
          ],
          "vmSteps": [
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106
          ],
          "medianMs": 0.027662,
          "httpMs": [
            4.247581,
            3.967024,
            3.807014,
            4.507879,
            3.095649,
            4.269681,
            3.406283,
            3.368922,
            3.04318,
            2.961817,
            3.168126,
            3.239229,
            3.62902,
            5.890132,
            5.196992,
            3.679032,
            4.208577,
            3.457207,
            3.553648,
            7.496937,
            12.219799
          ],
          "httpMedianMs": 3.679032
        },
        {
          "statementMs": [
            0.050415,
            0.028554,
            0.019096,
            0.022673,
            0.022342,
            0.016712,
            0.014397,
            0.017774,
            0.018074,
            0.019737,
            0.019306,
            0.017994,
            0.018604,
            0.02139,
            0.018696,
            0.022091,
            0.021371,
            0.019897,
            0.020088,
            0.018995,
            0.019927
          ],
          "vmSteps": [
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106
          ],
          "medianMs": 0.019737,
          "httpMs": [
            7.804525,
            3.51177,
            3.364193,
            3.35707,
            3.293991,
            3.184856,
            2.985993,
            3.076702,
            3.531066,
            3.020007,
            3.556273,
            3.536255,
            3.513172,
            3.64044,
            3.428513,
            3.813335,
            6.330238,
            4.699017,
            3.857848,
            3.833904,
            5.957138
          ],
          "httpMedianMs": 3.531066
        },
        {
          "statementMs": [
            0.019867,
            0.018375,
            0.039675,
            0.029274,
            0.029565,
            0.019556,
            0.022191,
            0.02086,
            0.022812,
            0.024736,
            0.027883,
            0.026038,
            0.025177,
            0.02715,
            0.017794,
            0.021871,
            0.018284,
            0.018375,
            0.026761,
            0.024276,
            0.024537
          ],
          "vmSteps": [
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106
          ],
          "medianMs": 0.024276,
          "httpMs": [
            3.649868,
            3.537378,
            4.184543,
            4.157111,
            4.129208,
            3.567253,
            3.648135,
            3.846037,
            4.637481,
            3.901199,
            3.784762,
            3.308008,
            3.123561,
            3.227034,
            3.088946,
            3.752181,
            3.022962,
            2.924396,
            8.793399,
            6.895189,
            3.471945
          ],
          "httpMedianMs": 3.649868
        }
      ],
      "plan": [
        {
          "id": 1,
          "parent": 0,
          "notused": 0,
          "detail": "COMPOUND QUERY"
        },
        {
          "id": 2,
          "parent": 1,
          "notused": 0,
          "detail": "LEFT-MOST SUBQUERY"
        },
        {
          "id": 9,
          "parent": 2,
          "notused": 107,
          "detail": "SEARCH i USING INDEX orchestration_v2_projection_turn_items_shell_pending_idx (thread_id=?)"
        },
        {
          "id": 13,
          "parent": 2,
          "notused": 0,
          "detail": "LIST SUBQUERY 1"
        },
        {
          "id": 15,
          "parent": 13,
          "notused": 0,
          "detail": "SCAN json_each VIRTUAL TABLE INDEX 1:"
        },
        {
          "id": 32,
          "parent": 2,
          "notused": 46,
          "detail": "SEARCH p USING INDEX sqlite_autoindex_orchestration_v2_projection_provider_threads_1 (provider_thread_id=?) LEFT-JOIN"
        },
        {
          "id": 40,
          "parent": 2,
          "notused": 46,
          "detail": "SEARCH r USING INDEX sqlite_autoindex_orchestration_v2_projection_runs_1 (run_id=?) LEFT-JOIN"
        },
        {
          "id": 66,
          "parent": 1,
          "notused": 0,
          "detail": "UNION ALL"
        },
        {
          "id": 69,
          "parent": 66,
          "notused": 107,
          "detail": "SEARCH i USING INDEX orchestration_v2_projection_turn_items_run_ordinal_idx (run_id=?)"
        },
        {
          "id": 73,
          "parent": 66,
          "notused": 0,
          "detail": "LIST SUBQUERY 3"
        },
        {
          "id": 75,
          "parent": 73,
          "notused": 0,
          "detail": "SCAN json_each VIRTUAL TABLE INDEX 1:"
        }
      ],
      "statement": "\n      SELECT i.thread_id, i.payload_json, p.provider_instance_id AS owning_provider_instance_id\n      FROM orchestration_v2_projection_turn_items i\n        INDEXED BY orchestration_v2_projection_turn_items_shell_pending_idx\n      LEFT JOIN orchestration_v2_projection_provider_threads p\n        ON p.provider_thread_id = i.provider_thread_id\n      LEFT JOIN orchestration_v2_projection_runs r\n        ON r.run_id = i.run_id\n      WHERE i.type IN ('command_execution', 'dynamic_tool', 'subagent')\n        AND i.status NOT IN ('completed', 'interrupted', 'failed', 'cancelled')\n        AND (i.run_id IS NULL OR r.status <> 'rolled_back')\n        AND i.thread_id IN (SELECT value FROM json_each(?))\n      \n        -- Preserve the pending-item partial index; read other work only from running runs.\n        UNION ALL\n        SELECT i.thread_id, i.payload_json, NULL AS owning_provider_instance_id\n        FROM orchestration_v2_projection_turn_items i\n        WHERE i.run_id IN (SELECT value FROM json_each(?))\n          AND i.type IN ('file_change', 'file_search', 'web_search', 'compaction')\n          AND i.status IN ('running', 'waiting')\n      \n    ",
      "binds": [
        "[\"mcp:c835da10-3b2a-4b8b-a2c1-5112ee21a074\"]",
        "[\"run:thread:mcp%3Ac835da10-3b2a-4b8b-a2c1-5112ee21a074:ordinal:2\"]"
      ],
      "returnedRows": [
        {
          "thread_id": "mcp:c835da10-3b2a-4b8b-a2c1-5112ee21a074",
          "payload_json": "{\"id\":\"turn-item:provider:acpRegistry:native-item:provider-instance%3Abulk%3A38cddfd7-8e0c-4379-8578-345a5fc1fb6f%3Atool%3A6b5b9bad-eba5-4e58-b3fd-ca122e7ab8b5-pending\",\"threadId\":\"mcp:c835da10-3b2a-4b8b-a2c1-5112ee21a074\",\"runId\":\"run:thread:mcp%3Ac835da10-3b2a-4b8b-a2c1-5112ee21a074:ordinal:2\",\"nodeId\":\"node:provider:acpRegistry:native-item:provider-instance%3Abulk%3A38cddfd7-8e0c-4379-8578-345a5fc1fb6f%3Atool%3A6b5b9bad-eba5-4e58-b3fd-ca122e7ab8b5-pending\",\"providerThreadId\":\"provider-thread:provider:acpRegistry:native-thread:pending%3Arun%3Athread%3Amcp%253Ac835da10-3b2a-4b8b-a2c1-5112ee21a074%3Aordinal%3A1\",\"providerTurnId\":\"provider-turn:provider:acpRegistry:native-turn:provider-instance%3Abulk%3A38cddfd7-8e0c-4379-8578-345a5fc1fb6f%3Aturn%3A2\",\"nativeItemRef\":{\"driver\":\"acpRegistry\",\"nativeId\":\"6b5b9bad-eba5-4e58-b3fd-ca122e7ab8b5-pending\",\"strength\":\"strong\"},\"parentItemId\":null,\"ordinal\":2000002,\"status\":\"running\",\"title\":\"Ran command\",\"startedAt\":\"2026-11-19T18:23:05.390Z\",\"completedAt\":null,\"updatedAt\":\"2026-11-19T18:23:05.390Z\",\"type\":\"command_execution\",\"input\":\"pending synthetic command\"}",
          "owning_provider_instance_id": "bulk"
        }
      ],
      "medianMs": 0.023795,
      "groupMedianRangeMs": [
        0.019737,
        0.033713
      ],
      "vmSteps": [
        106
      ],
      "functionalResult": {
        "rowCount": 1,
        "type": "command_execution",
        "status": "running",
        "input": "pending synthetic command",
        "owningProviderInstanceId": "bulk"
      }
    },
    {
      "completed": 15000,
      "running": 1,
      "groups": [
        {
          "statementMs": [
            0.036318,
            0.016981,
            0.015167,
            0.041187,
            0.030526,
            0.024316,
            0.031549,
            0.03755,
            0.023064,
            0.025487,
            0.034436,
            0.031589,
            0.035778,
            0.03213,
            0.02635,
            0.032412,
            0.040757,
            0.027552,
            0.028585,
            0.015189,
            0.014467
          ],
          "vmSteps": [
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106
          ],
          "medianMs": 0.030526,
          "httpMs": [
            21.146308,
            2.624565,
            2.664279,
            4.790609,
            5.114566,
            4.43422,
            3.881544,
            4.28992,
            3.802715,
            4.271656,
            4.458025,
            4.147733,
            4.794576,
            4.472312,
            4.071961,
            3.770867,
            5.863642,
            4.050269,
            2.948701,
            2.59539,
            2.954033
          ],
          "httpMedianMs": 4.147733
        },
        {
          "statementMs": [
            0.014326,
            0.013937,
            0.014347,
            0.014407,
            0.022221,
            0.024056,
            0.013636,
            0.019016,
            0.015369,
            0.02649,
            0.025778,
            0.013515,
            0.01614,
            0.015709,
            0.014186,
            0.014818,
            0.014298,
            0.013937,
            0.018684,
            0.015869,
            0.014256
          ],
          "vmSteps": [
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106
          ],
          "medianMs": 0.014818,
          "httpMs": [
            2.511844,
            2.488229,
            2.571815,
            2.548162,
            2.962619,
            2.614155,
            2.513396,
            2.544384,
            2.517955,
            5.159551,
            2.588847,
            2.578779,
            2.697671,
            2.719082,
            2.612522,
            2.405464,
            2.564012,
            2.567948,
            2.729872,
            10.231369,
            2.748367
          ],
          "httpMedianMs": 2.578779
        },
        {
          "statementMs": [
            0.028062,
            0.028804,
            0.027661,
            0.01579,
            0.014296,
            0.013866,
            0.025057,
            0.015199,
            0.023655,
            0.016201,
            0.014938,
            0.029726,
            0.019627,
            0.015269,
            0.023955,
            0.028805,
            0.018455,
            0.018003,
            0.015719,
            0.04773,
            0.020198
          ],
          "vmSteps": [
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106
          ],
          "medianMs": 0.019627,
          "httpMs": [
            3.495789,
            3.044544,
            2.844208,
            2.882249,
            2.852322,
            3.034465,
            2.736295,
            2.685379,
            2.807016,
            2.704484,
            2.773513,
            3.013014,
            2.614325,
            2.573639,
            3.682719,
            2.992055,
            2.897256,
            4.139487,
            2.668488,
            3.485039,
            2.693063
          ],
          "httpMedianMs": 2.852322
        },
        {
          "statementMs": [
            0.018405,
            0.017743,
            0.036197,
            0.020208,
            0.014187,
            0.015108,
            0.023534,
            0.027561,
            0.019116,
            0.019286,
            0.016861,
            0.017272,
            0.014407,
            0.015689,
            0.020619,
            0.023304,
            0.02162,
            0.029355,
            0.029656,
            0.021701,
            0.034253
          ],
          "vmSteps": [
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106
          ],
          "medianMs": 0.020208,
          "httpMs": [
            2.63859,
            2.821625,
            2.883682,
            2.641267,
            2.5208,
            2.605449,
            3.335468,
            2.982576,
            3.54393,
            3.130123,
            2.861921,
            2.92028,
            2.633121,
            2.596483,
            2.734902,
            2.769016,
            2.767973,
            14.024644,
            4.46597,
            4.368797,
            5.092045
          ],
          "httpMedianMs": 2.861921
        },
        {
          "statementMs": [
            0.025849,
            0.034294,
            0.022042,
            0.022472,
            0.037489,
            0.034314,
            0.050526,
            0.024506,
            0.029956,
            0.023525,
            0.025869,
            0.020358,
            0.02647,
            0.018083,
            0.017373,
            0.014437,
            0.015188,
            0.027392,
            0.030206,
            0.01578,
            0.015759
          ],
          "vmSteps": [
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106,
            106
          ],
          "medianMs": 0.024506,
          "httpMs": [
            4.827808,
            5.662975,
            4.883564,
            5.037933,
            4.761534,
            5.194247,
            5.784394,
            22.068789,
            4.610011,
            3.16531,
            2.924216,
            2.840539,
            2.907336,
            2.810182,
            4.640327,
            4.190664,
            5.350048,
            3.84188,
            3.382647,
            7.233012,
            2.605029
          ],
          "httpMedianMs": 4.640327
        }
      ],
      "plan": [
        {
          "id": 1,
          "parent": 0,
          "notused": 0,
          "detail": "COMPOUND QUERY"
        },
        {
          "id": 2,
          "parent": 1,
          "notused": 0,
          "detail": "LEFT-MOST SUBQUERY"
        },
        {
          "id": 9,
          "parent": 2,
          "notused": 107,
          "detail": "SEARCH i USING INDEX orchestration_v2_projection_turn_items_shell_pending_idx (thread_id=?)"
        },
        {
          "id": 13,
          "parent": 2,
          "notused": 0,
          "detail": "LIST SUBQUERY 1"
        },
        {
          "id": 15,
          "parent": 13,
          "notused": 0,
          "detail": "SCAN json_each VIRTUAL TABLE INDEX 1:"
        },
        {
          "id": 32,
          "parent": 2,
          "notused": 46,
          "detail": "SEARCH p USING INDEX sqlite_autoindex_orchestration_v2_projection_provider_threads_1 (provider_thread_id=?) LEFT-JOIN"
        },
        {
          "id": 40,
          "parent": 2,
          "notused": 46,
          "detail": "SEARCH r USING INDEX sqlite_autoindex_orchestration_v2_projection_runs_1 (run_id=?) LEFT-JOIN"
        },
        {
          "id": 66,
          "parent": 1,
          "notused": 0,
          "detail": "UNION ALL"
        },
        {
          "id": 69,
          "parent": 66,
          "notused": 107,
          "detail": "SEARCH i USING INDEX orchestration_v2_projection_turn_items_run_ordinal_idx (run_id=?)"
        },
        {
          "id": 73,
          "parent": 66,
          "notused": 0,
          "detail": "LIST SUBQUERY 3"
        },
        {
          "id": 75,
          "parent": 73,
          "notused": 0,
          "detail": "SCAN json_each VIRTUAL TABLE INDEX 1:"
        }
      ],
      "statement": "\n      SELECT i.thread_id, i.payload_json, p.provider_instance_id AS owning_provider_instance_id\n      FROM orchestration_v2_projection_turn_items i\n        INDEXED BY orchestration_v2_projection_turn_items_shell_pending_idx\n      LEFT JOIN orchestration_v2_projection_provider_threads p\n        ON p.provider_thread_id = i.provider_thread_id\n      LEFT JOIN orchestration_v2_projection_runs r\n        ON r.run_id = i.run_id\n      WHERE i.type IN ('command_execution', 'dynamic_tool', 'subagent')\n        AND i.status NOT IN ('completed', 'interrupted', 'failed', 'cancelled')\n        AND (i.run_id IS NULL OR r.status <> 'rolled_back')\n        AND i.thread_id IN (SELECT value FROM json_each(?))\n      \n        -- Preserve the pending-item partial index; read other work only from running runs.\n        UNION ALL\n        SELECT i.thread_id, i.payload_json, NULL AS owning_provider_instance_id\n        FROM orchestration_v2_projection_turn_items i\n        WHERE i.run_id IN (SELECT value FROM json_each(?))\n          AND i.type IN ('file_change', 'file_search', 'web_search', 'compaction')\n          AND i.status IN ('running', 'waiting')\n      \n    ",
      "binds": [
        "[\"mcp:c835da10-3b2a-4b8b-a2c1-5112ee21a074\"]",
        "[\"run:thread:mcp%3Ac835da10-3b2a-4b8b-a2c1-5112ee21a074:ordinal:4\"]"
      ],
      "returnedRows": [
        {
          "thread_id": "mcp:c835da10-3b2a-4b8b-a2c1-5112ee21a074",
          "payload_json": "{\"id\":\"turn-item:provider:acpRegistry:native-item:provider-instance%3Abulk%3A38cddfd7-8e0c-4379-8578-345a5fc1fb6f%3Atool%3A56070650-c52c-4779-a96b-4a974cdef6f7-pending\",\"threadId\":\"mcp:c835da10-3b2a-4b8b-a2c1-5112ee21a074\",\"runId\":\"run:thread:mcp%3Ac835da10-3b2a-4b8b-a2c1-5112ee21a074:ordinal:4\",\"nodeId\":\"node:provider:acpRegistry:native-item:provider-instance%3Abulk%3A38cddfd7-8e0c-4379-8578-345a5fc1fb6f%3Atool%3A56070650-c52c-4779-a96b-4a974cdef6f7-pending\",\"providerThreadId\":\"provider-thread:provider:acpRegistry:native-thread:pending%3Arun%3Athread%3Amcp%253Ac835da10-3b2a-4b8b-a2c1-5112ee21a074%3Aordinal%3A1\",\"providerTurnId\":\"provider-turn:provider:acpRegistry:native-turn:provider-instance%3Abulk%3A38cddfd7-8e0c-4379-8578-345a5fc1fb6f%3Aturn%3A4\",\"nativeItemRef\":{\"driver\":\"acpRegistry\",\"nativeId\":\"56070650-c52c-4779-a96b-4a974cdef6f7-pending\",\"strength\":\"strong\"},\"parentItemId\":null,\"ordinal\":4000002,\"status\":\"running\",\"title\":\"Ran command\",\"startedAt\":\"2026-11-19T18:24:12.191Z\",\"completedAt\":null,\"updatedAt\":\"2026-11-19T18:24:12.191Z\",\"type\":\"command_execution\",\"input\":\"pending synthetic command\"}",
          "owning_provider_instance_id": "bulk"
        }
      ],
      "medianMs": 0.02162,
      "groupMedianRangeMs": [
        0.014818,
        0.030526
      ],
      "vmSteps": [
        106
      ],
      "functionalResult": {
        "rowCount": 1,
        "type": "command_execution",
        "status": "running",
        "input": "pending synthetic command",
        "owningProviderInstanceId": "bulk"
      }
    }
  ]
}