Windows 10.0.26100, x64; Node v26.13.1; SQLite 3.54.1 Real ProjectionStore service with its own migrated in-memory database per checkout. 30,000 completed conversation items; six runs; five warmups then nine measured reads per state. BASE c16ad0ce179d46c0ae335e6547e81d1cc3522fda HEAD b4a1af4c7dc36f494cf95dff905405cf6e7382dc no compaction SQL median: base 2.100700 ms; head 0.213200 ms; 9.9x faster SQL min..max: base 2.016000..2.414500; head 0.208800..0.241100 ms SQL median improvement 1.887500 ms exceeds both full ranges: True Service operation median: base 5.866300 ms; head 5.563500 ms Base VM steps: [150083, 150083, 150083, 150083, 150083, 150083, 150083, 150083, 150083] Head VM steps: [55, 55, 55, 55, 55, 55, 55, 55, 55] Identical SQL run IDs: [] Identical service message IDs: ['message:1', 'message:2', 'message:3', 'message:4', 'message:5', 'message:6'] Base durations ms: [2.0159999999996217, 2.136800000000221, 2.144899999999325, 2.4144999999989523, 2.296699999998964, 2.100699999999051, 2.0584000000017113, 2.034700000000157, 2.0904000000009546] Head durations ms: [0.21860000000015134, 0.22149999999965075, 0.24109999999927823, 0.2132000000019616, 0.21489999999903375, 0.21120000000155414, 0.2088000000003376, 0.2114000000001397, 0.21000000000276486] Base plan: MERGE (UNION) LEFT MATERIALIZE compaction SEARCH item USING INDEX orchestration_v2_projection_turn_items_conversation_idx (thread_id=?) SEARCH run USING INDEX sqlite_autoindex_orchestration_v2_projection_runs_1 (run_id=?) SCAN compaction SEARCH run USING INDEX orchestration_v2_projection_runs_thread_ordinal_idx (thread_id=?) USE TEMP B-TREE FOR ORDER BY RIGHT SEARCH message USING INDEX sqlite_autoindex_orchestration_v2_projection_messages_1 (message_id=?) SCAN compaction Head plan: MERGE (UNION) LEFT MATERIALIZE compaction SEARCH item USING INDEX orchestration_v2_projection_turn_items_thread_type_idx (thread_id=? AND type=? AND status=?) SEARCH run USING INDEX sqlite_autoindex_orchestration_v2_projection_runs_1 (run_id=?) USE TEMP B-TREE FOR ORDER BY SCAN compaction SEARCH run USING INDEX orchestration_v2_projection_runs_thread_ordinal_idx (thread_id=?) USE TEMP B-TREE FOR ORDER BY RIGHT SEARCH message USING INDEX sqlite_autoindex_orchestration_v2_projection_messages_1 (message_id=?) SCAN compaction early compaction plus later rolled-back compaction SQL median: base 2.104600 ms; head 0.240600 ms; 8.7x faster SQL min..max: base 1.933000..2.157400; head 0.219000..0.297100 ms SQL median improvement 1.864000 ms exceeds both full ranges: True Service operation median: base 5.798300 ms; head 5.700300 ms Base VM steps: [150227, 150227, 150227, 150227, 150227, 150227, 150227, 150227, 150227] Head VM steps: [248, 248, 248, 248, 248, 248, 248, 248, 248] Identical SQL run IDs: ['run:1', 'run:2', 'run:3', 'run:4', 'run:5', 'run:6'] Identical service message IDs: ['message:1', 'message:2', 'message:3', 'message:4', 'message:5', 'message:6'] Base durations ms: [2.115699999998469, 1.9681000000018685, 2.1120999999984633, 2.084999999999127, 2.0718999999990046, 2.153600000001461, 1.9330000000009022, 2.1574000000000524, 2.1045999999987544] Head durations ms: [0.24060000000099535, 0.23709999999846332, 0.21900000000096043, 0.26929999999993015, 0.23729999999704887, 0.23059999999895808, 0.297099999999773, 0.2422999999980675, 0.25340000000142027] Base plan: MERGE (UNION) LEFT MATERIALIZE compaction SEARCH item USING INDEX orchestration_v2_projection_turn_items_conversation_idx (thread_id=?) SEARCH run USING INDEX sqlite_autoindex_orchestration_v2_projection_runs_1 (run_id=?) SCAN compaction SEARCH run USING INDEX orchestration_v2_projection_runs_thread_ordinal_idx (thread_id=?) USE TEMP B-TREE FOR ORDER BY RIGHT SEARCH message USING INDEX sqlite_autoindex_orchestration_v2_projection_messages_1 (message_id=?) SCAN compaction Head plan: MERGE (UNION) LEFT MATERIALIZE compaction SEARCH item USING INDEX orchestration_v2_projection_turn_items_thread_type_idx (thread_id=? AND type=? AND status=?) SEARCH run USING INDEX sqlite_autoindex_orchestration_v2_projection_runs_1 (run_id=?) USE TEMP B-TREE FOR ORDER BY SCAN compaction SEARCH run USING INDEX orchestration_v2_projection_runs_thread_ordinal_idx (thread_id=?) USE TEMP B-TREE FOR ORDER BY RIGHT SEARCH message USING INDEX sqlite_autoindex_orchestration_v2_projection_messages_1 (message_id=?) SCAN compaction