{"type": "effect-span", "name": "BEGIN", "traceId": "3ba346bfced6c90dfa304e2e44bea232", "spanId": "e61664761ec5f2d8", "parentSpanId": "23e8db2d6e715d71", "startTimeUnixNano": "1796072967725987488", "endTimeUnixNano": "1796072967728313421", "durationMs": 2.325933, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3ba346bfced6c90dfa304e2e44bea232", "spanId": "a4291941b2465543", "parentSpanId": "5327a5b2984f69d8", "startTimeUnixNano": "1796072967728391158", "endTimeUnixNano": "1796072967731588833", "durationMs": 3.197675, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009287}}
{"type": "effect-span", "name": "sqlite", "traceId": "3ba346bfced6c90dfa304e2e44bea232", "spanId": "9515c8143b78ba09", "parentSpanId": "5327a5b2984f69d8", "startTimeUnixNano": "1796072967731738976", "endTimeUnixNano": "1796072967732607253", "durationMs": 0.868277, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019497}}
{"type": "effect-span", "name": "sqlite", "traceId": "3ba346bfced6c90dfa304e2e44bea232", "spanId": "1d6896e35d32d7df", "parentSpanId": "5327a5b2984f69d8", "startTimeUnixNano": "1796072967732635927", "endTimeUnixNano": "1796072967733517037", "durationMs": 0.88111, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017022}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3ba346bfced6c90dfa304e2e44bea232", "spanId": "5327a5b2984f69d8", "parentSpanId": "23e8db2d6e715d71", "startTimeUnixNano": "1796072967728376710", "endTimeUnixNano": "1796072967733653695", "durationMs": 5.276985, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3ba346bfced6c90dfa304e2e44bea232", "spanId": "4dc7d6402a3d11ed", "parentSpanId": "23e8db2d6e715d71", "startTimeUnixNano": "1796072967733675516", "endTimeUnixNano": "1796072967734888592", "durationMs": 1.213076, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3ba346bfced6c90dfa304e2e44bea232", "spanId": "23e8db2d6e715d71", "parentSpanId": "2f40f809ec4bfd8b", "startTimeUnixNano": "1796072967719550288", "endTimeUnixNano": "1796072967734927866", "durationMs": 15.377578, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.417583, "db.connection": "reader", "db.lock_wait_ms": 6.301}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3ba346bfced6c90dfa304e2e44bea232", "spanId": "2f40f809ec4bfd8b", "parentSpanId": "b9482a1d37b5eb8a", "startTimeUnixNano": "1796072967719530270", "endTimeUnixNano": "1796072967734960597", "durationMs": 15.430327, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3ba346bfced6c90dfa304e2e44bea232", "spanId": "b9482a1d37b5eb8a", "parentSpanId": "89996c2565c1d020", "startTimeUnixNano": "1796072967719408501", "endTimeUnixNano": "1796072967734974484", "durationMs": 15.565983, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3ba346bfced6c90dfa304e2e44bea232", "spanId": "89996c2565c1d020", "startTimeUnixNano": "1796072967719229333", "endTimeUnixNano": "1796072967734988310", "durationMs": 15.758977, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "aa830fe4879ad49cfbcf2dc38a149de3", "spanId": "73ad874e94d13646", "parentSpanId": "90b3dcbb25423f38", "startTimeUnixNano": "1796072968029458336", "endTimeUnixNano": "1796072968030700076", "durationMs": 1.24174, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa830fe4879ad49cfbcf2dc38a149de3", "spanId": "6248bdb3c0886d8d", "parentSpanId": "dd9041416731a366", "startTimeUnixNano": "1796072968030801287", "endTimeUnixNano": "1796072968031737581", "durationMs": 0.936294, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011952}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa830fe4879ad49cfbcf2dc38a149de3", "spanId": "a257351d2282076c", "parentSpanId": "dd9041416731a366", "startTimeUnixNano": "1796072968031912751", "endTimeUnixNano": "1796072968032311473", "durationMs": 0.398722, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017313}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa830fe4879ad49cfbcf2dc38a149de3", "spanId": "a76cc89b79523db5", "parentSpanId": "dd9041416731a366", "startTimeUnixNano": "1796072968032326601", "endTimeUnixNano": "1796072968033003597", "durationMs": 0.676996, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011251}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "aa830fe4879ad49cfbcf2dc38a149de3", "spanId": "dd9041416731a366", "parentSpanId": "90b3dcbb25423f38", "startTimeUnixNano": "1796072968030776971", "endTimeUnixNano": "1796072968033198574", "durationMs": 2.421603, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "aa830fe4879ad49cfbcf2dc38a149de3", "spanId": "22954743e2e251bb", "parentSpanId": "90b3dcbb25423f38", "startTimeUnixNano": "1796072968033222600", "endTimeUnixNano": "1796072968033661817", "durationMs": 0.439217, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "aa830fe4879ad49cfbcf2dc38a149de3", "spanId": "90b3dcbb25423f38", "parentSpanId": "00abf8d5ef54b482", "startTimeUnixNano": "1796072968026331303", "endTimeUnixNano": "1796072968033690822", "durationMs": 7.359519, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.092678, "db.connection": "reader", "db.lock_wait_ms": 2.964}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "aa830fe4879ad49cfbcf2dc38a149de3", "spanId": "00abf8d5ef54b482", "parentSpanId": "e80d25436745440e", "startTimeUnixNano": "1796072968026301497", "endTimeUnixNano": "1796072968033712373", "durationMs": 7.410876, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "aa830fe4879ad49cfbcf2dc38a149de3", "spanId": "e80d25436745440e", "parentSpanId": "c3a06a4750d34934", "startTimeUnixNano": "1796072968026212379", "endTimeUnixNano": "1796072968033720909", "durationMs": 7.50853, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "aa830fe4879ad49cfbcf2dc38a149de3", "spanId": "c3a06a4750d34934", "startTimeUnixNano": "1796072968026174187", "endTimeUnixNano": "1796072968033734965", "durationMs": 7.560778, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2bbcbc5d13909dc53dab2572cd920ca6", "spanId": "2e30c8ca066e64a1", "parentSpanId": "00bcbb80b16cac47", "startTimeUnixNano": "1796072969438097111", "endTimeUnixNano": "1796072969439227060", "durationMs": 1.129949, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2bbcbc5d13909dc53dab2572cd920ca6", "spanId": "79dbc2753a74babc", "parentSpanId": "95bd4b06d569927c", "startTimeUnixNano": "1796072969439286452", "endTimeUnixNano": "1796072969440029793", "durationMs": 0.743341, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007104}}
{"type": "effect-span", "name": "sqlite", "traceId": "2bbcbc5d13909dc53dab2572cd920ca6", "spanId": "211e46c66c49ea34", "parentSpanId": "95bd4b06d569927c", "startTimeUnixNano": "1796072969440160229", "endTimeUnixNano": "1796072969440871169", "durationMs": 0.71094, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015629}}
{"type": "effect-span", "name": "sqlite", "traceId": "2bbcbc5d13909dc53dab2572cd920ca6", "spanId": "29e28b903e38cd23", "parentSpanId": "95bd4b06d569927c", "startTimeUnixNano": "1796072969440885816", "endTimeUnixNano": "1796072969441360160", "durationMs": 0.474344, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01067}}
{"type": "effect-span", "name": "sqlite", "traceId": "2bbcbc5d13909dc53dab2572cd920ca6", "spanId": "60a3ab8bbb71966a", "parentSpanId": "95bd4b06d569927c", "startTimeUnixNano": "1796072969441568603", "endTimeUnixNano": "1796072969441998603", "durationMs": 0.43, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015579}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2bbcbc5d13909dc53dab2572cd920ca6", "spanId": "95bd4b06d569927c", "parentSpanId": "00bcbb80b16cac47", "startTimeUnixNano": "1796072969439274309", "endTimeUnixNano": "1796072969442029802", "durationMs": 2.755493, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2bbcbc5d13909dc53dab2572cd920ca6", "spanId": "869afd0c763dd45c", "parentSpanId": "00bcbb80b16cac47", "startTimeUnixNano": "1796072969442043338", "endTimeUnixNano": "1796072969442462157", "durationMs": 0.418819, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2bbcbc5d13909dc53dab2572cd920ca6", "spanId": "00bcbb80b16cac47", "parentSpanId": "f2c369db33508d51", "startTimeUnixNano": "1796072969435857070", "endTimeUnixNano": "1796072969442492945", "durationMs": 6.635875, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.230633, "db.connection": "reader", "db.lock_wait_ms": 2.18}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2bbcbc5d13909dc53dab2572cd920ca6", "spanId": "f2c369db33508d51", "parentSpanId": "84c901ceed2e516b", "startTimeUnixNano": "1796072969435841911", "endTimeUnixNano": "1796072969442513884", "durationMs": 6.671973, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2bbcbc5d13909dc53dab2572cd920ca6", "spanId": "84c901ceed2e516b", "parentSpanId": "de2ebda9dafd67db", "startTimeUnixNano": "1796072969435793570", "endTimeUnixNano": "1796072969442521128", "durationMs": 6.727558, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2bbcbc5d13909dc53dab2572cd920ca6", "spanId": "de2ebda9dafd67db", "startTimeUnixNano": "1796072969435769996", "endTimeUnixNano": "1796072969442531507", "durationMs": 6.761511, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6fe0bd08384403468fd9af8e5e57efb1", "spanId": "1b0f90d2ad31c7b6", "parentSpanId": "5d156afbc1c2ef5e", "startTimeUnixNano": "1796072969681279151", "endTimeUnixNano": "1796072969681987205", "durationMs": 0.708054, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6fe0bd08384403468fd9af8e5e57efb1", "spanId": "740a9af90046a5d3", "parentSpanId": "a180be1b99e503b9", "startTimeUnixNano": "1796072969682057848", "endTimeUnixNano": "1796072969698962764", "durationMs": 16.904916, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009227}}
{"type": "effect-span", "name": "sqlite", "traceId": "6fe0bd08384403468fd9af8e5e57efb1", "spanId": "81f29b8b6f36bd17", "parentSpanId": "a180be1b99e503b9", "startTimeUnixNano": "1796072969699319757", "endTimeUnixNano": "1796072969700107561", "durationMs": 0.787804, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.049363}}
{"type": "effect-span", "name": "sqlite", "traceId": "6fe0bd08384403468fd9af8e5e57efb1", "spanId": "970749d0db7ba6b9", "parentSpanId": "a180be1b99e503b9", "startTimeUnixNano": "1796072969700125976", "endTimeUnixNano": "1796072969701034318", "durationMs": 0.908342, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018665}}
{"type": "effect-span", "name": "sqlite", "traceId": "6fe0bd08384403468fd9af8e5e57efb1", "spanId": "b60dc1bed9237992", "parentSpanId": "a180be1b99e503b9", "startTimeUnixNano": "1796072969701310608", "endTimeUnixNano": "1796072969701910950", "durationMs": 0.600342, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021641}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6fe0bd08384403468fd9af8e5e57efb1", "spanId": "a180be1b99e503b9", "parentSpanId": "5d156afbc1c2ef5e", "startTimeUnixNano": "1796072969682042489", "endTimeUnixNano": "1796072969701948009", "durationMs": 19.90552, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6fe0bd08384403468fd9af8e5e57efb1", "spanId": "51e67a60e1b34e75", "parentSpanId": "5d156afbc1c2ef5e", "startTimeUnixNano": "1796072969701967346", "endTimeUnixNano": "1796072969702263935", "durationMs": 0.296589, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6fe0bd08384403468fd9af8e5e57efb1", "spanId": "5d156afbc1c2ef5e", "parentSpanId": "10ab1fd0ebb72367", "startTimeUnixNano": "1796072969679359714", "endTimeUnixNano": "1796072969702292919", "durationMs": 22.933205, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.91042, "db.connection": "reader", "db.lock_wait_ms": 1.85}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6fe0bd08384403468fd9af8e5e57efb1", "spanId": "10ab1fd0ebb72367", "parentSpanId": "47cd4112e8e16200", "startTimeUnixNano": "1796072969679339295", "endTimeUnixNano": "1796072969702314280", "durationMs": 22.974985, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6fe0bd08384403468fd9af8e5e57efb1", "spanId": "47cd4112e8e16200", "parentSpanId": "97b761db941f1925", "startTimeUnixNano": "1796072969679271698", "endTimeUnixNano": "1796072969702321092", "durationMs": 23.049394, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6fe0bd08384403468fd9af8e5e57efb1", "spanId": "97b761db941f1925", "startTimeUnixNano": "1796072969679244026", "endTimeUnixNano": "1796072969702332344", "durationMs": 23.088318, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0a840ffc9a6706d8d696fb9dd49b6730", "spanId": "91af7f4add39afa5", "parentSpanId": "2cec6f3065b5f37a", "startTimeUnixNano": "1796072971080130335", "endTimeUnixNano": "1796072971081543958", "durationMs": 1.413623, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0a840ffc9a6706d8d696fb9dd49b6730", "spanId": "bdc306b2790185e8", "parentSpanId": "360e82e649614bb5", "startTimeUnixNano": "1796072971081627506", "endTimeUnixNano": "1796072971082804273", "durationMs": 1.176767, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011221}}
{"type": "effect-span", "name": "sqlite", "traceId": "0a840ffc9a6706d8d696fb9dd49b6730", "spanId": "7e940090c0c26ec1", "parentSpanId": "360e82e649614bb5", "startTimeUnixNano": "1796072971082937815", "endTimeUnixNano": "1796072971083455370", "durationMs": 0.517555, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016271}}
{"type": "effect-span", "name": "sqlite", "traceId": "0a840ffc9a6706d8d696fb9dd49b6730", "spanId": "3a1cbf05d21a7f87", "parentSpanId": "360e82e649614bb5", "startTimeUnixNano": "1796072971083471521", "endTimeUnixNano": "1796072971083992563", "durationMs": 0.521042, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013215}}
{"type": "effect-span", "name": "sqlite", "traceId": "0a840ffc9a6706d8d696fb9dd49b6730", "spanId": "e1f8d50798e4681b", "parentSpanId": "360e82e649614bb5", "startTimeUnixNano": "1796072971084196968", "endTimeUnixNano": "1796072971084767723", "durationMs": 0.570755, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015309}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0a840ffc9a6706d8d696fb9dd49b6730", "spanId": "360e82e649614bb5", "parentSpanId": "2cec6f3065b5f37a", "startTimeUnixNano": "1796072971081609091", "endTimeUnixNano": "1796072971084800605", "durationMs": 3.191514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0a840ffc9a6706d8d696fb9dd49b6730", "spanId": "aad580228e69bd88", "parentSpanId": "2cec6f3065b5f37a", "startTimeUnixNano": "1796072971084818158", "endTimeUnixNano": "1796072971085109808", "durationMs": 0.29165, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0a840ffc9a6706d8d696fb9dd49b6730", "spanId": "2cec6f3065b5f37a", "parentSpanId": "72c2551307c9544d", "startTimeUnixNano": "1796072971075956790", "endTimeUnixNano": "1796072971085133092", "durationMs": 9.176302, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.165389, "db.connection": "reader", "db.lock_wait_ms": 4.085}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0a840ffc9a6706d8d696fb9dd49b6730", "spanId": "72c2551307c9544d", "parentSpanId": "6e2dbc5f978f020c", "startTimeUnixNano": "1796072971075937634", "endTimeUnixNano": "1796072971085155113", "durationMs": 9.217479, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0a840ffc9a6706d8d696fb9dd49b6730", "spanId": "6e2dbc5f978f020c", "parentSpanId": "0cc95c8a14e56db7", "startTimeUnixNano": "1796072971075881588", "endTimeUnixNano": "1796072971085162497", "durationMs": 9.280909, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0a840ffc9a6706d8d696fb9dd49b6730", "spanId": "0cc95c8a14e56db7", "startTimeUnixNano": "1796072971075850510", "endTimeUnixNano": "1796072971085171504", "durationMs": 9.320994, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d4f189a75b054b90c7d5e2802c843781", "spanId": "6820fe151a0ad0f9", "parentSpanId": "dcad8a455a17f894", "startTimeUnixNano": "1796072971349171574", "endTimeUnixNano": "1796072971349805318", "durationMs": 0.633744, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4f189a75b054b90c7d5e2802c843781", "spanId": "514aee5c74391002", "parentSpanId": "1cbb98c9dbd8e5d9", "startTimeUnixNano": "1796072971349875571", "endTimeUnixNano": "1796072971350524293", "durationMs": 0.648722, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007323}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4f189a75b054b90c7d5e2802c843781", "spanId": "dfe1827134a894b0", "parentSpanId": "1cbb98c9dbd8e5d9", "startTimeUnixNano": "1796072971350674626", "endTimeUnixNano": "1796072971351085771", "durationMs": 0.411145, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.025919}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4f189a75b054b90c7d5e2802c843781", "spanId": "9e6f2fc3cf25fea9", "parentSpanId": "1cbb98c9dbd8e5d9", "startTimeUnixNano": "1796072971351098625", "endTimeUnixNano": "1796072971351756665", "durationMs": 0.65804, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010731}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4f189a75b054b90c7d5e2802c843781", "spanId": "f2df7bce38e1ab1e", "parentSpanId": "1cbb98c9dbd8e5d9", "startTimeUnixNano": "1796072971351960409", "endTimeUnixNano": "1796072971352426728", "durationMs": 0.466319, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012334}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d4f189a75b054b90c7d5e2802c843781", "spanId": "1cbb98c9dbd8e5d9", "parentSpanId": "dcad8a455a17f894", "startTimeUnixNano": "1796072971349861714", "endTimeUnixNano": "1796072971352492562", "durationMs": 2.630848, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d4f189a75b054b90c7d5e2802c843781", "spanId": "dfe632c857d9f3c8", "parentSpanId": "dcad8a455a17f894", "startTimeUnixNano": "1796072971352518421", "endTimeUnixNano": "1796072971352973769", "durationMs": 0.455348, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d4f189a75b054b90c7d5e2802c843781", "spanId": "dcad8a455a17f894", "parentSpanId": "40c1d9d0c04a38b5", "startTimeUnixNano": "1796072971346455335", "endTimeUnixNano": "1796072971353016559", "durationMs": 6.561224, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.708214, "db.connection": "reader", "db.lock_wait_ms": 2.582}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d4f189a75b054b90c7d5e2802c843781", "spanId": "40c1d9d0c04a38b5", "parentSpanId": "b58780ae34ff5da7", "startTimeUnixNano": "1796072971346406774", "endTimeUnixNano": "1796072971353049491", "durationMs": 6.642717, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d4f189a75b054b90c7d5e2802c843781", "spanId": "b58780ae34ff5da7", "parentSpanId": "a80b57b75045dd7a", "startTimeUnixNano": "1796072971346327524", "endTimeUnixNano": "1796072971353067375", "durationMs": 6.739851, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d4f189a75b054b90c7d5e2802c843781", "spanId": "a80b57b75045dd7a", "startTimeUnixNano": "1796072971346292448", "endTimeUnixNano": "1796072971353093034", "durationMs": 6.800586, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a05b4f5601a88b461e9e148b21003207", "spanId": "6be7eac941544d41", "parentSpanId": "53d0e1828d4a4049", "startTimeUnixNano": "1796072972678251592", "endTimeUnixNano": "1796072972679280721", "durationMs": 1.029129, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a05b4f5601a88b461e9e148b21003207", "spanId": "691138f339db2c0c", "parentSpanId": "4e30594a3d4708fc", "startTimeUnixNano": "1796072972679328100", "endTimeUnixNano": "1796072972680326903", "durationMs": 0.998803, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007434}}
{"type": "effect-span", "name": "sqlite", "traceId": "a05b4f5601a88b461e9e148b21003207", "spanId": "1b22a6132c918ad6", "parentSpanId": "4e30594a3d4708fc", "startTimeUnixNano": "1796072972680423364", "endTimeUnixNano": "1796072972681002836", "durationMs": 0.579472, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.030097}}
{"type": "effect-span", "name": "sqlite", "traceId": "a05b4f5601a88b461e9e148b21003207", "spanId": "42669b6f915deb42", "parentSpanId": "4e30594a3d4708fc", "startTimeUnixNano": "1796072972681017494", "endTimeUnixNano": "1796072972681766546", "durationMs": 0.749052, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017593}}
{"type": "effect-span", "name": "sqlite", "traceId": "a05b4f5601a88b461e9e148b21003207", "spanId": "03bf0ba6624aa9bc", "parentSpanId": "4e30594a3d4708fc", "startTimeUnixNano": "1796072972681989365", "endTimeUnixNano": "1796072972682618782", "durationMs": 0.629417, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015199}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a05b4f5601a88b461e9e148b21003207", "spanId": "4e30594a3d4708fc", "parentSpanId": "53d0e1828d4a4049", "startTimeUnixNano": "1796072972679318943", "endTimeUnixNano": "1796072972682654719", "durationMs": 3.335776, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a05b4f5601a88b461e9e148b21003207", "spanId": "3593c304bc71cbec", "parentSpanId": "53d0e1828d4a4049", "startTimeUnixNano": "1796072972682666241", "endTimeUnixNano": "1796072972682927684", "durationMs": 0.261443, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a05b4f5601a88b461e9e148b21003207", "spanId": "53d0e1828d4a4049", "parentSpanId": "653a040a7a1b21a7", "startTimeUnixNano": "1796072972676216146", "endTimeUnixNano": "1796072972682960225", "durationMs": 6.744079, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.029224, "db.connection": "reader", "db.lock_wait_ms": 1.983}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a05b4f5601a88b461e9e148b21003207", "spanId": "653a040a7a1b21a7", "parentSpanId": "10e1f067d9425fad", "startTimeUnixNano": "1796072972676200577", "endTimeUnixNano": "1796072972682988789", "durationMs": 6.788212, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a05b4f5601a88b461e9e148b21003207", "spanId": "10e1f067d9425fad", "parentSpanId": "fac078f1c1df87a0", "startTimeUnixNano": "1796072972676145623", "endTimeUnixNano": "1796072972682996694", "durationMs": 6.851071, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a05b4f5601a88b461e9e148b21003207", "spanId": "fac078f1c1df87a0", "startTimeUnixNano": "1796072972676106740", "endTimeUnixNano": "1796072972683006813", "durationMs": 6.900073, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "33a2c4ad35707404a01d2b3b14d5ff2b", "spanId": "90e95dd6e8d6699d", "parentSpanId": "db621c444ac88c41", "startTimeUnixNano": "1796072972903889130", "endTimeUnixNano": "1796072972904111359", "durationMs": 0.222229, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "33a2c4ad35707404a01d2b3b14d5ff2b", "spanId": "d855d6ba131521f0", "parentSpanId": "67a8863bdca8573b", "startTimeUnixNano": "1796072972904174759", "endTimeUnixNano": "1796072972904470416", "durationMs": 0.295657, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007083}}
{"type": "effect-span", "name": "sqlite", "traceId": "33a2c4ad35707404a01d2b3b14d5ff2b", "spanId": "a1f574071daf5cf9", "parentSpanId": "67a8863bdca8573b", "startTimeUnixNano": "1796072972904586685", "endTimeUnixNano": "1796072972904932466", "durationMs": 0.345781, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012163}}
{"type": "effect-span", "name": "sqlite", "traceId": "33a2c4ad35707404a01d2b3b14d5ff2b", "spanId": "9c67602dd1bd468f", "parentSpanId": "67a8863bdca8573b", "startTimeUnixNano": "1796072972904960459", "endTimeUnixNano": "1796072972905452326", "durationMs": 0.491867, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013746}}
{"type": "effect-span", "name": "sqlite", "traceId": "33a2c4ad35707404a01d2b3b14d5ff2b", "spanId": "37905491229b42ae", "parentSpanId": "67a8863bdca8573b", "startTimeUnixNano": "1796072972905832993", "endTimeUnixNano": "1796072972906350458", "durationMs": 0.517465, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019257}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "33a2c4ad35707404a01d2b3b14d5ff2b", "spanId": "67a8863bdca8573b", "parentSpanId": "db621c444ac88c41", "startTimeUnixNano": "1796072972904163497", "endTimeUnixNano": "1796072972906383280", "durationMs": 2.219783, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "33a2c4ad35707404a01d2b3b14d5ff2b", "spanId": "2d8b0ffc689829fd", "parentSpanId": "db621c444ac88c41", "startTimeUnixNano": "1796072972906393520", "endTimeUnixNano": "1796072972906806017", "durationMs": 0.412497, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "33a2c4ad35707404a01d2b3b14d5ff2b", "spanId": "db621c444ac88c41", "parentSpanId": "b35f69d770f3a14d", "startTimeUnixNano": "1796072972901273191", "endTimeUnixNano": "1796072972906835282", "durationMs": 5.562091, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.611201, "db.connection": "reader", "db.lock_wait_ms": 2.554}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "33a2c4ad35707404a01d2b3b14d5ff2b", "spanId": "b35f69d770f3a14d", "parentSpanId": "39130d64c1978da9", "startTimeUnixNano": "1796072972901245469", "endTimeUnixNano": "1796072972906853827", "durationMs": 5.608358, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "33a2c4ad35707404a01d2b3b14d5ff2b", "spanId": "39130d64c1978da9", "parentSpanId": "89f4dac2043d201a", "startTimeUnixNano": "1796072972901161440", "endTimeUnixNano": "1796072972906860359", "durationMs": 5.698919, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "33a2c4ad35707404a01d2b3b14d5ff2b", "spanId": "89f4dac2043d201a", "startTimeUnixNano": "1796072972901132886", "endTimeUnixNano": "1796072972906870068", "durationMs": 5.737182, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ee6e849977e8a476f7ab4ce38d1639b3", "spanId": "d69c076ad32d56ef", "parentSpanId": "5b6da9aaeba3735e", "startTimeUnixNano": "1796072974251416053", "endTimeUnixNano": "1796072974253808291", "durationMs": 2.392238, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ee6e849977e8a476f7ab4ce38d1639b3", "spanId": "e0499b052f18508b", "parentSpanId": "052a17dd6ab6a79b", "startTimeUnixNano": "1796072974253876149", "endTimeUnixNano": "1796072974254987784", "durationMs": 1.111635, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007103}}
{"type": "effect-span", "name": "sqlite", "traceId": "ee6e849977e8a476f7ab4ce38d1639b3", "spanId": "6536a44cdebaac61", "parentSpanId": "052a17dd6ab6a79b", "startTimeUnixNano": "1796072974255223808", "endTimeUnixNano": "1796072974255962440", "durationMs": 0.738632, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019116}}
{"type": "effect-span", "name": "sqlite", "traceId": "ee6e849977e8a476f7ab4ce38d1639b3", "spanId": "5024bc8a43b76042", "parentSpanId": "052a17dd6ab6a79b", "startTimeUnixNano": "1796072974255979853", "endTimeUnixNano": "1796072974256578952", "durationMs": 0.599099, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011933}}
{"type": "effect-span", "name": "sqlite", "traceId": "ee6e849977e8a476f7ab4ce38d1639b3", "spanId": "13e7423dd2806c78", "parentSpanId": "052a17dd6ab6a79b", "startTimeUnixNano": "1796072974256829695", "endTimeUnixNano": "1796072974257375924", "durationMs": 0.546229, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014277}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ee6e849977e8a476f7ab4ce38d1639b3", "spanId": "052a17dd6ab6a79b", "parentSpanId": "5b6da9aaeba3735e", "startTimeUnixNano": "1796072974253862072", "endTimeUnixNano": "1796072974257416881", "durationMs": 3.554809, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ee6e849977e8a476f7ab4ce38d1639b3", "spanId": "336d6c966f9ed0e3", "parentSpanId": "5b6da9aaeba3735e", "startTimeUnixNano": "1796072974257457357", "endTimeUnixNano": "1796072974258305496", "durationMs": 0.848139, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ee6e849977e8a476f7ab4ce38d1639b3", "spanId": "5b6da9aaeba3735e", "parentSpanId": "adfdfd1121461be8", "startTimeUnixNano": "1796072974247890089", "endTimeUnixNano": "1796072974258344259", "durationMs": 10.45417, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.515134, "db.connection": "reader", "db.lock_wait_ms": 3.378}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ee6e849977e8a476f7ab4ce38d1639b3", "spanId": "adfdfd1121461be8", "parentSpanId": "cb940b516beb2556", "startTimeUnixNano": "1796072974247863959", "endTimeUnixNano": "1796072974258372602", "durationMs": 10.508643, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ee6e849977e8a476f7ab4ce38d1639b3", "spanId": "cb940b516beb2556", "parentSpanId": "891ab635432832b3", "startTimeUnixNano": "1796072974247762749", "endTimeUnixNano": "1796072974258382290", "durationMs": 10.619541, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ee6e849977e8a476f7ab4ce38d1639b3", "spanId": "891ab635432832b3", "startTimeUnixNano": "1796072974247730057", "endTimeUnixNano": "1796072974258396908", "durationMs": 10.666851, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4688f0a4d28f8b4890725be8cca41e24", "spanId": "4e60aec5968a4af6", "parentSpanId": "397b1dab3b9da6b6", "startTimeUnixNano": "1796072974473845146", "endTimeUnixNano": "1796072974474202880", "durationMs": 0.357734, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4688f0a4d28f8b4890725be8cca41e24", "spanId": "cdd28da92a89b000", "parentSpanId": "0f192856a57ed6c3", "startTimeUnixNano": "1796072974474317546", "endTimeUnixNano": "1796072974474992237", "durationMs": 0.674691, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013876}}
{"type": "effect-span", "name": "sqlite", "traceId": "4688f0a4d28f8b4890725be8cca41e24", "spanId": "8adda1a551463a29", "parentSpanId": "0f192856a57ed6c3", "startTimeUnixNano": "1796072974475149824", "endTimeUnixNano": "1796072974475574795", "durationMs": 0.424971, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.02632}}
{"type": "effect-span", "name": "sqlite", "traceId": "4688f0a4d28f8b4890725be8cca41e24", "spanId": "5fd9aa18f274bea0", "parentSpanId": "0f192856a57ed6c3", "startTimeUnixNano": "1796072974475624439", "endTimeUnixNano": "1796072974476482576", "durationMs": 0.858137, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.026129}}
{"type": "effect-span", "name": "sqlite", "traceId": "4688f0a4d28f8b4890725be8cca41e24", "spanId": "d25e160a89b73361", "parentSpanId": "0f192856a57ed6c3", "startTimeUnixNano": "1796072974476845069", "endTimeUnixNano": "1796072974477351874", "durationMs": 0.506805, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019116}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4688f0a4d28f8b4890725be8cca41e24", "spanId": "0f192856a57ed6c3", "parentSpanId": "397b1dab3b9da6b6", "startTimeUnixNano": "1796072974474300153", "endTimeUnixNano": "1796072974477412178", "durationMs": 3.112025, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4688f0a4d28f8b4890725be8cca41e24", "spanId": "32f59206dff99626", "parentSpanId": "397b1dab3b9da6b6", "startTimeUnixNano": "1796072974477444789", "endTimeUnixNano": "1796072974477871243", "durationMs": 0.426454, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4688f0a4d28f8b4890725be8cca41e24", "spanId": "397b1dab3b9da6b6", "parentSpanId": "41cf7375b15dade1", "startTimeUnixNano": "1796072974470682636", "endTimeUnixNano": "1796072974477926557", "durationMs": 7.243921, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.152631, "db.connection": "reader", "db.lock_wait_ms": 2.981}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4688f0a4d28f8b4890725be8cca41e24", "spanId": "41cf7375b15dade1", "parentSpanId": "2a69b5e409b99757", "startTimeUnixNano": "1796072974470632772", "endTimeUnixNano": "1796072974477966733", "durationMs": 7.333961, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4688f0a4d28f8b4890725be8cca41e24", "spanId": "2a69b5e409b99757", "parentSpanId": "28daa23040826674", "startTimeUnixNano": "1796072974470487098", "endTimeUnixNano": "1796072974477980478", "durationMs": 7.49338, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4688f0a4d28f8b4890725be8cca41e24", "spanId": "28daa23040826674", "startTimeUnixNano": "1796072974470387300", "endTimeUnixNano": "1796072974477999584", "durationMs": 7.612284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "740c6758cb8d435526fbf49e1e42cbd6", "spanId": "d8a330624206ac8d", "parentSpanId": "ca1dc031759897e5", "startTimeUnixNano": "1796072975672604929", "endTimeUnixNano": "1796072975673574456", "durationMs": 0.969527, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "740c6758cb8d435526fbf49e1e42cbd6", "spanId": "079a4ff95d559490", "parentSpanId": "a70386ba7260bdba", "startTimeUnixNano": "1796072975673651702", "endTimeUnixNano": "1796072975674575933", "durationMs": 0.924231, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01068}}
{"type": "effect-span", "name": "sqlite", "traceId": "740c6758cb8d435526fbf49e1e42cbd6", "spanId": "5c338160922b51a5", "parentSpanId": "a70386ba7260bdba", "startTimeUnixNano": "1796072975674677905", "endTimeUnixNano": "1796072975675451974", "durationMs": 0.774069, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011672}}
{"type": "effect-span", "name": "sqlite", "traceId": "740c6758cb8d435526fbf49e1e42cbd6", "spanId": "291db0a3b776413d", "parentSpanId": "a70386ba7260bdba", "startTimeUnixNano": "1796072975675516746", "endTimeUnixNano": "1796072975676194603", "durationMs": 0.677857, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.020699}}
{"type": "effect-span", "name": "sqlite", "traceId": "740c6758cb8d435526fbf49e1e42cbd6", "spanId": "2cab137dd587e9c8", "parentSpanId": "a70386ba7260bdba", "startTimeUnixNano": "1796072975676543311", "endTimeUnixNano": "1796072975677224705", "durationMs": 0.681394, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018885}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "740c6758cb8d435526fbf49e1e42cbd6", "spanId": "a70386ba7260bdba", "parentSpanId": "ca1dc031759897e5", "startTimeUnixNano": "1796072975673640520", "endTimeUnixNano": "1796072975677261173", "durationMs": 3.620653, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "740c6758cb8d435526fbf49e1e42cbd6", "spanId": "01e5a02976b29914", "parentSpanId": "ca1dc031759897e5", "startTimeUnixNano": "1796072975677273907", "endTimeUnixNano": "1796072975677861986", "durationMs": 0.588079, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "740c6758cb8d435526fbf49e1e42cbd6", "spanId": "ca1dc031759897e5", "parentSpanId": "d305454291b6c5ff", "startTimeUnixNano": "1796072975671060649", "endTimeUnixNano": "1796072975677882815", "durationMs": 6.822166, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.540813, "db.connection": "reader", "db.lock_wait_ms": 1.503}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "740c6758cb8d435526fbf49e1e42cbd6", "spanId": "d305454291b6c5ff", "parentSpanId": "b646fb7d97591ffe", "startTimeUnixNano": "1796072975671047123", "endTimeUnixNano": "1796072975677898254", "durationMs": 6.851131, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "740c6758cb8d435526fbf49e1e42cbd6", "spanId": "b646fb7d97591ffe", "parentSpanId": "edd539490def1c9a", "startTimeUnixNano": "1796072975671005345", "endTimeUnixNano": "1796072975677904015", "durationMs": 6.89867, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "740c6758cb8d435526fbf49e1e42cbd6", "spanId": "edd539490def1c9a", "startTimeUnixNano": "1796072975670989164", "endTimeUnixNano": "1796072975677912100", "durationMs": 6.922936, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "376675ef91ce43a88aa4315fed4f5018", "spanId": "c684268eba7c8b7c", "parentSpanId": "643cb670100e9a67", "startTimeUnixNano": "1796072975865641985", "endTimeUnixNano": "1796072975866023915", "durationMs": 0.38193, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "376675ef91ce43a88aa4315fed4f5018", "spanId": "b2dd9ebf84a0006c", "parentSpanId": "dd46c7912496b51e", "startTimeUnixNano": "1796072975866090510", "endTimeUnixNano": "1796072975866586074", "durationMs": 0.495564, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01049}}
{"type": "effect-span", "name": "sqlite", "traceId": "376675ef91ce43a88aa4315fed4f5018", "spanId": "6d55085012f92bf3", "parentSpanId": "dd46c7912496b51e", "startTimeUnixNano": "1796072975866690200", "endTimeUnixNano": "1796072975866930092", "durationMs": 0.239892, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014898}}
{"type": "effect-span", "name": "sqlite", "traceId": "376675ef91ce43a88aa4315fed4f5018", "spanId": "dfba23cd8e0af161", "parentSpanId": "dd46c7912496b51e", "startTimeUnixNano": "1796072975866941975", "endTimeUnixNano": "1796072975867446536", "durationMs": 0.504561, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008255}}
{"type": "effect-span", "name": "sqlite", "traceId": "376675ef91ce43a88aa4315fed4f5018", "spanId": "a1424f5403797809", "parentSpanId": "dd46c7912496b51e", "startTimeUnixNano": "1796072975867673123", "endTimeUnixNano": "1796072975867983197", "durationMs": 0.310074, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014767}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "376675ef91ce43a88aa4315fed4f5018", "spanId": "dd46c7912496b51e", "parentSpanId": "643cb670100e9a67", "startTimeUnixNano": "1796072975866076344", "endTimeUnixNano": "1796072975868018664", "durationMs": 1.94232, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "376675ef91ce43a88aa4315fed4f5018", "spanId": "c7080f67c21c6914", "parentSpanId": "643cb670100e9a67", "startTimeUnixNano": "1796072975868036407", "endTimeUnixNano": "1796072975868298211", "durationMs": 0.261804, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "376675ef91ce43a88aa4315fed4f5018", "spanId": "643cb670100e9a67", "parentSpanId": "0b1681c457ec6bd0", "startTimeUnixNano": "1796072975864370940", "endTimeUnixNano": "1796072975868329990", "durationMs": 3.95905, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.267769, "db.connection": "reader", "db.lock_wait_ms": 1.229}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "376675ef91ce43a88aa4315fed4f5018", "spanId": "0b1681c457ec6bd0", "parentSpanId": "02014740a43dc2e0", "startTimeUnixNano": "1796072975864356753", "endTimeUnixNano": "1796072975868353425", "durationMs": 3.996672, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "376675ef91ce43a88aa4315fed4f5018", "spanId": "02014740a43dc2e0", "parentSpanId": "126e4598523e681d", "startTimeUnixNano": "1796072975864313251", "endTimeUnixNano": "1796072975868359516", "durationMs": 4.046265, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "376675ef91ce43a88aa4315fed4f5018", "spanId": "126e4598523e681d", "startTimeUnixNano": "1796072975864296760", "endTimeUnixNano": "1796072975868367561", "durationMs": 4.070801, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "483ad682281967e43a33316a3bc49a4c", "spanId": "4f8e753a94d181ff", "parentSpanId": "06af79bd0aed8887", "startTimeUnixNano": "1796072977263546737", "endTimeUnixNano": "1796072977265473497", "durationMs": 1.92676, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "483ad682281967e43a33316a3bc49a4c", "spanId": "990cb09d5ae5cfab", "parentSpanId": "d3e2105aa486539f", "startTimeUnixNano": "1796072977265547878", "endTimeUnixNano": "1796072977266849000", "durationMs": 1.301122, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007444}}
{"type": "effect-span", "name": "sqlite", "traceId": "483ad682281967e43a33316a3bc49a4c", "spanId": "7c28487c73b3648a", "parentSpanId": "d3e2105aa486539f", "startTimeUnixNano": "1796072977267014211", "endTimeUnixNano": "1796072977267729779", "durationMs": 0.715568, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019276}}
{"type": "effect-span", "name": "sqlite", "traceId": "483ad682281967e43a33316a3bc49a4c", "spanId": "36503f15bcaa769f", "parentSpanId": "d3e2105aa486539f", "startTimeUnixNano": "1796072977267751510", "endTimeUnixNano": "1796072977268656766", "durationMs": 0.905256, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023585}}
{"type": "effect-span", "name": "sqlite", "traceId": "483ad682281967e43a33316a3bc49a4c", "spanId": "66c11a835ef6ceea", "parentSpanId": "d3e2105aa486539f", "startTimeUnixNano": "1796072977268953085", "endTimeUnixNano": "1796072977269349682", "durationMs": 0.396597, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015739}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "483ad682281967e43a33316a3bc49a4c", "spanId": "d3e2105aa486539f", "parentSpanId": "06af79bd0aed8887", "startTimeUnixNano": "1796072977265534462", "endTimeUnixNano": "1796072977269389307", "durationMs": 3.854845, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "483ad682281967e43a33316a3bc49a4c", "spanId": "d7fa68c8902d3cbb", "parentSpanId": "06af79bd0aed8887", "startTimeUnixNano": "1796072977269404776", "endTimeUnixNano": "1796072977269873439", "durationMs": 0.468663, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "483ad682281967e43a33316a3bc49a4c", "spanId": "06af79bd0aed8887", "parentSpanId": "a1d8e6c1c617c6c6", "startTimeUnixNano": "1796072977259732619", "endTimeUnixNano": "1796072977269904277", "durationMs": 10.171658, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.804039, "db.connection": "reader", "db.lock_wait_ms": 3.628}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "483ad682281967e43a33316a3bc49a4c", "spanId": "a1d8e6c1c617c6c6", "parentSpanId": "9593693752510a70", "startTimeUnixNano": "1796072977259697964", "endTimeUnixNano": "1796072977269926178", "durationMs": 10.228214, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "483ad682281967e43a33316a3bc49a4c", "spanId": "9593693752510a70", "parentSpanId": "255a443f2ca07392", "startTimeUnixNano": "1796072977259551848", "endTimeUnixNano": "1796072977269932671", "durationMs": 10.380823, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "483ad682281967e43a33316a3bc49a4c", "spanId": "255a443f2ca07392", "startTimeUnixNano": "1796072977259505321", "endTimeUnixNano": "1796072977269944843", "durationMs": 10.439522, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5a0288ba2a54c6f8a3bca779f68434b6", "spanId": "e068a8222223da35", "parentSpanId": "a20bfd4df84c06d5", "startTimeUnixNano": "1796072977506812956", "endTimeUnixNano": "1796072977506964872", "durationMs": 0.151916, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a0288ba2a54c6f8a3bca779f68434b6", "spanId": "67c03fbd82f9df9e", "parentSpanId": "8b96749e55f6e183", "startTimeUnixNano": "1796072977507016450", "endTimeUnixNano": "1796072977507373783", "durationMs": 0.357333, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006682}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a0288ba2a54c6f8a3bca779f68434b6", "spanId": "6f83a0721cbe5680", "parentSpanId": "8b96749e55f6e183", "startTimeUnixNano": "1796072977507467069", "endTimeUnixNano": "1796072977507738180", "durationMs": 0.271111, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01087}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a0288ba2a54c6f8a3bca779f68434b6", "spanId": "9fccbd5b93dfd86e", "parentSpanId": "8b96749e55f6e183", "startTimeUnixNano": "1796072977507755352", "endTimeUnixNano": "1796072977508192426", "durationMs": 0.437074, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007725}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a0288ba2a54c6f8a3bca779f68434b6", "spanId": "87af2bcbcb4bd12f", "parentSpanId": "8b96749e55f6e183", "startTimeUnixNano": "1796072977508417720", "endTimeUnixNano": "1796072977508848833", "durationMs": 0.431113, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011472}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5a0288ba2a54c6f8a3bca779f68434b6", "spanId": "8b96749e55f6e183", "parentSpanId": "a20bfd4df84c06d5", "startTimeUnixNano": "1796072977507007583", "endTimeUnixNano": "1796072977508885712", "durationMs": 1.878129, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5a0288ba2a54c6f8a3bca779f68434b6", "spanId": "06f268cb915c1d21", "parentSpanId": "a20bfd4df84c06d5", "startTimeUnixNano": "1796072977508899689", "endTimeUnixNano": "1796072977509332815", "durationMs": 0.433126, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5a0288ba2a54c6f8a3bca779f68434b6", "spanId": "a20bfd4df84c06d5", "parentSpanId": "b7e31149032638d4", "startTimeUnixNano": "1796072977505376980", "endTimeUnixNano": "1796072977509373361", "durationMs": 3.996381, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.431738, "db.connection": "reader", "db.lock_wait_ms": 1.389}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5a0288ba2a54c6f8a3bca779f68434b6", "spanId": "b7e31149032638d4", "parentSpanId": "c051cce237daaf1b", "startTimeUnixNano": "1796072977505361000", "endTimeUnixNano": "1796072977509397447", "durationMs": 4.036447, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5a0288ba2a54c6f8a3bca779f68434b6", "spanId": "c051cce237daaf1b", "parentSpanId": "c56dfcbba383bccb", "startTimeUnixNano": "1796072977505315184", "endTimeUnixNano": "1796072977509405622", "durationMs": 4.090438, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5a0288ba2a54c6f8a3bca779f68434b6", "spanId": "c56dfcbba383bccb", "startTimeUnixNano": "1796072977505291920", "endTimeUnixNano": "1796072977509421251", "durationMs": 4.129331, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "71afa3846b9a762cd75b3fc5c7c74aa9", "spanId": "ec4823d65a2ce5c0", "parentSpanId": "60b5428df5d8dce7", "startTimeUnixNano": "1796072978992199514", "endTimeUnixNano": "1796072978993963068", "durationMs": 1.763554, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "71afa3846b9a762cd75b3fc5c7c74aa9", "spanId": "2d8190ad356d41fc", "parentSpanId": "5dd19393f606da55", "startTimeUnixNano": "1796072978994050352", "endTimeUnixNano": "1796072978995067279", "durationMs": 1.016927, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.016201}}
{"type": "effect-span", "name": "sqlite", "traceId": "71afa3846b9a762cd75b3fc5c7c74aa9", "spanId": "efe30d9064197e33", "parentSpanId": "5dd19393f606da55", "startTimeUnixNano": "1796072978995165724", "endTimeUnixNano": "1796072978995714558", "durationMs": 0.548834, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012424}}
{"type": "effect-span", "name": "sqlite", "traceId": "71afa3846b9a762cd75b3fc5c7c74aa9", "spanId": "b7672bf5e703e1ab", "parentSpanId": "5dd19393f606da55", "startTimeUnixNano": "1796072978995727873", "endTimeUnixNano": "1796072978996163304", "durationMs": 0.435431, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013877}}
{"type": "effect-span", "name": "sqlite", "traceId": "71afa3846b9a762cd75b3fc5c7c74aa9", "spanId": "6365d25cf2c415ef", "parentSpanId": "5dd19393f606da55", "startTimeUnixNano": "1796072978996563949", "endTimeUnixNano": "1796072978996971437", "durationMs": 0.407488, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017954}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "71afa3846b9a762cd75b3fc5c7c74aa9", "spanId": "5dd19393f606da55", "parentSpanId": "60b5428df5d8dce7", "startTimeUnixNano": "1796072978994033631", "endTimeUnixNano": "1796072978997004098", "durationMs": 2.970467, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "71afa3846b9a762cd75b3fc5c7c74aa9", "spanId": "ab2de57400ba494b", "parentSpanId": "60b5428df5d8dce7", "startTimeUnixNano": "1796072978997013416", "endTimeUnixNano": "1796072978997512056", "durationMs": 0.49864, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "71afa3846b9a762cd75b3fc5c7c74aa9", "spanId": "60b5428df5d8dce7", "parentSpanId": "9da521ebb6f702cb", "startTimeUnixNano": "1796072978988880229", "endTimeUnixNano": "1796072978997537464", "durationMs": 8.657235, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.306311, "db.connection": "reader", "db.lock_wait_ms": 3.198}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "71afa3846b9a762cd75b3fc5c7c74aa9", "spanId": "9da521ebb6f702cb", "parentSpanId": "d2a34b3bf9a843de", "startTimeUnixNano": "1796072978988849151", "endTimeUnixNano": "1796072978997563713", "durationMs": 8.714562, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "71afa3846b9a762cd75b3fc5c7c74aa9", "spanId": "d2a34b3bf9a843de", "parentSpanId": "c7f034221c242ca9", "startTimeUnixNano": "1796072978988749623", "endTimeUnixNano": "1796072978997574363", "durationMs": 8.82474, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "71afa3846b9a762cd75b3fc5c7c74aa9", "spanId": "c7f034221c242ca9", "startTimeUnixNano": "1796072978988700320", "endTimeUnixNano": "1796072978997587518", "durationMs": 8.887198, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "83c9a2f25c764631b394f1ba055b3965", "spanId": "cdcebcb49a41c1dc", "parentSpanId": "d892f7b25ba48584", "startTimeUnixNano": "1796072979301468062", "endTimeUnixNano": "1796072979301664482", "durationMs": 0.19642, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "83c9a2f25c764631b394f1ba055b3965", "spanId": "d167a7210349b640", "parentSpanId": "62b37954a7a0c3bd", "startTimeUnixNano": "1796072979301725387", "endTimeUnixNano": "1796072979301878265", "durationMs": 0.152878, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006783}}
{"type": "effect-span", "name": "sqlite", "traceId": "83c9a2f25c764631b394f1ba055b3965", "spanId": "e59e721f37a9cade", "parentSpanId": "62b37954a7a0c3bd", "startTimeUnixNano": "1796072979302079665", "endTimeUnixNano": "1796072979302371384", "durationMs": 0.291719, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019036}}
{"type": "effect-span", "name": "sqlite", "traceId": "83c9a2f25c764631b394f1ba055b3965", "spanId": "7be74df83862136b", "parentSpanId": "62b37954a7a0c3bd", "startTimeUnixNano": "1796072979302397223", "endTimeUnixNano": "1796072979304112536", "durationMs": 1.715313, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011963}}
{"type": "effect-span", "name": "sqlite", "traceId": "83c9a2f25c764631b394f1ba055b3965", "spanId": "de1c73f483c5ac97", "parentSpanId": "62b37954a7a0c3bd", "startTimeUnixNano": "1796072979304495437", "endTimeUnixNano": "1796072979305094246", "durationMs": 0.598809, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014898}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "83c9a2f25c764631b394f1ba055b3965", "spanId": "62b37954a7a0c3bd", "parentSpanId": "d892f7b25ba48584", "startTimeUnixNano": "1796072979301716180", "endTimeUnixNano": "1796072979305139030", "durationMs": 3.42285, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "83c9a2f25c764631b394f1ba055b3965", "spanId": "7fa3ac2e2d182096", "parentSpanId": "d892f7b25ba48584", "startTimeUnixNano": "1796072979305152806", "endTimeUnixNano": "1796072979306119147", "durationMs": 0.966341, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "83c9a2f25c764631b394f1ba055b3965", "spanId": "d892f7b25ba48584", "parentSpanId": "2ba87bdf4b6a4994", "startTimeUnixNano": "1796072979299382252", "endTimeUnixNano": "1796072979306154924", "durationMs": 6.772672, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.078717, "db.connection": "reader", "db.lock_wait_ms": 1.978}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "83c9a2f25c764631b394f1ba055b3965", "spanId": "2ba87bdf4b6a4994", "parentSpanId": "0b998773fc469013", "startTimeUnixNano": "1796072979299354870", "endTimeUnixNano": "1796072979306187766", "durationMs": 6.832896, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "83c9a2f25c764631b394f1ba055b3965", "spanId": "0b998773fc469013", "parentSpanId": "13d38ad60eb980d4", "startTimeUnixNano": "1796072979299291100", "endTimeUnixNano": "1796072979306209678", "durationMs": 6.918578, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "83c9a2f25c764631b394f1ba055b3965", "spanId": "13d38ad60eb980d4", "startTimeUnixNano": "1796072979299263257", "endTimeUnixNano": "1796072979306229785", "durationMs": 6.966528, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1ab1526f8390e6aa6c5245c7a8223c7f", "spanId": "5e8398f3d38d014a", "parentSpanId": "292a699b9cf7af83", "startTimeUnixNano": "1796072980727365139", "endTimeUnixNano": "1796072980727758451", "durationMs": 0.393312, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ab1526f8390e6aa6c5245c7a8223c7f", "spanId": "c0ad63990e943895", "parentSpanId": "6d9ce3f0e8f2bf25", "startTimeUnixNano": "1796072980727799809", "endTimeUnixNano": "1796072980728770267", "durationMs": 0.970458, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008195}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ab1526f8390e6aa6c5245c7a8223c7f", "spanId": "d15395ae2a2f5d4f", "parentSpanId": "6d9ce3f0e8f2bf25", "startTimeUnixNano": "1796072980728922414", "endTimeUnixNano": "1796072980729532123", "durationMs": 0.609709, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.024777}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ab1526f8390e6aa6c5245c7a8223c7f", "spanId": "612bc21cbf8f6596", "parentSpanId": "6d9ce3f0e8f2bf25", "startTimeUnixNano": "1796072980729571317", "endTimeUnixNano": "1796072980730181106", "durationMs": 0.609789, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.021761}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ab1526f8390e6aa6c5245c7a8223c7f", "spanId": "95c3372be3a9f016", "parentSpanId": "6d9ce3f0e8f2bf25", "startTimeUnixNano": "1796072980730466003", "endTimeUnixNano": "1796072980730815912", "durationMs": 0.349909, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013375}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1ab1526f8390e6aa6c5245c7a8223c7f", "spanId": "6d9ce3f0e8f2bf25", "parentSpanId": "292a699b9cf7af83", "startTimeUnixNano": "1796072980727790361", "endTimeUnixNano": "1796072980730848804", "durationMs": 3.058443, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1ab1526f8390e6aa6c5245c7a8223c7f", "spanId": "5a107fd83bc0c7e3", "parentSpanId": "292a699b9cf7af83", "startTimeUnixNano": "1796072980730857911", "endTimeUnixNano": "1796072980731239761", "durationMs": 0.38185, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1ab1526f8390e6aa6c5245c7a8223c7f", "spanId": "292a699b9cf7af83", "parentSpanId": "6f33a1b44a1187d2", "startTimeUnixNano": "1796072980723706265", "endTimeUnixNano": "1796072980731267714", "durationMs": 7.561449, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.654957, "db.connection": "reader", "db.lock_wait_ms": 3.602}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1ab1526f8390e6aa6c5245c7a8223c7f", "spanId": "6f33a1b44a1187d2", "parentSpanId": "30cb75f9b3f59868", "startTimeUnixNano": "1796072980723687930", "endTimeUnixNano": "1796072980731283694", "durationMs": 7.595764, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1ab1526f8390e6aa6c5245c7a8223c7f", "spanId": "30cb75f9b3f59868", "parentSpanId": "a6020996f8814835", "startTimeUnixNano": "1796072980723620503", "endTimeUnixNano": "1796072980731291428", "durationMs": 7.670925, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1ab1526f8390e6aa6c5245c7a8223c7f", "spanId": "a6020996f8814835", "startTimeUnixNano": "1796072980723589384", "endTimeUnixNano": "1796072980731302209", "durationMs": 7.712825, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bcbe72e95a3d3aa0e9b9e758ef663ec0", "spanId": "5b25f9181a68cb87", "parentSpanId": "3dae8650a6302708", "startTimeUnixNano": "1796072980994558640", "endTimeUnixNano": "1796072980995368606", "durationMs": 0.809966, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bcbe72e95a3d3aa0e9b9e758ef663ec0", "spanId": "d6922de941f665e0", "parentSpanId": "b28c2b0a8463b71a", "startTimeUnixNano": "1796072980995461401", "endTimeUnixNano": "1796072980996146382", "durationMs": 0.684981, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008787}}
{"type": "effect-span", "name": "sqlite", "traceId": "bcbe72e95a3d3aa0e9b9e758ef663ec0", "spanId": "3fe113f6938068fe", "parentSpanId": "b28c2b0a8463b71a", "startTimeUnixNano": "1796072980996292477", "endTimeUnixNano": "1796072980996674728", "durationMs": 0.382251, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018255}}
{"type": "effect-span", "name": "sqlite", "traceId": "bcbe72e95a3d3aa0e9b9e758ef663ec0", "spanId": "42f2c8585e03ffad", "parentSpanId": "b28c2b0a8463b71a", "startTimeUnixNano": "1796072980996698412", "endTimeUnixNano": "1796072980997413660", "durationMs": 0.715248, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013345}}
{"type": "effect-span", "name": "sqlite", "traceId": "bcbe72e95a3d3aa0e9b9e758ef663ec0", "spanId": "e5a6ed168dd5b985", "parentSpanId": "b28c2b0a8463b71a", "startTimeUnixNano": "1796072980997903493", "endTimeUnixNano": "1796072980998486141", "durationMs": 0.582648, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021851}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bcbe72e95a3d3aa0e9b9e758ef663ec0", "spanId": "b28c2b0a8463b71a", "parentSpanId": "3dae8650a6302708", "startTimeUnixNano": "1796072980995447695", "endTimeUnixNano": "1796072980998546114", "durationMs": 3.098419, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bcbe72e95a3d3aa0e9b9e758ef663ec0", "spanId": "8ee70880bf3e4b57", "parentSpanId": "3dae8650a6302708", "startTimeUnixNano": "1796072980998567134", "endTimeUnixNano": "1796072980998996413", "durationMs": 0.429279, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bcbe72e95a3d3aa0e9b9e758ef663ec0", "spanId": "3dae8650a6302708", "parentSpanId": "7deb36b2140712ad", "startTimeUnixNano": "1796072980992320983", "endTimeUnixNano": "1796072980999031649", "durationMs": 6.710666, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.228289, "db.connection": "reader", "db.lock_wait_ms": 2.13}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bcbe72e95a3d3aa0e9b9e758ef663ec0", "spanId": "7deb36b2140712ad", "parentSpanId": "34d9fb5f18906bae", "startTimeUnixNano": "1796072980992296156", "endTimeUnixNano": "1796072980999060053", "durationMs": 6.763897, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bcbe72e95a3d3aa0e9b9e758ef663ec0", "spanId": "34d9fb5f18906bae", "parentSpanId": "4096c94d925aeb1e", "startTimeUnixNano": "1796072980992224431", "endTimeUnixNano": "1796072980999070843", "durationMs": 6.846412, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bcbe72e95a3d3aa0e9b9e758ef663ec0", "spanId": "4096c94d925aeb1e", "startTimeUnixNano": "1796072980992185157", "endTimeUnixNano": "1796072980999088777", "durationMs": 6.90362, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2379f32582240f912d52f27a6fc09e50", "spanId": "f31917755644cb20", "parentSpanId": "d9526fe77fc67d57", "startTimeUnixNano": "1796072982619878882", "endTimeUnixNano": "1796072982621345586", "durationMs": 1.466704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2379f32582240f912d52f27a6fc09e50", "spanId": "f11a14c5e876c27c", "parentSpanId": "f429abe54aa3c442", "startTimeUnixNano": "1796072982621390671", "endTimeUnixNano": "1796072982622242476", "durationMs": 0.851805, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007083}}
{"type": "effect-span", "name": "sqlite", "traceId": "2379f32582240f912d52f27a6fc09e50", "spanId": "0a93c3e5627542f6", "parentSpanId": "f429abe54aa3c442", "startTimeUnixNano": "1796072982622376258", "endTimeUnixNano": "1796072982622768978", "durationMs": 0.39272, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016962}}
{"type": "effect-span", "name": "sqlite", "traceId": "2379f32582240f912d52f27a6fc09e50", "spanId": "5eea738e4d34a4b6", "parentSpanId": "f429abe54aa3c442", "startTimeUnixNano": "1796072982622788364", "endTimeUnixNano": "1796072982623237130", "durationMs": 0.448766, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009288}}
{"type": "effect-span", "name": "sqlite", "traceId": "2379f32582240f912d52f27a6fc09e50", "spanId": "0dfc4f6cbdedbecd", "parentSpanId": "f429abe54aa3c442", "startTimeUnixNano": "1796072982623540101", "endTimeUnixNano": "1796072982623973097", "durationMs": 0.432996, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013736}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2379f32582240f912d52f27a6fc09e50", "spanId": "f429abe54aa3c442", "parentSpanId": "d9526fe77fc67d57", "startTimeUnixNano": "1796072982621381303", "endTimeUnixNano": "1796072982624019464", "durationMs": 2.638161, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2379f32582240f912d52f27a6fc09e50", "spanId": "69a9e951baa165a5", "parentSpanId": "d9526fe77fc67d57", "startTimeUnixNano": "1796072982624034342", "endTimeUnixNano": "1796072982624759078", "durationMs": 0.724736, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2379f32582240f912d52f27a6fc09e50", "spanId": "d9526fe77fc67d57", "parentSpanId": "471f0dd62c10f101", "startTimeUnixNano": "1796072982617301976", "endTimeUnixNano": "1796072982624821466", "durationMs": 7.51949, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.566456, "db.connection": "reader", "db.lock_wait_ms": 2.508}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2379f32582240f912d52f27a6fc09e50", "spanId": "471f0dd62c10f101", "parentSpanId": "0b4e8f6d4253eac1", "startTimeUnixNano": "1796072982617284543", "endTimeUnixNano": "1796072982624844259", "durationMs": 7.559716, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2379f32582240f912d52f27a6fc09e50", "spanId": "0b4e8f6d4253eac1", "parentSpanId": "4f6a08e258527dce", "startTimeUnixNano": "1796072982617232224", "endTimeUnixNano": "1796072982624852204", "durationMs": 7.61998, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2379f32582240f912d52f27a6fc09e50", "spanId": "4f6a08e258527dce", "startTimeUnixNano": "1796072982617200204", "endTimeUnixNano": "1796072982624864006", "durationMs": 7.663802, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "777fb72569818fb744d8cdaaeb380a1f", "spanId": "30be426d8e19e943", "parentSpanId": "f5b3766662f97967", "startTimeUnixNano": "1796072982911728345", "endTimeUnixNano": "1796072982913322620", "durationMs": 1.594275, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "777fb72569818fb744d8cdaaeb380a1f", "spanId": "871ba8c1c3229c77", "parentSpanId": "a02edcaa8801e84b", "startTimeUnixNano": "1796072982913494834", "endTimeUnixNano": "1796072982914625144", "durationMs": 1.13031, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.021551}}
{"type": "effect-span", "name": "sqlite", "traceId": "777fb72569818fb744d8cdaaeb380a1f", "spanId": "2142d6d56e1e1198", "parentSpanId": "a02edcaa8801e84b", "startTimeUnixNano": "1796072982914852563", "endTimeUnixNano": "1796072982915344289", "durationMs": 0.491726, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.031028}}
{"type": "effect-span", "name": "sqlite", "traceId": "777fb72569818fb744d8cdaaeb380a1f", "spanId": "095a3cea6cf13c51", "parentSpanId": "a02edcaa8801e84b", "startTimeUnixNano": "1796072982915380277", "endTimeUnixNano": "1796072982916531296", "durationMs": 1.151019, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023735}}
{"type": "effect-span", "name": "sqlite", "traceId": "777fb72569818fb744d8cdaaeb380a1f", "spanId": "15dc747d5f895590", "parentSpanId": "a02edcaa8801e84b", "startTimeUnixNano": "1796072982917192302", "endTimeUnixNano": "1796072982917962172", "durationMs": 0.76987, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023815}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "777fb72569818fb744d8cdaaeb380a1f", "spanId": "a02edcaa8801e84b", "parentSpanId": "f5b3766662f97967", "startTimeUnixNano": "1796072982913469106", "endTimeUnixNano": "1796072982918033938", "durationMs": 4.564832, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "777fb72569818fb744d8cdaaeb380a1f", "spanId": "e0bcf64417b9f078", "parentSpanId": "f5b3766662f97967", "startTimeUnixNano": "1796072982918063002", "endTimeUnixNano": "1796072982918523510", "durationMs": 0.460508, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "777fb72569818fb744d8cdaaeb380a1f", "spanId": "f5b3766662f97967", "parentSpanId": "1b2b72f3c367a4a7", "startTimeUnixNano": "1796072982907770717", "endTimeUnixNano": "1796072982918572573", "durationMs": 10.801856, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.93763, "db.connection": "reader", "db.lock_wait_ms": 3.714}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "777fb72569818fb744d8cdaaeb380a1f", "spanId": "1b2b72f3c367a4a7", "parentSpanId": "f1e9109692977327", "startTimeUnixNano": "1796072982907718198", "endTimeUnixNano": "1796072982918623819", "durationMs": 10.905621, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "777fb72569818fb744d8cdaaeb380a1f", "spanId": "f1e9109692977327", "parentSpanId": "93eb0e55e2003630", "startTimeUnixNano": "1796072982907559419", "endTimeUnixNano": "1796072982918640972", "durationMs": 11.081553, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "777fb72569818fb744d8cdaaeb380a1f", "spanId": "93eb0e55e2003630", "startTimeUnixNano": "1796072982907496871", "endTimeUnixNano": "1796072982918669435", "durationMs": 11.172564, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9edb3e7b1ac01ab01734b8365186c9b1", "spanId": "d99903b1e6ba545c", "parentSpanId": "3366ac51434e695c", "startTimeUnixNano": "1796072984631918438", "endTimeUnixNano": "1796072984634390947", "durationMs": 2.472509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9edb3e7b1ac01ab01734b8365186c9b1", "spanId": "ec307edf68a84336", "parentSpanId": "42b7eea09f231f69", "startTimeUnixNano": "1796072984634541601", "endTimeUnixNano": "1796072984636650976", "durationMs": 2.109375, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.017493}}
{"type": "effect-span", "name": "sqlite", "traceId": "9edb3e7b1ac01ab01734b8365186c9b1", "spanId": "9084e2ed8a338d29", "parentSpanId": "42b7eea09f231f69", "startTimeUnixNano": "1796072984636908742", "endTimeUnixNano": "1796072984638021739", "durationMs": 1.112997, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.02118}}
{"type": "effect-span", "name": "sqlite", "traceId": "9edb3e7b1ac01ab01734b8365186c9b1", "spanId": "cc172b35dfc10879", "parentSpanId": "42b7eea09f231f69", "startTimeUnixNano": "1796072984638045564", "endTimeUnixNano": "1796072984639477483", "durationMs": 1.431919, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018145}}
{"type": "effect-span", "name": "sqlite", "traceId": "9edb3e7b1ac01ab01734b8365186c9b1", "spanId": "1240768d91ac5647", "parentSpanId": "42b7eea09f231f69", "startTimeUnixNano": "1796072984639970111", "endTimeUnixNano": "1796072984640834069", "durationMs": 0.863958, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025348}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9edb3e7b1ac01ab01734b8365186c9b1", "spanId": "42b7eea09f231f69", "parentSpanId": "3366ac51434e695c", "startTimeUnixNano": "1796072984634517766", "endTimeUnixNano": "1796072984640899302", "durationMs": 6.381536, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9edb3e7b1ac01ab01734b8365186c9b1", "spanId": "90933a92506985b8", "parentSpanId": "3366ac51434e695c", "startTimeUnixNano": "1796072984640916915", "endTimeUnixNano": "1796072984641910287", "durationMs": 0.993372, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9edb3e7b1ac01ab01734b8365186c9b1", "spanId": "3366ac51434e695c", "parentSpanId": "c6003349223840ff", "startTimeUnixNano": "1796072984627417867", "endTimeUnixNano": "1796072984641986220", "durationMs": 14.568353, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.488278, "db.connection": "reader", "db.lock_wait_ms": 4.289}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9edb3e7b1ac01ab01734b8365186c9b1", "spanId": "c6003349223840ff", "parentSpanId": "b82c10fc46eb253e", "startTimeUnixNano": "1796072984627371239", "endTimeUnixNano": "1796072984642017740", "durationMs": 14.646501, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9edb3e7b1ac01ab01734b8365186c9b1", "spanId": "b82c10fc46eb253e", "parentSpanId": "1190b634ece86c99", "startTimeUnixNano": "1796072984627263686", "endTimeUnixNano": "1796072984642029191", "durationMs": 14.765505, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9edb3e7b1ac01ab01734b8365186c9b1", "spanId": "1190b634ece86c99", "startTimeUnixNano": "1796072984627182834", "endTimeUnixNano": "1796072984642048027", "durationMs": 14.865193, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5a1594cfa2f2a13d340888258b218c2c", "spanId": "399cb5ddc4f47836", "parentSpanId": "c479c653daf65700", "startTimeUnixNano": "1796072984938375209", "endTimeUnixNano": "1796072984938715931", "durationMs": 0.340722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a1594cfa2f2a13d340888258b218c2c", "spanId": "a69f16bafc8256da", "parentSpanId": "eceb5e0af1a8a8df", "startTimeUnixNano": "1796072984938782877", "endTimeUnixNano": "1796072984939139239", "durationMs": 0.356362, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014057}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a1594cfa2f2a13d340888258b218c2c", "spanId": "630052a82594d031", "parentSpanId": "eceb5e0af1a8a8df", "startTimeUnixNano": "1796072984939273632", "endTimeUnixNano": "1796072984939581983", "durationMs": 0.308351, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019387}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a1594cfa2f2a13d340888258b218c2c", "spanId": "7a8d8a88b23e8617", "parentSpanId": "eceb5e0af1a8a8df", "startTimeUnixNano": "1796072984939608874", "endTimeUnixNano": "1796072984939984311", "durationMs": 0.375437, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017012}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a1594cfa2f2a13d340888258b218c2c", "spanId": "48b999e2aa21c9fc", "parentSpanId": "eceb5e0af1a8a8df", "startTimeUnixNano": "1796072984940720819", "endTimeUnixNano": "1796072984941048427", "durationMs": 0.327608, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023445}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5a1594cfa2f2a13d340888258b218c2c", "spanId": "eceb5e0af1a8a8df", "parentSpanId": "c479c653daf65700", "startTimeUnixNano": "1796072984938771476", "endTimeUnixNano": "1796072984941104823", "durationMs": 2.333347, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5a1594cfa2f2a13d340888258b218c2c", "spanId": "6890b4e5156d80d8", "parentSpanId": "c479c653daf65700", "startTimeUnixNano": "1796072984941117136", "endTimeUnixNano": "1796072984941676671", "durationMs": 0.559535, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5a1594cfa2f2a13d340888258b218c2c", "spanId": "c479c653daf65700", "parentSpanId": "a9b5066f6819a9ae", "startTimeUnixNano": "1796072984935973283", "endTimeUnixNano": "1796072984941707459", "durationMs": 5.734176, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.394612, "db.connection": "reader", "db.lock_wait_ms": 2.31}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5a1594cfa2f2a13d340888258b218c2c", "spanId": "a9b5066f6819a9ae", "parentSpanId": "96f5467f2db3445b", "startTimeUnixNano": "1796072984935939870", "endTimeUnixNano": "1796072984941728478", "durationMs": 5.788608, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5a1594cfa2f2a13d340888258b218c2c", "spanId": "96f5467f2db3445b", "parentSpanId": "6602e95d583057b9", "startTimeUnixNano": "1796072984935868766", "endTimeUnixNano": "1796072984941735672", "durationMs": 5.866906, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5a1594cfa2f2a13d340888258b218c2c", "spanId": "6602e95d583057b9", "startTimeUnixNano": "1796072984935839861", "endTimeUnixNano": "1796072984941755349", "durationMs": 5.915488, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2edf9f15a5e463b6432709c852e5198d", "spanId": "ae343d7d34393560", "parentSpanId": "efb6722589255216", "startTimeUnixNano": "1796072986372612373", "endTimeUnixNano": "1796072986373342138", "durationMs": 0.729765, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2edf9f15a5e463b6432709c852e5198d", "spanId": "aa8f257628688288", "parentSpanId": "ccb33a8dc642465b", "startTimeUnixNano": "1796072986373491058", "endTimeUnixNano": "1796072986375485988", "durationMs": 1.99493, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014959}}
{"type": "effect-span", "name": "sqlite", "traceId": "2edf9f15a5e463b6432709c852e5198d", "spanId": "7a781e5235764a02", "parentSpanId": "ccb33a8dc642465b", "startTimeUnixNano": "1796072986375735919", "endTimeUnixNano": "1796072986376267310", "durationMs": 0.531391, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.027371}}
{"type": "effect-span", "name": "sqlite", "traceId": "2edf9f15a5e463b6432709c852e5198d", "spanId": "3e3d776e21edaf1a", "parentSpanId": "ccb33a8dc642465b", "startTimeUnixNano": "1796072986376295503", "endTimeUnixNano": "1796072986377206420", "durationMs": 0.910917, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011412}}
{"type": "effect-span", "name": "sqlite", "traceId": "2edf9f15a5e463b6432709c852e5198d", "spanId": "5152e4a269f4df7d", "parentSpanId": "ccb33a8dc642465b", "startTimeUnixNano": "1796072986377802493", "endTimeUnixNano": "1796072986378748836", "durationMs": 0.946343, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020909}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2edf9f15a5e463b6432709c852e5198d", "spanId": "ccb33a8dc642465b", "parentSpanId": "efb6722589255216", "startTimeUnixNano": "1796072986373467765", "endTimeUnixNano": "1796072986378821052", "durationMs": 5.353287, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2edf9f15a5e463b6432709c852e5198d", "spanId": "cb58c55b8c78db0b", "parentSpanId": "efb6722589255216", "startTimeUnixNano": "1796072986378839738", "endTimeUnixNano": "1796072986379659503", "durationMs": 0.819765, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2edf9f15a5e463b6432709c852e5198d", "spanId": "efb6722589255216", "parentSpanId": "18ff09035b7e679d", "startTimeUnixNano": "1796072986365173134", "endTimeUnixNano": "1796072986379703255", "durationMs": 14.530121, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 7.426485, "db.connection": "reader", "db.lock_wait_ms": 7.224}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2edf9f15a5e463b6432709c852e5198d", "spanId": "18ff09035b7e679d", "parentSpanId": "0a9ec0d7f75e1f7f", "startTimeUnixNano": "1796072986365134791", "endTimeUnixNano": "1796072986379735937", "durationMs": 14.601146, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2edf9f15a5e463b6432709c852e5198d", "spanId": "0a9ec0d7f75e1f7f", "parentSpanId": "5742ef3bb05d99bd", "startTimeUnixNano": "1796072986365028181", "endTimeUnixNano": "1796072986379746026", "durationMs": 14.717845, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2edf9f15a5e463b6432709c852e5198d", "spanId": "5742ef3bb05d99bd", "startTimeUnixNano": "1796072986364977455", "endTimeUnixNano": "1796072986379767175", "durationMs": 14.78972, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "aed38b5df093b7868184d5807e813822", "spanId": "5d95662321bd1c10", "parentSpanId": "83b5e772a385ae03", "startTimeUnixNano": "1796072986734381448", "endTimeUnixNano": "1796072986734728201", "durationMs": 0.346753, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "aed38b5df093b7868184d5807e813822", "spanId": "7dfc4fb53340f149", "parentSpanId": "171de4bfae48ec50", "startTimeUnixNano": "1796072986734781572", "endTimeUnixNano": "1796072986735217804", "durationMs": 0.436232, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007243}}
{"type": "effect-span", "name": "sqlite", "traceId": "aed38b5df093b7868184d5807e813822", "spanId": "db25854df766935b", "parentSpanId": "171de4bfae48ec50", "startTimeUnixNano": "1796072986735359070", "endTimeUnixNano": "1796072986736118982", "durationMs": 0.759912, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017172}}
{"type": "effect-span", "name": "sqlite", "traceId": "aed38b5df093b7868184d5807e813822", "spanId": "1dda4d78382333f9", "parentSpanId": "171de4bfae48ec50", "startTimeUnixNano": "1796072986736167393", "endTimeUnixNano": "1796072986737137631", "durationMs": 0.970238, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023534}}
{"type": "effect-span", "name": "sqlite", "traceId": "aed38b5df093b7868184d5807e813822", "spanId": "c203b07e71726a58", "parentSpanId": "171de4bfae48ec50", "startTimeUnixNano": "1796072986737865703", "endTimeUnixNano": "1796072986738273772", "durationMs": 0.408069, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025859}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "aed38b5df093b7868184d5807e813822", "spanId": "171de4bfae48ec50", "parentSpanId": "83b5e772a385ae03", "startTimeUnixNano": "1796072986734767004", "endTimeUnixNano": "1796072986738337833", "durationMs": 3.570829, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "aed38b5df093b7868184d5807e813822", "spanId": "ee537c39f8f9232f", "parentSpanId": "83b5e772a385ae03", "startTimeUnixNano": "1796072986738369423", "endTimeUnixNano": "1796072986738612591", "durationMs": 0.243168, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "aed38b5df093b7868184d5807e813822", "spanId": "83b5e772a385ae03", "parentSpanId": "23cc933cdeec0d82", "startTimeUnixNano": "1796072986732204836", "endTimeUnixNano": "1796072986738641616", "durationMs": 6.43678, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.172905, "db.connection": "reader", "db.lock_wait_ms": 2.112}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "aed38b5df093b7868184d5807e813822", "spanId": "23cc933cdeec0d82", "parentSpanId": "a62eea4d4d07d645", "startTimeUnixNano": "1796072986732189878", "endTimeUnixNano": "1796072986738656464", "durationMs": 6.466586, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "aed38b5df093b7868184d5807e813822", "spanId": "a62eea4d4d07d645", "parentSpanId": "25274fec7da78a94", "startTimeUnixNano": "1796072986732136778", "endTimeUnixNano": "1796072986738662054", "durationMs": 6.525276, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "aed38b5df093b7868184d5807e813822", "spanId": "25274fec7da78a94", "startTimeUnixNano": "1796072986732114987", "endTimeUnixNano": "1796072986738673315", "durationMs": 6.558328, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "97b7c1605bc6e4d7a4df55b985ab4d96", "spanId": "6f93a3b22fae2357", "parentSpanId": "017abe19083d2c7e", "startTimeUnixNano": "1796072988453832175", "endTimeUnixNano": "1796072988455478287", "durationMs": 1.646112, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "97b7c1605bc6e4d7a4df55b985ab4d96", "spanId": "b7e29448ab592eda", "parentSpanId": "92c35da1aeed3267", "startTimeUnixNano": "1796072988455580650", "endTimeUnixNano": "1796072988457142202", "durationMs": 1.561552, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010279}}
{"type": "effect-span", "name": "sqlite", "traceId": "97b7c1605bc6e4d7a4df55b985ab4d96", "spanId": "1cc28478530f6f9f", "parentSpanId": "92c35da1aeed3267", "startTimeUnixNano": "1796072988457362257", "endTimeUnixNano": "1796072988458307298", "durationMs": 0.945041, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.02639}}
{"type": "effect-span", "name": "sqlite", "traceId": "97b7c1605bc6e4d7a4df55b985ab4d96", "spanId": "6d5f9d5dfc2b725b", "parentSpanId": "92c35da1aeed3267", "startTimeUnixNano": "1796072988458342574", "endTimeUnixNano": "1796072988459344713", "durationMs": 1.002139, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023635}}
{"type": "effect-span", "name": "sqlite", "traceId": "97b7c1605bc6e4d7a4df55b985ab4d96", "spanId": "7d6feed59dff1cee", "parentSpanId": "92c35da1aeed3267", "startTimeUnixNano": "1796072988459931929", "endTimeUnixNano": "1796072988461128644", "durationMs": 1.196715, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019467}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "97b7c1605bc6e4d7a4df55b985ab4d96", "spanId": "92c35da1aeed3267", "parentSpanId": "017abe19083d2c7e", "startTimeUnixNano": "1796072988455562165", "endTimeUnixNano": "1796072988461205089", "durationMs": 5.642924, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "97b7c1605bc6e4d7a4df55b985ab4d96", "spanId": "d1a4a8f9b255ba42", "parentSpanId": "017abe19083d2c7e", "startTimeUnixNano": "1796072988461230296", "endTimeUnixNano": "1796072988462353262", "durationMs": 1.122966, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "97b7c1605bc6e4d7a4df55b985ab4d96", "spanId": "017abe19083d2c7e", "parentSpanId": "cb447906b8388398", "startTimeUnixNano": "1796072988450558135", "endTimeUnixNano": "1796072988462407615", "durationMs": 11.84948, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.254743, "db.connection": "reader", "db.lock_wait_ms": 3.135}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "97b7c1605bc6e4d7a4df55b985ab4d96", "spanId": "cb447906b8388398", "parentSpanId": "c0bde03fd1dc0ecd", "startTimeUnixNano": "1796072988450531314", "endTimeUnixNano": "1796072988462471315", "durationMs": 11.940001, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "97b7c1605bc6e4d7a4df55b985ab4d96", "spanId": "c0bde03fd1dc0ecd", "parentSpanId": "288894b0101ddc55", "startTimeUnixNano": "1796072988450453027", "endTimeUnixNano": "1796072988462488928", "durationMs": 12.035901, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "97b7c1605bc6e4d7a4df55b985ab4d96", "spanId": "288894b0101ddc55", "startTimeUnixNano": "1796072988450396340", "endTimeUnixNano": "1796072988462522551", "durationMs": 12.126211, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e88486bcb747be950b2d9c88ff5110b4", "spanId": "3dd4b0efafbde437", "parentSpanId": "132b5ec4218a288c", "startTimeUnixNano": "1796072988823683651", "endTimeUnixNano": "1796072988825809337", "durationMs": 2.125686, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e88486bcb747be950b2d9c88ff5110b4", "spanId": "057aee21ca039050", "parentSpanId": "3267e13962c3a83c", "startTimeUnixNano": "1796072988825908384", "endTimeUnixNano": "1796072988827487550", "durationMs": 1.579166, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013465}}
{"type": "effect-span", "name": "sqlite", "traceId": "e88486bcb747be950b2d9c88ff5110b4", "spanId": "fbea3081f9886989", "parentSpanId": "3267e13962c3a83c", "startTimeUnixNano": "1796072988827741699", "endTimeUnixNano": "1796072988829493941", "durationMs": 1.752242, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.027812}}
{"type": "effect-span", "name": "sqlite", "traceId": "e88486bcb747be950b2d9c88ff5110b4", "spanId": "ebefcd84689cb0e5", "parentSpanId": "3267e13962c3a83c", "startTimeUnixNano": "1796072988829523827", "endTimeUnixNano": "1796072988830188600", "durationMs": 0.664773, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.02113}}
{"type": "effect-span", "name": "sqlite", "traceId": "e88486bcb747be950b2d9c88ff5110b4", "spanId": "87a584084ec094af", "parentSpanId": "3267e13962c3a83c", "startTimeUnixNano": "1796072988830897445", "endTimeUnixNano": "1796072988836293264", "durationMs": 5.395819, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.032492}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e88486bcb747be950b2d9c88ff5110b4", "spanId": "3267e13962c3a83c", "parentSpanId": "132b5ec4218a288c", "startTimeUnixNano": "1796072988825887765", "endTimeUnixNano": "1796072988836401137", "durationMs": 10.513372, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e88486bcb747be950b2d9c88ff5110b4", "spanId": "8f521b063e14d5bb", "parentSpanId": "132b5ec4218a288c", "startTimeUnixNano": "1796072988836453566", "endTimeUnixNano": "1796072988837239517", "durationMs": 0.785951, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e88486bcb747be950b2d9c88ff5110b4", "spanId": "132b5ec4218a288c", "parentSpanId": "6f640a6ca9429f9d", "startTimeUnixNano": "1796072988820054552", "endTimeUnixNano": "1796072988837295522", "durationMs": 17.24097, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.618038, "db.connection": "reader", "db.lock_wait_ms": 3.471}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e88486bcb747be950b2d9c88ff5110b4", "spanId": "6f640a6ca9429f9d", "parentSpanId": "fe3abfe361bee533", "startTimeUnixNano": "1796072988820017152", "endTimeUnixNano": "1796072988837334856", "durationMs": 17.317704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e88486bcb747be950b2d9c88ff5110b4", "spanId": "fe3abfe361bee533", "parentSpanId": "af446debf65153cc", "startTimeUnixNano": "1796072988819927042", "endTimeUnixNano": "1796072988837344344", "durationMs": 17.417302, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e88486bcb747be950b2d9c88ff5110b4", "spanId": "af446debf65153cc", "startTimeUnixNano": "1796072988819878180", "endTimeUnixNano": "1796072988837365705", "durationMs": 17.487525, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "da93e0e468c4f38dca8a90a88559f9c2", "spanId": "9164c8d95ef08f5e", "parentSpanId": "63acf08082033cba", "startTimeUnixNano": "1796072990427057441", "endTimeUnixNano": "1796072990428902148", "durationMs": 1.844707, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "da93e0e468c4f38dca8a90a88559f9c2", "spanId": "e55840d2960e0884", "parentSpanId": "24ac883f90e6025b", "startTimeUnixNano": "1796072990428999411", "endTimeUnixNano": "1796072990430505559", "durationMs": 1.506148, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010089}}
{"type": "effect-span", "name": "sqlite", "traceId": "da93e0e468c4f38dca8a90a88559f9c2", "spanId": "4e9a03b16d39de2b", "parentSpanId": "24ac883f90e6025b", "startTimeUnixNano": "1796072990430745271", "endTimeUnixNano": "1796072990431907341", "durationMs": 1.16207, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.026079}}
{"type": "effect-span", "name": "sqlite", "traceId": "da93e0e468c4f38dca8a90a88559f9c2", "spanId": "d4ed3f72050a169b", "parentSpanId": "24ac883f90e6025b", "startTimeUnixNano": "1796072990431927900", "endTimeUnixNano": "1796072990433276842", "durationMs": 1.348942, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018324}}
{"type": "effect-span", "name": "sqlite", "traceId": "da93e0e468c4f38dca8a90a88559f9c2", "spanId": "9400a420087d0037", "parentSpanId": "24ac883f90e6025b", "startTimeUnixNano": "1796072990434313315", "endTimeUnixNano": "1796072990435471026", "durationMs": 1.157711, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.030627}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "da93e0e468c4f38dca8a90a88559f9c2", "spanId": "24ac883f90e6025b", "parentSpanId": "63acf08082033cba", "startTimeUnixNano": "1796072990428983481", "endTimeUnixNano": "1796072990435560816", "durationMs": 6.577335, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "da93e0e468c4f38dca8a90a88559f9c2", "spanId": "b9de990988bd2fd7", "parentSpanId": "63acf08082033cba", "startTimeUnixNano": "1796072990435600591", "endTimeUnixNano": "1796072990436919686", "durationMs": 1.319095, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "da93e0e468c4f38dca8a90a88559f9c2", "spanId": "63acf08082033cba", "parentSpanId": "a90e6e4ccd1f788e", "startTimeUnixNano": "1796072990423592131", "endTimeUnixNano": "1796072990436959752", "durationMs": 13.367621, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.44917, "db.connection": "reader", "db.lock_wait_ms": 3.329}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "da93e0e468c4f38dca8a90a88559f9c2", "spanId": "a90e6e4ccd1f788e", "parentSpanId": "647624bae7e0e7ed", "startTimeUnixNano": "1796072990423566313", "endTimeUnixNano": "1796072990436992834", "durationMs": 13.426521, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "da93e0e468c4f38dca8a90a88559f9c2", "spanId": "647624bae7e0e7ed", "parentSpanId": "caa9152c36eb5d3a", "startTimeUnixNano": "1796072990423485781", "endTimeUnixNano": "1796072990437005478", "durationMs": 13.519697, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "da93e0e468c4f38dca8a90a88559f9c2", "spanId": "caa9152c36eb5d3a", "startTimeUnixNano": "1796072990423452157", "endTimeUnixNano": "1796072990437026498", "durationMs": 13.574341, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bae1b81cddde74084cea2224246abf59", "spanId": "d234619f19e2989e", "parentSpanId": "facfa61c30b78f15", "startTimeUnixNano": "1796072990735816082", "endTimeUnixNano": "1796072990736040786", "durationMs": 0.224704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bae1b81cddde74084cea2224246abf59", "spanId": "024de7f615af5a00", "parentSpanId": "e6a35ce2ed37b86f", "startTimeUnixNano": "1796072990736135775", "endTimeUnixNano": "1796072990736621771", "durationMs": 0.485996, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014006}}
{"type": "effect-span", "name": "sqlite", "traceId": "bae1b81cddde74084cea2224246abf59", "spanId": "e5a2187af8754308", "parentSpanId": "e6a35ce2ed37b86f", "startTimeUnixNano": "1796072990736742598", "endTimeUnixNano": "1796072990737050839", "durationMs": 0.308241, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018756}}
{"type": "effect-span", "name": "sqlite", "traceId": "bae1b81cddde74084cea2224246abf59", "spanId": "27ad79561a310ab7", "parentSpanId": "e6a35ce2ed37b86f", "startTimeUnixNano": "1796072990737070145", "endTimeUnixNano": "1796072990737779041", "durationMs": 0.708896, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010711}}
{"type": "effect-span", "name": "sqlite", "traceId": "bae1b81cddde74084cea2224246abf59", "spanId": "0140d4d60341ebfb", "parentSpanId": "e6a35ce2ed37b86f", "startTimeUnixNano": "1796072990738378782", "endTimeUnixNano": "1796072990738878453", "durationMs": 0.499671, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020428}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bae1b81cddde74084cea2224246abf59", "spanId": "e6a35ce2ed37b86f", "parentSpanId": "facfa61c30b78f15", "startTimeUnixNano": "1796072990736122189", "endTimeUnixNano": "1796072990738928497", "durationMs": 2.806308, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bae1b81cddde74084cea2224246abf59", "spanId": "e62944b3d6c8d1b6", "parentSpanId": "facfa61c30b78f15", "startTimeUnixNano": "1796072990738941823", "endTimeUnixNano": "1796072990739337578", "durationMs": 0.395755, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bae1b81cddde74084cea2224246abf59", "spanId": "facfa61c30b78f15", "parentSpanId": "7498dbb75cc98c5c", "startTimeUnixNano": "1796072990733769826", "endTimeUnixNano": "1796072990739372214", "durationMs": 5.602388, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.040355, "db.connection": "reader", "db.lock_wait_ms": 1.988}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bae1b81cddde74084cea2224246abf59", "spanId": "7498dbb75cc98c5c", "parentSpanId": "c85e4baec3ebf0c0", "startTimeUnixNano": "1796072990733748967", "endTimeUnixNano": "1796072990739397481", "durationMs": 5.648514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bae1b81cddde74084cea2224246abf59", "spanId": "c85e4baec3ebf0c0", "parentSpanId": "17c9a1d9e0c9d3ae", "startTimeUnixNano": "1796072990733694655", "endTimeUnixNano": "1796072990739408111", "durationMs": 5.713456, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bae1b81cddde74084cea2224246abf59", "spanId": "17c9a1d9e0c9d3ae", "startTimeUnixNano": "1796072990733667383", "endTimeUnixNano": "1796072990739426165", "durationMs": 5.758782, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5cea9aa1655211ae537e52d545157aa4", "spanId": "20fd235c5bb7e28b", "parentSpanId": "40a59412403fadf3", "startTimeUnixNano": "1796072992330855590", "endTimeUnixNano": "1796072992332975756", "durationMs": 2.120166, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5cea9aa1655211ae537e52d545157aa4", "spanId": "90f863cf773c13f5", "parentSpanId": "8a2512b50347fda7", "startTimeUnixNano": "1796072992333044505", "endTimeUnixNano": "1796072992334135742", "durationMs": 1.091237, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006733}}
{"type": "effect-span", "name": "sqlite", "traceId": "5cea9aa1655211ae537e52d545157aa4", "spanId": "e3ac7ae7df5de6ba", "parentSpanId": "8a2512b50347fda7", "startTimeUnixNano": "1796072992334242753", "endTimeUnixNano": "1796072992335215076", "durationMs": 0.972323, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.0158}}
{"type": "effect-span", "name": "sqlite", "traceId": "5cea9aa1655211ae537e52d545157aa4", "spanId": "669964dc48379ca5", "parentSpanId": "8a2512b50347fda7", "startTimeUnixNano": "1796072992335235173", "endTimeUnixNano": "1796072992348382108", "durationMs": 13.146935, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016441}}
{"type": "effect-span", "name": "sqlite", "traceId": "5cea9aa1655211ae537e52d545157aa4", "spanId": "f0315d0a7c3722ee", "parentSpanId": "8a2512b50347fda7", "startTimeUnixNano": "1796072992349150787", "endTimeUnixNano": "1796072992350150150", "durationMs": 0.999363, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025207}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5cea9aa1655211ae537e52d545157aa4", "spanId": "8a2512b50347fda7", "parentSpanId": "40a59412403fadf3", "startTimeUnixNano": "1796072992333030008", "endTimeUnixNano": "1796072992350208330", "durationMs": 17.178322, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5cea9aa1655211ae537e52d545157aa4", "spanId": "6894ce299897b733", "parentSpanId": "40a59412403fadf3", "startTimeUnixNano": "1796072992350223849", "endTimeUnixNano": "1796072992350934959", "durationMs": 0.71111, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5cea9aa1655211ae537e52d545157aa4", "spanId": "40a59412403fadf3", "parentSpanId": "a2802f9ff983c9bd", "startTimeUnixNano": "1796072992327139948", "endTimeUnixNano": "1796072992350968462", "durationMs": 23.828514, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.704281, "db.connection": "reader", "db.lock_wait_ms": 3.512}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5cea9aa1655211ae537e52d545157aa4", "spanId": "a2802f9ff983c9bd", "parentSpanId": "542f3a46209dc79d", "startTimeUnixNano": "1796072992327095284", "endTimeUnixNano": "1796072992350995673", "durationMs": 23.900389, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5cea9aa1655211ae537e52d545157aa4", "spanId": "542f3a46209dc79d", "parentSpanId": "f4cbe6dde0e7c1de", "startTimeUnixNano": "1796072992326973274", "endTimeUnixNano": "1796072992351007856", "durationMs": 24.034582, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5cea9aa1655211ae537e52d545157aa4", "spanId": "f4cbe6dde0e7c1de", "startTimeUnixNano": "1796072992326911448", "endTimeUnixNano": "1796072992351026511", "durationMs": 24.115063, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b9e5bdc5324207d44ac78323af853d2e", "spanId": "162f8ce4b4badec7", "parentSpanId": "4f500d58237cd852", "startTimeUnixNano": "1796072992632116012", "endTimeUnixNano": "1796072992632641312", "durationMs": 0.5253, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9e5bdc5324207d44ac78323af853d2e", "spanId": "6db162f066359157", "parentSpanId": "6dbe984c73131ff9", "startTimeUnixNano": "1796072992632686858", "endTimeUnixNano": "1796072992632859323", "durationMs": 0.172465, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005791}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9e5bdc5324207d44ac78323af853d2e", "spanId": "df1673a37ce9fe17", "parentSpanId": "6dbe984c73131ff9", "startTimeUnixNano": "1796072992632952799", "endTimeUnixNano": "1796072992633315653", "durationMs": 0.362854, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01079}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9e5bdc5324207d44ac78323af853d2e", "spanId": "3b33551b3af7cb87", "parentSpanId": "6dbe984c73131ff9", "startTimeUnixNano": "1796072992633333576", "endTimeUnixNano": "1796072992633627330", "durationMs": 0.293754, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009037}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9e5bdc5324207d44ac78323af853d2e", "spanId": "aa911e03607a95b7", "parentSpanId": "6dbe984c73131ff9", "startTimeUnixNano": "1796072992634115480", "endTimeUnixNano": "1796072992634937479", "durationMs": 0.821999, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01597}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b9e5bdc5324207d44ac78323af853d2e", "spanId": "6dbe984c73131ff9", "parentSpanId": "4f500d58237cd852", "startTimeUnixNano": "1796072992632679624", "endTimeUnixNano": "1796072992634996059", "durationMs": 2.316435, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b9e5bdc5324207d44ac78323af853d2e", "spanId": "f1f189e49fe55391", "parentSpanId": "4f500d58237cd852", "startTimeUnixNano": "1796072992635010627", "endTimeUnixNano": "1796072992636206200", "durationMs": 1.195573, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b9e5bdc5324207d44ac78323af853d2e", "spanId": "4f500d58237cd852", "parentSpanId": "7f385a5880f0dc39", "startTimeUnixNano": "1796072992629137960", "endTimeUnixNano": "1796072992636236837", "durationMs": 7.098877, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.970327, "db.connection": "reader", "db.lock_wait_ms": 2.855}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b9e5bdc5324207d44ac78323af853d2e", "spanId": "7f385a5880f0dc39", "parentSpanId": "19a9739581975068", "startTimeUnixNano": "1796072992629119235", "endTimeUnixNano": "1796072992636261203", "durationMs": 7.141968, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b9e5bdc5324207d44ac78323af853d2e", "spanId": "19a9739581975068", "parentSpanId": "b2f2af76718a3219", "startTimeUnixNano": "1796072992629055975", "endTimeUnixNano": "1796072992636270110", "durationMs": 7.214135, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b9e5bdc5324207d44ac78323af853d2e", "spanId": "b2f2af76718a3219", "startTimeUnixNano": "1796072992629026580", "endTimeUnixNano": "1796072992636305046", "durationMs": 7.278466, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1edc03f6989729513c6aad8361231581", "spanId": "efb630a3fc3b1bcc", "parentSpanId": "812e205beba4206c", "startTimeUnixNano": "1796072994248414726", "endTimeUnixNano": "1796072994250203196", "durationMs": 1.78847, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1edc03f6989729513c6aad8361231581", "spanId": "b0a041877950caf2", "parentSpanId": "cb95d0a6c0c39da6", "startTimeUnixNano": "1796072994250305699", "endTimeUnixNano": "1796072994251729212", "durationMs": 1.423513, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.015199}}
{"type": "effect-span", "name": "sqlite", "traceId": "1edc03f6989729513c6aad8361231581", "spanId": "901447d645e2ef15", "parentSpanId": "cb95d0a6c0c39da6", "startTimeUnixNano": "1796072994251874115", "endTimeUnixNano": "1796072994252797866", "durationMs": 0.923751, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.023705}}
{"type": "effect-span", "name": "sqlite", "traceId": "1edc03f6989729513c6aad8361231581", "spanId": "3efee0a649c8b9f4", "parentSpanId": "cb95d0a6c0c39da6", "startTimeUnixNano": "1796072994252824686", "endTimeUnixNano": "1796072994253721136", "durationMs": 0.89645, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018705}}
{"type": "effect-span", "name": "sqlite", "traceId": "1edc03f6989729513c6aad8361231581", "spanId": "d5b81a656ebb59c9", "parentSpanId": "cb95d0a6c0c39da6", "startTimeUnixNano": "1796072994254632793", "endTimeUnixNano": "1796072994255303137", "durationMs": 0.670344, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022813}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1edc03f6989729513c6aad8361231581", "spanId": "cb95d0a6c0c39da6", "parentSpanId": "812e205beba4206c", "startTimeUnixNano": "1796072994250281984", "endTimeUnixNano": "1796072994255359633", "durationMs": 5.077649, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1edc03f6989729513c6aad8361231581", "spanId": "64000087c817e15d", "parentSpanId": "812e205beba4206c", "startTimeUnixNano": "1796072994255373810", "endTimeUnixNano": "1796072994256096291", "durationMs": 0.722481, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1edc03f6989729513c6aad8361231581", "spanId": "812e205beba4206c", "parentSpanId": "fa0d69745d206d76", "startTimeUnixNano": "1796072994244942152", "endTimeUnixNano": "1796072994256124715", "durationMs": 11.182563, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.461413, "db.connection": "reader", "db.lock_wait_ms": 3.36}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1edc03f6989729513c6aad8361231581", "spanId": "fa0d69745d206d76", "parentSpanId": "24db205d3188949b", "startTimeUnixNano": "1796072994244910352", "endTimeUnixNano": "1796072994256145905", "durationMs": 11.235553, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1edc03f6989729513c6aad8361231581", "spanId": "24db205d3188949b", "parentSpanId": "f820ea821bc7ec4b", "startTimeUnixNano": "1796072994244812347", "endTimeUnixNano": "1796072994256154010", "durationMs": 11.341663, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1edc03f6989729513c6aad8361231581", "spanId": "f820ea821bc7ec4b", "startTimeUnixNano": "1796072994244763796", "endTimeUnixNano": "1796072994256167936", "durationMs": 11.40414, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8ff9bc5df86fc01eb7a9d31fdf826cc0", "spanId": "9c12e5bc41bd9e36", "parentSpanId": "e7400151cb522176", "startTimeUnixNano": "1796072994674741841", "endTimeUnixNano": "1796072994677213799", "durationMs": 2.471958, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8ff9bc5df86fc01eb7a9d31fdf826cc0", "spanId": "8b620a998e0f393c", "parentSpanId": "9d3ef924537153e6", "startTimeUnixNano": "1796072994677343994", "endTimeUnixNano": "1796072994677713411", "durationMs": 0.369417, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011823}}
{"type": "effect-span", "name": "sqlite", "traceId": "8ff9bc5df86fc01eb7a9d31fdf826cc0", "spanId": "a1bfa156200f23de", "parentSpanId": "9d3ef924537153e6", "startTimeUnixNano": "1796072994677921343", "endTimeUnixNano": "1796072994678448356", "durationMs": 0.527013, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.022772}}
{"type": "effect-span", "name": "sqlite", "traceId": "8ff9bc5df86fc01eb7a9d31fdf826cc0", "spanId": "1e212a5f990f8aab", "parentSpanId": "9d3ef924537153e6", "startTimeUnixNano": "1796072994678472331", "endTimeUnixNano": "1796072994678890178", "durationMs": 0.417847, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013946}}
{"type": "effect-span", "name": "sqlite", "traceId": "8ff9bc5df86fc01eb7a9d31fdf826cc0", "spanId": "f0f1c17583aca66f", "parentSpanId": "9d3ef924537153e6", "startTimeUnixNano": "1796072994679950126", "endTimeUnixNano": "1796072994680882433", "durationMs": 0.932307, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.026199}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8ff9bc5df86fc01eb7a9d31fdf826cc0", "spanId": "9d3ef924537153e6", "parentSpanId": "e7400151cb522176", "startTimeUnixNano": "1796072994677325570", "endTimeUnixNano": "1796072994680948177", "durationMs": 3.622607, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8ff9bc5df86fc01eb7a9d31fdf826cc0", "spanId": "67ad97a1a94fd2fa", "parentSpanId": "e7400151cb522176", "startTimeUnixNano": "1796072994680970839", "endTimeUnixNano": "1796072994682039653", "durationMs": 1.068814, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8ff9bc5df86fc01eb7a9d31fdf826cc0", "spanId": "e7400151cb522176", "parentSpanId": "d274d3a760ebe056", "startTimeUnixNano": "1796072994671461599", "endTimeUnixNano": "1796072994682083376", "durationMs": 10.621777, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.271105, "db.connection": "reader", "db.lock_wait_ms": 3.148}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8ff9bc5df86fc01eb7a9d31fdf826cc0", "spanId": "d274d3a760ebe056", "parentSpanId": "724dd16dbd2f0f23", "startTimeUnixNano": "1796072994671416785", "endTimeUnixNano": "1796072994682111399", "durationMs": 10.694614, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8ff9bc5df86fc01eb7a9d31fdf826cc0", "spanId": "724dd16dbd2f0f23", "parentSpanId": "473d2143a84377e2", "startTimeUnixNano": "1796072994671331264", "endTimeUnixNano": "1796072994682120947", "durationMs": 10.789683, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8ff9bc5df86fc01eb7a9d31fdf826cc0", "spanId": "473d2143a84377e2", "startTimeUnixNano": "1796072994671284846", "endTimeUnixNano": "1796072994682135825", "durationMs": 10.850979, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7cad7585a60f864bdea297e545cc705b", "spanId": "9cd2fcd692e62cbb", "parentSpanId": "52abd274d43974a4", "startTimeUnixNano": "1796072996380227838", "endTimeUnixNano": "1796072996382614857", "durationMs": 2.387019, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7cad7585a60f864bdea297e545cc705b", "spanId": "da111322e42ed0a3", "parentSpanId": "94de30a9001ca2dd", "startTimeUnixNano": "1796072996382738339", "endTimeUnixNano": "1796072996384422303", "durationMs": 1.683964, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013135}}
{"type": "effect-span", "name": "sqlite", "traceId": "7cad7585a60f864bdea297e545cc705b", "spanId": "aab6f2c6efcfd4ce", "parentSpanId": "94de30a9001ca2dd", "startTimeUnixNano": "1796072996384678976", "endTimeUnixNano": "1796072996385427096", "durationMs": 0.74812, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.025879}}
{"type": "effect-span", "name": "sqlite", "traceId": "7cad7585a60f864bdea297e545cc705b", "spanId": "d97b2f9e02bc60a8", "parentSpanId": "94de30a9001ca2dd", "startTimeUnixNano": "1796072996385481388", "endTimeUnixNano": "1796072996386357690", "durationMs": 0.876302, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.021381}}
{"type": "effect-span", "name": "sqlite", "traceId": "7cad7585a60f864bdea297e545cc705b", "spanId": "c256e6d8f12cd286", "parentSpanId": "94de30a9001ca2dd", "startTimeUnixNano": "1796072996387336875", "endTimeUnixNano": "1796072996388642626", "durationMs": 1.305751, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025668}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7cad7585a60f864bdea297e545cc705b", "spanId": "94de30a9001ca2dd", "parentSpanId": "52abd274d43974a4", "startTimeUnixNano": "1796072996382717200", "endTimeUnixNano": "1796072996388732044", "durationMs": 6.014844, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7cad7585a60f864bdea297e545cc705b", "spanId": "c40ccbba786e95fc", "parentSpanId": "52abd274d43974a4", "startTimeUnixNano": "1796072996388761640", "endTimeUnixNano": "1796072996389986338", "durationMs": 1.224698, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7cad7585a60f864bdea297e545cc705b", "spanId": "52abd274d43974a4", "parentSpanId": "c4a1657ecdda6466", "startTimeUnixNano": "1796072996375351219", "endTimeUnixNano": "1796072996390065988", "durationMs": 14.714769, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.857043, "db.connection": "reader", "db.lock_wait_ms": 4.681}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7cad7585a60f864bdea297e545cc705b", "spanId": "c4a1657ecdda6466", "parentSpanId": "dbd20ce6f319fab6", "startTimeUnixNano": "1796072996375325149", "endTimeUnixNano": "1796072996390116693", "durationMs": 14.791544, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7cad7585a60f864bdea297e545cc705b", "spanId": "dbd20ce6f319fab6", "parentSpanId": "f2fde0b6b0a7a11a", "startTimeUnixNano": "1796072996375224029", "endTimeUnixNano": "1796072996390130730", "durationMs": 14.906701, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7cad7585a60f864bdea297e545cc705b", "spanId": "f2fde0b6b0a7a11a", "startTimeUnixNano": "1796072996375172662", "endTimeUnixNano": "1796072996390160426", "durationMs": 14.987764, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cb9c4edcd4a7c09aacf92c4722044a9c", "spanId": "0409ecd70bd500ca", "parentSpanId": "ff2811aaf310d716", "startTimeUnixNano": "1796072996875506531", "endTimeUnixNano": "1796072996876118274", "durationMs": 0.611743, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cb9c4edcd4a7c09aacf92c4722044a9c", "spanId": "795c46fad8e1a392", "parentSpanId": "d709e452cacc6bfd", "startTimeUnixNano": "1796072996876234613", "endTimeUnixNano": "1796072996876372823", "durationMs": 0.13821, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.018204}}
{"type": "effect-span", "name": "sqlite", "traceId": "cb9c4edcd4a7c09aacf92c4722044a9c", "spanId": "e94be1503771a1ce", "parentSpanId": "d709e452cacc6bfd", "startTimeUnixNano": "1796072996876649575", "endTimeUnixNano": "1796072996876921568", "durationMs": 0.271993, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016671}}
{"type": "effect-span", "name": "sqlite", "traceId": "cb9c4edcd4a7c09aacf92c4722044a9c", "spanId": "72aa04929e73ad46", "parentSpanId": "d709e452cacc6bfd", "startTimeUnixNano": "1796072996876951694", "endTimeUnixNano": "1796072996877188170", "durationMs": 0.236476, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014458}}
{"type": "effect-span", "name": "sqlite", "traceId": "cb9c4edcd4a7c09aacf92c4722044a9c", "spanId": "81ee46d3b0cf545a", "parentSpanId": "d709e452cacc6bfd", "startTimeUnixNano": "1796072996877937101", "endTimeUnixNano": "1796072996878850513", "durationMs": 0.913412, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016361}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cb9c4edcd4a7c09aacf92c4722044a9c", "spanId": "d709e452cacc6bfd", "parentSpanId": "ff2811aaf310d716", "startTimeUnixNano": "1796072996876216920", "endTimeUnixNano": "1796072996878974667", "durationMs": 2.757747, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cb9c4edcd4a7c09aacf92c4722044a9c", "spanId": "de7332319e154d98", "parentSpanId": "ff2811aaf310d716", "startTimeUnixNano": "1796072996879002769", "endTimeUnixNano": "1796072996880131707", "durationMs": 1.128938, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cb9c4edcd4a7c09aacf92c4722044a9c", "spanId": "ff2811aaf310d716", "parentSpanId": "a2ce397587bae50c", "startTimeUnixNano": "1796072996870063183", "endTimeUnixNano": "1796072996880186480", "durationMs": 10.123297, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.427999, "db.connection": "reader", "db.lock_wait_ms": 5.245}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cb9c4edcd4a7c09aacf92c4722044a9c", "spanId": "a2ce397587bae50c", "parentSpanId": "fc1cc0ce47aecf23", "startTimeUnixNano": "1796072996870042645", "endTimeUnixNano": "1796072996880229050", "durationMs": 10.186405, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cb9c4edcd4a7c09aacf92c4722044a9c", "spanId": "fc1cc0ce47aecf23", "parentSpanId": "02b4f02fc42a75dd", "startTimeUnixNano": "1796072996869952385", "endTimeUnixNano": "1796072996893794764", "durationMs": 23.842379, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cb9c4edcd4a7c09aacf92c4722044a9c", "spanId": "02b4f02fc42a75dd", "startTimeUnixNano": "1796072996869911928", "endTimeUnixNano": "1796072996893862923", "durationMs": 23.950995, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bef7275916b3abe72e63a5efd061158a", "spanId": "3f8470e4777e5126", "parentSpanId": "67fb678cf437ec9e", "startTimeUnixNano": "1796072998861073705", "endTimeUnixNano": "1796072998862860262", "durationMs": 1.786557, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bef7275916b3abe72e63a5efd061158a", "spanId": "5a3737c0777612c8", "parentSpanId": "05216c833f2970d0", "startTimeUnixNano": "1796072998862957916", "endTimeUnixNano": "1796072998864618345", "durationMs": 1.660429, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011331}}
{"type": "effect-span", "name": "sqlite", "traceId": "bef7275916b3abe72e63a5efd061158a", "spanId": "b0fc574d072bb17a", "parentSpanId": "05216c833f2970d0", "startTimeUnixNano": "1796072998864790099", "endTimeUnixNano": "1796072998865722245", "durationMs": 0.932146, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.021881}}
{"type": "effect-span", "name": "sqlite", "traceId": "bef7275916b3abe72e63a5efd061158a", "spanId": "9bda0af1878f1815", "parentSpanId": "05216c833f2970d0", "startTimeUnixNano": "1796072998865745710", "endTimeUnixNano": "1796072998866702533", "durationMs": 0.956823, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014337}}
{"type": "effect-span", "name": "sqlite", "traceId": "bef7275916b3abe72e63a5efd061158a", "spanId": "a2065d33117f37ab", "parentSpanId": "05216c833f2970d0", "startTimeUnixNano": "1796072998867468015", "endTimeUnixNano": "1796072998868235972", "durationMs": 0.767957, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021491}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bef7275916b3abe72e63a5efd061158a", "spanId": "05216c833f2970d0", "parentSpanId": "67fb678cf437ec9e", "startTimeUnixNano": "1796072998862943319", "endTimeUnixNano": "1796072998868296506", "durationMs": 5.353187, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bef7275916b3abe72e63a5efd061158a", "spanId": "c58139a9ebae8bb0", "parentSpanId": "67fb678cf437ec9e", "startTimeUnixNano": "1796072998868316564", "endTimeUnixNano": "1796072998869150225", "durationMs": 0.833661, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bef7275916b3abe72e63a5efd061158a", "spanId": "67fb678cf437ec9e", "parentSpanId": "0b69bf53b53c79ac", "startTimeUnixNano": "1796072998857344468", "endTimeUnixNano": "1796072998869187505", "durationMs": 11.843037, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.716102, "db.connection": "reader", "db.lock_wait_ms": 3.534}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bef7275916b3abe72e63a5efd061158a", "spanId": "0b69bf53b53c79ac", "parentSpanId": "c83f7b6d3dce477c", "startTimeUnixNano": "1796072998857311465", "endTimeUnixNano": "1796072998869223573", "durationMs": 11.912108, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bef7275916b3abe72e63a5efd061158a", "spanId": "c83f7b6d3dce477c", "parentSpanId": "e478bd2bb2cc4556", "startTimeUnixNano": "1796072998857213491", "endTimeUnixNano": "1796072998869236217", "durationMs": 12.022726, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bef7275916b3abe72e63a5efd061158a", "spanId": "e478bd2bb2cc4556", "startTimeUnixNano": "1796072998857168767", "endTimeUnixNano": "1796072998869261535", "durationMs": 12.092768, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "465ca481d750869a852700b901bba315", "spanId": "5317b874497c9074", "parentSpanId": "6e835543d3f26b56", "startTimeUnixNano": "1796072999266636353", "endTimeUnixNano": "1796072999267080700", "durationMs": 0.444347, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "465ca481d750869a852700b901bba315", "spanId": "95620b3b7cd7e8c5", "parentSpanId": "47991768773fdf52", "startTimeUnixNano": "1796072999267186610", "endTimeUnixNano": "1796072999267908991", "durationMs": 0.722381, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.016301}}
{"type": "effect-span", "name": "sqlite", "traceId": "465ca481d750869a852700b901bba315", "spanId": "2564676d9e1660f6", "parentSpanId": "47991768773fdf52", "startTimeUnixNano": "1796072999268077519", "endTimeUnixNano": "1796072999268583833", "durationMs": 0.506314, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.024145}}
{"type": "effect-span", "name": "sqlite", "traceId": "465ca481d750869a852700b901bba315", "spanId": "4f3a6e211ec804dd", "parentSpanId": "47991768773fdf52", "startTimeUnixNano": "1796072999268624910", "endTimeUnixNano": "1796072999269028381", "durationMs": 0.403471, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.02094}}
{"type": "effect-span", "name": "sqlite", "traceId": "465ca481d750869a852700b901bba315", "spanId": "3856d7183e9ea797", "parentSpanId": "47991768773fdf52", "startTimeUnixNano": "1796072999270216880", "endTimeUnixNano": "1796072999273538570", "durationMs": 3.32169, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025929}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "465ca481d750869a852700b901bba315", "spanId": "47991768773fdf52", "parentSpanId": "6e835543d3f26b56", "startTimeUnixNano": "1796072999267167253", "endTimeUnixNano": "1796072999273660420", "durationMs": 6.493167, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "465ca481d750869a852700b901bba315", "spanId": "1221b0899f044e8c", "parentSpanId": "6e835543d3f26b56", "startTimeUnixNano": "1796072999273683293", "endTimeUnixNano": "1796072999274854189", "durationMs": 1.170896, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "465ca481d750869a852700b901bba315", "spanId": "6e835543d3f26b56", "parentSpanId": "d957c0a2ee24b96f", "startTimeUnixNano": "1796072999263111691", "endTimeUnixNano": "1796072999274906979", "durationMs": 11.795288, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.514463, "db.connection": "reader", "db.lock_wait_ms": 3.407}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "465ca481d750869a852700b901bba315", "spanId": "d957c0a2ee24b96f", "parentSpanId": "fa3cc2fb9b4378c3", "startTimeUnixNano": "1796072999263088357", "endTimeUnixNano": "1796072999274942896", "durationMs": 11.854539, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "465ca481d750869a852700b901bba315", "spanId": "fa3cc2fb9b4378c3", "parentSpanId": "7dddef070329c970", "startTimeUnixNano": "1796072999263001093", "endTimeUnixNano": "1796072999274955520", "durationMs": 11.954427, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "465ca481d750869a852700b901bba315", "spanId": "7dddef070329c970", "startTimeUnixNano": "1796072999262955567", "endTimeUnixNano": "1796072999274978594", "durationMs": 12.023027, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3d453c24e10087286086738a92f67456", "spanId": "875ea4bdcd3e3b48", "parentSpanId": "2c993528f1acecd3", "startTimeUnixNano": "1796073001100586856", "endTimeUnixNano": "1796073001100998843", "durationMs": 0.411987, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d453c24e10087286086738a92f67456", "spanId": "083268f405cf575b", "parentSpanId": "c9b8f30754292eaa", "startTimeUnixNano": "1796073001101110253", "endTimeUnixNano": "1796073001102557179", "durationMs": 1.446926, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014848}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d453c24e10087286086738a92f67456", "spanId": "28e74d7abe72ccc0", "parentSpanId": "c9b8f30754292eaa", "startTimeUnixNano": "1796073001102768868", "endTimeUnixNano": "1796073001103611596", "durationMs": 0.842728, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.022573}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d453c24e10087286086738a92f67456", "spanId": "e6607a1c351cfcbe", "parentSpanId": "c9b8f30754292eaa", "startTimeUnixNano": "1796073001103645971", "endTimeUnixNano": "1796073001104577557", "durationMs": 0.931586, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016261}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d453c24e10087286086738a92f67456", "spanId": "eb36ea6982b9113a", "parentSpanId": "c9b8f30754292eaa", "startTimeUnixNano": "1796073001105278468", "endTimeUnixNano": "1796073001106021067", "durationMs": 0.742599, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.027862}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3d453c24e10087286086738a92f67456", "spanId": "c9b8f30754292eaa", "parentSpanId": "2c993528f1acecd3", "startTimeUnixNano": "1796073001101090796", "endTimeUnixNano": "1796073001106079437", "durationMs": 4.988641, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3d453c24e10087286086738a92f67456", "spanId": "45d2eaabc9c3f4bd", "parentSpanId": "2c993528f1acecd3", "startTimeUnixNano": "1796073001106094255", "endTimeUnixNano": "1796073001106991997", "durationMs": 0.897742, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3d453c24e10087286086738a92f67456", "spanId": "2c993528f1acecd3", "parentSpanId": "17d3ca7ea8a076ab", "startTimeUnixNano": "1796073001094477544", "endTimeUnixNano": "1796073001107033425", "durationMs": 12.555881, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.093262, "db.connection": "reader", "db.lock_wait_ms": 5.945}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3d453c24e10087286086738a92f67456", "spanId": "17d3ca7ea8a076ab", "parentSpanId": "cc9fd353d50bd13e", "startTimeUnixNano": "1796073001094449511", "endTimeUnixNano": "1796073001107056017", "durationMs": 12.606506, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3d453c24e10087286086738a92f67456", "spanId": "cc9fd353d50bd13e", "parentSpanId": "5d26d25a3022c38a", "startTimeUnixNano": "1796073001094325297", "endTimeUnixNano": "1796073001107063381", "durationMs": 12.738084, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3d453c24e10087286086738a92f67456", "spanId": "5d26d25a3022c38a", "startTimeUnixNano": "1796073001094272668", "endTimeUnixNano": "1796073001107080514", "durationMs": 12.807846, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6e3bee97cbae4b0daf8106633f6b2ef6", "spanId": "65f35fbf3e85838d", "parentSpanId": "82e0bfbdb25a6db2", "startTimeUnixNano": "1796073001493619483", "endTimeUnixNano": "1796073001493882899", "durationMs": 0.263416, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6e3bee97cbae4b0daf8106633f6b2ef6", "spanId": "67b50aa15b5a53d7", "parentSpanId": "5f6bf944f8179656", "startTimeUnixNano": "1796073001493999649", "endTimeUnixNano": "1796073001494313581", "durationMs": 0.313932, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012925}}
{"type": "effect-span", "name": "sqlite", "traceId": "6e3bee97cbae4b0daf8106633f6b2ef6", "spanId": "89685dbe359f3df3", "parentSpanId": "5f6bf944f8179656", "startTimeUnixNano": "1796073001494469274", "endTimeUnixNano": "1796073001494758209", "durationMs": 0.288935, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01586}}
{"type": "effect-span", "name": "sqlite", "traceId": "6e3bee97cbae4b0daf8106633f6b2ef6", "spanId": "762c86b13d5424f6", "parentSpanId": "5f6bf944f8179656", "startTimeUnixNano": "1796073001494784548", "endTimeUnixNano": "1796073001495109811", "durationMs": 0.325263, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014097}}
{"type": "effect-span", "name": "sqlite", "traceId": "6e3bee97cbae4b0daf8106633f6b2ef6", "spanId": "653f7c8f2d7392e6", "parentSpanId": "5f6bf944f8179656", "startTimeUnixNano": "1796073001496050304", "endTimeUnixNano": "1796073001496753459", "durationMs": 0.703155, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025287}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6e3bee97cbae4b0daf8106633f6b2ef6", "spanId": "5f6bf944f8179656", "parentSpanId": "82e0bfbdb25a6db2", "startTimeUnixNano": "1796073001493989169", "endTimeUnixNano": "1796073001496818752", "durationMs": 2.829583, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6e3bee97cbae4b0daf8106633f6b2ef6", "spanId": "06582c6da0fb145f", "parentSpanId": "82e0bfbdb25a6db2", "startTimeUnixNano": "1796073001496835734", "endTimeUnixNano": "1796073001497340705", "durationMs": 0.504971, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6e3bee97cbae4b0daf8106633f6b2ef6", "spanId": "82e0bfbdb25a6db2", "parentSpanId": "83b4f6e729b07365", "startTimeUnixNano": "1796073001491243425", "endTimeUnixNano": "1796073001497387393", "durationMs": 6.143968, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.371108, "db.connection": "reader", "db.lock_wait_ms": 2.32}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6e3bee97cbae4b0daf8106633f6b2ef6", "spanId": "83b4f6e729b07365", "parentSpanId": "8dc3fd7c9391a786", "startTimeUnixNano": "1796073001491227315", "endTimeUnixNano": "1796073001497414675", "durationMs": 6.18736, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6e3bee97cbae4b0daf8106633f6b2ef6", "spanId": "8dc3fd7c9391a786", "parentSpanId": "f998aff63b62c209", "startTimeUnixNano": "1796073001491162002", "endTimeUnixNano": "1796073001497427078", "durationMs": 6.265076, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6e3bee97cbae4b0daf8106633f6b2ef6", "spanId": "f998aff63b62c209", "startTimeUnixNano": "1796073001491132316", "endTimeUnixNano": "1796073001497475760", "durationMs": 6.343444, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f17626a6dc51c651a5703c8d37736b55", "spanId": "af64a0b93a994f3a", "parentSpanId": "75a17a21f266e5da", "startTimeUnixNano": "1796073003516053322", "endTimeUnixNano": "1796073003518771925", "durationMs": 2.718603, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f17626a6dc51c651a5703c8d37736b55", "spanId": "e51bb67508f7e0e9", "parentSpanId": "a66e31d850c45047", "startTimeUnixNano": "1796073003518915054", "endTimeUnixNano": "1796073003521020432", "durationMs": 2.105378, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.020168}}
{"type": "effect-span", "name": "sqlite", "traceId": "f17626a6dc51c651a5703c8d37736b55", "spanId": "4d8f0d3641a6def7", "parentSpanId": "a66e31d850c45047", "startTimeUnixNano": "1796073003521323794", "endTimeUnixNano": "1796073003522587074", "durationMs": 1.26328, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.03192}}
{"type": "effect-span", "name": "sqlite", "traceId": "f17626a6dc51c651a5703c8d37736b55", "spanId": "6c73f825191c26e9", "parentSpanId": "a66e31d850c45047", "startTimeUnixNano": "1796073003522617812", "endTimeUnixNano": "1796073003524059369", "durationMs": 1.441557, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.020078}}
{"type": "effect-span", "name": "sqlite", "traceId": "f17626a6dc51c651a5703c8d37736b55", "spanId": "f8786c1f32811804", "parentSpanId": "a66e31d850c45047", "startTimeUnixNano": "1796073003525208935", "endTimeUnixNano": "1796073003526616868", "durationMs": 1.407933, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.036729}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f17626a6dc51c651a5703c8d37736b55", "spanId": "a66e31d850c45047", "parentSpanId": "75a17a21f266e5da", "startTimeUnixNano": "1796073003518888374", "endTimeUnixNano": "1796073003526722297", "durationMs": 7.833923, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f17626a6dc51c651a5703c8d37736b55", "spanId": "e387405f8743ad69", "parentSpanId": "75a17a21f266e5da", "startTimeUnixNano": "1796073003526763685", "endTimeUnixNano": "1796073003528084003", "durationMs": 1.320318, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f17626a6dc51c651a5703c8d37736b55", "spanId": "75a17a21f266e5da", "parentSpanId": "182e1bf97e30a5f8", "startTimeUnixNano": "1796073003511317297", "endTimeUnixNano": "1796073003528135640", "durationMs": 16.818343, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.718051, "db.connection": "reader", "db.lock_wait_ms": 4.529}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f17626a6dc51c651a5703c8d37736b55", "spanId": "182e1bf97e30a5f8", "parentSpanId": "b08556bd013d292f", "startTimeUnixNano": "1796073003511290546", "endTimeUnixNano": "1796073003528175826", "durationMs": 16.88528, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f17626a6dc51c651a5703c8d37736b55", "spanId": "b08556bd013d292f", "parentSpanId": "10b7a214adebea05", "startTimeUnixNano": "1796073003511185959", "endTimeUnixNano": "1796073003528186807", "durationMs": 17.000848, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f17626a6dc51c651a5703c8d37736b55", "spanId": "10b7a214adebea05", "startTimeUnixNano": "1796073003511125035", "endTimeUnixNano": "1796073003528216904", "durationMs": 17.091869, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "beb060bc6cec053d4666b530a71d3d7d", "spanId": "e0a3d94ec0d32924", "parentSpanId": "f560deca0c32f727", "startTimeUnixNano": "1796073003906888308", "endTimeUnixNano": "1796073003907053218", "durationMs": 0.16491, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "beb060bc6cec053d4666b530a71d3d7d", "spanId": "36faaa60882453fd", "parentSpanId": "a927216db0226d4d", "startTimeUnixNano": "1796073003907115195", "endTimeUnixNano": "1796073003907317657", "durationMs": 0.202462, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010089}}
{"type": "effect-span", "name": "sqlite", "traceId": "beb060bc6cec053d4666b530a71d3d7d", "spanId": "0c017a65d517379d", "parentSpanId": "a927216db0226d4d", "startTimeUnixNano": "1796073003907473430", "endTimeUnixNano": "1796073003908031883", "durationMs": 0.558453, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017744}}
{"type": "effect-span", "name": "sqlite", "traceId": "beb060bc6cec053d4666b530a71d3d7d", "spanId": "8b3accd3af038bde", "parentSpanId": "a927216db0226d4d", "startTimeUnixNano": "1796073003908059946", "endTimeUnixNano": "1796073003908524932", "durationMs": 0.464986, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013866}}
{"type": "effect-span", "name": "sqlite", "traceId": "beb060bc6cec053d4666b530a71d3d7d", "spanId": "e31e9803d8689fef", "parentSpanId": "a927216db0226d4d", "startTimeUnixNano": "1796073003909115535", "endTimeUnixNano": "1796073003909685278", "durationMs": 0.569743, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018164}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "beb060bc6cec053d4666b530a71d3d7d", "spanId": "a927216db0226d4d", "parentSpanId": "f560deca0c32f727", "startTimeUnixNano": "1796073003907105397", "endTimeUnixNano": "1796073003909755030", "durationMs": 2.649633, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "beb060bc6cec053d4666b530a71d3d7d", "spanId": "ee8d82ca87614453", "parentSpanId": "f560deca0c32f727", "startTimeUnixNano": "1796073003909773334", "endTimeUnixNano": "1796073003910116411", "durationMs": 0.343077, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "beb060bc6cec053d4666b530a71d3d7d", "spanId": "f560deca0c32f727", "parentSpanId": "ba0585265d34e91a", "startTimeUnixNano": "1796073003905079028", "endTimeUnixNano": "1796073003910142971", "durationMs": 5.063943, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.803889, "db.connection": "reader", "db.lock_wait_ms": 1.76}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "beb060bc6cec053d4666b530a71d3d7d", "spanId": "ba0585265d34e91a", "parentSpanId": "70f3f55f84e1d4ce", "startTimeUnixNano": "1796073003905068358", "endTimeUnixNano": "1796073003910158099", "durationMs": 5.089741, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "beb060bc6cec053d4666b530a71d3d7d", "spanId": "70f3f55f84e1d4ce", "parentSpanId": "502f1becb124e4da", "startTimeUnixNano": "1796073003905021730", "endTimeUnixNano": "1796073003910163149", "durationMs": 5.141419, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "beb060bc6cec053d4666b530a71d3d7d", "spanId": "502f1becb124e4da", "startTimeUnixNano": "1796073003905002253", "endTimeUnixNano": "1796073003910170423", "durationMs": 5.16817, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5feb93abe944cd460ea4dd120e555bf1", "spanId": "4de8528c41c77a21", "parentSpanId": "2ab5bf939e1dfa1a", "startTimeUnixNano": "1796073005247467738", "endTimeUnixNano": "1796073005248214946", "durationMs": 0.747208, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5feb93abe944cd460ea4dd120e555bf1", "spanId": "9970abdca7dcca4d", "parentSpanId": "2f6f98a7ba79f284", "startTimeUnixNano": "1796073005248274759", "endTimeUnixNano": "1796073005249049599", "durationMs": 0.77484, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009137}}
{"type": "effect-span", "name": "sqlite", "traceId": "5feb93abe944cd460ea4dd120e555bf1", "spanId": "e5ad75e209f28f0c", "parentSpanId": "2f6f98a7ba79f284", "startTimeUnixNano": "1796073005249156831", "endTimeUnixNano": "1796073005249587052", "durationMs": 0.430221, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018234}}
{"type": "effect-span", "name": "sqlite", "traceId": "5feb93abe944cd460ea4dd120e555bf1", "spanId": "90436bb5f165b3bb", "parentSpanId": "2f6f98a7ba79f284", "startTimeUnixNano": "1796073005249598594", "endTimeUnixNano": "1796073005250094608", "durationMs": 0.496014, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011321}}
{"type": "effect-span", "name": "sqlite", "traceId": "5feb93abe944cd460ea4dd120e555bf1", "spanId": "03cf9289eac05d83", "parentSpanId": "2f6f98a7ba79f284", "startTimeUnixNano": "1796073005250516553", "endTimeUnixNano": "1796073005250979175", "durationMs": 0.462622, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011793}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5feb93abe944cd460ea4dd120e555bf1", "spanId": "2f6f98a7ba79f284", "parentSpanId": "2ab5bf939e1dfa1a", "startTimeUnixNano": "1796073005248264219", "endTimeUnixNano": "1796073005251017327", "durationMs": 2.753108, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5feb93abe944cd460ea4dd120e555bf1", "spanId": "3268f34f94af96ff", "parentSpanId": "2ab5bf939e1dfa1a", "startTimeUnixNano": "1796073005251026084", "endTimeUnixNano": "1796073005251234306", "durationMs": 0.208222, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5feb93abe944cd460ea4dd120e555bf1", "spanId": "2ab5bf939e1dfa1a", "parentSpanId": "ac6e799c81c7b8cc", "startTimeUnixNano": "1796073005245886097", "endTimeUnixNano": "1796073005251261347", "durationMs": 5.37525, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.576551, "db.connection": "reader", "db.lock_wait_ms": 1.538}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5feb93abe944cd460ea4dd120e555bf1", "spanId": "ac6e799c81c7b8cc", "parentSpanId": "3d00878b32393a08", "startTimeUnixNano": "1796073005245877291", "endTimeUnixNano": "1796073005251281375", "durationMs": 5.404084, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5feb93abe944cd460ea4dd120e555bf1", "spanId": "3d00878b32393a08", "parentSpanId": "ccb66ea412c4d4f3", "startTimeUnixNano": "1796073005245839459", "endTimeUnixNano": "1796073005251290732", "durationMs": 5.451273, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5feb93abe944cd460ea4dd120e555bf1", "spanId": "ccb66ea412c4d4f3", "startTimeUnixNano": "1796073005245822588", "endTimeUnixNano": "1796073005251300040", "durationMs": 5.477452, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "33fe58ea0181b453751200ae8ad87a72", "spanId": "f9fcfa7ab51693bf", "parentSpanId": "06a9107e4bce50f5", "startTimeUnixNano": "1796073005512538486", "endTimeUnixNano": "1796073005513354754", "durationMs": 0.816268, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "33fe58ea0181b453751200ae8ad87a72", "spanId": "9259454b5ed77fad", "parentSpanId": "24b6810c1d025152", "startTimeUnixNano": "1796073005513430397", "endTimeUnixNano": "1796073005514053170", "durationMs": 0.622773, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.020939}}
{"type": "effect-span", "name": "sqlite", "traceId": "33fe58ea0181b453751200ae8ad87a72", "spanId": "b7273e5858bbd33d", "parentSpanId": "24b6810c1d025152", "startTimeUnixNano": "1796073005514163228", "endTimeUnixNano": "1796073005514611162", "durationMs": 0.447934, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013305}}
{"type": "effect-span", "name": "sqlite", "traceId": "33fe58ea0181b453751200ae8ad87a72", "spanId": "7b50883658ac212d", "parentSpanId": "24b6810c1d025152", "startTimeUnixNano": "1796073005514626531", "endTimeUnixNano": "1796073005515292015", "durationMs": 0.665484, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011111}}
{"type": "effect-span", "name": "sqlite", "traceId": "33fe58ea0181b453751200ae8ad87a72", "spanId": "2bff6bd314086812", "parentSpanId": "24b6810c1d025152", "startTimeUnixNano": "1796073005515885703", "endTimeUnixNano": "1796073005516418568", "durationMs": 0.532865, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020629}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "33fe58ea0181b453751200ae8ad87a72", "spanId": "24b6810c1d025152", "parentSpanId": "06a9107e4bce50f5", "startTimeUnixNano": "1796073005513417883", "endTimeUnixNano": "1796073005516496434", "durationMs": 3.078551, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "33fe58ea0181b453751200ae8ad87a72", "spanId": "322a7cd61b89f790", "parentSpanId": "06a9107e4bce50f5", "startTimeUnixNano": "1796073005516511954", "endTimeUnixNano": "1796073005516751906", "durationMs": 0.239952, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "33fe58ea0181b453751200ae8ad87a72", "spanId": "06a9107e4bce50f5", "parentSpanId": "6e8dcb95358125c5", "startTimeUnixNano": "1796073005510664074", "endTimeUnixNano": "1796073005516792192", "durationMs": 6.128118, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.860646, "db.connection": "reader", "db.lock_wait_ms": 1.745}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "33fe58ea0181b453751200ae8ad87a72", "spanId": "6e8dcb95358125c5", "parentSpanId": "b2e531358b0982c5", "startTimeUnixNano": "1796073005510645649", "endTimeUnixNano": "1796073005516822319", "durationMs": 6.17667, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "33fe58ea0181b453751200ae8ad87a72", "spanId": "b2e531358b0982c5", "parentSpanId": "4d9dc11ec888dcfb", "startTimeUnixNano": "1796073005510575316", "endTimeUnixNano": "1796073005516834882", "durationMs": 6.259566, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "33fe58ea0181b453751200ae8ad87a72", "spanId": "4d9dc11ec888dcfb", "startTimeUnixNano": "1796073005510548095", "endTimeUnixNano": "1796073005516857264", "durationMs": 6.309169, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6ed2b768499e500c736435b07819639b", "spanId": "d71d3dd0923d29f0", "parentSpanId": "d2307a509af9b2bf", "startTimeUnixNano": "1796073006953092107", "endTimeUnixNano": "1796073006953389197", "durationMs": 0.29709, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6ed2b768499e500c736435b07819639b", "spanId": "4d750d7d09f41f1a", "parentSpanId": "438b1d0fd24faabd", "startTimeUnixNano": "1796073006953525744", "endTimeUnixNano": "1796073006955328251", "durationMs": 1.802507, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014908}}
{"type": "effect-span", "name": "sqlite", "traceId": "6ed2b768499e500c736435b07819639b", "spanId": "2c895b6b47efc169", "parentSpanId": "438b1d0fd24faabd", "startTimeUnixNano": "1796073006955599462", "endTimeUnixNano": "1796073006956087201", "durationMs": 0.487739, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.021821}}
{"type": "effect-span", "name": "sqlite", "traceId": "6ed2b768499e500c736435b07819639b", "spanId": "1a6971540f6f0b3c", "parentSpanId": "438b1d0fd24faabd", "startTimeUnixNano": "1796073006956110876", "endTimeUnixNano": "1796073006956903830", "durationMs": 0.792954, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012684}}
{"type": "effect-span", "name": "sqlite", "traceId": "6ed2b768499e500c736435b07819639b", "spanId": "9a380cdbff674144", "parentSpanId": "438b1d0fd24faabd", "startTimeUnixNano": "1796073006957690983", "endTimeUnixNano": "1796073006958656633", "durationMs": 0.96565, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.027392}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6ed2b768499e500c736435b07819639b", "spanId": "438b1d0fd24faabd", "parentSpanId": "d2307a509af9b2bf", "startTimeUnixNano": "1796073006953507139", "endTimeUnixNano": "1796073006958736233", "durationMs": 5.229094, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6ed2b768499e500c736435b07819639b", "spanId": "491ed80cea8cd051", "parentSpanId": "d2307a509af9b2bf", "startTimeUnixNano": "1796073006958757984", "endTimeUnixNano": "1796073006959817461", "durationMs": 1.059477, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6ed2b768499e500c736435b07819639b", "spanId": "d2307a509af9b2bf", "parentSpanId": "6d8bb105576cdac4", "startTimeUnixNano": "1796073006949134098", "endTimeUnixNano": "1796073006959864680", "durationMs": 10.730582, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.947269, "db.connection": "reader", "db.lock_wait_ms": 3.825}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6ed2b768499e500c736435b07819639b", "spanId": "6d8bb105576cdac4", "parentSpanId": "b710fe9bf76aad6f", "startTimeUnixNano": "1796073006949116836", "endTimeUnixNano": "1796073006959904254", "durationMs": 10.787418, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6ed2b768499e500c736435b07819639b", "spanId": "b710fe9bf76aad6f", "parentSpanId": "906aeb8f3b2bffa1", "startTimeUnixNano": "1796073006949016617", "endTimeUnixNano": "1796073006959918561", "durationMs": 10.901944, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6ed2b768499e500c736435b07819639b", "spanId": "906aeb8f3b2bffa1", "startTimeUnixNano": "1796073006948965060", "endTimeUnixNano": "1796073006959940513", "durationMs": 10.975453, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "581d0db52ab2e640ca2189ef8ffc49de", "spanId": "479dd1c00f774f3c", "parentSpanId": "3cfef83f5668326a", "startTimeUnixNano": "1796073007262307044", "endTimeUnixNano": "1796073007263335522", "durationMs": 1.028478, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "581d0db52ab2e640ca2189ef8ffc49de", "spanId": "fee2f7fd1c6b7c18", "parentSpanId": "e99b5631d667cad4", "startTimeUnixNano": "1796073007263482068", "endTimeUnixNano": "1796073007264489587", "durationMs": 1.007519, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011843}}
{"type": "effect-span", "name": "sqlite", "traceId": "581d0db52ab2e640ca2189ef8ffc49de", "spanId": "e5375d017dedc94e", "parentSpanId": "e99b5631d667cad4", "startTimeUnixNano": "1796073007264670247", "endTimeUnixNano": "1796073007265089828", "durationMs": 0.419581, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.020629}}
{"type": "effect-span", "name": "sqlite", "traceId": "581d0db52ab2e640ca2189ef8ffc49de", "spanId": "5f796e5c31ddc5c3", "parentSpanId": "e99b5631d667cad4", "startTimeUnixNano": "1796073007265108113", "endTimeUnixNano": "1796073007266086566", "durationMs": 0.978453, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012884}}
{"type": "effect-span", "name": "sqlite", "traceId": "581d0db52ab2e640ca2189ef8ffc49de", "spanId": "769176a6c57954d8", "parentSpanId": "e99b5631d667cad4", "startTimeUnixNano": "1796073007267046465", "endTimeUnixNano": "1796073007267856602", "durationMs": 0.810137, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023575}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "581d0db52ab2e640ca2189ef8ffc49de", "spanId": "e99b5631d667cad4", "parentSpanId": "3cfef83f5668326a", "startTimeUnixNano": "1796073007263465567", "endTimeUnixNano": "1796073007267929409", "durationMs": 4.463842, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "581d0db52ab2e640ca2189ef8ffc49de", "spanId": "6f7c7aa13be42cce", "parentSpanId": "3cfef83f5668326a", "startTimeUnixNano": "1796073007267954727", "endTimeUnixNano": "1796073007268554307", "durationMs": 0.59958, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "581d0db52ab2e640ca2189ef8ffc49de", "spanId": "3cfef83f5668326a", "parentSpanId": "bfed17eb1d4b38d2", "startTimeUnixNano": "1796073007259168089", "endTimeUnixNano": "1796073007268592449", "durationMs": 9.42436, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.129277, "db.connection": "reader", "db.lock_wait_ms": 2.981}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "581d0db52ab2e640ca2189ef8ffc49de", "spanId": "bfed17eb1d4b38d2", "parentSpanId": "ad9117f059bba697", "startTimeUnixNano": "1796073007259144915", "endTimeUnixNano": "1796073007268622896", "durationMs": 9.477981, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "581d0db52ab2e640ca2189ef8ffc49de", "spanId": "ad9117f059bba697", "parentSpanId": "7ff22b3f4cfe7d2d", "startTimeUnixNano": "1796073007259078109", "endTimeUnixNano": "1796073007268645488", "durationMs": 9.567379, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "581d0db52ab2e640ca2189ef8ffc49de", "spanId": "7ff22b3f4cfe7d2d", "startTimeUnixNano": "1796073007259043354", "endTimeUnixNano": "1796073007268682057", "durationMs": 9.638703, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2c900ce9df535627dc47322d32a2e814", "spanId": "5f3d0fb24af81bf8", "parentSpanId": "7cb33d79ab6bbde5", "startTimeUnixNano": "1796073008856638889", "endTimeUnixNano": "1796073008858051271", "durationMs": 1.412382, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2c900ce9df535627dc47322d32a2e814", "spanId": "5965b41f7bc1a2d5", "parentSpanId": "4ba2b4b094d67b90", "startTimeUnixNano": "1796073008858136381", "endTimeUnixNano": "1796073008859530438", "durationMs": 1.394057, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009157}}
{"type": "effect-span", "name": "sqlite", "traceId": "2c900ce9df535627dc47322d32a2e814", "spanId": "b05abd8668269978", "parentSpanId": "4ba2b4b094d67b90", "startTimeUnixNano": "1796073008859691061", "endTimeUnixNano": "1796073008860530483", "durationMs": 0.839422, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.031158}}
{"type": "effect-span", "name": "sqlite", "traceId": "2c900ce9df535627dc47322d32a2e814", "spanId": "2cb163dc31e3fbc4", "parentSpanId": "4ba2b4b094d67b90", "startTimeUnixNano": "1796073008860548577", "endTimeUnixNano": "1796073008861126496", "durationMs": 0.577919, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012363}}
{"type": "effect-span", "name": "sqlite", "traceId": "2c900ce9df535627dc47322d32a2e814", "spanId": "9d034eedbf25d369", "parentSpanId": "4ba2b4b094d67b90", "startTimeUnixNano": "1796073008862172136", "endTimeUnixNano": "1796073008862862437", "durationMs": 0.690301, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016391}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2c900ce9df535627dc47322d32a2e814", "spanId": "4ba2b4b094d67b90", "parentSpanId": "7cb33d79ab6bbde5", "startTimeUnixNano": "1796073008858115702", "endTimeUnixNano": "1796073008862924414", "durationMs": 4.808712, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2c900ce9df535627dc47322d32a2e814", "spanId": "326994e62a2ab4aa", "parentSpanId": "7cb33d79ab6bbde5", "startTimeUnixNano": "1796073008862938270", "endTimeUnixNano": "1796073008863615576", "durationMs": 0.677306, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2c900ce9df535627dc47322d32a2e814", "spanId": "7cb33d79ab6bbde5", "parentSpanId": "2972a134e0be1281", "startTimeUnixNano": "1796073008853870192", "endTimeUnixNano": "1796073008863651474", "durationMs": 9.781282, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.762956, "db.connection": "reader", "db.lock_wait_ms": 2.658}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2c900ce9df535627dc47322d32a2e814", "spanId": "2972a134e0be1281", "parentSpanId": "26d208a0fa1f900d", "startTimeUnixNano": "1796073008853855554", "endTimeUnixNano": "1796073008863696128", "durationMs": 9.840574, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2c900ce9df535627dc47322d32a2e814", "spanId": "26d208a0fa1f900d", "parentSpanId": "bfc2e85058c5c7c0", "startTimeUnixNano": "1796073008853762208", "endTimeUnixNano": "1796073008863705346", "durationMs": 9.943138, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2c900ce9df535627dc47322d32a2e814", "spanId": "bfc2e85058c5c7c0", "startTimeUnixNano": "1796073008853727152", "endTimeUnixNano": "1796073008863716126", "durationMs": 9.988974, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "49ea1c8322e8d80b9eaa13841b68073f", "spanId": "bd5c88c895aca52e", "parentSpanId": "e6f8bf2f212ff5f4", "startTimeUnixNano": "1796073009138943926", "endTimeUnixNano": "1796073009139116361", "durationMs": 0.172435, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "49ea1c8322e8d80b9eaa13841b68073f", "spanId": "751e4f8ddbe44387", "parentSpanId": "a19db578dd8148e6", "startTimeUnixNano": "1796073009139163900", "endTimeUnixNano": "1796073009139496066", "durationMs": 0.332166, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006593}}
{"type": "effect-span", "name": "sqlite", "traceId": "49ea1c8322e8d80b9eaa13841b68073f", "spanId": "8a6e668b84f82991", "parentSpanId": "a19db578dd8148e6", "startTimeUnixNano": "1796073009139593389", "endTimeUnixNano": "1796073009139851796", "durationMs": 0.258407, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010861}}
{"type": "effect-span", "name": "sqlite", "traceId": "49ea1c8322e8d80b9eaa13841b68073f", "spanId": "b36236ece8d67bb6", "parentSpanId": "a19db578dd8148e6", "startTimeUnixNano": "1796073009139877294", "endTimeUnixNano": "1796073009140522901", "durationMs": 0.645607, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007985}}
{"type": "effect-span", "name": "sqlite", "traceId": "49ea1c8322e8d80b9eaa13841b68073f", "spanId": "7e84ae1cc6157713", "parentSpanId": "a19db578dd8148e6", "startTimeUnixNano": "1796073009140989701", "endTimeUnixNano": "1796073009141510222", "durationMs": 0.520521, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01629}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "49ea1c8322e8d80b9eaa13841b68073f", "spanId": "a19db578dd8148e6", "parentSpanId": "e6f8bf2f212ff5f4", "startTimeUnixNano": "1796073009139157197", "endTimeUnixNano": "1796073009141573932", "durationMs": 2.416735, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "49ea1c8322e8d80b9eaa13841b68073f", "spanId": "49738432f39f4a61", "parentSpanId": "e6f8bf2f212ff5f4", "startTimeUnixNano": "1796073009141586796", "endTimeUnixNano": "1796073009141943248", "durationMs": 0.356452, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "49ea1c8322e8d80b9eaa13841b68073f", "spanId": "e6f8bf2f212ff5f4", "parentSpanId": "4615c353bb6a1476", "startTimeUnixNano": "1796073009137144324", "endTimeUnixNano": "1796073009141975779", "durationMs": 4.831455, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.794843, "db.connection": "reader", "db.lock_wait_ms": 1.754}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "49ea1c8322e8d80b9eaa13841b68073f", "spanId": "4615c353bb6a1476", "parentSpanId": "a41b4a4f03569115", "startTimeUnixNano": "1796073009137133885", "endTimeUnixNano": "1796073009142000225", "durationMs": 4.86634, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "49ea1c8322e8d80b9eaa13841b68073f", "spanId": "a41b4a4f03569115", "parentSpanId": "a92c16052d0ac817", "startTimeUnixNano": "1796073009137091645", "endTimeUnixNano": "1796073009142011677", "durationMs": 4.920032, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "49ea1c8322e8d80b9eaa13841b68073f", "spanId": "a92c16052d0ac817", "startTimeUnixNano": "1796073009137073411", "endTimeUnixNano": "1796073009142034480", "durationMs": 4.961069, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "eb2a44d636d5f0c6b0a0d239925dabcc", "spanId": "30e02dd63766f7a6", "parentSpanId": "7f069fcf0e2b42a6", "startTimeUnixNano": "1796073011252172413", "endTimeUnixNano": "1796073011252903010", "durationMs": 0.730597, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb2a44d636d5f0c6b0a0d239925dabcc", "spanId": "6c3c9933f8424dc7", "parentSpanId": "8142730a57db981b", "startTimeUnixNano": "1796073011253100111", "endTimeUnixNano": "1796073011255617886", "durationMs": 2.517775, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.026159}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb2a44d636d5f0c6b0a0d239925dabcc", "spanId": "d5c5413aa1b13b08", "parentSpanId": "8142730a57db981b", "startTimeUnixNano": "1796073011256067783", "endTimeUnixNano": "1796073011257081404", "durationMs": 1.013621, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.118213}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb2a44d636d5f0c6b0a0d239925dabcc", "spanId": "698d1c9f55723903", "parentSpanId": "8142730a57db981b", "startTimeUnixNano": "1796073011257117031", "endTimeUnixNano": "1796073011258790575", "durationMs": 1.673544, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016391}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb2a44d636d5f0c6b0a0d239925dabcc", "spanId": "ee3c366d73ecca88", "parentSpanId": "8142730a57db981b", "startTimeUnixNano": "1796073011260186635", "endTimeUnixNano": "1796073011261959176", "durationMs": 1.772541, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.027061}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "eb2a44d636d5f0c6b0a0d239925dabcc", "spanId": "8142730a57db981b", "parentSpanId": "7f069fcf0e2b42a6", "startTimeUnixNano": "1796073011253065666", "endTimeUnixNano": "1796073011263379753", "durationMs": 10.314087, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "eb2a44d636d5f0c6b0a0d239925dabcc", "spanId": "7beafeac5a586649", "parentSpanId": "7f069fcf0e2b42a6", "startTimeUnixNano": "1796073011263445747", "endTimeUnixNano": "1796073011265404689", "durationMs": 1.958942, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "eb2a44d636d5f0c6b0a0d239925dabcc", "spanId": "7f069fcf0e2b42a6", "parentSpanId": "3e935c23d4a4c3dd", "startTimeUnixNano": "1796073011243719243", "endTimeUnixNano": "1796073011265553459", "durationMs": 21.834216, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 8.424345, "db.connection": "reader", "db.lock_wait_ms": 8.148}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "eb2a44d636d5f0c6b0a0d239925dabcc", "spanId": "3e935c23d4a4c3dd", "parentSpanId": "c75d27ed39659ff8", "startTimeUnixNano": "1796073011243596171", "endTimeUnixNano": "1796073011265634442", "durationMs": 22.038271, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "eb2a44d636d5f0c6b0a0d239925dabcc", "spanId": "c75d27ed39659ff8", "parentSpanId": "bf1e940f1978ecfd", "startTimeUnixNano": "1796073011243321083", "endTimeUnixNano": "1796073011265666121", "durationMs": 22.345038, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "eb2a44d636d5f0c6b0a0d239925dabcc", "spanId": "bf1e940f1978ecfd", "startTimeUnixNano": "1796073011243257343", "endTimeUnixNano": "1796073011265726305", "durationMs": 22.468962, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c90f74624f370f3c3e0f894f4879294f", "spanId": "56c24e54b2de7c2c", "parentSpanId": "90e1fbd180bd4c02", "startTimeUnixNano": "1796073012160270242", "endTimeUnixNano": "1796073012168828189", "durationMs": 8.557947, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c90f74624f370f3c3e0f894f4879294f", "spanId": "b5587ca3da891ac2", "parentSpanId": "7a7a5f937dcaa21e", "startTimeUnixNano": "1796073012169088810", "endTimeUnixNano": "1796073012169386361", "durationMs": 0.297551, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014788}}
{"type": "effect-span", "name": "sqlite", "traceId": "c90f74624f370f3c3e0f894f4879294f", "spanId": "44c7d43e8c9575bc", "parentSpanId": "7a7a5f937dcaa21e", "startTimeUnixNano": "1796073012169832592", "endTimeUnixNano": "1796073012170316574", "durationMs": 0.483982, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.025929}}
{"type": "effect-span", "name": "sqlite", "traceId": "c90f74624f370f3c3e0f894f4879294f", "spanId": "aae1db3e7e3dbac0", "parentSpanId": "7a7a5f937dcaa21e", "startTimeUnixNano": "1796073012170368612", "endTimeUnixNano": "1796073012170846423", "durationMs": 0.477811, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.020609}}
{"type": "effect-span", "name": "sqlite", "traceId": "c90f74624f370f3c3e0f894f4879294f", "spanId": "48b5f52a21e92c3c", "parentSpanId": "7a7a5f937dcaa21e", "startTimeUnixNano": "1796073012172709263", "endTimeUnixNano": "1796073012176024851", "durationMs": 3.315588, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.033994}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c90f74624f370f3c3e0f894f4879294f", "spanId": "7a7a5f937dcaa21e", "parentSpanId": "90e1fbd180bd4c02", "startTimeUnixNano": "1796073012169060998", "endTimeUnixNano": "1796073012176114230", "durationMs": 7.053232, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c90f74624f370f3c3e0f894f4879294f", "spanId": "7af0e4bdc1d94813", "parentSpanId": "90e1fbd180bd4c02", "startTimeUnixNano": "1796073012176137303", "endTimeUnixNano": "1796073012178515815", "durationMs": 2.378512, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c90f74624f370f3c3e0f894f4879294f", "spanId": "90e1fbd180bd4c02", "parentSpanId": "78047e4c0f7d99ba", "startTimeUnixNano": "1796073012153342096", "endTimeUnixNano": "1796073012178890111", "durationMs": 25.548015, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.89311, "db.connection": "reader", "db.lock_wait_ms": 6.649}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c90f74624f370f3c3e0f894f4879294f", "spanId": "78047e4c0f7d99ba", "parentSpanId": "ca87f981b94a59b3", "startTimeUnixNano": "1796073012153303313", "endTimeUnixNano": "1796073012179051305", "durationMs": 25.747992, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c90f74624f370f3c3e0f894f4879294f", "spanId": "ca87f981b94a59b3", "parentSpanId": "427f4512dd3f708a", "startTimeUnixNano": "1796073012153145215", "endTimeUnixNano": "1796073012179086982", "durationMs": 25.941767, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c90f74624f370f3c3e0f894f4879294f", "spanId": "427f4512dd3f708a", "startTimeUnixNano": "1796073012153093067", "endTimeUnixNano": "1796073012179121427", "durationMs": 26.02836, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7ced88866373c5be51b140b9b1ca7186", "spanId": "11ddc1d8b9dffa6e", "parentSpanId": "4e2b53be8feeb727", "startTimeUnixNano": "1796073015714625112", "endTimeUnixNano": "1796073015717032178", "durationMs": 2.407066, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ced88866373c5be51b140b9b1ca7186", "spanId": "4c9b4d2b9e79b061", "parentSpanId": "46a2056dfeed25f5", "startTimeUnixNano": "1796073015717214421", "endTimeUnixNano": "1796073015719819831", "durationMs": 2.60541, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014398}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ced88866373c5be51b140b9b1ca7186", "spanId": "7fd4ae76af3c04c8", "parentSpanId": "46a2056dfeed25f5", "startTimeUnixNano": "1796073015720190299", "endTimeUnixNano": "1796073015721474008", "durationMs": 1.283709, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.038894}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ced88866373c5be51b140b9b1ca7186", "spanId": "a4c9bac73ecf97ee", "parentSpanId": "46a2056dfeed25f5", "startTimeUnixNano": "1796073015721505838", "endTimeUnixNano": "1796073015722854520", "durationMs": 1.348682, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.027703}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ced88866373c5be51b140b9b1ca7186", "spanId": "949713ea26995f2d", "parentSpanId": "46a2056dfeed25f5", "startTimeUnixNano": "1796073015724158227", "endTimeUnixNano": "1796073015726866500", "durationMs": 2.708273, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.040837}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7ced88866373c5be51b140b9b1ca7186", "spanId": "46a2056dfeed25f5", "parentSpanId": "4e2b53be8feeb727", "startTimeUnixNano": "1796073015717182772", "endTimeUnixNano": "1796073015727011434", "durationMs": 9.828662, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7ced88866373c5be51b140b9b1ca7186", "spanId": "102b59b6a9a8cedb", "parentSpanId": "4e2b53be8feeb727", "startTimeUnixNano": "1796073015727069042", "endTimeUnixNano": "1796073015728793011", "durationMs": 1.723969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7ced88866373c5be51b140b9b1ca7186", "spanId": "4e2b53be8feeb727", "parentSpanId": "b8a53c292a543fd8", "startTimeUnixNano": "1796073015709580676", "endTimeUnixNano": "1796073015728844398", "durationMs": 19.263722, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.023496, "db.connection": "reader", "db.lock_wait_ms": 4.834}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7ced88866373c5be51b140b9b1ca7186", "spanId": "b8a53c292a543fd8", "parentSpanId": "c1e7084396035fec", "startTimeUnixNano": "1796073015709544478", "endTimeUnixNano": "1796073015728882189", "durationMs": 19.337711, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7ced88866373c5be51b140b9b1ca7186", "spanId": "c1e7084396035fec", "parentSpanId": "c824704bf83ec70c", "startTimeUnixNano": "1796073015709333971", "endTimeUnixNano": "1796073015728899903", "durationMs": 19.565932, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7ced88866373c5be51b140b9b1ca7186", "spanId": "c824704bf83ec70c", "startTimeUnixNano": "1796073015709277925", "endTimeUnixNano": "1796073015728924609", "durationMs": 19.646684, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f7c559768af03d2b5ed64877ba7c94ab", "spanId": "af2169f169dd632a", "parentSpanId": "9055f857940ef3b5", "startTimeUnixNano": "1796073016116601489", "endTimeUnixNano": "1796073016116865797", "durationMs": 0.264308, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f7c559768af03d2b5ed64877ba7c94ab", "spanId": "355bb729d7c3b790", "parentSpanId": "6b7d0e6505e4ff21", "startTimeUnixNano": "1796073016116968410", "endTimeUnixNano": "1796073016117704848", "durationMs": 0.736438, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013636}}
{"type": "effect-span", "name": "sqlite", "traceId": "f7c559768af03d2b5ed64877ba7c94ab", "spanId": "e3ed498e6f76e0e0", "parentSpanId": "6b7d0e6505e4ff21", "startTimeUnixNano": "1796073016117870490", "endTimeUnixNano": "1796073016118505016", "durationMs": 0.634526, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.027923}}
{"type": "effect-span", "name": "sqlite", "traceId": "f7c559768af03d2b5ed64877ba7c94ab", "spanId": "5ff79f8c8827578f", "parentSpanId": "6b7d0e6505e4ff21", "startTimeUnixNano": "1796073016118558617", "endTimeUnixNano": "1796073016119368263", "durationMs": 0.809646, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.025168}}
{"type": "effect-span", "name": "sqlite", "traceId": "f7c559768af03d2b5ed64877ba7c94ab", "spanId": "6691f9cf09d8e8d9", "parentSpanId": "6b7d0e6505e4ff21", "startTimeUnixNano": "1796073016120469248", "endTimeUnixNano": "1796073016121112870", "durationMs": 0.643622, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.030036}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f7c559768af03d2b5ed64877ba7c94ab", "spanId": "6b7d0e6505e4ff21", "parentSpanId": "9055f857940ef3b5", "startTimeUnixNano": "1796073016116948373", "endTimeUnixNano": "1796073016121177592", "durationMs": 4.229219, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f7c559768af03d2b5ed64877ba7c94ab", "spanId": "252c230648102035", "parentSpanId": "9055f857940ef3b5", "startTimeUnixNano": "1796073016121191769", "endTimeUnixNano": "1796073016122070395", "durationMs": 0.878626, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f7c559768af03d2b5ed64877ba7c94ab", "spanId": "9055f857940ef3b5", "parentSpanId": "e4e7f6fde13dfb9f", "startTimeUnixNano": "1796073016114512813", "endTimeUnixNano": "1796073016122110871", "durationMs": 7.598058, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.083266, "db.connection": "reader", "db.lock_wait_ms": 1.988}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f7c559768af03d2b5ed64877ba7c94ab", "spanId": "e4e7f6fde13dfb9f", "parentSpanId": "95cd98748cd67c63", "startTimeUnixNano": "1796073016114486884", "endTimeUnixNano": "1796073016122137451", "durationMs": 7.650567, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f7c559768af03d2b5ed64877ba7c94ab", "spanId": "95cd98748cd67c63", "parentSpanId": "b6236ec7f6e3d938", "startTimeUnixNano": "1796073016114397095", "endTimeUnixNano": "1796073016122146388", "durationMs": 7.749293, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f7c559768af03d2b5ed64877ba7c94ab", "spanId": "b6236ec7f6e3d938", "startTimeUnixNano": "1796073016114370585", "endTimeUnixNano": "1796073016122157249", "durationMs": 7.786664, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8cd11c0ff344ea724c8503d4163fc68a", "spanId": "7eb1a616446bd83b", "parentSpanId": "3193d7216c927363", "startTimeUnixNano": "1796073018493864021", "endTimeUnixNano": "1796073018496038799", "durationMs": 2.174778, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8cd11c0ff344ea724c8503d4163fc68a", "spanId": "1379f9b23889fa27", "parentSpanId": "d039281dbe2a43a5", "startTimeUnixNano": "1796073018496106156", "endTimeUnixNano": "1796073018497687156", "durationMs": 1.581, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006432}}
{"type": "effect-span", "name": "sqlite", "traceId": "8cd11c0ff344ea724c8503d4163fc68a", "spanId": "19e448045ab6b5ec", "parentSpanId": "d039281dbe2a43a5", "startTimeUnixNano": "1796073018497876102", "endTimeUnixNano": "1796073018498956788", "durationMs": 1.080686, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015719}}
{"type": "effect-span", "name": "sqlite", "traceId": "8cd11c0ff344ea724c8503d4163fc68a", "spanId": "f0600fe9207b9a2f", "parentSpanId": "d039281dbe2a43a5", "startTimeUnixNano": "1796073018498994169", "endTimeUnixNano": "1796073018501222318", "durationMs": 2.228149, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019537}}
{"type": "effect-span", "name": "sqlite", "traceId": "8cd11c0ff344ea724c8503d4163fc68a", "spanId": "773096c26e5ae628", "parentSpanId": "d039281dbe2a43a5", "startTimeUnixNano": "1796073018501937195", "endTimeUnixNano": "1796073018503224821", "durationMs": 1.287626, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016481}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8cd11c0ff344ea724c8503d4163fc68a", "spanId": "d039281dbe2a43a5", "parentSpanId": "3193d7216c927363", "startTimeUnixNano": "1796073018496096819", "endTimeUnixNano": "1796073018503297418", "durationMs": 7.200599, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8cd11c0ff344ea724c8503d4163fc68a", "spanId": "f0ec32778b2ed59f", "parentSpanId": "3193d7216c927363", "startTimeUnixNano": "1796073018503314791", "endTimeUnixNano": "1796073018504324033", "durationMs": 1.009242, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8cd11c0ff344ea724c8503d4163fc68a", "spanId": "3193d7216c927363", "parentSpanId": "93e8db6c76a1d758", "startTimeUnixNano": "1796073018490820205", "endTimeUnixNano": "1796073018504362035", "durationMs": 13.54183, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.034428, "db.connection": "reader", "db.lock_wait_ms": 2.906}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8cd11c0ff344ea724c8503d4163fc68a", "spanId": "93e8db6c76a1d758", "parentSpanId": "d8a16e5ed4ba6356", "startTimeUnixNano": "1796073018490805547", "endTimeUnixNano": "1796073018504387853", "durationMs": 13.582306, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8cd11c0ff344ea724c8503d4163fc68a", "spanId": "d8a16e5ed4ba6356", "parentSpanId": "cdae9dd460da72d8", "startTimeUnixNano": "1796073018490713664", "endTimeUnixNano": "1796073018504396279", "durationMs": 13.682615, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8cd11c0ff344ea724c8503d4163fc68a", "spanId": "cdae9dd460da72d8", "startTimeUnixNano": "1796073018490679861", "endTimeUnixNano": "1796073018504409484", "durationMs": 13.729623, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "53470dae858f93f9dfae609aee1a4d58", "spanId": "560e9f695be490a7", "parentSpanId": "48907b5d8f80a9e1", "startTimeUnixNano": "1796073018877960745", "endTimeUnixNano": "1796073018878721850", "durationMs": 0.761105, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "53470dae858f93f9dfae609aee1a4d58", "spanId": "64cef410c4329144", "parentSpanId": "960daa5702bba72d", "startTimeUnixNano": "1796073018878790018", "endTimeUnixNano": "1796073018879264282", "durationMs": 0.474264, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008176}}
{"type": "effect-span", "name": "sqlite", "traceId": "53470dae858f93f9dfae609aee1a4d58", "spanId": "573f1e21d7dca837", "parentSpanId": "960daa5702bba72d", "startTimeUnixNano": "1796073018879375632", "endTimeUnixNano": "1796073018879930638", "durationMs": 0.555006, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015309}}
{"type": "effect-span", "name": "sqlite", "traceId": "53470dae858f93f9dfae609aee1a4d58", "spanId": "8aa1be9a4c0100e0", "parentSpanId": "960daa5702bba72d", "startTimeUnixNano": "1796073018879954483", "endTimeUnixNano": "1796073018880638201", "durationMs": 0.683718, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010239}}
{"type": "effect-span", "name": "sqlite", "traceId": "53470dae858f93f9dfae609aee1a4d58", "spanId": "63a05b53d9061002", "parentSpanId": "960daa5702bba72d", "startTimeUnixNano": "1796073018881376533", "endTimeUnixNano": "1796073018882374814", "durationMs": 0.998281, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.027241}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "53470dae858f93f9dfae609aee1a4d58", "spanId": "960daa5702bba72d", "parentSpanId": "48907b5d8f80a9e1", "startTimeUnixNano": "1796073018878780360", "endTimeUnixNano": "1796073018882460976", "durationMs": 3.680616, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "53470dae858f93f9dfae609aee1a4d58", "spanId": "ecb5481f480f2d55", "parentSpanId": "48907b5d8f80a9e1", "startTimeUnixNano": "1796073018882492726", "endTimeUnixNano": "1796073018882865058", "durationMs": 0.372332, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "53470dae858f93f9dfae609aee1a4d58", "spanId": "48907b5d8f80a9e1", "parentSpanId": "562c11dac9705312", "startTimeUnixNano": "1796073018876036509", "endTimeUnixNano": "1796073018882888362", "durationMs": 6.851853, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.909298, "db.connection": "reader", "db.lock_wait_ms": 1.868}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "53470dae858f93f9dfae609aee1a4d58", "spanId": "562c11dac9705312", "parentSpanId": "0409ec5df5331c41", "startTimeUnixNano": "1796073018876024887", "endTimeUnixNano": "1796073018882905033", "durationMs": 6.880146, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "53470dae858f93f9dfae609aee1a4d58", "spanId": "0409ec5df5331c41", "parentSpanId": "5bdddfc7d8bdce12", "startTimeUnixNano": "1796073018875967720", "endTimeUnixNano": "1796073018882911986", "durationMs": 6.944266, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "53470dae858f93f9dfae609aee1a4d58", "spanId": "5bdddfc7d8bdce12", "startTimeUnixNano": "1796073018875944105", "endTimeUnixNano": "1796073018882922045", "durationMs": 6.97794, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b47ba6839e58ea42f5a8f0576b3dc1e7", "spanId": "5971516c779e8ebe", "parentSpanId": "ea3ff3bd2b24385d", "startTimeUnixNano": "1796073021477670074", "endTimeUnixNano": "1796073021478007560", "durationMs": 0.337486, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b47ba6839e58ea42f5a8f0576b3dc1e7", "spanId": "51032f97259cbda1", "parentSpanId": "fb1afabafc8530f2", "startTimeUnixNano": "1796073021478149207", "endTimeUnixNano": "1796073021479470026", "durationMs": 1.320819, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.02143}}
{"type": "effect-span", "name": "sqlite", "traceId": "b47ba6839e58ea42f5a8f0576b3dc1e7", "spanId": "ed97f63585c90290", "parentSpanId": "fb1afabafc8530f2", "startTimeUnixNano": "1796073021479633564", "endTimeUnixNano": "1796073021480175415", "durationMs": 0.541851, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.022552}}
{"type": "effect-span", "name": "sqlite", "traceId": "b47ba6839e58ea42f5a8f0576b3dc1e7", "spanId": "44d0b46583b95e46", "parentSpanId": "fb1afabafc8530f2", "startTimeUnixNano": "1796073021480230399", "endTimeUnixNano": "1796073021480809790", "durationMs": 0.579391, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.020548}}
{"type": "effect-span", "name": "sqlite", "traceId": "b47ba6839e58ea42f5a8f0576b3dc1e7", "spanId": "d1ed2e7439e2e866", "parentSpanId": "fb1afabafc8530f2", "startTimeUnixNano": "1796073021482529652", "endTimeUnixNano": "1796073021486832170", "durationMs": 4.302518, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.024646}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b47ba6839e58ea42f5a8f0576b3dc1e7", "spanId": "fb1afabafc8530f2", "parentSpanId": "ea3ff3bd2b24385d", "startTimeUnixNano": "1796073021478135601", "endTimeUnixNano": "1796073021486919504", "durationMs": 8.783903, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b47ba6839e58ea42f5a8f0576b3dc1e7", "spanId": "c93b4ef3ee17159d", "parentSpanId": "ea3ff3bd2b24385d", "startTimeUnixNano": "1796073021486946866", "endTimeUnixNano": "1796073021488636520", "durationMs": 1.689654, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b47ba6839e58ea42f5a8f0576b3dc1e7", "spanId": "ea3ff3bd2b24385d", "parentSpanId": "e3006570ec888678", "startTimeUnixNano": "1796073021473380640", "endTimeUnixNano": "1796073021488717002", "durationMs": 15.336362, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.282761, "db.connection": "reader", "db.lock_wait_ms": 4.117}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b47ba6839e58ea42f5a8f0576b3dc1e7", "spanId": "e3006570ec888678", "parentSpanId": "a2413dd59861ecc3", "startTimeUnixNano": "1796073021473355152", "endTimeUnixNano": "1796073021488755113", "durationMs": 15.399961, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b47ba6839e58ea42f5a8f0576b3dc1e7", "spanId": "a2413dd59861ecc3", "parentSpanId": "ff02dbfefcdd9a9a", "startTimeUnixNano": "1796073021473245165", "endTimeUnixNano": "1796073021488770853", "durationMs": 15.525688, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b47ba6839e58ea42f5a8f0576b3dc1e7", "spanId": "ff02dbfefcdd9a9a", "startTimeUnixNano": "1796073021473209147", "endTimeUnixNano": "1796073021488802102", "durationMs": 15.592955, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "dda2be2c353acc0c3a2d7c7219b8b3e9", "spanId": "268fc5a912fd4144", "parentSpanId": "98c70e95c9b30071", "startTimeUnixNano": "1796073023593632302", "endTimeUnixNano": "1796073023594216393", "durationMs": 0.584091, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "dda2be2c353acc0c3a2d7c7219b8b3e9", "spanId": "e8763f13f8b36376", "parentSpanId": "e66ed9793544975f", "startTimeUnixNano": "1796073023594271447", "endTimeUnixNano": "1796073023595037090", "durationMs": 0.765643, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008766}}
{"type": "effect-span", "name": "sqlite", "traceId": "dda2be2c353acc0c3a2d7c7219b8b3e9", "spanId": "a890e77f641ff0e1", "parentSpanId": "e66ed9793544975f", "startTimeUnixNano": "1796073023595171162", "endTimeUnixNano": "1796073023596225790", "durationMs": 1.054628, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.023755}}
{"type": "effect-span", "name": "sqlite", "traceId": "dda2be2c353acc0c3a2d7c7219b8b3e9", "spanId": "c2f38443877bd96b", "parentSpanId": "e66ed9793544975f", "startTimeUnixNano": "1796073023596258882", "endTimeUnixNano": "1796073023596762621", "durationMs": 0.503739, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01571}}
{"type": "effect-span", "name": "sqlite", "traceId": "dda2be2c353acc0c3a2d7c7219b8b3e9", "spanId": "a38c07ed0ce0b606", "parentSpanId": "e66ed9793544975f", "startTimeUnixNano": "1796073023597719685", "endTimeUnixNano": "1796073023598660809", "durationMs": 0.941124, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.02105}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "dda2be2c353acc0c3a2d7c7219b8b3e9", "spanId": "e66ed9793544975f", "parentSpanId": "98c70e95c9b30071", "startTimeUnixNano": "1796073023594261338", "endTimeUnixNano": "1796073023598732093", "durationMs": 4.470755, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "dda2be2c353acc0c3a2d7c7219b8b3e9", "spanId": "906fad8b9b2c69cf", "parentSpanId": "98c70e95c9b30071", "startTimeUnixNano": "1796073023598746650", "endTimeUnixNano": "1796073023613020159", "durationMs": 14.273509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "dda2be2c353acc0c3a2d7c7219b8b3e9", "spanId": "98c70e95c9b30071", "parentSpanId": "35ba41ee07dd21d8", "startTimeUnixNano": "1796073023592088814", "endTimeUnixNano": "1796073023613054824", "durationMs": 20.96601, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.538048, "db.connection": "reader", "db.lock_wait_ms": 1.486}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "dda2be2c353acc0c3a2d7c7219b8b3e9", "spanId": "35ba41ee07dd21d8", "parentSpanId": "967b02b17aecb401", "startTimeUnixNano": "1796073023592072212", "endTimeUnixNano": "1796073023613091223", "durationMs": 21.019011, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "dda2be2c353acc0c3a2d7c7219b8b3e9", "spanId": "967b02b17aecb401", "parentSpanId": "819827e6b5c8175b", "startTimeUnixNano": "1796073023592014083", "endTimeUnixNano": "1796073023613097524", "durationMs": 21.083441, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "dda2be2c353acc0c3a2d7c7219b8b3e9", "spanId": "819827e6b5c8175b", "startTimeUnixNano": "1796073023591985739", "endTimeUnixNano": "1796073023613108064", "durationMs": 21.122325, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "add34e105b5a1a1e69890779e37d6dce", "spanId": "03a8b675f24bcb6b", "parentSpanId": "c9179dd499fca39e", "startTimeUnixNano": "1796073023951951672", "endTimeUnixNano": "1796073023953380945", "durationMs": 1.429273, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "add34e105b5a1a1e69890779e37d6dce", "spanId": "578741ae49f463eb", "parentSpanId": "3647fc57b719d290", "startTimeUnixNano": "1796073023953451448", "endTimeUnixNano": "1796073023954344661", "durationMs": 0.893213, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008296}}
{"type": "effect-span", "name": "sqlite", "traceId": "add34e105b5a1a1e69890779e37d6dce", "spanId": "a800f5647a79de81", "parentSpanId": "3647fc57b719d290", "startTimeUnixNano": "1796073023954458245", "endTimeUnixNano": "1796073023955104854", "durationMs": 0.646609, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013696}}
{"type": "effect-span", "name": "sqlite", "traceId": "add34e105b5a1a1e69890779e37d6dce", "spanId": "9a5b2d7965297e8d", "parentSpanId": "3647fc57b719d290", "startTimeUnixNano": "1796073023955116927", "endTimeUnixNano": "1796073023955650132", "durationMs": 0.533205, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009377}}
{"type": "effect-span", "name": "sqlite", "traceId": "add34e105b5a1a1e69890779e37d6dce", "spanId": "c5cda7301f23c849", "parentSpanId": "3647fc57b719d290", "startTimeUnixNano": "1796073023956367423", "endTimeUnixNano": "1796073023956889577", "durationMs": 0.522154, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015239}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "add34e105b5a1a1e69890779e37d6dce", "spanId": "3647fc57b719d290", "parentSpanId": "c9179dd499fca39e", "startTimeUnixNano": "1796073023953428164", "endTimeUnixNano": "1796073023956944721", "durationMs": 3.516557, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "add34e105b5a1a1e69890779e37d6dce", "spanId": "6cb3cc7bf9eb1111", "parentSpanId": "c9179dd499fca39e", "startTimeUnixNano": "1796073023956954359", "endTimeUnixNano": "1796073023957157332", "durationMs": 0.202973, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "add34e105b5a1a1e69890779e37d6dce", "spanId": "c9179dd499fca39e", "parentSpanId": "2c44eeb3df84efb4", "startTimeUnixNano": "1796073023948254985", "endTimeUnixNano": "1796073023957177380", "durationMs": 8.922395, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.683742, "db.connection": "reader", "db.lock_wait_ms": 3.539}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "add34e105b5a1a1e69890779e37d6dce", "spanId": "2c44eeb3df84efb4", "parentSpanId": "e29666defd9bee06", "startTimeUnixNano": "1796073023948235719", "endTimeUnixNano": "1796073023957193520", "durationMs": 8.957801, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "add34e105b5a1a1e69890779e37d6dce", "spanId": "e29666defd9bee06", "parentSpanId": "a9a8f6245f20dbac", "startTimeUnixNano": "1796073023948154185", "endTimeUnixNano": "1796073023957200433", "durationMs": 9.046248, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "add34e105b5a1a1e69890779e37d6dce", "spanId": "a9a8f6245f20dbac", "startTimeUnixNano": "1796073023948113559", "endTimeUnixNano": "1796073023957209721", "durationMs": 9.096162, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b5c2ef3930deafe88c17fa9e85bd4e2a", "spanId": "9b260003894a6bad", "parentSpanId": "5e35c312de591145", "startTimeUnixNano": "1796073024317798146", "endTimeUnixNano": "1796073024318590259", "durationMs": 0.792113, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b5c2ef3930deafe88c17fa9e85bd4e2a", "spanId": "d66ff57a8507aefe", "parentSpanId": "3730e411d041b545", "startTimeUnixNano": "1796073024318685809", "endTimeUnixNano": "1796073024319452394", "durationMs": 0.766585, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01038}}
{"type": "effect-span", "name": "sqlite", "traceId": "b5c2ef3930deafe88c17fa9e85bd4e2a", "spanId": "c5a200e314ed123b", "parentSpanId": "3730e411d041b545", "startTimeUnixNano": "1796073024319586567", "endTimeUnixNano": "1796073024320028860", "durationMs": 0.442293, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019917}}
{"type": "effect-span", "name": "sqlite", "traceId": "b5c2ef3930deafe88c17fa9e85bd4e2a", "spanId": "945ff7de0d4af83f", "parentSpanId": "3730e411d041b545", "startTimeUnixNano": "1796073024320056923", "endTimeUnixNano": "1796073024321214815", "durationMs": 1.157892, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016852}}
{"type": "effect-span", "name": "sqlite", "traceId": "b5c2ef3930deafe88c17fa9e85bd4e2a", "spanId": "683093b1b4b63bf8", "parentSpanId": "3730e411d041b545", "startTimeUnixNano": "1796073024322231651", "endTimeUnixNano": "1796073024323161243", "durationMs": 0.929592, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01596}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b5c2ef3930deafe88c17fa9e85bd4e2a", "spanId": "3730e411d041b545", "parentSpanId": "5e35c312de591145", "startTimeUnixNano": "1796073024318672384", "endTimeUnixNano": "1796073024323224462", "durationMs": 4.552078, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b5c2ef3930deafe88c17fa9e85bd4e2a", "spanId": "f91e86a26cbbab21", "parentSpanId": "5e35c312de591145", "startTimeUnixNano": "1796073024323237457", "endTimeUnixNano": "1796073024323384804", "durationMs": 0.147347, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b5c2ef3930deafe88c17fa9e85bd4e2a", "spanId": "5e35c312de591145", "parentSpanId": "c417a490a533a297", "startTimeUnixNano": "1796073024316049822", "endTimeUnixNano": "1796073024323413979", "durationMs": 7.364157, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.741141, "db.connection": "reader", "db.lock_wait_ms": 1.669}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b5c2ef3930deafe88c17fa9e85bd4e2a", "spanId": "c417a490a533a297", "parentSpanId": "40a60d49b7a7fe01", "startTimeUnixNano": "1796073024316033942", "endTimeUnixNano": "1796073024323463663", "durationMs": 7.429721, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b5c2ef3930deafe88c17fa9e85bd4e2a", "spanId": "40a60d49b7a7fe01", "parentSpanId": "191172156960546a", "startTimeUnixNano": "1796073024315976273", "endTimeUnixNano": "1796073024323483180", "durationMs": 7.506907, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b5c2ef3930deafe88c17fa9e85bd4e2a", "spanId": "191172156960546a", "startTimeUnixNano": "1796073024315950554", "endTimeUnixNano": "1796073024323497938", "durationMs": 7.547384, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "db2f0cc5786f6d074393c94d3744c358", "spanId": "b24ad693d43841bb", "parentSpanId": "b6847e61c415c791", "startTimeUnixNano": "1796073026503453518", "endTimeUnixNano": "1796073026503674875", "durationMs": 0.221357, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "db2f0cc5786f6d074393c94d3744c358", "spanId": "ac8ba21a3817e725", "parentSpanId": "5d6d2c7908c6ab0b", "startTimeUnixNano": "1796073026503734637", "endTimeUnixNano": "1796073026504691530", "durationMs": 0.956893, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009478}}
{"type": "effect-span", "name": "sqlite", "traceId": "db2f0cc5786f6d074393c94d3744c358", "spanId": "ed56c83fe02b3090", "parentSpanId": "5d6d2c7908c6ab0b", "startTimeUnixNano": "1796073026504811907", "endTimeUnixNano": "1796073026505080714", "durationMs": 0.268807, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014357}}
{"type": "effect-span", "name": "sqlite", "traceId": "db2f0cc5786f6d074393c94d3744c358", "spanId": "bc3af89343a09c91", "parentSpanId": "5d6d2c7908c6ab0b", "startTimeUnixNano": "1796073026505095311", "endTimeUnixNano": "1796073026505486709", "durationMs": 0.391398, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006933}}
{"type": "effect-span", "name": "sqlite", "traceId": "db2f0cc5786f6d074393c94d3744c358", "spanId": "70e9786526d00060", "parentSpanId": "5d6d2c7908c6ab0b", "startTimeUnixNano": "1796073026506055591", "endTimeUnixNano": "1796073026506527671", "durationMs": 0.47208, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012063}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "db2f0cc5786f6d074393c94d3744c358", "spanId": "5d6d2c7908c6ab0b", "parentSpanId": "b6847e61c415c791", "startTimeUnixNano": "1796073026503726141", "endTimeUnixNano": "1796073026506586692", "durationMs": 2.860551, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "db2f0cc5786f6d074393c94d3744c358", "spanId": "c0ebe7597c52eb46", "parentSpanId": "b6847e61c415c791", "startTimeUnixNano": "1796073026506599075", "endTimeUnixNano": "1796073026506994811", "durationMs": 0.395736, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "db2f0cc5786f6d074393c94d3744c358", "spanId": "b6847e61c415c791", "parentSpanId": "3745d2679d79e589", "startTimeUnixNano": "1796073026500970398", "endTimeUnixNano": "1796073026507018937", "durationMs": 6.048539, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.477789, "db.connection": "reader", "db.lock_wait_ms": 2.424}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "db2f0cc5786f6d074393c94d3744c358", "spanId": "3745d2679d79e589", "parentSpanId": "f3a5d000420908ec", "startTimeUnixNano": "1796073026500962032", "endTimeUnixNano": "1796073026507033053", "durationMs": 6.071021, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "db2f0cc5786f6d074393c94d3744c358", "spanId": "f3a5d000420908ec", "parentSpanId": "6b9ddd47e6625153", "startTimeUnixNano": "1796073026500920985", "endTimeUnixNano": "1796073026507038143", "durationMs": 6.117158, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "db2f0cc5786f6d074393c94d3744c358", "spanId": "6b9ddd47e6625153", "startTimeUnixNano": "1796073026500903742", "endTimeUnixNano": "1796073026507045537", "durationMs": 6.141795, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "389ec67e29a6123b0fe89e3ed68dc660", "spanId": "b13abcfb7ad002e6", "parentSpanId": "ca60df7dd7451e84", "startTimeUnixNano": "1796073026764582814", "endTimeUnixNano": "1796073026765119034", "durationMs": 0.53622, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "389ec67e29a6123b0fe89e3ed68dc660", "spanId": "2a9d8735f7312ba4", "parentSpanId": "70118d69aae0b4cd", "startTimeUnixNano": "1796073026765162757", "endTimeUnixNano": "1796073026765666446", "durationMs": 0.503689, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012203}}
{"type": "effect-span", "name": "sqlite", "traceId": "389ec67e29a6123b0fe89e3ed68dc660", "spanId": "e72658289fe022b9", "parentSpanId": "70118d69aae0b4cd", "startTimeUnixNano": "1796073026765746176", "endTimeUnixNano": "1796073026766455703", "durationMs": 0.709527, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009829}}
{"type": "effect-span", "name": "sqlite", "traceId": "389ec67e29a6123b0fe89e3ed68dc660", "spanId": "bebc217ce62f4abe", "parentSpanId": "70118d69aae0b4cd", "startTimeUnixNano": "1796073026766470712", "endTimeUnixNano": "1796073026766768132", "durationMs": 0.29742, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007444}}
{"type": "effect-span", "name": "sqlite", "traceId": "389ec67e29a6123b0fe89e3ed68dc660", "spanId": "a6a3ad8f9f8fa433", "parentSpanId": "70118d69aae0b4cd", "startTimeUnixNano": "1796073026767367372", "endTimeUnixNano": "1796073026767884977", "durationMs": 0.517605, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014457}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "389ec67e29a6123b0fe89e3ed68dc660", "spanId": "70118d69aae0b4cd", "parentSpanId": "ca60df7dd7451e84", "startTimeUnixNano": "1796073026765152678", "endTimeUnixNano": "1796073026767947204", "durationMs": 2.794526, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "389ec67e29a6123b0fe89e3ed68dc660", "spanId": "778e766bf4f6cef2", "parentSpanId": "ca60df7dd7451e84", "startTimeUnixNano": "1796073026767966441", "endTimeUnixNano": "1796073026768749336", "durationMs": 0.782895, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "389ec67e29a6123b0fe89e3ed68dc660", "spanId": "ca60df7dd7451e84", "parentSpanId": "2c9f514335e22961", "startTimeUnixNano": "1796073026763160013", "endTimeUnixNano": "1796073026768782869", "durationMs": 5.622856, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.417802, "db.connection": "reader", "db.lock_wait_ms": 1.352}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "389ec67e29a6123b0fe89e3ed68dc660", "spanId": "2c9f514335e22961", "parentSpanId": "879f8581e3460dbc", "startTimeUnixNano": "1796073026763150695", "endTimeUnixNano": "1796073026768807265", "durationMs": 5.65657, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "389ec67e29a6123b0fe89e3ed68dc660", "spanId": "879f8581e3460dbc", "parentSpanId": "7abf8e54f2578d92", "startTimeUnixNano": "1796073026763110409", "endTimeUnixNano": "1796073026768817564", "durationMs": 5.707155, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "389ec67e29a6123b0fe89e3ed68dc660", "spanId": "7abf8e54f2578d92", "startTimeUnixNano": "1796073026763094750", "endTimeUnixNano": "1796073026768829677", "durationMs": 5.734927, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "99076977aa922e5933d0f6eda07345f1", "spanId": "36a2268ac024c6d4", "parentSpanId": "e3f2b1fe15ae6cbf", "startTimeUnixNano": "1796073028059555082", "endTimeUnixNano": "1796073028060671847", "durationMs": 1.116765, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "99076977aa922e5933d0f6eda07345f1", "spanId": "608ff817bca42c21", "parentSpanId": "b953cf01d433f51b", "startTimeUnixNano": "1796073028060725418", "endTimeUnixNano": "1796073028062560596", "durationMs": 1.835178, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005991}}
{"type": "effect-span", "name": "sqlite", "traceId": "99076977aa922e5933d0f6eda07345f1", "spanId": "de9f7a80eb6b0648", "parentSpanId": "b953cf01d433f51b", "startTimeUnixNano": "1796073028062703105", "endTimeUnixNano": "1796073028063219598", "durationMs": 0.516493, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012694}}
{"type": "effect-span", "name": "sqlite", "traceId": "99076977aa922e5933d0f6eda07345f1", "spanId": "64af6bdbada9ee77", "parentSpanId": "b953cf01d433f51b", "startTimeUnixNano": "1796073028063231410", "endTimeUnixNano": "1796073028063825530", "durationMs": 0.59412, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013055}}
{"type": "effect-span", "name": "sqlite", "traceId": "99076977aa922e5933d0f6eda07345f1", "spanId": "ec62c0f1375844f6", "parentSpanId": "b953cf01d433f51b", "startTimeUnixNano": "1796073028064376278", "endTimeUnixNano": "1796073028064939088", "durationMs": 0.56281, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012904}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "99076977aa922e5933d0f6eda07345f1", "spanId": "b953cf01d433f51b", "parentSpanId": "e3f2b1fe15ae6cbf", "startTimeUnixNano": "1796073028060717382", "endTimeUnixNano": "1796073028064996216", "durationMs": 4.278834, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "99076977aa922e5933d0f6eda07345f1", "spanId": "dadd50919a38d692", "parentSpanId": "e3f2b1fe15ae6cbf", "startTimeUnixNano": "1796073028065009822", "endTimeUnixNano": "1796073028065218284", "durationMs": 0.208462, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "99076977aa922e5933d0f6eda07345f1", "spanId": "e3f2b1fe15ae6cbf", "parentSpanId": "c96094f8aedbda79", "startTimeUnixNano": "1796073028056473385", "endTimeUnixNano": "1796073028065239104", "durationMs": 8.765719, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.073131, "db.connection": "reader", "db.lock_wait_ms": 2.944}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "99076977aa922e5933d0f6eda07345f1", "spanId": "c96094f8aedbda79", "parentSpanId": "50b213b7d5d03873", "startTimeUnixNano": "1796073028056422038", "endTimeUnixNano": "1796073028065260564", "durationMs": 8.838526, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "99076977aa922e5933d0f6eda07345f1", "spanId": "50b213b7d5d03873", "parentSpanId": "b91a161b164b8504", "startTimeUnixNano": "1796073028056279509", "endTimeUnixNano": "1796073028065266756", "durationMs": 8.987247, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "99076977aa922e5933d0f6eda07345f1", "spanId": "b91a161b164b8504", "startTimeUnixNano": "1796073028056224025", "endTimeUnixNano": "1796073028065276674", "durationMs": 9.052649, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e46b5d0e0ac72ddbec83344c56ef376b", "spanId": "f36c34e248c17de5", "parentSpanId": "4005884df0c6d094", "startTimeUnixNano": "1796073028305304756", "endTimeUnixNano": "1796073028305643675", "durationMs": 0.338919, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e46b5d0e0ac72ddbec83344c56ef376b", "spanId": "9a80c445e428d48a", "parentSpanId": "fb9a3ee6731cfe1d", "startTimeUnixNano": "1796073028305731270", "endTimeUnixNano": "1796073028306120453", "durationMs": 0.389183, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009398}}
{"type": "effect-span", "name": "sqlite", "traceId": "e46b5d0e0ac72ddbec83344c56ef376b", "spanId": "9bc4fa8532c31ab0", "parentSpanId": "fb9a3ee6731cfe1d", "startTimeUnixNano": "1796073028306268813", "endTimeUnixNano": "1796073028306664759", "durationMs": 0.395946, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019827}}
{"type": "effect-span", "name": "sqlite", "traceId": "e46b5d0e0ac72ddbec83344c56ef376b", "spanId": "4a8b91e1a235fab1", "parentSpanId": "fb9a3ee6731cfe1d", "startTimeUnixNano": "1796073028306695718", "endTimeUnixNano": "1796073028307606254", "durationMs": 0.910536, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013245}}
{"type": "effect-span", "name": "sqlite", "traceId": "e46b5d0e0ac72ddbec83344c56ef376b", "spanId": "da20a27f9e486223", "parentSpanId": "fb9a3ee6731cfe1d", "startTimeUnixNano": "1796073028308394519", "endTimeUnixNano": "1796073028309089278", "durationMs": 0.694759, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023074}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e46b5d0e0ac72ddbec83344c56ef376b", "spanId": "fb9a3ee6731cfe1d", "parentSpanId": "4005884df0c6d094", "startTimeUnixNano": "1796073028305721492", "endTimeUnixNano": "1796073028309155353", "durationMs": 3.433861, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e46b5d0e0ac72ddbec83344c56ef376b", "spanId": "5b7d776dfde173e6", "parentSpanId": "4005884df0c6d094", "startTimeUnixNano": "1796073028309167957", "endTimeUnixNano": "1796073028309727120", "durationMs": 0.559163, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e46b5d0e0ac72ddbec83344c56ef376b", "spanId": "4005884df0c6d094", "parentSpanId": "23f425b3852d8fbe", "startTimeUnixNano": "1796073028303020181", "endTimeUnixNano": "1796073028309751636", "durationMs": 6.731455, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.278414, "db.connection": "reader", "db.lock_wait_ms": 2.217}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e46b5d0e0ac72ddbec83344c56ef376b", "spanId": "23f425b3852d8fbe", "parentSpanId": "ae27c3980a5e5d92", "startTimeUnixNano": "1796073028302996516", "endTimeUnixNano": "1796073028309774039", "durationMs": 6.777523, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e46b5d0e0ac72ddbec83344c56ef376b", "spanId": "ae27c3980a5e5d92", "parentSpanId": "d1a0a1112b09700d", "startTimeUnixNano": "1796073028302937385", "endTimeUnixNano": "1796073028309780120", "durationMs": 6.842735, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e46b5d0e0ac72ddbec83344c56ef376b", "spanId": "d1a0a1112b09700d", "startTimeUnixNano": "1796073028302914061", "endTimeUnixNano": "1796073028309790380", "durationMs": 6.876319, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "afc6ff9442fd279352c23b810ff39e00", "spanId": "6e6b74087ecde840", "parentSpanId": "84ecd31146822730", "startTimeUnixNano": "1796073029541283724", "endTimeUnixNano": "1796073029542356566", "durationMs": 1.072842, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "afc6ff9442fd279352c23b810ff39e00", "spanId": "c35c87b8aaf29f0e", "parentSpanId": "5fb9b6b6ff785f14", "startTimeUnixNano": "1796073029542407943", "endTimeUnixNano": "1796073029543250561", "durationMs": 0.842618, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005891}}
{"type": "effect-span", "name": "sqlite", "traceId": "afc6ff9442fd279352c23b810ff39e00", "spanId": "594095cd23790fc5", "parentSpanId": "5fb9b6b6ff785f14", "startTimeUnixNano": "1796073029543376698", "endTimeUnixNano": "1796073029544018047", "durationMs": 0.641349, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014628}}
{"type": "effect-span", "name": "sqlite", "traceId": "afc6ff9442fd279352c23b810ff39e00", "spanId": "5c1e497f8bf8271e", "parentSpanId": "5fb9b6b6ff785f14", "startTimeUnixNano": "1796073029544029348", "endTimeUnixNano": "1796073029544485187", "durationMs": 0.455839, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008186}}
{"type": "effect-span", "name": "sqlite", "traceId": "afc6ff9442fd279352c23b810ff39e00", "spanId": "b9ddf65890e1308f", "parentSpanId": "5fb9b6b6ff785f14", "startTimeUnixNano": "1796073029545073065", "endTimeUnixNano": "1796073029545547800", "durationMs": 0.474735, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011842}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "afc6ff9442fd279352c23b810ff39e00", "spanId": "5fb9b6b6ff785f14", "parentSpanId": "84ecd31146822730", "startTimeUnixNano": "1796073029542400629", "endTimeUnixNano": "1796073029545602773", "durationMs": 3.202144, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "afc6ff9442fd279352c23b810ff39e00", "spanId": "f592e23be3e7ada2", "parentSpanId": "84ecd31146822730", "startTimeUnixNano": "1796073029545614365", "endTimeUnixNano": "1796073029545814062", "durationMs": 0.199697, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "afc6ff9442fd279352c23b810ff39e00", "spanId": "84ecd31146822730", "parentSpanId": "b86274e3d61ab251", "startTimeUnixNano": "1796073029538827526", "endTimeUnixNano": "1796073029545834250", "durationMs": 7.006724, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.448834, "db.connection": "reader", "db.lock_wait_ms": 2.334}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "afc6ff9442fd279352c23b810ff39e00", "spanId": "b86274e3d61ab251", "parentSpanId": "2f93395b596d8e8b", "startTimeUnixNano": "1796073029538816815", "endTimeUnixNano": "1796073029545851031", "durationMs": 7.034216, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "afc6ff9442fd279352c23b810ff39e00", "spanId": "2f93395b596d8e8b", "parentSpanId": "3a7323ba4443b51c", "startTimeUnixNano": "1796073029538756532", "endTimeUnixNano": "1796073029545856632", "durationMs": 7.1001, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "afc6ff9442fd279352c23b810ff39e00", "spanId": "3a7323ba4443b51c", "startTimeUnixNano": "1796073029538734069", "endTimeUnixNano": "1796073029545864968", "durationMs": 7.130899, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b8a87f334c914e83b11d3cb9526125dc", "spanId": "640014a8ee58bb99", "parentSpanId": "97a03e65fe7c015a", "startTimeUnixNano": "1796073029801287551", "endTimeUnixNano": "1796073029801940040", "durationMs": 0.652489, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b8a87f334c914e83b11d3cb9526125dc", "spanId": "0b541a893fb3a4ff", "parentSpanId": "f4b3d2a14c42c4ba", "startTimeUnixNano": "1796073029802016855", "endTimeUnixNano": "1796073029802719740", "durationMs": 0.702885, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01076}}
{"type": "effect-span", "name": "sqlite", "traceId": "b8a87f334c914e83b11d3cb9526125dc", "spanId": "3b4ebd202e879b4c", "parentSpanId": "f4b3d2a14c42c4ba", "startTimeUnixNano": "1796073029802840627", "endTimeUnixNano": "1796073029803230171", "durationMs": 0.389544, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018626}}
{"type": "effect-span", "name": "sqlite", "traceId": "b8a87f334c914e83b11d3cb9526125dc", "spanId": "9f7b617f3acee383", "parentSpanId": "f4b3d2a14c42c4ba", "startTimeUnixNano": "1796073029803257994", "endTimeUnixNano": "1796073029804011283", "durationMs": 0.753289, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014808}}
{"type": "effect-span", "name": "sqlite", "traceId": "b8a87f334c914e83b11d3cb9526125dc", "spanId": "eec06246202b3522", "parentSpanId": "f4b3d2a14c42c4ba", "startTimeUnixNano": "1796073029804786825", "endTimeUnixNano": "1796073029805377829", "durationMs": 0.591004, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01569}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b8a87f334c914e83b11d3cb9526125dc", "spanId": "f4b3d2a14c42c4ba", "parentSpanId": "97a03e65fe7c015a", "startTimeUnixNano": "1796073029802004953", "endTimeUnixNano": "1796073029805449544", "durationMs": 3.444591, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b8a87f334c914e83b11d3cb9526125dc", "spanId": "a5c04d3614d4dc5f", "parentSpanId": "97a03e65fe7c015a", "startTimeUnixNano": "1796073029805469612", "endTimeUnixNano": "1796073029806011583", "durationMs": 0.541971, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b8a87f334c914e83b11d3cb9526125dc", "spanId": "97a03e65fe7c015a", "parentSpanId": "79ab2e14beb07baf", "startTimeUnixNano": "1796073029799498098", "endTimeUnixNano": "1796073029806038223", "durationMs": 6.540125, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.783161, "db.connection": "reader", "db.lock_wait_ms": 1.724}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b8a87f334c914e83b11d3cb9526125dc", "spanId": "79ab2e14beb07baf", "parentSpanId": "4cc0e1f77e0f9505", "startTimeUnixNano": "1796073029799480776", "endTimeUnixNano": "1796073029806052751", "durationMs": 6.571975, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b8a87f334c914e83b11d3cb9526125dc", "spanId": "4cc0e1f77e0f9505", "parentSpanId": "d7330840adeebc2f", "startTimeUnixNano": "1796073029799404913", "endTimeUnixNano": "1796073029806059463", "durationMs": 6.65455, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b8a87f334c914e83b11d3cb9526125dc", "spanId": "d7330840adeebc2f", "startTimeUnixNano": "1796073029799377561", "endTimeUnixNano": "1796073029806069993", "durationMs": 6.692432, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bc216f91a726410629feb38580e645fb", "spanId": "812c0ab3b02ebb0a", "parentSpanId": "4bdd482cd534acc5", "startTimeUnixNano": "1796073031060675355", "endTimeUnixNano": "1796073031062411496", "durationMs": 1.736141, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bc216f91a726410629feb38580e645fb", "spanId": "3aead228c2bef614", "parentSpanId": "bb00bebb020f61bf", "startTimeUnixNano": "1796073031062528327", "endTimeUnixNano": "1796073031064061576", "durationMs": 1.533249, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010179}}
{"type": "effect-span", "name": "sqlite", "traceId": "bc216f91a726410629feb38580e645fb", "spanId": "073236b08fac06c0", "parentSpanId": "bb00bebb020f61bf", "startTimeUnixNano": "1796073031064249490", "endTimeUnixNano": "1796073031065052864", "durationMs": 0.803374, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.021641}}
{"type": "effect-span", "name": "sqlite", "traceId": "bc216f91a726410629feb38580e645fb", "spanId": "8012c00e7e6ce67c", "parentSpanId": "bb00bebb020f61bf", "startTimeUnixNano": "1796073031065078763", "endTimeUnixNano": "1796073031066132218", "durationMs": 1.053455, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.022492}}
{"type": "effect-span", "name": "sqlite", "traceId": "bc216f91a726410629feb38580e645fb", "spanId": "4393588248dd7164", "parentSpanId": "bb00bebb020f61bf", "startTimeUnixNano": "1796073031067221611", "endTimeUnixNano": "1796073031068398849", "durationMs": 1.177238, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.035838}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bc216f91a726410629feb38580e645fb", "spanId": "bb00bebb020f61bf", "parentSpanId": "4bdd482cd534acc5", "startTimeUnixNano": "1796073031062512647", "endTimeUnixNano": "1796073031068534405", "durationMs": 6.021758, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bc216f91a726410629feb38580e645fb", "spanId": "541dc316e3323a81", "parentSpanId": "4bdd482cd534acc5", "startTimeUnixNano": "1796073031068578608", "endTimeUnixNano": "1796073031069006495", "durationMs": 0.427887, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bc216f91a726410629feb38580e645fb", "spanId": "4bdd482cd534acc5", "parentSpanId": "81a498dfdbc826be", "startTimeUnixNano": "1796073031057086351", "endTimeUnixNano": "1796073031069060166", "durationMs": 11.973815, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.577832, "db.connection": "reader", "db.lock_wait_ms": 3.458}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bc216f91a726410629feb38580e645fb", "spanId": "81a498dfdbc826be", "parentSpanId": "edf7becd355d566f", "startTimeUnixNano": "1796073031057062757", "endTimeUnixNano": "1796073031069102015", "durationMs": 12.039258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bc216f91a726410629feb38580e645fb", "spanId": "edf7becd355d566f", "parentSpanId": "9cc7369e923d7f64", "startTimeUnixNano": "1796073031056959442", "endTimeUnixNano": "1796073031069115229", "durationMs": 12.155787, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bc216f91a726410629feb38580e645fb", "spanId": "9cc7369e923d7f64", "startTimeUnixNano": "1796073031056916892", "endTimeUnixNano": "1796073031069131430", "durationMs": 12.214538, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7d73232c479b3fb0228e5f30c330f1b0", "spanId": "d5ba190839570761", "parentSpanId": "d157279d58edb85d", "startTimeUnixNano": "1796073031330329538", "endTimeUnixNano": "1796073031331255823", "durationMs": 0.926285, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d73232c479b3fb0228e5f30c330f1b0", "spanId": "3ac9166f5ec9a6e1", "parentSpanId": "ea0d709e6cdfd8ea", "startTimeUnixNano": "1796073031331334421", "endTimeUnixNano": "1796073031332179504", "durationMs": 0.845083, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008546}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d73232c479b3fb0228e5f30c330f1b0", "spanId": "ff7cbab3ee323085", "parentSpanId": "ea0d709e6cdfd8ea", "startTimeUnixNano": "1796073031332352520", "endTimeUnixNano": "1796073031332869404", "durationMs": 0.516884, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.022582}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d73232c479b3fb0228e5f30c330f1b0", "spanId": "e7e486c2d16118d4", "parentSpanId": "ea0d709e6cdfd8ea", "startTimeUnixNano": "1796073031332900362", "endTimeUnixNano": "1796073031333902481", "durationMs": 1.002119, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.02092}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d73232c479b3fb0228e5f30c330f1b0", "spanId": "106081fdff9380c6", "parentSpanId": "ea0d709e6cdfd8ea", "startTimeUnixNano": "1796073031335088416", "endTimeUnixNano": "1796073031335781362", "durationMs": 0.692946, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.033934}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7d73232c479b3fb0228e5f30c330f1b0", "spanId": "ea0d709e6cdfd8ea", "parentSpanId": "d157279d58edb85d", "startTimeUnixNano": "1796073031331321657", "endTimeUnixNano": "1796073031335864258", "durationMs": 4.542601, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7d73232c479b3fb0228e5f30c330f1b0", "spanId": "cdd7c2b4c52e6b80", "parentSpanId": "d157279d58edb85d", "startTimeUnixNano": "1796073031335884716", "endTimeUnixNano": "1796073031336126943", "durationMs": 0.242227, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7d73232c479b3fb0228e5f30c330f1b0", "spanId": "d157279d58edb85d", "parentSpanId": "0880af34ab7cc519", "startTimeUnixNano": "1796073031328001961", "endTimeUnixNano": "1796073031336164624", "durationMs": 8.162663, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.31899, "db.connection": "reader", "db.lock_wait_ms": 2.208}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7d73232c479b3fb0228e5f30c330f1b0", "spanId": "0880af34ab7cc519", "parentSpanId": "29128eeeda6002e6", "startTimeUnixNano": "1796073031327987985", "endTimeUnixNano": "1796073031336193398", "durationMs": 8.205413, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7d73232c479b3fb0228e5f30c330f1b0", "spanId": "29128eeeda6002e6", "parentSpanId": "8f8a971e5e877af1", "startTimeUnixNano": "1796073031327924746", "endTimeUnixNano": "1796073031336202856", "durationMs": 8.27811, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7d73232c479b3fb0228e5f30c330f1b0", "spanId": "8f8a971e5e877af1", "startTimeUnixNano": "1796073031327896713", "endTimeUnixNano": "1796073031336216111", "durationMs": 8.319398, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fac6b089ecbf17bf3a82ad704bfa1a03", "spanId": "9fbe868c9b470e56", "parentSpanId": "17c4dac49e7d3da9", "startTimeUnixNano": "1796073032543445205", "endTimeUnixNano": "1796073032543602201", "durationMs": 0.156996, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fac6b089ecbf17bf3a82ad704bfa1a03", "spanId": "2c8ef3e9f1b0c493", "parentSpanId": "30f19ea672961249", "startTimeUnixNano": "1796073032543646404", "endTimeUnixNano": "1796073032544237879", "durationMs": 0.591475, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006723}}
{"type": "effect-span", "name": "sqlite", "traceId": "fac6b089ecbf17bf3a82ad704bfa1a03", "spanId": "472243f566b7e9ff", "parentSpanId": "30f19ea672961249", "startTimeUnixNano": "1796073032544320905", "endTimeUnixNano": "1796073032544746758", "durationMs": 0.425853, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010861}}
{"type": "effect-span", "name": "sqlite", "traceId": "fac6b089ecbf17bf3a82ad704bfa1a03", "spanId": "09a6ff03533b6ecd", "parentSpanId": "30f19ea672961249", "startTimeUnixNano": "1796073032544767126", "endTimeUnixNano": "1796073032544969678", "durationMs": 0.202552, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008927}}
{"type": "effect-span", "name": "sqlite", "traceId": "fac6b089ecbf17bf3a82ad704bfa1a03", "spanId": "34e1668de82032aa", "parentSpanId": "30f19ea672961249", "startTimeUnixNano": "1796073032545601358", "endTimeUnixNano": "1796073032546035055", "durationMs": 0.433697, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014878}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fac6b089ecbf17bf3a82ad704bfa1a03", "spanId": "30f19ea672961249", "parentSpanId": "17c4dac49e7d3da9", "startTimeUnixNano": "1796073032543639561", "endTimeUnixNano": "1796073032546085280", "durationMs": 2.445719, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fac6b089ecbf17bf3a82ad704bfa1a03", "spanId": "df1027e00576675a", "parentSpanId": "17c4dac49e7d3da9", "startTimeUnixNano": "1796073032546098375", "endTimeUnixNano": "1796073032546662067", "durationMs": 0.563692, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fac6b089ecbf17bf3a82ad704bfa1a03", "spanId": "17c4dac49e7d3da9", "parentSpanId": "a31ec6ae552d03b8", "startTimeUnixNano": "1796073032540760596", "endTimeUnixNano": "1796073032546715458", "durationMs": 5.954862, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.666465, "db.connection": "reader", "db.lock_wait_ms": 2.618}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fac6b089ecbf17bf3a82ad704bfa1a03", "spanId": "a31ec6ae552d03b8", "parentSpanId": "e8aaca71cfeead96", "startTimeUnixNano": "1796073032540745528", "endTimeUnixNano": "1796073032546734313", "durationMs": 5.988785, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fac6b089ecbf17bf3a82ad704bfa1a03", "spanId": "e8aaca71cfeead96", "parentSpanId": "665135c02dfb7184", "startTimeUnixNano": "1796073032540681918", "endTimeUnixNano": "1796073032546741697", "durationMs": 6.059779, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fac6b089ecbf17bf3a82ad704bfa1a03", "spanId": "665135c02dfb7184", "startTimeUnixNano": "1796073032540605804", "endTimeUnixNano": "1796073032546750874", "durationMs": 6.14507, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1df5c9b1edbc9381f7c1264f8a3936fe", "spanId": "67bd10a628454071", "parentSpanId": "7ce55a89b75dc31e", "startTimeUnixNano": "1796073032766063247", "endTimeUnixNano": "1796073032766228469", "durationMs": 0.165222, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1df5c9b1edbc9381f7c1264f8a3936fe", "spanId": "2586986c41d5f989", "parentSpanId": "9bfa5581a81557b4", "startTimeUnixNano": "1796073032766292119", "endTimeUnixNano": "1796073032766619526", "durationMs": 0.327407, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009387}}
{"type": "effect-span", "name": "sqlite", "traceId": "1df5c9b1edbc9381f7c1264f8a3936fe", "spanId": "b2e1f98fa5c8ee0c", "parentSpanId": "9bfa5581a81557b4", "startTimeUnixNano": "1796073032766706560", "endTimeUnixNano": "1796073032767056018", "durationMs": 0.349458, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009508}}
{"type": "effect-span", "name": "sqlite", "traceId": "1df5c9b1edbc9381f7c1264f8a3936fe", "spanId": "86da14408d0eafa6", "parentSpanId": "9bfa5581a81557b4", "startTimeUnixNano": "1796073032767074092", "endTimeUnixNano": "1796073032767682809", "durationMs": 0.608717, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008236}}
{"type": "effect-span", "name": "sqlite", "traceId": "1df5c9b1edbc9381f7c1264f8a3936fe", "spanId": "5262177bae0024ab", "parentSpanId": "9bfa5581a81557b4", "startTimeUnixNano": "1796073032768298129", "endTimeUnixNano": "1796073032768898180", "durationMs": 0.600051, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014928}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1df5c9b1edbc9381f7c1264f8a3936fe", "spanId": "9bfa5581a81557b4", "parentSpanId": "7ce55a89b75dc31e", "startTimeUnixNano": "1796073032766282761", "endTimeUnixNano": "1796073032768954887", "durationMs": 2.672126, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1df5c9b1edbc9381f7c1264f8a3936fe", "spanId": "ab016675885b8e36", "parentSpanId": "7ce55a89b75dc31e", "startTimeUnixNano": "1796073032768965527", "endTimeUnixNano": "1796073032769686836", "durationMs": 0.721309, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1df5c9b1edbc9381f7c1264f8a3936fe", "spanId": "7ce55a89b75dc31e", "parentSpanId": "f9ddcc4933d1f8aa", "startTimeUnixNano": "1796073032764625328", "endTimeUnixNano": "1796073032769711332", "durationMs": 5.086004, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.434162, "db.connection": "reader", "db.lock_wait_ms": 1.38}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1df5c9b1edbc9381f7c1264f8a3936fe", "spanId": "f9ddcc4933d1f8aa", "parentSpanId": "490e216932800cf8", "startTimeUnixNano": "1796073032764608826", "endTimeUnixNano": "1796073032769724537", "durationMs": 5.115711, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1df5c9b1edbc9381f7c1264f8a3936fe", "spanId": "490e216932800cf8", "parentSpanId": "be3b7e93736590d9", "startTimeUnixNano": "1796073032764546319", "endTimeUnixNano": "1796073032769728725", "durationMs": 5.182406, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1df5c9b1edbc9381f7c1264f8a3936fe", "spanId": "be3b7e93736590d9", "startTimeUnixNano": "1796073032764522754", "endTimeUnixNano": "1796073032769735438", "durationMs": 5.212684, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e85ebea5d23f7d2775508b27f1cc1499", "spanId": "f09c587a8935a7f4", "parentSpanId": "b5bc9b10404ece0d", "startTimeUnixNano": "1796073034284295138", "endTimeUnixNano": "1796073034285998067", "durationMs": 1.702929, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e85ebea5d23f7d2775508b27f1cc1499", "spanId": "82b7d81cf1d5268c", "parentSpanId": "ca0aa8064f177308", "startTimeUnixNano": "1796073034286088167", "endTimeUnixNano": "1796073034287647766", "durationMs": 1.559599, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011501}}
{"type": "effect-span", "name": "sqlite", "traceId": "e85ebea5d23f7d2775508b27f1cc1499", "spanId": "b1283288de9b9cd9", "parentSpanId": "ca0aa8064f177308", "startTimeUnixNano": "1796073034287792138", "endTimeUnixNano": "1796073034288494020", "durationMs": 0.701882, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019306}}
{"type": "effect-span", "name": "sqlite", "traceId": "e85ebea5d23f7d2775508b27f1cc1499", "spanId": "8c941f9e02337301", "parentSpanId": "ca0aa8064f177308", "startTimeUnixNano": "1796073034288520100", "endTimeUnixNano": "1796073034293085753", "durationMs": 4.565653, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.05875}}
{"type": "effect-span", "name": "sqlite", "traceId": "e85ebea5d23f7d2775508b27f1cc1499", "spanId": "29c8e5042d357676", "parentSpanId": "ca0aa8064f177308", "startTimeUnixNano": "1796073034294347581", "endTimeUnixNano": "1796073034295166364", "durationMs": 0.818783, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.038222}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e85ebea5d23f7d2775508b27f1cc1499", "spanId": "ca0aa8064f177308", "parentSpanId": "b5bc9b10404ece0d", "startTimeUnixNano": "1796073034286078558", "endTimeUnixNano": "1796073034295243139", "durationMs": 9.164581, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e85ebea5d23f7d2775508b27f1cc1499", "spanId": "5b01283268f4a9c2", "parentSpanId": "b5bc9b10404ece0d", "startTimeUnixNano": "1796073034295255392", "endTimeUnixNano": "1796073034295543495", "durationMs": 0.288103, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e85ebea5d23f7d2775508b27f1cc1499", "spanId": "b5bc9b10404ece0d", "parentSpanId": "4c7c86fd7a91bb72", "startTimeUnixNano": "1796073034281355428", "endTimeUnixNano": "1796073034295596715", "durationMs": 14.241287, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.933448, "db.connection": "reader", "db.lock_wait_ms": 2.831}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e85ebea5d23f7d2775508b27f1cc1499", "spanId": "4c7c86fd7a91bb72", "parentSpanId": "23d3f130c89d9931", "startTimeUnixNano": "1796073034281339137", "endTimeUnixNano": "1796073034295629477", "durationMs": 14.29034, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e85ebea5d23f7d2775508b27f1cc1499", "spanId": "23d3f130c89d9931", "parentSpanId": "0ed9aad9b23b6650", "startTimeUnixNano": "1796073034281283151", "endTimeUnixNano": "1796073034295638124", "durationMs": 14.354973, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e85ebea5d23f7d2775508b27f1cc1499", "spanId": "0ed9aad9b23b6650", "startTimeUnixNano": "1796073034281255339", "endTimeUnixNano": "1796073034295648012", "durationMs": 14.392673, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1502b4c81b7e8dc66bfd06cae6443ab4", "spanId": "6d59bb372583b5c5", "parentSpanId": "6b99a2b182b5dfa1", "startTimeUnixNano": "1796073034558024241", "endTimeUnixNano": "1796073034558306643", "durationMs": 0.282402, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1502b4c81b7e8dc66bfd06cae6443ab4", "spanId": "6ff8430bfe70526c", "parentSpanId": "712969785b47dca7", "startTimeUnixNano": "1796073034558401892", "endTimeUnixNano": "1796073034558959333", "durationMs": 0.557441, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009118}}
{"type": "effect-span", "name": "sqlite", "traceId": "1502b4c81b7e8dc66bfd06cae6443ab4", "spanId": "e4edf03363e03c66", "parentSpanId": "712969785b47dca7", "startTimeUnixNano": "1796073034559104336", "endTimeUnixNano": "1796073034560201594", "durationMs": 1.097258, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.023364}}
{"type": "effect-span", "name": "sqlite", "traceId": "1502b4c81b7e8dc66bfd06cae6443ab4", "spanId": "b0bdf7479a55082d", "parentSpanId": "712969785b47dca7", "startTimeUnixNano": "1796073034560231611", "endTimeUnixNano": "1796073034560878780", "durationMs": 0.647169, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015158}}
{"type": "effect-span", "name": "sqlite", "traceId": "1502b4c81b7e8dc66bfd06cae6443ab4", "spanId": "ba77800a9b05c5a8", "parentSpanId": "712969785b47dca7", "startTimeUnixNano": "1796073034562248481", "endTimeUnixNano": "1796073034562900921", "durationMs": 0.65244, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.02075}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1502b4c81b7e8dc66bfd06cae6443ab4", "spanId": "712969785b47dca7", "parentSpanId": "6b99a2b182b5dfa1", "startTimeUnixNano": "1796073034558391112", "endTimeUnixNano": "1796073034563003364", "durationMs": 4.612252, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1502b4c81b7e8dc66bfd06cae6443ab4", "spanId": "77e4ce33a77c8b40", "parentSpanId": "6b99a2b182b5dfa1", "startTimeUnixNano": "1796073034563019845", "endTimeUnixNano": "1796073034563805085", "durationMs": 0.78524, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1502b4c81b7e8dc66bfd06cae6443ab4", "spanId": "6b99a2b182b5dfa1", "parentSpanId": "fb0b2caa3fa2f6f6", "startTimeUnixNano": "1796073034554791659", "endTimeUnixNano": "1796073034563846353", "durationMs": 9.054694, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.21577, "db.connection": "reader", "db.lock_wait_ms": 3.123}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1502b4c81b7e8dc66bfd06cae6443ab4", "spanId": "fb0b2caa3fa2f6f6", "parentSpanId": "d846dd447ad4bf71", "startTimeUnixNano": "1796073034554774036", "endTimeUnixNano": "1796073034563882290", "durationMs": 9.108254, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1502b4c81b7e8dc66bfd06cae6443ab4", "spanId": "d846dd447ad4bf71", "parentSpanId": "b0a177cd1e5ba65f", "startTimeUnixNano": "1796073034554712650", "endTimeUnixNano": "1796073034563892480", "durationMs": 9.17983, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1502b4c81b7e8dc66bfd06cae6443ab4", "spanId": "b0a177cd1e5ba65f", "startTimeUnixNano": "1796073034554682473", "endTimeUnixNano": "1796073034563908660", "durationMs": 9.226187, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e8855f390e90750d4e890dd121294a3f", "spanId": "07fc8dbbd677eb29", "parentSpanId": "605fb4af58ff1bc9", "startTimeUnixNano": "1796073036090420708", "endTimeUnixNano": "1796073036091811408", "durationMs": 1.3907, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e8855f390e90750d4e890dd121294a3f", "spanId": "68dd29025e3891a9", "parentSpanId": "f58ef9bee0203b55", "startTimeUnixNano": "1796073036091883163", "endTimeUnixNano": "1796073036093236794", "durationMs": 1.353631, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013396}}
{"type": "effect-span", "name": "sqlite", "traceId": "e8855f390e90750d4e890dd121294a3f", "spanId": "baf5fff3825abb2f", "parentSpanId": "f58ef9bee0203b55", "startTimeUnixNano": "1796073036093380054", "endTimeUnixNano": "1796073036094209758", "durationMs": 0.829704, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017493}}
{"type": "effect-span", "name": "sqlite", "traceId": "e8855f390e90750d4e890dd121294a3f", "spanId": "c2bb7ef61b9cfe18", "parentSpanId": "f58ef9bee0203b55", "startTimeUnixNano": "1796073036094244564", "endTimeUnixNano": "1796073036095100276", "durationMs": 0.855712, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013946}}
{"type": "effect-span", "name": "sqlite", "traceId": "e8855f390e90750d4e890dd121294a3f", "spanId": "897f29d334366bb7", "parentSpanId": "f58ef9bee0203b55", "startTimeUnixNano": "1796073036096523127", "endTimeUnixNano": "1796073036097549512", "durationMs": 1.026385, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.02107}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e8855f390e90750d4e890dd121294a3f", "spanId": "f58ef9bee0203b55", "parentSpanId": "605fb4af58ff1bc9", "startTimeUnixNano": "1796073036091872143", "endTimeUnixNano": "1796073036097641685", "durationMs": 5.769542, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e8855f390e90750d4e890dd121294a3f", "spanId": "79143e4a2ada9e85", "parentSpanId": "605fb4af58ff1bc9", "startTimeUnixNano": "1796073036097661833", "endTimeUnixNano": "1796073036097991675", "durationMs": 0.329842, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e8855f390e90750d4e890dd121294a3f", "spanId": "605fb4af58ff1bc9", "parentSpanId": "d9ee24c4e284ec5d", "startTimeUnixNano": "1796073036088021105", "endTimeUnixNano": "1796073036098037411", "durationMs": 10.016306, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.390535, "db.connection": "reader", "db.lock_wait_ms": 2.339}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e8855f390e90750d4e890dd121294a3f", "spanId": "d9ee24c4e284ec5d", "parentSpanId": "9035e1030c9ba686", "startTimeUnixNano": "1796073036088008552", "endTimeUnixNano": "1796073036098068720", "durationMs": 10.060168, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e8855f390e90750d4e890dd121294a3f", "spanId": "9035e1030c9ba686", "parentSpanId": "f7d04d6062fbeb8c", "startTimeUnixNano": "1796073036087951534", "endTimeUnixNano": "1796073036098081955", "durationMs": 10.130421, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e8855f390e90750d4e890dd121294a3f", "spanId": "f7d04d6062fbeb8c", "startTimeUnixNano": "1796073036087921518", "endTimeUnixNano": "1796073036098096172", "durationMs": 10.174654, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2395555ec24a57d77d554639a3fae628", "spanId": "4a83e2753077740c", "parentSpanId": "937616af84fe296f", "startTimeUnixNano": "1796073036355861632", "endTimeUnixNano": "1796073036355999913", "durationMs": 0.138281, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2395555ec24a57d77d554639a3fae628", "spanId": "92c69460e73ef4ae", "parentSpanId": "0f0e52b64605184a", "startTimeUnixNano": "1796073036356063853", "endTimeUnixNano": "1796073036356292474", "durationMs": 0.228621, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008076}}
{"type": "effect-span", "name": "sqlite", "traceId": "2395555ec24a57d77d554639a3fae628", "spanId": "9c59ba6045d2d125", "parentSpanId": "0f0e52b64605184a", "startTimeUnixNano": "1796073036356370852", "endTimeUnixNano": "1796073036356739917", "durationMs": 0.369065, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009358}}
{"type": "effect-span", "name": "sqlite", "traceId": "2395555ec24a57d77d554639a3fae628", "spanId": "9ab72745af3d7bf2", "parentSpanId": "0f0e52b64605184a", "startTimeUnixNano": "1796073036356758913", "endTimeUnixNano": "1796073036357124402", "durationMs": 0.365489, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012073}}
{"type": "effect-span", "name": "sqlite", "traceId": "2395555ec24a57d77d554639a3fae628", "spanId": "48bb6b4ac8abf891", "parentSpanId": "0f0e52b64605184a", "startTimeUnixNano": "1796073036357850621", "endTimeUnixNano": "1796073036358533157", "durationMs": 0.682536, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01067}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2395555ec24a57d77d554639a3fae628", "spanId": "0f0e52b64605184a", "parentSpanId": "937616af84fe296f", "startTimeUnixNano": "1796073036356056439", "endTimeUnixNano": "1796073036358598450", "durationMs": 2.542011, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2395555ec24a57d77d554639a3fae628", "spanId": "237016fa675059db", "parentSpanId": "937616af84fe296f", "startTimeUnixNano": "1796073036358607256", "endTimeUnixNano": "1796073036359050632", "durationMs": 0.443376, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2395555ec24a57d77d554639a3fae628", "spanId": "937616af84fe296f", "parentSpanId": "6b2bcced4678c113", "startTimeUnixNano": "1796073036354227242", "endTimeUnixNano": "1796073036359073315", "durationMs": 4.846073, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.631224, "db.connection": "reader", "db.lock_wait_ms": 1.574}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2395555ec24a57d77d554639a3fae628", "spanId": "6b2bcced4678c113", "parentSpanId": "31a6ac09d7ba8dc2", "startTimeUnixNano": "1796073036354210801", "endTimeUnixNano": "1796073036359085267", "durationMs": 4.874466, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2395555ec24a57d77d554639a3fae628", "spanId": "31a6ac09d7ba8dc2", "parentSpanId": "79a76d976d808ed8", "startTimeUnixNano": "1796073036354157271", "endTimeUnixNano": "1796073036359090036", "durationMs": 4.932765, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2395555ec24a57d77d554639a3fae628", "spanId": "79a76d976d808ed8", "startTimeUnixNano": "1796073036354135620", "endTimeUnixNano": "1796073036359102309", "durationMs": 4.966689, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "dbb1a2c20bebe581eac64ebb1ee47080", "spanId": "0a147f53dcbbb38d", "parentSpanId": "f6b0bd56d63bfd79", "startTimeUnixNano": "1796073037985415856", "endTimeUnixNano": "1796073037986241182", "durationMs": 0.825326, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "dbb1a2c20bebe581eac64ebb1ee47080", "spanId": "7d50a22969319a5f", "parentSpanId": "7a19c047e402794a", "startTimeUnixNano": "1796073037986279514", "endTimeUnixNano": "1796073037986892960", "durationMs": 0.613446, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00542}}
{"type": "effect-span", "name": "sqlite", "traceId": "dbb1a2c20bebe581eac64ebb1ee47080", "spanId": "94535ba81cb75d11", "parentSpanId": "7a19c047e402794a", "startTimeUnixNano": "1796073037986970857", "endTimeUnixNano": "1796073037987649315", "durationMs": 0.678458, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.020198}}
{"type": "effect-span", "name": "sqlite", "traceId": "dbb1a2c20bebe581eac64ebb1ee47080", "spanId": "34063239609533c2", "parentSpanId": "7a19c047e402794a", "startTimeUnixNano": "1796073037987677759", "endTimeUnixNano": "1796073037988086008", "durationMs": 0.408249, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011742}}
{"type": "effect-span", "name": "sqlite", "traceId": "dbb1a2c20bebe581eac64ebb1ee47080", "spanId": "e34ac238648a6a5d", "parentSpanId": "7a19c047e402794a", "startTimeUnixNano": "1796073037988861991", "endTimeUnixNano": "1796073037989660014", "durationMs": 0.798023, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014246}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "dbb1a2c20bebe581eac64ebb1ee47080", "spanId": "7a19c047e402794a", "parentSpanId": "f6b0bd56d63bfd79", "startTimeUnixNano": "1796073037986273753", "endTimeUnixNano": "1796073037989738893", "durationMs": 3.46514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "dbb1a2c20bebe581eac64ebb1ee47080", "spanId": "c2bdb81e0a30fa89", "parentSpanId": "f6b0bd56d63bfd79", "startTimeUnixNano": "1796073037989756837", "endTimeUnixNano": "1796073037990215361", "durationMs": 0.458524, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "dbb1a2c20bebe581eac64ebb1ee47080", "spanId": "f6b0bd56d63bfd79", "parentSpanId": "ebdff61355f5985c", "startTimeUnixNano": "1796073037983615253", "endTimeUnixNano": "1796073037990253553", "durationMs": 6.6383, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.796706, "db.connection": "reader", "db.lock_wait_ms": 1.756}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "dbb1a2c20bebe581eac64ebb1ee47080", "spanId": "ebdff61355f5985c", "parentSpanId": "2333ae9e96a7b32c", "startTimeUnixNano": "1796073037983604773", "endTimeUnixNano": "1796073037990278039", "durationMs": 6.673266, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "dbb1a2c20bebe581eac64ebb1ee47080", "spanId": "2333ae9e96a7b32c", "parentSpanId": "adb81ed90f937228", "startTimeUnixNano": "1796073037983543788", "endTimeUnixNano": "1796073037990285924", "durationMs": 6.742136, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "dbb1a2c20bebe581eac64ebb1ee47080", "spanId": "adb81ed90f937228", "startTimeUnixNano": "1796073037983520555", "endTimeUnixNano": "1796073037990296935", "durationMs": 6.77638, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "63b6c2e8ccf5d0f00c7717c5c1b57903", "spanId": "72d727539d2341d7", "parentSpanId": "b3e688c4d12a490d", "startTimeUnixNano": "1796073038271575476", "endTimeUnixNano": "1796073038271840125", "durationMs": 0.264649, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "63b6c2e8ccf5d0f00c7717c5c1b57903", "spanId": "c7b4ca663150365e", "parentSpanId": "3de0a24dc6e17519", "startTimeUnixNano": "1796073038271908233", "endTimeUnixNano": "1796073038272477827", "durationMs": 0.569594, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011061}}
{"type": "effect-span", "name": "sqlite", "traceId": "63b6c2e8ccf5d0f00c7717c5c1b57903", "spanId": "2afd0e2ab612dc8f", "parentSpanId": "3de0a24dc6e17519", "startTimeUnixNano": "1796073038272628351", "endTimeUnixNano": "1796073038273098637", "durationMs": 0.470286, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013345}}
{"type": "effect-span", "name": "sqlite", "traceId": "63b6c2e8ccf5d0f00c7717c5c1b57903", "spanId": "9c75d763a198006a", "parentSpanId": "3de0a24dc6e17519", "startTimeUnixNano": "1796073038273116561", "endTimeUnixNano": "1796073038273691544", "durationMs": 0.574983, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009778}}
{"type": "effect-span", "name": "sqlite", "traceId": "63b6c2e8ccf5d0f00c7717c5c1b57903", "spanId": "ce23d9d6fbbe5384", "parentSpanId": "3de0a24dc6e17519", "startTimeUnixNano": "1796073038274402394", "endTimeUnixNano": "1796073038274931611", "durationMs": 0.529217, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018234}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "63b6c2e8ccf5d0f00c7717c5c1b57903", "spanId": "3de0a24dc6e17519", "parentSpanId": "b3e688c4d12a490d", "startTimeUnixNano": "1796073038271896882", "endTimeUnixNano": "1796073038275009237", "durationMs": 3.112355, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "63b6c2e8ccf5d0f00c7717c5c1b57903", "spanId": "7ebfc6b4a744399b", "parentSpanId": "b3e688c4d12a490d", "startTimeUnixNano": "1796073038275023053", "endTimeUnixNano": "1796073038275532083", "durationMs": 0.50903, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "63b6c2e8ccf5d0f00c7717c5c1b57903", "spanId": "b3e688c4d12a490d", "parentSpanId": "a3af617e39394861", "startTimeUnixNano": "1796073038268924631", "endTimeUnixNano": "1796073038275563792", "durationMs": 6.639161, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.633132, "db.connection": "reader", "db.lock_wait_ms": 2.512}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "63b6c2e8ccf5d0f00c7717c5c1b57903", "spanId": "a3af617e39394861", "parentSpanId": "b171070cf44bf3fc", "startTimeUnixNano": "1796073038268905876", "endTimeUnixNano": "1796073038275593518", "durationMs": 6.687642, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "63b6c2e8ccf5d0f00c7717c5c1b57903", "spanId": "b171070cf44bf3fc", "parentSpanId": "1356b64b23329fc0", "startTimeUnixNano": "1796073038268841134", "endTimeUnixNano": "1796073038275608577", "durationMs": 6.767443, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "63b6c2e8ccf5d0f00c7717c5c1b57903", "spanId": "1356b64b23329fc0", "startTimeUnixNano": "1796073038268814964", "endTimeUnixNano": "1796073038275619477", "durationMs": 6.804513, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e93dd481b7a12fab096929893209383f", "spanId": "eee2c64b1e8dc1ba", "parentSpanId": "2cafcb2f3a0fc2a6", "startTimeUnixNano": "1796073039536897345", "endTimeUnixNano": "1796073039537118451", "durationMs": 0.221106, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e93dd481b7a12fab096929893209383f", "spanId": "ec8bb3e2c07fa2d5", "parentSpanId": "3f26b7dede1db982", "startTimeUnixNano": "1796073039537167333", "endTimeUnixNano": "1796073039537883423", "durationMs": 0.71609, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007134}}
{"type": "effect-span", "name": "sqlite", "traceId": "e93dd481b7a12fab096929893209383f", "spanId": "c6625eab4d328f67", "parentSpanId": "3f26b7dede1db982", "startTimeUnixNano": "1796073039537969265", "endTimeUnixNano": "1796073039538297964", "durationMs": 0.328699, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010089}}
{"type": "effect-span", "name": "sqlite", "traceId": "e93dd481b7a12fab096929893209383f", "spanId": "62972ae184d292f9", "parentSpanId": "3f26b7dede1db982", "startTimeUnixNano": "1796073039538326137", "endTimeUnixNano": "1796073039539066032", "durationMs": 0.739895, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011702}}
{"type": "effect-span", "name": "sqlite", "traceId": "e93dd481b7a12fab096929893209383f", "spanId": "c449d80d18b044af", "parentSpanId": "3f26b7dede1db982", "startTimeUnixNano": "1796073039539802269", "endTimeUnixNano": "1796073039540432306", "durationMs": 0.630037, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020929}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e93dd481b7a12fab096929893209383f", "spanId": "3f26b7dede1db982", "parentSpanId": "2cafcb2f3a0fc2a6", "startTimeUnixNano": "1796073039537159980", "endTimeUnixNano": "1796073039540515974", "durationMs": 3.355994, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e93dd481b7a12fab096929893209383f", "spanId": "3a51465cc8d4a2ad", "parentSpanId": "2cafcb2f3a0fc2a6", "startTimeUnixNano": "1796073039540535020", "endTimeUnixNano": "1796073039541014473", "durationMs": 0.479453, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e93dd481b7a12fab096929893209383f", "spanId": "2cafcb2f3a0fc2a6", "parentSpanId": "009fc3563597980a", "startTimeUnixNano": "1796073039533923220", "endTimeUnixNano": "1796073039541040452", "durationMs": 7.117232, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.964266, "db.connection": "reader", "db.lock_wait_ms": 2.919}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e93dd481b7a12fab096929893209383f", "spanId": "009fc3563597980a", "parentSpanId": "9b10c463f45f9c69", "startTimeUnixNano": "1796073039533913131", "endTimeUnixNano": "1796073039541054449", "durationMs": 7.141318, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e93dd481b7a12fab096929893209383f", "spanId": "9b10c463f45f9c69", "parentSpanId": "dbc5260b0609abfb", "startTimeUnixNano": "1796073039533860892", "endTimeUnixNano": "1796073039541059869", "durationMs": 7.198977, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e93dd481b7a12fab096929893209383f", "spanId": "dbc5260b0609abfb", "startTimeUnixNano": "1796073039533839773", "endTimeUnixNano": "1796073039541067754", "durationMs": 7.227981, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3cfdf9e7288e6b05e4392cacb051eda7", "spanId": "fc58584a59115146", "parentSpanId": "df60e51edafea09b", "startTimeUnixNano": "1796073039775482510", "endTimeUnixNano": "1796073039775878106", "durationMs": 0.395596, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3cfdf9e7288e6b05e4392cacb051eda7", "spanId": "41b83e98c3095b5a", "parentSpanId": "a27cfc295577866c", "startTimeUnixNano": "1796073039775920355", "endTimeUnixNano": "1796073039776297135", "durationMs": 0.37678, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005651}}
{"type": "effect-span", "name": "sqlite", "traceId": "3cfdf9e7288e6b05e4392cacb051eda7", "spanId": "acbbafdc8ec30f4e", "parentSpanId": "a27cfc295577866c", "startTimeUnixNano": "1796073039776369261", "endTimeUnixNano": "1796073039777005891", "durationMs": 0.63663, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009649}}
{"type": "effect-span", "name": "sqlite", "traceId": "3cfdf9e7288e6b05e4392cacb051eda7", "spanId": "fedc6b92c0cec12b", "parentSpanId": "a27cfc295577866c", "startTimeUnixNano": "1796073039777019877", "endTimeUnixNano": "1796073039777273115", "durationMs": 0.253238, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006322}}
{"type": "effect-span", "name": "sqlite", "traceId": "3cfdf9e7288e6b05e4392cacb051eda7", "spanId": "cc8eeee3145a9ac3", "parentSpanId": "a27cfc295577866c", "startTimeUnixNano": "1796073039777941805", "endTimeUnixNano": "1796073039778769835", "durationMs": 0.82803, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013726}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3cfdf9e7288e6b05e4392cacb051eda7", "spanId": "a27cfc295577866c", "parentSpanId": "df60e51edafea09b", "startTimeUnixNano": "1796073039775914114", "endTimeUnixNano": "1796073039778828406", "durationMs": 2.914292, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3cfdf9e7288e6b05e4392cacb051eda7", "spanId": "f29cade3ad318999", "parentSpanId": "df60e51edafea09b", "startTimeUnixNano": "1796073039778836541", "endTimeUnixNano": "1796073039779369255", "durationMs": 0.532714, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3cfdf9e7288e6b05e4392cacb051eda7", "spanId": "df60e51edafea09b", "parentSpanId": "069cd5e576693b16", "startTimeUnixNano": "1796073039774182591", "endTimeUnixNano": "1796073039779385556", "durationMs": 5.202965, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.296012, "db.connection": "reader", "db.lock_wait_ms": 1.259}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3cfdf9e7288e6b05e4392cacb051eda7", "spanId": "069cd5e576693b16", "parentSpanId": "13ab35711d96e6cb", "startTimeUnixNano": "1796073039774173694", "endTimeUnixNano": "1796073039779397268", "durationMs": 5.223574, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3cfdf9e7288e6b05e4392cacb051eda7", "spanId": "13ab35711d96e6cb", "parentSpanId": "96ddcfd497e648e0", "startTimeUnixNano": "1796073039774134770", "endTimeUnixNano": "1796073039779400985", "durationMs": 5.266215, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3cfdf9e7288e6b05e4392cacb051eda7", "spanId": "96ddcfd497e648e0", "startTimeUnixNano": "1796073039774119141", "endTimeUnixNano": "1796073039779406425", "durationMs": 5.287284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b6beb245f286c4c0a47365303dc7ac5a", "spanId": "d0b889a4acbd48da", "parentSpanId": "17263eeb83509d77", "startTimeUnixNano": "1796073041080303147", "endTimeUnixNano": "1796073041080477405", "durationMs": 0.174258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b6beb245f286c4c0a47365303dc7ac5a", "spanId": "3fec1be45550d19a", "parentSpanId": "ee14881b20170dba", "startTimeUnixNano": "1796073041080549902", "endTimeUnixNano": "1796073041081256654", "durationMs": 0.706752, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007895}}
{"type": "effect-span", "name": "sqlite", "traceId": "b6beb245f286c4c0a47365303dc7ac5a", "spanId": "674690ae4474ef2a", "parentSpanId": "ee14881b20170dba", "startTimeUnixNano": "1796073041081339119", "endTimeUnixNano": "1796073041081957294", "durationMs": 0.618175, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009688}}
{"type": "effect-span", "name": "sqlite", "traceId": "b6beb245f286c4c0a47365303dc7ac5a", "spanId": "c769ee335991eba5", "parentSpanId": "ee14881b20170dba", "startTimeUnixNano": "1796073041081976600", "endTimeUnixNano": "1796073041082650240", "durationMs": 0.67364, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013917}}
{"type": "effect-span", "name": "sqlite", "traceId": "b6beb245f286c4c0a47365303dc7ac5a", "spanId": "bb3662e0c1e3c50d", "parentSpanId": "ee14881b20170dba", "startTimeUnixNano": "1796073041083328348", "endTimeUnixNano": "1796073041084150056", "durationMs": 0.821708, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010289}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b6beb245f286c4c0a47365303dc7ac5a", "spanId": "ee14881b20170dba", "parentSpanId": "17263eeb83509d77", "startTimeUnixNano": "1796073041080541967", "endTimeUnixNano": "1796073041084213816", "durationMs": 3.671849, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b6beb245f286c4c0a47365303dc7ac5a", "spanId": "156f87d41d6a3ec7", "parentSpanId": "17263eeb83509d77", "startTimeUnixNano": "1796073041084222443", "endTimeUnixNano": "1796073041084888508", "durationMs": 0.666065, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b6beb245f286c4c0a47365303dc7ac5a", "spanId": "17263eeb83509d77", "parentSpanId": "3d4f75a7cdfb090e", "startTimeUnixNano": "1796073041077468706", "endTimeUnixNano": "1796073041084912914", "durationMs": 7.444208, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.829953, "db.connection": "reader", "db.lock_wait_ms": 2.781}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b6beb245f286c4c0a47365303dc7ac5a", "spanId": "3d4f75a7cdfb090e", "parentSpanId": "68d3816edd5866fc", "startTimeUnixNano": "1796073041077429011", "endTimeUnixNano": "1796073041084934024", "durationMs": 7.505013, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b6beb245f286c4c0a47365303dc7ac5a", "spanId": "68d3816edd5866fc", "parentSpanId": "d2e6e3306450063b", "startTimeUnixNano": "1796073041077379357", "endTimeUnixNano": "1796073041084942199", "durationMs": 7.562842, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b6beb245f286c4c0a47365303dc7ac5a", "spanId": "d2e6e3306450063b", "startTimeUnixNano": "1796073041077353979", "endTimeUnixNano": "1796073041084952699", "durationMs": 7.59872, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "016499f36eb749ad492dba4852400cef", "spanId": "b7da4d2cab71ecfb", "parentSpanId": "aa3b1df2533d6908", "startTimeUnixNano": "1796073041335934427", "endTimeUnixNano": "1796073041336914974", "durationMs": 0.980547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "016499f36eb749ad492dba4852400cef", "spanId": "a4920defca86f93a", "parentSpanId": "c95c3e187629efb3", "startTimeUnixNano": "1796073041336995506", "endTimeUnixNano": "1796073041337838966", "durationMs": 0.84346, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007935}}
{"type": "effect-span", "name": "sqlite", "traceId": "016499f36eb749ad492dba4852400cef", "spanId": "41997404462eb1ca", "parentSpanId": "c95c3e187629efb3", "startTimeUnixNano": "1796073041338015779", "endTimeUnixNano": "1796073041338410272", "durationMs": 0.394493, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014677}}
{"type": "effect-span", "name": "sqlite", "traceId": "016499f36eb749ad492dba4852400cef", "spanId": "ed3bd9256e79135b", "parentSpanId": "c95c3e187629efb3", "startTimeUnixNano": "1796073041338428146", "endTimeUnixNano": "1796073041338917568", "durationMs": 0.489422, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.045185}}
{"type": "effect-span", "name": "sqlite", "traceId": "016499f36eb749ad492dba4852400cef", "spanId": "56ae39b0286126af", "parentSpanId": "c95c3e187629efb3", "startTimeUnixNano": "1796073041340161883", "endTimeUnixNano": "1796073041341059234", "durationMs": 0.897351, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.030387}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "016499f36eb749ad492dba4852400cef", "spanId": "c95c3e187629efb3", "parentSpanId": "aa3b1df2533d6908", "startTimeUnixNano": "1796073041336983073", "endTimeUnixNano": "1796073041341156357", "durationMs": 4.173284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "016499f36eb749ad492dba4852400cef", "spanId": "c34976f7fdd9130f", "parentSpanId": "aa3b1df2533d6908", "startTimeUnixNano": "1796073041341174572", "endTimeUnixNano": "1796073041341894558", "durationMs": 0.719986, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "016499f36eb749ad492dba4852400cef", "spanId": "aa3b1df2533d6908", "parentSpanId": "2a1ffaf0da77473d", "startTimeUnixNano": "1796073041333924208", "endTimeUnixNano": "1796073041341927460", "durationMs": 8.003252, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.999779, "db.connection": "reader", "db.lock_wait_ms": 1.892}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "016499f36eb749ad492dba4852400cef", "spanId": "2a1ffaf0da77473d", "parentSpanId": "59fba29d6ed458d8", "startTimeUnixNano": "1796073041333907817", "endTimeUnixNano": "1796073041341966925", "durationMs": 8.059108, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "016499f36eb749ad492dba4852400cef", "spanId": "59fba29d6ed458d8", "parentSpanId": "a158fef2a91e5737", "startTimeUnixNano": "1796073041333840009", "endTimeUnixNano": "1796073041341976974", "durationMs": 8.136965, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "016499f36eb749ad492dba4852400cef", "spanId": "a158fef2a91e5737", "startTimeUnixNano": "1796073041333810704", "endTimeUnixNano": "1796073041341990619", "durationMs": 8.179915, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2875163a89f1fc7330ba40a15f3f7b90", "spanId": "7d431ca7dacf8969", "parentSpanId": "9d00f4e8a046e29f", "startTimeUnixNano": "1796073042638146179", "endTimeUnixNano": "1796073042638404766", "durationMs": 0.258587, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2875163a89f1fc7330ba40a15f3f7b90", "spanId": "16ef0a6efd3114a8", "parentSpanId": "24057b8b738c573b", "startTimeUnixNano": "1796073042638485688", "endTimeUnixNano": "1796073042639410671", "durationMs": 0.924983, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008647}}
{"type": "effect-span", "name": "sqlite", "traceId": "2875163a89f1fc7330ba40a15f3f7b90", "spanId": "3e7461dfed901651", "parentSpanId": "24057b8b738c573b", "startTimeUnixNano": "1796073042639551938", "endTimeUnixNano": "1796073042640219065", "durationMs": 0.667127, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017342}}
{"type": "effect-span", "name": "sqlite", "traceId": "2875163a89f1fc7330ba40a15f3f7b90", "spanId": "2de048c231c95433", "parentSpanId": "24057b8b738c573b", "startTimeUnixNano": "1796073042640259461", "endTimeUnixNano": "1796073042640923843", "durationMs": 0.664382, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01613}}
{"type": "effect-span", "name": "sqlite", "traceId": "2875163a89f1fc7330ba40a15f3f7b90", "spanId": "576ca7f3071ae8c2", "parentSpanId": "24057b8b738c573b", "startTimeUnixNano": "1796073042642122953", "endTimeUnixNano": "1796073042642620571", "durationMs": 0.497618, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020398}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2875163a89f1fc7330ba40a15f3f7b90", "spanId": "24057b8b738c573b", "parentSpanId": "9d00f4e8a046e29f", "startTimeUnixNano": "1796073042638475319", "endTimeUnixNano": "1796073042642701152", "durationMs": 4.225833, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2875163a89f1fc7330ba40a15f3f7b90", "spanId": "a276cfcea27307ac", "parentSpanId": "9d00f4e8a046e29f", "startTimeUnixNano": "1796073042642722573", "endTimeUnixNano": "1796073042643277949", "durationMs": 0.555376, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2875163a89f1fc7330ba40a15f3f7b90", "spanId": "9d00f4e8a046e29f", "parentSpanId": "c4d4dd1bed2e67af", "startTimeUnixNano": "1796073042634655640", "endTimeUnixNano": "1796073042643311513", "durationMs": 8.655873, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.484387, "db.connection": "reader", "db.lock_wait_ms": 3.428}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2875163a89f1fc7330ba40a15f3f7b90", "spanId": "c4d4dd1bed2e67af", "parentSpanId": "a0b22a9c17f6c551", "startTimeUnixNano": "1796073042634638398", "endTimeUnixNano": "1796073042643331811", "durationMs": 8.693413, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2875163a89f1fc7330ba40a15f3f7b90", "spanId": "a0b22a9c17f6c551", "parentSpanId": "5f86a21b64c9129d", "startTimeUnixNano": "1796073042634566112", "endTimeUnixNano": "1796073042643339375", "durationMs": 8.773263, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2875163a89f1fc7330ba40a15f3f7b90", "spanId": "5f86a21b64c9129d", "startTimeUnixNano": "1796073042634531637", "endTimeUnixNano": "1796073042643352570", "durationMs": 8.820933, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "626c198e4eb93b7fbe2f19244750b950", "spanId": "5a7341c88541f207", "parentSpanId": "18ccae9736f905fe", "startTimeUnixNano": "1796073042848415273", "endTimeUnixNano": "1796073042848924743", "durationMs": 0.50947, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "626c198e4eb93b7fbe2f19244750b950", "spanId": "1e29b6ee53fa92ce", "parentSpanId": "3cb3331d2369cf67", "startTimeUnixNano": "1796073042848994685", "endTimeUnixNano": "1796073042849491691", "durationMs": 0.497006, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009448}}
{"type": "effect-span", "name": "sqlite", "traceId": "626c198e4eb93b7fbe2f19244750b950", "spanId": "83699fd7e5b38802", "parentSpanId": "3cb3331d2369cf67", "startTimeUnixNano": "1796073042849591750", "endTimeUnixNano": "1796073042849930949", "durationMs": 0.339199, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016221}}
{"type": "effect-span", "name": "sqlite", "traceId": "626c198e4eb93b7fbe2f19244750b950", "spanId": "d945fa84eb6a922a", "parentSpanId": "3cb3331d2369cf67", "startTimeUnixNano": "1796073042849943002", "endTimeUnixNano": "1796073042850422776", "durationMs": 0.479774, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008426}}
{"type": "effect-span", "name": "sqlite", "traceId": "626c198e4eb93b7fbe2f19244750b950", "spanId": "8f033e3bc5c39d36", "parentSpanId": "3cb3331d2369cf67", "startTimeUnixNano": "1796073042851135790", "endTimeUnixNano": "1796073042851630452", "durationMs": 0.494662, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012062}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "626c198e4eb93b7fbe2f19244750b950", "spanId": "3cb3331d2369cf67", "parentSpanId": "18ccae9736f905fe", "startTimeUnixNano": "1796073042848983013", "endTimeUnixNano": "1796073042851692719", "durationMs": 2.709706, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "626c198e4eb93b7fbe2f19244750b950", "spanId": "053d76becb27e103", "parentSpanId": "18ccae9736f905fe", "startTimeUnixNano": "1796073042851702147", "endTimeUnixNano": "1796073042852106830", "durationMs": 0.404683, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "626c198e4eb93b7fbe2f19244750b950", "spanId": "18ccae9736f905fe", "parentSpanId": "95235c8de1493297", "startTimeUnixNano": "1796073042847065199", "endTimeUnixNano": "1796073042852122659", "durationMs": 5.05746, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.346718, "db.connection": "reader", "db.lock_wait_ms": 1.299}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "626c198e4eb93b7fbe2f19244750b950", "spanId": "95235c8de1493297", "parentSpanId": "b91b48a374651216", "startTimeUnixNano": "1796073042847046824", "endTimeUnixNano": "1796073042852134622", "durationMs": 5.087798, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "626c198e4eb93b7fbe2f19244750b950", "spanId": "b91b48a374651216", "parentSpanId": "4a03a48ad574cd22", "startTimeUnixNano": "1796073042846989817", "endTimeUnixNano": "1796073042852138830", "durationMs": 5.149013, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "626c198e4eb93b7fbe2f19244750b950", "spanId": "4a03a48ad574cd22", "startTimeUnixNano": "1796073042846974488", "endTimeUnixNano": "1796073042852145493", "durationMs": 5.171005, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5572af1bd3644b9bc16ab666772ec8ed", "spanId": "85c18f5cb3e104a0", "parentSpanId": "418040c87446dfaa", "startTimeUnixNano": "1796073044280065465", "endTimeUnixNano": "1796073044280263819", "durationMs": 0.198354, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5572af1bd3644b9bc16ab666772ec8ed", "spanId": "80fdf2fc7eb810f9", "parentSpanId": "4cd412c24ba0f886", "startTimeUnixNano": "1796073044280334873", "endTimeUnixNano": "1796073044281281367", "durationMs": 0.946494, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007695}}
{"type": "effect-span", "name": "sqlite", "traceId": "5572af1bd3644b9bc16ab666772ec8ed", "spanId": "c68f1d8fee035686", "parentSpanId": "4cd412c24ba0f886", "startTimeUnixNano": "1796073044281389350", "endTimeUnixNano": "1796073044284357674", "durationMs": 2.968324, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013977}}
{"type": "effect-span", "name": "sqlite", "traceId": "5572af1bd3644b9bc16ab666772ec8ed", "spanId": "461e011126c9e2d0", "parentSpanId": "4cd412c24ba0f886", "startTimeUnixNano": "1796073044284386519", "endTimeUnixNano": "1796073044285379590", "durationMs": 0.993071, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015299}}
{"type": "effect-span", "name": "sqlite", "traceId": "5572af1bd3644b9bc16ab666772ec8ed", "spanId": "90182494e4d50d13", "parentSpanId": "4cd412c24ba0f886", "startTimeUnixNano": "1796073044286901278", "endTimeUnixNano": "1796073044287732404", "durationMs": 0.831126, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015619}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5572af1bd3644b9bc16ab666772ec8ed", "spanId": "4cd412c24ba0f886", "parentSpanId": "418040c87446dfaa", "startTimeUnixNano": "1796073044280326858", "endTimeUnixNano": "1796073044287815711", "durationMs": 7.488853, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5572af1bd3644b9bc16ab666772ec8ed", "spanId": "4368aac17234b271", "parentSpanId": "418040c87446dfaa", "startTimeUnixNano": "1796073044287832282", "endTimeUnixNano": "1796073044288080911", "durationMs": 0.248629, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5572af1bd3644b9bc16ab666772ec8ed", "spanId": "418040c87446dfaa", "parentSpanId": "244246b5fa18b8aa", "startTimeUnixNano": "1796073044276558026", "endTimeUnixNano": "1796073044288116057", "durationMs": 11.558031, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.50255, "db.connection": "reader", "db.lock_wait_ms": 3.432}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5572af1bd3644b9bc16ab666772ec8ed", "spanId": "244246b5fa18b8aa", "parentSpanId": "3854f5057a83076d", "startTimeUnixNano": "1796073044276537737", "endTimeUnixNano": "1796073044288136145", "durationMs": 11.598408, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5572af1bd3644b9bc16ab666772ec8ed", "spanId": "3854f5057a83076d", "parentSpanId": "93435af8571fb7e1", "startTimeUnixNano": "1796073044276452988", "endTimeUnixNano": "1796073044288148258", "durationMs": 11.69527, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5572af1bd3644b9bc16ab666772ec8ed", "spanId": "93435af8571fb7e1", "startTimeUnixNano": "1796073044276357347", "endTimeUnixNano": "1796073044288159309", "durationMs": 11.801962, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2e0585dad1eba4dd8a1361ccdb459161", "spanId": "be949dae5d766615", "parentSpanId": "f08fa7aff3f80442", "startTimeUnixNano": "1796073044520666462", "endTimeUnixNano": "1796073044521817101", "durationMs": 1.150639, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2e0585dad1eba4dd8a1361ccdb459161", "spanId": "678f6585c781b3fb", "parentSpanId": "f2840915a1a00c66", "startTimeUnixNano": "1796073044521884728", "endTimeUnixNano": "1796073044522538260", "durationMs": 0.653532, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007404}}
{"type": "effect-span", "name": "sqlite", "traceId": "2e0585dad1eba4dd8a1361ccdb459161", "spanId": "c9008063faa3e906", "parentSpanId": "f2840915a1a00c66", "startTimeUnixNano": "1796073044522627287", "endTimeUnixNano": "1796073044523467801", "durationMs": 0.840514, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018165}}
{"type": "effect-span", "name": "sqlite", "traceId": "2e0585dad1eba4dd8a1361ccdb459161", "spanId": "7f78cfe99d8b9816", "parentSpanId": "f2840915a1a00c66", "startTimeUnixNano": "1796073044523485354", "endTimeUnixNano": "1796073044523998321", "durationMs": 0.512967, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007595}}
{"type": "effect-span", "name": "sqlite", "traceId": "2e0585dad1eba4dd8a1361ccdb459161", "spanId": "1f542772eb82e15e", "parentSpanId": "f2840915a1a00c66", "startTimeUnixNano": "1796073044524788119", "endTimeUnixNano": "1796073044525254488", "durationMs": 0.466369, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013686}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2e0585dad1eba4dd8a1361ccdb459161", "spanId": "f2840915a1a00c66", "parentSpanId": "f08fa7aff3f80442", "startTimeUnixNano": "1796073044521875370", "endTimeUnixNano": "1796073044525325452", "durationMs": 3.450082, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2e0585dad1eba4dd8a1361ccdb459161", "spanId": "30b43f47338759b7", "parentSpanId": "f08fa7aff3f80442", "startTimeUnixNano": "1796073044525340210", "endTimeUnixNano": "1796073044526247880", "durationMs": 0.90767, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2e0585dad1eba4dd8a1361ccdb459161", "spanId": "f08fa7aff3f80442", "parentSpanId": "91e1e7959a564a74", "startTimeUnixNano": "1796073044517539159", "endTimeUnixNano": "1796073044526272587", "durationMs": 8.733428, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.116412, "db.connection": "reader", "db.lock_wait_ms": 2.971}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2e0585dad1eba4dd8a1361ccdb459161", "spanId": "91e1e7959a564a74", "parentSpanId": "b06b65be2f364b4c", "startTimeUnixNano": "1796073044517503351", "endTimeUnixNano": "1796073044526294158", "durationMs": 8.790807, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2e0585dad1eba4dd8a1361ccdb459161", "spanId": "b06b65be2f364b4c", "parentSpanId": "e843ba8d092cf12d", "startTimeUnixNano": "1796073044517363488", "endTimeUnixNano": "1796073044526307112", "durationMs": 8.943624, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2e0585dad1eba4dd8a1361ccdb459161", "spanId": "e843ba8d092cf12d", "startTimeUnixNano": "1796073044517328291", "endTimeUnixNano": "1796073044526322591", "durationMs": 8.9943, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8297075cceb91a90c9592502848dd904", "spanId": "943366551537b35b", "parentSpanId": "17e048db07808e67", "startTimeUnixNano": "1796073045885297259", "endTimeUnixNano": "1796073045885692253", "durationMs": 0.394994, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8297075cceb91a90c9592502848dd904", "spanId": "9f0e07fbc0e6b6fa", "parentSpanId": "c082df7f5f44c588", "startTimeUnixNano": "1796073045885795708", "endTimeUnixNano": "1796073045887232696", "durationMs": 1.436988, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01029}}
{"type": "effect-span", "name": "sqlite", "traceId": "8297075cceb91a90c9592502848dd904", "spanId": "27f5f31197d530fb", "parentSpanId": "c082df7f5f44c588", "startTimeUnixNano": "1796073045887453011", "endTimeUnixNano": "1796073045887973372", "durationMs": 0.520361, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.022152}}
{"type": "effect-span", "name": "sqlite", "traceId": "8297075cceb91a90c9592502848dd904", "spanId": "f6ae331945ae2878", "parentSpanId": "c082df7f5f44c588", "startTimeUnixNano": "1796073045888003168", "endTimeUnixNano": "1796073045888905809", "durationMs": 0.902641, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013956}}
{"type": "effect-span", "name": "sqlite", "traceId": "8297075cceb91a90c9592502848dd904", "spanId": "4b6d3fe95b00a3df", "parentSpanId": "c082df7f5f44c588", "startTimeUnixNano": "1796073045890201681", "endTimeUnixNano": "1796073045891292327", "durationMs": 1.090646, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.036589}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8297075cceb91a90c9592502848dd904", "spanId": "c082df7f5f44c588", "parentSpanId": "17e048db07808e67", "startTimeUnixNano": "1796073045885781251", "endTimeUnixNano": "1796073045891411682", "durationMs": 5.630431, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8297075cceb91a90c9592502848dd904", "spanId": "f62b7929ccf07a27", "parentSpanId": "17e048db07808e67", "startTimeUnixNano": "1796073045891455184", "endTimeUnixNano": "1796073045892308411", "durationMs": 0.853227, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8297075cceb91a90c9592502848dd904", "spanId": "17e048db07808e67", "parentSpanId": "9e8172284c0052ca", "startTimeUnixNano": "1796073045880992827", "endTimeUnixNano": "1796073045892349930", "durationMs": 11.357103, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.291317, "db.connection": "reader", "db.lock_wait_ms": 4.168}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8297075cceb91a90c9592502848dd904", "spanId": "9e8172284c0052ca", "parentSpanId": "c15085e42944ea29", "startTimeUnixNano": "1796073045880976246", "endTimeUnixNano": "1796073045892379646", "durationMs": 11.4034, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8297075cceb91a90c9592502848dd904", "spanId": "c15085e42944ea29", "parentSpanId": "92d4860b6b8a8132", "startTimeUnixNano": "1796073045880898930", "endTimeUnixNano": "1796073045892387270", "durationMs": 11.48834, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8297075cceb91a90c9592502848dd904", "spanId": "92d4860b6b8a8132", "startTimeUnixNano": "1796073045880868473", "endTimeUnixNano": "1796073045892400345", "durationMs": 11.531872, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "44d6d72c9ad018054beab9f43f969d23", "spanId": "112aa01cffe6ab2b", "parentSpanId": "e568ad1eaf392351", "startTimeUnixNano": "1796073046113816136", "endTimeUnixNano": "1796073046113988821", "durationMs": 0.172685, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "44d6d72c9ad018054beab9f43f969d23", "spanId": "22bf92fd62e8ce01", "parentSpanId": "20b9379ec0981595", "startTimeUnixNano": "1796073046114039376", "endTimeUnixNano": "1796073046114311660", "durationMs": 0.272284, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007715}}
{"type": "effect-span", "name": "sqlite", "traceId": "44d6d72c9ad018054beab9f43f969d23", "spanId": "c46248b507f1ece7", "parentSpanId": "20b9379ec0981595", "startTimeUnixNano": "1796073046114412480", "endTimeUnixNano": "1796073046114860033", "durationMs": 0.447553, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014597}}
{"type": "effect-span", "name": "sqlite", "traceId": "44d6d72c9ad018054beab9f43f969d23", "spanId": "d1f2381fce746601", "parentSpanId": "20b9379ec0981595", "startTimeUnixNano": "1796073046114877306", "endTimeUnixNano": "1796073046115757575", "durationMs": 0.880269, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008285}}
{"type": "effect-span", "name": "sqlite", "traceId": "44d6d72c9ad018054beab9f43f969d23", "spanId": "fddea4a735331f68", "parentSpanId": "20b9379ec0981595", "startTimeUnixNano": "1796073046116659374", "endTimeUnixNano": "1796073046117299961", "durationMs": 0.640587, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019046}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "44d6d72c9ad018054beab9f43f969d23", "spanId": "20b9379ec0981595", "parentSpanId": "e568ad1eaf392351", "startTimeUnixNano": "1796073046114032614", "endTimeUnixNano": "1796073046117386324", "durationMs": 3.35371, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "44d6d72c9ad018054beab9f43f969d23", "spanId": "728aa933c94b7a8a", "parentSpanId": "e568ad1eaf392351", "startTimeUnixNano": "1796073046117403356", "endTimeUnixNano": "1796073046118284847", "durationMs": 0.881491, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "44d6d72c9ad018054beab9f43f969d23", "spanId": "e568ad1eaf392351", "parentSpanId": "aed63dffdf53ab58", "startTimeUnixNano": "1796073046111916255", "endTimeUnixNano": "1796073046118313802", "durationMs": 6.397547, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.892657, "db.connection": "reader", "db.lock_wait_ms": 1.839}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "44d6d72c9ad018054beab9f43f969d23", "spanId": "aed63dffdf53ab58", "parentSpanId": "35a7dc8434ea3a85", "startTimeUnixNano": "1796073046111897941", "endTimeUnixNano": "1796073046118336354", "durationMs": 6.438413, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "44d6d72c9ad018054beab9f43f969d23", "spanId": "35a7dc8434ea3a85", "parentSpanId": "f832a406ab5cd17a", "startTimeUnixNano": "1796073046111843017", "endTimeUnixNano": "1796073046118352064", "durationMs": 6.509047, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "44d6d72c9ad018054beab9f43f969d23", "spanId": "f832a406ab5cd17a", "startTimeUnixNano": "1796073046111814323", "endTimeUnixNano": "1796073046118362834", "durationMs": 6.548511, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ba23edd6b3e5d3a7171a54c478bde1ff", "spanId": "b9be20e5069cca16", "parentSpanId": "452fdb664479a0e1", "startTimeUnixNano": "1796073047385446854", "endTimeUnixNano": "1796073047385597989", "durationMs": 0.151135, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ba23edd6b3e5d3a7171a54c478bde1ff", "spanId": "a897eac2ad80c9d5", "parentSpanId": "da0380dae1b1605b", "startTimeUnixNano": "1796073047385638736", "endTimeUnixNano": "1796073047386105956", "durationMs": 0.46722, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006211}}
{"type": "effect-span", "name": "sqlite", "traceId": "ba23edd6b3e5d3a7171a54c478bde1ff", "spanId": "cc3017893b5135ab", "parentSpanId": "da0380dae1b1605b", "startTimeUnixNano": "1796073047386185326", "endTimeUnixNano": "1796073047386906425", "durationMs": 0.721099, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009708}}
{"type": "effect-span", "name": "sqlite", "traceId": "ba23edd6b3e5d3a7171a54c478bde1ff", "spanId": "182dc3aae7e31c1c", "parentSpanId": "da0380dae1b1605b", "startTimeUnixNano": "1796073047386928847", "endTimeUnixNano": "1796073047387268848", "durationMs": 0.340001, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01046}}
{"type": "effect-span", "name": "sqlite", "traceId": "ba23edd6b3e5d3a7171a54c478bde1ff", "spanId": "ed45ad4776326a63", "parentSpanId": "da0380dae1b1605b", "startTimeUnixNano": "1796073047388009964", "endTimeUnixNano": "1796073047388864445", "durationMs": 0.854481, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011021}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ba23edd6b3e5d3a7171a54c478bde1ff", "spanId": "da0380dae1b1605b", "parentSpanId": "452fdb664479a0e1", "startTimeUnixNano": "1796073047385632865", "endTimeUnixNano": "1796073047388931391", "durationMs": 3.298526, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ba23edd6b3e5d3a7171a54c478bde1ff", "spanId": "44a95525a275c512", "parentSpanId": "452fdb664479a0e1", "startTimeUnixNano": "1796073047388940518", "endTimeUnixNano": "1796073047389695721", "durationMs": 0.755203, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ba23edd6b3e5d3a7171a54c478bde1ff", "spanId": "452fdb664479a0e1", "parentSpanId": "5b326556717c692f", "startTimeUnixNano": "1796073047381636844", "endTimeUnixNano": "1796073047389723694", "durationMs": 8.08685, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.791465, "db.connection": "reader", "db.lock_wait_ms": 3.65}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ba23edd6b3e5d3a7171a54c478bde1ff", "spanId": "5b326556717c692f", "parentSpanId": "fc90b838fc7210f3", "startTimeUnixNano": "1796073047381619321", "endTimeUnixNano": "1796073047389737290", "durationMs": 8.117969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ba23edd6b3e5d3a7171a54c478bde1ff", "spanId": "fc90b838fc7210f3", "parentSpanId": "dd010716aa55c596", "startTimeUnixNano": "1796073047381534461", "endTimeUnixNano": "1796073047389741978", "durationMs": 8.207517, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ba23edd6b3e5d3a7171a54c478bde1ff", "spanId": "dd010716aa55c596", "startTimeUnixNano": "1796073047381496109", "endTimeUnixNano": "1796073047389749052", "durationMs": 8.252943, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "09f0d4bfe68caec8921b8f0b9af135e1", "spanId": "5fea60cfb3715d08", "parentSpanId": "c207573abdc4de8d", "startTimeUnixNano": "1796073047622878438", "endTimeUnixNano": "1796073047623114944", "durationMs": 0.236506, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "09f0d4bfe68caec8921b8f0b9af135e1", "spanId": "46d5a4da9901ab8d", "parentSpanId": "4398bc60f76ef342", "startTimeUnixNano": "1796073047623192750", "endTimeUnixNano": "1796073047623653328", "durationMs": 0.460578, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01057}}
{"type": "effect-span", "name": "sqlite", "traceId": "09f0d4bfe68caec8921b8f0b9af135e1", "spanId": "ff913254329cf3c6", "parentSpanId": "4398bc60f76ef342", "startTimeUnixNano": "1796073047623786299", "endTimeUnixNano": "1796073047624566850", "durationMs": 0.780551, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018575}}
{"type": "effect-span", "name": "sqlite", "traceId": "09f0d4bfe68caec8921b8f0b9af135e1", "spanId": "c2111e12011ce595", "parentSpanId": "4398bc60f76ef342", "startTimeUnixNano": "1796073047624595754", "endTimeUnixNano": "1796073047625099714", "durationMs": 0.50396, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014297}}
{"type": "effect-span", "name": "sqlite", "traceId": "09f0d4bfe68caec8921b8f0b9af135e1", "spanId": "6e39e5c81695e89b", "parentSpanId": "4398bc60f76ef342", "startTimeUnixNano": "1796073047626460338", "endTimeUnixNano": "1796073047626976270", "durationMs": 0.515932, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020098}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "09f0d4bfe68caec8921b8f0b9af135e1", "spanId": "4398bc60f76ef342", "parentSpanId": "c207573abdc4de8d", "startTimeUnixNano": "1796073047623180828", "endTimeUnixNano": "1796073047627041263", "durationMs": 3.860435, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "09f0d4bfe68caec8921b8f0b9af135e1", "spanId": "cd8feed56fd17ada", "parentSpanId": "c207573abdc4de8d", "startTimeUnixNano": "1796073047627050440", "endTimeUnixNano": "1796073047627784884", "durationMs": 0.734444, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "09f0d4bfe68caec8921b8f0b9af135e1", "spanId": "c207573abdc4de8d", "parentSpanId": "2b64d08a4d924a50", "startTimeUnixNano": "1796073047616017879", "endTimeUnixNano": "1796073047627823256", "durationMs": 11.805377, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.852895, "db.connection": "reader", "db.lock_wait_ms": 6.756}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "09f0d4bfe68caec8921b8f0b9af135e1", "spanId": "2b64d08a4d924a50", "parentSpanId": "969cc8f9add78b24", "startTimeUnixNano": "1796073047615993593", "endTimeUnixNano": "1796073047627855818", "durationMs": 11.862225, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "09f0d4bfe68caec8921b8f0b9af135e1", "spanId": "969cc8f9add78b24", "parentSpanId": "09465409b2ee2e8a", "startTimeUnixNano": "1796073047615914955", "endTimeUnixNano": "1796073047627865997", "durationMs": 11.951042, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "09f0d4bfe68caec8921b8f0b9af135e1", "spanId": "09465409b2ee2e8a", "startTimeUnixNano": "1796073047615877895", "endTimeUnixNano": "1796073047627877669", "durationMs": 11.999774, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a5901cd203913a00e2bbf3046ee25a9f", "spanId": "07efd74658086cfd", "parentSpanId": "76722a1cc54df1df", "startTimeUnixNano": "1796073048951314018", "endTimeUnixNano": "1796073048952231747", "durationMs": 0.917729, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a5901cd203913a00e2bbf3046ee25a9f", "spanId": "a69e1ca38299dd3d", "parentSpanId": "4d79d457c2a7d330", "startTimeUnixNano": "1796073048952278906", "endTimeUnixNano": "1796073048952864760", "durationMs": 0.585854, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006723}}
{"type": "effect-span", "name": "sqlite", "traceId": "a5901cd203913a00e2bbf3046ee25a9f", "spanId": "b32c505bd387774c", "parentSpanId": "4d79d457c2a7d330", "startTimeUnixNano": "1796073048952957104", "endTimeUnixNano": "1796073048953782019", "durationMs": 0.824915, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011232}}
{"type": "effect-span", "name": "sqlite", "traceId": "a5901cd203913a00e2bbf3046ee25a9f", "spanId": "a6b064b8fc004b85", "parentSpanId": "4d79d457c2a7d330", "startTimeUnixNano": "1796073048953795334", "endTimeUnixNano": "1796073048954200548", "durationMs": 0.405214, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009067}}
{"type": "effect-span", "name": "sqlite", "traceId": "a5901cd203913a00e2bbf3046ee25a9f", "spanId": "4d4c59c48d138639", "parentSpanId": "4d79d457c2a7d330", "startTimeUnixNano": "1796073048954980207", "endTimeUnixNano": "1796073048955424344", "durationMs": 0.444137, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012784}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a5901cd203913a00e2bbf3046ee25a9f", "spanId": "4d79d457c2a7d330", "parentSpanId": "76722a1cc54df1df", "startTimeUnixNano": "1796073048952272354", "endTimeUnixNano": "1796073048955518181", "durationMs": 3.245827, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a5901cd203913a00e2bbf3046ee25a9f", "spanId": "79419e24bd9f8fba", "parentSpanId": "76722a1cc54df1df", "startTimeUnixNano": "1796073048955529963", "endTimeUnixNano": "1796073048955873450", "durationMs": 0.343487, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a5901cd203913a00e2bbf3046ee25a9f", "spanId": "76722a1cc54df1df", "parentSpanId": "620c789aa27d5a2a", "startTimeUnixNano": "1796073048949167964", "endTimeUnixNano": "1796073048955902535", "durationMs": 6.734571, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.140073, "db.connection": "reader", "db.lock_wait_ms": 2.061}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a5901cd203913a00e2bbf3046ee25a9f", "spanId": "620c789aa27d5a2a", "parentSpanId": "3ad6305eef515c48", "startTimeUnixNano": "1796073048949158396", "endTimeUnixNano": "1796073048955918956", "durationMs": 6.76056, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a5901cd203913a00e2bbf3046ee25a9f", "spanId": "3ad6305eef515c48", "parentSpanId": "546af83ba0aa9539", "startTimeUnixNano": "1796073048949112880", "endTimeUnixNano": "1796073048955925468", "durationMs": 6.812588, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a5901cd203913a00e2bbf3046ee25a9f", "spanId": "546af83ba0aa9539", "startTimeUnixNano": "1796073048949094365", "endTimeUnixNano": "1796073048955933123", "durationMs": 6.838758, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2f781472435c0c8cf1bc153b883edb8b", "spanId": "af612da1d9925d45", "parentSpanId": "d56a8050d66d3950", "startTimeUnixNano": "1796073049206649182", "endTimeUnixNano": "1796073049206843488", "durationMs": 0.194306, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2f781472435c0c8cf1bc153b883edb8b", "spanId": "630467b826e2be23", "parentSpanId": "b32bdb9c52838802", "startTimeUnixNano": "1796073049206902920", "endTimeUnixNano": "1796073049207230537", "durationMs": 0.327617, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012213}}
{"type": "effect-span", "name": "sqlite", "traceId": "2f781472435c0c8cf1bc153b883edb8b", "spanId": "541da814ab507776", "parentSpanId": "b32bdb9c52838802", "startTimeUnixNano": "1796073049207326478", "endTimeUnixNano": "1796073049207755026", "durationMs": 0.428548, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011832}}
{"type": "effect-span", "name": "sqlite", "traceId": "2f781472435c0c8cf1bc153b883edb8b", "spanId": "fcd1449baf0f52a8", "parentSpanId": "b32bdb9c52838802", "startTimeUnixNano": "1796073049207779031", "endTimeUnixNano": "1796073049208315742", "durationMs": 0.536711, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009348}}
{"type": "effect-span", "name": "sqlite", "traceId": "2f781472435c0c8cf1bc153b883edb8b", "spanId": "b8fb180d0677ac5c", "parentSpanId": "b32bdb9c52838802", "startTimeUnixNano": "1796073049209300779", "endTimeUnixNano": "1796073049209807413", "durationMs": 0.506634, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013325}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2f781472435c0c8cf1bc153b883edb8b", "spanId": "b32bdb9c52838802", "parentSpanId": "d56a8050d66d3950", "startTimeUnixNano": "1796073049206894424", "endTimeUnixNano": "1796073049209866495", "durationMs": 2.972071, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2f781472435c0c8cf1bc153b883edb8b", "spanId": "06d0a05ae15e7b40", "parentSpanId": "d56a8050d66d3950", "startTimeUnixNano": "1796073049209874860", "endTimeUnixNano": "1796073049209971112", "durationMs": 0.096252, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2f781472435c0c8cf1bc153b883edb8b", "spanId": "d56a8050d66d3950", "parentSpanId": "f6689148a5555ed4", "startTimeUnixNano": "1796073049204986148", "endTimeUnixNano": "1796073049209988625", "durationMs": 5.002477, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.656101, "db.connection": "reader", "db.lock_wait_ms": 1.611}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2f781472435c0c8cf1bc153b883edb8b", "spanId": "f6689148a5555ed4", "parentSpanId": "306d3cac4865d0bf", "startTimeUnixNano": "1796073049204976780", "endTimeUnixNano": "1796073049210000497", "durationMs": 5.023717, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2f781472435c0c8cf1bc153b883edb8b", "spanId": "306d3cac4865d0bf", "parentSpanId": "30645d7f26ccbfb2", "startTimeUnixNano": "1796073049204937757", "endTimeUnixNano": "1796073049210011348", "durationMs": 5.073591, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2f781472435c0c8cf1bc153b883edb8b", "spanId": "30645d7f26ccbfb2", "startTimeUnixNano": "1796073049204921726", "endTimeUnixNano": "1796073049210020054", "durationMs": 5.098328, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "518b568532202c8c978bab5242208faa", "spanId": "34cdab7bc35befd0", "parentSpanId": "80bc496e2d545816", "startTimeUnixNano": "1796073050782597266", "endTimeUnixNano": "1796073050784531261", "durationMs": 1.933995, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "518b568532202c8c978bab5242208faa", "spanId": "f875c683ead9e8cd", "parentSpanId": "e5015f2aa4fb9a11", "startTimeUnixNano": "1796073050784649464", "endTimeUnixNano": "1796073050785688602", "durationMs": 1.039138, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013695}}
{"type": "effect-span", "name": "sqlite", "traceId": "518b568532202c8c978bab5242208faa", "spanId": "5131f4e7e8579501", "parentSpanId": "e5015f2aa4fb9a11", "startTimeUnixNano": "1796073050785838855", "endTimeUnixNano": "1796073050787237922", "durationMs": 1.399067, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019958}}
{"type": "effect-span", "name": "sqlite", "traceId": "518b568532202c8c978bab5242208faa", "spanId": "57ce409ab6216799", "parentSpanId": "e5015f2aa4fb9a11", "startTimeUnixNano": "1796073050787257459", "endTimeUnixNano": "1796073050788011299", "durationMs": 0.75384, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010028}}
{"type": "effect-span", "name": "sqlite", "traceId": "518b568532202c8c978bab5242208faa", "spanId": "310c1c48486e9297", "parentSpanId": "e5015f2aa4fb9a11", "startTimeUnixNano": "1796073050790088153", "endTimeUnixNano": "1796073050791198055", "durationMs": 1.109902, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021871}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "518b568532202c8c978bab5242208faa", "spanId": "e5015f2aa4fb9a11", "parentSpanId": "80bc496e2d545816", "startTimeUnixNano": "1796073050784633634", "endTimeUnixNano": "1796073050791305597", "durationMs": 6.671963, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "518b568532202c8c978bab5242208faa", "spanId": "9bac6cba6677e2b6", "parentSpanId": "80bc496e2d545816", "startTimeUnixNano": "1796073050791322289", "endTimeUnixNano": "1796073050792771901", "durationMs": 1.449612, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "518b568532202c8c978bab5242208faa", "spanId": "80bc496e2d545816", "parentSpanId": "7f3f8d1c47a0a375", "startTimeUnixNano": "1796073050751596595", "endTimeUnixNano": "1796073050792811285", "durationMs": 41.21469, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 30.98429, "db.connection": "reader", "db.lock_wait_ms": 30.876}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "518b568532202c8c978bab5242208faa", "spanId": "7f3f8d1c47a0a375", "parentSpanId": "28ebfafb91f5b966", "startTimeUnixNano": "1796073050751584773", "endTimeUnixNano": "1796073050792836402", "durationMs": 41.251629, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "518b568532202c8c978bab5242208faa", "spanId": "28ebfafb91f5b966", "parentSpanId": "2db7ebf9f49431bb", "startTimeUnixNano": "1796073050751519430", "endTimeUnixNano": "1796073050792844267", "durationMs": 41.324837, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "518b568532202c8c978bab5242208faa", "spanId": "2db7ebf9f49431bb", "startTimeUnixNano": "1796073050751416405", "endTimeUnixNano": "1796073050792864405", "durationMs": 41.448, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "45d82756254b53775611d88dcea3c0bc", "spanId": "e2822d56d2f4ce86", "parentSpanId": "4453674e78815535", "startTimeUnixNano": "1796073051049637098", "endTimeUnixNano": "1796073051050673281", "durationMs": 1.036183, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "45d82756254b53775611d88dcea3c0bc", "spanId": "46e26178daef8ee2", "parentSpanId": "f25521d2fd36b6e1", "startTimeUnixNano": "1796073051050807784", "endTimeUnixNano": "1796073051052376561", "durationMs": 1.568777, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012825}}
{"type": "effect-span", "name": "sqlite", "traceId": "45d82756254b53775611d88dcea3c0bc", "spanId": "73949c8dc71ca3c4", "parentSpanId": "f25521d2fd36b6e1", "startTimeUnixNano": "1796073051052689561", "endTimeUnixNano": "1796073051053270816", "durationMs": 0.581255, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.025417}}
{"type": "effect-span", "name": "sqlite", "traceId": "45d82756254b53775611d88dcea3c0bc", "spanId": "1a884141be775f4b", "parentSpanId": "f25521d2fd36b6e1", "startTimeUnixNano": "1796073051053296565", "endTimeUnixNano": "1796073051054775181", "durationMs": 1.478616, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019907}}
{"type": "effect-span", "name": "sqlite", "traceId": "45d82756254b53775611d88dcea3c0bc", "spanId": "3aba15a05fc3a80a", "parentSpanId": "f25521d2fd36b6e1", "startTimeUnixNano": "1796073051056191490", "endTimeUnixNano": "1796073051057117696", "durationMs": 0.926206, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.034946}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "45d82756254b53775611d88dcea3c0bc", "spanId": "f25521d2fd36b6e1", "parentSpanId": "4453674e78815535", "startTimeUnixNano": "1796073051050774712", "endTimeUnixNano": "1796073051057260164", "durationMs": 6.485452, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "45d82756254b53775611d88dcea3c0bc", "spanId": "3c0c40af398921a1", "parentSpanId": "4453674e78815535", "startTimeUnixNano": "1796073051057300560", "endTimeUnixNano": "1796073051058095127", "durationMs": 0.794567, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "45d82756254b53775611d88dcea3c0bc", "spanId": "4453674e78815535", "parentSpanId": "8d4d4cf92a6bf3ab", "startTimeUnixNano": "1796073051046504335", "endTimeUnixNano": "1796073051058139431", "durationMs": 11.635096, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.12033, "db.connection": "reader", "db.lock_wait_ms": 2.944}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "45d82756254b53775611d88dcea3c0bc", "spanId": "8d4d4cf92a6bf3ab", "parentSpanId": "3fcb6b763f414963", "startTimeUnixNano": "1796073051046473346", "endTimeUnixNano": "1796073051058168806", "durationMs": 11.69546, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "45d82756254b53775611d88dcea3c0bc", "spanId": "3fcb6b763f414963", "parentSpanId": "33694774e529db0e", "startTimeUnixNano": "1796073051046379229", "endTimeUnixNano": "1796073051058179446", "durationMs": 11.800217, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "45d82756254b53775611d88dcea3c0bc", "spanId": "33694774e529db0e", "startTimeUnixNano": "1796073051046340987", "endTimeUnixNano": "1796073051058197641", "durationMs": 11.856654, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "086b915b5c0e05c128d410352949f07b", "spanId": "7d779cff9ccd3d0f", "parentSpanId": "4eb618351e9c6e6b", "startTimeUnixNano": "1796073052704193085", "endTimeUnixNano": "1796073052704511344", "durationMs": 0.318259, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "086b915b5c0e05c128d410352949f07b", "spanId": "c6620a93374bcb03", "parentSpanId": "0036d82010d652a2", "startTimeUnixNano": "1796073052704559375", "endTimeUnixNano": "1796073052705287096", "durationMs": 0.727721, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006422}}
{"type": "effect-span", "name": "sqlite", "traceId": "086b915b5c0e05c128d410352949f07b", "spanId": "d33fd014b9812025", "parentSpanId": "0036d82010d652a2", "startTimeUnixNano": "1796073052705391543", "endTimeUnixNano": "1796073052706048972", "durationMs": 0.657429, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011091}}
{"type": "effect-span", "name": "sqlite", "traceId": "086b915b5c0e05c128d410352949f07b", "spanId": "68be653a493d6a96", "parentSpanId": "0036d82010d652a2", "startTimeUnixNano": "1796073052706092655", "endTimeUnixNano": "1796073052706525711", "durationMs": 0.433056, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01639}}
{"type": "effect-span", "name": "sqlite", "traceId": "086b915b5c0e05c128d410352949f07b", "spanId": "b6201ecc21650c5e", "parentSpanId": "0036d82010d652a2", "startTimeUnixNano": "1796073052707523381", "endTimeUnixNano": "1796073052708404942", "durationMs": 0.881561, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020358}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "086b915b5c0e05c128d410352949f07b", "spanId": "0036d82010d652a2", "parentSpanId": "4eb618351e9c6e6b", "startTimeUnixNano": "1796073052704550949", "endTimeUnixNano": "1796073052708558071", "durationMs": 4.007122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "086b915b5c0e05c128d410352949f07b", "spanId": "b13af1618936e223", "parentSpanId": "4eb618351e9c6e6b", "startTimeUnixNano": "1796073052708578359", "endTimeUnixNano": "1796073052708809975", "durationMs": 0.231616, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "086b915b5c0e05c128d410352949f07b", "spanId": "4eb618351e9c6e6b", "parentSpanId": "3885dfc376480580", "startTimeUnixNano": "1796073052700625672", "endTimeUnixNano": "1796073052708843298", "durationMs": 8.217626, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.561331, "db.connection": "reader", "db.lock_wait_ms": 3.502}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "086b915b5c0e05c128d410352949f07b", "spanId": "3885dfc376480580", "parentSpanId": "9b210cf4e3ec8ce3", "startTimeUnixNano": "1796073052700610573", "endTimeUnixNano": "1796073052708872363", "durationMs": 8.26179, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "086b915b5c0e05c128d410352949f07b", "spanId": "9b210cf4e3ec8ce3", "parentSpanId": "80db89b0cca43372", "startTimeUnixNano": "1796073052700543086", "endTimeUnixNano": "1796073052708884155", "durationMs": 8.341069, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "086b915b5c0e05c128d410352949f07b", "spanId": "80db89b0cca43372", "startTimeUnixNano": "1796073052700507219", "endTimeUnixNano": "1796073052708899985", "durationMs": 8.392766, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d95214dc0836cd54e084889b5c3ae6f8", "spanId": "5443d7bc25a8f0dc", "parentSpanId": "7f59ab70bfeae4c2", "startTimeUnixNano": "1796073052988115062", "endTimeUnixNano": "1796073052988493706", "durationMs": 0.378644, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d95214dc0836cd54e084889b5c3ae6f8", "spanId": "dcea2abff5122806", "parentSpanId": "67971b2be47d36a2", "startTimeUnixNano": "1796073052988602872", "endTimeUnixNano": "1796073052990026504", "durationMs": 1.423632, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011662}}
{"type": "effect-span", "name": "sqlite", "traceId": "d95214dc0836cd54e084889b5c3ae6f8", "spanId": "67239836e4b68a5b", "parentSpanId": "67971b2be47d36a2", "startTimeUnixNano": "1796073052990201795", "endTimeUnixNano": "1796073052991218671", "durationMs": 1.016876, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.027091}}
{"type": "effect-span", "name": "sqlite", "traceId": "d95214dc0836cd54e084889b5c3ae6f8", "spanId": "95f5ca16b576ba8d", "parentSpanId": "67971b2be47d36a2", "startTimeUnixNano": "1796073052991262183", "endTimeUnixNano": "1796073052992264562", "durationMs": 1.002379, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023925}}
{"type": "effect-span", "name": "sqlite", "traceId": "d95214dc0836cd54e084889b5c3ae6f8", "spanId": "f408bf5812e6044b", "parentSpanId": "67971b2be47d36a2", "startTimeUnixNano": "1796073052994079783", "endTimeUnixNano": "1796073053000413018", "durationMs": 6.333235, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.028634}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d95214dc0836cd54e084889b5c3ae6f8", "spanId": "67971b2be47d36a2", "parentSpanId": "7f59ab70bfeae4c2", "startTimeUnixNano": "1796073052988585960", "endTimeUnixNano": "1796073053000558522", "durationMs": 11.972562, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d95214dc0836cd54e084889b5c3ae6f8", "spanId": "3f04fe0eeaeefdf6", "parentSpanId": "7f59ab70bfeae4c2", "startTimeUnixNano": "1796073053000596604", "endTimeUnixNano": "1796073053001383557", "durationMs": 0.786953, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d95214dc0836cd54e084889b5c3ae6f8", "spanId": "7f59ab70bfeae4c2", "parentSpanId": "67d354805f2a2457", "startTimeUnixNano": "1796073052984610818", "endTimeUnixNano": "1796073053001484778", "durationMs": 16.87396, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.487683, "db.connection": "reader", "db.lock_wait_ms": 3.365}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d95214dc0836cd54e084889b5c3ae6f8", "spanId": "67d354805f2a2457", "parentSpanId": "3772aa1b76d47948", "startTimeUnixNano": "1796073052984591071", "endTimeUnixNano": "1796073053001538559", "durationMs": 16.947488, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d95214dc0836cd54e084889b5c3ae6f8", "spanId": "3772aa1b76d47948", "parentSpanId": "3cb34e2684033279", "startTimeUnixNano": "1796073052984512433", "endTimeUnixNano": "1796073053001548328", "durationMs": 17.035895, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d95214dc0836cd54e084889b5c3ae6f8", "spanId": "3cb34e2684033279", "startTimeUnixNano": "1796073052984477688", "endTimeUnixNano": "1796073053001566492", "durationMs": 17.088804, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "47b1c05432ab88af69b1f6fdd1694eb2", "spanId": "56ba8ff69cd8345d", "parentSpanId": "e813031bb597e6fc", "startTimeUnixNano": "1796073054871782478", "endTimeUnixNano": "1796073054871961446", "durationMs": 0.178968, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "47b1c05432ab88af69b1f6fdd1694eb2", "spanId": "e467a33946d37403", "parentSpanId": "4e20506f8fc991c2", "startTimeUnixNano": "1796073054872031908", "endTimeUnixNano": "1796073054872823009", "durationMs": 0.791101, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007945}}
{"type": "effect-span", "name": "sqlite", "traceId": "47b1c05432ab88af69b1f6fdd1694eb2", "spanId": "dc457eb49fd9f658", "parentSpanId": "4e20506f8fc991c2", "startTimeUnixNano": "1796073054872910925", "endTimeUnixNano": "1796073054873606546", "durationMs": 0.695621, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009858}}
{"type": "effect-span", "name": "sqlite", "traceId": "47b1c05432ab88af69b1f6fdd1694eb2", "spanId": "a4c8c6969bf15399", "parentSpanId": "4e20506f8fc991c2", "startTimeUnixNano": "1796073054873628768", "endTimeUnixNano": "1796073054874304261", "durationMs": 0.675493, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01048}}
{"type": "effect-span", "name": "sqlite", "traceId": "47b1c05432ab88af69b1f6fdd1694eb2", "spanId": "df1242d66b280d44", "parentSpanId": "4e20506f8fc991c2", "startTimeUnixNano": "1796073054875359139", "endTimeUnixNano": "1796073054876419006", "durationMs": 1.059867, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012734}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "47b1c05432ab88af69b1f6fdd1694eb2", "spanId": "4e20506f8fc991c2", "parentSpanId": "e813031bb597e6fc", "startTimeUnixNano": "1796073054872024534", "endTimeUnixNano": "1796073054876525837", "durationMs": 4.501303, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "47b1c05432ab88af69b1f6fdd1694eb2", "spanId": "13148c5c2e97689e", "parentSpanId": "e813031bb597e6fc", "startTimeUnixNano": "1796073054876545595", "endTimeUnixNano": "1796073054877421916", "durationMs": 0.876321, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "47b1c05432ab88af69b1f6fdd1694eb2", "spanId": "e813031bb597e6fc", "parentSpanId": "5ed7e2d4b45312a4", "startTimeUnixNano": "1796073054868527604", "endTimeUnixNano": "1796073054877473243", "durationMs": 8.945639, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.24734, "db.connection": "reader", "db.lock_wait_ms": 3.2}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "47b1c05432ab88af69b1f6fdd1694eb2", "spanId": "5ed7e2d4b45312a4", "parentSpanId": "b55f659bfea7d6a5", "startTimeUnixNano": "1796073054868510622", "endTimeUnixNano": "1796073054877506986", "durationMs": 8.996364, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "47b1c05432ab88af69b1f6fdd1694eb2", "spanId": "b55f659bfea7d6a5", "parentSpanId": "20a26cbfacb9b710", "startTimeUnixNano": "1796073054868430161", "endTimeUnixNano": "1796073054877520742", "durationMs": 9.090581, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "47b1c05432ab88af69b1f6fdd1694eb2", "spanId": "20a26cbfacb9b710", "startTimeUnixNano": "1796073054868395756", "endTimeUnixNano": "1796073054877534388", "durationMs": 9.138632, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6b9fbf0a5800df8d7b7361212b6555ef", "spanId": "10d79aad1d55e944", "parentSpanId": "29ed05eb220b402c", "startTimeUnixNano": "1796073055142413269", "endTimeUnixNano": "1796073055143859124", "durationMs": 1.445855, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6b9fbf0a5800df8d7b7361212b6555ef", "spanId": "2e76d318a3658518", "parentSpanId": "a3860cb41fb232d5", "startTimeUnixNano": "1796073055143937942", "endTimeUnixNano": "1796073055144309953", "durationMs": 0.372011, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012023}}
{"type": "effect-span", "name": "sqlite", "traceId": "6b9fbf0a5800df8d7b7361212b6555ef", "spanId": "49f7a469018b5e41", "parentSpanId": "a3860cb41fb232d5", "startTimeUnixNano": "1796073055144452802", "endTimeUnixNano": "1796073055145492151", "durationMs": 1.039349, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019036}}
{"type": "effect-span", "name": "sqlite", "traceId": "6b9fbf0a5800df8d7b7361212b6555ef", "spanId": "7758ed44b59cc14b", "parentSpanId": "a3860cb41fb232d5", "startTimeUnixNano": "1796073055145516978", "endTimeUnixNano": "1796073055145899609", "durationMs": 0.382631, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010349}}
{"type": "effect-span", "name": "sqlite", "traceId": "6b9fbf0a5800df8d7b7361212b6555ef", "spanId": "7d0fdb9dee9ca482", "parentSpanId": "a3860cb41fb232d5", "startTimeUnixNano": "1796073055147045338", "endTimeUnixNano": "1796073055147803888", "durationMs": 0.75855, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015219}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6b9fbf0a5800df8d7b7361212b6555ef", "spanId": "a3860cb41fb232d5", "parentSpanId": "29ed05eb220b402c", "startTimeUnixNano": "1796073055143926120", "endTimeUnixNano": "1796073055147903014", "durationMs": 3.976894, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6b9fbf0a5800df8d7b7361212b6555ef", "spanId": "35cbfb766419563a", "parentSpanId": "29ed05eb220b402c", "startTimeUnixNano": "1796073055147916349", "endTimeUnixNano": "1796073055148968943", "durationMs": 1.052594, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6b9fbf0a5800df8d7b7361212b6555ef", "spanId": "29ed05eb220b402c", "parentSpanId": "026846caf6206277", "startTimeUnixNano": "1796073055140605292", "endTimeUnixNano": "1796073055148992217", "durationMs": 8.386925, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.802506, "db.connection": "reader", "db.lock_wait_ms": 1.681}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6b9fbf0a5800df8d7b7361212b6555ef", "spanId": "026846caf6206277", "parentSpanId": "21e4eadd9965f135", "startTimeUnixNano": "1796073055140590514", "endTimeUnixNano": "1796073055149013477", "durationMs": 8.422963, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6b9fbf0a5800df8d7b7361212b6555ef", "spanId": "21e4eadd9965f135", "parentSpanId": "f91c81e8dd6b6fb4", "startTimeUnixNano": "1796073055140539538", "endTimeUnixNano": "1796073055149021502", "durationMs": 8.481964, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6b9fbf0a5800df8d7b7361212b6555ef", "spanId": "f91c81e8dd6b6fb4", "startTimeUnixNano": "1796073055140509191", "endTimeUnixNano": "1796073055149033615", "durationMs": 8.524424, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "568a6414b3665b15aa22f61c930312b7", "spanId": "903463934b049052", "parentSpanId": "c3e0aa9fad7852c1", "startTimeUnixNano": "1796073056886676338", "endTimeUnixNano": "1796073056886920628", "durationMs": 0.24429, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "568a6414b3665b15aa22f61c930312b7", "spanId": "d023b3a1682f0236", "parentSpanId": "ce441e25cce2d2a2", "startTimeUnixNano": "1796073056886975832", "endTimeUnixNano": "1796073056887997458", "durationMs": 1.021626, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008015}}
{"type": "effect-span", "name": "sqlite", "traceId": "568a6414b3665b15aa22f61c930312b7", "spanId": "c07ac9482a5fd5cd", "parentSpanId": "ce441e25cce2d2a2", "startTimeUnixNano": "1796073056888099761", "endTimeUnixNano": "1796073056888816561", "durationMs": 0.7168, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012784}}
{"type": "effect-span", "name": "sqlite", "traceId": "568a6414b3665b15aa22f61c930312b7", "spanId": "6422f15881a190eb", "parentSpanId": "ce441e25cce2d2a2", "startTimeUnixNano": "1796073056888838713", "endTimeUnixNano": "1796073056889985053", "durationMs": 1.14634, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008456}}
{"type": "effect-span", "name": "sqlite", "traceId": "568a6414b3665b15aa22f61c930312b7", "spanId": "660d667632d70d6d", "parentSpanId": "ce441e25cce2d2a2", "startTimeUnixNano": "1796073056891625615", "endTimeUnixNano": "1796073056892306679", "durationMs": 0.681064, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016842}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "568a6414b3665b15aa22f61c930312b7", "spanId": "ce441e25cce2d2a2", "parentSpanId": "c3e0aa9fad7852c1", "startTimeUnixNano": "1796073056886967386", "endTimeUnixNano": "1796073056892403220", "durationMs": 5.435834, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "568a6414b3665b15aa22f61c930312b7", "spanId": "194ce9fd8c914269", "parentSpanId": "c3e0aa9fad7852c1", "startTimeUnixNano": "1796073056892424180", "endTimeUnixNano": "1796073056893054478", "durationMs": 0.630298, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "568a6414b3665b15aa22f61c930312b7", "spanId": "c3e0aa9fad7852c1", "parentSpanId": "2a845660bd455390", "startTimeUnixNano": "1796073056883696402", "endTimeUnixNano": "1796073056893091538", "durationMs": 9.395136, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.973594, "db.connection": "reader", "db.lock_wait_ms": 2.915}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "568a6414b3665b15aa22f61c930312b7", "spanId": "2a845660bd455390", "parentSpanId": "46a1d8d8bff041dc", "startTimeUnixNano": "1796073056883677767", "endTimeUnixNano": "1796073056893120362", "durationMs": 9.442595, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "568a6414b3665b15aa22f61c930312b7", "spanId": "46a1d8d8bff041dc", "parentSpanId": "32050fb5369835ff", "startTimeUnixNano": "1796073056883613125", "endTimeUnixNano": "1796073056893132104", "durationMs": 9.518979, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "568a6414b3665b15aa22f61c930312b7", "spanId": "32050fb5369835ff", "startTimeUnixNano": "1796073056883590893", "endTimeUnixNano": "1796073056893151851", "durationMs": 9.560958, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "acfd55e730b2dd142f3377577d59e0fe", "spanId": "d54ba792e032466a", "parentSpanId": "9e25b5e5d1c2090f", "startTimeUnixNano": "1796073057100828103", "endTimeUnixNano": "1796073057101504688", "durationMs": 0.676585, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "acfd55e730b2dd142f3377577d59e0fe", "spanId": "27eb02a321cd40eb", "parentSpanId": "069f972c8081938f", "startTimeUnixNano": "1796073057101567676", "endTimeUnixNano": "1796073057101934929", "durationMs": 0.367253, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007044}}
{"type": "effect-span", "name": "sqlite", "traceId": "acfd55e730b2dd142f3377577d59e0fe", "spanId": "6df370cb3c7f579c", "parentSpanId": "069f972c8081938f", "startTimeUnixNano": "1796073057102039926", "endTimeUnixNano": "1796073057102803415", "durationMs": 0.763489, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012995}}
{"type": "effect-span", "name": "sqlite", "traceId": "acfd55e730b2dd142f3377577d59e0fe", "spanId": "cb519f66c2fcaa02", "parentSpanId": "069f972c8081938f", "startTimeUnixNano": "1796073057102828532", "endTimeUnixNano": "1796073057103353151", "durationMs": 0.524619, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008797}}
{"type": "effect-span", "name": "sqlite", "traceId": "acfd55e730b2dd142f3377577d59e0fe", "spanId": "6952afdf77a55d95", "parentSpanId": "069f972c8081938f", "startTimeUnixNano": "1796073057104384966", "endTimeUnixNano": "1796073057106931274", "durationMs": 2.546308, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013144}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "acfd55e730b2dd142f3377577d59e0fe", "spanId": "069f972c8081938f", "parentSpanId": "9e25b5e5d1c2090f", "startTimeUnixNano": "1796073057101559000", "endTimeUnixNano": "1796073057107097487", "durationMs": 5.538487, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "acfd55e730b2dd142f3377577d59e0fe", "spanId": "9bba2e15c6d9bbd7", "parentSpanId": "9e25b5e5d1c2090f", "startTimeUnixNano": "1796073057107138294", "endTimeUnixNano": "1796073057108235061", "durationMs": 1.096767, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "acfd55e730b2dd142f3377577d59e0fe", "spanId": "9e25b5e5d1c2090f", "parentSpanId": "3367c46c44f049ca", "startTimeUnixNano": "1796073057099286778", "endTimeUnixNano": "1796073057108285096", "durationMs": 8.998318, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.536075, "db.connection": "reader", "db.lock_wait_ms": 1.481}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "acfd55e730b2dd142f3377577d59e0fe", "spanId": "3367c46c44f049ca", "parentSpanId": "629bdde8d75769a3", "startTimeUnixNano": "1796073057099268834", "endTimeUnixNano": "1796073057108312908", "durationMs": 9.044074, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "acfd55e730b2dd142f3377577d59e0fe", "spanId": "629bdde8d75769a3", "parentSpanId": "8d626f920e3e13c0", "startTimeUnixNano": "1796073057099218920", "endTimeUnixNano": "1796073057108322165", "durationMs": 9.103245, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "acfd55e730b2dd142f3377577d59e0fe", "spanId": "8d626f920e3e13c0", "startTimeUnixNano": "1796073057099202770", "endTimeUnixNano": "1796073057108337264", "durationMs": 9.134494, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "eb20feb0b53ad5d07f9a8f8c12187773", "spanId": "99093bd7fbce8e50", "parentSpanId": "d529d0fd4a18b9a5", "startTimeUnixNano": "1796073058788158994", "endTimeUnixNano": "1796073058788354002", "durationMs": 0.195008, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb20feb0b53ad5d07f9a8f8c12187773", "spanId": "6f42858dbf694ad7", "parentSpanId": "ef8ddcd78363ea5c", "startTimeUnixNano": "1796073058788404757", "endTimeUnixNano": "1796073058789209404", "durationMs": 0.804647, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006693}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb20feb0b53ad5d07f9a8f8c12187773", "spanId": "f34eef867d508fef", "parentSpanId": "ef8ddcd78363ea5c", "startTimeUnixNano": "1796073058789289024", "endTimeUnixNano": "1796073058789926115", "durationMs": 0.637091, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009217}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb20feb0b53ad5d07f9a8f8c12187773", "spanId": "3711fd242f46c343", "parentSpanId": "ef8ddcd78363ea5c", "startTimeUnixNano": "1796073058789946904", "endTimeUnixNano": "1796073058790653225", "durationMs": 0.706321, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008366}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb20feb0b53ad5d07f9a8f8c12187773", "spanId": "56d396f67d32fb2e", "parentSpanId": "ef8ddcd78363ea5c", "startTimeUnixNano": "1796073058791526170", "endTimeUnixNano": "1796073058792327260", "durationMs": 0.80109, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011151}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "eb20feb0b53ad5d07f9a8f8c12187773", "spanId": "ef8ddcd78363ea5c", "parentSpanId": "d529d0fd4a18b9a5", "startTimeUnixNano": "1796073058788397153", "endTimeUnixNano": "1796073058792400438", "durationMs": 4.003285, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "eb20feb0b53ad5d07f9a8f8c12187773", "spanId": "d8c7472ffe97bf1b", "parentSpanId": "d529d0fd4a18b9a5", "startTimeUnixNano": "1796073058792409655", "endTimeUnixNano": "1796073058793153867", "durationMs": 0.744212, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "eb20feb0b53ad5d07f9a8f8c12187773", "spanId": "d529d0fd4a18b9a5", "parentSpanId": "9db27d94f5f881f0", "startTimeUnixNano": "1796073058785709298", "endTimeUnixNano": "1796073058793182281", "durationMs": 7.472983, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.446009, "db.connection": "reader", "db.lock_wait_ms": 2.389}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "eb20feb0b53ad5d07f9a8f8c12187773", "spanId": "9db27d94f5f881f0", "parentSpanId": "a9ea88706d32d84c", "startTimeUnixNano": "1796073058785689270", "endTimeUnixNano": "1796073058793197259", "durationMs": 7.507989, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "eb20feb0b53ad5d07f9a8f8c12187773", "spanId": "a9ea88706d32d84c", "parentSpanId": "9aa9b29e5d5c1f37", "startTimeUnixNano": "1796073058785631421", "endTimeUnixNano": "1796073058793203371", "durationMs": 7.57195, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "eb20feb0b53ad5d07f9a8f8c12187773", "spanId": "9aa9b29e5d5c1f37", "startTimeUnixNano": "1796073058785604811", "endTimeUnixNano": "1796073058793211997", "durationMs": 7.607186, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3bd5eb82b2107711adce01cf0b1c0760", "spanId": "5804540e1dc0be47", "parentSpanId": "f04b13fd07942681", "startTimeUnixNano": "1796073059047761823", "endTimeUnixNano": "1796073059048832341", "durationMs": 1.070518, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3bd5eb82b2107711adce01cf0b1c0760", "spanId": "824b59538008a760", "parentSpanId": "7a705cfe5217cab8", "startTimeUnixNano": "1796073059048933561", "endTimeUnixNano": "1796073059049377027", "durationMs": 0.443466, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007565}}
{"type": "effect-span", "name": "sqlite", "traceId": "3bd5eb82b2107711adce01cf0b1c0760", "spanId": "abd5d68d344d422d", "parentSpanId": "7a705cfe5217cab8", "startTimeUnixNano": "1796073059049523743", "endTimeUnixNano": "1796073059050078188", "durationMs": 0.554445, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014979}}
{"type": "effect-span", "name": "sqlite", "traceId": "3bd5eb82b2107711adce01cf0b1c0760", "spanId": "404906b9fdf01a82", "parentSpanId": "7a705cfe5217cab8", "startTimeUnixNano": "1796073059050100390", "endTimeUnixNano": "1796073059051277428", "durationMs": 1.177038, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012093}}
{"type": "effect-span", "name": "sqlite", "traceId": "3bd5eb82b2107711adce01cf0b1c0760", "spanId": "4f27234e5012852f", "parentSpanId": "7a705cfe5217cab8", "startTimeUnixNano": "1796073059053002409", "endTimeUnixNano": "1796073059054215295", "durationMs": 1.212886, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019988}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3bd5eb82b2107711adce01cf0b1c0760", "spanId": "7a705cfe5217cab8", "parentSpanId": "f04b13fd07942681", "startTimeUnixNano": "1796073059048923442", "endTimeUnixNano": "1796073059054320303", "durationMs": 5.396861, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3bd5eb82b2107711adce01cf0b1c0760", "spanId": "38b12bcdc1127159", "parentSpanId": "f04b13fd07942681", "startTimeUnixNano": "1796073059054339830", "endTimeUnixNano": "1796073059055512029", "durationMs": 1.172199, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3bd5eb82b2107711adce01cf0b1c0760", "spanId": "f04b13fd07942681", "parentSpanId": "bba44bb4a951e6a2", "startTimeUnixNano": "1796073059041269859", "endTimeUnixNano": "1796073059055548498", "durationMs": 14.278639, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.481024, "db.connection": "reader", "db.lock_wait_ms": 6.431}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3bd5eb82b2107711adce01cf0b1c0760", "spanId": "bba44bb4a951e6a2", "parentSpanId": "96441dae6c6c1fbb", "startTimeUnixNano": "1796073059041256644", "endTimeUnixNano": "1796073059055579135", "durationMs": 14.322491, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3bd5eb82b2107711adce01cf0b1c0760", "spanId": "96441dae6c6c1fbb", "parentSpanId": "059921ba00e8c39d", "startTimeUnixNano": "1796073059041205498", "endTimeUnixNano": "1796073059055588613", "durationMs": 14.383115, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3bd5eb82b2107711adce01cf0b1c0760", "spanId": "059921ba00e8c39d", "startTimeUnixNano": "1796073059041182454", "endTimeUnixNano": "1796073059055605846", "durationMs": 14.423392, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "22414e407c1ceaabe2615f0e6bafae0b", "spanId": "aabf7f3331c02bfb", "parentSpanId": "400a00f4f5a88ae9", "startTimeUnixNano": "1796073060598698429", "endTimeUnixNano": "1796073060599470925", "durationMs": 0.772496, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "22414e407c1ceaabe2615f0e6bafae0b", "spanId": "967c930dc825dfcc", "parentSpanId": "288980a7c426b154", "startTimeUnixNano": "1796073060599537891", "endTimeUnixNano": "1796073060600252558", "durationMs": 0.714667, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009518}}
{"type": "effect-span", "name": "sqlite", "traceId": "22414e407c1ceaabe2615f0e6bafae0b", "spanId": "390ac6b50ac22179", "parentSpanId": "288980a7c426b154", "startTimeUnixNano": "1796073060600356273", "endTimeUnixNano": "1796073060600882385", "durationMs": 0.526112, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012564}}
{"type": "effect-span", "name": "sqlite", "traceId": "22414e407c1ceaabe2615f0e6bafae0b", "spanId": "e2f73aa140193d60", "parentSpanId": "288980a7c426b154", "startTimeUnixNano": "1796073060600907162", "endTimeUnixNano": "1796073060601589197", "durationMs": 0.682035, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017733}}
{"type": "effect-span", "name": "sqlite", "traceId": "22414e407c1ceaabe2615f0e6bafae0b", "spanId": "2536954d1619e892", "parentSpanId": "288980a7c426b154", "startTimeUnixNano": "1796073060602429210", "endTimeUnixNano": "1796073060612181198", "durationMs": 9.751988, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.029676}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "22414e407c1ceaabe2615f0e6bafae0b", "spanId": "288980a7c426b154", "parentSpanId": "400a00f4f5a88ae9", "startTimeUnixNano": "1796073060599526500", "endTimeUnixNano": "1796073060612287068", "durationMs": 12.760568, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "22414e407c1ceaabe2615f0e6bafae0b", "spanId": "4e6e9e77bcfdbac4", "parentSpanId": "400a00f4f5a88ae9", "startTimeUnixNano": "1796073060612302176", "endTimeUnixNano": "1796073060612607682", "durationMs": 0.305506, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "22414e407c1ceaabe2615f0e6bafae0b", "spanId": "400a00f4f5a88ae9", "parentSpanId": "10385f44d5c92be9", "startTimeUnixNano": "1796073060597060322", "endTimeUnixNano": "1796073060612644471", "durationMs": 15.584149, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.633899, "db.connection": "reader", "db.lock_wait_ms": 1.598}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "22414e407c1ceaabe2615f0e6bafae0b", "spanId": "10385f44d5c92be9", "parentSpanId": "613e2fb03b3e386b", "startTimeUnixNano": "1796073060597051325", "endTimeUnixNano": "1796073060612673225", "durationMs": 15.6219, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "22414e407c1ceaabe2615f0e6bafae0b", "spanId": "613e2fb03b3e386b", "parentSpanId": "cafa777d0cfa8415", "startTimeUnixNano": "1796073060597007813", "endTimeUnixNano": "1796073060612679958", "durationMs": 15.672145, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "22414e407c1ceaabe2615f0e6bafae0b", "spanId": "cafa777d0cfa8415", "startTimeUnixNano": "1796073060596988767", "endTimeUnixNano": "1796073060612689456", "durationMs": 15.700689, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6661656d21108525f2557c0f59d086f1", "spanId": "5f193181594676cd", "parentSpanId": "0a46d063a5550d64", "startTimeUnixNano": "1796073060845757580", "endTimeUnixNano": "1796073060845961424", "durationMs": 0.203844, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6661656d21108525f2557c0f59d086f1", "spanId": "1bb262fd0e43fac3", "parentSpanId": "c9e295de6b0a76bd", "startTimeUnixNano": "1796073060846025495", "endTimeUnixNano": "1796073060846781559", "durationMs": 0.756064, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007754}}
{"type": "effect-span", "name": "sqlite", "traceId": "6661656d21108525f2557c0f59d086f1", "spanId": "5ffd33c50170cb37", "parentSpanId": "c9e295de6b0a76bd", "startTimeUnixNano": "1796073060846901566", "endTimeUnixNano": "1796073060847261885", "durationMs": 0.360319, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011912}}
{"type": "effect-span", "name": "sqlite", "traceId": "6661656d21108525f2557c0f59d086f1", "spanId": "1504c245db7af9eb", "parentSpanId": "c9e295de6b0a76bd", "startTimeUnixNano": "1796073060847288986", "endTimeUnixNano": "1796073060847731860", "durationMs": 0.442874, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013004}}
{"type": "effect-span", "name": "sqlite", "traceId": "6661656d21108525f2557c0f59d086f1", "spanId": "fc9f4808724d2bc1", "parentSpanId": "c9e295de6b0a76bd", "startTimeUnixNano": "1796073060848636475", "endTimeUnixNano": "1796073060849133091", "durationMs": 0.496616, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014367}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6661656d21108525f2557c0f59d086f1", "spanId": "c9e295de6b0a76bd", "parentSpanId": "0a46d063a5550d64", "startTimeUnixNano": "1796073060846016768", "endTimeUnixNano": "1796073060849222309", "durationMs": 3.205541, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6661656d21108525f2557c0f59d086f1", "spanId": "803f17229f4d3c48", "parentSpanId": "0a46d063a5550d64", "startTimeUnixNano": "1796073060849238199", "endTimeUnixNano": "1796073060849704237", "durationMs": 0.466038, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6661656d21108525f2557c0f59d086f1", "spanId": "0a46d063a5550d64", "parentSpanId": "9d022ae3b702d7e1", "startTimeUnixNano": "1796073060843905530", "endTimeUnixNano": "1796073060849739574", "durationMs": 5.834044, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.8365, "db.connection": "reader", "db.lock_wait_ms": 1.771}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6661656d21108525f2557c0f59d086f1", "spanId": "9d022ae3b702d7e1", "parentSpanId": "b4bcca9be38be909", "startTimeUnixNano": "1796073060843893286", "endTimeUnixNano": "1796073060849771624", "durationMs": 5.878338, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6661656d21108525f2557c0f59d086f1", "spanId": "b4bcca9be38be909", "parentSpanId": "4271765be017b6d2", "startTimeUnixNano": "1796073060843839305", "endTimeUnixNano": "1796073060849778718", "durationMs": 5.939413, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6661656d21108525f2557c0f59d086f1", "spanId": "4271765be017b6d2", "startTimeUnixNano": "1796073060843810601", "endTimeUnixNano": "1796073060849790350", "durationMs": 5.979749, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bf050d10cc133520c9712777655d534f", "spanId": "aefabf5babb173b7", "parentSpanId": "be42f86daafedea1", "startTimeUnixNano": "1796073062210530768", "endTimeUnixNano": "1796073062210690829", "durationMs": 0.160061, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bf050d10cc133520c9712777655d534f", "spanId": "7cf5a897ca802090", "parentSpanId": "56b6e46b5fe8cd59", "startTimeUnixNano": "1796073062210734552", "endTimeUnixNano": "1796073062211487881", "durationMs": 0.753329, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006251}}
{"type": "effect-span", "name": "sqlite", "traceId": "bf050d10cc133520c9712777655d534f", "spanId": "5357eedb236701f5", "parentSpanId": "56b6e46b5fe8cd59", "startTimeUnixNano": "1796073062211575156", "endTimeUnixNano": "1796073062211994796", "durationMs": 0.41964, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01099}}
{"type": "effect-span", "name": "sqlite", "traceId": "bf050d10cc133520c9712777655d534f", "spanId": "f9b4c202b91f1ee7", "parentSpanId": "56b6e46b5fe8cd59", "startTimeUnixNano": "1796073062212015515", "endTimeUnixNano": "1796073062212606830", "durationMs": 0.591315, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008637}}
{"type": "effect-span", "name": "sqlite", "traceId": "bf050d10cc133520c9712777655d534f", "spanId": "d3a8e284890d4bff", "parentSpanId": "56b6e46b5fe8cd59", "startTimeUnixNano": "1796073062213490886", "endTimeUnixNano": "1796073062214063295", "durationMs": 0.572409, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012003}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bf050d10cc133520c9712777655d534f", "spanId": "56b6e46b5fe8cd59", "parentSpanId": "be42f86daafedea1", "startTimeUnixNano": "1796073062210727558", "endTimeUnixNano": "1796073062214154476", "durationMs": 3.426918, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bf050d10cc133520c9712777655d534f", "spanId": "8f9316bdb55d2869", "parentSpanId": "be42f86daafedea1", "startTimeUnixNano": "1796073062214164395", "endTimeUnixNano": "1796073062214589957", "durationMs": 0.425562, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bf050d10cc133520c9712777655d534f", "spanId": "be42f86daafedea1", "parentSpanId": "50a8c5c2c1de9df2", "startTimeUnixNano": "1796073062207894960", "endTimeUnixNano": "1796073062214613662", "durationMs": 6.718702, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.629906, "db.connection": "reader", "db.lock_wait_ms": 2.592}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bf050d10cc133520c9712777655d534f", "spanId": "50a8c5c2c1de9df2", "parentSpanId": "6da416a2fe7e9014", "startTimeUnixNano": "1796073062207884210", "endTimeUnixNano": "1796073062214628319", "durationMs": 6.744109, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bf050d10cc133520c9712777655d534f", "spanId": "6da416a2fe7e9014", "parentSpanId": "cc56927de4bcceb5", "startTimeUnixNano": "1796073062207839556", "endTimeUnixNano": "1796073062214634010", "durationMs": 6.794454, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bf050d10cc133520c9712777655d534f", "spanId": "cc56927de4bcceb5", "startTimeUnixNano": "1796073062207820169", "endTimeUnixNano": "1796073062214641634", "durationMs": 6.821465, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f329c9cf8d4251143d282e3d9a858a0a", "spanId": "1f9407ffcc1344d1", "parentSpanId": "313b802dba630ab0", "startTimeUnixNano": "1796073062465522117", "endTimeUnixNano": "1796073062467319885", "durationMs": 1.797768, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f329c9cf8d4251143d282e3d9a858a0a", "spanId": "2f34e39e97ac1746", "parentSpanId": "b710351e36884d15", "startTimeUnixNano": "1796073062467421096", "endTimeUnixNano": "1796073062468427472", "durationMs": 1.006376, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.025919}}
{"type": "effect-span", "name": "sqlite", "traceId": "f329c9cf8d4251143d282e3d9a858a0a", "spanId": "48aba7968590d06a", "parentSpanId": "b710351e36884d15", "startTimeUnixNano": "1796073062468521910", "endTimeUnixNano": "1796073062469487730", "durationMs": 0.96582, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010059}}
{"type": "effect-span", "name": "sqlite", "traceId": "f329c9cf8d4251143d282e3d9a858a0a", "spanId": "46650e90bf497da0", "parentSpanId": "b710351e36884d15", "startTimeUnixNano": "1796073062469515202", "endTimeUnixNano": "1796073062470094524", "durationMs": 0.579322, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011542}}
{"type": "effect-span", "name": "sqlite", "traceId": "f329c9cf8d4251143d282e3d9a858a0a", "spanId": "681c9ff922826e66", "parentSpanId": "b710351e36884d15", "startTimeUnixNano": "1796073062470991204", "endTimeUnixNano": "1796073062471729164", "durationMs": 0.73796, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011672}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f329c9cf8d4251143d282e3d9a858a0a", "spanId": "b710351e36884d15", "parentSpanId": "313b802dba630ab0", "startTimeUnixNano": "1796073062467408442", "endTimeUnixNano": "1796073062471802513", "durationMs": 4.394071, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f329c9cf8d4251143d282e3d9a858a0a", "spanId": "09b2d0a78d41f476", "parentSpanId": "313b802dba630ab0", "startTimeUnixNano": "1796073062471812521", "endTimeUnixNano": "1796073062472462366", "durationMs": 0.649845, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f329c9cf8d4251143d282e3d9a858a0a", "spanId": "313b802dba630ab0", "parentSpanId": "03af3396df11150e", "startTimeUnixNano": "1796073062456376462", "endTimeUnixNano": "1796073062472487774", "durationMs": 16.111312, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 9.135586, "db.connection": "reader", "db.lock_wait_ms": 9.043}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f329c9cf8d4251143d282e3d9a858a0a", "spanId": "03af3396df11150e", "parentSpanId": "cd48171e202b59f8", "startTimeUnixNano": "1796073062456359680", "endTimeUnixNano": "1796073062472512410", "durationMs": 16.15273, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f329c9cf8d4251143d282e3d9a858a0a", "spanId": "cd48171e202b59f8", "parentSpanId": "add1dad1b83fb0c8", "startTimeUnixNano": "1796073062456297924", "endTimeUnixNano": "1796073062472519464", "durationMs": 16.22154, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f329c9cf8d4251143d282e3d9a858a0a", "spanId": "add1dad1b83fb0c8", "startTimeUnixNano": "1796073062456270813", "endTimeUnixNano": "1796073062472530585", "durationMs": 16.259772, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "41d905dd910711d480ba8f5877d0eced", "spanId": "9df353cd895257dc", "parentSpanId": "4112c44b8b5934d6", "startTimeUnixNano": "1796073063787532339", "endTimeUnixNano": "1796073063788332447", "durationMs": 0.800108, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "41d905dd910711d480ba8f5877d0eced", "spanId": "cb8ff484ea9965e8", "parentSpanId": "4ce6544ed4d11168", "startTimeUnixNano": "1796073063788373915", "endTimeUnixNano": "1796073063788590964", "durationMs": 0.217049, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005861}}
{"type": "effect-span", "name": "sqlite", "traceId": "41d905dd910711d480ba8f5877d0eced", "spanId": "599370aa0ee9e70a", "parentSpanId": "4ce6544ed4d11168", "startTimeUnixNano": "1796073063788660705", "endTimeUnixNano": "1796073063789176267", "durationMs": 0.515562, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009859}}
{"type": "effect-span", "name": "sqlite", "traceId": "41d905dd910711d480ba8f5877d0eced", "spanId": "0f9bdcf7986a6a91", "parentSpanId": "4ce6544ed4d11168", "startTimeUnixNano": "1796073063789194872", "endTimeUnixNano": "1796073063789669306", "durationMs": 0.474434, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007294}}
{"type": "effect-span", "name": "sqlite", "traceId": "41d905dd910711d480ba8f5877d0eced", "spanId": "b40669724128a9dd", "parentSpanId": "4ce6544ed4d11168", "startTimeUnixNano": "1796073063790495473", "endTimeUnixNano": "1796073063791410958", "durationMs": 0.915485, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010239}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "41d905dd910711d480ba8f5877d0eced", "spanId": "4ce6544ed4d11168", "parentSpanId": "4112c44b8b5934d6", "startTimeUnixNano": "1796073063788368054", "endTimeUnixNano": "1796073063791509614", "durationMs": 3.14156, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "41d905dd910711d480ba8f5877d0eced", "spanId": "227722c0718991c9", "parentSpanId": "4112c44b8b5934d6", "startTimeUnixNano": "1796073063791522378", "endTimeUnixNano": "1796073063792799806", "durationMs": 1.277428, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "41d905dd910711d480ba8f5877d0eced", "spanId": "4112c44b8b5934d6", "parentSpanId": "712969accc6b08d2", "startTimeUnixNano": "1796073063785453651", "endTimeUnixNano": "1796073063792831966", "durationMs": 7.378315, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.073468, "db.connection": "reader", "db.lock_wait_ms": 2.033}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "41d905dd910711d480ba8f5877d0eced", "spanId": "712969accc6b08d2", "parentSpanId": "fc1b46151197d0e2", "startTimeUnixNano": "1796073063785424056", "endTimeUnixNano": "1796073063792851132", "durationMs": 7.427076, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "41d905dd910711d480ba8f5877d0eced", "spanId": "fc1b46151197d0e2", "parentSpanId": "7270c5e5cb017cfc", "startTimeUnixNano": "1796073063785382678", "endTimeUnixNano": "1796073063792858656", "durationMs": 7.475978, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "41d905dd910711d480ba8f5877d0eced", "spanId": "7270c5e5cb017cfc", "startTimeUnixNano": "1796073063785364934", "endTimeUnixNano": "1796073063792869006", "durationMs": 7.504072, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c01a6c1b72c44618b9a2f0290a4b0376", "spanId": "f884eb0d7926e0e1", "parentSpanId": "46412436161d7eda", "startTimeUnixNano": "1796073064018251186", "endTimeUnixNano": "1796073064018480107", "durationMs": 0.228921, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c01a6c1b72c44618b9a2f0290a4b0376", "spanId": "d3a37daafa629ec4", "parentSpanId": "5e053e87f76d7065", "startTimeUnixNano": "1796073064018529831", "endTimeUnixNano": "1796073064018956515", "durationMs": 0.426684, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006282}}
{"type": "effect-span", "name": "sqlite", "traceId": "c01a6c1b72c44618b9a2f0290a4b0376", "spanId": "de34a84526af0761", "parentSpanId": "5e053e87f76d7065", "startTimeUnixNano": "1796073064019048990", "endTimeUnixNano": "1796073064019374042", "durationMs": 0.325052, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013305}}
{"type": "effect-span", "name": "sqlite", "traceId": "c01a6c1b72c44618b9a2f0290a4b0376", "spanId": "d4ded0726ff0d79b", "parentSpanId": "5e053e87f76d7065", "startTimeUnixNano": "1796073064019395473", "endTimeUnixNano": "1796073064019915743", "durationMs": 0.52027, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009077}}
{"type": "effect-span", "name": "sqlite", "traceId": "c01a6c1b72c44618b9a2f0290a4b0376", "spanId": "8cd1178f6d4c9c52", "parentSpanId": "5e053e87f76d7065", "startTimeUnixNano": "1796073064020755836", "endTimeUnixNano": "1796073064021402124", "durationMs": 0.646288, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011161}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c01a6c1b72c44618b9a2f0290a4b0376", "spanId": "5e053e87f76d7065", "parentSpanId": "46412436161d7eda", "startTimeUnixNano": "1796073064018522497", "endTimeUnixNano": "1796073064021486654", "durationMs": 2.964157, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c01a6c1b72c44618b9a2f0290a4b0376", "spanId": "38de51587b975c77", "parentSpanId": "46412436161d7eda", "startTimeUnixNano": "1796073064021498446", "endTimeUnixNano": "1796073064021634122", "durationMs": 0.135676, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c01a6c1b72c44618b9a2f0290a4b0376", "spanId": "46412436161d7eda", "parentSpanId": "6377948d931a9893", "startTimeUnixNano": "1796073064016675487", "endTimeUnixNano": "1796073064021653538", "durationMs": 4.978051, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.571932, "db.connection": "reader", "db.lock_wait_ms": 1.526}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c01a6c1b72c44618b9a2f0290a4b0376", "spanId": "6377948d931a9893", "parentSpanId": "1bda47827a4dc511", "startTimeUnixNano": "1796073064016665738", "endTimeUnixNano": "1796073064021666092", "durationMs": 5.000354, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c01a6c1b72c44618b9a2f0290a4b0376", "spanId": "1bda47827a4dc511", "parentSpanId": "72e225c8c0f8939d", "startTimeUnixNano": "1796073064016627867", "endTimeUnixNano": "1796073064021670210", "durationMs": 5.042343, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c01a6c1b72c44618b9a2f0290a4b0376", "spanId": "72e225c8c0f8939d", "startTimeUnixNano": "1796073064016611677", "endTimeUnixNano": "1796073064021676371", "durationMs": 5.064694, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "22cba3dc4bf34fb0acc07f087d1901c4", "spanId": "7c2e58ef3bba5bae", "parentSpanId": "f8fbd01ba3b3ca21", "startTimeUnixNano": "1796073065247535566", "endTimeUnixNano": "1796073065248214025", "durationMs": 0.678459, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "22cba3dc4bf34fb0acc07f087d1901c4", "spanId": "e50e464374648ee5", "parentSpanId": "3c24baf2434be050", "startTimeUnixNano": "1796073065248250474", "endTimeUnixNano": "1796073065249057745", "durationMs": 0.807271, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004608}}
{"type": "effect-span", "name": "sqlite", "traceId": "22cba3dc4bf34fb0acc07f087d1901c4", "spanId": "b89d99b466e1ccbf", "parentSpanId": "3c24baf2434be050", "startTimeUnixNano": "1796073065249129740", "endTimeUnixNano": "1796073065249589727", "durationMs": 0.459987, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008877}}
{"type": "effect-span", "name": "sqlite", "traceId": "22cba3dc4bf34fb0acc07f087d1901c4", "spanId": "87100f21448a6775", "parentSpanId": "3c24baf2434be050", "startTimeUnixNano": "1796073065249614103", "endTimeUnixNano": "1796073065250190119", "durationMs": 0.576016, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016551}}
{"type": "effect-span", "name": "sqlite", "traceId": "22cba3dc4bf34fb0acc07f087d1901c4", "spanId": "46da2158b325cae1", "parentSpanId": "3c24baf2434be050", "startTimeUnixNano": "1796073065251335387", "endTimeUnixNano": "1796073065252063780", "durationMs": 0.728393, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015008}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "22cba3dc4bf34fb0acc07f087d1901c4", "spanId": "3c24baf2434be050", "parentSpanId": "f8fbd01ba3b3ca21", "startTimeUnixNano": "1796073065248244653", "endTimeUnixNano": "1796073065252125536", "durationMs": 3.880883, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "22cba3dc4bf34fb0acc07f087d1901c4", "spanId": "d7e48945d61475b7", "parentSpanId": "f8fbd01ba3b3ca21", "startTimeUnixNano": "1796073065252133771", "endTimeUnixNano": "1796073065252412787", "durationMs": 0.279016, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "22cba3dc4bf34fb0acc07f087d1901c4", "spanId": "f8fbd01ba3b3ca21", "parentSpanId": "1595c35f4485c92d", "startTimeUnixNano": "1796073065245934129", "endTimeUnixNano": "1796073065252448635", "durationMs": 6.514506, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.596007, "db.connection": "reader", "db.lock_wait_ms": 1.56}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "22cba3dc4bf34fb0acc07f087d1901c4", "spanId": "1595c35f4485c92d", "parentSpanId": "248491578ae477b7", "startTimeUnixNano": "1796073065245925372", "endTimeUnixNano": "1796073065252477138", "durationMs": 6.551766, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "22cba3dc4bf34fb0acc07f087d1901c4", "spanId": "248491578ae477b7", "parentSpanId": "ee4d2c5fff0df875", "startTimeUnixNano": "1796073065245884715", "endTimeUnixNano": "1796073065252485083", "durationMs": 6.600368, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "22cba3dc4bf34fb0acc07f087d1901c4", "spanId": "ee4d2c5fff0df875", "startTimeUnixNano": "1796073065245867032", "endTimeUnixNano": "1796073065252492588", "durationMs": 6.625556, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a2b99bf66c068f921b396b5bafb2f601", "spanId": "8a502c873d359040", "parentSpanId": "42bd20617d591948", "startTimeUnixNano": "1796073065469021664", "endTimeUnixNano": "1796073065469210880", "durationMs": 0.189216, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2b99bf66c068f921b396b5bafb2f601", "spanId": "3895ee0186f53ad1", "parentSpanId": "e104a2681a0ad11f", "startTimeUnixNano": "1796073065469267567", "endTimeUnixNano": "1796073065469960223", "durationMs": 0.692656, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01063}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2b99bf66c068f921b396b5bafb2f601", "spanId": "0dbb03fbba5de93e", "parentSpanId": "e104a2681a0ad11f", "startTimeUnixNano": "1796073065470071492", "endTimeUnixNano": "1796073065470412595", "durationMs": 0.341103, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013706}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2b99bf66c068f921b396b5bafb2f601", "spanId": "c9455a0fe328ca17", "parentSpanId": "e104a2681a0ad11f", "startTimeUnixNano": "1796073065470453803", "endTimeUnixNano": "1796073065470792621", "durationMs": 0.338818, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013335}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2b99bf66c068f921b396b5bafb2f601", "spanId": "531dc24dec4762ed", "parentSpanId": "e104a2681a0ad11f", "startTimeUnixNano": "1796073065472248956", "endTimeUnixNano": "1796073065472826023", "durationMs": 0.577067, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01609}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a2b99bf66c068f921b396b5bafb2f601", "spanId": "e104a2681a0ad11f", "parentSpanId": "42bd20617d591948", "startTimeUnixNano": "1796073065469259562", "endTimeUnixNano": "1796073065472939918", "durationMs": 3.680356, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a2b99bf66c068f921b396b5bafb2f601", "spanId": "a4400d344c54d969", "parentSpanId": "42bd20617d591948", "startTimeUnixNano": "1796073065472985043", "endTimeUnixNano": "1796073065473306519", "durationMs": 0.321476, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a2b99bf66c068f921b396b5bafb2f601", "spanId": "42bd20617d591948", "parentSpanId": "ef41bd18215ab531", "startTimeUnixNano": "1796073065467254343", "endTimeUnixNano": "1796073065473336946", "durationMs": 6.082603, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.762592, "db.connection": "reader", "db.lock_wait_ms": 1.712}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a2b99bf66c068f921b396b5bafb2f601", "spanId": "ef41bd18215ab531", "parentSpanId": "1ce438efd1a16dc3", "startTimeUnixNano": "1796073065467239846", "endTimeUnixNano": "1796073065473354700", "durationMs": 6.114854, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a2b99bf66c068f921b396b5bafb2f601", "spanId": "1ce438efd1a16dc3", "parentSpanId": "8a025a3f2835ecb1", "startTimeUnixNano": "1796073065467188900", "endTimeUnixNano": "1796073065473361593", "durationMs": 6.172693, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a2b99bf66c068f921b396b5bafb2f601", "spanId": "8a025a3f2835ecb1", "startTimeUnixNano": "1796073065467167249", "endTimeUnixNano": "1796073065473371361", "durationMs": 6.204112, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "784a563b9e440ed8b68c30e068523e5f", "spanId": "ba4db1df2524826d", "parentSpanId": "0b3b2c9b8ec6781f", "startTimeUnixNano": "1796073066902734007", "endTimeUnixNano": "1796073066902904378", "durationMs": 0.170371, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "784a563b9e440ed8b68c30e068523e5f", "spanId": "606dee03689c7285", "parentSpanId": "5537cac4b650f70c", "startTimeUnixNano": "1796073066902949774", "endTimeUnixNano": "1796073066903698805", "durationMs": 0.749031, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006792}}
{"type": "effect-span", "name": "sqlite", "traceId": "784a563b9e440ed8b68c30e068523e5f", "spanId": "a4425bb85a271261", "parentSpanId": "5537cac4b650f70c", "startTimeUnixNano": "1796073066903782092", "endTimeUnixNano": "1796073066904422549", "durationMs": 0.640457, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018395}}
{"type": "effect-span", "name": "sqlite", "traceId": "784a563b9e440ed8b68c30e068523e5f", "spanId": "ae95f5edc876006e", "parentSpanId": "5537cac4b650f70c", "startTimeUnixNano": "1796073066904454289", "endTimeUnixNano": "1796073066905098132", "durationMs": 0.643843, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009808}}
{"type": "effect-span", "name": "sqlite", "traceId": "784a563b9e440ed8b68c30e068523e5f", "spanId": "2c98dc940e3b3816", "parentSpanId": "5537cac4b650f70c", "startTimeUnixNano": "1796073066906038494", "endTimeUnixNano": "1796073066907362279", "durationMs": 1.323785, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011943}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "784a563b9e440ed8b68c30e068523e5f", "spanId": "5537cac4b650f70c", "parentSpanId": "0b3b2c9b8ec6781f", "startTimeUnixNano": "1796073066902942760", "endTimeUnixNano": "1796073066907466135", "durationMs": 4.523375, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "784a563b9e440ed8b68c30e068523e5f", "spanId": "35243d7c90690efc", "parentSpanId": "0b3b2c9b8ec6781f", "startTimeUnixNano": "1796073066907476604", "endTimeUnixNano": "1796073066908014659", "durationMs": 0.538055, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "784a563b9e440ed8b68c30e068523e5f", "spanId": "0b3b2c9b8ec6781f", "parentSpanId": "cd3bfa0865e06fbf", "startTimeUnixNano": "1796073066900166548", "endTimeUnixNano": "1796073066908052299", "durationMs": 7.885751, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.563742, "db.connection": "reader", "db.lock_wait_ms": 2.491}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "784a563b9e440ed8b68c30e068523e5f", "spanId": "cd3bfa0865e06fbf", "parentSpanId": "5c81a66949b448d3", "startTimeUnixNano": "1796073066900147883", "endTimeUnixNano": "1796073066908071255", "durationMs": 7.923372, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "784a563b9e440ed8b68c30e068523e5f", "spanId": "5c81a66949b448d3", "parentSpanId": "23f3db4c3e259a25", "startTimeUnixNano": "1796073066900067191", "endTimeUnixNano": "1796073066908078098", "durationMs": 8.010907, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "784a563b9e440ed8b68c30e068523e5f", "spanId": "23f3db4c3e259a25", "startTimeUnixNano": "1796073066900033277", "endTimeUnixNano": "1796073066908087356", "durationMs": 8.054079, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "dd37b952aa6dcbaf6eeef94447f676fd", "spanId": "652f9d7f456c5c36", "parentSpanId": "71b22ea1581d17af", "startTimeUnixNano": "1796073067147066140", "endTimeUnixNano": "1796073067148807892", "durationMs": 1.741752, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "dd37b952aa6dcbaf6eeef94447f676fd", "spanId": "4493a0083a8c8853", "parentSpanId": "999fb42ee1c9e037", "startTimeUnixNano": "1796073067148874467", "endTimeUnixNano": "1796073067149226200", "durationMs": 0.351733, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008136}}
{"type": "effect-span", "name": "sqlite", "traceId": "dd37b952aa6dcbaf6eeef94447f676fd", "spanId": "bcfe32f1e88f968f", "parentSpanId": "999fb42ee1c9e037", "startTimeUnixNano": "1796073067149334995", "endTimeUnixNano": "1796073067149643807", "durationMs": 0.308812, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011001}}
{"type": "effect-span", "name": "sqlite", "traceId": "dd37b952aa6dcbaf6eeef94447f676fd", "spanId": "2172caaea0b7329e", "parentSpanId": "999fb42ee1c9e037", "startTimeUnixNano": "1796073067149666951", "endTimeUnixNano": "1796073067150368012", "durationMs": 0.701061, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01049}}
{"type": "effect-span", "name": "sqlite", "traceId": "dd37b952aa6dcbaf6eeef94447f676fd", "spanId": "f490b0c61d7fa393", "parentSpanId": "999fb42ee1c9e037", "startTimeUnixNano": "1796073067151565849", "endTimeUnixNano": "1796073067152215724", "durationMs": 0.649875, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015209}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "dd37b952aa6dcbaf6eeef94447f676fd", "spanId": "999fb42ee1c9e037", "parentSpanId": "71b22ea1581d17af", "startTimeUnixNano": "1796073067148865992", "endTimeUnixNano": "1796073067152303510", "durationMs": 3.437518, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "dd37b952aa6dcbaf6eeef94447f676fd", "spanId": "3bffd600acd87e9e", "parentSpanId": "71b22ea1581d17af", "startTimeUnixNano": "1796073067152315873", "endTimeUnixNano": "1796073067152787852", "durationMs": 0.471979, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "dd37b952aa6dcbaf6eeef94447f676fd", "spanId": "71b22ea1581d17af", "parentSpanId": "a2d6634b61c344f7", "startTimeUnixNano": "1796073067145755490", "endTimeUnixNano": "1796073067152817769", "durationMs": 7.062279, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.305831, "db.connection": "reader", "db.lock_wait_ms": 1.243}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "dd37b952aa6dcbaf6eeef94447f676fd", "spanId": "a2d6634b61c344f7", "parentSpanId": "cf5aa3f353b09baa", "startTimeUnixNano": "1796073067145742315", "endTimeUnixNano": "1796073067152831815", "durationMs": 7.0895, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "dd37b952aa6dcbaf6eeef94447f676fd", "spanId": "cf5aa3f353b09baa", "parentSpanId": "e031bd440a427fa6", "startTimeUnixNano": "1796073067145690327", "endTimeUnixNano": "1796073067152837676", "durationMs": 7.147349, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "dd37b952aa6dcbaf6eeef94447f676fd", "spanId": "e031bd440a427fa6", "startTimeUnixNano": "1796073067145666282", "endTimeUnixNano": "1796073067152847024", "durationMs": 7.180742, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5065a47be8bcd4e590febdee27edbd00", "spanId": "fa25f9308b06c2bd", "parentSpanId": "620055908d91124a", "startTimeUnixNano": "1796073068551695346", "endTimeUnixNano": "1796073068551882569", "durationMs": 0.187223, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5065a47be8bcd4e590febdee27edbd00", "spanId": "c83cb04a255f09aa", "parentSpanId": "114f9afffe15bb10", "startTimeUnixNano": "1796073068551928746", "endTimeUnixNano": "1796073068552666627", "durationMs": 0.737881, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006532}}
{"type": "effect-span", "name": "sqlite", "traceId": "5065a47be8bcd4e590febdee27edbd00", "spanId": "48f1d386ecc32cad", "parentSpanId": "114f9afffe15bb10", "startTimeUnixNano": "1796073068552780401", "endTimeUnixNano": "1796073068553263922", "durationMs": 0.483521, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014808}}
{"type": "effect-span", "name": "sqlite", "traceId": "5065a47be8bcd4e590febdee27edbd00", "spanId": "0abcdc083b2775a5", "parentSpanId": "114f9afffe15bb10", "startTimeUnixNano": "1796073068553280754", "endTimeUnixNano": "1796073068553973229", "durationMs": 0.692475, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007073}}
{"type": "effect-span", "name": "sqlite", "traceId": "5065a47be8bcd4e590febdee27edbd00", "spanId": "f93e4de5b586340e", "parentSpanId": "114f9afffe15bb10", "startTimeUnixNano": "1796073068555076007", "endTimeUnixNano": "1796073068556051185", "durationMs": 0.975178, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.053641}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5065a47be8bcd4e590febdee27edbd00", "spanId": "114f9afffe15bb10", "parentSpanId": "620055908d91124a", "startTimeUnixNano": "1796073068551921623", "endTimeUnixNano": "1796073068556193163", "durationMs": 4.27154, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5065a47be8bcd4e590febdee27edbd00", "spanId": "3b1fc07ec398565a", "parentSpanId": "620055908d91124a", "startTimeUnixNano": "1796073068556217178", "endTimeUnixNano": "1796073068557109650", "durationMs": 0.892472, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5065a47be8bcd4e590febdee27edbd00", "spanId": "620055908d91124a", "parentSpanId": "e2eca5bdfb64650c", "startTimeUnixNano": "1796073068549547228", "endTimeUnixNano": "1796073068557151138", "durationMs": 7.60391, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.14382, "db.connection": "reader", "db.lock_wait_ms": 2.108}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5065a47be8bcd4e590febdee27edbd00", "spanId": "e2eca5bdfb64650c", "parentSpanId": "b43ac64593ad280e", "startTimeUnixNano": "1796073068549537189", "endTimeUnixNano": "1796073068557173210", "durationMs": 7.636021, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5065a47be8bcd4e590febdee27edbd00", "spanId": "b43ac64593ad280e", "parentSpanId": "3dd9f366d47354f4", "startTimeUnixNano": "1796073068549495250", "endTimeUnixNano": "1796073068557179702", "durationMs": 7.684452, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5065a47be8bcd4e590febdee27edbd00", "spanId": "3dd9f366d47354f4", "startTimeUnixNano": "1796073068549476645", "endTimeUnixNano": "1796073068557191033", "durationMs": 7.714388, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "87aa85b0f4ec7921c072df65d4c43bed", "spanId": "f4f7700c8a1542da", "parentSpanId": "ec4a144701b5fd0a", "startTimeUnixNano": "1796073068847010209", "endTimeUnixNano": "1796073068847963235", "durationMs": 0.953026, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "87aa85b0f4ec7921c072df65d4c43bed", "spanId": "1680e4a240bbeda9", "parentSpanId": "3ba093c3e26217f6", "startTimeUnixNano": "1796073068848064285", "endTimeUnixNano": "1796073068849699527", "durationMs": 1.635242, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008997}}
{"type": "effect-span", "name": "sqlite", "traceId": "87aa85b0f4ec7921c072df65d4c43bed", "spanId": "d1b781a70658c024", "parentSpanId": "3ba093c3e26217f6", "startTimeUnixNano": "1796073068849947494", "endTimeUnixNano": "1796073068851130393", "durationMs": 1.182899, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.021601}}
{"type": "effect-span", "name": "sqlite", "traceId": "87aa85b0f4ec7921c072df65d4c43bed", "spanId": "7ade8e1a361c6f97", "parentSpanId": "3ba093c3e26217f6", "startTimeUnixNano": "1796073068851159318", "endTimeUnixNano": "1796073068851712200", "durationMs": 0.552882, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013856}}
{"type": "effect-span", "name": "sqlite", "traceId": "87aa85b0f4ec7921c072df65d4c43bed", "spanId": "df62299ae7168448", "parentSpanId": "3ba093c3e26217f6", "startTimeUnixNano": "1796073068853659209", "endTimeUnixNano": "1796073068854507087", "durationMs": 0.847878, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.041909}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "87aa85b0f4ec7921c072df65d4c43bed", "spanId": "3ba093c3e26217f6", "parentSpanId": "ec4a144701b5fd0a", "startTimeUnixNano": "1796073068848051140", "endTimeUnixNano": "1796073068854642262", "durationMs": 6.591122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "87aa85b0f4ec7921c072df65d4c43bed", "spanId": "5ea040166267f2b0", "parentSpanId": "ec4a144701b5fd0a", "startTimeUnixNano": "1796073068854670004", "endTimeUnixNano": "1796073068855554901", "durationMs": 0.884897, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "87aa85b0f4ec7921c072df65d4c43bed", "spanId": "ec4a144701b5fd0a", "parentSpanId": "036a13464df27880", "startTimeUnixNano": "1796073068844291645", "endTimeUnixNano": "1796073068855584587", "durationMs": 11.292942, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.707282, "db.connection": "reader", "db.lock_wait_ms": 2.509}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "87aa85b0f4ec7921c072df65d4c43bed", "spanId": "036a13464df27880", "parentSpanId": "112a34062f4d73e3", "startTimeUnixNano": "1796073068844276126", "endTimeUnixNano": "1796073068855615245", "durationMs": 11.339119, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "87aa85b0f4ec7921c072df65d4c43bed", "spanId": "112a34062f4d73e3", "parentSpanId": "c3f182eb233d03ad", "startTimeUnixNano": "1796073068844195494", "endTimeUnixNano": "1796073068855625985", "durationMs": 11.430491, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "87aa85b0f4ec7921c072df65d4c43bed", "spanId": "c3f182eb233d03ad", "startTimeUnixNano": "1796073068844157733", "endTimeUnixNano": "1796073068855644851", "durationMs": 11.487118, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e93754a4109c35a47838a52130705492", "spanId": "f5a13273eb8a6504", "parentSpanId": "f1c5b5ec17b8fff9", "startTimeUnixNano": "1796073070437987629", "endTimeUnixNano": "1796073070438325225", "durationMs": 0.337596, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e93754a4109c35a47838a52130705492", "spanId": "d36027646e9cad95", "parentSpanId": "a7dcf91b31802395", "startTimeUnixNano": "1796073070438462724", "endTimeUnixNano": "1796073070440196622", "durationMs": 1.733898, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014117}}
{"type": "effect-span", "name": "sqlite", "traceId": "e93754a4109c35a47838a52130705492", "spanId": "e4b141cced643e8b", "parentSpanId": "a7dcf91b31802395", "startTimeUnixNano": "1796073070440474165", "endTimeUnixNano": "1796073070441116194", "durationMs": 0.642029, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.023784}}
{"type": "effect-span", "name": "sqlite", "traceId": "e93754a4109c35a47838a52130705492", "spanId": "9d95b19512068cf4", "parentSpanId": "a7dcf91b31802395", "startTimeUnixNano": "1796073070441155438", "endTimeUnixNano": "1796073070442125717", "durationMs": 0.970279, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017714}}
{"type": "effect-span", "name": "sqlite", "traceId": "e93754a4109c35a47838a52130705492", "spanId": "3167c9c8e2d7daee", "parentSpanId": "a7dcf91b31802395", "startTimeUnixNano": "1796073070444836596", "endTimeUnixNano": "1796073070446601983", "durationMs": 1.765387, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.070072}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e93754a4109c35a47838a52130705492", "spanId": "a7dcf91b31802395", "parentSpanId": "f1c5b5ec17b8fff9", "startTimeUnixNano": "1796073070438446343", "endTimeUnixNano": "1796073070446783996", "durationMs": 8.337653, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e93754a4109c35a47838a52130705492", "spanId": "849a6b285f58b2cc", "parentSpanId": "f1c5b5ec17b8fff9", "startTimeUnixNano": "1796073070446827488", "endTimeUnixNano": "1796073070471900829", "durationMs": 25.073341, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e93754a4109c35a47838a52130705492", "spanId": "f1c5b5ec17b8fff9", "parentSpanId": "b9ee6d7cd5a7128b", "startTimeUnixNano": "1796073070431998943", "endTimeUnixNano": "1796073070471995548", "durationMs": 39.996605, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.97492, "db.connection": "reader", "db.lock_wait_ms": 5.819}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e93754a4109c35a47838a52130705492", "spanId": "b9ee6d7cd5a7128b", "parentSpanId": "2b98c917b1b14961", "startTimeUnixNano": "1796073070431967203", "endTimeUnixNano": "1796073070472039491", "durationMs": 40.072288, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e93754a4109c35a47838a52130705492", "spanId": "2b98c917b1b14961", "parentSpanId": "8fd3d95ec6aae071", "startTimeUnixNano": "1796073070431848289", "endTimeUnixNano": "1796073070472053076", "durationMs": 40.204787, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e93754a4109c35a47838a52130705492", "spanId": "8fd3d95ec6aae071", "startTimeUnixNano": "1796073070431788576", "endTimeUnixNano": "1796073070472075358", "durationMs": 40.286782, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "248af68bdf489f91c211af6c75ff8f21", "spanId": "d1e4dad904afebb0", "parentSpanId": "f7c8a6201aeaa5e9", "startTimeUnixNano": "1796073070755458966", "endTimeUnixNano": "1796073070756143216", "durationMs": 0.68425, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "248af68bdf489f91c211af6c75ff8f21", "spanId": "3825c1e36899a7d2", "parentSpanId": "90dedda2c65fc307", "startTimeUnixNano": "1796073070756263372", "endTimeUnixNano": "1796073070757705239", "durationMs": 1.441867, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013666}}
{"type": "effect-span", "name": "sqlite", "traceId": "248af68bdf489f91c211af6c75ff8f21", "spanId": "78a76b2d1906ef29", "parentSpanId": "90dedda2c65fc307", "startTimeUnixNano": "1796073070757996338", "endTimeUnixNano": "1796073070759342154", "durationMs": 1.345816, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.023604}}
{"type": "effect-span", "name": "sqlite", "traceId": "248af68bdf489f91c211af6c75ff8f21", "spanId": "50e80150da3cc282", "parentSpanId": "90dedda2c65fc307", "startTimeUnixNano": "1796073070759379975", "endTimeUnixNano": "1796073070760113878", "durationMs": 0.733903, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017463}}
{"type": "effect-span", "name": "sqlite", "traceId": "248af68bdf489f91c211af6c75ff8f21", "spanId": "450cf00cc7152823", "parentSpanId": "90dedda2c65fc307", "startTimeUnixNano": "1796073070762460290", "endTimeUnixNano": "1796073070763741665", "durationMs": 1.281375, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021591}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "248af68bdf489f91c211af6c75ff8f21", "spanId": "90dedda2c65fc307", "parentSpanId": "f7c8a6201aeaa5e9", "startTimeUnixNano": "1796073070756247973", "endTimeUnixNano": "1796073070764141048", "durationMs": 7.893075, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "248af68bdf489f91c211af6c75ff8f21", "spanId": "21961a538a64cbdf", "parentSpanId": "f7c8a6201aeaa5e9", "startTimeUnixNano": "1796073070764175002", "endTimeUnixNano": "1796073070765253334", "durationMs": 1.078332, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "248af68bdf489f91c211af6c75ff8f21", "spanId": "f7c8a6201aeaa5e9", "parentSpanId": "f1bf4bfbd939ca13", "startTimeUnixNano": "1796073070753053984", "endTimeUnixNano": "1796073070765280305", "durationMs": 12.226321, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.39878, "db.connection": "reader", "db.lock_wait_ms": 2.292}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "248af68bdf489f91c211af6c75ff8f21", "spanId": "f1bf4bfbd939ca13", "parentSpanId": "600ca2a73c25fadb", "startTimeUnixNano": "1796073070753042793", "endTimeUnixNano": "1796073070765310882", "durationMs": 12.268089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "248af68bdf489f91c211af6c75ff8f21", "spanId": "600ca2a73c25fadb", "parentSpanId": "9a617fc0fc8f419b", "startTimeUnixNano": "1796073070752989572", "endTimeUnixNano": "1796073070765322254", "durationMs": 12.332682, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "248af68bdf489f91c211af6c75ff8f21", "spanId": "9a617fc0fc8f419b", "startTimeUnixNano": "1796073070752960267", "endTimeUnixNano": "1796073070765342422", "durationMs": 12.382155, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "25a78c0c27bd070c6ebd2728c50a36fb", "spanId": "41420639ede260d6", "parentSpanId": "f75884dcc2578eb1", "startTimeUnixNano": "1796073072281879549", "endTimeUnixNano": "1796073072282210863", "durationMs": 0.331314, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "25a78c0c27bd070c6ebd2728c50a36fb", "spanId": "5ca85945839fbd52", "parentSpanId": "86e22282322502a2", "startTimeUnixNano": "1796073072282269794", "endTimeUnixNano": "1796073072283116160", "durationMs": 0.846366, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006603}}
{"type": "effect-span", "name": "sqlite", "traceId": "25a78c0c27bd070c6ebd2728c50a36fb", "spanId": "7fa5ffb7951b53c4", "parentSpanId": "86e22282322502a2", "startTimeUnixNano": "1796073072283238320", "endTimeUnixNano": "1796073072283939381", "durationMs": 0.701061, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016922}}
{"type": "effect-span", "name": "sqlite", "traceId": "25a78c0c27bd070c6ebd2728c50a36fb", "spanId": "580eb614251e4a04", "parentSpanId": "86e22282322502a2", "startTimeUnixNano": "1796073072283970760", "endTimeUnixNano": "1796073072284671380", "durationMs": 0.70062, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013505}}
{"type": "effect-span", "name": "sqlite", "traceId": "25a78c0c27bd070c6ebd2728c50a36fb", "spanId": "b790028860de77f4", "parentSpanId": "86e22282322502a2", "startTimeUnixNano": "1796073072285619197", "endTimeUnixNano": "1796073072286218256", "durationMs": 0.599059, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013645}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "25a78c0c27bd070c6ebd2728c50a36fb", "spanId": "86e22282322502a2", "parentSpanId": "f75884dcc2578eb1", "startTimeUnixNano": "1796073072282262621", "endTimeUnixNano": "1796073072286310930", "durationMs": 4.048309, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "25a78c0c27bd070c6ebd2728c50a36fb", "spanId": "f28745061cfe756d", "parentSpanId": "f75884dcc2578eb1", "startTimeUnixNano": "1796073072286324015", "endTimeUnixNano": "1796073072286751040", "durationMs": 0.427025, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "25a78c0c27bd070c6ebd2728c50a36fb", "spanId": "f75884dcc2578eb1", "parentSpanId": "a77f086aecadc689", "startTimeUnixNano": "1796073072279371573", "endTimeUnixNano": "1796073072286784122", "durationMs": 7.412549, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.503157, "db.connection": "reader", "db.lock_wait_ms": 2.462}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "25a78c0c27bd070c6ebd2728c50a36fb", "spanId": "a77f086aecadc689", "parentSpanId": "506a47e348770479", "startTimeUnixNano": "1796073072279363207", "endTimeUnixNano": "1796073072286806294", "durationMs": 7.443087, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "25a78c0c27bd070c6ebd2728c50a36fb", "spanId": "506a47e348770479", "parentSpanId": "55b2b6c7809e4e29", "startTimeUnixNano": "1796073072279319204", "endTimeUnixNano": "1796073072286814659", "durationMs": 7.495455, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "25a78c0c27bd070c6ebd2728c50a36fb", "spanId": "55b2b6c7809e4e29", "startTimeUnixNano": "1796073072279301841", "endTimeUnixNano": "1796073072286823837", "durationMs": 7.521996, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7adac2a2f8f3abaacc89795a4fc4a8f5", "spanId": "b08e261033630943", "parentSpanId": "1055732e30368805", "startTimeUnixNano": "1796073072527941273", "endTimeUnixNano": "1796073072528848603", "durationMs": 0.90733, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7adac2a2f8f3abaacc89795a4fc4a8f5", "spanId": "9b305d0f559b9993", "parentSpanId": "60295950734f1d73", "startTimeUnixNano": "1796073072528921911", "endTimeUnixNano": "1796073072529655233", "durationMs": 0.733322, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006452}}
{"type": "effect-span", "name": "sqlite", "traceId": "7adac2a2f8f3abaacc89795a4fc4a8f5", "spanId": "269916a4dae5620d", "parentSpanId": "60295950734f1d73", "startTimeUnixNano": "1796073072529747857", "endTimeUnixNano": "1796073072532620802", "durationMs": 2.872945, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015199}}
{"type": "effect-span", "name": "sqlite", "traceId": "7adac2a2f8f3abaacc89795a4fc4a8f5", "spanId": "f35a2d18576c6211", "parentSpanId": "60295950734f1d73", "startTimeUnixNano": "1796073072532639527", "endTimeUnixNano": "1796073072533114713", "durationMs": 0.475186, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013275}}
{"type": "effect-span", "name": "sqlite", "traceId": "7adac2a2f8f3abaacc89795a4fc4a8f5", "spanId": "6b326b5409231cab", "parentSpanId": "60295950734f1d73", "startTimeUnixNano": "1796073072534145966", "endTimeUnixNano": "1796073072534848049", "durationMs": 0.702083, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014838}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7adac2a2f8f3abaacc89795a4fc4a8f5", "spanId": "60295950734f1d73", "parentSpanId": "1055732e30368805", "startTimeUnixNano": "1796073072528913716", "endTimeUnixNano": "1796073072534916959", "durationMs": 6.003243, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7adac2a2f8f3abaacc89795a4fc4a8f5", "spanId": "ad26a510b067688f", "parentSpanId": "1055732e30368805", "startTimeUnixNano": "1796073072534928651", "endTimeUnixNano": "1796073072535070719", "durationMs": 0.142068, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7adac2a2f8f3abaacc89795a4fc4a8f5", "spanId": "1055732e30368805", "parentSpanId": "f9a1a1a7e2b187c8", "startTimeUnixNano": "1796073072519492811", "endTimeUnixNano": "1796073072535094924", "durationMs": 15.602113, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 8.44201, "db.connection": "reader", "db.lock_wait_ms": 8.371}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7adac2a2f8f3abaacc89795a4fc4a8f5", "spanId": "f9a1a1a7e2b187c8", "parentSpanId": "cbad92af543be9ce", "startTimeUnixNano": "1796073072519477392", "endTimeUnixNano": "1796073072535108901", "durationMs": 15.631509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7adac2a2f8f3abaacc89795a4fc4a8f5", "spanId": "cbad92af543be9ce", "parentSpanId": "7503dcfdaaef7aa4", "startTimeUnixNano": "1796073072519410687", "endTimeUnixNano": "1796073072535113659", "durationMs": 15.702972, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7adac2a2f8f3abaacc89795a4fc4a8f5", "spanId": "7503dcfdaaef7aa4", "startTimeUnixNano": "1796073072519391701", "endTimeUnixNano": "1796073072535121755", "durationMs": 15.730054, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "06311af7fcd028edab46a54a975d72cf", "spanId": "4e5ce507855d7235", "parentSpanId": "fe1667f7f649653e", "startTimeUnixNano": "1796073073872279216", "endTimeUnixNano": "1796073073873641874", "durationMs": 1.362658, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "06311af7fcd028edab46a54a975d72cf", "spanId": "9c438bb775366e41", "parentSpanId": "42191e5846da3226", "startTimeUnixNano": "1796073073873740009", "endTimeUnixNano": "1796073073875090935", "durationMs": 1.350926, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007554}}
{"type": "effect-span", "name": "sqlite", "traceId": "06311af7fcd028edab46a54a975d72cf", "spanId": "336f5207adde03fe", "parentSpanId": "42191e5846da3226", "startTimeUnixNano": "1796073073875245606", "endTimeUnixNano": "1796073073875867648", "durationMs": 0.622042, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012103}}
{"type": "effect-span", "name": "sqlite", "traceId": "06311af7fcd028edab46a54a975d72cf", "spanId": "f3a49c792160a822", "parentSpanId": "42191e5846da3226", "startTimeUnixNano": "1796073073875881464", "endTimeUnixNano": "1796073073877102766", "durationMs": 1.221302, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013526}}
{"type": "effect-span", "name": "sqlite", "traceId": "06311af7fcd028edab46a54a975d72cf", "spanId": "32daaaabfda9e398", "parentSpanId": "42191e5846da3226", "startTimeUnixNano": "1796073073878512152", "endTimeUnixNano": "1796073073879677739", "durationMs": 1.165587, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.032151}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "06311af7fcd028edab46a54a975d72cf", "spanId": "42191e5846da3226", "parentSpanId": "fe1667f7f649653e", "startTimeUnixNano": "1796073073873727746", "endTimeUnixNano": "1796073073879787616", "durationMs": 6.05987, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "06311af7fcd028edab46a54a975d72cf", "spanId": "09cdb713d7a05acd", "parentSpanId": "fe1667f7f649653e", "startTimeUnixNano": "1796073073879807223", "endTimeUnixNano": "1796073073880690056", "durationMs": 0.882833, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "06311af7fcd028edab46a54a975d72cf", "spanId": "fe1667f7f649653e", "parentSpanId": "72a70d1b6494abc6", "startTimeUnixNano": "1796073073869780517", "endTimeUnixNano": "1796073073880732386", "durationMs": 10.951869, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.491325, "db.connection": "reader", "db.lock_wait_ms": 2.405}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "06311af7fcd028edab46a54a975d72cf", "spanId": "72a70d1b6494abc6", "parentSpanId": "8487a52ec01a8459", "startTimeUnixNano": "1796073073869766100", "endTimeUnixNano": "1796073073880754919", "durationMs": 10.988819, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "06311af7fcd028edab46a54a975d72cf", "spanId": "8487a52ec01a8459", "parentSpanId": "e08336225f428844", "startTimeUnixNano": "1796073073869707860", "endTimeUnixNano": "1796073073880760760", "durationMs": 11.0529, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "06311af7fcd028edab46a54a975d72cf", "spanId": "e08336225f428844", "startTimeUnixNano": "1796073073869675749", "endTimeUnixNano": "1796073073880771279", "durationMs": 11.09553, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "70b4c511a139c7d3a26fe398cc1f9c71", "spanId": "024c0b009a4a7da0", "parentSpanId": "90621b89d2f72efd", "startTimeUnixNano": "1796073074118255409", "endTimeUnixNano": "1796073074118537821", "durationMs": 0.282412, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "70b4c511a139c7d3a26fe398cc1f9c71", "spanId": "241801e0faa1c3ab", "parentSpanId": "200729be5377e311", "startTimeUnixNano": "1796073074118603194", "endTimeUnixNano": "1796073074119103447", "durationMs": 0.500253, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007334}}
{"type": "effect-span", "name": "sqlite", "traceId": "70b4c511a139c7d3a26fe398cc1f9c71", "spanId": "f551c30b881d2925", "parentSpanId": "200729be5377e311", "startTimeUnixNano": "1796073074119200961", "endTimeUnixNano": "1796073074119760094", "durationMs": 0.559133, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009918}}
{"type": "effect-span", "name": "sqlite", "traceId": "70b4c511a139c7d3a26fe398cc1f9c71", "spanId": "1b1e207f91f19f9e", "parentSpanId": "200729be5377e311", "startTimeUnixNano": "1796073074119786885", "endTimeUnixNano": "1796073074120481324", "durationMs": 0.694439, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013055}}
{"type": "effect-span", "name": "sqlite", "traceId": "70b4c511a139c7d3a26fe398cc1f9c71", "spanId": "ffe8bc99f854662d", "parentSpanId": "200729be5377e311", "startTimeUnixNano": "1796073074121641420", "endTimeUnixNano": "1796073074122502122", "durationMs": 0.860702, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.028153}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "70b4c511a139c7d3a26fe398cc1f9c71", "spanId": "200729be5377e311", "parentSpanId": "90621b89d2f72efd", "startTimeUnixNano": "1796073074118593867", "endTimeUnixNano": "1796073074122616417", "durationMs": 4.02255, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "70b4c511a139c7d3a26fe398cc1f9c71", "spanId": "c907f43b11208909", "parentSpanId": "90621b89d2f72efd", "startTimeUnixNano": "1796073074122631906", "endTimeUnixNano": "1796073074123336073", "durationMs": 0.704167, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "70b4c511a139c7d3a26fe398cc1f9c71", "spanId": "90621b89d2f72efd", "parentSpanId": "ecfcad7440a69d1f", "startTimeUnixNano": "1796073074115689193", "endTimeUnixNano": "1796073074123378654", "durationMs": 7.689461, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.55252, "db.connection": "reader", "db.lock_wait_ms": 2.459}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "70b4c511a139c7d3a26fe398cc1f9c71", "spanId": "ecfcad7440a69d1f", "parentSpanId": "b658a2d773b896f2", "startTimeUnixNano": "1796073074115679224", "endTimeUnixNano": "1796073074123411756", "durationMs": 7.732532, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "70b4c511a139c7d3a26fe398cc1f9c71", "spanId": "b658a2d773b896f2", "parentSpanId": "bd8d0289a5c10be1", "startTimeUnixNano": "1796073074115636313", "endTimeUnixNano": "1796073074123420222", "durationMs": 7.783909, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "70b4c511a139c7d3a26fe398cc1f9c71", "spanId": "bd8d0289a5c10be1", "startTimeUnixNano": "1796073074115615824", "endTimeUnixNano": "1796073074123457813", "durationMs": 7.841989, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7f5f75c06f051779d61ed5f6783bade5", "spanId": "877bda8abcfa67e7", "parentSpanId": "91eee397a955dbaf", "startTimeUnixNano": "1796073075681675665", "endTimeUnixNano": "1796073075683021090", "durationMs": 1.345425, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f5f75c06f051779d61ed5f6783bade5", "spanId": "9fda46959aee19f5", "parentSpanId": "1711974209ade481", "startTimeUnixNano": "1796073075683079060", "endTimeUnixNano": "1796073075684261969", "durationMs": 1.182909, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00547}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f5f75c06f051779d61ed5f6783bade5", "spanId": "4cd5e663a4237a17", "parentSpanId": "1711974209ade481", "startTimeUnixNano": "1796073075684368970", "endTimeUnixNano": "1796073075685081092", "durationMs": 0.712122, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01018}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f5f75c06f051779d61ed5f6783bade5", "spanId": "25e35ecc7346de7e", "parentSpanId": "1711974209ade481", "startTimeUnixNano": "1796073075685093766", "endTimeUnixNano": "1796073075685683548", "durationMs": 0.589782, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008015}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f5f75c06f051779d61ed5f6783bade5", "spanId": "8053c980e9f3b674", "parentSpanId": "1711974209ade481", "startTimeUnixNano": "1796073075686694142", "endTimeUnixNano": "1796073075688007648", "durationMs": 1.313506, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013335}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7f5f75c06f051779d61ed5f6783bade5", "spanId": "1711974209ade481", "parentSpanId": "91eee397a955dbaf", "startTimeUnixNano": "1796073075683070614", "endTimeUnixNano": "1796073075688170094", "durationMs": 5.09948, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7f5f75c06f051779d61ed5f6783bade5", "spanId": "4edb8b6d9cb2286a", "parentSpanId": "91eee397a955dbaf", "startTimeUnixNano": "1796073075688196383", "endTimeUnixNano": "1796073075688838604", "durationMs": 0.642221, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7f5f75c06f051779d61ed5f6783bade5", "spanId": "91eee397a955dbaf", "parentSpanId": "f2f744ec31146ea4", "startTimeUnixNano": "1796073075676042108", "endTimeUnixNano": "1796073075688873600", "durationMs": 12.831492, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.617927, "db.connection": "reader", "db.lock_wait_ms": 5.545}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7f5f75c06f051779d61ed5f6783bade5", "spanId": "f2f744ec31146ea4", "parentSpanId": "fbe8972b021b3103", "startTimeUnixNano": "1796073075676032380", "endTimeUnixNano": "1796073075688899438", "durationMs": 12.867058, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7f5f75c06f051779d61ed5f6783bade5", "spanId": "fbe8972b021b3103", "parentSpanId": "b5868e3054d0a4cb", "startTimeUnixNano": "1796073075675978528", "endTimeUnixNano": "1796073075688905910", "durationMs": 12.927382, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7f5f75c06f051779d61ed5f6783bade5", "spanId": "b5868e3054d0a4cb", "startTimeUnixNano": "1796073075675949233", "endTimeUnixNano": "1796073075688917192", "durationMs": 12.967959, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "025ee17384067ffdc97a1b6f121c5958", "spanId": "2e6d129d03f940d7", "parentSpanId": "23e511eb5b14b54e", "startTimeUnixNano": "1796073076022915898", "endTimeUnixNano": "1796073076023183893", "durationMs": 0.267995, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "025ee17384067ffdc97a1b6f121c5958", "spanId": "d1aa7145ea714229", "parentSpanId": "e6932fdd1af24a61", "startTimeUnixNano": "1796073076023271388", "endTimeUnixNano": "1796073076024186452", "durationMs": 0.915064, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01081}}
{"type": "effect-span", "name": "sqlite", "traceId": "025ee17384067ffdc97a1b6f121c5958", "spanId": "7cc5926695988a3b", "parentSpanId": "e6932fdd1af24a61", "startTimeUnixNano": "1796073076024295087", "endTimeUnixNano": "1796073076025107227", "durationMs": 0.81214, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014587}}
{"type": "effect-span", "name": "sqlite", "traceId": "025ee17384067ffdc97a1b6f121c5958", "spanId": "0094fab207110fba", "parentSpanId": "e6932fdd1af24a61", "startTimeUnixNano": "1796073076025137114", "endTimeUnixNano": "1796073076025800113", "durationMs": 0.662999, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012674}}
{"type": "effect-span", "name": "sqlite", "traceId": "025ee17384067ffdc97a1b6f121c5958", "spanId": "de8d74ca7c3579ab", "parentSpanId": "e6932fdd1af24a61", "startTimeUnixNano": "1796073076027790654", "endTimeUnixNano": "1796073076028547351", "durationMs": 0.756697, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021711}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "025ee17384067ffdc97a1b6f121c5958", "spanId": "e6932fdd1af24a61", "parentSpanId": "23e511eb5b14b54e", "startTimeUnixNano": "1796073076023260157", "endTimeUnixNano": "1796073076028659732", "durationMs": 5.399575, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "025ee17384067ffdc97a1b6f121c5958", "spanId": "95ff64ba79bbed09", "parentSpanId": "23e511eb5b14b54e", "startTimeUnixNano": "1796073076028673719", "endTimeUnixNano": "1796073076029006546", "durationMs": 0.332827, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "025ee17384067ffdc97a1b6f121c5958", "spanId": "23e511eb5b14b54e", "parentSpanId": "1445bedc623d2df1", "startTimeUnixNano": "1796073076020737472", "endTimeUnixNano": "1796073076029034839", "durationMs": 8.297367, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.168527, "db.connection": "reader", "db.lock_wait_ms": 2.118}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "025ee17384067ffdc97a1b6f121c5958", "spanId": "1445bedc623d2df1", "parentSpanId": "4c50ee085f86e7d4", "startTimeUnixNano": "1796073076020725319", "endTimeUnixNano": "1796073076029051440", "durationMs": 8.326121, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "025ee17384067ffdc97a1b6f121c5958", "spanId": "4c50ee085f86e7d4", "parentSpanId": "c4fb9c487d5d568d", "startTimeUnixNano": "1796073076020666569", "endTimeUnixNano": "1796073076029061900", "durationMs": 8.395331, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "025ee17384067ffdc97a1b6f121c5958", "spanId": "c4fb9c487d5d568d", "startTimeUnixNano": "1796073076020646120", "endTimeUnixNano": "1796073076029071228", "durationMs": 8.425108, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "93033f143e850a7f7bf8435e69265bb8", "spanId": "68bfdfc4248623fd", "parentSpanId": "4bf16293ecc263d2", "startTimeUnixNano": "1796073077644846913", "endTimeUnixNano": "1796073077645131830", "durationMs": 0.284917, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "93033f143e850a7f7bf8435e69265bb8", "spanId": "80fd358335824e55", "parentSpanId": "e79ce02a26e00cc6", "startTimeUnixNano": "1796073077645203164", "endTimeUnixNano": "1796073077646292828", "durationMs": 1.089664, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007885}}
{"type": "effect-span", "name": "sqlite", "traceId": "93033f143e850a7f7bf8435e69265bb8", "spanId": "7118d9968d75cd25", "parentSpanId": "e79ce02a26e00cc6", "startTimeUnixNano": "1796073077646430467", "endTimeUnixNano": "1796073077647484063", "durationMs": 1.053596, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.033203}}
{"type": "effect-span", "name": "sqlite", "traceId": "93033f143e850a7f7bf8435e69265bb8", "spanId": "0f1736d2fb51b41e", "parentSpanId": "e79ce02a26e00cc6", "startTimeUnixNano": "1796073077647511344", "endTimeUnixNano": "1796073077648139528", "durationMs": 0.628184, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012384}}
{"type": "effect-span", "name": "sqlite", "traceId": "93033f143e850a7f7bf8435e69265bb8", "spanId": "b7e3dd664321911c", "parentSpanId": "e79ce02a26e00cc6", "startTimeUnixNano": "1796073077649186080", "endTimeUnixNano": "1796073077650194280", "durationMs": 1.0082, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.027773}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "93033f143e850a7f7bf8435e69265bb8", "spanId": "e79ce02a26e00cc6", "parentSpanId": "4bf16293ecc263d2", "startTimeUnixNano": "1796073077645190210", "endTimeUnixNano": "1796073077650356837", "durationMs": 5.166627, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "93033f143e850a7f7bf8435e69265bb8", "spanId": "a1fa7a79e3b23c1d", "parentSpanId": "4bf16293ecc263d2", "startTimeUnixNano": "1796073077650389839", "endTimeUnixNano": "1796073077651252475", "durationMs": 0.862636, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "93033f143e850a7f7bf8435e69265bb8", "spanId": "4bf16293ecc263d2", "parentSpanId": "03514f6f8862ea09", "startTimeUnixNano": "1796073077641326048", "endTimeUnixNano": "1796073077651295526", "durationMs": 9.969478, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.506999, "db.connection": "reader", "db.lock_wait_ms": 3.445}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "93033f143e850a7f7bf8435e69265bb8", "spanId": "03514f6f8862ea09", "parentSpanId": "cf27621336c5719e", "startTimeUnixNano": "1796073077641317091", "endTimeUnixNano": "1796073077651329740", "durationMs": 10.012649, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "93033f143e850a7f7bf8435e69265bb8", "spanId": "cf27621336c5719e", "parentSpanId": "17b08b94145eef0e", "startTimeUnixNano": "1796073077641264632", "endTimeUnixNano": "1796073077651341192", "durationMs": 10.07656, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "93033f143e850a7f7bf8435e69265bb8", "spanId": "17b08b94145eef0e", "startTimeUnixNano": "1796073077641246718", "endTimeUnixNano": "1796073077651358254", "durationMs": 10.111536, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4b45300fe44c1fe5dd3e54d71c4e6a39", "spanId": "b23d7ab99f1797d5", "parentSpanId": "b8bc8d458e6dcc7d", "startTimeUnixNano": "1796073077901554531", "endTimeUnixNano": "1796073077902037872", "durationMs": 0.483341, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4b45300fe44c1fe5dd3e54d71c4e6a39", "spanId": "69c43ef9d39bfa82", "parentSpanId": "fffc8c6ad98648fd", "startTimeUnixNano": "1796073077902093977", "endTimeUnixNano": "1796073077902970509", "durationMs": 0.876532, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007034}}
{"type": "effect-span", "name": "sqlite", "traceId": "4b45300fe44c1fe5dd3e54d71c4e6a39", "spanId": "cab866988b2a4e08", "parentSpanId": "fffc8c6ad98648fd", "startTimeUnixNano": "1796073077903048446", "endTimeUnixNano": "1796073077903375442", "durationMs": 0.326996, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009769}}
{"type": "effect-span", "name": "sqlite", "traceId": "4b45300fe44c1fe5dd3e54d71c4e6a39", "spanId": "80d106a1dbabd3ab", "parentSpanId": "fffc8c6ad98648fd", "startTimeUnixNano": "1796073077903388066", "endTimeUnixNano": "1796073077904009147", "durationMs": 0.621081, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014788}}
{"type": "effect-span", "name": "sqlite", "traceId": "4b45300fe44c1fe5dd3e54d71c4e6a39", "spanId": "076772d032ae3df1", "parentSpanId": "fffc8c6ad98648fd", "startTimeUnixNano": "1796073077905211382", "endTimeUnixNano": "1796073077905779262", "durationMs": 0.56788, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.028965}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4b45300fe44c1fe5dd3e54d71c4e6a39", "spanId": "fffc8c6ad98648fd", "parentSpanId": "b8bc8d458e6dcc7d", "startTimeUnixNano": "1796073077902084720", "endTimeUnixNano": "1796073077905860846", "durationMs": 3.776126, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4b45300fe44c1fe5dd3e54d71c4e6a39", "spanId": "17a24d05bd864c61", "parentSpanId": "b8bc8d458e6dcc7d", "startTimeUnixNano": "1796073077905882026", "endTimeUnixNano": "1796073077906061574", "durationMs": 0.179548, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4b45300fe44c1fe5dd3e54d71c4e6a39", "spanId": "b8bc8d458e6dcc7d", "parentSpanId": "27a1d6247bc47543", "startTimeUnixNano": "1796073077900238571", "endTimeUnixNano": "1796073077906092673", "durationMs": 5.854102, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.312714, "db.connection": "reader", "db.lock_wait_ms": 1.27}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4b45300fe44c1fe5dd3e54d71c4e6a39", "spanId": "27a1d6247bc47543", "parentSpanId": "e9b76b3baf971014", "startTimeUnixNano": "1796073077900227831", "endTimeUnixNano": "1796073077906115917", "durationMs": 5.888086, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4b45300fe44c1fe5dd3e54d71c4e6a39", "spanId": "e9b76b3baf971014", "parentSpanId": "08ce21c853dee9bf", "startTimeUnixNano": "1796073077900181082", "endTimeUnixNano": "1796073077906129242", "durationMs": 5.94816, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4b45300fe44c1fe5dd3e54d71c4e6a39", "spanId": "08ce21c853dee9bf", "startTimeUnixNano": "1796073077900159943", "endTimeUnixNano": "1796073077906140663", "durationMs": 5.98072, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3e65e8097efe234110b8945f7285503f", "spanId": "a7f6ba3767ad9619", "parentSpanId": "1a05ed32212d475e", "startTimeUnixNano": "1796073079472870653", "endTimeUnixNano": "1796073079474067819", "durationMs": 1.197166, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3e65e8097efe234110b8945f7285503f", "spanId": "7a201cb9da6e2b1e", "parentSpanId": "2cfb6b400bfa8296", "startTimeUnixNano": "1796073079474123885", "endTimeUnixNano": "1796073079474871514", "durationMs": 0.747629, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007003}}
{"type": "effect-span", "name": "sqlite", "traceId": "3e65e8097efe234110b8945f7285503f", "spanId": "781a85c45e8851b4", "parentSpanId": "2cfb6b400bfa8296", "startTimeUnixNano": "1796073079474980729", "endTimeUnixNano": "1796073079475487244", "durationMs": 0.506515, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012875}}
{"type": "effect-span", "name": "sqlite", "traceId": "3e65e8097efe234110b8945f7285503f", "spanId": "d69277a7d6829c16", "parentSpanId": "2cfb6b400bfa8296", "startTimeUnixNano": "1796073079475519745", "endTimeUnixNano": "1796073079476232849", "durationMs": 0.713104, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012904}}
{"type": "effect-span", "name": "sqlite", "traceId": "3e65e8097efe234110b8945f7285503f", "spanId": "9c5af12ced61b1b7", "parentSpanId": "2cfb6b400bfa8296", "startTimeUnixNano": "1796073079477217044", "endTimeUnixNano": "1796073079478152958", "durationMs": 0.935914, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011391}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3e65e8097efe234110b8945f7285503f", "spanId": "2cfb6b400bfa8296", "parentSpanId": "1a05ed32212d475e", "startTimeUnixNano": "1796073079474114116", "endTimeUnixNano": "1796073079478232357", "durationMs": 4.118241, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3e65e8097efe234110b8945f7285503f", "spanId": "b4ffaebdb776efc7", "parentSpanId": "1a05ed32212d475e", "startTimeUnixNano": "1796073079478241054", "endTimeUnixNano": "1796073079479002378", "durationMs": 0.761324, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3e65e8097efe234110b8945f7285503f", "spanId": "1a05ed32212d475e", "parentSpanId": "02c7f51685e70f67", "startTimeUnixNano": "1796073079470762971", "endTimeUnixNano": "1796073079479025893", "durationMs": 8.262922, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.10123, "db.connection": "reader", "db.lock_wait_ms": 2.061}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3e65e8097efe234110b8945f7285503f", "spanId": "02c7f51685e70f67", "parentSpanId": "9b01f093c7b09f3d", "startTimeUnixNano": "1796073079470752291", "endTimeUnixNano": "1796073079479041612", "durationMs": 8.289321, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3e65e8097efe234110b8945f7285503f", "spanId": "9b01f093c7b09f3d", "parentSpanId": "da3c20811d9e449b", "startTimeUnixNano": "1796073079470692708", "endTimeUnixNano": "1796073079479049607", "durationMs": 8.356899, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3e65e8097efe234110b8945f7285503f", "spanId": "da3c20811d9e449b", "startTimeUnixNano": "1796073079470660107", "endTimeUnixNano": "1796073079479060368", "durationMs": 8.400261, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d029b8a228b89d57ba0e33bad928298f", "spanId": "9c58d187c142cf57", "parentSpanId": "442cea7c15e16b6c", "startTimeUnixNano": "1796073079749124767", "endTimeUnixNano": "1796073079749388224", "durationMs": 0.263457, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d029b8a228b89d57ba0e33bad928298f", "spanId": "42b37223fba3396d", "parentSpanId": "c8f22586198ee15d", "startTimeUnixNano": "1796073079749471872", "endTimeUnixNano": "1796073079749947949", "durationMs": 0.476077, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009447}}
{"type": "effect-span", "name": "sqlite", "traceId": "d029b8a228b89d57ba0e33bad928298f", "spanId": "87bd4b436395fd7c", "parentSpanId": "c8f22586198ee15d", "startTimeUnixNano": "1796073079750052947", "endTimeUnixNano": "1796073079750587404", "durationMs": 0.534457, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012704}}
{"type": "effect-span", "name": "sqlite", "traceId": "d029b8a228b89d57ba0e33bad928298f", "spanId": "18d4f72ca5ddbd0c", "parentSpanId": "c8f22586198ee15d", "startTimeUnixNano": "1796073079750614104", "endTimeUnixNano": "1796073079751291761", "durationMs": 0.677657, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01069}}
{"type": "effect-span", "name": "sqlite", "traceId": "d029b8a228b89d57ba0e33bad928298f", "spanId": "001587430a56b509", "parentSpanId": "c8f22586198ee15d", "startTimeUnixNano": "1796073079753082847", "endTimeUnixNano": "1796073079754056051", "durationMs": 0.973204, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.04243}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d029b8a228b89d57ba0e33bad928298f", "spanId": "c8f22586198ee15d", "parentSpanId": "442cea7c15e16b6c", "startTimeUnixNano": "1796073079749460721", "endTimeUnixNano": "1796073079754201485", "durationMs": 4.740764, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d029b8a228b89d57ba0e33bad928298f", "spanId": "153842f8b48334ba", "parentSpanId": "442cea7c15e16b6c", "startTimeUnixNano": "1796073079754230059", "endTimeUnixNano": "1796073079755117181", "durationMs": 0.887122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d029b8a228b89d57ba0e33bad928298f", "spanId": "442cea7c15e16b6c", "parentSpanId": "f478bd09f6fc614b", "startTimeUnixNano": "1796073079746171442", "endTimeUnixNano": "1796073079755157567", "durationMs": 8.986125, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.943066, "db.connection": "reader", "db.lock_wait_ms": 2.877}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d029b8a228b89d57ba0e33bad928298f", "spanId": "f478bd09f6fc614b", "parentSpanId": "0a1dd359773faf94", "startTimeUnixNano": "1796073079746158758", "endTimeUnixNano": "1796073079755188104", "durationMs": 9.029346, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d029b8a228b89d57ba0e33bad928298f", "spanId": "0a1dd359773faf94", "parentSpanId": "c26c7ba45bebf3fd", "startTimeUnixNano": "1796073079746104075", "endTimeUnixNano": "1796073079755197833", "durationMs": 9.093758, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d029b8a228b89d57ba0e33bad928298f", "spanId": "c26c7ba45bebf3fd", "startTimeUnixNano": "1796073079746080490", "endTimeUnixNano": "1796073079755214644", "durationMs": 9.134154, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7e3c9a3fa51ab3de675dc483ad4fe3e9", "spanId": "b9ad7ece7d27f248", "parentSpanId": "dbe1d6fb652fe2cb", "startTimeUnixNano": "1796073081270722695", "endTimeUnixNano": "1796073081270973568", "durationMs": 0.250873, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e3c9a3fa51ab3de675dc483ad4fe3e9", "spanId": "419757f22b2e7b3d", "parentSpanId": "b5f08de6f4f0d167", "startTimeUnixNano": "1796073081271041055", "endTimeUnixNano": "1796073081274645829", "durationMs": 3.604774, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008546}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e3c9a3fa51ab3de675dc483ad4fe3e9", "spanId": "502eabbb1a106884", "parentSpanId": "b5f08de6f4f0d167", "startTimeUnixNano": "1796073081274774411", "endTimeUnixNano": "1796073081288660761", "durationMs": 13.88635, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.020489}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e3c9a3fa51ab3de675dc483ad4fe3e9", "spanId": "3957a187c755091a", "parentSpanId": "b5f08de6f4f0d167", "startTimeUnixNano": "1796073081288710855", "endTimeUnixNano": "1796073081289584181", "durationMs": 0.873326, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.025087}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e3c9a3fa51ab3de675dc483ad4fe3e9", "spanId": "830d961b0e909eb2", "parentSpanId": "b5f08de6f4f0d167", "startTimeUnixNano": "1796073081291411655", "endTimeUnixNano": "1796073081292800963", "durationMs": 1.389308, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.035276}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7e3c9a3fa51ab3de675dc483ad4fe3e9", "spanId": "b5f08de6f4f0d167", "parentSpanId": "dbe1d6fb652fe2cb", "startTimeUnixNano": "1796073081271030966", "endTimeUnixNano": "1796073081292934164", "durationMs": 21.903198, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7e3c9a3fa51ab3de675dc483ad4fe3e9", "spanId": "8ef7d1d54050802f", "parentSpanId": "dbe1d6fb652fe2cb", "startTimeUnixNano": "1796073081292989188", "endTimeUnixNano": "1796073081294945264", "durationMs": 1.956076, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7e3c9a3fa51ab3de675dc483ad4fe3e9", "spanId": "dbe1d6fb652fe2cb", "parentSpanId": "7d725ba8d91b2e63", "startTimeUnixNano": "1796073081267355841", "endTimeUnixNano": "1796073081294989287", "durationMs": 27.633446, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.360332, "db.connection": "reader", "db.lock_wait_ms": 3.313}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7e3c9a3fa51ab3de675dc483ad4fe3e9", "spanId": "7d725ba8d91b2e63", "parentSpanId": "5af9aa5e058ac0d0", "startTimeUnixNano": "1796073081267343527", "endTimeUnixNano": "1796073081295015747", "durationMs": 27.67222, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7e3c9a3fa51ab3de675dc483ad4fe3e9", "spanId": "5af9aa5e058ac0d0", "parentSpanId": "8746ba14e5a3aa27", "startTimeUnixNano": "1796073081267291259", "endTimeUnixNano": "1796073081295026257", "durationMs": 27.734998, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7e3c9a3fa51ab3de675dc483ad4fe3e9", "spanId": "8746ba14e5a3aa27", "startTimeUnixNano": "1796073081267269418", "endTimeUnixNano": "1796073081295040844", "durationMs": 27.771426, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "02d20d52722277e30588b90b607ed852", "spanId": "226ee1576408e1a2", "parentSpanId": "45ff5b525f4eafc3", "startTimeUnixNano": "1796073081554728659", "endTimeUnixNano": "1796073081554943404", "durationMs": 0.214745, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "02d20d52722277e30588b90b607ed852", "spanId": "38a3a9d667334ebf", "parentSpanId": "4b2e5e0174b532f7", "startTimeUnixNano": "1796073081555009148", "endTimeUnixNano": "1796073081555777346", "durationMs": 0.768198, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008566}}
{"type": "effect-span", "name": "sqlite", "traceId": "02d20d52722277e30588b90b607ed852", "spanId": "f225553eeb06b11b", "parentSpanId": "4b2e5e0174b532f7", "startTimeUnixNano": "1796073081555966582", "endTimeUnixNano": "1796073081556739218", "durationMs": 0.772636, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018645}}
{"type": "effect-span", "name": "sqlite", "traceId": "02d20d52722277e30588b90b607ed852", "spanId": "53dea8f4b7eead2a", "parentSpanId": "4b2e5e0174b532f7", "startTimeUnixNano": "1796073081556776088", "endTimeUnixNano": "1796073081557358385", "durationMs": 0.582297, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013776}}
{"type": "effect-span", "name": "sqlite", "traceId": "02d20d52722277e30588b90b607ed852", "spanId": "78f5a5312a002cb0", "parentSpanId": "4b2e5e0174b532f7", "startTimeUnixNano": "1796073081558691257", "endTimeUnixNano": "1796073081559909703", "durationMs": 1.218446, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018876}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "02d20d52722277e30588b90b607ed852", "spanId": "4b2e5e0174b532f7", "parentSpanId": "45ff5b525f4eafc3", "startTimeUnixNano": "1796073081554999420", "endTimeUnixNano": "1796073081560031202", "durationMs": 5.031782, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "02d20d52722277e30588b90b607ed852", "spanId": "f8aa9a664841e7fc", "parentSpanId": "45ff5b525f4eafc3", "startTimeUnixNano": "1796073081560048144", "endTimeUnixNano": "1796073081560945175", "durationMs": 0.897031, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "02d20d52722277e30588b90b607ed852", "spanId": "45ff5b525f4eafc3", "parentSpanId": "a81f1b8c88cfaadb", "startTimeUnixNano": "1796073081552276258", "endTimeUnixNano": "1796073081560982024", "durationMs": 8.705766, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.445849, "db.connection": "reader", "db.lock_wait_ms": 2.37}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "02d20d52722277e30588b90b607ed852", "spanId": "a81f1b8c88cfaadb", "parentSpanId": "4fd8f218db99a3a8", "startTimeUnixNano": "1796073081552256831", "endTimeUnixNano": "1796073081561001852", "durationMs": 8.745021, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "02d20d52722277e30588b90b607ed852", "spanId": "4fd8f218db99a3a8", "parentSpanId": "48c77fd2a69bb087", "startTimeUnixNano": "1796073081552195466", "endTimeUnixNano": "1796073081561009396", "durationMs": 8.81393, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "02d20d52722277e30588b90b607ed852", "spanId": "48c77fd2a69bb087", "startTimeUnixNano": "1796073081552168465", "endTimeUnixNano": "1796073081561019144", "durationMs": 8.850679, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "653786d2b3a2f3e548ff55facab6b489", "spanId": "efc9ca1759ce657a", "parentSpanId": "80ba54df7f7aeba3", "startTimeUnixNano": "1796073083379305761", "endTimeUnixNano": "1796073083379567073", "durationMs": 0.261312, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "653786d2b3a2f3e548ff55facab6b489", "spanId": "764570d022be3861", "parentSpanId": "812f02150ded3b80", "startTimeUnixNano": "1796073083379618240", "endTimeUnixNano": "1796073083380577197", "durationMs": 0.958957, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008676}}
{"type": "effect-span", "name": "sqlite", "traceId": "653786d2b3a2f3e548ff55facab6b489", "spanId": "ec86d10de5e367ad", "parentSpanId": "812f02150ded3b80", "startTimeUnixNano": "1796073083380692585", "endTimeUnixNano": "1796073083381350294", "durationMs": 0.657709, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014827}}
{"type": "effect-span", "name": "sqlite", "traceId": "653786d2b3a2f3e548ff55facab6b489", "spanId": "d706fad92fc00193", "parentSpanId": "812f02150ded3b80", "startTimeUnixNano": "1796073083381378738", "endTimeUnixNano": "1796073083382229080", "durationMs": 0.850342, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012894}}
{"type": "effect-span", "name": "sqlite", "traceId": "653786d2b3a2f3e548ff55facab6b489", "spanId": "189f75f207436df5", "parentSpanId": "812f02150ded3b80", "startTimeUnixNano": "1796073083384581914", "endTimeUnixNano": "1796073083385415665", "durationMs": 0.833751, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020479}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "653786d2b3a2f3e548ff55facab6b489", "spanId": "812f02150ded3b80", "parentSpanId": "80ba54df7f7aeba3", "startTimeUnixNano": "1796073083379608992", "endTimeUnixNano": "1796073083385587770", "durationMs": 5.978778, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "653786d2b3a2f3e548ff55facab6b489", "spanId": "7c9ba2f08cc00e8e", "parentSpanId": "80ba54df7f7aeba3", "startTimeUnixNano": "1796073083385607657", "endTimeUnixNano": "1796073083386182861", "durationMs": 0.575204, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "653786d2b3a2f3e548ff55facab6b489", "spanId": "80ba54df7f7aeba3", "parentSpanId": "21c1b8d530a4538f", "startTimeUnixNano": "1796073083375696870", "endTimeUnixNano": "1796073083386220302", "durationMs": 10.523432, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.601858, "db.connection": "reader", "db.lock_wait_ms": 3.551}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "653786d2b3a2f3e548ff55facab6b489", "spanId": "21c1b8d530a4538f", "parentSpanId": "6b9c6f538f5c69db", "startTimeUnixNano": "1796073083375683895", "endTimeUnixNano": "1796073083386250098", "durationMs": 10.566203, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "653786d2b3a2f3e548ff55facab6b489", "spanId": "6b9c6f538f5c69db", "parentSpanId": "adbcf4e6a40f6695", "startTimeUnixNano": "1796073083375629332", "endTimeUnixNano": "1796073083386257662", "durationMs": 10.62833, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "653786d2b3a2f3e548ff55facab6b489", "spanId": "adbcf4e6a40f6695", "startTimeUnixNano": "1796073083375603834", "endTimeUnixNano": "1796073083386268763", "durationMs": 10.664929, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e7c3cb7d19991e4a2d267c086b45ad0f", "spanId": "2faada2c9fc78c59", "parentSpanId": "a8b39c322d7053f7", "startTimeUnixNano": "1796073083741268769", "endTimeUnixNano": "1796073083741846518", "durationMs": 0.577749, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7c3cb7d19991e4a2d267c086b45ad0f", "spanId": "9ffe39b1663532d8", "parentSpanId": "b5a35fcf0dbe317c", "startTimeUnixNano": "1796073083741932460", "endTimeUnixNano": "1796073083743016563", "durationMs": 1.084103, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013706}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7c3cb7d19991e4a2d267c086b45ad0f", "spanId": "e0b1e214d90f9e1d", "parentSpanId": "b5a35fcf0dbe317c", "startTimeUnixNano": "1796073083743131630", "endTimeUnixNano": "1796073083743706002", "durationMs": 0.574372, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016692}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7c3cb7d19991e4a2d267c086b45ad0f", "spanId": "cdbbb8694ea382fe", "parentSpanId": "b5a35fcf0dbe317c", "startTimeUnixNano": "1796073083743736630", "endTimeUnixNano": "1796073083744588686", "durationMs": 0.852056, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014377}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7c3cb7d19991e4a2d267c086b45ad0f", "spanId": "3e05cb0e5f34eded", "parentSpanId": "b5a35fcf0dbe317c", "startTimeUnixNano": "1796073083746931070", "endTimeUnixNano": "1796073083747896610", "durationMs": 0.96554, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.02105}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e7c3cb7d19991e4a2d267c086b45ad0f", "spanId": "b5a35fcf0dbe317c", "parentSpanId": "a8b39c322d7053f7", "startTimeUnixNano": "1796073083741920207", "endTimeUnixNano": "1796073083748030512", "durationMs": 6.110305, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e7c3cb7d19991e4a2d267c086b45ad0f", "spanId": "b6fd5ec677c9ef2e", "parentSpanId": "a8b39c322d7053f7", "startTimeUnixNano": "1796073083748048085", "endTimeUnixNano": "1796073083748304759", "durationMs": 0.256674, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e7c3cb7d19991e4a2d267c086b45ad0f", "spanId": "a8b39c322d7053f7", "parentSpanId": "af2525fc7ed0efbf", "startTimeUnixNano": "1796073083738869338", "endTimeUnixNano": "1796073083748333944", "durationMs": 9.464606, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.394201, "db.connection": "reader", "db.lock_wait_ms": 2.289}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e7c3cb7d19991e4a2d267c086b45ad0f", "spanId": "af2525fc7ed0efbf", "parentSpanId": "3271b7c4b911e1db", "startTimeUnixNano": "1796073083738848629", "endTimeUnixNano": "1796073083748362748", "durationMs": 9.514119, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e7c3cb7d19991e4a2d267c086b45ad0f", "spanId": "3271b7c4b911e1db", "parentSpanId": "d08b414168fd4817", "startTimeUnixNano": "1796073083738778987", "endTimeUnixNano": "1796073083748375342", "durationMs": 9.596355, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e7c3cb7d19991e4a2d267c086b45ad0f", "spanId": "d08b414168fd4817", "startTimeUnixNano": "1796073083738740314", "endTimeUnixNano": "1796073083748389228", "durationMs": 9.648914, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b4df494fd4416506501e71dd4eade79a", "spanId": "875dc1a696fd368c", "parentSpanId": "1e63009481f2735d", "startTimeUnixNano": "1796073085366310649", "endTimeUnixNano": "1796073085368686887", "durationMs": 2.376238, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b4df494fd4416506501e71dd4eade79a", "spanId": "e9b1726a65252a1e", "parentSpanId": "7c08b916751349c2", "startTimeUnixNano": "1796073085368806783", "endTimeUnixNano": "1796073085370946295", "durationMs": 2.139512, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014277}}
{"type": "effect-span", "name": "sqlite", "traceId": "b4df494fd4416506501e71dd4eade79a", "spanId": "6ad84d6621e68aee", "parentSpanId": "7c08b916751349c2", "startTimeUnixNano": "1796073085371234839", "endTimeUnixNano": "1796073085372557021", "durationMs": 1.322182, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.028885}}
{"type": "effect-span", "name": "sqlite", "traceId": "b4df494fd4416506501e71dd4eade79a", "spanId": "399c8fdc2f03f732", "parentSpanId": "7c08b916751349c2", "startTimeUnixNano": "1796073085372595053", "endTimeUnixNano": "1796073085373954575", "durationMs": 1.359522, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023824}}
{"type": "effect-span", "name": "sqlite", "traceId": "b4df494fd4416506501e71dd4eade79a", "spanId": "6f13f9b41768841b", "parentSpanId": "7c08b916751349c2", "startTimeUnixNano": "1796073085376712763", "endTimeUnixNano": "1796073085378514448", "durationMs": 1.801685, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.053621}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b4df494fd4416506501e71dd4eade79a", "spanId": "7c08b916751349c2", "parentSpanId": "1e63009481f2735d", "startTimeUnixNano": "1796073085368790974", "endTimeUnixNano": "1796073085378726077", "durationMs": 9.935103, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b4df494fd4416506501e71dd4eade79a", "spanId": "caf6fb35ed8a9f22", "parentSpanId": "1e63009481f2735d", "startTimeUnixNano": "1796073085378772354", "endTimeUnixNano": "1796073085380064659", "durationMs": 1.292305, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b4df494fd4416506501e71dd4eade79a", "spanId": "1e63009481f2735d", "parentSpanId": "fd15db92cd349066", "startTimeUnixNano": "1796073085361420163", "endTimeUnixNano": "1796073085380097812", "durationMs": 18.677649, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.874947, "db.connection": "reader", "db.lock_wait_ms": 4.685}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b4df494fd4416506501e71dd4eade79a", "spanId": "fd15db92cd349066", "parentSpanId": "0ca77a1cd079181c", "startTimeUnixNano": "1796073085361393232", "endTimeUnixNano": "1796073085380127708", "durationMs": 18.734476, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b4df494fd4416506501e71dd4eade79a", "spanId": "0ca77a1cd079181c", "parentSpanId": "57f371ba636da993", "startTimeUnixNano": "1796073085361253799", "endTimeUnixNano": "1796073085380136896", "durationMs": 18.883097, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b4df494fd4416506501e71dd4eade79a", "spanId": "57f371ba636da993", "startTimeUnixNano": "1796073085361209275", "endTimeUnixNano": "1796073085380151964", "durationMs": 18.942689, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "85e32aed93daa629d830e88b305aec68", "spanId": "5ba4b86e81a8fd6f", "parentSpanId": "0800ec9731ffdf30", "startTimeUnixNano": "1796073085712345972", "endTimeUnixNano": "1796073085712547281", "durationMs": 0.201309, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "85e32aed93daa629d830e88b305aec68", "spanId": "83849b8b9ce313e2", "parentSpanId": "32c39e7df3d7d0d9", "startTimeUnixNano": "1796073085712600462", "endTimeUnixNano": "1796073085713201504", "durationMs": 0.601042, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007293}}
{"type": "effect-span", "name": "sqlite", "traceId": "85e32aed93daa629d830e88b305aec68", "spanId": "645d10bb78fdb9f2", "parentSpanId": "32c39e7df3d7d0d9", "startTimeUnixNano": "1796073085713313355", "endTimeUnixNano": "1796073085713859825", "durationMs": 0.54647, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013425}}
{"type": "effect-span", "name": "sqlite", "traceId": "85e32aed93daa629d830e88b305aec68", "spanId": "02a60dc6868be8d0", "parentSpanId": "32c39e7df3d7d0d9", "startTimeUnixNano": "1796073085713881245", "endTimeUnixNano": "1796073085714556147", "durationMs": 0.674902, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008136}}
{"type": "effect-span", "name": "sqlite", "traceId": "85e32aed93daa629d830e88b305aec68", "spanId": "db6fc9665d28f156", "parentSpanId": "32c39e7df3d7d0d9", "startTimeUnixNano": "1796073085715739417", "endTimeUnixNano": "1796073085716600410", "durationMs": 0.860993, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015299}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "85e32aed93daa629d830e88b305aec68", "spanId": "32c39e7df3d7d0d9", "parentSpanId": "0800ec9731ffdf30", "startTimeUnixNano": "1796073085712592356", "endTimeUnixNano": "1796073085716697954", "durationMs": 4.105598, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "85e32aed93daa629d830e88b305aec68", "spanId": "7c090285d163fb42", "parentSpanId": "0800ec9731ffdf30", "startTimeUnixNano": "1796073085716709115", "endTimeUnixNano": "1796073085717421677", "durationMs": 0.712562, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "85e32aed93daa629d830e88b305aec68", "spanId": "0800ec9731ffdf30", "parentSpanId": "71bed4af2dd8b5af", "startTimeUnixNano": "1796073085710332738", "endTimeUnixNano": "1796073085717473806", "durationMs": 7.141068, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.007463, "db.connection": "reader", "db.lock_wait_ms": 1.927}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "85e32aed93daa629d830e88b305aec68", "spanId": "71bed4af2dd8b5af", "parentSpanId": "ab032c9d4aa0959f", "startTimeUnixNano": "1796073085710321126", "endTimeUnixNano": "1796073085717497831", "durationMs": 7.176705, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "85e32aed93daa629d830e88b305aec68", "spanId": "ab032c9d4aa0959f", "parentSpanId": "f61f3a76e5429b8f", "startTimeUnixNano": "1796073085710262776", "endTimeUnixNano": "1796073085717507930", "durationMs": 7.245154, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "85e32aed93daa629d830e88b305aec68", "spanId": "f61f3a76e5429b8f", "startTimeUnixNano": "1796073085710239142", "endTimeUnixNano": "1796073085717518400", "durationMs": 7.279258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4c2a8b277f29c5672f94fc048127f19e", "spanId": "37a8ab15fbd5ba0f", "parentSpanId": "4b851dee2ea00017", "startTimeUnixNano": "1796073087267915631", "endTimeUnixNano": "1796073087268503138", "durationMs": 0.587507, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4c2a8b277f29c5672f94fc048127f19e", "spanId": "c36d20b8f0ae6b64", "parentSpanId": "96579e6b0761e929", "startTimeUnixNano": "1796073087268706171", "endTimeUnixNano": "1796073087270406535", "durationMs": 1.700364, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.015098}}
{"type": "effect-span", "name": "sqlite", "traceId": "4c2a8b277f29c5672f94fc048127f19e", "spanId": "572ac0f5ac2c64e4", "parentSpanId": "96579e6b0761e929", "startTimeUnixNano": "1796073087270621380", "endTimeUnixNano": "1796073087271718187", "durationMs": 1.096807, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018384}}
{"type": "effect-span", "name": "sqlite", "traceId": "4c2a8b277f29c5672f94fc048127f19e", "spanId": "c96dfdbd6f50d29d", "parentSpanId": "96579e6b0761e929", "startTimeUnixNano": "1796073087271754125", "endTimeUnixNano": "1796073087272412816", "durationMs": 0.658691, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017803}}
{"type": "effect-span", "name": "sqlite", "traceId": "4c2a8b277f29c5672f94fc048127f19e", "spanId": "b12b8a90ceb3cf0f", "parentSpanId": "96579e6b0761e929", "startTimeUnixNano": "1796073087274021247", "endTimeUnixNano": "1796073087275264280", "durationMs": 1.243033, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.040256}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4c2a8b277f29c5672f94fc048127f19e", "spanId": "96579e6b0761e929", "parentSpanId": "4b851dee2ea00017", "startTimeUnixNano": "1796073087268687125", "endTimeUnixNano": "1796073087275407680", "durationMs": 6.720555, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4c2a8b277f29c5672f94fc048127f19e", "spanId": "021f7fd4355f1cb0", "parentSpanId": "4b851dee2ea00017", "startTimeUnixNano": "1796073087275427748", "endTimeUnixNano": "1796073087276190044", "durationMs": 0.762296, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4c2a8b277f29c5672f94fc048127f19e", "spanId": "4b851dee2ea00017", "parentSpanId": "e4964163392478c4", "startTimeUnixNano": "1796073087262323242", "endTimeUnixNano": "1796073087276226202", "durationMs": 13.90296, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.571359, "db.connection": "reader", "db.lock_wait_ms": 5.466}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4c2a8b277f29c5672f94fc048127f19e", "spanId": "e4964163392478c4", "parentSpanId": "9a56a97259829d80", "startTimeUnixNano": "1796073087262304376", "endTimeUnixNano": "1796073087276250598", "durationMs": 13.946222, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4c2a8b277f29c5672f94fc048127f19e", "spanId": "9a56a97259829d80", "parentSpanId": "a027e27678b4a7eb", "startTimeUnixNano": "1796073087262188688", "endTimeUnixNano": "1796073087276260166", "durationMs": 14.071478, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4c2a8b277f29c5672f94fc048127f19e", "spanId": "a027e27678b4a7eb", "startTimeUnixNano": "1796073087262159773", "endTimeUnixNano": "1796073087276274624", "durationMs": 14.114851, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5e26fc4b2c236fe38231c448979f7785", "spanId": "77a9ba7c8c4ee033", "parentSpanId": "afef41aa8725d22b", "startTimeUnixNano": "1796073087555714103", "endTimeUnixNano": "1796073087556004751", "durationMs": 0.290648, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5e26fc4b2c236fe38231c448979f7785", "spanId": "0aa9bfdbdc42edfb", "parentSpanId": "13b9705a2c5a3c39", "startTimeUnixNano": "1796073087556080755", "endTimeUnixNano": "1796073087556630651", "durationMs": 0.549896, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010099}}
{"type": "effect-span", "name": "sqlite", "traceId": "5e26fc4b2c236fe38231c448979f7785", "spanId": "89ffede29c81cdea", "parentSpanId": "13b9705a2c5a3c39", "startTimeUnixNano": "1796073087556747922", "endTimeUnixNano": "1796073087557160690", "durationMs": 0.412768, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018244}}
{"type": "effect-span", "name": "sqlite", "traceId": "5e26fc4b2c236fe38231c448979f7785", "spanId": "d182d89d798b3f05", "parentSpanId": "13b9705a2c5a3c39", "startTimeUnixNano": "1796073087557190756", "endTimeUnixNano": "1796073087557845731", "durationMs": 0.654975, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011692}}
{"type": "effect-span", "name": "sqlite", "traceId": "5e26fc4b2c236fe38231c448979f7785", "spanId": "fe8d229af2c7bd86", "parentSpanId": "13b9705a2c5a3c39", "startTimeUnixNano": "1796073087559639341", "endTimeUnixNano": "1796073087570707259", "durationMs": 11.067918, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018685}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5e26fc4b2c236fe38231c448979f7785", "spanId": "13b9705a2c5a3c39", "parentSpanId": "afef41aa8725d22b", "startTimeUnixNano": "1796073087556067770", "endTimeUnixNano": "1796073087570877981", "durationMs": 14.810211, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5e26fc4b2c236fe38231c448979f7785", "spanId": "e3d517a7afc52a40", "parentSpanId": "afef41aa8725d22b", "startTimeUnixNano": "1796073087570912886", "endTimeUnixNano": "1796073087571374386", "durationMs": 0.4615, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5e26fc4b2c236fe38231c448979f7785", "spanId": "afef41aa8725d22b", "parentSpanId": "48309d1b329540a4", "startTimeUnixNano": "1796073087553133540", "endTimeUnixNano": "1796073087571420303", "durationMs": 18.286763, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.573821, "db.connection": "reader", "db.lock_wait_ms": 2.469}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5e26fc4b2c236fe38231c448979f7785", "spanId": "48309d1b329540a4", "parentSpanId": "fadafbd72ba1a090", "startTimeUnixNano": "1796073087553108864", "endTimeUnixNano": "1796073087571466049", "durationMs": 18.357185, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5e26fc4b2c236fe38231c448979f7785", "spanId": "fadafbd72ba1a090", "parentSpanId": "408539b7348253da", "startTimeUnixNano": "1796073087553034063", "endTimeUnixNano": "1796073087571476088", "durationMs": 18.442025, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5e26fc4b2c236fe38231c448979f7785", "spanId": "408539b7348253da", "startTimeUnixNano": "1796073087553005178", "endTimeUnixNano": "1796073087571491086", "durationMs": 18.485908, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "eb0258e66728a5bab63a3093cd4b7c5b", "spanId": "812cc6b16681f82f", "parentSpanId": "809104d6d29e5d1d", "startTimeUnixNano": "1796073089001512014", "endTimeUnixNano": "1796073089002608961", "durationMs": 1.096947, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb0258e66728a5bab63a3093cd4b7c5b", "spanId": "c8c3952ae8a0d782", "parentSpanId": "4ad4fa10b8f3a4f7", "startTimeUnixNano": "1796073089002661019", "endTimeUnixNano": "1796073089003676884", "durationMs": 1.015865, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005661}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb0258e66728a5bab63a3093cd4b7c5b", "spanId": "b59aa87dbe9facce", "parentSpanId": "4ad4fa10b8f3a4f7", "startTimeUnixNano": "1796073089003773356", "endTimeUnixNano": "1796073089004288637", "durationMs": 0.515281, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01075}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb0258e66728a5bab63a3093cd4b7c5b", "spanId": "2ba44a6d88804b5e", "parentSpanId": "4ad4fa10b8f3a4f7", "startTimeUnixNano": "1796073089004302403", "endTimeUnixNano": "1796073089004933191", "durationMs": 0.630788, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013124}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb0258e66728a5bab63a3093cd4b7c5b", "spanId": "759f3963acefb71c", "parentSpanId": "4ad4fa10b8f3a4f7", "startTimeUnixNano": "1796073089006133123", "endTimeUnixNano": "1796073089007093763", "durationMs": 0.96064, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.024867}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "eb0258e66728a5bab63a3093cd4b7c5b", "spanId": "4ad4fa10b8f3a4f7", "parentSpanId": "809104d6d29e5d1d", "startTimeUnixNano": "1796073089002654186", "endTimeUnixNano": "1796073089007222866", "durationMs": 4.56868, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "eb0258e66728a5bab63a3093cd4b7c5b", "spanId": "77c0abd034f9d0fc", "parentSpanId": "809104d6d29e5d1d", "startTimeUnixNano": "1796073089007242123", "endTimeUnixNano": "1796073089007502734", "durationMs": 0.260611, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "eb0258e66728a5bab63a3093cd4b7c5b", "spanId": "809104d6d29e5d1d", "parentSpanId": "074789761c3a0833", "startTimeUnixNano": "1796073088999224533", "endTimeUnixNano": "1796073089007537810", "durationMs": 8.313277, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.278724, "db.connection": "reader", "db.lock_wait_ms": 2.207}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "eb0258e66728a5bab63a3093cd4b7c5b", "spanId": "074789761c3a0833", "parentSpanId": "7a8138474fdab73a", "startTimeUnixNano": "1796073088999213082", "endTimeUnixNano": "1796073089007567205", "durationMs": 8.354123, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "eb0258e66728a5bab63a3093cd4b7c5b", "spanId": "7a8138474fdab73a", "parentSpanId": "1b2c53536a7bfa9d", "startTimeUnixNano": "1796073088999156755", "endTimeUnixNano": "1796073089007578827", "durationMs": 8.422072, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "eb0258e66728a5bab63a3093cd4b7c5b", "spanId": "1b2c53536a7bfa9d", "startTimeUnixNano": "1796073088999135295", "endTimeUnixNano": "1796073089007590299", "durationMs": 8.455004, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "37f3f64f91bfbff32acc979d79cb31c1", "spanId": "90318d3e4dee6625", "parentSpanId": "39b84675092f025d", "startTimeUnixNano": "1796073089271479033", "endTimeUnixNano": "1796073089271686594", "durationMs": 0.207561, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "37f3f64f91bfbff32acc979d79cb31c1", "spanId": "298e55c978779c0e", "parentSpanId": "15012221b8e6a5d9", "startTimeUnixNano": "1796073089271730607", "endTimeUnixNano": "1796073089271977793", "durationMs": 0.247186, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006452}}
{"type": "effect-span", "name": "sqlite", "traceId": "37f3f64f91bfbff32acc979d79cb31c1", "spanId": "ec415f2223ad5b22", "parentSpanId": "15012221b8e6a5d9", "startTimeUnixNano": "1796073089272058044", "endTimeUnixNano": "1796073089272384710", "durationMs": 0.326666, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008646}}
{"type": "effect-span", "name": "sqlite", "traceId": "37f3f64f91bfbff32acc979d79cb31c1", "spanId": "4a41febc0f81d146", "parentSpanId": "15012221b8e6a5d9", "startTimeUnixNano": "1796073089272401431", "endTimeUnixNano": "1796073089272957128", "durationMs": 0.555697, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007815}}
{"type": "effect-span", "name": "sqlite", "traceId": "37f3f64f91bfbff32acc979d79cb31c1", "spanId": "6bb82b4b02a9d945", "parentSpanId": "15012221b8e6a5d9", "startTimeUnixNano": "1796073089274054607", "endTimeUnixNano": "1796073089274606276", "durationMs": 0.551669, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013144}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "37f3f64f91bfbff32acc979d79cb31c1", "spanId": "15012221b8e6a5d9", "parentSpanId": "39b84675092f025d", "startTimeUnixNano": "1796073089271724696", "endTimeUnixNano": "1796073089274701907", "durationMs": 2.977211, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "37f3f64f91bfbff32acc979d79cb31c1", "spanId": "a43f100af2f637df", "parentSpanId": "39b84675092f025d", "startTimeUnixNano": "1796073089274712026", "endTimeUnixNano": "1796073089275174357", "durationMs": 0.462331, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "37f3f64f91bfbff32acc979d79cb31c1", "spanId": "39b84675092f025d", "parentSpanId": "ed2afe17e355c8d3", "startTimeUnixNano": "1796073089269825286", "endTimeUnixNano": "1796073089275194665", "durationMs": 5.369379, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.648988, "db.connection": "reader", "db.lock_wait_ms": 1.596}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "37f3f64f91bfbff32acc979d79cb31c1", "spanId": "ed2afe17e355c8d3", "parentSpanId": "445587fcea5d38c0", "startTimeUnixNano": "1796073089269811340", "endTimeUnixNano": "1796073089275206748", "durationMs": 5.395408, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "37f3f64f91bfbff32acc979d79cb31c1", "spanId": "445587fcea5d38c0", "parentSpanId": "dc7c537a3cbb3c58", "startTimeUnixNano": "1796073089269756617", "endTimeUnixNano": "1796073089275213461", "durationMs": 5.456844, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "37f3f64f91bfbff32acc979d79cb31c1", "spanId": "dc7c537a3cbb3c58", "startTimeUnixNano": "1796073089269734485", "endTimeUnixNano": "1796073089275221586", "durationMs": 5.487101, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b115209ae7ff08b20e5e7e31a6a340fe", "spanId": "e46e7ea27cb46123", "parentSpanId": "6d876d667cfa7bf3", "startTimeUnixNano": "1796073090696896027", "endTimeUnixNano": "1796073090697821461", "durationMs": 0.925434, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b115209ae7ff08b20e5e7e31a6a340fe", "spanId": "9a128bba827a8793", "parentSpanId": "06b3ae4bc1a3677f", "startTimeUnixNano": "1796073090697901021", "endTimeUnixNano": "1796073090698827507", "durationMs": 0.926486, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005831}}
{"type": "effect-span", "name": "sqlite", "traceId": "b115209ae7ff08b20e5e7e31a6a340fe", "spanId": "e65736b048b1ced8", "parentSpanId": "06b3ae4bc1a3677f", "startTimeUnixNano": "1796073090698913048", "endTimeUnixNano": "1796073090699449068", "durationMs": 0.53602, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01048}}
{"type": "effect-span", "name": "sqlite", "traceId": "b115209ae7ff08b20e5e7e31a6a340fe", "spanId": "209af953b0d3b836", "parentSpanId": "06b3ae4bc1a3677f", "startTimeUnixNano": "1796073090699464667", "endTimeUnixNano": "1796073090700006899", "durationMs": 0.542232, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014217}}
{"type": "effect-span", "name": "sqlite", "traceId": "b115209ae7ff08b20e5e7e31a6a340fe", "spanId": "3729bc639d58b74c", "parentSpanId": "06b3ae4bc1a3677f", "startTimeUnixNano": "1796073090701289226", "endTimeUnixNano": "1796073090702038167", "durationMs": 0.748941, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014347}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b115209ae7ff08b20e5e7e31a6a340fe", "spanId": "06b3ae4bc1a3677f", "parentSpanId": "6d876d667cfa7bf3", "startTimeUnixNano": "1796073090697893386", "endTimeUnixNano": "1796073090702164385", "durationMs": 4.270999, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b115209ae7ff08b20e5e7e31a6a340fe", "spanId": "1a0f7cd456c0d44d", "parentSpanId": "6d876d667cfa7bf3", "startTimeUnixNano": "1796073090702177299", "endTimeUnixNano": "1796073090702676410", "durationMs": 0.499111, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b115209ae7ff08b20e5e7e31a6a340fe", "spanId": "6d876d667cfa7bf3", "parentSpanId": "c5a9c883ede4be67", "startTimeUnixNano": "1796073090695113507", "endTimeUnixNano": "1796073090702698492", "durationMs": 7.584985, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.776037, "db.connection": "reader", "db.lock_wait_ms": 1.737}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b115209ae7ff08b20e5e7e31a6a340fe", "spanId": "c5a9c883ede4be67", "parentSpanId": "a8e01e5d56affef7", "startTimeUnixNano": "1796073090695102246", "endTimeUnixNano": "1796073090702717016", "durationMs": 7.61477, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b115209ae7ff08b20e5e7e31a6a340fe", "spanId": "a8e01e5d56affef7", "parentSpanId": "d43e1310d224c6bc", "startTimeUnixNano": "1796073090695056520", "endTimeUnixNano": "1796073090702722407", "durationMs": 7.665887, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b115209ae7ff08b20e5e7e31a6a340fe", "spanId": "d43e1310d224c6bc", "startTimeUnixNano": "1796073090695034438", "endTimeUnixNano": "1796073090702732305", "durationMs": 7.697867, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d4c402e149158c91d17842bd41b8c497", "spanId": "1856bf0609b0a401", "parentSpanId": "156142c9402241ae", "startTimeUnixNano": "1796073090972116767", "endTimeUnixNano": "1796073090978980151", "durationMs": 6.863384, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4c402e149158c91d17842bd41b8c497", "spanId": "c41d14068b676580", "parentSpanId": "7b79e2563d508e2f", "startTimeUnixNano": "1796073090979043330", "endTimeUnixNano": "1796073090981270918", "durationMs": 2.227588, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006092}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4c402e149158c91d17842bd41b8c497", "spanId": "dc7fc3542a1fc93b", "parentSpanId": "7b79e2563d508e2f", "startTimeUnixNano": "1796073090981404079", "endTimeUnixNano": "1796073090982483954", "durationMs": 1.079875, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014377}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4c402e149158c91d17842bd41b8c497", "spanId": "f5ae4656723ab135", "parentSpanId": "7b79e2563d508e2f", "startTimeUnixNano": "1796073090982509292", "endTimeUnixNano": "1796073090983078084", "durationMs": 0.568792, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012494}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4c402e149158c91d17842bd41b8c497", "spanId": "626fc6406f0d0a73", "parentSpanId": "7b79e2563d508e2f", "startTimeUnixNano": "1796073090984227981", "endTimeUnixNano": "1796073090985379191", "durationMs": 1.15121, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013786}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d4c402e149158c91d17842bd41b8c497", "spanId": "7b79e2563d508e2f", "parentSpanId": "156142c9402241ae", "startTimeUnixNano": "1796073090979035175", "endTimeUnixNano": "1796073090985493666", "durationMs": 6.458491, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d4c402e149158c91d17842bd41b8c497", "spanId": "3e3d761a4fede817", "parentSpanId": "156142c9402241ae", "startTimeUnixNano": "1796073090985507252", "endTimeUnixNano": "1796073090986122822", "durationMs": 0.61557, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d4c402e149158c91d17842bd41b8c497", "spanId": "156142c9402241ae", "parentSpanId": "0995f7bbac32db13", "startTimeUnixNano": "1796073090970564511", "endTimeUnixNano": "1796073090986144022", "durationMs": 15.579511, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.546635, "db.connection": "reader", "db.lock_wait_ms": 1.495}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d4c402e149158c91d17842bd41b8c497", "spanId": "0995f7bbac32db13", "parentSpanId": "a63e7e8bc25624bb", "startTimeUnixNano": "1796073090970551537", "endTimeUnixNano": "1796073090986158279", "durationMs": 15.606742, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d4c402e149158c91d17842bd41b8c497", "spanId": "a63e7e8bc25624bb", "parentSpanId": "6d953cbe33268f87", "startTimeUnixNano": "1796073090970497225", "endTimeUnixNano": "1796073090986164020", "durationMs": 15.666795, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d4c402e149158c91d17842bd41b8c497", "spanId": "6d953cbe33268f87", "startTimeUnixNano": "1796073090970472969", "endTimeUnixNano": "1796073090986172716", "durationMs": 15.699747, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "879f74ae2728ed6f25c3fdab6c31551a", "spanId": "75f34e08b0028d73", "parentSpanId": "c21650fe0fd46eef", "startTimeUnixNano": "1796073092424562049", "endTimeUnixNano": "1796073092426106831", "durationMs": 1.544782, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "879f74ae2728ed6f25c3fdab6c31551a", "spanId": "7fbe9a9ef35dba5a", "parentSpanId": "527bbd565f705e6a", "startTimeUnixNano": "1796073092426199565", "endTimeUnixNano": "1796073092427462856", "durationMs": 1.263291, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008486}}
{"type": "effect-span", "name": "sqlite", "traceId": "879f74ae2728ed6f25c3fdab6c31551a", "spanId": "7dc4bddbb5092344", "parentSpanId": "527bbd565f705e6a", "startTimeUnixNano": "1796073092427603511", "endTimeUnixNano": "1796073092428211126", "durationMs": 0.607615, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019988}}
{"type": "effect-span", "name": "sqlite", "traceId": "879f74ae2728ed6f25c3fdab6c31551a", "spanId": "3490c51d69539565", "parentSpanId": "527bbd565f705e6a", "startTimeUnixNano": "1796073092428232366", "endTimeUnixNano": "1796073092428973603", "durationMs": 0.741237, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017714}}
{"type": "effect-span", "name": "sqlite", "traceId": "879f74ae2728ed6f25c3fdab6c31551a", "spanId": "286f5ef6571ca125", "parentSpanId": "527bbd565f705e6a", "startTimeUnixNano": "1796073092431063732", "endTimeUnixNano": "1796073092431766757", "durationMs": 0.703025, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019267}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "879f74ae2728ed6f25c3fdab6c31551a", "spanId": "527bbd565f705e6a", "parentSpanId": "c21650fe0fd46eef", "startTimeUnixNano": "1796073092426187503", "endTimeUnixNano": "1796073092431903685", "durationMs": 5.716182, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "879f74ae2728ed6f25c3fdab6c31551a", "spanId": "745fd6a0a6d399ae", "parentSpanId": "c21650fe0fd46eef", "startTimeUnixNano": "1796073092431923963", "endTimeUnixNano": "1796073092432550915", "durationMs": 0.626952, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "879f74ae2728ed6f25c3fdab6c31551a", "spanId": "c21650fe0fd46eef", "parentSpanId": "7810a9a3ba9a7eda", "startTimeUnixNano": "1796073092422096042", "endTimeUnixNano": "1796073092432587404", "durationMs": 10.491362, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.454385, "db.connection": "reader", "db.lock_wait_ms": 2.398}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "879f74ae2728ed6f25c3fdab6c31551a", "spanId": "7810a9a3ba9a7eda", "parentSpanId": "1c79d9e3b88c5a0f", "startTimeUnixNano": "1796073092422076635", "endTimeUnixNano": "1796073092432611719", "durationMs": 10.535084, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "879f74ae2728ed6f25c3fdab6c31551a", "spanId": "1c79d9e3b88c5a0f", "parentSpanId": "a3bd7e7183a3884e", "startTimeUnixNano": "1796073092422004900", "endTimeUnixNano": "1796073092432620446", "durationMs": 10.615546, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "879f74ae2728ed6f25c3fdab6c31551a", "spanId": "a3bd7e7183a3884e", "startTimeUnixNano": "1796073092421971036", "endTimeUnixNano": "1796073092432633571", "durationMs": 10.662535, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cb0bef09e466c83913d0f61cf9ef667a", "spanId": "3e665315302ac0ed", "parentSpanId": "b42392aa7bc581e2", "startTimeUnixNano": "1796073092714403364", "endTimeUnixNano": "1796073092714679123", "durationMs": 0.275759, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cb0bef09e466c83913d0f61cf9ef667a", "spanId": "f2a6b7038fa54511", "parentSpanId": "9735d059f389cf3c", "startTimeUnixNano": "1796073092714752351", "endTimeUnixNano": "1796073092715252544", "durationMs": 0.500193, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009348}}
{"type": "effect-span", "name": "sqlite", "traceId": "cb0bef09e466c83913d0f61cf9ef667a", "spanId": "64cb3645045c0918", "parentSpanId": "9735d059f389cf3c", "startTimeUnixNano": "1796073092715380285", "endTimeUnixNano": "1796073092715963524", "durationMs": 0.583239, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018394}}
{"type": "effect-span", "name": "sqlite", "traceId": "cb0bef09e466c83913d0f61cf9ef667a", "spanId": "39a3b10ed5e0f7dc", "parentSpanId": "9735d059f389cf3c", "startTimeUnixNano": "1796073092716005974", "endTimeUnixNano": "1796073092716623137", "durationMs": 0.617163, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01603}}
{"type": "effect-span", "name": "sqlite", "traceId": "cb0bef09e466c83913d0f61cf9ef667a", "spanId": "3e35abd907cc85f9", "parentSpanId": "9735d059f389cf3c", "startTimeUnixNano": "1796073092718668582", "endTimeUnixNano": "1796073092719688965", "durationMs": 1.020383, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019466}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cb0bef09e466c83913d0f61cf9ef667a", "spanId": "9735d059f389cf3c", "parentSpanId": "b42392aa7bc581e2", "startTimeUnixNano": "1796073092714740349", "endTimeUnixNano": "1796073092719820773", "durationMs": 5.080424, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cb0bef09e466c83913d0f61cf9ef667a", "spanId": "8dee21f0b77219e2", "parentSpanId": "b42392aa7bc581e2", "startTimeUnixNano": "1796073092719845299", "endTimeUnixNano": "1796073092720484624", "durationMs": 0.639325, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cb0bef09e466c83913d0f61cf9ef667a", "spanId": "b42392aa7bc581e2", "parentSpanId": "885f9ff3297a3683", "startTimeUnixNano": "1796073092711868016", "endTimeUnixNano": "1796073092720524499", "durationMs": 8.656483, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.529076, "db.connection": "reader", "db.lock_wait_ms": 2.475}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cb0bef09e466c83913d0f61cf9ef667a", "spanId": "885f9ff3297a3683", "parentSpanId": "b8add8232018703a", "startTimeUnixNano": "1796073092711850873", "endTimeUnixNano": "1796073092720547953", "durationMs": 8.69708, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cb0bef09e466c83913d0f61cf9ef667a", "spanId": "b8add8232018703a", "parentSpanId": "fa1aa4ac41e807f8", "startTimeUnixNano": "1796073092711792954", "endTimeUnixNano": "1796073092720558062", "durationMs": 8.765108, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cb0bef09e466c83913d0f61cf9ef667a", "spanId": "fa1aa4ac41e807f8", "startTimeUnixNano": "1796073092711765342", "endTimeUnixNano": "1796073092720571157", "durationMs": 8.805815, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4458b5a362f3d01a9907929bcfd42cb4", "spanId": "151e2194ebbb2be4", "parentSpanId": "6bec9de73c0de49c", "startTimeUnixNano": "1796073094271588848", "endTimeUnixNano": "1796073094271771903", "durationMs": 0.183055, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4458b5a362f3d01a9907929bcfd42cb4", "spanId": "c24ecdf5ae6f890b", "parentSpanId": "d375a606993d616b", "startTimeUnixNano": "1796073094271818671", "endTimeUnixNano": "1796073094272639819", "durationMs": 0.821148, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006232}}
{"type": "effect-span", "name": "sqlite", "traceId": "4458b5a362f3d01a9907929bcfd42cb4", "spanId": "8e3154c59b326cbd", "parentSpanId": "d375a606993d616b", "startTimeUnixNano": "1796073094272748814", "endTimeUnixNano": "1796073094273253084", "durationMs": 0.50427, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011472}}
{"type": "effect-span", "name": "sqlite", "traceId": "4458b5a362f3d01a9907929bcfd42cb4", "spanId": "3d435a77f8dfe3e5", "parentSpanId": "d375a606993d616b", "startTimeUnixNano": "1796073094273272972", "endTimeUnixNano": "1796073094274009159", "durationMs": 0.736187, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008857}}
{"type": "effect-span", "name": "sqlite", "traceId": "4458b5a362f3d01a9907929bcfd42cb4", "spanId": "eaebb35ce0e640bd", "parentSpanId": "d375a606993d616b", "startTimeUnixNano": "1796073094275321422", "endTimeUnixNano": "1796073094276643163", "durationMs": 1.321741, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021922}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4458b5a362f3d01a9907929bcfd42cb4", "spanId": "d375a606993d616b", "parentSpanId": "6bec9de73c0de49c", "startTimeUnixNano": "1796073094271811929", "endTimeUnixNano": "1796073094276787766", "durationMs": 4.975837, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4458b5a362f3d01a9907929bcfd42cb4", "spanId": "189e7503412aea13", "parentSpanId": "6bec9de73c0de49c", "startTimeUnixNano": "1796073094276804748", "endTimeUnixNano": "1796073094277533080", "durationMs": 0.728332, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4458b5a362f3d01a9907929bcfd42cb4", "spanId": "6bec9de73c0de49c", "parentSpanId": "417a1349a16dc6bb", "startTimeUnixNano": "1796073094268471864", "endTimeUnixNano": "1796073094277572274", "durationMs": 9.10041, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.108769, "db.connection": "reader", "db.lock_wait_ms": 3.057}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4458b5a362f3d01a9907929bcfd42cb4", "spanId": "417a1349a16dc6bb", "parentSpanId": "a98c3e5bd8137bfd", "startTimeUnixNano": "1796073094268460132", "endTimeUnixNano": "1796073094277598554", "durationMs": 9.138422, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4458b5a362f3d01a9907929bcfd42cb4", "spanId": "a98c3e5bd8137bfd", "parentSpanId": "28fcaa365b562e57", "startTimeUnixNano": "1796073094268386603", "endTimeUnixNano": "1796073094277606118", "durationMs": 9.219515, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4458b5a362f3d01a9907929bcfd42cb4", "spanId": "28fcaa365b562e57", "startTimeUnixNano": "1796073094268357979", "endTimeUnixNano": "1796073094277618982", "durationMs": 9.261003, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0ea8991ee90ca76afdc8ec3ddf66de8d", "spanId": "a62a4d941e16ae8b", "parentSpanId": "70a36e688ccb6b39", "startTimeUnixNano": "1796073094519789087", "endTimeUnixNano": "1796073094520255897", "durationMs": 0.46681, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ea8991ee90ca76afdc8ec3ddf66de8d", "spanId": "23f049689fc8d8a5", "parentSpanId": "0152f270392ba269", "startTimeUnixNano": "1796073094520299048", "endTimeUnixNano": "1796073094520773833", "durationMs": 0.474785, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00494}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ea8991ee90ca76afdc8ec3ddf66de8d", "spanId": "ce092cc8f64c0e09", "parentSpanId": "0152f270392ba269", "startTimeUnixNano": "1796073094520848274", "endTimeUnixNano": "1796073094521619367", "durationMs": 0.771093, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009177}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ea8991ee90ca76afdc8ec3ddf66de8d", "spanId": "1cd440c8cbd84816", "parentSpanId": "0152f270392ba269", "startTimeUnixNano": "1796073094521641619", "endTimeUnixNano": "1796073094522079915", "durationMs": 0.438296, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009147}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ea8991ee90ca76afdc8ec3ddf66de8d", "spanId": "126d715c781154ea", "parentSpanId": "0152f270392ba269", "startTimeUnixNano": "1796073094523451880", "endTimeUnixNano": "1796073094524093199", "durationMs": 0.641319, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017142}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0ea8991ee90ca76afdc8ec3ddf66de8d", "spanId": "0152f270392ba269", "parentSpanId": "70a36e688ccb6b39", "startTimeUnixNano": "1796073094520293197", "endTimeUnixNano": "1796073094524202896", "durationMs": 3.909699, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0ea8991ee90ca76afdc8ec3ddf66de8d", "spanId": "5c023502a6eeac95", "parentSpanId": "70a36e688ccb6b39", "startTimeUnixNano": "1796073094524214497", "endTimeUnixNano": "1796073094524937089", "durationMs": 0.722592, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0ea8991ee90ca76afdc8ec3ddf66de8d", "spanId": "70a36e688ccb6b39", "parentSpanId": "e27752188752ac6a", "startTimeUnixNano": "1796073094511099241", "endTimeUnixNano": "1796073094524959992", "durationMs": 13.860751, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 8.683224, "db.connection": "reader", "db.lock_wait_ms": 8.631}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0ea8991ee90ca76afdc8ec3ddf66de8d", "spanId": "e27752188752ac6a", "parentSpanId": "f4f12225093651dc", "startTimeUnixNano": "1796073094511082950", "endTimeUnixNano": "1796073094524996271", "durationMs": 13.913321, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0ea8991ee90ca76afdc8ec3ddf66de8d", "spanId": "f4f12225093651dc", "parentSpanId": "d20495f65a88f94f", "startTimeUnixNano": "1796073094511023839", "endTimeUnixNano": "1796073094525005909", "durationMs": 13.98207, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0ea8991ee90ca76afdc8ec3ddf66de8d", "spanId": "d20495f65a88f94f", "startTimeUnixNano": "1796073094510994744", "endTimeUnixNano": "1796073094525019675", "durationMs": 14.024931, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7ce85fd8187cf6e5f5d60e556a18581f", "spanId": "0bd4edbb8a317ce0", "parentSpanId": "03b94e95d69b5a24", "startTimeUnixNano": "1796073095781969950", "endTimeUnixNano": "1796073095782671702", "durationMs": 0.701752, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ce85fd8187cf6e5f5d60e556a18581f", "spanId": "3003990a1f377e94", "parentSpanId": "a3b3cdbd66bf12d7", "startTimeUnixNano": "1796073095782707169", "endTimeUnixNano": "1796073095783369627", "durationMs": 0.662458, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004979}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ce85fd8187cf6e5f5d60e556a18581f", "spanId": "dcac669cf70ab0c3", "parentSpanId": "a3b3cdbd66bf12d7", "startTimeUnixNano": "1796073095783456250", "endTimeUnixNano": "1796073095784225921", "durationMs": 0.769671, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01028}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ce85fd8187cf6e5f5d60e556a18581f", "spanId": "d879aa81bee9e5d2", "parentSpanId": "a3b3cdbd66bf12d7", "startTimeUnixNano": "1796073095784236842", "endTimeUnixNano": "1796073095784971186", "durationMs": 0.734344, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008195}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ce85fd8187cf6e5f5d60e556a18581f", "spanId": "8306016429948655", "parentSpanId": "a3b3cdbd66bf12d7", "startTimeUnixNano": "1796073095786083241", "endTimeUnixNano": "1796073095787508317", "durationMs": 1.425076, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015139}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7ce85fd8187cf6e5f5d60e556a18581f", "spanId": "a3b3cdbd66bf12d7", "parentSpanId": "03b94e95d69b5a24", "startTimeUnixNano": "1796073095782701188", "endTimeUnixNano": "1796073095787600110", "durationMs": 4.898922, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7ce85fd8187cf6e5f5d60e556a18581f", "spanId": "f5235f2902c1bfb2", "parentSpanId": "03b94e95d69b5a24", "startTimeUnixNano": "1796073095787609007", "endTimeUnixNano": "1796073095787868155", "durationMs": 0.259148, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7ce85fd8187cf6e5f5d60e556a18581f", "spanId": "03b94e95d69b5a24", "parentSpanId": "11d2ea871afa1851", "startTimeUnixNano": "1796073095780613203", "endTimeUnixNano": "1796073095787887582", "durationMs": 7.274379, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.352909, "db.connection": "reader", "db.lock_wait_ms": 1.316}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7ce85fd8187cf6e5f5d60e556a18581f", "spanId": "11d2ea871afa1851", "parentSpanId": "f9cafb0dfcbc3d55", "startTimeUnixNano": "1796073095780604386", "endTimeUnixNano": "1796073095787899534", "durationMs": 7.295148, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7ce85fd8187cf6e5f5d60e556a18581f", "spanId": "f9cafb0dfcbc3d55", "parentSpanId": "44056664ed96be8c", "startTimeUnixNano": "1796073095780564381", "endTimeUnixNano": "1796073095787904283", "durationMs": 7.339902, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7ce85fd8187cf6e5f5d60e556a18581f", "spanId": "44056664ed96be8c", "startTimeUnixNano": "1796073095780548531", "endTimeUnixNano": "1796073095787911256", "durationMs": 7.362725, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b537e41086f7e7469a7d578f936b2300", "spanId": "aa33626075bdd25d", "parentSpanId": "3acf40998e4cfbd6", "startTimeUnixNano": "1796073096013395877", "endTimeUnixNano": "1796073096014345146", "durationMs": 0.949269, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b537e41086f7e7469a7d578f936b2300", "spanId": "d0a25c52e1a0381a", "parentSpanId": "fc62f8cbe226463c", "startTimeUnixNano": "1796073096014457848", "endTimeUnixNano": "1796073096015271021", "durationMs": 0.813173, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01074}}
{"type": "effect-span", "name": "sqlite", "traceId": "b537e41086f7e7469a7d578f936b2300", "spanId": "e6b6ecc3b184ebef", "parentSpanId": "fc62f8cbe226463c", "startTimeUnixNano": "1796073096015479193", "endTimeUnixNano": "1796073096016738075", "durationMs": 1.258882, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017503}}
{"type": "effect-span", "name": "sqlite", "traceId": "b537e41086f7e7469a7d578f936b2300", "spanId": "5550bfded9568773", "parentSpanId": "fc62f8cbe226463c", "startTimeUnixNano": "1796073096016771098", "endTimeUnixNano": "1796073096017304282", "durationMs": 0.533184, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014437}}
{"type": "effect-span", "name": "sqlite", "traceId": "b537e41086f7e7469a7d578f936b2300", "spanId": "433228f3d891b22d", "parentSpanId": "fc62f8cbe226463c", "startTimeUnixNano": "1796073096019288231", "endTimeUnixNano": "1796073096020131961", "durationMs": 0.84373, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.027923}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b537e41086f7e7469a7d578f936b2300", "spanId": "fc62f8cbe226463c", "parentSpanId": "3acf40998e4cfbd6", "startTimeUnixNano": "1796073096014422992", "endTimeUnixNano": "1796073096020365021", "durationMs": 5.942029, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b537e41086f7e7469a7d578f936b2300", "spanId": "eeb6da869510aa90", "parentSpanId": "3acf40998e4cfbd6", "startTimeUnixNano": "1796073096020421307", "endTimeUnixNano": "1796073096021335149", "durationMs": 0.913842, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b537e41086f7e7469a7d578f936b2300", "spanId": "3acf40998e4cfbd6", "parentSpanId": "d0ea3697c705f887", "startTimeUnixNano": "1796073096010931853", "endTimeUnixNano": "1796073096021375325", "durationMs": 10.443472, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.453524, "db.connection": "reader", "db.lock_wait_ms": 2.324}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b537e41086f7e7469a7d578f936b2300", "spanId": "d0ea3697c705f887", "parentSpanId": "0561d7a93b86de73", "startTimeUnixNano": "1796073096010908649", "endTimeUnixNano": "1796073096021397486", "durationMs": 10.488837, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b537e41086f7e7469a7d578f936b2300", "spanId": "0561d7a93b86de73", "parentSpanId": "ac45308b796c3d7f", "startTimeUnixNano": "1796073096010837956", "endTimeUnixNano": "1796073096021404009", "durationMs": 10.566053, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b537e41086f7e7469a7d578f936b2300", "spanId": "ac45308b796c3d7f", "startTimeUnixNano": "1796073096010804653", "endTimeUnixNano": "1796073096021413186", "durationMs": 10.608533, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9b1eb80b683e61c75d42f65fe42b97dd", "spanId": "cfd21bef05fae02f", "parentSpanId": "fc5f7417cb28ee9a", "startTimeUnixNano": "1796073097332307824", "endTimeUnixNano": "1796073097332595707", "durationMs": 0.287883, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9b1eb80b683e61c75d42f65fe42b97dd", "spanId": "4ed41c5bdbca3236", "parentSpanId": "c812e123bc4ef40b", "startTimeUnixNano": "1796073097332674445", "endTimeUnixNano": "1796073097333603516", "durationMs": 0.929071, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007965}}
{"type": "effect-span", "name": "sqlite", "traceId": "9b1eb80b683e61c75d42f65fe42b97dd", "spanId": "771eddb5cdc2ea9e", "parentSpanId": "c812e123bc4ef40b", "startTimeUnixNano": "1796073097333717801", "endTimeUnixNano": "1796073097334364420", "durationMs": 0.646619, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012334}}
{"type": "effect-span", "name": "sqlite", "traceId": "9b1eb80b683e61c75d42f65fe42b97dd", "spanId": "589961e25d62f35b", "parentSpanId": "c812e123bc4ef40b", "startTimeUnixNano": "1796073097334383225", "endTimeUnixNano": "1796073097335052547", "durationMs": 0.669322, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008446}}
{"type": "effect-span", "name": "sqlite", "traceId": "9b1eb80b683e61c75d42f65fe42b97dd", "spanId": "bf36f850eb368c30", "parentSpanId": "c812e123bc4ef40b", "startTimeUnixNano": "1796073097336253009", "endTimeUnixNano": "1796073097338034206", "durationMs": 1.781197, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01581}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9b1eb80b683e61c75d42f65fe42b97dd", "spanId": "c812e123bc4ef40b", "parentSpanId": "fc5f7417cb28ee9a", "startTimeUnixNano": "1796073097332666079", "endTimeUnixNano": "1796073097338140647", "durationMs": 5.474568, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9b1eb80b683e61c75d42f65fe42b97dd", "spanId": "ac3f9186a9e0a8dc", "parentSpanId": "fc5f7417cb28ee9a", "startTimeUnixNano": "1796073097338150535", "endTimeUnixNano": "1796073097340721921", "durationMs": 2.571386, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9b1eb80b683e61c75d42f65fe42b97dd", "spanId": "fc5f7417cb28ee9a", "parentSpanId": "0582401504845ce2", "startTimeUnixNano": "1796073097329399012", "endTimeUnixNano": "1796073097340745165", "durationMs": 11.346153, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.9021, "db.connection": "reader", "db.lock_wait_ms": 2.839}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9b1eb80b683e61c75d42f65fe42b97dd", "spanId": "0582401504845ce2", "parentSpanId": "5a14bfe961ff6fd7", "startTimeUnixNano": "1796073097329387040", "endTimeUnixNano": "1796073097340757689", "durationMs": 11.370649, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9b1eb80b683e61c75d42f65fe42b97dd", "spanId": "5a14bfe961ff6fd7", "parentSpanId": "82557a8716f7e533", "startTimeUnixNano": "1796073097329336314", "endTimeUnixNano": "1796073097340761967", "durationMs": 11.425653, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9b1eb80b683e61c75d42f65fe42b97dd", "spanId": "82557a8716f7e533", "startTimeUnixNano": "1796073097329313451", "endTimeUnixNano": "1796073097340768489", "durationMs": 11.455038, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0e364ba718a2354ec5f3a828871be334", "spanId": "2baa38dd52192174", "parentSpanId": "6d5ea8f13f56eefd", "startTimeUnixNano": "1796073097586330116", "endTimeUnixNano": "1796073097586557294", "durationMs": 0.227178, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e364ba718a2354ec5f3a828871be334", "spanId": "792e22856b700a10", "parentSpanId": "4638157b05f58aad", "startTimeUnixNano": "1796073097586615735", "endTimeUnixNano": "1796073097586920489", "durationMs": 0.304754, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007704}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e364ba718a2354ec5f3a828871be334", "spanId": "a86ae7f6082b4645", "parentSpanId": "4638157b05f58aad", "startTimeUnixNano": "1796073097587026479", "endTimeUnixNano": "1796073097587650104", "durationMs": 0.623625, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013185}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e364ba718a2354ec5f3a828871be334", "spanId": "11fa18c320f237c9", "parentSpanId": "4638157b05f58aad", "startTimeUnixNano": "1796073097587680281", "endTimeUnixNano": "1796073097588358078", "durationMs": 0.677797, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013485}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e364ba718a2354ec5f3a828871be334", "spanId": "cd33269f5472be45", "parentSpanId": "4638157b05f58aad", "startTimeUnixNano": "1796073097590022104", "endTimeUnixNano": "1796073097591040764", "durationMs": 1.01866, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014728}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0e364ba718a2354ec5f3a828871be334", "spanId": "4638157b05f58aad", "parentSpanId": "6d5ea8f13f56eefd", "startTimeUnixNano": "1796073097586607579", "endTimeUnixNano": "1796073097591161792", "durationMs": 4.554213, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0e364ba718a2354ec5f3a828871be334", "spanId": "a2363c87e575ce49", "parentSpanId": "6d5ea8f13f56eefd", "startTimeUnixNano": "1796073097591176770", "endTimeUnixNano": "1796073097591912196", "durationMs": 0.735426, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0e364ba718a2354ec5f3a828871be334", "spanId": "6d5ea8f13f56eefd", "parentSpanId": "beb0410ad329e5cb", "startTimeUnixNano": "1796073097584388317", "endTimeUnixNano": "1796073097591933797", "durationMs": 7.54548, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.935057, "db.connection": "reader", "db.lock_wait_ms": 1.86}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0e364ba718a2354ec5f3a828871be334", "spanId": "beb0410ad329e5cb", "parentSpanId": "8828567525f7b3b5", "startTimeUnixNano": "1796073097584373529", "endTimeUnixNano": "1796073097591948334", "durationMs": 7.574805, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0e364ba718a2354ec5f3a828871be334", "spanId": "8828567525f7b3b5", "parentSpanId": "153f3bbf54ca73ea", "startTimeUnixNano": "1796073097584316512", "endTimeUnixNano": "1796073097591954486", "durationMs": 7.637974, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0e364ba718a2354ec5f3a828871be334", "spanId": "153f3bbf54ca73ea", "startTimeUnixNano": "1796073097584292757", "endTimeUnixNano": "1796073097591961980", "durationMs": 7.669223, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7242d88ca69765afa4874722841fa306", "spanId": "4a78cef12990072b", "parentSpanId": "f6015b26673230bf", "startTimeUnixNano": "1796073099141860970", "endTimeUnixNano": "1796073099142592388", "durationMs": 0.731418, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7242d88ca69765afa4874722841fa306", "spanId": "0419929ae884a186", "parentSpanId": "27cddc5350710443", "startTimeUnixNano": "1796073099142629629", "endTimeUnixNano": "1796073099143458340", "durationMs": 0.828711, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004939}}
{"type": "effect-span", "name": "sqlite", "traceId": "7242d88ca69765afa4874722841fa306", "spanId": "1f509807f1e73bae", "parentSpanId": "27cddc5350710443", "startTimeUnixNano": "1796073099143533762", "endTimeUnixNano": "1796073099144295608", "durationMs": 0.761846, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008967}}
{"type": "effect-span", "name": "sqlite", "traceId": "7242d88ca69765afa4874722841fa306", "spanId": "24c75d52eda9c555", "parentSpanId": "27cddc5350710443", "startTimeUnixNano": "1796073099144315927", "endTimeUnixNano": "1796073099144967795", "durationMs": 0.651868, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010239}}
{"type": "effect-span", "name": "sqlite", "traceId": "7242d88ca69765afa4874722841fa306", "spanId": "22ad8fe2d3c1e2e8", "parentSpanId": "27cddc5350710443", "startTimeUnixNano": "1796073099146740776", "endTimeUnixNano": "1796073099150859548", "durationMs": 4.118772, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.058941}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7242d88ca69765afa4874722841fa306", "spanId": "27cddc5350710443", "parentSpanId": "f6015b26673230bf", "startTimeUnixNano": "1796073099142624048", "endTimeUnixNano": "1796073099150999763", "durationMs": 8.375715, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7242d88ca69765afa4874722841fa306", "spanId": "09a2125a6cf64a1f", "parentSpanId": "f6015b26673230bf", "startTimeUnixNano": "1796073099151040049", "endTimeUnixNano": "1796073099151641592", "durationMs": 0.601543, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7242d88ca69765afa4874722841fa306", "spanId": "f6015b26673230bf", "parentSpanId": "036737b72edc2423", "startTimeUnixNano": "1796073099140217623", "endTimeUnixNano": "1796073099151694792", "durationMs": 11.477169, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.639339, "db.connection": "reader", "db.lock_wait_ms": 1.595}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7242d88ca69765afa4874722841fa306", "spanId": "036737b72edc2423", "parentSpanId": "44e5b74ac5291a0a", "startTimeUnixNano": "1796073099140203867", "endTimeUnixNano": "1796073099151719930", "durationMs": 11.516063, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7242d88ca69765afa4874722841fa306", "spanId": "44e5b74ac5291a0a", "parentSpanId": "1ad2a76bf33f90b5", "startTimeUnixNano": "1796073099140145046", "endTimeUnixNano": "1796073099151728005", "durationMs": 11.582959, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7242d88ca69765afa4874722841fa306", "spanId": "1ad2a76bf33f90b5", "startTimeUnixNano": "1796073099140114639", "endTimeUnixNano": "1796073099151739407", "durationMs": 11.624768, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e5e7d7d32e80dad5622a82421e40fbd2", "spanId": "9f7e85badec39901", "parentSpanId": "4c05782acdc7862c", "startTimeUnixNano": "1796073099415124424", "endTimeUnixNano": "1796073099415320273", "durationMs": 0.195849, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e5e7d7d32e80dad5622a82421e40fbd2", "spanId": "a93fc086804e4726", "parentSpanId": "55e8f141bbf074ca", "startTimeUnixNano": "1796073099415373253", "endTimeUnixNano": "1796073099415703375", "durationMs": 0.330122, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005881}}
{"type": "effect-span", "name": "sqlite", "traceId": "e5e7d7d32e80dad5622a82421e40fbd2", "spanId": "0b9610b0971c6cf3", "parentSpanId": "55e8f141bbf074ca", "startTimeUnixNano": "1796073099415824814", "endTimeUnixNano": "1796073099416235788", "durationMs": 0.410974, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013345}}
{"type": "effect-span", "name": "sqlite", "traceId": "e5e7d7d32e80dad5622a82421e40fbd2", "spanId": "44b22733a0c2d7bf", "parentSpanId": "55e8f141bbf074ca", "startTimeUnixNano": "1796073099416268460", "endTimeUnixNano": "1796073099416659357", "durationMs": 0.390897, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012764}}
{"type": "effect-span", "name": "sqlite", "traceId": "e5e7d7d32e80dad5622a82421e40fbd2", "spanId": "de77f7be350e7782", "parentSpanId": "55e8f141bbf074ca", "startTimeUnixNano": "1796073099418612197", "endTimeUnixNano": "1796073099419525839", "durationMs": 0.913642, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.034785}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e5e7d7d32e80dad5622a82421e40fbd2", "spanId": "55e8f141bbf074ca", "parentSpanId": "4c05782acdc7862c", "startTimeUnixNano": "1796073099415366691", "endTimeUnixNano": "1796073099419719474", "durationMs": 4.352783, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e5e7d7d32e80dad5622a82421e40fbd2", "spanId": "0cdb6696e4587e32", "parentSpanId": "4c05782acdc7862c", "startTimeUnixNano": "1796073099419740493", "endTimeUnixNano": "1796073099420338470", "durationMs": 0.597977, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e5e7d7d32e80dad5622a82421e40fbd2", "spanId": "4c05782acdc7862c", "parentSpanId": "4e49d0e1901bcab9", "startTimeUnixNano": "1796073099413143581", "endTimeUnixNano": "1796073099420378135", "durationMs": 7.234554, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.974792, "db.connection": "reader", "db.lock_wait_ms": 1.866}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e5e7d7d32e80dad5622a82421e40fbd2", "spanId": "4e49d0e1901bcab9", "parentSpanId": "59e1473b9394e0af", "startTimeUnixNano": "1796073099413127461", "endTimeUnixNano": "1796073099420408171", "durationMs": 7.28071, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e5e7d7d32e80dad5622a82421e40fbd2", "spanId": "59e1473b9394e0af", "parentSpanId": "6d34680c38fbc7b2", "startTimeUnixNano": "1796073099413058420", "endTimeUnixNano": "1796073099420418481", "durationMs": 7.360061, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e5e7d7d32e80dad5622a82421e40fbd2", "spanId": "6d34680c38fbc7b2", "startTimeUnixNano": "1796073099413020930", "endTimeUnixNano": "1796073099420449830", "durationMs": 7.4289, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e08afc9213b2a06f1de228daa232d74f", "spanId": "a38e991971d098f8", "parentSpanId": "bc372e7293e3af4a", "startTimeUnixNano": "1796073100774547181", "endTimeUnixNano": "1796073100775719701", "durationMs": 1.17252, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e08afc9213b2a06f1de228daa232d74f", "spanId": "c335882c77b03cb3", "parentSpanId": "bc0acf5c6938a534", "startTimeUnixNano": "1796073100775792368", "endTimeUnixNano": "1796073100776631269", "durationMs": 0.838901, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009337}}
{"type": "effect-span", "name": "sqlite", "traceId": "e08afc9213b2a06f1de228daa232d74f", "spanId": "cbc9122fc3ea9a4b", "parentSpanId": "bc0acf5c6938a534", "startTimeUnixNano": "1796073100776726759", "endTimeUnixNano": "1796073100777486210", "durationMs": 0.759451, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011932}}
{"type": "effect-span", "name": "sqlite", "traceId": "e08afc9213b2a06f1de228daa232d74f", "spanId": "5b39fe114df8bf62", "parentSpanId": "bc0acf5c6938a534", "startTimeUnixNano": "1796073100777507189", "endTimeUnixNano": "1796073100778694627", "durationMs": 1.187438, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009999}}
{"type": "effect-span", "name": "sqlite", "traceId": "e08afc9213b2a06f1de228daa232d74f", "spanId": "02301d6d9ea4ce42", "parentSpanId": "bc0acf5c6938a534", "startTimeUnixNano": "1796073100781368967", "endTimeUnixNano": "1796073100782546386", "durationMs": 1.177419, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.046177}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e08afc9213b2a06f1de228daa232d74f", "spanId": "bc0acf5c6938a534", "parentSpanId": "bc372e7293e3af4a", "startTimeUnixNano": "1796073100775784232", "endTimeUnixNano": "1796073100782707971", "durationMs": 6.923739, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e08afc9213b2a06f1de228daa232d74f", "spanId": "da2af40db6cb1c6a", "parentSpanId": "bc372e7293e3af4a", "startTimeUnixNano": "1796073100782728670", "endTimeUnixNano": "1796073100783310636", "durationMs": 0.581966, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e08afc9213b2a06f1de228daa232d74f", "spanId": "bc372e7293e3af4a", "parentSpanId": "088fb581f9a4601d", "startTimeUnixNano": "1796073100769370405", "endTimeUnixNano": "1796073100783343979", "durationMs": 13.973574, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.16289, "db.connection": "reader", "db.lock_wait_ms": 5.099}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e08afc9213b2a06f1de228daa232d74f", "spanId": "088fb581f9a4601d", "parentSpanId": "40bd3276bb7991c1", "startTimeUnixNano": "1796073100769360977", "endTimeUnixNano": "1796073100783370038", "durationMs": 14.009061, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e08afc9213b2a06f1de228daa232d74f", "spanId": "40bd3276bb7991c1", "parentSpanId": "ebb63a5514f0c8f9", "startTimeUnixNano": "1796073100769305663", "endTimeUnixNano": "1796073100783378454", "durationMs": 14.072791, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e08afc9213b2a06f1de228daa232d74f", "spanId": "ebb63a5514f0c8f9", "startTimeUnixNano": "1796073100769281297", "endTimeUnixNano": "1796073100783392611", "durationMs": 14.111314, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a64a22f96a9ca8dbb170b58550646beb", "spanId": "930c0231799bfdf5", "parentSpanId": "4c1170c74de27286", "startTimeUnixNano": "1796073101037875351", "endTimeUnixNano": "1796073101038380814", "durationMs": 0.505463, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a64a22f96a9ca8dbb170b58550646beb", "spanId": "547507ab9aff7280", "parentSpanId": "dd299e6bf7c9a92a", "startTimeUnixNano": "1796073101038425729", "endTimeUnixNano": "1796073101038895003", "durationMs": 0.469274, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.022782}}
{"type": "effect-span", "name": "sqlite", "traceId": "a64a22f96a9ca8dbb170b58550646beb", "spanId": "5fcc50d6b3094311", "parentSpanId": "dd299e6bf7c9a92a", "startTimeUnixNano": "1796073101038980805", "endTimeUnixNano": "1796073101039737581", "durationMs": 0.756776, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01069}}
{"type": "effect-span", "name": "sqlite", "traceId": "a64a22f96a9ca8dbb170b58550646beb", "spanId": "5e095f22a2a267ef", "parentSpanId": "dd299e6bf7c9a92a", "startTimeUnixNano": "1796073101039752329", "endTimeUnixNano": "1796073101040325940", "durationMs": 0.573611, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007223}}
{"type": "effect-span", "name": "sqlite", "traceId": "a64a22f96a9ca8dbb170b58550646beb", "spanId": "c447c461c382c516", "parentSpanId": "dd299e6bf7c9a92a", "startTimeUnixNano": "1796073101041545067", "endTimeUnixNano": "1796073101042810462", "durationMs": 1.265395, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013005}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a64a22f96a9ca8dbb170b58550646beb", "spanId": "dd299e6bf7c9a92a", "parentSpanId": "4c1170c74de27286", "startTimeUnixNano": "1796073101038419597", "endTimeUnixNano": "1796073101042922944", "durationMs": 4.503347, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a64a22f96a9ca8dbb170b58550646beb", "spanId": "a28adc44395cab4c", "parentSpanId": "4c1170c74de27286", "startTimeUnixNano": "1796073101042932362", "endTimeUnixNano": "1796073101043288302", "durationMs": 0.35594, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a64a22f96a9ca8dbb170b58550646beb", "spanId": "4c1170c74de27286", "parentSpanId": "835e75143afd8d7e", "startTimeUnixNano": "1796073101036239498", "endTimeUnixNano": "1796073101043307529", "durationMs": 7.068031, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.628219, "db.connection": "reader", "db.lock_wait_ms": 1.578}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a64a22f96a9ca8dbb170b58550646beb", "spanId": "835e75143afd8d7e", "parentSpanId": "2dac1d227e41822c", "startTimeUnixNano": "1796073101036226704", "endTimeUnixNano": "1796073101043323068", "durationMs": 7.096364, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a64a22f96a9ca8dbb170b58550646beb", "spanId": "2dac1d227e41822c", "parentSpanId": "a849c80bc9bfd2a0", "startTimeUnixNano": "1796073101036173173", "endTimeUnixNano": "1796073101043329350", "durationMs": 7.156177, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a64a22f96a9ca8dbb170b58550646beb", "spanId": "a849c80bc9bfd2a0", "startTimeUnixNano": "1796073101036149379", "endTimeUnixNano": "1796073101043337475", "durationMs": 7.188096, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "77720b6e2a28777e4103ea5be3fa2961", "spanId": "c0bbc18d65ad33ab", "parentSpanId": "97a7bc597501b75d", "startTimeUnixNano": "1796073102407642315", "endTimeUnixNano": "1796073102407781658", "durationMs": 0.139343, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "77720b6e2a28777e4103ea5be3fa2961", "spanId": "a3e08652370f5957", "parentSpanId": "6d4e4a84c8c47675", "startTimeUnixNano": "1796073102407820371", "endTimeUnixNano": "1796073102408503348", "durationMs": 0.682977, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006081}}
{"type": "effect-span", "name": "sqlite", "traceId": "77720b6e2a28777e4103ea5be3fa2961", "spanId": "903e373fa59eac9a", "parentSpanId": "6d4e4a84c8c47675", "startTimeUnixNano": "1796073102408582046", "endTimeUnixNano": "1796073102409137032", "durationMs": 0.554986, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01559}}
{"type": "effect-span", "name": "sqlite", "traceId": "77720b6e2a28777e4103ea5be3fa2961", "spanId": "3cf8b26d33b4aab9", "parentSpanId": "6d4e4a84c8c47675", "startTimeUnixNano": "1796073102409159594", "endTimeUnixNano": "1796073102409574967", "durationMs": 0.415373, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009068}}
{"type": "effect-span", "name": "sqlite", "traceId": "77720b6e2a28777e4103ea5be3fa2961", "spanId": "8bc20b9993c0fe46", "parentSpanId": "6d4e4a84c8c47675", "startTimeUnixNano": "1796073102410995134", "endTimeUnixNano": "1796073102411688180", "durationMs": 0.693046, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01594}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "77720b6e2a28777e4103ea5be3fa2961", "spanId": "6d4e4a84c8c47675", "parentSpanId": "97a7bc597501b75d", "startTimeUnixNano": "1796073102407814119", "endTimeUnixNano": "1796073102411792096", "durationMs": 3.977977, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "77720b6e2a28777e4103ea5be3fa2961", "spanId": "830c2aad69fbde4b", "parentSpanId": "97a7bc597501b75d", "startTimeUnixNano": "1796073102411808096", "endTimeUnixNano": "1796073102412871510", "durationMs": 1.063414, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "77720b6e2a28777e4103ea5be3fa2961", "spanId": "97a7bc597501b75d", "parentSpanId": "e6091bc4916647ba", "startTimeUnixNano": "1796073102405537088", "endTimeUnixNano": "1796073102412899743", "durationMs": 7.362655, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.101851, "db.connection": "reader", "db.lock_wait_ms": 2.063}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "77720b6e2a28777e4103ea5be3fa2961", "spanId": "e6091bc4916647ba", "parentSpanId": "fbff5daefef42832", "startTimeUnixNano": "1796073102405527710", "endTimeUnixNano": "1796073102412918559", "durationMs": 7.390849, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "77720b6e2a28777e4103ea5be3fa2961", "spanId": "fbff5daefef42832", "parentSpanId": "92f9a7608e43717b", "startTimeUnixNano": "1796073102405484178", "endTimeUnixNano": "1796073102412925792", "durationMs": 7.441614, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "77720b6e2a28777e4103ea5be3fa2961", "spanId": "92f9a7608e43717b", "startTimeUnixNano": "1796073102405460834", "endTimeUnixNano": "1796073102412935671", "durationMs": 7.474837, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "72baca5685bb6b608aa42eefe3ab2e3d", "spanId": "45a5c1fd527c0c6b", "parentSpanId": "803543a9b6dd2d10", "startTimeUnixNano": "1796073102637234288", "endTimeUnixNano": "1796073102637570501", "durationMs": 0.336213, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "72baca5685bb6b608aa42eefe3ab2e3d", "spanId": "1acc5e449ece61cd", "parentSpanId": "e9bba63562f60a21", "startTimeUnixNano": "1796073102637674187", "endTimeUnixNano": "1796073102638377422", "durationMs": 0.703235, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012143}}
{"type": "effect-span", "name": "sqlite", "traceId": "72baca5685bb6b608aa42eefe3ab2e3d", "spanId": "953fe800369e5c40", "parentSpanId": "e9bba63562f60a21", "startTimeUnixNano": "1796073102638609730", "endTimeUnixNano": "1796073102639081299", "durationMs": 0.471569, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.020428}}
{"type": "effect-span", "name": "sqlite", "traceId": "72baca5685bb6b608aa42eefe3ab2e3d", "spanId": "fecbc18bef602fc2", "parentSpanId": "e9bba63562f60a21", "startTimeUnixNano": "1796073102639108680", "endTimeUnixNano": "1796073102644068036", "durationMs": 4.959356, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013926}}
{"type": "effect-span", "name": "sqlite", "traceId": "72baca5685bb6b608aa42eefe3ab2e3d", "spanId": "ec240c1b405c21ac", "parentSpanId": "e9bba63562f60a21", "startTimeUnixNano": "1796073102646342393", "endTimeUnixNano": "1796073102647561761", "durationMs": 1.219368, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.054412}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "72baca5685bb6b608aa42eefe3ab2e3d", "spanId": "e9bba63562f60a21", "parentSpanId": "803543a9b6dd2d10", "startTimeUnixNano": "1796073102637658708", "endTimeUnixNano": "1796073102647797765", "durationMs": 10.139057, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "72baca5685bb6b608aa42eefe3ab2e3d", "spanId": "327ece2e2b0763df", "parentSpanId": "803543a9b6dd2d10", "startTimeUnixNano": "1796073102647846217", "endTimeUnixNano": "1796073102648750351", "durationMs": 0.904134, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "72baca5685bb6b608aa42eefe3ab2e3d", "spanId": "803543a9b6dd2d10", "parentSpanId": "737f9c2c4138a88f", "startTimeUnixNano": "1796073102634055818", "endTimeUnixNano": "1796073102648805885", "durationMs": 14.750067, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.164624, "db.connection": "reader", "db.lock_wait_ms": 3.038}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "72baca5685bb6b608aa42eefe3ab2e3d", "spanId": "737f9c2c4138a88f", "parentSpanId": "3a8d2fc3d06d5107", "startTimeUnixNano": "1796073102634025931", "endTimeUnixNano": "1796073102648847854", "durationMs": 14.821923, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "72baca5685bb6b608aa42eefe3ab2e3d", "spanId": "3a8d2fc3d06d5107", "parentSpanId": "f6db78ca5d29ef43", "startTimeUnixNano": "1796073102633956190", "endTimeUnixNano": "1796073102648858955", "durationMs": 14.902765, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "72baca5685bb6b608aa42eefe3ab2e3d", "spanId": "f6db78ca5d29ef43", "startTimeUnixNano": "1796073102633925853", "endTimeUnixNano": "1796073102648874194", "durationMs": 14.948341, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "adc93d6ad6c0c50b2e4ed20e67b259e0", "spanId": "e811007731f4f842", "parentSpanId": "00681188af11fa7c", "startTimeUnixNano": "1796073103932675762", "endTimeUnixNano": "1796073103932873374", "durationMs": 0.197612, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "adc93d6ad6c0c50b2e4ed20e67b259e0", "spanId": "c24f7b0d81d3c317", "parentSpanId": "fca8b7623d6002ec", "startTimeUnixNano": "1796073103932925582", "endTimeUnixNano": "1796073103933715571", "durationMs": 0.789989, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005972}}
{"type": "effect-span", "name": "sqlite", "traceId": "adc93d6ad6c0c50b2e4ed20e67b259e0", "spanId": "b4b0fafee113bae3", "parentSpanId": "fca8b7623d6002ec", "startTimeUnixNano": "1796073103933830818", "endTimeUnixNano": "1796073103934456017", "durationMs": 0.625199, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014688}}
{"type": "effect-span", "name": "sqlite", "traceId": "adc93d6ad6c0c50b2e4ed20e67b259e0", "spanId": "94e0ec4642847604", "parentSpanId": "fca8b7623d6002ec", "startTimeUnixNano": "1796073103934489339", "endTimeUnixNano": "1796073103935075935", "durationMs": 0.586596, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.0159}}
{"type": "effect-span", "name": "sqlite", "traceId": "adc93d6ad6c0c50b2e4ed20e67b259e0", "spanId": "968bf3697e542760", "parentSpanId": "fca8b7623d6002ec", "startTimeUnixNano": "1796073103936357841", "endTimeUnixNano": "1796073103937169931", "durationMs": 0.81209, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015549}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "adc93d6ad6c0c50b2e4ed20e67b259e0", "spanId": "fca8b7623d6002ec", "parentSpanId": "00681188af11fa7c", "startTimeUnixNano": "1796073103932918028", "endTimeUnixNano": "1796073103937312700", "durationMs": 4.394672, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "adc93d6ad6c0c50b2e4ed20e67b259e0", "spanId": "8e900d5cb841cb41", "parentSpanId": "00681188af11fa7c", "startTimeUnixNano": "1796073103937330624", "endTimeUnixNano": "1796073103938548679", "durationMs": 1.218055, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "adc93d6ad6c0c50b2e4ed20e67b259e0", "spanId": "00681188af11fa7c", "parentSpanId": "57fd70da135b19a2", "startTimeUnixNano": "1796073103929803007", "endTimeUnixNano": "1796073103938588665", "durationMs": 8.785658, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.866373, "db.connection": "reader", "db.lock_wait_ms": 2.829}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "adc93d6ad6c0c50b2e4ed20e67b259e0", "spanId": "57fd70da135b19a2", "parentSpanId": "a5726cc8e0c24f3a", "startTimeUnixNano": "1796073103929793269", "endTimeUnixNano": "1796073103938613271", "durationMs": 8.820002, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "adc93d6ad6c0c50b2e4ed20e67b259e0", "spanId": "a5726cc8e0c24f3a", "parentSpanId": "8227da755cd19105", "startTimeUnixNano": "1796073103929748715", "endTimeUnixNano": "1796073103938622909", "durationMs": 8.874194, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "adc93d6ad6c0c50b2e4ed20e67b259e0", "spanId": "8227da755cd19105", "startTimeUnixNano": "1796073103929727515", "endTimeUnixNano": "1796073103938637206", "durationMs": 8.909691, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "28778d384388e3e5c6b3819e67968bb8", "spanId": "6e46588e373b83b2", "parentSpanId": "9c9ceb5c8ed78dc1", "startTimeUnixNano": "1796073104251725875", "endTimeUnixNano": "1796073104252636200", "durationMs": 0.910325, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "28778d384388e3e5c6b3819e67968bb8", "spanId": "03aa6c11f345b7eb", "parentSpanId": "267e2d2022fd31c6", "startTimeUnixNano": "1796073104252700321", "endTimeUnixNano": "1796073104253397465", "durationMs": 0.697144, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007224}}
{"type": "effect-span", "name": "sqlite", "traceId": "28778d384388e3e5c6b3819e67968bb8", "spanId": "ddad0dbc784d0d43", "parentSpanId": "267e2d2022fd31c6", "startTimeUnixNano": "1796073104253526038", "endTimeUnixNano": "1796073104254755975", "durationMs": 1.229937, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013545}}
{"type": "effect-span", "name": "sqlite", "traceId": "28778d384388e3e5c6b3819e67968bb8", "spanId": "196e9496b880e8cc", "parentSpanId": "267e2d2022fd31c6", "startTimeUnixNano": "1796073104254780532", "endTimeUnixNano": "1796073104255483256", "durationMs": 0.702724, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012493}}
{"type": "effect-span", "name": "sqlite", "traceId": "28778d384388e3e5c6b3819e67968bb8", "spanId": "6015cfae80ca55f6", "parentSpanId": "267e2d2022fd31c6", "startTimeUnixNano": "1796073104257685065", "endTimeUnixNano": "1796073104258955760", "durationMs": 1.270695, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.030227}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "28778d384388e3e5c6b3819e67968bb8", "spanId": "267e2d2022fd31c6", "parentSpanId": "9c9ceb5c8ed78dc1", "startTimeUnixNano": "1796073104252692617", "endTimeUnixNano": "1796073104259128586", "durationMs": 6.435969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "28778d384388e3e5c6b3819e67968bb8", "spanId": "a52c3a9d95628aa3", "parentSpanId": "9c9ceb5c8ed78dc1", "startTimeUnixNano": "1796073104259162299", "endTimeUnixNano": "1796073104260467028", "durationMs": 1.304729, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "28778d384388e3e5c6b3819e67968bb8", "spanId": "9c9ceb5c8ed78dc1", "parentSpanId": "46a74caa2d7ecfb0", "startTimeUnixNano": "1796073104249257183", "endTimeUnixNano": "1796073104260501002", "durationMs": 11.243819, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.458393, "db.connection": "reader", "db.lock_wait_ms": 2.351}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "28778d384388e3e5c6b3819e67968bb8", "spanId": "46a74caa2d7ecfb0", "parentSpanId": "002f1f3d6e6dda53", "startTimeUnixNano": "1796073104249242475", "endTimeUnixNano": "1796073104260532421", "durationMs": 11.289946, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "28778d384388e3e5c6b3819e67968bb8", "spanId": "002f1f3d6e6dda53", "parentSpanId": "24fd7d6eb245ab4f", "startTimeUnixNano": "1796073104249177693", "endTimeUnixNano": "1796073104260541178", "durationMs": 11.363485, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "28778d384388e3e5c6b3819e67968bb8", "spanId": "24fd7d6eb245ab4f", "startTimeUnixNano": "1796073104249149079", "endTimeUnixNano": "1796073104260555976", "durationMs": 11.406897, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3c7cc7f02df2ec069be61b5326afa06f", "spanId": "eeada76b85a6db6d", "parentSpanId": "6ab4680a93460af3", "startTimeUnixNano": "1796073105810397518", "endTimeUnixNano": "1796073105811508912", "durationMs": 1.111394, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3c7cc7f02df2ec069be61b5326afa06f", "spanId": "3ea10098f220754e", "parentSpanId": "51d4a318245bcbb2", "startTimeUnixNano": "1796073105811564286", "endTimeUnixNano": "1796073105812662787", "durationMs": 1.098501, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00483}}
{"type": "effect-span", "name": "sqlite", "traceId": "3c7cc7f02df2ec069be61b5326afa06f", "spanId": "cd73c5067e517514", "parentSpanId": "51d4a318245bcbb2", "startTimeUnixNano": "1796073105812792331", "endTimeUnixNano": "1796073105813450271", "durationMs": 0.65794, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011301}}
{"type": "effect-span", "name": "sqlite", "traceId": "3c7cc7f02df2ec069be61b5326afa06f", "spanId": "2d5df8d1e6cf53c2", "parentSpanId": "51d4a318245bcbb2", "startTimeUnixNano": "1796073105813467834", "endTimeUnixNano": "1796073105814008823", "durationMs": 0.540989, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014677}}
{"type": "effect-span", "name": "sqlite", "traceId": "3c7cc7f02df2ec069be61b5326afa06f", "spanId": "d6a4c5642bfc8dc9", "parentSpanId": "51d4a318245bcbb2", "startTimeUnixNano": "1796073105815354048", "endTimeUnixNano": "1796073105815981822", "durationMs": 0.627774, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019978}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3c7cc7f02df2ec069be61b5326afa06f", "spanId": "51d4a318245bcbb2", "parentSpanId": "6ab4680a93460af3", "startTimeUnixNano": "1796073105811555700", "endTimeUnixNano": "1796073105816139639", "durationMs": 4.583939, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3c7cc7f02df2ec069be61b5326afa06f", "spanId": "6c53b6182aaca826", "parentSpanId": "6ab4680a93460af3", "startTimeUnixNano": "1796073105816159266", "endTimeUnixNano": "1796073105816951940", "durationMs": 0.792674, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3c7cc7f02df2ec069be61b5326afa06f", "spanId": "6ab4680a93460af3", "parentSpanId": "e3cd2349514b8a80", "startTimeUnixNano": "1796073105808194726", "endTimeUnixNano": "1796073105816982077", "durationMs": 8.787351, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.194967, "db.connection": "reader", "db.lock_wait_ms": 2.143}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3c7cc7f02df2ec069be61b5326afa06f", "spanId": "e3cd2349514b8a80", "parentSpanId": "1827150bf53133f9", "startTimeUnixNano": "1796073105808181802", "endTimeUnixNano": "1796073105817002726", "durationMs": 8.820924, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3c7cc7f02df2ec069be61b5326afa06f", "spanId": "1827150bf53133f9", "parentSpanId": "df26ab8b136efd94", "startTimeUnixNano": "1796073105808130014", "endTimeUnixNano": "1796073105817008897", "durationMs": 8.878883, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3c7cc7f02df2ec069be61b5326afa06f", "spanId": "df26ab8b136efd94", "startTimeUnixNano": "1796073105808106861", "endTimeUnixNano": "1796073105817019988", "durationMs": 8.913127, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "076557cdef0a5986895316c425c29512", "spanId": "e66815784028ee62", "parentSpanId": "f8fe899bc5a79397", "startTimeUnixNano": "1796073106032838043", "endTimeUnixNano": "1796073106032977546", "durationMs": 0.139503, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "076557cdef0a5986895316c425c29512", "spanId": "42525c9eb0cff2c8", "parentSpanId": "960b076f27e9b161", "startTimeUnixNano": "1796073106033014666", "endTimeUnixNano": "1796073106033227487", "durationMs": 0.212821, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006643}}
{"type": "effect-span", "name": "sqlite", "traceId": "076557cdef0a5986895316c425c29512", "spanId": "5d0a581342e4203e", "parentSpanId": "960b076f27e9b161", "startTimeUnixNano": "1796073106033298712", "endTimeUnixNano": "1796073106033793985", "durationMs": 0.495273, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008085}}
{"type": "effect-span", "name": "sqlite", "traceId": "076557cdef0a5986895316c425c29512", "spanId": "c7c46d84680c4137", "parentSpanId": "960b076f27e9b161", "startTimeUnixNano": "1796073106033828119", "endTimeUnixNano": "1796073106034659286", "durationMs": 0.831167, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01557}}
{"type": "effect-span", "name": "sqlite", "traceId": "076557cdef0a5986895316c425c29512", "spanId": "5d9a95b6e46ee6bf", "parentSpanId": "960b076f27e9b161", "startTimeUnixNano": "1796073106036635981", "endTimeUnixNano": "1796073106037366588", "durationMs": 0.730607, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018715}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "076557cdef0a5986895316c425c29512", "spanId": "960b076f27e9b161", "parentSpanId": "f8fe899bc5a79397", "startTimeUnixNano": "1796073106033009016", "endTimeUnixNano": "1796073106037501282", "durationMs": 4.492266, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "076557cdef0a5986895316c425c29512", "spanId": "64f5b1ebe4fdbbeb", "parentSpanId": "f8fe899bc5a79397", "startTimeUnixNano": "1796073106037520738", "endTimeUnixNano": "1796073106038320045", "durationMs": 0.799307, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "076557cdef0a5986895316c425c29512", "spanId": "f8fe899bc5a79397", "parentSpanId": "cb95ff60f5c118f2", "startTimeUnixNano": "1796073106031535419", "endTimeUnixNano": "1796073106038350732", "durationMs": 6.815313, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.298306, "db.connection": "reader", "db.lock_wait_ms": 1.26}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "076557cdef0a5986895316c425c29512", "spanId": "cb95ff60f5c118f2", "parentSpanId": "76e701d22d0af9d7", "startTimeUnixNano": "1796073106031525961", "endTimeUnixNano": "1796073106038372003", "durationMs": 6.846042, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "076557cdef0a5986895316c425c29512", "spanId": "76e701d22d0af9d7", "parentSpanId": "736d1f195b909529", "startTimeUnixNano": "1796073106031486707", "endTimeUnixNano": "1796073106038381681", "durationMs": 6.894974, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "076557cdef0a5986895316c425c29512", "spanId": "736d1f195b909529", "startTimeUnixNano": "1796073106031468963", "endTimeUnixNano": "1796073106038392070", "durationMs": 6.923107, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ed6dc36273c29d4430dc094bb66244cc", "spanId": "d0cd4a6bfaee0c94", "parentSpanId": "e95f780dcbf108fc", "startTimeUnixNano": "1796073107338170552", "endTimeUnixNano": "1796073107339119781", "durationMs": 0.949229, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ed6dc36273c29d4430dc094bb66244cc", "spanId": "b366b73301c48513", "parentSpanId": "d147d5fd2b7ab6fa", "startTimeUnixNano": "1796073107339189533", "endTimeUnixNano": "1796073107342276620", "durationMs": 3.087087, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007424}}
{"type": "effect-span", "name": "sqlite", "traceId": "ed6dc36273c29d4430dc094bb66244cc", "spanId": "aea01924d075f2b8", "parentSpanId": "d147d5fd2b7ab6fa", "startTimeUnixNano": "1796073107342376639", "endTimeUnixNano": "1796073107343380901", "durationMs": 1.004262, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.033313}}
{"type": "effect-span", "name": "sqlite", "traceId": "ed6dc36273c29d4430dc094bb66244cc", "spanId": "068e4ae24ceebc6a", "parentSpanId": "d147d5fd2b7ab6fa", "startTimeUnixNano": "1796073107343398935", "endTimeUnixNano": "1796073107344090809", "durationMs": 0.691874, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009759}}
{"type": "effect-span", "name": "sqlite", "traceId": "ed6dc36273c29d4430dc094bb66244cc", "spanId": "64f64a7adec7fc5f", "parentSpanId": "d147d5fd2b7ab6fa", "startTimeUnixNano": "1796073107346200605", "endTimeUnixNano": "1796073107347901651", "durationMs": 1.701046, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016331}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ed6dc36273c29d4430dc094bb66244cc", "spanId": "d147d5fd2b7ab6fa", "parentSpanId": "e95f780dcbf108fc", "startTimeUnixNano": "1796073107339179784", "endTimeUnixNano": "1796073107347992172", "durationMs": 8.812388, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ed6dc36273c29d4430dc094bb66244cc", "spanId": "6624bb58ea8c12b7", "parentSpanId": "e95f780dcbf108fc", "startTimeUnixNano": "1796073107348005407", "endTimeUnixNano": "1796073107348463650", "durationMs": 0.458243, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ed6dc36273c29d4430dc094bb66244cc", "spanId": "e95f780dcbf108fc", "parentSpanId": "b399a9619e6fa5d8", "startTimeUnixNano": "1796073107336334121", "endTimeUnixNano": "1796073107348482987", "durationMs": 12.148866, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.830831, "db.connection": "reader", "db.lock_wait_ms": 1.78}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ed6dc36273c29d4430dc094bb66244cc", "spanId": "b399a9619e6fa5d8", "parentSpanId": "04d9b8fed121ccff", "startTimeUnixNano": "1796073107336320155", "endTimeUnixNano": "1796073107348496021", "durationMs": 12.175866, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ed6dc36273c29d4430dc094bb66244cc", "spanId": "04d9b8fed121ccff", "parentSpanId": "8397dc012b7dc79b", "startTimeUnixNano": "1796073107336258369", "endTimeUnixNano": "1796073107348500730", "durationMs": 12.242361, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ed6dc36273c29d4430dc094bb66244cc", "spanId": "8397dc012b7dc79b", "startTimeUnixNano": "1796073107336228653", "endTimeUnixNano": "1796073107348508224", "durationMs": 12.279571, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "88cfa259bf83aefcbcd4ecfbdf4ca14b", "spanId": "3e518386bb080808", "parentSpanId": "13dc8ae982816741", "startTimeUnixNano": "1796073107558586834", "endTimeUnixNano": "1796073107558768787", "durationMs": 0.181953, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "88cfa259bf83aefcbcd4ecfbdf4ca14b", "spanId": "be9abc9603877794", "parentSpanId": "829885b98586ac20", "startTimeUnixNano": "1796073107558822758", "endTimeUnixNano": "1796073107559122794", "durationMs": 0.300036, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007224}}
{"type": "effect-span", "name": "sqlite", "traceId": "88cfa259bf83aefcbcd4ecfbdf4ca14b", "spanId": "698d33e2bdc1a8c6", "parentSpanId": "829885b98586ac20", "startTimeUnixNano": "1796073107559210459", "endTimeUnixNano": "1796073107560234809", "durationMs": 1.02435, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010339}}
{"type": "effect-span", "name": "sqlite", "traceId": "88cfa259bf83aefcbcd4ecfbdf4ca14b", "spanId": "316e13290a5bfa4d", "parentSpanId": "829885b98586ac20", "startTimeUnixNano": "1796073107560254607", "endTimeUnixNano": "1796073107561260031", "durationMs": 1.005424, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008927}}
{"type": "effect-span", "name": "sqlite", "traceId": "88cfa259bf83aefcbcd4ecfbdf4ca14b", "spanId": "3646bbf0fa4c7651", "parentSpanId": "829885b98586ac20", "startTimeUnixNano": "1796073107562581011", "endTimeUnixNano": "1796073107563632593", "durationMs": 1.051582, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01581}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "88cfa259bf83aefcbcd4ecfbdf4ca14b", "spanId": "829885b98586ac20", "parentSpanId": "13dc8ae982816741", "startTimeUnixNano": "1796073107558814032", "endTimeUnixNano": "1796073107563729626", "durationMs": 4.915594, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "88cfa259bf83aefcbcd4ecfbdf4ca14b", "spanId": "c9cee9d7d09a6fa3", "parentSpanId": "13dc8ae982816741", "startTimeUnixNano": "1796073107563740175", "endTimeUnixNano": "1796073107563860903", "durationMs": 0.120728, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "88cfa259bf83aefcbcd4ecfbdf4ca14b", "spanId": "13dc8ae982816741", "parentSpanId": "8a8cc02831bade0e", "startTimeUnixNano": "1796073107557100503", "endTimeUnixNano": "1796073107563883175", "durationMs": 6.782672, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.482323, "db.connection": "reader", "db.lock_wait_ms": 1.431}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "88cfa259bf83aefcbcd4ecfbdf4ca14b", "spanId": "8a8cc02831bade0e", "parentSpanId": "b5b868de3e8f2ad0", "startTimeUnixNano": "1796073107557084933", "endTimeUnixNano": "1796073107563896320", "durationMs": 6.811387, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "88cfa259bf83aefcbcd4ecfbdf4ca14b", "spanId": "b5b868de3e8f2ad0", "parentSpanId": "10ff18334d37eb0e", "startTimeUnixNano": "1796073107557037163", "endTimeUnixNano": "1796073107563902241", "durationMs": 6.865078, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "88cfa259bf83aefcbcd4ecfbdf4ca14b", "spanId": "10ff18334d37eb0e", "startTimeUnixNano": "1796073107557011655", "endTimeUnixNano": "1796073107563909054", "durationMs": 6.897399, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "de873a5e04ed368d58ac9fab1e6b02a9", "spanId": "f37038e56a0d53c3", "parentSpanId": "735e1164e8ac0594", "startTimeUnixNano": "1796073108995988048", "endTimeUnixNano": "1796073108996335042", "durationMs": 0.346994, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "de873a5e04ed368d58ac9fab1e6b02a9", "spanId": "555b4d7c2d494877", "parentSpanId": "603b37c4736e8704", "startTimeUnixNano": "1796073108996394213", "endTimeUnixNano": "1796073108997314307", "durationMs": 0.920094, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008045}}
{"type": "effect-span", "name": "sqlite", "traceId": "de873a5e04ed368d58ac9fab1e6b02a9", "spanId": "ae6ac44484bdcc6b", "parentSpanId": "603b37c4736e8704", "startTimeUnixNano": "1796073108997429605", "endTimeUnixNano": "1796073108998237507", "durationMs": 0.807902, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.035747}}
{"type": "effect-span", "name": "sqlite", "traceId": "de873a5e04ed368d58ac9fab1e6b02a9", "spanId": "191d05be9f05c5fc", "parentSpanId": "603b37c4736e8704", "startTimeUnixNano": "1796073108998257164", "endTimeUnixNano": "1796073108998979275", "durationMs": 0.722111, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008456}}
{"type": "effect-span", "name": "sqlite", "traceId": "de873a5e04ed368d58ac9fab1e6b02a9", "spanId": "edc51ba14e6fc62f", "parentSpanId": "603b37c4736e8704", "startTimeUnixNano": "1796073109000480635", "endTimeUnixNano": "1796073109001108578", "durationMs": 0.627943, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020198}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "de873a5e04ed368d58ac9fab1e6b02a9", "spanId": "603b37c4736e8704", "parentSpanId": "735e1164e8ac0594", "startTimeUnixNano": "1796073108996386098", "endTimeUnixNano": "1796073109001224456", "durationMs": 4.838358, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "de873a5e04ed368d58ac9fab1e6b02a9", "spanId": "b4894d78b961dbc3", "parentSpanId": "735e1164e8ac0594", "startTimeUnixNano": "1796073109001243452", "endTimeUnixNano": "1796073109001711644", "durationMs": 0.468192, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "de873a5e04ed368d58ac9fab1e6b02a9", "spanId": "735e1164e8ac0594", "parentSpanId": "936802d2b8d9ddc8", "startTimeUnixNano": "1796073108993845811", "endTimeUnixNano": "1796073109001737844", "durationMs": 7.892033, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.137037, "db.connection": "reader", "db.lock_wait_ms": 2.099}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "de873a5e04ed368d58ac9fab1e6b02a9", "spanId": "936802d2b8d9ddc8", "parentSpanId": "5c16fb5c6e1f9fa0", "startTimeUnixNano": "1796073108993836744", "endTimeUnixNano": "1796073109001755006", "durationMs": 7.918262, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "de873a5e04ed368d58ac9fab1e6b02a9", "spanId": "5c16fb5c6e1f9fa0", "parentSpanId": "0a891dae17f34585", "startTimeUnixNano": "1796073108993794133", "endTimeUnixNano": "1796073109001761278", "durationMs": 7.967145, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "de873a5e04ed368d58ac9fab1e6b02a9", "spanId": "0a891dae17f34585", "startTimeUnixNano": "1796073108993779205", "endTimeUnixNano": "1796073109001769984", "durationMs": 7.990779, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "703a2c3b6210498054174ecb024a4a2f", "spanId": "834353bbf1039268", "parentSpanId": "031a174588da7fea", "startTimeUnixNano": "1796073109222518783", "endTimeUnixNano": "1796073109222855808", "durationMs": 0.337025, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "703a2c3b6210498054174ecb024a4a2f", "spanId": "01dab0e91895e879", "parentSpanId": "df6ddd37adf50c71", "startTimeUnixNano": "1796073109222893639", "endTimeUnixNano": "1796073109223262545", "durationMs": 0.368906, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004329}}
{"type": "effect-span", "name": "sqlite", "traceId": "703a2c3b6210498054174ecb024a4a2f", "spanId": "a6a4675f081cc610", "parentSpanId": "df6ddd37adf50c71", "startTimeUnixNano": "1796073109223332026", "endTimeUnixNano": "1796073109223929331", "durationMs": 0.597305, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008566}}
{"type": "effect-span", "name": "sqlite", "traceId": "703a2c3b6210498054174ecb024a4a2f", "spanId": "1da6bbadf6cfdc09", "parentSpanId": "df6ddd37adf50c71", "startTimeUnixNano": "1796073109223941805", "endTimeUnixNano": "1796073109224308696", "durationMs": 0.366891, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.00558}}
{"type": "effect-span", "name": "sqlite", "traceId": "703a2c3b6210498054174ecb024a4a2f", "spanId": "385dd8900b01d8af", "parentSpanId": "df6ddd37adf50c71", "startTimeUnixNano": "1796073109225621540", "endTimeUnixNano": "1796073109226603851", "durationMs": 0.982311, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018515}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "703a2c3b6210498054174ecb024a4a2f", "spanId": "df6ddd37adf50c71", "parentSpanId": "031a174588da7fea", "startTimeUnixNano": "1796073109222887428", "endTimeUnixNano": "1796073109226689022", "durationMs": 3.801594, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "703a2c3b6210498054174ecb024a4a2f", "spanId": "f4b88e6ed51f4445", "parentSpanId": "031a174588da7fea", "startTimeUnixNano": "1796073109226698440", "endTimeUnixNano": "1796073109227277732", "durationMs": 0.579292, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "703a2c3b6210498054174ecb024a4a2f", "spanId": "031a174588da7fea", "parentSpanId": "e6ded21b87279fdf", "startTimeUnixNano": "1796073109219648444", "endTimeUnixNano": "1796073109227298962", "durationMs": 7.650518, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.867073, "db.connection": "reader", "db.lock_wait_ms": 2.82}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "703a2c3b6210498054174ecb024a4a2f", "spanId": "e6ded21b87279fdf", "parentSpanId": "64e9c6b52b2c1693", "startTimeUnixNano": "1796073109219638615", "endTimeUnixNano": "1796073109227312337", "durationMs": 7.673722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "703a2c3b6210498054174ecb024a4a2f", "spanId": "64e9c6b52b2c1693", "parentSpanId": "c05f2706ce75fe71", "startTimeUnixNano": "1796073109219602798", "endTimeUnixNano": "1796073109227316815", "durationMs": 7.714017, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "703a2c3b6210498054174ecb024a4a2f", "spanId": "c05f2706ce75fe71", "startTimeUnixNano": "1796073109219588982", "endTimeUnixNano": "1796073109227323317", "durationMs": 7.734335, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fda53d273e799f1e88f9ba6fe4182c94", "spanId": "26940a900f4f0131", "parentSpanId": "3b66233ef7df793e", "startTimeUnixNano": "1796073110438331087", "endTimeUnixNano": "1796073110438614411", "durationMs": 0.283324, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fda53d273e799f1e88f9ba6fe4182c94", "spanId": "df8b46d779d50d60", "parentSpanId": "417f3ed1b566f0f9", "startTimeUnixNano": "1796073110438655759", "endTimeUnixNano": "1796073110439295665", "durationMs": 0.639906, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006172}}
{"type": "effect-span", "name": "sqlite", "traceId": "fda53d273e799f1e88f9ba6fe4182c94", "spanId": "67fe0b778a4c0dad", "parentSpanId": "417f3ed1b566f0f9", "startTimeUnixNano": "1796073110439381998", "endTimeUnixNano": "1796073110439907178", "durationMs": 0.52518, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01034}}
{"type": "effect-span", "name": "sqlite", "traceId": "fda53d273e799f1e88f9ba6fe4182c94", "spanId": "85cfd48a421cf68d", "parentSpanId": "417f3ed1b566f0f9", "startTimeUnixNano": "1796073110439928859", "endTimeUnixNano": "1796073110440693079", "durationMs": 0.76422, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010189}}
{"type": "effect-span", "name": "sqlite", "traceId": "fda53d273e799f1e88f9ba6fe4182c94", "spanId": "b1a7ca9d6fc777ab", "parentSpanId": "417f3ed1b566f0f9", "startTimeUnixNano": "1796073110441946581", "endTimeUnixNano": "1796073110443009685", "durationMs": 1.063104, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011341}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fda53d273e799f1e88f9ba6fe4182c94", "spanId": "417f3ed1b566f0f9", "parentSpanId": "3b66233ef7df793e", "startTimeUnixNano": "1796073110438649067", "endTimeUnixNano": "1796073110443154868", "durationMs": 4.505801, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fda53d273e799f1e88f9ba6fe4182c94", "spanId": "d7240957751c3c45", "parentSpanId": "3b66233ef7df793e", "startTimeUnixNano": "1796073110443172762", "endTimeUnixNano": "1796073110444886231", "durationMs": 1.713469, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fda53d273e799f1e88f9ba6fe4182c94", "spanId": "3b66233ef7df793e", "parentSpanId": "085c89c226b89c20", "startTimeUnixNano": "1796073110436099432", "endTimeUnixNano": "1796073110444904185", "durationMs": 8.804753, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.227568, "db.connection": "reader", "db.lock_wait_ms": 2.153}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fda53d273e799f1e88f9ba6fe4182c94", "spanId": "085c89c226b89c20", "parentSpanId": "b927a7c419be8896", "startTimeUnixNano": "1796073110436073904", "endTimeUnixNano": "1796073110444917360", "durationMs": 8.843456, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fda53d273e799f1e88f9ba6fe4182c94", "spanId": "b927a7c419be8896", "parentSpanId": "c2f746e54bf1462b", "startTimeUnixNano": "1796073110436009953", "endTimeUnixNano": "1796073110444922139", "durationMs": 8.912186, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fda53d273e799f1e88f9ba6fe4182c94", "spanId": "c2f746e54bf1462b", "startTimeUnixNano": "1796073110435982611", "endTimeUnixNano": "1796073110444928741", "durationMs": 8.94613, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "26a52dbd23c0beb362b127d4fd672f81", "spanId": "c228a851590616ac", "parentSpanId": "3af1f5cf40a92b0b", "startTimeUnixNano": "1796073110672331830", "endTimeUnixNano": "1796073110672536957", "durationMs": 0.205127, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "26a52dbd23c0beb362b127d4fd672f81", "spanId": "e253f683d5004939", "parentSpanId": "83fb29f5a8b1007d", "startTimeUnixNano": "1796073110672580730", "endTimeUnixNano": "1796073110672800474", "durationMs": 0.219744, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005991}}
{"type": "effect-span", "name": "sqlite", "traceId": "26a52dbd23c0beb362b127d4fd672f81", "spanId": "7b29b2cf645889ca", "parentSpanId": "83fb29f5a8b1007d", "startTimeUnixNano": "1796073110672874243", "endTimeUnixNano": "1796073110673622072", "durationMs": 0.747829, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008135}}
{"type": "effect-span", "name": "sqlite", "traceId": "26a52dbd23c0beb362b127d4fd672f81", "spanId": "aee3ee7d7eea0219", "parentSpanId": "83fb29f5a8b1007d", "startTimeUnixNano": "1796073110673652550", "endTimeUnixNano": "1796073110674211172", "durationMs": 0.558622, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008355}}
{"type": "effect-span", "name": "sqlite", "traceId": "26a52dbd23c0beb362b127d4fd672f81", "spanId": "51a54cd3844c48e3", "parentSpanId": "83fb29f5a8b1007d", "startTimeUnixNano": "1796073110675517113", "endTimeUnixNano": "1796073110677448143", "durationMs": 1.93103, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012915}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "26a52dbd23c0beb362b127d4fd672f81", "spanId": "83fb29f5a8b1007d", "parentSpanId": "3af1f5cf40a92b0b", "startTimeUnixNano": "1796073110672574388", "endTimeUnixNano": "1796073110677561005", "durationMs": 4.986617, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "26a52dbd23c0beb362b127d4fd672f81", "spanId": "b33ea45ae67062b5", "parentSpanId": "3af1f5cf40a92b0b", "startTimeUnixNano": "1796073110677571485", "endTimeUnixNano": "1796073110677850381", "durationMs": 0.278896, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "26a52dbd23c0beb362b127d4fd672f81", "spanId": "3af1f5cf40a92b0b", "parentSpanId": "61531406845399cd", "startTimeUnixNano": "1796073110671034105", "endTimeUnixNano": "1796073110677872102", "durationMs": 6.837997, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.293307, "db.connection": "reader", "db.lock_wait_ms": 1.253}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "26a52dbd23c0beb362b127d4fd672f81", "spanId": "61531406845399cd", "parentSpanId": "ca36f99df28d8a4d", "startTimeUnixNano": "1796073110671022924", "endTimeUnixNano": "1796073110677886659", "durationMs": 6.863735, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "26a52dbd23c0beb362b127d4fd672f81", "spanId": "ca36f99df28d8a4d", "parentSpanId": "b10c2c5cb8debeeb", "startTimeUnixNano": "1796073110670987958", "endTimeUnixNano": "1796073110677892650", "durationMs": 6.904692, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "26a52dbd23c0beb362b127d4fd672f81", "spanId": "b10c2c5cb8debeeb", "startTimeUnixNano": "1796073110670974142", "endTimeUnixNano": "1796073110677902849", "durationMs": 6.928707, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "396d529ecc3db925a6e05c2781393a96", "spanId": "4957c7772c0cd3c9", "parentSpanId": "a6e66d00bb23b803", "startTimeUnixNano": "1796073112077797403", "endTimeUnixNano": "1796073112077979206", "durationMs": 0.181803, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "396d529ecc3db925a6e05c2781393a96", "spanId": "30006d162652a958", "parentSpanId": "095a2d433d97653e", "startTimeUnixNano": "1796073112078022758", "endTimeUnixNano": "1796073112078676530", "durationMs": 0.653772, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006151}}
{"type": "effect-span", "name": "sqlite", "traceId": "396d529ecc3db925a6e05c2781393a96", "spanId": "b49d6e326d023b0c", "parentSpanId": "095a2d433d97653e", "startTimeUnixNano": "1796073112078758945", "endTimeUnixNano": "1796073112079243719", "durationMs": 0.484774, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009257}}
{"type": "effect-span", "name": "sqlite", "traceId": "396d529ecc3db925a6e05c2781393a96", "spanId": "9a8f2623db2ff395", "parentSpanId": "095a2d433d97653e", "startTimeUnixNano": "1796073112079277853", "endTimeUnixNano": "1796073112079819173", "durationMs": 0.54132, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013596}}
{"type": "effect-span", "name": "sqlite", "traceId": "396d529ecc3db925a6e05c2781393a96", "spanId": "89539b481566b796", "parentSpanId": "095a2d433d97653e", "startTimeUnixNano": "1796073112081254358", "endTimeUnixNano": "1796073112082115731", "durationMs": 0.861373, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015199}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "396d529ecc3db925a6e05c2781393a96", "spanId": "095a2d433d97653e", "parentSpanId": "a6e66d00bb23b803", "startTimeUnixNano": "1796073112078016075", "endTimeUnixNano": "1796073112082228834", "durationMs": 4.212759, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "396d529ecc3db925a6e05c2781393a96", "spanId": "a1511741145b7676", "parentSpanId": "a6e66d00bb23b803", "startTimeUnixNano": "1796073112082239925", "endTimeUnixNano": "1796073112084287013", "durationMs": 2.047088, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "396d529ecc3db925a6e05c2781393a96", "spanId": "a6e66d00bb23b803", "parentSpanId": "d2adf94ef9fb9c54", "startTimeUnixNano": "1796073112075085472", "endTimeUnixNano": "1796073112084310988", "durationMs": 9.225516, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.707533, "db.connection": "reader", "db.lock_wait_ms": 2.663}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "396d529ecc3db925a6e05c2781393a96", "spanId": "d2adf94ef9fb9c54", "parentSpanId": "95aeaa7ac11d931d", "startTimeUnixNano": "1796073112075076836", "endTimeUnixNano": "1796073112084327289", "durationMs": 9.250453, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "396d529ecc3db925a6e05c2781393a96", "spanId": "95aeaa7ac11d931d", "parentSpanId": "4fedfaf0d82c5e53", "startTimeUnixNano": "1796073112075035398", "endTimeUnixNano": "1796073112084333852", "durationMs": 9.298454, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "396d529ecc3db925a6e05c2781393a96", "spanId": "4fedfaf0d82c5e53", "startTimeUnixNano": "1796073112075018726", "endTimeUnixNano": "1796073112084346185", "durationMs": 9.327459, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0e62a1a48bef922d7bc6060302673bea", "spanId": "7ca666ab3800e8d3", "parentSpanId": "e289db76d6e5f3e6", "startTimeUnixNano": "1796073112313480988", "endTimeUnixNano": "1796073112313620020", "durationMs": 0.139032, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e62a1a48bef922d7bc6060302673bea", "spanId": "c4f5681b9b40ea8f", "parentSpanId": "5b292f7fd1c54824", "startTimeUnixNano": "1796073112313657240", "endTimeUnixNano": "1796073112313895219", "durationMs": 0.237979, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005841}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e62a1a48bef922d7bc6060302673bea", "spanId": "009a064dc28b0740", "parentSpanId": "5b292f7fd1c54824", "startTimeUnixNano": "1796073112313962796", "endTimeUnixNano": "1796073112314780878", "durationMs": 0.818082, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007454}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e62a1a48bef922d7bc6060302673bea", "spanId": "6784415c9a9bb2a4", "parentSpanId": "5b292f7fd1c54824", "startTimeUnixNano": "1796073112314797068", "endTimeUnixNano": "1796073112315350882", "durationMs": 0.553814, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008296}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e62a1a48bef922d7bc6060302673bea", "spanId": "c808f2f3c53f1d32", "parentSpanId": "5b292f7fd1c54824", "startTimeUnixNano": "1796073112316747023", "endTimeUnixNano": "1796073112318114580", "durationMs": 1.367557, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018044}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0e62a1a48bef922d7bc6060302673bea", "spanId": "5b292f7fd1c54824", "parentSpanId": "e289db76d6e5f3e6", "startTimeUnixNano": "1796073112313651619", "endTimeUnixNano": "1796073112318223606", "durationMs": 4.571987, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0e62a1a48bef922d7bc6060302673bea", "spanId": "6b4adce830ed6e51", "parentSpanId": "e289db76d6e5f3e6", "startTimeUnixNano": "1796073112318235408", "endTimeUnixNano": "1796073112318539311", "durationMs": 0.303903, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0e62a1a48bef922d7bc6060302673bea", "spanId": "e289db76d6e5f3e6", "parentSpanId": "b6d2881adef2036d", "startTimeUnixNano": "1796073112312139680", "endTimeUnixNano": "1796073112318564137", "durationMs": 6.424457, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.337861, "db.connection": "reader", "db.lock_wait_ms": 1.299}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0e62a1a48bef922d7bc6060302673bea", "spanId": "b6d2881adef2036d", "parentSpanId": "d218b3764464bee6", "startTimeUnixNano": "1796073112312129711", "endTimeUnixNano": "1796073112318578224", "durationMs": 6.448513, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0e62a1a48bef922d7bc6060302673bea", "spanId": "d218b3764464bee6", "parentSpanId": "cfe84f398f85a984", "startTimeUnixNano": "1796073112312080138", "endTimeUnixNano": "1796073112318583995", "durationMs": 6.503857, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0e62a1a48bef922d7bc6060302673bea", "spanId": "cfe84f398f85a984", "startTimeUnixNano": "1796073112312063997", "endTimeUnixNano": "1796073112318592100", "durationMs": 6.528103, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "dda18d618ef37e5d7debf62b7965c6da", "spanId": "018182bc2e32ad92", "parentSpanId": "c887d27f1ffa4c30", "startTimeUnixNano": "1796073113688194108", "endTimeUnixNano": "1796073113690489634", "durationMs": 2.295526, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "dda18d618ef37e5d7debf62b7965c6da", "spanId": "b7a2afa1eb6fe0ff", "parentSpanId": "a61755d64dc4b06e", "startTimeUnixNano": "1796073113690652902", "endTimeUnixNano": "1796073113692606764", "durationMs": 1.953862, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.015659}}
{"type": "effect-span", "name": "sqlite", "traceId": "dda18d618ef37e5d7debf62b7965c6da", "spanId": "cc960fb9ea36a989", "parentSpanId": "a61755d64dc4b06e", "startTimeUnixNano": "1796073113692799878", "endTimeUnixNano": "1796073113693813558", "durationMs": 1.01368, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.023193}}
{"type": "effect-span", "name": "sqlite", "traceId": "dda18d618ef37e5d7debf62b7965c6da", "spanId": "df874bfa4dbc56b6", "parentSpanId": "a61755d64dc4b06e", "startTimeUnixNano": "1796073113693850758", "endTimeUnixNano": "1796073113695102367", "durationMs": 1.251609, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.021811}}
{"type": "effect-span", "name": "sqlite", "traceId": "dda18d618ef37e5d7debf62b7965c6da", "spanId": "20ea031b5d0bfc27", "parentSpanId": "a61755d64dc4b06e", "startTimeUnixNano": "1796073113698555595", "endTimeUnixNano": "1796073113700128549", "durationMs": 1.572954, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.067788}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "dda18d618ef37e5d7debf62b7965c6da", "spanId": "a61755d64dc4b06e", "parentSpanId": "c887d27f1ffa4c30", "startTimeUnixNano": "1796073113690631471", "endTimeUnixNano": "1796073113700342492", "durationMs": 9.711021, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "dda18d618ef37e5d7debf62b7965c6da", "spanId": "2e1ac0e3e93ba0d8", "parentSpanId": "c887d27f1ffa4c30", "startTimeUnixNano": "1796073113700378009", "endTimeUnixNano": "1796073113705991498", "durationMs": 5.613489, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "dda18d618ef37e5d7debf62b7965c6da", "spanId": "c887d27f1ffa4c30", "parentSpanId": "47b2aeae8efa8732", "startTimeUnixNano": "1796073113684937009", "endTimeUnixNano": "1796073113706053445", "durationMs": 21.116436, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.2418, "db.connection": "reader", "db.lock_wait_ms": 3.152}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "dda18d618ef37e5d7debf62b7965c6da", "spanId": "47b2aeae8efa8732", "parentSpanId": "c267aa518c898687", "startTimeUnixNano": "1796073113684916531", "endTimeUnixNano": "1796073113706092729", "durationMs": 21.176198, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "dda18d618ef37e5d7debf62b7965c6da", "spanId": "c267aa518c898687", "parentSpanId": "168ca58124f55cb0", "startTimeUnixNano": "1796073113684836710", "endTimeUnixNano": "1796073113706104702", "durationMs": 21.267992, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "dda18d618ef37e5d7debf62b7965c6da", "spanId": "168ca58124f55cb0", "startTimeUnixNano": "1796073113684806844", "endTimeUnixNano": "1796073113706131863", "durationMs": 21.325019, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "176b1cd2220e64dab0cd8d2b8ba247d9", "spanId": "9def9acbc132a394", "parentSpanId": "b0cd80ea57f06d6b", "startTimeUnixNano": "1796073113984308490", "endTimeUnixNano": "1796073113984630957", "durationMs": 0.322467, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "176b1cd2220e64dab0cd8d2b8ba247d9", "spanId": "e4b7b18dac7fb61a", "parentSpanId": "8b14d1002593f0e9", "startTimeUnixNano": "1796073113984700438", "endTimeUnixNano": "1796073113985124167", "durationMs": 0.423729, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009097}}
{"type": "effect-span", "name": "sqlite", "traceId": "176b1cd2220e64dab0cd8d2b8ba247d9", "spanId": "66a8fb9becdfea45", "parentSpanId": "8b14d1002593f0e9", "startTimeUnixNano": "1796073113985235066", "endTimeUnixNano": "1796073113986000118", "durationMs": 0.765052, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012754}}
{"type": "effect-span", "name": "sqlite", "traceId": "176b1cd2220e64dab0cd8d2b8ba247d9", "spanId": "126738b22742b9b9", "parentSpanId": "8b14d1002593f0e9", "startTimeUnixNano": "1796073113986029994", "endTimeUnixNano": "1796073113986736535", "durationMs": 0.706541, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011181}}
{"type": "effect-span", "name": "sqlite", "traceId": "176b1cd2220e64dab0cd8d2b8ba247d9", "spanId": "0d09cf2987088311", "parentSpanId": "8b14d1002593f0e9", "startTimeUnixNano": "1796073113989891311", "endTimeUnixNano": "1796073113991066606", "durationMs": 1.175295, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017132}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "176b1cd2220e64dab0cd8d2b8ba247d9", "spanId": "8b14d1002593f0e9", "parentSpanId": "b0cd80ea57f06d6b", "startTimeUnixNano": "1796073113984690389", "endTimeUnixNano": "1796073113991242477", "durationMs": 6.552088, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "176b1cd2220e64dab0cd8d2b8ba247d9", "spanId": "0e11e7dcdf96aaff", "parentSpanId": "b0cd80ea57f06d6b", "startTimeUnixNano": "1796073113991262004", "endTimeUnixNano": "1796073113992468899", "durationMs": 1.206895, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "176b1cd2220e64dab0cd8d2b8ba247d9", "spanId": "b0cd80ea57f06d6b", "parentSpanId": "c3656f8f7ee1cd42", "startTimeUnixNano": "1796073113982210666", "endTimeUnixNano": "1796073113992505037", "durationMs": 10.294371, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.091722, "db.connection": "reader", "db.lock_wait_ms": 2.044}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "176b1cd2220e64dab0cd8d2b8ba247d9", "spanId": "c3656f8f7ee1cd42", "parentSpanId": "840e749da40f6ab9", "startTimeUnixNano": "1796073113982199766", "endTimeUnixNano": "1796073113992527900", "durationMs": 10.328134, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "176b1cd2220e64dab0cd8d2b8ba247d9", "spanId": "840e749da40f6ab9", "parentSpanId": "b655f00d6291db6d", "startTimeUnixNano": "1796073113982151585", "endTimeUnixNano": "1796073113992540564", "durationMs": 10.388979, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "176b1cd2220e64dab0cd8d2b8ba247d9", "spanId": "b655f00d6291db6d", "startTimeUnixNano": "1796073113982132078", "endTimeUnixNano": "1796073113992558057", "durationMs": 10.425979, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "209aa578fde7c7bc3f32c7333e70ea6b", "spanId": "f0b1bbda088848b0", "parentSpanId": "00cb479d5bd752f3", "startTimeUnixNano": "1796073115404328606", "endTimeUnixNano": "1796073115405399955", "durationMs": 1.071349, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "209aa578fde7c7bc3f32c7333e70ea6b", "spanId": "371319cbe6cd795c", "parentSpanId": "c1319b1322a8fe23", "startTimeUnixNano": "1796073115405454919", "endTimeUnixNano": "1796073115406491262", "durationMs": 1.036343, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00518}}
{"type": "effect-span", "name": "sqlite", "traceId": "209aa578fde7c7bc3f32c7333e70ea6b", "spanId": "7e2b9c7d240bf0f7", "parentSpanId": "c1319b1322a8fe23", "startTimeUnixNano": "1796073115406567866", "endTimeUnixNano": "1796073115407504091", "durationMs": 0.936225, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009198}}
{"type": "effect-span", "name": "sqlite", "traceId": "209aa578fde7c7bc3f32c7333e70ea6b", "spanId": "725dda30bcab0ec3", "parentSpanId": "c1319b1322a8fe23", "startTimeUnixNano": "1796073115407517576", "endTimeUnixNano": "1796073115408223787", "durationMs": 0.706211, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009137}}
{"type": "effect-span", "name": "sqlite", "traceId": "209aa578fde7c7bc3f32c7333e70ea6b", "spanId": "9eda3c29f6ab6721", "parentSpanId": "c1319b1322a8fe23", "startTimeUnixNano": "1796073115409593488", "endTimeUnixNano": "1796073115410889210", "durationMs": 1.295722, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012344}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "209aa578fde7c7bc3f32c7333e70ea6b", "spanId": "c1319b1322a8fe23", "parentSpanId": "00cb479d5bd752f3", "startTimeUnixNano": "1796073115405447946", "endTimeUnixNano": "1796073115410983648", "durationMs": 5.535702, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "209aa578fde7c7bc3f32c7333e70ea6b", "spanId": "1580e9d310ac6075", "parentSpanId": "00cb479d5bd752f3", "startTimeUnixNano": "1796073115410992385", "endTimeUnixNano": "1796073115411261171", "durationMs": 0.268786, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "209aa578fde7c7bc3f32c7333e70ea6b", "spanId": "00cb479d5bd752f3", "parentSpanId": "16fb17a2298c2b14", "startTimeUnixNano": "1796073115402255199", "endTimeUnixNano": "1796073115411285327", "durationMs": 9.030128, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.065192, "db.connection": "reader", "db.lock_wait_ms": 2.019}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "209aa578fde7c7bc3f32c7333e70ea6b", "spanId": "16fb17a2298c2b14", "parentSpanId": "9c2ef9aacd55489e", "startTimeUnixNano": "1796073115402242795", "endTimeUnixNano": "1796073115411297890", "durationMs": 9.055095, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "209aa578fde7c7bc3f32c7333e70ea6b", "spanId": "9c2ef9aacd55489e", "parentSpanId": "2c59714f00c4f1e5", "startTimeUnixNano": "1796073115402184736", "endTimeUnixNano": "1796073115411303201", "durationMs": 9.118465, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "209aa578fde7c7bc3f32c7333e70ea6b", "spanId": "2c59714f00c4f1e5", "startTimeUnixNano": "1796073115402156833", "endTimeUnixNano": "1796073115411310765", "durationMs": 9.153932, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f99e8a6077a526daaa2af7d845599662", "spanId": "c0c139bbdfe98d40", "parentSpanId": "87f2c2f67e049076", "startTimeUnixNano": "1796073115650984290", "endTimeUnixNano": "1796073115651559684", "durationMs": 0.575394, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f99e8a6077a526daaa2af7d845599662", "spanId": "d57539bf2a079027", "parentSpanId": "09d05e7cbef23e9d", "startTimeUnixNano": "1796073115651620489", "endTimeUnixNano": "1796073115652233674", "durationMs": 0.613185, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008015}}
{"type": "effect-span", "name": "sqlite", "traceId": "f99e8a6077a526daaa2af7d845599662", "spanId": "e761fc96b05cec27", "parentSpanId": "09d05e7cbef23e9d", "startTimeUnixNano": "1796073115652351546", "endTimeUnixNano": "1796073115653421653", "durationMs": 1.070107, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017814}}
{"type": "effect-span", "name": "sqlite", "traceId": "f99e8a6077a526daaa2af7d845599662", "spanId": "e5fce3736772c5d7", "parentSpanId": "09d05e7cbef23e9d", "startTimeUnixNano": "1796073115653470355", "endTimeUnixNano": "1796073115653933828", "durationMs": 0.463473, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017122}}
{"type": "effect-span", "name": "sqlite", "traceId": "f99e8a6077a526daaa2af7d845599662", "spanId": "f6dacf98d12c1686", "parentSpanId": "09d05e7cbef23e9d", "startTimeUnixNano": "1796073115656302032", "endTimeUnixNano": "1796073115657772603", "durationMs": 1.470571, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019416}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f99e8a6077a526daaa2af7d845599662", "spanId": "09d05e7cbef23e9d", "parentSpanId": "87f2c2f67e049076", "startTimeUnixNano": "1796073115651609879", "endTimeUnixNano": "1796073115657913408", "durationMs": 6.303529, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f99e8a6077a526daaa2af7d845599662", "spanId": "5c98a8a559e2a241", "parentSpanId": "87f2c2f67e049076", "startTimeUnixNano": "1796073115657938886", "endTimeUnixNano": "1796073115658838391", "durationMs": 0.899505, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f99e8a6077a526daaa2af7d845599662", "spanId": "87f2c2f67e049076", "parentSpanId": "bd3bc22d3e9c9780", "startTimeUnixNano": "1796073115649398221", "endTimeUnixNano": "1796073115658869650", "durationMs": 9.471429, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.581079, "db.connection": "reader", "db.lock_wait_ms": 1.518}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f99e8a6077a526daaa2af7d845599662", "spanId": "bd3bc22d3e9c9780", "parentSpanId": "e39e0490e5508c91", "startTimeUnixNano": "1796073115649384705", "endTimeUnixNano": "1796073115658893225", "durationMs": 9.50852, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f99e8a6077a526daaa2af7d845599662", "spanId": "e39e0490e5508c91", "parentSpanId": "2dc92215178afc9a", "startTimeUnixNano": "1796073115649326415", "endTimeUnixNano": "1796073115658902983", "durationMs": 9.576568, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f99e8a6077a526daaa2af7d845599662", "spanId": "2dc92215178afc9a", "startTimeUnixNano": "1796073115649303833", "endTimeUnixNano": "1796073115658914685", "durationMs": 9.610852, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d4035e3b8646ebe1ab0d49ed5a3eac89", "spanId": "57dd837044d4ded0", "parentSpanId": "837f739c6a24c361", "startTimeUnixNano": "1796073117069150465", "endTimeUnixNano": "1796073117069380408", "durationMs": 0.229943, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4035e3b8646ebe1ab0d49ed5a3eac89", "spanId": "905373bc6f203f98", "parentSpanId": "0db73c42846f5289", "startTimeUnixNano": "1796073117069458004", "endTimeUnixNano": "1796073117070819530", "durationMs": 1.361526, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007965}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4035e3b8646ebe1ab0d49ed5a3eac89", "spanId": "48738e8b4a38bd7a", "parentSpanId": "0db73c42846f5289", "startTimeUnixNano": "1796073117071065263", "endTimeUnixNano": "1796073117071547051", "durationMs": 0.481788, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.028825}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4035e3b8646ebe1ab0d49ed5a3eac89", "spanId": "a659f5fe919b907d", "parentSpanId": "0db73c42846f5289", "startTimeUnixNano": "1796073117071573080", "endTimeUnixNano": "1796073117072567294", "durationMs": 0.994214, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009508}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4035e3b8646ebe1ab0d49ed5a3eac89", "spanId": "fa2fb4ab24037376", "parentSpanId": "0db73c42846f5289", "startTimeUnixNano": "1796073117076306781", "endTimeUnixNano": "1796073117078280521", "durationMs": 1.97374, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.093927}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d4035e3b8646ebe1ab0d49ed5a3eac89", "spanId": "0db73c42846f5289", "parentSpanId": "837f739c6a24c361", "startTimeUnixNano": "1796073117069447104", "endTimeUnixNano": "1796073117078546843", "durationMs": 9.099739, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d4035e3b8646ebe1ab0d49ed5a3eac89", "spanId": "56f76b1cfc2bd0c0", "parentSpanId": "837f739c6a24c361", "startTimeUnixNano": "1796073117078585896", "endTimeUnixNano": "1796073117079857473", "durationMs": 1.271577, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d4035e3b8646ebe1ab0d49ed5a3eac89", "spanId": "837f739c6a24c361", "parentSpanId": "3487f5e269ccc6ed", "startTimeUnixNano": "1796073117066351810", "endTimeUnixNano": "1796073117079907227", "durationMs": 13.555417, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.792483, "db.connection": "reader", "db.lock_wait_ms": 2.744}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d4035e3b8646ebe1ab0d49ed5a3eac89", "spanId": "3487f5e269ccc6ed", "parentSpanId": "532a00a8f1fd2632", "startTimeUnixNano": "1796073117066339006", "endTimeUnixNano": "1796073117079940339", "durationMs": 13.601333, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d4035e3b8646ebe1ab0d49ed5a3eac89", "spanId": "532a00a8f1fd2632", "parentSpanId": "c2fdbf8c3d0b7081", "startTimeUnixNano": "1796073117066278923", "endTimeUnixNano": "1796073117079950077", "durationMs": 13.671154, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d4035e3b8646ebe1ab0d49ed5a3eac89", "spanId": "c2fdbf8c3d0b7081", "startTimeUnixNano": "1796073117066254667", "endTimeUnixNano": "1796073117079973692", "durationMs": 13.719025, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "73c83d72871da793467c339c4532dcfb", "spanId": "7cd76c1b4f8cf5f2", "parentSpanId": "df9354ed96778e92", "startTimeUnixNano": "1796073117343282730", "endTimeUnixNano": "1796073117343637068", "durationMs": 0.354338, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "73c83d72871da793467c339c4532dcfb", "spanId": "8af332d20198c57f", "parentSpanId": "b02e4363c9c07486", "startTimeUnixNano": "1796073117343711619", "endTimeUnixNano": "1796073117344308634", "durationMs": 0.597015, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008376}}
{"type": "effect-span", "name": "sqlite", "traceId": "73c83d72871da793467c339c4532dcfb", "spanId": "2800c93505252a72", "parentSpanId": "b02e4363c9c07486", "startTimeUnixNano": "1796073117344411768", "endTimeUnixNano": "1796073117345459503", "durationMs": 1.047735, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011642}}
{"type": "effect-span", "name": "sqlite", "traceId": "73c83d72871da793467c339c4532dcfb", "spanId": "78b68c9fb39020a4", "parentSpanId": "b02e4363c9c07486", "startTimeUnixNano": "1796073117345490541", "endTimeUnixNano": "1796073117346197143", "durationMs": 0.706602, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013516}}
{"type": "effect-span", "name": "sqlite", "traceId": "73c83d72871da793467c339c4532dcfb", "spanId": "07af877041436740", "parentSpanId": "b02e4363c9c07486", "startTimeUnixNano": "1796073117348257967", "endTimeUnixNano": "1796073117349299710", "durationMs": 1.041743, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.059402}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "73c83d72871da793467c339c4532dcfb", "spanId": "b02e4363c9c07486", "parentSpanId": "df9354ed96778e92", "startTimeUnixNano": "1796073117343701029", "endTimeUnixNano": "1796073117349505578", "durationMs": 5.804549, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "73c83d72871da793467c339c4532dcfb", "spanId": "522994675934a0b3", "parentSpanId": "df9354ed96778e92", "startTimeUnixNano": "1796073117349530014", "endTimeUnixNano": "1796073117351332441", "durationMs": 1.802427, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "73c83d72871da793467c339c4532dcfb", "spanId": "df9354ed96778e92", "parentSpanId": "a9f1a22800105b31", "startTimeUnixNano": "1796073117340376734", "endTimeUnixNano": "1796073117351374140", "durationMs": 10.997406, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.894906, "db.connection": "reader", "db.lock_wait_ms": 2.714}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "73c83d72871da793467c339c4532dcfb", "spanId": "a9f1a22800105b31", "parentSpanId": "772f60108821a68c", "startTimeUnixNano": "1796073117340349553", "endTimeUnixNano": "1796073117351409887", "durationMs": 11.060334, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "73c83d72871da793467c339c4532dcfb", "spanId": "772f60108821a68c", "parentSpanId": "983e232843314978", "startTimeUnixNano": "1796073117340246038", "endTimeUnixNano": "1796073117351420838", "durationMs": 11.1748, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "73c83d72871da793467c339c4532dcfb", "spanId": "983e232843314978", "startTimeUnixNano": "1796073117340212004", "endTimeUnixNano": "1796073117351453359", "durationMs": 11.241355, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a482b8bd343fde76166409017f369cb6", "spanId": "f845648ce38b2d43", "parentSpanId": "7a5f3625a327dca0", "startTimeUnixNano": "1796073118910000466", "endTimeUnixNano": "1796073118910230099", "durationMs": 0.229633, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a482b8bd343fde76166409017f369cb6", "spanId": "148ccb501b149427", "parentSpanId": "a75aceb715bf34fa", "startTimeUnixNano": "1796073118919834339", "endTimeUnixNano": "1796073118922534388", "durationMs": 2.700049, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.018735}}
{"type": "effect-span", "name": "sqlite", "traceId": "a482b8bd343fde76166409017f369cb6", "spanId": "96f00cecea5ab818", "parentSpanId": "a75aceb715bf34fa", "startTimeUnixNano": "1796073118922812141", "endTimeUnixNano": "1796073118923420578", "durationMs": 0.608437, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.030548}}
{"type": "effect-span", "name": "sqlite", "traceId": "a482b8bd343fde76166409017f369cb6", "spanId": "b544039e5b1852fc", "parentSpanId": "a75aceb715bf34fa", "startTimeUnixNano": "1796073118923467516", "endTimeUnixNano": "1796073118924275118", "durationMs": 0.807602, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014868}}
{"type": "effect-span", "name": "sqlite", "traceId": "a482b8bd343fde76166409017f369cb6", "spanId": "2a4c40aac70272b2", "parentSpanId": "a75aceb715bf34fa", "startTimeUnixNano": "1796073118925755538", "endTimeUnixNano": "1796073118926900025", "durationMs": 1.144487, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022763}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a482b8bd343fde76166409017f369cb6", "spanId": "a75aceb715bf34fa", "parentSpanId": "7a5f3625a327dca0", "startTimeUnixNano": "1796073118919790847", "endTimeUnixNano": "1796073118927036703", "durationMs": 7.245856, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a482b8bd343fde76166409017f369cb6", "spanId": "ab76cfe3e7b202a2", "parentSpanId": "7a5f3625a327dca0", "startTimeUnixNano": "1796073118927052873", "endTimeUnixNano": "1796073118927423381", "durationMs": 0.370508, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a482b8bd343fde76166409017f369cb6", "spanId": "7a5f3625a327dca0", "parentSpanId": "db636ba38775ad40", "startTimeUnixNano": "1796073118907140687", "endTimeUnixNano": "1796073118927470831", "durationMs": 20.330144, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.852295, "db.connection": "reader", "db.lock_wait_ms": 2.786}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a482b8bd343fde76166409017f369cb6", "spanId": "db636ba38775ad40", "parentSpanId": "fbe67cc69bbc1bb2", "startTimeUnixNano": "1796073118907131399", "endTimeUnixNano": "1796073118927491039", "durationMs": 20.35964, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a482b8bd343fde76166409017f369cb6", "spanId": "fbe67cc69bbc1bb2", "parentSpanId": "289df7ebabdd6872", "startTimeUnixNano": "1796073118907080163", "endTimeUnixNano": "1796073118927497140", "durationMs": 20.416977, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a482b8bd343fde76166409017f369cb6", "spanId": "289df7ebabdd6872", "startTimeUnixNano": "1796073118907060696", "endTimeUnixNano": "1796073118927510205", "durationMs": 20.449509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "50482ab1499d2b74795cf8ffde36a261", "spanId": "79b63bf2e4ffb7d0", "parentSpanId": "31b887ed55bf95f9", "startTimeUnixNano": "1796073119205304072", "endTimeUnixNano": "1796073119207110697", "durationMs": 1.806625, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "50482ab1499d2b74795cf8ffde36a261", "spanId": "84ac3d7cb016c6c5", "parentSpanId": "b2b44197798ea8d6", "startTimeUnixNano": "1796073119207373432", "endTimeUnixNano": "1796073119208356474", "durationMs": 0.983042, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.024095}}
{"type": "effect-span", "name": "sqlite", "traceId": "50482ab1499d2b74795cf8ffde36a261", "spanId": "d5d693bc063a039b", "parentSpanId": "b2b44197798ea8d6", "startTimeUnixNano": "1796073119208543407", "endTimeUnixNano": "1796073119209425900", "durationMs": 0.882493, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018805}}
{"type": "effect-span", "name": "sqlite", "traceId": "50482ab1499d2b74795cf8ffde36a261", "spanId": "d7e305ccc0fd5340", "parentSpanId": "b2b44197798ea8d6", "startTimeUnixNano": "1796073119209478609", "endTimeUnixNano": "1796073119210496487", "durationMs": 1.017878, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017583}}
{"type": "effect-span", "name": "sqlite", "traceId": "50482ab1499d2b74795cf8ffde36a261", "spanId": "ea6985ffb0fc8dfc", "parentSpanId": "b2b44197798ea8d6", "startTimeUnixNano": "1796073119214575475", "endTimeUnixNano": "1796073119215532929", "durationMs": 0.957454, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.056256}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "50482ab1499d2b74795cf8ffde36a261", "spanId": "b2b44197798ea8d6", "parentSpanId": "31b887ed55bf95f9", "startTimeUnixNano": "1796073119207345038", "endTimeUnixNano": "1796073119215728488", "durationMs": 8.38345, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "50482ab1499d2b74795cf8ffde36a261", "spanId": "dd461354511ae146", "parentSpanId": "31b887ed55bf95f9", "startTimeUnixNano": "1796073119215754967", "endTimeUnixNano": "1796073119216621290", "durationMs": 0.866323, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "50482ab1499d2b74795cf8ffde36a261", "spanId": "31b887ed55bf95f9", "parentSpanId": "c024fe46db0bbdbf", "startTimeUnixNano": "1796073119202254024", "endTimeUnixNano": "1796073119216662969", "durationMs": 14.408945, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.042694, "db.connection": "reader", "db.lock_wait_ms": 2.928}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "50482ab1499d2b74795cf8ffde36a261", "spanId": "c024fe46db0bbdbf", "parentSpanId": "e3c500851e508dcd", "startTimeUnixNano": "1796073119202231170", "endTimeUnixNano": "1796073119216703174", "durationMs": 14.472004, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "50482ab1499d2b74795cf8ffde36a261", "spanId": "e3c500851e508dcd", "parentSpanId": "d3cccea7cc526395", "startTimeUnixNano": "1796073119202146080", "endTimeUnixNano": "1796073119216712382", "durationMs": 14.566302, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "50482ab1499d2b74795cf8ffde36a261", "spanId": "d3cccea7cc526395", "startTimeUnixNano": "1796073119202110683", "endTimeUnixNano": "1796073119216730436", "durationMs": 14.619753, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "01a3b1cb998d91c15bd850770e9b3e57", "spanId": "75f1561aec14ac6f", "parentSpanId": "026bed0749d6cff0", "startTimeUnixNano": "1796073120878018190", "endTimeUnixNano": "1796073120878873351", "durationMs": 0.855161, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "01a3b1cb998d91c15bd850770e9b3e57", "spanId": "ed583178b5e62605", "parentSpanId": "21a0bb303ae42e02", "startTimeUnixNano": "1796073120878915250", "endTimeUnixNano": "1796073120879567449", "durationMs": 0.652199, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006713}}
{"type": "effect-span", "name": "sqlite", "traceId": "01a3b1cb998d91c15bd850770e9b3e57", "spanId": "0d0af38587348ca0", "parentSpanId": "21a0bb303ae42e02", "startTimeUnixNano": "1796073120879642140", "endTimeUnixNano": "1796073120880158052", "durationMs": 0.515912, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009017}}
{"type": "effect-span", "name": "sqlite", "traceId": "01a3b1cb998d91c15bd850770e9b3e57", "spanId": "793a55415673b018", "parentSpanId": "21a0bb303ae42e02", "startTimeUnixNano": "1796073120880177890", "endTimeUnixNano": "1796073120880784613", "durationMs": 0.606723, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007754}}
{"type": "effect-span", "name": "sqlite", "traceId": "01a3b1cb998d91c15bd850770e9b3e57", "spanId": "804d32d72f1e7d6c", "parentSpanId": "21a0bb303ae42e02", "startTimeUnixNano": "1796073120882326439", "endTimeUnixNano": "1796073120883236324", "durationMs": 0.909885, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015159}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "01a3b1cb998d91c15bd850770e9b3e57", "spanId": "21a0bb303ae42e02", "parentSpanId": "026bed0749d6cff0", "startTimeUnixNano": "1796073120878908738", "endTimeUnixNano": "1796073120883354136", "durationMs": 4.445398, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "01a3b1cb998d91c15bd850770e9b3e57", "spanId": "2fe705c71d40f5f4", "parentSpanId": "026bed0749d6cff0", "startTimeUnixNano": "1796073120883375055", "endTimeUnixNano": "1796073120884537446", "durationMs": 1.162391, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "01a3b1cb998d91c15bd850770e9b3e57", "spanId": "026bed0749d6cff0", "parentSpanId": "38d26b66beff0e3f", "startTimeUnixNano": "1796073120875977494", "endTimeUnixNano": "1796073120884561631", "durationMs": 8.584137, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.033823, "db.connection": "reader", "db.lock_wait_ms": 1.983}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "01a3b1cb998d91c15bd850770e9b3e57", "spanId": "38d26b66beff0e3f", "parentSpanId": "9424cc40a2109bb5", "startTimeUnixNano": "1796073120875960742", "endTimeUnixNano": "1796073120884575948", "durationMs": 8.615206, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "01a3b1cb998d91c15bd850770e9b3e57", "spanId": "9424cc40a2109bb5", "parentSpanId": "917a89e3891d883d", "startTimeUnixNano": "1796073120875900689", "endTimeUnixNano": "1796073120884581068", "durationMs": 8.680379, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "01a3b1cb998d91c15bd850770e9b3e57", "spanId": "917a89e3891d883d", "startTimeUnixNano": "1796073120875872977", "endTimeUnixNano": "1796073120884588482", "durationMs": 8.715505, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bb6d8e1b8d017bd480a0d26e89528ad2", "spanId": "83f79782e8afd400", "parentSpanId": "3a309404a53f2e94", "startTimeUnixNano": "1796073121132626682", "endTimeUnixNano": "1796073121132842359", "durationMs": 0.215677, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb6d8e1b8d017bd480a0d26e89528ad2", "spanId": "162f793a1532adf2", "parentSpanId": "307f72f6dc0f6743", "startTimeUnixNano": "1796073121132905578", "endTimeUnixNano": "1796073121133249295", "durationMs": 0.343717, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006833}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb6d8e1b8d017bd480a0d26e89528ad2", "spanId": "3ef53adcd177157b", "parentSpanId": "307f72f6dc0f6743", "startTimeUnixNano": "1796073121133376235", "endTimeUnixNano": "1796073121134026119", "durationMs": 0.649884, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014447}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb6d8e1b8d017bd480a0d26e89528ad2", "spanId": "dfe50acd308593de", "parentSpanId": "307f72f6dc0f6743", "startTimeUnixNano": "1796073121134051167", "endTimeUnixNano": "1796073121134648061", "durationMs": 0.596894, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011481}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb6d8e1b8d017bd480a0d26e89528ad2", "spanId": "67c677dbbc8cb20a", "parentSpanId": "307f72f6dc0f6743", "startTimeUnixNano": "1796073121136132619", "endTimeUnixNano": "1796073121137399156", "durationMs": 1.266537, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018736}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bb6d8e1b8d017bd480a0d26e89528ad2", "spanId": "307f72f6dc0f6743", "parentSpanId": "3a309404a53f2e94", "startTimeUnixNano": "1796073121132896450", "endTimeUnixNano": "1796073121137576400", "durationMs": 4.67995, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bb6d8e1b8d017bd480a0d26e89528ad2", "spanId": "16bb9b7d8a4f4028", "parentSpanId": "3a309404a53f2e94", "startTimeUnixNano": "1796073121137591569", "endTimeUnixNano": "1796073121138405503", "durationMs": 0.813934, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bb6d8e1b8d017bd480a0d26e89528ad2", "spanId": "3a309404a53f2e94", "parentSpanId": "ba27241ae6742585", "startTimeUnixNano": "1796073121130497499", "endTimeUnixNano": "1796073121138424859", "durationMs": 7.92736, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.122631, "db.connection": "reader", "db.lock_wait_ms": 2.032}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bb6d8e1b8d017bd480a0d26e89528ad2", "spanId": "ba27241ae6742585", "parentSpanId": "0a3113f8f9fd26ed", "startTimeUnixNano": "1796073121130478193", "endTimeUnixNano": "1796073121138459054", "durationMs": 7.980861, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bb6d8e1b8d017bd480a0d26e89528ad2", "spanId": "0a3113f8f9fd26ed", "parentSpanId": "f26d5d764484012f", "startTimeUnixNano": "1796073121130391319", "endTimeUnixNano": "1796073121138466067", "durationMs": 8.074748, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bb6d8e1b8d017bd480a0d26e89528ad2", "spanId": "f26d5d764484012f", "startTimeUnixNano": "1796073121130370821", "endTimeUnixNano": "1796073121138476086", "durationMs": 8.105265, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ab42d5ab610dc054f6ebfc71db9b8975", "spanId": "b9b8113fe6f8eaff", "parentSpanId": "e087d8f2a15a19cf", "startTimeUnixNano": "1796073122724559162", "endTimeUnixNano": "1796073122737569331", "durationMs": 13.010169, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab42d5ab610dc054f6ebfc71db9b8975", "spanId": "61597b4b93a72ada", "parentSpanId": "18c057c8600659d8", "startTimeUnixNano": "1796073122737673377", "endTimeUnixNano": "1796073122740104789", "durationMs": 2.431412, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008907}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab42d5ab610dc054f6ebfc71db9b8975", "spanId": "d651c735817e9ed6", "parentSpanId": "18c057c8600659d8", "startTimeUnixNano": "1796073122740221539", "endTimeUnixNano": "1796073122741046304", "durationMs": 0.824765, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012023}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab42d5ab610dc054f6ebfc71db9b8975", "spanId": "0977bac9049ca01d", "parentSpanId": "18c057c8600659d8", "startTimeUnixNano": "1796073122741063366", "endTimeUnixNano": "1796073122741723710", "durationMs": 0.660344, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014697}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab42d5ab610dc054f6ebfc71db9b8975", "spanId": "519e97933fadbddf", "parentSpanId": "18c057c8600659d8", "startTimeUnixNano": "1796073122744041128", "endTimeUnixNano": "1796073122745046152", "durationMs": 1.005024, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016851}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ab42d5ab610dc054f6ebfc71db9b8975", "spanId": "18c057c8600659d8", "parentSpanId": "e087d8f2a15a19cf", "startTimeUnixNano": "1796073122737655764", "endTimeUnixNano": "1796073122745223155", "durationMs": 7.567391, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ab42d5ab610dc054f6ebfc71db9b8975", "spanId": "020e76c7f8b740c3", "parentSpanId": "e087d8f2a15a19cf", "startTimeUnixNano": "1796073122745245778", "endTimeUnixNano": "1796073122746030407", "durationMs": 0.784629, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ab42d5ab610dc054f6ebfc71db9b8975", "spanId": "e087d8f2a15a19cf", "parentSpanId": "bdfd7ac117711461", "startTimeUnixNano": "1796073122722296237", "endTimeUnixNano": "1796073122746064351", "durationMs": 23.768114, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.258817, "db.connection": "reader", "db.lock_wait_ms": 2.191}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ab42d5ab610dc054f6ebfc71db9b8975", "spanId": "bdfd7ac117711461", "parentSpanId": "308be5d8c847ad55", "startTimeUnixNano": "1796073122722280287", "endTimeUnixNano": "1796073122746087835", "durationMs": 23.807548, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ab42d5ab610dc054f6ebfc71db9b8975", "spanId": "308be5d8c847ad55", "parentSpanId": "877cfd59581b93fb", "startTimeUnixNano": "1796073122722210215", "endTimeUnixNano": "1796073122746096611", "durationMs": 23.886396, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ab42d5ab610dc054f6ebfc71db9b8975", "spanId": "877cfd59581b93fb", "startTimeUnixNano": "1796073122722184617", "endTimeUnixNano": "1796073122746113994", "durationMs": 23.929377, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "000917e5a4451c80598b3a846e0e7370", "spanId": "b770e8947a264b3d", "parentSpanId": "ea67a23ac7f2b545", "startTimeUnixNano": "1796073123021255533", "endTimeUnixNano": "1796073123021896932", "durationMs": 0.641399, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "000917e5a4451c80598b3a846e0e7370", "spanId": "d6649d125dc270d3", "parentSpanId": "f62031c531f86252", "startTimeUnixNano": "1796073123021964530", "endTimeUnixNano": "1796073123022691289", "durationMs": 0.726759, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008976}}
{"type": "effect-span", "name": "sqlite", "traceId": "000917e5a4451c80598b3a846e0e7370", "spanId": "955880660e51be31", "parentSpanId": "f62031c531f86252", "startTimeUnixNano": "1796073123022810283", "endTimeUnixNano": "1796073123023985198", "durationMs": 1.174915, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018014}}
{"type": "effect-span", "name": "sqlite", "traceId": "000917e5a4451c80598b3a846e0e7370", "spanId": "280343a06aa1835f", "parentSpanId": "f62031c531f86252", "startTimeUnixNano": "1796073123024017459", "endTimeUnixNano": "1796073123024725503", "durationMs": 0.708044, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013265}}
{"type": "effect-span", "name": "sqlite", "traceId": "000917e5a4451c80598b3a846e0e7370", "spanId": "e76d5f2f593eb51e", "parentSpanId": "f62031c531f86252", "startTimeUnixNano": "1796073123027529658", "endTimeUnixNano": "1796073123028473296", "durationMs": 0.943638, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019657}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "000917e5a4451c80598b3a846e0e7370", "spanId": "f62031c531f86252", "parentSpanId": "ea67a23ac7f2b545", "startTimeUnixNano": "1796073123021953669", "endTimeUnixNano": "1796073123028617899", "durationMs": 6.66423, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "000917e5a4451c80598b3a846e0e7370", "spanId": "923097ad7ecd7e92", "parentSpanId": "ea67a23ac7f2b545", "startTimeUnixNano": "1796073123028637095", "endTimeUnixNano": "1796073123029573079", "durationMs": 0.935984, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "000917e5a4451c80598b3a846e0e7370", "spanId": "ea67a23ac7f2b545", "parentSpanId": "3a4d44cec5b5fa6a", "startTimeUnixNano": "1796073123019606706", "endTimeUnixNano": "1796073123029605189", "durationMs": 9.998483, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.643037, "db.connection": "reader", "db.lock_wait_ms": 1.574}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "000917e5a4451c80598b3a846e0e7370", "spanId": "3a4d44cec5b5fa6a", "parentSpanId": "fea7ee330a441d13", "startTimeUnixNano": "1796073123019584284", "endTimeUnixNano": "1796073123029628263", "durationMs": 10.043979, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "000917e5a4451c80598b3a846e0e7370", "spanId": "fea7ee330a441d13", "parentSpanId": "29b0e3131b3e961a", "startTimeUnixNano": "1796073123019519301", "endTimeUnixNano": "1796073123029637640", "durationMs": 10.118339, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "000917e5a4451c80598b3a846e0e7370", "spanId": "29b0e3131b3e961a", "startTimeUnixNano": "1796073123019486860", "endTimeUnixNano": "1796073123029652448", "durationMs": 10.165588, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "22ee66ca99710315a1d7f7535de61e5c", "spanId": "7c68a0bea73bcd69", "parentSpanId": "ce36e1c98f8f3b73", "startTimeUnixNano": "1796073124809987694", "endTimeUnixNano": "1796073124810268072", "durationMs": 0.280378, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "22ee66ca99710315a1d7f7535de61e5c", "spanId": "146d1b77e544a560", "parentSpanId": "afdd99118010a50e", "startTimeUnixNano": "1796073124810330159", "endTimeUnixNano": "1796073124811203465", "durationMs": 0.873306, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008636}}
{"type": "effect-span", "name": "sqlite", "traceId": "22ee66ca99710315a1d7f7535de61e5c", "spanId": "e89fdee12dbb1ef4", "parentSpanId": "afdd99118010a50e", "startTimeUnixNano": "1796073124811319894", "endTimeUnixNano": "1796073124811911700", "durationMs": 0.591806, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013005}}
{"type": "effect-span", "name": "sqlite", "traceId": "22ee66ca99710315a1d7f7535de61e5c", "spanId": "2b9f886c1df9c2e8", "parentSpanId": "afdd99118010a50e", "startTimeUnixNano": "1796073124811938440", "endTimeUnixNano": "1796073124812631286", "durationMs": 0.692846, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01575}}
{"type": "effect-span", "name": "sqlite", "traceId": "22ee66ca99710315a1d7f7535de61e5c", "spanId": "74a3bb87d62bda57", "parentSpanId": "afdd99118010a50e", "startTimeUnixNano": "1796073124814764085", "endTimeUnixNano": "1796073124818418673", "durationMs": 3.654588, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.033884}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "22ee66ca99710315a1d7f7535de61e5c", "spanId": "afdd99118010a50e", "parentSpanId": "ce36e1c98f8f3b73", "startTimeUnixNano": "1796073124810319279", "endTimeUnixNano": "1796073124818586419", "durationMs": 8.26714, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "22ee66ca99710315a1d7f7535de61e5c", "spanId": "a83b925f646ccb58", "parentSpanId": "ce36e1c98f8f3b73", "startTimeUnixNano": "1796073124818608180", "endTimeUnixNano": "1796073124819108753", "durationMs": 0.500573, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "22ee66ca99710315a1d7f7535de61e5c", "spanId": "ce36e1c98f8f3b73", "parentSpanId": "5735ceb708a63005", "startTimeUnixNano": "1796073124805926199", "endTimeUnixNano": "1796073124819139251", "durationMs": 13.213052, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.04831, "db.connection": "reader", "db.lock_wait_ms": 3.981}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "22ee66ca99710315a1d7f7535de61e5c", "spanId": "5735ceb708a63005", "parentSpanId": "4f68aee8c290ba1e", "startTimeUnixNano": "1796073124805913255", "endTimeUnixNano": "1796073124819165851", "durationMs": 13.252596, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "22ee66ca99710315a1d7f7535de61e5c", "spanId": "4f68aee8c290ba1e", "parentSpanId": "3d22c749c2e68d79", "startTimeUnixNano": "1796073124805848323", "endTimeUnixNano": "1796073124819172273", "durationMs": 13.32395, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "22ee66ca99710315a1d7f7535de61e5c", "spanId": "3d22c749c2e68d79", "startTimeUnixNano": "1796073124805819038", "endTimeUnixNano": "1796073124819184326", "durationMs": 13.365288, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f55666ec78249d7b38a7c16b5671252b", "spanId": "0dce278667a8987a", "parentSpanId": "9eb26f52dc241a0a", "startTimeUnixNano": "1796073125136603752", "endTimeUnixNano": "1796073125136939555", "durationMs": 0.335803, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f55666ec78249d7b38a7c16b5671252b", "spanId": "5e3f20595740e840", "parentSpanId": "95f62db727411d52", "startTimeUnixNano": "1796073125137028753", "endTimeUnixNano": "1796073125137579471", "durationMs": 0.550718, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012323}}
{"type": "effect-span", "name": "sqlite", "traceId": "f55666ec78249d7b38a7c16b5671252b", "spanId": "4f6841828ca66844", "parentSpanId": "95f62db727411d52", "startTimeUnixNano": "1796073125137730495", "endTimeUnixNano": "1796073125138551483", "durationMs": 0.820988, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014959}}
{"type": "effect-span", "name": "sqlite", "traceId": "f55666ec78249d7b38a7c16b5671252b", "spanId": "41f57eeee77e18a5", "parentSpanId": "95f62db727411d52", "startTimeUnixNano": "1796073125138587551", "endTimeUnixNano": "1796073125139824332", "durationMs": 1.236781, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016821}}
{"type": "effect-span", "name": "sqlite", "traceId": "f55666ec78249d7b38a7c16b5671252b", "spanId": "d417b047590e09af", "parentSpanId": "95f62db727411d52", "startTimeUnixNano": "1796073125142426345", "endTimeUnixNano": "1796073125147879672", "durationMs": 5.453327, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.091142}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f55666ec78249d7b38a7c16b5671252b", "spanId": "95f62db727411d52", "parentSpanId": "9eb26f52dc241a0a", "startTimeUnixNano": "1796073125137014185", "endTimeUnixNano": "1796073125148099547", "durationMs": 11.085362, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f55666ec78249d7b38a7c16b5671252b", "spanId": "1ff134d3349ad477", "parentSpanId": "9eb26f52dc241a0a", "startTimeUnixNano": "1796073125148137228", "endTimeUnixNano": "1796073125149647344", "durationMs": 1.510116, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f55666ec78249d7b38a7c16b5671252b", "spanId": "9eb26f52dc241a0a", "parentSpanId": "34204753b86b4ff4", "startTimeUnixNano": "1796073125133336014", "endTimeUnixNano": "1796073125149691006", "durationMs": 16.354992, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.253882, "db.connection": "reader", "db.lock_wait_ms": 3.085}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f55666ec78249d7b38a7c16b5671252b", "spanId": "34204753b86b4ff4", "parentSpanId": "594e25e660e66e43", "startTimeUnixNano": "1796073125133318370", "endTimeUnixNano": "1796073125149726012", "durationMs": 16.407642, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f55666ec78249d7b38a7c16b5671252b", "spanId": "594e25e660e66e43", "parentSpanId": "cb1c5bd23a90f31d", "startTimeUnixNano": "1796073125133247437", "endTimeUnixNano": "1796073125149738596", "durationMs": 16.491159, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f55666ec78249d7b38a7c16b5671252b", "spanId": "cb1c5bd23a90f31d", "startTimeUnixNano": "1796073125133214996", "endTimeUnixNano": "1796073125149755578", "durationMs": 16.540582, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ae76c5b21b63bd07d935a5682b338fb8", "spanId": "142e163324229dce", "parentSpanId": "60d7fe6a25ff9e80", "startTimeUnixNano": "1796073126604192140", "endTimeUnixNano": "1796073126604481396", "durationMs": 0.289256, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ae76c5b21b63bd07d935a5682b338fb8", "spanId": "b9d5245eb6e76b4b", "parentSpanId": "ae7881547198d413", "startTimeUnixNano": "1796073126604569151", "endTimeUnixNano": "1796073126605466712", "durationMs": 0.897561, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008065}}
{"type": "effect-span", "name": "sqlite", "traceId": "ae76c5b21b63bd07d935a5682b338fb8", "spanId": "8fec378f087516aa", "parentSpanId": "ae7881547198d413", "startTimeUnixNano": "1796073126605577441", "endTimeUnixNano": "1796073126606401995", "durationMs": 0.824554, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013365}}
{"type": "effect-span", "name": "sqlite", "traceId": "ae76c5b21b63bd07d935a5682b338fb8", "spanId": "7a9326017964a81c", "parentSpanId": "ae7881547198d413", "startTimeUnixNano": "1796073126606425069", "endTimeUnixNano": "1796073126607473594", "durationMs": 1.048525, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.024916}}
{"type": "effect-span", "name": "sqlite", "traceId": "ae76c5b21b63bd07d935a5682b338fb8", "spanId": "d1a4efd42aaf4d6c", "parentSpanId": "ae7881547198d413", "startTimeUnixNano": "1796073126609018085", "endTimeUnixNano": "1796073126609968547", "durationMs": 0.950462, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.028775}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ae76c5b21b63bd07d935a5682b338fb8", "spanId": "ae7881547198d413", "parentSpanId": "60d7fe6a25ff9e80", "startTimeUnixNano": "1796073126604559924", "endTimeUnixNano": "1796073126610136212", "durationMs": 5.576288, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ae76c5b21b63bd07d935a5682b338fb8", "spanId": "61b3d1c042b3ba5c", "parentSpanId": "60d7fe6a25ff9e80", "startTimeUnixNano": "1796073126610155669", "endTimeUnixNano": "1796073126610816364", "durationMs": 0.660695, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ae76c5b21b63bd07d935a5682b338fb8", "spanId": "60d7fe6a25ff9e80", "parentSpanId": "4d1bd4f7faa357ab", "startTimeUnixNano": "1796073126601092138", "endTimeUnixNano": "1796073126610844898", "durationMs": 9.75276, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.086567, "db.connection": "reader", "db.lock_wait_ms": 3.028}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ae76c5b21b63bd07d935a5682b338fb8", "spanId": "4d1bd4f7faa357ab", "parentSpanId": "b882a1efccf0607e", "startTimeUnixNano": "1796073126601082941", "endTimeUnixNano": "1796073126610867891", "durationMs": 9.78495, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ae76c5b21b63bd07d935a5682b338fb8", "spanId": "b882a1efccf0607e", "parentSpanId": "e0e556cb17f82b05", "startTimeUnixNano": "1796073126601029129", "endTimeUnixNano": "1796073126610874113", "durationMs": 9.844984, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ae76c5b21b63bd07d935a5682b338fb8", "spanId": "e0e556cb17f82b05", "startTimeUnixNano": "1796073126601006887", "endTimeUnixNano": "1796073126610884803", "durationMs": 9.877916, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7da8e4cb0fc73885170419353d29d8b4", "spanId": "efaa847868796751", "parentSpanId": "21c1be7fdff1b356", "startTimeUnixNano": "1796073126834765037", "endTimeUnixNano": "1796073126834905542", "durationMs": 0.140505, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7da8e4cb0fc73885170419353d29d8b4", "spanId": "3ddd39f0d5fc9e1c", "parentSpanId": "0fd5771f562e015e", "startTimeUnixNano": "1796073126834944124", "endTimeUnixNano": "1796073126835205747", "durationMs": 0.261623, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00539}}
{"type": "effect-span", "name": "sqlite", "traceId": "7da8e4cb0fc73885170419353d29d8b4", "spanId": "b565c0337c46e67a", "parentSpanId": "0fd5771f562e015e", "startTimeUnixNano": "1796073126835293653", "endTimeUnixNano": "1796073126835972723", "durationMs": 0.67907, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009127}}
{"type": "effect-span", "name": "sqlite", "traceId": "7da8e4cb0fc73885170419353d29d8b4", "spanId": "8f7cb03913f7df67", "parentSpanId": "0fd5771f562e015e", "startTimeUnixNano": "1796073126835986739", "endTimeUnixNano": "1796073126836496470", "durationMs": 0.509731, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006102}}
{"type": "effect-span", "name": "sqlite", "traceId": "7da8e4cb0fc73885170419353d29d8b4", "spanId": "0e6bddef43b2e01b", "parentSpanId": "0fd5771f562e015e", "startTimeUnixNano": "1796073126837864628", "endTimeUnixNano": "1796073126839052637", "durationMs": 1.188009, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012905}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7da8e4cb0fc73885170419353d29d8b4", "spanId": "0fd5771f562e015e", "parentSpanId": "21c1be7fdff1b356", "startTimeUnixNano": "1796073126834938123", "endTimeUnixNano": "1796073126839165219", "durationMs": 4.227096, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7da8e4cb0fc73885170419353d29d8b4", "spanId": "7e9f1f71132187ab", "parentSpanId": "21c1be7fdff1b356", "startTimeUnixNano": "1796073126839174326", "endTimeUnixNano": "1796073126839470645", "durationMs": 0.296319, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7da8e4cb0fc73885170419353d29d8b4", "spanId": "21c1be7fdff1b356", "parentSpanId": "f0978e1ad243ea38", "startTimeUnixNano": "1796073126833330183", "endTimeUnixNano": "1796073126839500150", "durationMs": 6.169967, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.431537, "db.connection": "reader", "db.lock_wait_ms": 1.393}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7da8e4cb0fc73885170419353d29d8b4", "spanId": "f0978e1ad243ea38", "parentSpanId": "483af2c3227914b0", "startTimeUnixNano": "1796073126833320244", "endTimeUnixNano": "1796073126839519637", "durationMs": 6.199393, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7da8e4cb0fc73885170419353d29d8b4", "spanId": "483af2c3227914b0", "parentSpanId": "0e1617a12f1f933e", "startTimeUnixNano": "1796073126833275440", "endTimeUnixNano": "1796073126839526470", "durationMs": 6.25103, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7da8e4cb0fc73885170419353d29d8b4", "spanId": "0e1617a12f1f933e", "startTimeUnixNano": "1796073126833256013", "endTimeUnixNano": "1796073126839535467", "durationMs": 6.279454, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a83431a91d64b4788197e619a799e778", "spanId": "ecb1ab5a8623c5eb", "parentSpanId": "70437318853c7cb8", "startTimeUnixNano": "1796073128273062967", "endTimeUnixNano": "1796073128273485583", "durationMs": 0.422616, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a83431a91d64b4788197e619a799e778", "spanId": "b18b74aa323a0c1f", "parentSpanId": "887a48196e784f27", "startTimeUnixNano": "1796073128273553531", "endTimeUnixNano": "1796073128277339567", "durationMs": 3.786036, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008056}}
{"type": "effect-span", "name": "sqlite", "traceId": "a83431a91d64b4788197e619a799e778", "spanId": "70eacfbca6e801d9", "parentSpanId": "887a48196e784f27", "startTimeUnixNano": "1796073128277447801", "endTimeUnixNano": "1796073128278046389", "durationMs": 0.598588, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016972}}
{"type": "effect-span", "name": "sqlite", "traceId": "a83431a91d64b4788197e619a799e778", "spanId": "b3d0efa71466ec4b", "parentSpanId": "887a48196e784f27", "startTimeUnixNano": "1796073128278075033", "endTimeUnixNano": "1796073128278824395", "durationMs": 0.749362, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012483}}
{"type": "effect-span", "name": "sqlite", "traceId": "a83431a91d64b4788197e619a799e778", "spanId": "40c36d52df2f002c", "parentSpanId": "887a48196e784f27", "startTimeUnixNano": "1796073128280363936", "endTimeUnixNano": "1796073128281408976", "durationMs": 1.04504, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014558}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a83431a91d64b4788197e619a799e778", "spanId": "887a48196e784f27", "parentSpanId": "70437318853c7cb8", "startTimeUnixNano": "1796073128273545616", "endTimeUnixNano": "1796073128281558407", "durationMs": 8.012791, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a83431a91d64b4788197e619a799e778", "spanId": "2251be33c77e2398", "parentSpanId": "70437318853c7cb8", "startTimeUnixNano": "1796073128281577824", "endTimeUnixNano": "1796073128282975478", "durationMs": 1.397654, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a83431a91d64b4788197e619a799e778", "spanId": "70437318853c7cb8", "parentSpanId": "b2f00eb28f127dd0", "startTimeUnixNano": "1796073128269626440", "endTimeUnixNano": "1796073128282998491", "durationMs": 13.372051, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.432329, "db.connection": "reader", "db.lock_wait_ms": 3.373}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a83431a91d64b4788197e619a799e778", "spanId": "b2f00eb28f127dd0", "parentSpanId": "c151a5284c8e04a2", "startTimeUnixNano": "1796073128269613566", "endTimeUnixNano": "1796073128283014031", "durationMs": 13.400465, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a83431a91d64b4788197e619a799e778", "spanId": "c151a5284c8e04a2", "parentSpanId": "d4cc5ca34e12b281", "startTimeUnixNano": "1796073128269556308", "endTimeUnixNano": "1796073128283019832", "durationMs": 13.463524, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a83431a91d64b4788197e619a799e778", "spanId": "d4cc5ca34e12b281", "startTimeUnixNano": "1796073128269533335", "endTimeUnixNano": "1796073128283028237", "durationMs": 13.494902, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a1ed6a49881ce670cf54f44e8cedf4bc", "spanId": "2e646d31150c6286", "parentSpanId": "78c66f517da01a7a", "startTimeUnixNano": "1796073128512647978", "endTimeUnixNano": "1796073128513330204", "durationMs": 0.682226, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a1ed6a49881ce670cf54f44e8cedf4bc", "spanId": "1a1c2db6a15631c9", "parentSpanId": "9e763538dc042452", "startTimeUnixNano": "1796073128513418259", "endTimeUnixNano": "1796073128514151161", "durationMs": 0.732902, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.029135}}
{"type": "effect-span", "name": "sqlite", "traceId": "a1ed6a49881ce670cf54f44e8cedf4bc", "spanId": "facc9ce965297e4c", "parentSpanId": "9e763538dc042452", "startTimeUnixNano": "1796073128514274423", "endTimeUnixNano": "1796073128515517355", "durationMs": 1.242932, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016}}
{"type": "effect-span", "name": "sqlite", "traceId": "a1ed6a49881ce670cf54f44e8cedf4bc", "spanId": "d319092d7ca542c1", "parentSpanId": "9e763538dc042452", "startTimeUnixNano": "1796073128515561799", "endTimeUnixNano": "1796073128516057082", "durationMs": 0.495283, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014998}}
{"type": "effect-span", "name": "sqlite", "traceId": "a1ed6a49881ce670cf54f44e8cedf4bc", "spanId": "acdeb86c043f1525", "parentSpanId": "9e763538dc042452", "startTimeUnixNano": "1796073128518879271", "endTimeUnixNano": "1796073128519719825", "durationMs": 0.840554, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.028975}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a1ed6a49881ce670cf54f44e8cedf4bc", "spanId": "9e763538dc042452", "parentSpanId": "78c66f517da01a7a", "startTimeUnixNano": "1796073128513405966", "endTimeUnixNano": "1796073128519857214", "durationMs": 6.451248, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a1ed6a49881ce670cf54f44e8cedf4bc", "spanId": "5ba685e30ff54d11", "parentSpanId": "78c66f517da01a7a", "startTimeUnixNano": "1796073128519880177", "endTimeUnixNano": "1796073128520710803", "durationMs": 0.830626, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a1ed6a49881ce670cf54f44e8cedf4bc", "spanId": "78c66f517da01a7a", "parentSpanId": "f6d70a4dc87bae42", "startTimeUnixNano": "1796073128510749901", "endTimeUnixNano": "1796073128520743064", "durationMs": 9.993163, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.891574, "db.connection": "reader", "db.lock_wait_ms": 1.838}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a1ed6a49881ce670cf54f44e8cedf4bc", "spanId": "f6d70a4dc87bae42", "parentSpanId": "8f5e7cab3ad669d0", "startTimeUnixNano": "1796073128510732167", "endTimeUnixNano": "1796073128520765065", "durationMs": 10.032898, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a1ed6a49881ce670cf54f44e8cedf4bc", "spanId": "8f5e7cab3ad669d0", "parentSpanId": "5bdc6e05e1801e4f", "startTimeUnixNano": "1796073128510673877", "endTimeUnixNano": "1796073128520774503", "durationMs": 10.100626, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a1ed6a49881ce670cf54f44e8cedf4bc", "spanId": "5bdc6e05e1801e4f", "startTimeUnixNano": "1796073128510647718", "endTimeUnixNano": "1796073128520788369", "durationMs": 10.140651, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4418f23dbe6f4589f9182efabde40515", "spanId": "a827b275af2c2b93", "parentSpanId": "2d65e2700bfdeaa9", "startTimeUnixNano": "1796073129934811122", "endTimeUnixNano": "1796073129935061283", "durationMs": 0.250161, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4418f23dbe6f4589f9182efabde40515", "spanId": "d45918f595a093ee", "parentSpanId": "f9ff95d947ce73fe", "startTimeUnixNano": "1796073129935127097", "endTimeUnixNano": "1796073129936184230", "durationMs": 1.057133, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008556}}
{"type": "effect-span", "name": "sqlite", "traceId": "4418f23dbe6f4589f9182efabde40515", "spanId": "ea87e8fdfef33d4c", "parentSpanId": "f9ff95d947ce73fe", "startTimeUnixNano": "1796073129936309075", "endTimeUnixNano": "1796073129937386726", "durationMs": 1.077651, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016411}}
{"type": "effect-span", "name": "sqlite", "traceId": "4418f23dbe6f4589f9182efabde40515", "spanId": "9773d95eb74b9275", "parentSpanId": "f9ff95d947ce73fe", "startTimeUnixNano": "1796073129937416492", "endTimeUnixNano": "1796073129938413952", "durationMs": 0.99746, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.029866}}
{"type": "effect-span", "name": "sqlite", "traceId": "4418f23dbe6f4589f9182efabde40515", "spanId": "2248e72af30ee2bb", "parentSpanId": "f9ff95d947ce73fe", "startTimeUnixNano": "1796073129940538506", "endTimeUnixNano": "1796073129941692220", "durationMs": 1.153714, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.02152}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4418f23dbe6f4589f9182efabde40515", "spanId": "f9ff95d947ce73fe", "parentSpanId": "2d65e2700bfdeaa9", "startTimeUnixNano": "1796073129935116888", "endTimeUnixNano": "1796073129941857421", "durationMs": 6.740533, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4418f23dbe6f4589f9182efabde40515", "spanId": "9490d6e8db2acabf", "parentSpanId": "2d65e2700bfdeaa9", "startTimeUnixNano": "1796073129941879112", "endTimeUnixNano": "1796073129943647785", "durationMs": 1.768673, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4418f23dbe6f4589f9182efabde40515", "spanId": "2d65e2700bfdeaa9", "parentSpanId": "e7c403f8ec6a2ecc", "startTimeUnixNano": "1796073129931114696", "endTimeUnixNano": "1796073129943670709", "durationMs": 12.556013, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.68817, "db.connection": "reader", "db.lock_wait_ms": 3.627}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4418f23dbe6f4589f9182efabde40515", "spanId": "e7c403f8ec6a2ecc", "parentSpanId": "bea6c00d385ddc8f", "startTimeUnixNano": "1796073129931105017", "endTimeUnixNano": "1796073129943690025", "durationMs": 12.585008, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4418f23dbe6f4589f9182efabde40515", "spanId": "bea6c00d385ddc8f", "parentSpanId": "647e6e934a81d92a", "startTimeUnixNano": "1796073129931060804", "endTimeUnixNano": "1796073129943698922", "durationMs": 12.638118, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4418f23dbe6f4589f9182efabde40515", "spanId": "647e6e934a81d92a", "startTimeUnixNano": "1796073129931041868", "endTimeUnixNano": "1796073129943713389", "durationMs": 12.671521, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6f68555c3d40246603b8f0abfa5f5da7", "spanId": "27a4ef03c248d7ad", "parentSpanId": "9c2d6bb5ef1b8216", "startTimeUnixNano": "1796073130194662778", "endTimeUnixNano": "1796073130194889796", "durationMs": 0.227018, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6f68555c3d40246603b8f0abfa5f5da7", "spanId": "e1b000021e23100b", "parentSpanId": "e396c8e4c2234ea3", "startTimeUnixNano": "1796073130194957463", "endTimeUnixNano": "1796073130195474538", "durationMs": 0.517075, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007414}}
{"type": "effect-span", "name": "sqlite", "traceId": "6f68555c3d40246603b8f0abfa5f5da7", "spanId": "a5aa42c74574799b", "parentSpanId": "e396c8e4c2234ea3", "startTimeUnixNano": "1796073130195585918", "endTimeUnixNano": "1796073130196578428", "durationMs": 0.99251, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014477}}
{"type": "effect-span", "name": "sqlite", "traceId": "6f68555c3d40246603b8f0abfa5f5da7", "spanId": "a861e423a42619f4", "parentSpanId": "e396c8e4c2234ea3", "startTimeUnixNano": "1796073130196599277", "endTimeUnixNano": "1796073130197125850", "durationMs": 0.526573, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009869}}
{"type": "effect-span", "name": "sqlite", "traceId": "6f68555c3d40246603b8f0abfa5f5da7", "spanId": "8bafbefbfe400dee", "parentSpanId": "e396c8e4c2234ea3", "startTimeUnixNano": "1796073130198588667", "endTimeUnixNano": "1796073130199278527", "durationMs": 0.68986, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013174}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6f68555c3d40246603b8f0abfa5f5da7", "spanId": "e396c8e4c2234ea3", "parentSpanId": "9c2d6bb5ef1b8216", "startTimeUnixNano": "1796073130194948035", "endTimeUnixNano": "1796073130199420825", "durationMs": 4.47279, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6f68555c3d40246603b8f0abfa5f5da7", "spanId": "6b5e04fde64db2e0", "parentSpanId": "9c2d6bb5ef1b8216", "startTimeUnixNano": "1796073130199447826", "endTimeUnixNano": "1796073130200173523", "durationMs": 0.725697, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6f68555c3d40246603b8f0abfa5f5da7", "spanId": "9c2d6bb5ef1b8216", "parentSpanId": "13e5e2a98504bcee", "startTimeUnixNano": "1796073130193051691", "endTimeUnixNano": "1796073130200203209", "durationMs": 7.151518, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.603382, "db.connection": "reader", "db.lock_wait_ms": 1.548}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6f68555c3d40246603b8f0abfa5f5da7", "spanId": "13e5e2a98504bcee", "parentSpanId": "0ae0942ccc795eb8", "startTimeUnixNano": "1796073130193037314", "endTimeUnixNano": "1796073130200231503", "durationMs": 7.194189, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6f68555c3d40246603b8f0abfa5f5da7", "spanId": "0ae0942ccc795eb8", "parentSpanId": "c18b4a20df25eb5b", "startTimeUnixNano": "1796073130192995185", "endTimeUnixNano": "1796073130200240930", "durationMs": 7.245745, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6f68555c3d40246603b8f0abfa5f5da7", "spanId": "c18b4a20df25eb5b", "startTimeUnixNano": "1796073130192976700", "endTimeUnixNano": "1796073130200251200", "durationMs": 7.2745, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c5256f616c7358eebd1ffa4b38d66130", "spanId": "99f56a16d2878795", "parentSpanId": "376f522e96fbe15e", "startTimeUnixNano": "1796073131678334463", "endTimeUnixNano": "1796073131679388540", "durationMs": 1.054077, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c5256f616c7358eebd1ffa4b38d66130", "spanId": "55a0952f03ae1276", "parentSpanId": "abad0eb388cc32f2", "startTimeUnixNano": "1796073131679459133", "endTimeUnixNano": "1796073131680256906", "durationMs": 0.797773, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006532}}
{"type": "effect-span", "name": "sqlite", "traceId": "c5256f616c7358eebd1ffa4b38d66130", "spanId": "7c57cfaa22ae296a", "parentSpanId": "abad0eb388cc32f2", "startTimeUnixNano": "1796073131680366653", "endTimeUnixNano": "1796073131681410410", "durationMs": 1.043757, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013876}}
{"type": "effect-span", "name": "sqlite", "traceId": "c5256f616c7358eebd1ffa4b38d66130", "spanId": "7f4ea3073c621db1", "parentSpanId": "abad0eb388cc32f2", "startTimeUnixNano": "1796073131681454433", "endTimeUnixNano": "1796073131682348508", "durationMs": 0.894075, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012393}}
{"type": "effect-span", "name": "sqlite", "traceId": "c5256f616c7358eebd1ffa4b38d66130", "spanId": "cde07641b470f972", "parentSpanId": "abad0eb388cc32f2", "startTimeUnixNano": "1796073131684841156", "endTimeUnixNano": "1796073131687573525", "durationMs": 2.732369, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017062}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c5256f616c7358eebd1ffa4b38d66130", "spanId": "abad0eb388cc32f2", "parentSpanId": "376f522e96fbe15e", "startTimeUnixNano": "1796073131679448583", "endTimeUnixNano": "1796073131687711515", "durationMs": 8.262932, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c5256f616c7358eebd1ffa4b38d66130", "spanId": "c075ed215a731eb9", "parentSpanId": "376f522e96fbe15e", "startTimeUnixNano": "1796073131687728397", "endTimeUnixNano": "1796073131688278393", "durationMs": 0.549996, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c5256f616c7358eebd1ffa4b38d66130", "spanId": "376f522e96fbe15e", "parentSpanId": "218e202a4fb2a6d2", "startTimeUnixNano": "1796073131676412842", "endTimeUnixNano": "1796073131688302459", "durationMs": 11.889617, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.914528, "db.connection": "reader", "db.lock_wait_ms": 1.843}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c5256f616c7358eebd1ffa4b38d66130", "spanId": "218e202a4fb2a6d2", "parentSpanId": "f10cf8356572c54a", "startTimeUnixNano": "1796073131676396922", "endTimeUnixNano": "1796073131688319761", "durationMs": 11.922839, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c5256f616c7358eebd1ffa4b38d66130", "spanId": "f10cf8356572c54a", "parentSpanId": "b71dce010f00a316", "startTimeUnixNano": "1796073131676340996", "endTimeUnixNano": "1796073131688327085", "durationMs": 11.986089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c5256f616c7358eebd1ffa4b38d66130", "spanId": "b71dce010f00a316", "startTimeUnixNano": "1796073131676319265", "endTimeUnixNano": "1796073131688340310", "durationMs": 12.021045, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e09d5450df575fe10a0ef5f8ac0c20fd", "spanId": "e39b522287133238", "parentSpanId": "64c22fed15f436e5", "startTimeUnixNano": "1796073131958901079", "endTimeUnixNano": "1796073131959574267", "durationMs": 0.673188, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e09d5450df575fe10a0ef5f8ac0c20fd", "spanId": "32b765db8b355838", "parentSpanId": "2c217ff94b813320", "startTimeUnixNano": "1796073131959635453", "endTimeUnixNano": "1796073131960251223", "durationMs": 0.61577, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00564}}
{"type": "effect-span", "name": "sqlite", "traceId": "e09d5450df575fe10a0ef5f8ac0c20fd", "spanId": "47f48b9aa3925162", "parentSpanId": "2c217ff94b813320", "startTimeUnixNano": "1796073131960391998", "endTimeUnixNano": "1796073131961328113", "durationMs": 0.936115, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012203}}
{"type": "effect-span", "name": "sqlite", "traceId": "e09d5450df575fe10a0ef5f8ac0c20fd", "spanId": "b8c167e8384508d8", "parentSpanId": "2c217ff94b813320", "startTimeUnixNano": "1796073131961345015", "endTimeUnixNano": "1796073131962064240", "durationMs": 0.719225, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009608}}
{"type": "effect-span", "name": "sqlite", "traceId": "e09d5450df575fe10a0ef5f8ac0c20fd", "spanId": "6e54f3694eb3c77e", "parentSpanId": "2c217ff94b813320", "startTimeUnixNano": "1796073131963611276", "endTimeUnixNano": "1796073131964839360", "durationMs": 1.228084, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023354}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e09d5450df575fe10a0ef5f8ac0c20fd", "spanId": "2c217ff94b813320", "parentSpanId": "64c22fed15f436e5", "startTimeUnixNano": "1796073131959626716", "endTimeUnixNano": "1796073131965027304", "durationMs": 5.400588, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e09d5450df575fe10a0ef5f8ac0c20fd", "spanId": "e9960cfa9a17c855", "parentSpanId": "64c22fed15f436e5", "startTimeUnixNano": "1796073131965051450", "endTimeUnixNano": "1796073131966526169", "durationMs": 1.474719, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e09d5450df575fe10a0ef5f8ac0c20fd", "spanId": "64c22fed15f436e5", "parentSpanId": "8a14e6dde1975518", "startTimeUnixNano": "1796073131956323942", "endTimeUnixNano": "1796073131966558069", "durationMs": 10.234127, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.56833, "db.connection": "reader", "db.lock_wait_ms": 2.412}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e09d5450df575fe10a0ef5f8ac0c20fd", "spanId": "8a14e6dde1975518", "parentSpanId": "4861d443e7c3d887", "startTimeUnixNano": "1796073131956300888", "endTimeUnixNano": "1796073131966585080", "durationMs": 10.284192, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e09d5450df575fe10a0ef5f8ac0c20fd", "spanId": "4861d443e7c3d887", "parentSpanId": "682ed8f611c7c106", "startTimeUnixNano": "1796073131956219405", "endTimeUnixNano": "1796073131966592534", "durationMs": 10.373129, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e09d5450df575fe10a0ef5f8ac0c20fd", "spanId": "682ed8f611c7c106", "startTimeUnixNano": "1796073131956185832", "endTimeUnixNano": "1796073131966612271", "durationMs": 10.426439, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "228742d9acba5b7df609d297cfa9f2fb", "spanId": "5fe380ceda3ac291", "parentSpanId": "69a36711d8c28f01", "startTimeUnixNano": "1796073133497003377", "endTimeUnixNano": "1796073133498006417", "durationMs": 1.00304, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "228742d9acba5b7df609d297cfa9f2fb", "spanId": "f7f3afa9b35ae998", "parentSpanId": "9b6e24567807121a", "startTimeUnixNano": "1796073133498134579", "endTimeUnixNano": "1796073133499340381", "durationMs": 1.205802, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012914}}
{"type": "effect-span", "name": "sqlite", "traceId": "228742d9acba5b7df609d297cfa9f2fb", "spanId": "d5b45daac330d84f", "parentSpanId": "9b6e24567807121a", "startTimeUnixNano": "1796073133499486837", "endTimeUnixNano": "1796073133500028638", "durationMs": 0.541801, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016982}}
{"type": "effect-span", "name": "sqlite", "traceId": "228742d9acba5b7df609d297cfa9f2fb", "spanId": "52c474d7924f3aa7", "parentSpanId": "9b6e24567807121a", "startTimeUnixNano": "1796073133500045951", "endTimeUnixNano": "1796073133500768332", "durationMs": 0.722381, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017483}}
{"type": "effect-span", "name": "sqlite", "traceId": "228742d9acba5b7df609d297cfa9f2fb", "spanId": "29085fb4c5e583d9", "parentSpanId": "9b6e24567807121a", "startTimeUnixNano": "1796073133503565233", "endTimeUnixNano": "1796073133504688420", "durationMs": 1.123187, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020349}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "228742d9acba5b7df609d297cfa9f2fb", "spanId": "9b6e24567807121a", "parentSpanId": "69a36711d8c28f01", "startTimeUnixNano": "1796073133498119590", "endTimeUnixNano": "1796073133504861116", "durationMs": 6.741526, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "228742d9acba5b7df609d297cfa9f2fb", "spanId": "424e58a5839894a2", "parentSpanId": "69a36711d8c28f01", "startTimeUnixNano": "1796073133504881584", "endTimeUnixNano": "1796073133505593305", "durationMs": 0.711721, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "228742d9acba5b7df609d297cfa9f2fb", "spanId": "69a36711d8c28f01", "parentSpanId": "20e1ca4c11b29472", "startTimeUnixNano": "1796073133495234082", "endTimeUnixNano": "1796073133505622731", "durationMs": 10.388649, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.760588, "db.connection": "reader", "db.lock_wait_ms": 1.71}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "228742d9acba5b7df609d297cfa9f2fb", "spanId": "20e1ca4c11b29472", "parentSpanId": "b73bcd847e22990d", "startTimeUnixNano": "1796073133495224735", "endTimeUnixNano": "1796073133505645614", "durationMs": 10.420879, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "228742d9acba5b7df609d297cfa9f2fb", "spanId": "b73bcd847e22990d", "parentSpanId": "4203087636ed84f2", "startTimeUnixNano": "1796073133495173308", "endTimeUnixNano": "1796073133505657717", "durationMs": 10.484409, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "228742d9acba5b7df609d297cfa9f2fb", "spanId": "4203087636ed84f2", "startTimeUnixNano": "1796073133495153130", "endTimeUnixNano": "1796073133505673697", "durationMs": 10.520567, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c9435773663820951d5eed07713ead94", "spanId": "9390803640ea98ea", "parentSpanId": "02f76465417f1f11", "startTimeUnixNano": "1796073133831942042", "endTimeUnixNano": "1796073133832240845", "durationMs": 0.298803, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c9435773663820951d5eed07713ead94", "spanId": "56965f5677e2a3ee", "parentSpanId": "a6c8f621999ad76a", "startTimeUnixNano": "1796073133832340233", "endTimeUnixNano": "1796073133832934813", "durationMs": 0.59458, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009367}}
{"type": "effect-span", "name": "sqlite", "traceId": "c9435773663820951d5eed07713ead94", "spanId": "c9e1fd209be438ce", "parentSpanId": "a6c8f621999ad76a", "startTimeUnixNano": "1796073133833066141", "endTimeUnixNano": "1796073133834330474", "durationMs": 1.264333, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018745}}
{"type": "effect-span", "name": "sqlite", "traceId": "c9435773663820951d5eed07713ead94", "spanId": "2991869c8d642f94", "parentSpanId": "a6c8f621999ad76a", "startTimeUnixNano": "1796073133834365339", "endTimeUnixNano": "1796073133835679506", "durationMs": 1.314167, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016321}}
{"type": "effect-span", "name": "sqlite", "traceId": "c9435773663820951d5eed07713ead94", "spanId": "a96954f74e0ddc71", "parentSpanId": "a6c8f621999ad76a", "startTimeUnixNano": "1796073133839084092", "endTimeUnixNano": "1796073133840692183", "durationMs": 1.608091, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.073509}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c9435773663820951d5eed07713ead94", "spanId": "a6c8f621999ad76a", "parentSpanId": "02f76465417f1f11", "startTimeUnixNano": "1796073133832329713", "endTimeUnixNano": "1796073133840940030", "durationMs": 8.610317, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c9435773663820951d5eed07713ead94", "spanId": "b1d9a20fc535a040", "parentSpanId": "02f76465417f1f11", "startTimeUnixNano": "1796073133840975757", "endTimeUnixNano": "1796073133841811552", "durationMs": 0.835795, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c9435773663820951d5eed07713ead94", "spanId": "02f76465417f1f11", "parentSpanId": "748cb9ab3a2f5812", "startTimeUnixNano": "1796073133829005308", "endTimeUnixNano": "1796073133841857900", "durationMs": 12.852592, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.925794, "db.connection": "reader", "db.lock_wait_ms": 2.782}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c9435773663820951d5eed07713ead94", "spanId": "748cb9ab3a2f5812", "parentSpanId": "44f9c7de597694e4", "startTimeUnixNano": "1796073133828988506", "endTimeUnixNano": "1796073133841897905", "durationMs": 12.909399, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c9435773663820951d5eed07713ead94", "spanId": "44f9c7de597694e4", "parentSpanId": "9d888699ac647829", "startTimeUnixNano": "1796073133828913415", "endTimeUnixNano": "1796073133841911160", "durationMs": 12.997745, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c9435773663820951d5eed07713ead94", "spanId": "9d888699ac647829", "startTimeUnixNano": "1796073133828881845", "endTimeUnixNano": "1796073133841930356", "durationMs": 13.048511, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7bac15c4495d0780d5411a12b9dda85c", "spanId": "4344f8a62bbbd75f", "parentSpanId": "8463b4c3347650d8", "startTimeUnixNano": "1796073135240027573", "endTimeUnixNano": "1796073135240274989", "durationMs": 0.247416, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7bac15c4495d0780d5411a12b9dda85c", "spanId": "394d06ed25f42244", "parentSpanId": "64527c6bf5766091", "startTimeUnixNano": "1796073135240324673", "endTimeUnixNano": "1796073135241888260", "durationMs": 1.563587, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005981}}
{"type": "effect-span", "name": "sqlite", "traceId": "7bac15c4495d0780d5411a12b9dda85c", "spanId": "072fbf4db2e0f6bd", "parentSpanId": "64527c6bf5766091", "startTimeUnixNano": "1796073135242047790", "endTimeUnixNano": "1796073135242843700", "durationMs": 0.79591, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012694}}
{"type": "effect-span", "name": "sqlite", "traceId": "7bac15c4495d0780d5411a12b9dda85c", "spanId": "86855aeeff427c72", "parentSpanId": "64527c6bf5766091", "startTimeUnixNano": "1796073135242864179", "endTimeUnixNano": "1796073135243374731", "durationMs": 0.510552, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009658}}
{"type": "effect-span", "name": "sqlite", "traceId": "7bac15c4495d0780d5411a12b9dda85c", "spanId": "00779b9b3767998d", "parentSpanId": "64527c6bf5766091", "startTimeUnixNano": "1796073135244926335", "endTimeUnixNano": "1796073135245758163", "durationMs": 0.831828, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018455}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7bac15c4495d0780d5411a12b9dda85c", "spanId": "64527c6bf5766091", "parentSpanId": "8463b4c3347650d8", "startTimeUnixNano": "1796073135240315997", "endTimeUnixNano": "1796073135245894039", "durationMs": 5.578042, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7bac15c4495d0780d5411a12b9dda85c", "spanId": "dfc92c8599622d85", "parentSpanId": "8463b4c3347650d8", "startTimeUnixNano": "1796073135245909198", "endTimeUnixNano": "1796073135247412821", "durationMs": 1.503623, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7bac15c4495d0780d5411a12b9dda85c", "spanId": "8463b4c3347650d8", "parentSpanId": "d600de88bc57f56e", "startTimeUnixNano": "1796073135235715296", "endTimeUnixNano": "1796073135247454300", "durationMs": 11.739004, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.301817, "db.connection": "reader", "db.lock_wait_ms": 4.256}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7bac15c4495d0780d5411a12b9dda85c", "spanId": "d600de88bc57f56e", "parentSpanId": "746a22e04e203aea", "startTimeUnixNano": "1796073135235704856", "endTimeUnixNano": "1796073135247477082", "durationMs": 11.772226, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7bac15c4495d0780d5411a12b9dda85c", "spanId": "746a22e04e203aea", "parentSpanId": "f344afd9725ad926", "startTimeUnixNano": "1796073135235663699", "endTimeUnixNano": "1796073135247482863", "durationMs": 11.819164, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7bac15c4495d0780d5411a12b9dda85c", "spanId": "f344afd9725ad926", "startTimeUnixNano": "1796073135235644984", "endTimeUnixNano": "1796073135247495197", "durationMs": 11.850213, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "38c5c38dba3dbdf42b20ab4c74846e04", "spanId": "9c88b1c9df2f125a", "parentSpanId": "b5ce959fcfc767fa", "startTimeUnixNano": "1796073135498142668", "endTimeUnixNano": "1796073135498356841", "durationMs": 0.214173, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "38c5c38dba3dbdf42b20ab4c74846e04", "spanId": "e592bd2efc73619a", "parentSpanId": "26952ac9e27f67e0", "startTimeUnixNano": "1796073135498418127", "endTimeUnixNano": "1796073135498881109", "durationMs": 0.462982, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006783}}
{"type": "effect-span", "name": "sqlite", "traceId": "38c5c38dba3dbdf42b20ab4c74846e04", "spanId": "095dd158f0630c21", "parentSpanId": "26952ac9e27f67e0", "startTimeUnixNano": "1796073135498999192", "endTimeUnixNano": "1796073135499521536", "durationMs": 0.522344, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011802}}
{"type": "effect-span", "name": "sqlite", "traceId": "38c5c38dba3dbdf42b20ab4c74846e04", "spanId": "2dde54d740cfde56", "parentSpanId": "26952ac9e27f67e0", "startTimeUnixNano": "1796073135499543077", "endTimeUnixNano": "1796073135500048589", "durationMs": 0.505512, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012022}}
{"type": "effect-span", "name": "sqlite", "traceId": "38c5c38dba3dbdf42b20ab4c74846e04", "spanId": "17d9a3dfd426c7be", "parentSpanId": "26952ac9e27f67e0", "startTimeUnixNano": "1796073135501552183", "endTimeUnixNano": "1796073135502461296", "durationMs": 0.909113, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.030688}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "38c5c38dba3dbdf42b20ab4c74846e04", "spanId": "26952ac9e27f67e0", "parentSpanId": "b5ce959fcfc767fa", "startTimeUnixNano": "1796073135498408929", "endTimeUnixNano": "1796073135502614705", "durationMs": 4.205776, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "38c5c38dba3dbdf42b20ab4c74846e04", "spanId": "b3d62d77212dea2d", "parentSpanId": "b5ce959fcfc767fa", "startTimeUnixNano": "1796073135502632910", "endTimeUnixNano": "1796073135503317981", "durationMs": 0.685071, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "38c5c38dba3dbdf42b20ab4c74846e04", "spanId": "b5ce959fcfc767fa", "parentSpanId": "5e5c079ae43e19a0", "startTimeUnixNano": "1796073135495797187", "endTimeUnixNano": "1796073135503344691", "durationMs": 7.547504, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.337746, "db.connection": "reader", "db.lock_wait_ms": 2.218}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "38c5c38dba3dbdf42b20ab4c74846e04", "spanId": "5e5c079ae43e19a0", "parentSpanId": "8fd6f37170c80295", "startTimeUnixNano": "1796073135495779744", "endTimeUnixNano": "1796073135503364469", "durationMs": 7.584725, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "38c5c38dba3dbdf42b20ab4c74846e04", "spanId": "8fd6f37170c80295", "parentSpanId": "7d060ceff472dd21", "startTimeUnixNano": "1796073135495718840", "endTimeUnixNano": "1796073135503370901", "durationMs": 7.652061, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "38c5c38dba3dbdf42b20ab4c74846e04", "spanId": "7d060ceff472dd21", "startTimeUnixNano": "1796073135495685016", "endTimeUnixNano": "1796073135503381721", "durationMs": 7.696705, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c5d83753d2eb52b66d68c4c2d14a8489", "spanId": "32524b8a0e5f57c8", "parentSpanId": "859851e0ff48eaaa", "startTimeUnixNano": "1796073136800529760", "endTimeUnixNano": "1796073136801619765", "durationMs": 1.090005, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c5d83753d2eb52b66d68c4c2d14a8489", "spanId": "d9aa3ee7a935593f", "parentSpanId": "6b09835dd0cb0b66", "startTimeUnixNano": "1796073136801662846", "endTimeUnixNano": "1796073136802670976", "durationMs": 1.00813, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008235}}
{"type": "effect-span", "name": "sqlite", "traceId": "c5d83753d2eb52b66d68c4c2d14a8489", "spanId": "f18194a89d187c2d", "parentSpanId": "6b09835dd0cb0b66", "startTimeUnixNano": "1796073136802791723", "endTimeUnixNano": "1796073136803290463", "durationMs": 0.49874, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014918}}
{"type": "effect-span", "name": "sqlite", "traceId": "c5d83753d2eb52b66d68c4c2d14a8489", "spanId": "420b61eeb180c7da", "parentSpanId": "6b09835dd0cb0b66", "startTimeUnixNano": "1796073136803303468", "endTimeUnixNano": "1796073136803894922", "durationMs": 0.591454, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01104}}
{"type": "effect-span", "name": "sqlite", "traceId": "c5d83753d2eb52b66d68c4c2d14a8489", "spanId": "221d483df2001db1", "parentSpanId": "6b09835dd0cb0b66", "startTimeUnixNano": "1796073136806781042", "endTimeUnixNano": "1796073136807692940", "durationMs": 0.911898, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014507}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c5d83753d2eb52b66d68c4c2d14a8489", "spanId": "6b09835dd0cb0b66", "parentSpanId": "859851e0ff48eaaa", "startTimeUnixNano": "1796073136801655442", "endTimeUnixNano": "1796073136807867880", "durationMs": 6.212438, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c5d83753d2eb52b66d68c4c2d14a8489", "spanId": "cd0b06b6b2c43f63", "parentSpanId": "859851e0ff48eaaa", "startTimeUnixNano": "1796073136807881636", "endTimeUnixNano": "1796073136808526942", "durationMs": 0.645306, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c5d83753d2eb52b66d68c4c2d14a8489", "spanId": "859851e0ff48eaaa", "parentSpanId": "a7cd0fa61d2c5c9b", "startTimeUnixNano": "1796073136798065747", "endTimeUnixNano": "1796073136808546649", "durationMs": 10.480902, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.459234, "db.connection": "reader", "db.lock_wait_ms": 2.396}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c5d83753d2eb52b66d68c4c2d14a8489", "spanId": "a7cd0fa61d2c5c9b", "parentSpanId": "a50f7a7d4c817c99", "startTimeUnixNano": "1796073136798052031", "endTimeUnixNano": "1796073136808563130", "durationMs": 10.511099, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c5d83753d2eb52b66d68c4c2d14a8489", "spanId": "a50f7a7d4c817c99", "parentSpanId": "2799d11647b8fd8b", "startTimeUnixNano": "1796073136797995234", "endTimeUnixNano": "1796073136808569893", "durationMs": 10.574659, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c5d83753d2eb52b66d68c4c2d14a8489", "spanId": "2799d11647b8fd8b", "startTimeUnixNano": "1796073136797970868", "endTimeUnixNano": "1796073136808580623", "durationMs": 10.609755, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "155a9925f0528cdfeb6952183ee48b87", "spanId": "bafac9870e21b13c", "parentSpanId": "4d88cb281822b15f", "startTimeUnixNano": "1796073137056879157", "endTimeUnixNano": "1796073137057980303", "durationMs": 1.101146, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "155a9925f0528cdfeb6952183ee48b87", "spanId": "3e3d7435127aa906", "parentSpanId": "77c9e168b06f7da6", "startTimeUnixNano": "1796073137058017783", "endTimeUnixNano": "1796073137058307609", "durationMs": 0.289826, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00511}}
{"type": "effect-span", "name": "sqlite", "traceId": "155a9925f0528cdfeb6952183ee48b87", "spanId": "b1b9818ab237d289", "parentSpanId": "77c9e168b06f7da6", "startTimeUnixNano": "1796073137058375337", "endTimeUnixNano": "1796073137058980898", "durationMs": 0.605561, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008556}}
{"type": "effect-span", "name": "sqlite", "traceId": "155a9925f0528cdfeb6952183ee48b87", "spanId": "5f34ab6aee02acfb", "parentSpanId": "77c9e168b06f7da6", "startTimeUnixNano": "1796073137058991729", "endTimeUnixNano": "1796073137059608862", "durationMs": 0.617133, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009057}}
{"type": "effect-span", "name": "sqlite", "traceId": "155a9925f0528cdfeb6952183ee48b87", "spanId": "189dd167ad8d7df4", "parentSpanId": "77c9e168b06f7da6", "startTimeUnixNano": "1796073137061075285", "endTimeUnixNano": "1796073137062253837", "durationMs": 1.178552, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009939}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "155a9925f0528cdfeb6952183ee48b87", "spanId": "77c9e168b06f7da6", "parentSpanId": "4d88cb281822b15f", "startTimeUnixNano": "1796073137058011932", "endTimeUnixNano": "1796073137062365106", "durationMs": 4.353174, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "155a9925f0528cdfeb6952183ee48b87", "spanId": "5108889ba0dec134", "parentSpanId": "4d88cb281822b15f", "startTimeUnixNano": "1796073137062374344", "endTimeUnixNano": "1796073137062749761", "durationMs": 0.375417, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "155a9925f0528cdfeb6952183ee48b87", "spanId": "4d88cb281822b15f", "parentSpanId": "ebfba5e1e5902890", "startTimeUnixNano": "1796073137055595107", "endTimeUnixNano": "1796073137062768186", "durationMs": 7.173079, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.281125, "db.connection": "reader", "db.lock_wait_ms": 1.249}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "155a9925f0528cdfeb6952183ee48b87", "spanId": "ebfba5e1e5902890", "parentSpanId": "f90e63b49b2e1631", "startTimeUnixNano": "1796073137055587213", "endTimeUnixNano": "1796073137062780780", "durationMs": 7.193567, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "155a9925f0528cdfeb6952183ee48b87", "spanId": "f90e63b49b2e1631", "parentSpanId": "4960c7e6d41ec3ca", "startTimeUnixNano": "1796073137055559220", "endTimeUnixNano": "1796073137062785769", "durationMs": 7.226549, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "155a9925f0528cdfeb6952183ee48b87", "spanId": "4960c7e6d41ec3ca", "startTimeUnixNano": "1796073137055541396", "endTimeUnixNano": "1796073137062791830", "durationMs": 7.250434, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "85613f98598cc1aa5b2f1b159a638e51", "spanId": "bd7de3d34ea40ab4", "parentSpanId": "fb10ca9fbe27f10b", "startTimeUnixNano": "1796073138516908225", "endTimeUnixNano": "1796073138517173805", "durationMs": 0.26558, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "85613f98598cc1aa5b2f1b159a638e51", "spanId": "e63eae0ff7f5bcc8", "parentSpanId": "9374b5f4817e4374", "startTimeUnixNano": "1796073138517249017", "endTimeUnixNano": "1796073138518329443", "durationMs": 1.080426, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010159}}
{"type": "effect-span", "name": "sqlite", "traceId": "85613f98598cc1aa5b2f1b159a638e51", "spanId": "ac4aa55adecdae93", "parentSpanId": "9374b5f4817e4374", "startTimeUnixNano": "1796073138518428740", "endTimeUnixNano": "1796073138519115194", "durationMs": 0.686454, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.028314}}
{"type": "effect-span", "name": "sqlite", "traceId": "85613f98598cc1aa5b2f1b159a638e51", "spanId": "891788e8581187a8", "parentSpanId": "9374b5f4817e4374", "startTimeUnixNano": "1796073138519148066", "endTimeUnixNano": "1796073138519956610", "durationMs": 0.808544, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013025}}
{"type": "effect-span", "name": "sqlite", "traceId": "85613f98598cc1aa5b2f1b159a638e51", "spanId": "ba84db38278e680e", "parentSpanId": "9374b5f4817e4374", "startTimeUnixNano": "1796073138521511029", "endTimeUnixNano": "1796073138525048586", "durationMs": 3.537557, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014357}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "85613f98598cc1aa5b2f1b159a638e51", "spanId": "9374b5f4817e4374", "parentSpanId": "fb10ca9fbe27f10b", "startTimeUnixNano": "1796073138517236113", "endTimeUnixNano": "1796073138525164455", "durationMs": 7.928342, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "85613f98598cc1aa5b2f1b159a638e51", "spanId": "54c2d01a3753fa9b", "parentSpanId": "fb10ca9fbe27f10b", "startTimeUnixNano": "1796073138525177299", "endTimeUnixNano": "1796073138525690576", "durationMs": 0.513277, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "85613f98598cc1aa5b2f1b159a638e51", "spanId": "fb10ca9fbe27f10b", "parentSpanId": "6b1095a8b6950128", "startTimeUnixNano": "1796073138513073027", "endTimeUnixNano": "1796073138525712457", "durationMs": 12.63943, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.827073, "db.connection": "reader", "db.lock_wait_ms": 3.772}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "85613f98598cc1aa5b2f1b159a638e51", "spanId": "6b1095a8b6950128", "parentSpanId": "52143644a6e9bc19", "startTimeUnixNano": "1796073138513051066", "endTimeUnixNano": "1796073138525724079", "durationMs": 12.673013, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "85613f98598cc1aa5b2f1b159a638e51", "spanId": "52143644a6e9bc19", "parentSpanId": "614a03db5134d935", "startTimeUnixNano": "1796073138512983368", "endTimeUnixNano": "1796073138525728287", "durationMs": 12.744919, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "85613f98598cc1aa5b2f1b159a638e51", "spanId": "614a03db5134d935", "startTimeUnixNano": "1796073138512951247", "endTimeUnixNano": "1796073138525734950", "durationMs": 12.783703, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a2613edad07f5cba1bfc93dc2b5087c0", "spanId": "251c164a8699f5a7", "parentSpanId": "95f5104644646f5f", "startTimeUnixNano": "1796073138755090214", "endTimeUnixNano": "1796073138755248692", "durationMs": 0.158478, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2613edad07f5cba1bfc93dc2b5087c0", "spanId": "bed636faf26c28d8", "parentSpanId": "232f23be5b1a4181", "startTimeUnixNano": "1796073138755323493", "endTimeUnixNano": "1796073138755584786", "durationMs": 0.261293, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006152}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2613edad07f5cba1bfc93dc2b5087c0", "spanId": "c2ddfb111bcb9ec7", "parentSpanId": "232f23be5b1a4181", "startTimeUnixNano": "1796073138755658324", "endTimeUnixNano": "1796073138758176059", "durationMs": 2.517735, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008086}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2613edad07f5cba1bfc93dc2b5087c0", "spanId": "04fab2c15bc398e6", "parentSpanId": "232f23be5b1a4181", "startTimeUnixNano": "1796073138758201888", "endTimeUnixNano": "1796073138759083309", "durationMs": 0.881421, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009588}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2613edad07f5cba1bfc93dc2b5087c0", "spanId": "4c16c1d584b21b18", "parentSpanId": "232f23be5b1a4181", "startTimeUnixNano": "1796073138760673296", "endTimeUnixNano": "1796073138761951284", "durationMs": 1.277988, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013615}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a2613edad07f5cba1bfc93dc2b5087c0", "spanId": "232f23be5b1a4181", "parentSpanId": "95f5104644646f5f", "startTimeUnixNano": "1796073138755313945", "endTimeUnixNano": "1796073138762050932", "durationMs": 6.736987, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a2613edad07f5cba1bfc93dc2b5087c0", "spanId": "bde0afee66d47508", "parentSpanId": "95f5104644646f5f", "startTimeUnixNano": "1796073138762061332", "endTimeUnixNano": "1796073138762415679", "durationMs": 0.354347, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a2613edad07f5cba1bfc93dc2b5087c0", "spanId": "95f5104644646f5f", "parentSpanId": "c8fbcc5a81a5b2c7", "startTimeUnixNano": "1796073138753896855", "endTimeUnixNano": "1796073138762468319", "durationMs": 8.571464, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.190183, "db.connection": "reader", "db.lock_wait_ms": 1.153}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a2613edad07f5cba1bfc93dc2b5087c0", "spanId": "c8fbcc5a81a5b2c7", "parentSpanId": "52f532a74719b33c", "startTimeUnixNano": "1796073138753888289", "endTimeUnixNano": "1796073138762484710", "durationMs": 8.596421, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a2613edad07f5cba1bfc93dc2b5087c0", "spanId": "52f532a74719b33c", "parentSpanId": "01585c14330f5a9e", "startTimeUnixNano": "1796073138753848664", "endTimeUnixNano": "1796073138762489068", "durationMs": 8.640404, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a2613edad07f5cba1bfc93dc2b5087c0", "spanId": "01585c14330f5a9e", "startTimeUnixNano": "1796073138753831241", "endTimeUnixNano": "1796073138762495911", "durationMs": 8.66467, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fa4aa3c22e6721a529e3f5da302d656e", "spanId": "db8d16a517d216f7", "parentSpanId": "6104dd496de731a6", "startTimeUnixNano": "1796073140194065735", "endTimeUnixNano": "1796073140194233852", "durationMs": 0.168117, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa4aa3c22e6721a529e3f5da302d656e", "spanId": "437eb23040918500", "parentSpanId": "2936981982e23d60", "startTimeUnixNano": "1796073140194285089", "endTimeUnixNano": "1796073140195119181", "durationMs": 0.834092, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.017883}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa4aa3c22e6721a529e3f5da302d656e", "spanId": "c2ceed2b95450793", "parentSpanId": "2936981982e23d60", "startTimeUnixNano": "1796073140195206175", "endTimeUnixNano": "1796073140195931842", "durationMs": 0.725667, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015639}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa4aa3c22e6721a529e3f5da302d656e", "spanId": "c31b19df38f9e196", "parentSpanId": "2936981982e23d60", "startTimeUnixNano": "1796073140195969483", "endTimeUnixNano": "1796073140196944120", "durationMs": 0.974637, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011101}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa4aa3c22e6721a529e3f5da302d656e", "spanId": "286845a345064fb9", "parentSpanId": "2936981982e23d60", "startTimeUnixNano": "1796073140199733437", "endTimeUnixNano": "1796073140200882222", "durationMs": 1.148785, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014397}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fa4aa3c22e6721a529e3f5da302d656e", "spanId": "2936981982e23d60", "parentSpanId": "6104dd496de731a6", "startTimeUnixNano": "1796073140194277234", "endTimeUnixNano": "1796073140201032866", "durationMs": 6.755632, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fa4aa3c22e6721a529e3f5da302d656e", "spanId": "7b60ab1941772314", "parentSpanId": "6104dd496de731a6", "startTimeUnixNano": "1796073140201047022", "endTimeUnixNano": "1796073140202857895", "durationMs": 1.810873, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fa4aa3c22e6721a529e3f5da302d656e", "spanId": "6104dd496de731a6", "parentSpanId": "d7bb27389fba0844", "startTimeUnixNano": "1796073140190827513", "endTimeUnixNano": "1796073140202888192", "durationMs": 12.060679, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.234115, "db.connection": "reader", "db.lock_wait_ms": 3.166}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fa4aa3c22e6721a529e3f5da302d656e", "spanId": "d7bb27389fba0844", "parentSpanId": "1bd2ac14960d2f2c", "startTimeUnixNano": "1796073140190815019", "endTimeUnixNano": "1796073140202906206", "durationMs": 12.091187, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fa4aa3c22e6721a529e3f5da302d656e", "spanId": "1bd2ac14960d2f2c", "parentSpanId": "21ae6de0fcf8a0a7", "startTimeUnixNano": "1796073140190757982", "endTimeUnixNano": "1796073140202912829", "durationMs": 12.154847, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fa4aa3c22e6721a529e3f5da302d656e", "spanId": "21ae6de0fcf8a0a7", "startTimeUnixNano": "1796073140190734006", "endTimeUnixNano": "1796073140202922096", "durationMs": 12.18809, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "86137915700030c93e9b3a961444868a", "spanId": "a3e74570e11b66b5", "parentSpanId": "4dcda53f097c1e74", "startTimeUnixNano": "1796073140458073125", "endTimeUnixNano": "1796073140458272580", "durationMs": 0.199455, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "86137915700030c93e9b3a961444868a", "spanId": "64df9bcd70254e9b", "parentSpanId": "d63cc19561f4b530", "startTimeUnixNano": "1796073140458328636", "endTimeUnixNano": "1796073140458573407", "durationMs": 0.244771, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006282}}
{"type": "effect-span", "name": "sqlite", "traceId": "86137915700030c93e9b3a961444868a", "spanId": "22500bc3c4b3ddbe", "parentSpanId": "d63cc19561f4b530", "startTimeUnixNano": "1796073140458643349", "endTimeUnixNano": "1796073140459041289", "durationMs": 0.39794, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008416}}
{"type": "effect-span", "name": "sqlite", "traceId": "86137915700030c93e9b3a961444868a", "spanId": "da7e482435ad0428", "parentSpanId": "d63cc19561f4b530", "startTimeUnixNano": "1796073140459056919", "endTimeUnixNano": "1796073140459794599", "durationMs": 0.73768, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006231}}
{"type": "effect-span", "name": "sqlite", "traceId": "86137915700030c93e9b3a961444868a", "spanId": "d8e139025ff1c699", "parentSpanId": "d63cc19561f4b530", "startTimeUnixNano": "1796073140461384195", "endTimeUnixNano": "1796073140462784133", "durationMs": 1.399938, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014798}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "86137915700030c93e9b3a961444868a", "spanId": "d63cc19561f4b530", "parentSpanId": "4dcda53f097c1e74", "startTimeUnixNano": "1796073140458321052", "endTimeUnixNano": "1796073140462934937", "durationMs": 4.613885, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "86137915700030c93e9b3a961444868a", "spanId": "5aebc8e682ae998c", "parentSpanId": "4dcda53f097c1e74", "startTimeUnixNano": "1796073140462960736", "endTimeUnixNano": "1796073140463272093", "durationMs": 0.311357, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "86137915700030c93e9b3a961444868a", "spanId": "4dcda53f097c1e74", "parentSpanId": "94054ce481c11d8c", "startTimeUnixNano": "1796073140456914491", "endTimeUnixNano": "1796073140463301819", "durationMs": 6.387328, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.155137, "db.connection": "reader", "db.lock_wait_ms": 1.118}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "86137915700030c93e9b3a961444868a", "spanId": "94054ce481c11d8c", "parentSpanId": "a09b6baab1b6a636", "startTimeUnixNano": "1796073140456906105", "endTimeUnixNano": "1796073140463318700", "durationMs": 6.412595, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "86137915700030c93e9b3a961444868a", "spanId": "a09b6baab1b6a636", "parentSpanId": "c60438a9a1ae1d6a", "startTimeUnixNano": "1796073140456870097", "endTimeUnixNano": "1796073140463323590", "durationMs": 6.453493, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "86137915700030c93e9b3a961444868a", "spanId": "c60438a9a1ae1d6a", "startTimeUnixNano": "1796073140456854598", "endTimeUnixNano": "1796073140463330072", "durationMs": 6.475474, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5f51eeb13e57ab803d6791fdb2b290a7", "spanId": "6a9c3e8c1450f02c", "parentSpanId": "7055391a05663af4", "startTimeUnixNano": "1796073141896789090", "endTimeUnixNano": "1796073141896935135", "durationMs": 0.146045, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5f51eeb13e57ab803d6791fdb2b290a7", "spanId": "832de445c785ff12", "parentSpanId": "d82769e434cbff5d", "startTimeUnixNano": "1796073141896975882", "endTimeUnixNano": "1796073141897673437", "durationMs": 0.697555, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005761}}
{"type": "effect-span", "name": "sqlite", "traceId": "5f51eeb13e57ab803d6791fdb2b290a7", "spanId": "08e1a8663f97a19c", "parentSpanId": "d82769e434cbff5d", "startTimeUnixNano": "1796073141897754089", "endTimeUnixNano": "1796073141898462604", "durationMs": 0.708515, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008996}}
{"type": "effect-span", "name": "sqlite", "traceId": "5f51eeb13e57ab803d6791fdb2b290a7", "spanId": "5b69b9de0cbfb24d", "parentSpanId": "d82769e434cbff5d", "startTimeUnixNano": "1796073141898495055", "endTimeUnixNano": "1796073141899227265", "durationMs": 0.73221, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01051}}
{"type": "effect-span", "name": "sqlite", "traceId": "5f51eeb13e57ab803d6791fdb2b290a7", "spanId": "609723e2070a7669", "parentSpanId": "d82769e434cbff5d", "startTimeUnixNano": "1796073141901115844", "endTimeUnixNano": "1796073141903023449", "durationMs": 1.907605, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018064}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5f51eeb13e57ab803d6791fdb2b290a7", "spanId": "d82769e434cbff5d", "parentSpanId": "7055391a05663af4", "startTimeUnixNano": "1796073141896969801", "endTimeUnixNano": "1796073141903165577", "durationMs": 6.195776, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5f51eeb13e57ab803d6791fdb2b290a7", "spanId": "13bdc300df530d0d", "parentSpanId": "7055391a05663af4", "startTimeUnixNano": "1796073141903176638", "endTimeUnixNano": "1796073141903868111", "durationMs": 0.691473, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5f51eeb13e57ab803d6791fdb2b290a7", "spanId": "7055391a05663af4", "parentSpanId": "ee633cbad1858eff", "startTimeUnixNano": "1796073141894592340", "endTimeUnixNano": "1796073141903891014", "durationMs": 9.298674, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.192452, "db.connection": "reader", "db.lock_wait_ms": 2.153}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5f51eeb13e57ab803d6791fdb2b290a7", "spanId": "ee633cbad1858eff", "parentSpanId": "e189bee93ac22de8", "startTimeUnixNano": "1796073141894583463", "endTimeUnixNano": "1796073141903904219", "durationMs": 9.320756, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5f51eeb13e57ab803d6791fdb2b290a7", "spanId": "e189bee93ac22de8", "parentSpanId": "4d38506f057c2bcf", "startTimeUnixNano": "1796073141894537587", "endTimeUnixNano": "1796073141903909379", "durationMs": 9.371792, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5f51eeb13e57ab803d6791fdb2b290a7", "spanId": "4d38506f057c2bcf", "startTimeUnixNano": "1796073141894518501", "endTimeUnixNano": "1796073141903920239", "durationMs": 9.401738, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0a5bf4fca90a3d72736542663f7f22d2", "spanId": "060acedf8f1d9131", "parentSpanId": "069956be2bbdd4df", "startTimeUnixNano": "1796073142154333000", "endTimeUnixNano": "1796073142154593561", "durationMs": 0.260561, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0a5bf4fca90a3d72736542663f7f22d2", "spanId": "b37e0c99af259518", "parentSpanId": "af96d9eb9048eb60", "startTimeUnixNano": "1796073142154692868", "endTimeUnixNano": "1796073142155108902", "durationMs": 0.416034, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010209}}
{"type": "effect-span", "name": "sqlite", "traceId": "0a5bf4fca90a3d72736542663f7f22d2", "spanId": "be1b747ac50b9f62", "parentSpanId": "af96d9eb9048eb60", "startTimeUnixNano": "1796073142155241832", "endTimeUnixNano": "1796073142156389054", "durationMs": 1.147222, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015059}}
{"type": "effect-span", "name": "sqlite", "traceId": "0a5bf4fca90a3d72736542663f7f22d2", "spanId": "5cc8878858308541", "parentSpanId": "af96d9eb9048eb60", "startTimeUnixNano": "1796073142156418430", "endTimeUnixNano": "1796073142157480231", "durationMs": 1.061801, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.035236}}
{"type": "effect-span", "name": "sqlite", "traceId": "0a5bf4fca90a3d72736542663f7f22d2", "spanId": "83a0ea1503d7ed95", "parentSpanId": "af96d9eb9048eb60", "startTimeUnixNano": "1796073142159277829", "endTimeUnixNano": "1796073142160861914", "durationMs": 1.584085, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014948}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0a5bf4fca90a3d72736542663f7f22d2", "spanId": "af96d9eb9048eb60", "parentSpanId": "069956be2bbdd4df", "startTimeUnixNano": "1796073142154679883", "endTimeUnixNano": "1796073142161032556", "durationMs": 6.352673, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0a5bf4fca90a3d72736542663f7f22d2", "spanId": "149cbafb2a6aa0c8", "parentSpanId": "069956be2bbdd4df", "startTimeUnixNano": "1796073142161053325", "endTimeUnixNano": "1796073142161500257", "durationMs": 0.446932, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0a5bf4fca90a3d72736542663f7f22d2", "spanId": "069956be2bbdd4df", "parentSpanId": "03a987956b268f88", "startTimeUnixNano": "1796073142151720146", "endTimeUnixNano": "1796073142161533870", "durationMs": 9.813724, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.606832, "db.connection": "reader", "db.lock_wait_ms": 2.553}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0a5bf4fca90a3d72736542663f7f22d2", "spanId": "03a987956b268f88", "parentSpanId": "a1de3354c525dac3", "startTimeUnixNano": "1796073142151704747", "endTimeUnixNano": "1796073142161556643", "durationMs": 9.851896, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0a5bf4fca90a3d72736542663f7f22d2", "spanId": "a1de3354c525dac3", "parentSpanId": "2fe812b9bb7c7b53", "startTimeUnixNano": "1796073142151649342", "endTimeUnixNano": "1796073142161563907", "durationMs": 9.914565, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0a5bf4fca90a3d72736542663f7f22d2", "spanId": "2fe812b9bb7c7b53", "startTimeUnixNano": "1796073142151626239", "endTimeUnixNano": "1796073142161574407", "durationMs": 9.948168, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "afe54ae3ce53bac693df0cedaa36bec9", "spanId": "79537a0867ef9611", "parentSpanId": "03470e0b6f245e90", "startTimeUnixNano": "1796073143540900978", "endTimeUnixNano": "1796073143541085115", "durationMs": 0.184137, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "afe54ae3ce53bac693df0cedaa36bec9", "spanId": "8d2794c196676684", "parentSpanId": "8a8acb47b8b126ec", "startTimeUnixNano": "1796073143541127725", "endTimeUnixNano": "1796073143541950916", "durationMs": 0.823191, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006061}}
{"type": "effect-span", "name": "sqlite", "traceId": "afe54ae3ce53bac693df0cedaa36bec9", "spanId": "5367b35ffc6f2263", "parentSpanId": "8a8acb47b8b126ec", "startTimeUnixNano": "1796073143542042329", "endTimeUnixNano": "1796073143542708424", "durationMs": 0.666095, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010249}}
{"type": "effect-span", "name": "sqlite", "traceId": "afe54ae3ce53bac693df0cedaa36bec9", "spanId": "ddeb834b32bd6f1b", "parentSpanId": "8a8acb47b8b126ec", "startTimeUnixNano": "1796073143542726518", "endTimeUnixNano": "1796073143543459369", "durationMs": 0.732851, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008306}}
{"type": "effect-span", "name": "sqlite", "traceId": "afe54ae3ce53bac693df0cedaa36bec9", "spanId": "ec86d46d37e262cb", "parentSpanId": "8a8acb47b8b126ec", "startTimeUnixNano": "1796073143545153572", "endTimeUnixNano": "1796073143547193266", "durationMs": 2.039694, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018355}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "afe54ae3ce53bac693df0cedaa36bec9", "spanId": "8a8acb47b8b126ec", "parentSpanId": "03470e0b6f245e90", "startTimeUnixNano": "1796073143541120331", "endTimeUnixNano": "1796073143547335174", "durationMs": 6.214843, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "afe54ae3ce53bac693df0cedaa36bec9", "spanId": "e41092557c0e9a1b", "parentSpanId": "03470e0b6f245e90", "startTimeUnixNano": "1796073143547347587", "endTimeUnixNano": "1796073143547801482", "durationMs": 0.453895, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "afe54ae3ce53bac693df0cedaa36bec9", "spanId": "03470e0b6f245e90", "parentSpanId": "b25657304c62073b", "startTimeUnixNano": "1796073143537942672", "endTimeUnixNano": "1796073143547830477", "durationMs": 9.887805, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.953106, "db.connection": "reader", "db.lock_wait_ms": 2.913}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "afe54ae3ce53bac693df0cedaa36bec9", "spanId": "b25657304c62073b", "parentSpanId": "232c2857c538ef78", "startTimeUnixNano": "1796073143537932253", "endTimeUnixNano": "1796073143547844904", "durationMs": 9.912651, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "afe54ae3ce53bac693df0cedaa36bec9", "spanId": "232c2857c538ef78", "parentSpanId": "6090cb627e7b0cb6", "startTimeUnixNano": "1796073143537880615", "endTimeUnixNano": "1796073143547850124", "durationMs": 9.969509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "afe54ae3ce53bac693df0cedaa36bec9", "spanId": "6090cb627e7b0cb6", "startTimeUnixNano": "1796073143537854957", "endTimeUnixNano": "1796073143547859341", "durationMs": 10.004384, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9997d7ed21869f48448ab58cdcfea993", "spanId": "ff1626cf582ade19", "parentSpanId": "56cbb7ab4fe78609", "startTimeUnixNano": "1796073143804212697", "endTimeUnixNano": "1796073143804595719", "durationMs": 0.383022, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9997d7ed21869f48448ab58cdcfea993", "spanId": "e86c0583d51c3717", "parentSpanId": "eb52776c967f5192", "startTimeUnixNano": "1796073143804664379", "endTimeUnixNano": "1796073143805019278", "durationMs": 0.354899, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013205}}
{"type": "effect-span", "name": "sqlite", "traceId": "9997d7ed21869f48448ab58cdcfea993", "spanId": "4f5c324a38ae68e2", "parentSpanId": "eb52776c967f5192", "startTimeUnixNano": "1796073143805141137", "endTimeUnixNano": "1796073143805942097", "durationMs": 0.80096, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016521}}
{"type": "effect-span", "name": "sqlite", "traceId": "9997d7ed21869f48448ab58cdcfea993", "spanId": "46afbf4102079cb5", "parentSpanId": "eb52776c967f5192", "startTimeUnixNano": "1796073143805970951", "endTimeUnixNano": "1796073143806639231", "durationMs": 0.66828, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01054}}
{"type": "effect-span", "name": "sqlite", "traceId": "9997d7ed21869f48448ab58cdcfea993", "spanId": "92a39e06d8fb3774", "parentSpanId": "eb52776c967f5192", "startTimeUnixNano": "1796073143809576065", "endTimeUnixNano": "1796073143813466948", "durationMs": 3.890883, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017493}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9997d7ed21869f48448ab58cdcfea993", "spanId": "eb52776c967f5192", "parentSpanId": "56cbb7ab4fe78609", "startTimeUnixNano": "1796073143804655953", "endTimeUnixNano": "1796073143813657517", "durationMs": 9.001564, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9997d7ed21869f48448ab58cdcfea993", "spanId": "ff00182dcf394c81", "parentSpanId": "56cbb7ab4fe78609", "startTimeUnixNano": "1796073143813676804", "endTimeUnixNano": "1796073143814104299", "durationMs": 0.427495, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9997d7ed21869f48448ab58cdcfea993", "spanId": "56cbb7ab4fe78609", "parentSpanId": "25eb98531289ae9d", "startTimeUnixNano": "1796073143802084517", "endTimeUnixNano": "1796073143814132062", "durationMs": 12.047545, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.123201, "db.connection": "reader", "db.lock_wait_ms": 2.042}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9997d7ed21869f48448ab58cdcfea993", "spanId": "25eb98531289ae9d", "parentSpanId": "2ecf8f2f6fb33b83", "startTimeUnixNano": "1796073143802068436", "endTimeUnixNano": "1796073143814157399", "durationMs": 12.088963, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9997d7ed21869f48448ab58cdcfea993", "spanId": "2ecf8f2f6fb33b83", "parentSpanId": "940ad97024343ada", "startTimeUnixNano": "1796073143802004797", "endTimeUnixNano": "1796073143814164944", "durationMs": 12.160147, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9997d7ed21869f48448ab58cdcfea993", "spanId": "940ad97024343ada", "startTimeUnixNano": "1796073143801976233", "endTimeUnixNano": "1796073143814174832", "durationMs": 12.198599, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ab534ffb3422b76269df97c2a1044ab9", "spanId": "029021c5e8578cb6", "parentSpanId": "c74e8f256223510f", "startTimeUnixNano": "1796073145241967105", "endTimeUnixNano": "1796073145242139850", "durationMs": 0.172745, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab534ffb3422b76269df97c2a1044ab9", "spanId": "4895f79011f2e46a", "parentSpanId": "7f45d52f702d9452", "startTimeUnixNano": "1796073145242183693", "endTimeUnixNano": "1796073145242946300", "durationMs": 0.762607, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006111}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab534ffb3422b76269df97c2a1044ab9", "spanId": "6d7ce7f60885f237", "parentSpanId": "7f45d52f702d9452", "startTimeUnixNano": "1796073145243026942", "endTimeUnixNano": "1796073145243701694", "durationMs": 0.674752, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008676}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab534ffb3422b76269df97c2a1044ab9", "spanId": "e0eeda7de8168589", "parentSpanId": "7f45d52f702d9452", "startTimeUnixNano": "1796073145243722242", "endTimeUnixNano": "1796073145244447339", "durationMs": 0.725097, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008236}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab534ffb3422b76269df97c2a1044ab9", "spanId": "76dce9f04b622fa5", "parentSpanId": "7f45d52f702d9452", "startTimeUnixNano": "1796073145245943639", "endTimeUnixNano": "1796073145247797312", "durationMs": 1.853673, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011972}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ab534ffb3422b76269df97c2a1044ab9", "spanId": "7f45d52f702d9452", "parentSpanId": "c74e8f256223510f", "startTimeUnixNano": "1796073145242176660", "endTimeUnixNano": "1796073145247937767", "durationMs": 5.761107, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ab534ffb3422b76269df97c2a1044ab9", "spanId": "ae84180c39c26964", "parentSpanId": "c74e8f256223510f", "startTimeUnixNano": "1796073145247951503", "endTimeUnixNano": "1796073145248360654", "durationMs": 0.409151, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ab534ffb3422b76269df97c2a1044ab9", "spanId": "c74e8f256223510f", "parentSpanId": "daf2c8a9eccf3ece", "startTimeUnixNano": "1796073145239305759", "endTimeUnixNano": "1796073145248383537", "durationMs": 9.077778, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.654373, "db.connection": "reader", "db.lock_wait_ms": 2.581}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ab534ffb3422b76269df97c2a1044ab9", "spanId": "daf2c8a9eccf3ece", "parentSpanId": "06ca41608d1d7dad", "startTimeUnixNano": "1796073145239287425", "endTimeUnixNano": "1796073145248396782", "durationMs": 9.109357, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ab534ffb3422b76269df97c2a1044ab9", "spanId": "06ca41608d1d7dad", "parentSpanId": "988cd0c64620ff2e", "startTimeUnixNano": "1796073145239217874", "endTimeUnixNano": "1796073145248402854", "durationMs": 9.18498, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ab534ffb3422b76269df97c2a1044ab9", "spanId": "988cd0c64620ff2e", "startTimeUnixNano": "1796073145239184871", "endTimeUnixNano": "1796073145248412963", "durationMs": 9.228092, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "dbf1a231e50c2f28a52abab77346ef5d", "spanId": "0fc28d285867a05b", "parentSpanId": "996ec355f02ae8f3", "startTimeUnixNano": "1796073145471463035", "endTimeUnixNano": "1796073145471631944", "durationMs": 0.168909, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "dbf1a231e50c2f28a52abab77346ef5d", "spanId": "3bf3cdc2fba8360a", "parentSpanId": "27b38a6e42e42f5b", "startTimeUnixNano": "1796073145471681357", "endTimeUnixNano": "1796073145471909006", "durationMs": 0.227649, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00561}}
{"type": "effect-span", "name": "sqlite", "traceId": "dbf1a231e50c2f28a52abab77346ef5d", "spanId": "4876a13880285372", "parentSpanId": "27b38a6e42e42f5b", "startTimeUnixNano": "1796073145471987474", "endTimeUnixNano": "1796073145472548391", "durationMs": 0.560917, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007895}}
{"type": "effect-span", "name": "sqlite", "traceId": "dbf1a231e50c2f28a52abab77346ef5d", "spanId": "9b8d1bad7dfce2b8", "parentSpanId": "27b38a6e42e42f5b", "startTimeUnixNano": "1796073145472566846", "endTimeUnixNano": "1796073145473136579", "durationMs": 0.569733, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007093}}
{"type": "effect-span", "name": "sqlite", "traceId": "dbf1a231e50c2f28a52abab77346ef5d", "spanId": "e9a24445aa6926b5", "parentSpanId": "27b38a6e42e42f5b", "startTimeUnixNano": "1796073145474747776", "endTimeUnixNano": "1796073145475795691", "durationMs": 1.047915, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013896}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "dbf1a231e50c2f28a52abab77346ef5d", "spanId": "27b38a6e42e42f5b", "parentSpanId": "996ec355f02ae8f3", "startTimeUnixNano": "1796073145471674935", "endTimeUnixNano": "1796073145475928511", "durationMs": 4.253576, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "dbf1a231e50c2f28a52abab77346ef5d", "spanId": "23fac9c8e44d28ab", "parentSpanId": "996ec355f02ae8f3", "startTimeUnixNano": "1796073145475940714", "endTimeUnixNano": "1796073145476572625", "durationMs": 0.631911, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "dbf1a231e50c2f28a52abab77346ef5d", "spanId": "996ec355f02ae8f3", "parentSpanId": "938b7d60232895c2", "startTimeUnixNano": "1796073145469922342", "endTimeUnixNano": "1796073145476596209", "durationMs": 6.673867, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.533289, "db.connection": "reader", "db.lock_wait_ms": 1.493}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "dbf1a231e50c2f28a52abab77346ef5d", "spanId": "938b7d60232895c2", "parentSpanId": "efc08175db205b45", "startTimeUnixNano": "1796073145469914006", "endTimeUnixNano": "1796073145476614344", "durationMs": 6.700338, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "dbf1a231e50c2f28a52abab77346ef5d", "spanId": "efc08175db205b45", "parentSpanId": "67bd7fba5ac4b31a", "startTimeUnixNano": "1796073145469874361", "endTimeUnixNano": "1796073145476620235", "durationMs": 6.745874, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "dbf1a231e50c2f28a52abab77346ef5d", "spanId": "67bd7fba5ac4b31a", "startTimeUnixNano": "1796073145469858912", "endTimeUnixNano": "1796073145476629843", "durationMs": 6.770931, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "80357000c2251d2bd9f7c8af7fb2ac6f", "spanId": "406f1b4e25a01e81", "parentSpanId": "be2838a39ffc74d0", "startTimeUnixNano": "1796073146960476006", "endTimeUnixNano": "1796073146964841093", "durationMs": 4.365087, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "80357000c2251d2bd9f7c8af7fb2ac6f", "spanId": "59986c7ce09170ec", "parentSpanId": "2bb3a51ae7509e3f", "startTimeUnixNano": "1796073146964922666", "endTimeUnixNano": "1796073146965877716", "durationMs": 0.95505, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007134}}
{"type": "effect-span", "name": "sqlite", "traceId": "80357000c2251d2bd9f7c8af7fb2ac6f", "spanId": "3f980f06e6b35003", "parentSpanId": "2bb3a51ae7509e3f", "startTimeUnixNano": "1796073146965962987", "endTimeUnixNano": "1796073146967402019", "durationMs": 1.439032, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009017}}
{"type": "effect-span", "name": "sqlite", "traceId": "80357000c2251d2bd9f7c8af7fb2ac6f", "spanId": "f19de23e39573cba", "parentSpanId": "2bb3a51ae7509e3f", "startTimeUnixNano": "1796073146967451713", "endTimeUnixNano": "1796073146968105715", "durationMs": 0.654002, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013405}}
{"type": "effect-span", "name": "sqlite", "traceId": "80357000c2251d2bd9f7c8af7fb2ac6f", "spanId": "611bf8aae427aae1", "parentSpanId": "2bb3a51ae7509e3f", "startTimeUnixNano": "1796073146971016361", "endTimeUnixNano": "1796073146972278359", "durationMs": 1.261998, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016631}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "80357000c2251d2bd9f7c8af7fb2ac6f", "spanId": "2bb3a51ae7509e3f", "parentSpanId": "be2838a39ffc74d0", "startTimeUnixNano": "1796073146964914832", "endTimeUnixNano": "1796073146972490759", "durationMs": 7.575927, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "80357000c2251d2bd9f7c8af7fb2ac6f", "spanId": "a86f3eddf599e07c", "parentSpanId": "be2838a39ffc74d0", "startTimeUnixNano": "1796073146972518672", "endTimeUnixNano": "1796073146972654728", "durationMs": 0.136056, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "80357000c2251d2bd9f7c8af7fb2ac6f", "spanId": "be2838a39ffc74d0", "parentSpanId": "a15515b53561af92", "startTimeUnixNano": "1796073146957663496", "endTimeUnixNano": "1796073146972698330", "durationMs": 15.034834, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.802321, "db.connection": "reader", "db.lock_wait_ms": 2.713}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "80357000c2251d2bd9f7c8af7fb2ac6f", "spanId": "a15515b53561af92", "parentSpanId": "9c515be398957ef8", "startTimeUnixNano": "1796073146957642256", "endTimeUnixNano": "1796073146972733206", "durationMs": 15.09095, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "80357000c2251d2bd9f7c8af7fb2ac6f", "spanId": "9c515be398957ef8", "parentSpanId": "a78591a3281dd3cf", "startTimeUnixNano": "1796073146957558217", "endTimeUnixNano": "1796073146972746451", "durationMs": 15.188234, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "80357000c2251d2bd9f7c8af7fb2ac6f", "spanId": "a78591a3281dd3cf", "startTimeUnixNano": "1796073146957525285", "endTimeUnixNano": "1796073146972762622", "durationMs": 15.237337, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6fa0d428f6fa4a6dcf0cb38c6aec9b15", "spanId": "fa646fc023d0c524", "parentSpanId": "4c93ac5e2cb812de", "startTimeUnixNano": "1796073147211079457", "endTimeUnixNano": "1796073147211242915", "durationMs": 0.163458, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6fa0d428f6fa4a6dcf0cb38c6aec9b15", "spanId": "d34fe3e652e454a7", "parentSpanId": "f602a6b7d48ce919", "startTimeUnixNano": "1796073147211292398", "endTimeUnixNano": "1796073147211559411", "durationMs": 0.267013, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005881}}
{"type": "effect-span", "name": "sqlite", "traceId": "6fa0d428f6fa4a6dcf0cb38c6aec9b15", "spanId": "76c2301716739922", "parentSpanId": "f602a6b7d48ce919", "startTimeUnixNano": "1796073147211641626", "endTimeUnixNano": "1796073147212410626", "durationMs": 0.769, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008025}}
{"type": "effect-span", "name": "sqlite", "traceId": "6fa0d428f6fa4a6dcf0cb38c6aec9b15", "spanId": "36619f59a2777f14", "parentSpanId": "f602a6b7d48ce919", "startTimeUnixNano": "1796073147212428820", "endTimeUnixNano": "1796073147213350978", "durationMs": 0.922158, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.024386}}
{"type": "effect-span", "name": "sqlite", "traceId": "6fa0d428f6fa4a6dcf0cb38c6aec9b15", "spanId": "a10f738c47691de2", "parentSpanId": "f602a6b7d48ce919", "startTimeUnixNano": "1796073147215486502", "endTimeUnixNano": "1796073147216780681", "durationMs": 1.294179, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.029115}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6fa0d428f6fa4a6dcf0cb38c6aec9b15", "spanId": "f602a6b7d48ce919", "parentSpanId": "4c93ac5e2cb812de", "startTimeUnixNano": "1796073147211285655", "endTimeUnixNano": "1796073147216956613", "durationMs": 5.670958, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6fa0d428f6fa4a6dcf0cb38c6aec9b15", "spanId": "de39039fcac310e5", "parentSpanId": "4c93ac5e2cb812de", "startTimeUnixNano": "1796073147216971671", "endTimeUnixNano": "1796073147217519975", "durationMs": 0.548304, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6fa0d428f6fa4a6dcf0cb38c6aec9b15", "spanId": "4c93ac5e2cb812de", "parentSpanId": "f4b9645ed214632a", "startTimeUnixNano": "1796073147209374444", "endTimeUnixNano": "1796073147217556794", "durationMs": 8.18235, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.699583, "db.connection": "reader", "db.lock_wait_ms": 1.621}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6fa0d428f6fa4a6dcf0cb38c6aec9b15", "spanId": "f4b9645ed214632a", "parentSpanId": "e39048d0c74a1473", "startTimeUnixNano": "1796073147209354326", "endTimeUnixNano": "1796073147217585448", "durationMs": 8.231122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6fa0d428f6fa4a6dcf0cb38c6aec9b15", "spanId": "e39048d0c74a1473", "parentSpanId": "dbbaadde1f20f1f3", "startTimeUnixNano": "1796073147209280697", "endTimeUnixNano": "1796073147217594355", "durationMs": 8.313658, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6fa0d428f6fa4a6dcf0cb38c6aec9b15", "spanId": "dbbaadde1f20f1f3", "startTimeUnixNano": "1796073147209248797", "endTimeUnixNano": "1796073147217607269", "durationMs": 8.358472, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9f39f46341979240c49ebbb9ad7bc394", "spanId": "5077b04b1a16e933", "parentSpanId": "6488bdb40d383095", "startTimeUnixNano": "1796073148806712640", "endTimeUnixNano": "1796073148807032082", "durationMs": 0.319442, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f39f46341979240c49ebbb9ad7bc394", "spanId": "380ab304779536de", "parentSpanId": "96b4308530c820c8", "startTimeUnixNano": "1796073148807130016", "endTimeUnixNano": "1796073148808798761", "durationMs": 1.668745, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011522}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f39f46341979240c49ebbb9ad7bc394", "spanId": "866d5806aea86e61", "parentSpanId": "96b4308530c820c8", "startTimeUnixNano": "1796073148809025048", "endTimeUnixNano": "1796073148810036644", "durationMs": 1.011596, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018184}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f39f46341979240c49ebbb9ad7bc394", "spanId": "4fa439e7e5a35776", "parentSpanId": "96b4308530c820c8", "startTimeUnixNano": "1796073148810059397", "endTimeUnixNano": "1796073148811038923", "durationMs": 0.979526, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011572}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f39f46341979240c49ebbb9ad7bc394", "spanId": "c66d53859da97951", "parentSpanId": "96b4308530c820c8", "startTimeUnixNano": "1796073148812733186", "endTimeUnixNano": "1796073148813744612", "durationMs": 1.011426, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022112}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9f39f46341979240c49ebbb9ad7bc394", "spanId": "96b4308530c820c8", "parentSpanId": "6488bdb40d383095", "startTimeUnixNano": "1796073148807112904", "endTimeUnixNano": "1796073148813910405", "durationMs": 6.797501, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9f39f46341979240c49ebbb9ad7bc394", "spanId": "568fa0b87e35ac95", "parentSpanId": "6488bdb40d383095", "startTimeUnixNano": "1796073148813936955", "endTimeUnixNano": "1796073148814547616", "durationMs": 0.610661, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9f39f46341979240c49ebbb9ad7bc394", "spanId": "6488bdb40d383095", "parentSpanId": "988c88a1d272d474", "startTimeUnixNano": "1796073148802508727", "endTimeUnixNano": "1796073148814575328", "durationMs": 12.066601, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.193213, "db.connection": "reader", "db.lock_wait_ms": 4.122}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9f39f46341979240c49ebbb9ad7bc394", "spanId": "988c88a1d272d474", "parentSpanId": "62dc90d34214f0ea", "startTimeUnixNano": "1796073148802494190", "endTimeUnixNano": "1796073148814596688", "durationMs": 12.102498, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9f39f46341979240c49ebbb9ad7bc394", "spanId": "62dc90d34214f0ea", "parentSpanId": "310eac7cfe16c91f", "startTimeUnixNano": "1796073148802422074", "endTimeUnixNano": "1796073148814602719", "durationMs": 12.180645, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9f39f46341979240c49ebbb9ad7bc394", "spanId": "310eac7cfe16c91f", "startTimeUnixNano": "1796073148802389111", "endTimeUnixNano": "1796073148814613590", "durationMs": 12.224479, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3d32f270eb293c35e8e1a8361200b5d8", "spanId": "5b307db0239c19bb", "parentSpanId": "d955d119c071fe4d", "startTimeUnixNano": "1796073149091714799", "endTimeUnixNano": "1796073149092391815", "durationMs": 0.677016, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d32f270eb293c35e8e1a8361200b5d8", "spanId": "4c93af6292e0488a", "parentSpanId": "32bee1aa0d691c7b", "startTimeUnixNano": "1796073149092461235", "endTimeUnixNano": "1796073149093006854", "durationMs": 0.545619, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005781}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d32f270eb293c35e8e1a8361200b5d8", "spanId": "cd7c00d56f6a82e5", "parentSpanId": "32bee1aa0d691c7b", "startTimeUnixNano": "1796073149093130787", "endTimeUnixNano": "1796073149094169615", "durationMs": 1.038828, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014948}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d32f270eb293c35e8e1a8361200b5d8", "spanId": "edf448add3db5e3b", "parentSpanId": "32bee1aa0d691c7b", "startTimeUnixNano": "1796073149094198850", "endTimeUnixNano": "1796073149095240834", "durationMs": 1.041984, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011111}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d32f270eb293c35e8e1a8361200b5d8", "spanId": "38c22c9909a71365", "parentSpanId": "32bee1aa0d691c7b", "startTimeUnixNano": "1796073149097335001", "endTimeUnixNano": "1796073149098492011", "durationMs": 1.15701, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.030367}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3d32f270eb293c35e8e1a8361200b5d8", "spanId": "32bee1aa0d691c7b", "parentSpanId": "d955d119c071fe4d", "startTimeUnixNano": "1796073149092453781", "endTimeUnixNano": "1796073149098690856", "durationMs": 6.237075, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3d32f270eb293c35e8e1a8361200b5d8", "spanId": "ae0f4683be46411b", "parentSpanId": "d955d119c071fe4d", "startTimeUnixNano": "1796073149098718297", "endTimeUnixNano": "1796073149099699376", "durationMs": 0.981079, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3d32f270eb293c35e8e1a8361200b5d8", "spanId": "d955d119c071fe4d", "parentSpanId": "567f33ec418359f0", "startTimeUnixNano": "1796073149089097867", "endTimeUnixNano": "1796073149099730946", "durationMs": 10.633079, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.607955, "db.connection": "reader", "db.lock_wait_ms": 2.509}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3d32f270eb293c35e8e1a8361200b5d8", "spanId": "567f33ec418359f0", "parentSpanId": "ac0502f2620d7990", "startTimeUnixNano": "1796073149089070585", "endTimeUnixNano": "1796073149099761684", "durationMs": 10.691099, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3d32f270eb293c35e8e1a8361200b5d8", "spanId": "ac0502f2620d7990", "parentSpanId": "83095cdf6796acef", "startTimeUnixNano": "1796073149088983301", "endTimeUnixNano": "1796073149099769449", "durationMs": 10.786148, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3d32f270eb293c35e8e1a8361200b5d8", "spanId": "83095cdf6796acef", "startTimeUnixNano": "1796073149088944147", "endTimeUnixNano": "1796073149099782323", "durationMs": 10.838176, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7d6f31442e32f513984d65efd6393ba8", "spanId": "e06cae9531c07bc8", "parentSpanId": "16f7ba83fb961488", "startTimeUnixNano": "1796073150571874751", "endTimeUnixNano": "1796073150572036246", "durationMs": 0.161495, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d6f31442e32f513984d65efd6393ba8", "spanId": "3f60f5025ddc661b", "parentSpanId": "91b74c7f4eaef269", "startTimeUnixNano": "1796073150572101348", "endTimeUnixNano": "1796073150572802089", "durationMs": 0.700741, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008506}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d6f31442e32f513984d65efd6393ba8", "spanId": "cbbb657eee746342", "parentSpanId": "91b74c7f4eaef269", "startTimeUnixNano": "1796073150572880266", "endTimeUnixNano": "1796073150573487240", "durationMs": 0.606974, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009729}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d6f31442e32f513984d65efd6393ba8", "spanId": "2d0472b752fa8b83", "parentSpanId": "91b74c7f4eaef269", "startTimeUnixNano": "1796073150573507669", "endTimeUnixNano": "1796073150574192850", "durationMs": 0.685181, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009017}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d6f31442e32f513984d65efd6393ba8", "spanId": "d03c4bd0c8b4f2d1", "parentSpanId": "91b74c7f4eaef269", "startTimeUnixNano": "1796073150575970701", "endTimeUnixNano": "1796073150578244386", "durationMs": 2.273685, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018555}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7d6f31442e32f513984d65efd6393ba8", "spanId": "91b74c7f4eaef269", "parentSpanId": "16f7ba83fb961488", "startTimeUnixNano": "1796073150572090598", "endTimeUnixNano": "1796073150578378278", "durationMs": 6.28768, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7d6f31442e32f513984d65efd6393ba8", "spanId": "238b90c43c5e5d90", "parentSpanId": "16f7ba83fb961488", "startTimeUnixNano": "1796073150578392074", "endTimeUnixNano": "1796073150578903929", "durationMs": 0.511855, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7d6f31442e32f513984d65efd6393ba8", "spanId": "16f7ba83fb961488", "parentSpanId": "b80c5864d6e9d1f8", "startTimeUnixNano": "1796073150569676278", "endTimeUnixNano": "1796073150578927743", "durationMs": 9.251465, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.194786, "db.connection": "reader", "db.lock_wait_ms": 2.154}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7d6f31442e32f513984d65efd6393ba8", "spanId": "b80c5864d6e9d1f8", "parentSpanId": "08787554d942ee56", "startTimeUnixNano": "1796073150569666610", "endTimeUnixNano": "1796073150578941309", "durationMs": 9.274699, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7d6f31442e32f513984d65efd6393ba8", "spanId": "08787554d942ee56", "parentSpanId": "153f973bc129d09f", "startTimeUnixNano": "1796073150569620904", "endTimeUnixNano": "1796073150578946880", "durationMs": 9.325976, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7d6f31442e32f513984d65efd6393ba8", "spanId": "153f973bc129d09f", "startTimeUnixNano": "1796073150569593362", "endTimeUnixNano": "1796073150578954694", "durationMs": 9.361332, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5a44dddc3e03176a6e8d36e2699e055e", "spanId": "d0bb3b1b925dd31d", "parentSpanId": "982ede6ff0dc8192", "startTimeUnixNano": "1796073150834190917", "endTimeUnixNano": "1796073150834351840", "durationMs": 0.160923, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a44dddc3e03176a6e8d36e2699e055e", "spanId": "0f914fb7f624d8eb", "parentSpanId": "8f17c69c8333d2ad", "startTimeUnixNano": "1796073150834398338", "endTimeUnixNano": "1796073150834635184", "durationMs": 0.236846, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005981}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a44dddc3e03176a6e8d36e2699e055e", "spanId": "a32cfcb52b096c27", "parentSpanId": "8f17c69c8333d2ad", "startTimeUnixNano": "1796073150834706087", "endTimeUnixNano": "1796073150835318592", "durationMs": 0.612505, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007986}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a44dddc3e03176a6e8d36e2699e055e", "spanId": "a2aec59e3282a44d", "parentSpanId": "8f17c69c8333d2ad", "startTimeUnixNano": "1796073150835330755", "endTimeUnixNano": "1796073150835968176", "durationMs": 0.637421, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.00576}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a44dddc3e03176a6e8d36e2699e055e", "spanId": "6e6937d76b3d959c", "parentSpanId": "8f17c69c8333d2ad", "startTimeUnixNano": "1796073150837559766", "endTimeUnixNano": "1796073150838683243", "durationMs": 1.123477, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011551}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5a44dddc3e03176a6e8d36e2699e055e", "spanId": "8f17c69c8333d2ad", "parentSpanId": "982ede6ff0dc8192", "startTimeUnixNano": "1796073150834392056", "endTimeUnixNano": "1796073150838804652", "durationMs": 4.412596, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5a44dddc3e03176a6e8d36e2699e055e", "spanId": "e43c1806e0671725", "parentSpanId": "982ede6ff0dc8192", "startTimeUnixNano": "1796073150838813949", "endTimeUnixNano": "1796073150838923355", "durationMs": 0.109406, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5a44dddc3e03176a6e8d36e2699e055e", "spanId": "982ede6ff0dc8192", "parentSpanId": "1dfc0af8ee64d170", "startTimeUnixNano": "1796073150832777543", "endTimeUnixNano": "1796073150838943373", "durationMs": 6.16583, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.410158, "db.connection": "reader", "db.lock_wait_ms": 1.371}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5a44dddc3e03176a6e8d36e2699e055e", "spanId": "1dfc0af8ee64d170", "parentSpanId": "9fdb3455f009c58b", "startTimeUnixNano": "1796073150832767975", "endTimeUnixNano": "1796073150838957009", "durationMs": 6.189034, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5a44dddc3e03176a6e8d36e2699e055e", "spanId": "9fdb3455f009c58b", "parentSpanId": "7643ae60e285e056", "startTimeUnixNano": "1796073150832725505", "endTimeUnixNano": "1796073150838961878", "durationMs": 6.236373, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5a44dddc3e03176a6e8d36e2699e055e", "spanId": "7643ae60e285e056", "startTimeUnixNano": "1796073150832707080", "endTimeUnixNano": "1796073150838968711", "durationMs": 6.261631, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "21478d4eb64131be5ba7eb6bc310ec33", "spanId": "6d85d384c0650091", "parentSpanId": "34fc30a088584c58", "startTimeUnixNano": "1796073152408838874", "endTimeUnixNano": "1796073152409172473", "durationMs": 0.333599, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "21478d4eb64131be5ba7eb6bc310ec33", "spanId": "bcf94704b499411c", "parentSpanId": "37bfd43672750c09", "startTimeUnixNano": "1796073152409258264", "endTimeUnixNano": "1796073152410687889", "durationMs": 1.429625, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009839}}
{"type": "effect-span", "name": "sqlite", "traceId": "21478d4eb64131be5ba7eb6bc310ec33", "spanId": "35c1d444eb819c3a", "parentSpanId": "37bfd43672750c09", "startTimeUnixNano": "1796073152410882095", "endTimeUnixNano": "1796073152412055416", "durationMs": 1.173321, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015669}}
{"type": "effect-span", "name": "sqlite", "traceId": "21478d4eb64131be5ba7eb6bc310ec33", "spanId": "8bd3f7c7aa29ebf6", "parentSpanId": "37bfd43672750c09", "startTimeUnixNano": "1796073152412085232", "endTimeUnixNano": "1796073152412917801", "durationMs": 0.832569, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014037}}
{"type": "effect-span", "name": "sqlite", "traceId": "21478d4eb64131be5ba7eb6bc310ec33", "spanId": "b25db108bf287388", "parentSpanId": "37bfd43672750c09", "startTimeUnixNano": "1796073152415267209", "endTimeUnixNano": "1796073152416273475", "durationMs": 1.006266, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023364}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "21478d4eb64131be5ba7eb6bc310ec33", "spanId": "37bfd43672750c09", "parentSpanId": "34fc30a088584c58", "startTimeUnixNano": "1796073152409248987", "endTimeUnixNano": "1796073152416512185", "durationMs": 7.263198, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "21478d4eb64131be5ba7eb6bc310ec33", "spanId": "29c0557c833c5acb", "parentSpanId": "34fc30a088584c58", "startTimeUnixNano": "1796073152416538775", "endTimeUnixNano": "1796073152417251458", "durationMs": 0.712683, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "21478d4eb64131be5ba7eb6bc310ec33", "spanId": "34fc30a088584c58", "parentSpanId": "34d7a34c1a4779d7", "startTimeUnixNano": "1796073152404075948", "endTimeUnixNano": "1796073152417287426", "durationMs": 13.211478, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.745994, "db.connection": "reader", "db.lock_wait_ms": 4.661}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "21478d4eb64131be5ba7eb6bc310ec33", "spanId": "34d7a34c1a4779d7", "parentSpanId": "e3d11517276f07f3", "startTimeUnixNano": "1796073152404053766", "endTimeUnixNano": "1796073152417317904", "durationMs": 13.264138, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "21478d4eb64131be5ba7eb6bc310ec33", "spanId": "e3d11517276f07f3", "parentSpanId": "021a9fc84a4eb391", "startTimeUnixNano": "1796073152403977081", "endTimeUnixNano": "1796073152417336649", "durationMs": 13.359568, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "21478d4eb64131be5ba7eb6bc310ec33", "spanId": "021a9fc84a4eb391", "startTimeUnixNano": "1796073152403934321", "endTimeUnixNano": "1796073152417353100", "durationMs": 13.418779, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f39b1dd98b9ac28e67833aa11db77f7c", "spanId": "d17cbb34d4a07aa4", "parentSpanId": "1ff2d1c2ee8685d6", "startTimeUnixNano": "1796073152697233758", "endTimeUnixNano": "1796073152697568840", "durationMs": 0.335082, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f39b1dd98b9ac28e67833aa11db77f7c", "spanId": "634204074d30a63b", "parentSpanId": "891d68aef0bcad0e", "startTimeUnixNano": "1796073152697660422", "endTimeUnixNano": "1796073152698092927", "durationMs": 0.432505, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009348}}
{"type": "effect-span", "name": "sqlite", "traceId": "f39b1dd98b9ac28e67833aa11db77f7c", "spanId": "090f31d2717ea965", "parentSpanId": "891d68aef0bcad0e", "startTimeUnixNano": "1796073152698229344", "endTimeUnixNano": "1796073152698965632", "durationMs": 0.736288, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011682}}
{"type": "effect-span", "name": "sqlite", "traceId": "f39b1dd98b9ac28e67833aa11db77f7c", "spanId": "52615365f424c6bf", "parentSpanId": "891d68aef0bcad0e", "startTimeUnixNano": "1796073152699000858", "endTimeUnixNano": "1796073152700069993", "durationMs": 1.069135, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01562}}
{"type": "effect-span", "name": "sqlite", "traceId": "f39b1dd98b9ac28e67833aa11db77f7c", "spanId": "a17184552ff8ff76", "parentSpanId": "891d68aef0bcad0e", "startTimeUnixNano": "1796073152702708165", "endTimeUnixNano": "1796073152703566924", "durationMs": 0.858759, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017183}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f39b1dd98b9ac28e67833aa11db77f7c", "spanId": "891d68aef0bcad0e", "parentSpanId": "1ff2d1c2ee8685d6", "startTimeUnixNano": "1796073152697650063", "endTimeUnixNano": "1796073152703751241", "durationMs": 6.101178, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f39b1dd98b9ac28e67833aa11db77f7c", "spanId": "455c4bf9de6a4f12", "parentSpanId": "1ff2d1c2ee8685d6", "startTimeUnixNano": "1796073152703768844", "endTimeUnixNano": "1796073152704796391", "durationMs": 1.027547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f39b1dd98b9ac28e67833aa11db77f7c", "spanId": "1ff2d1c2ee8685d6", "parentSpanId": "059f46f306977eff", "startTimeUnixNano": "1796073152695048600", "endTimeUnixNano": "1796073152704830575", "durationMs": 9.781975, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.177413, "db.connection": "reader", "db.lock_wait_ms": 2.126}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f39b1dd98b9ac28e67833aa11db77f7c", "spanId": "059f46f306977eff", "parentSpanId": "9e3b39b16ceff998", "startTimeUnixNano": "1796073152695033932", "endTimeUnixNano": "1796073152704855021", "durationMs": 9.821089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f39b1dd98b9ac28e67833aa11db77f7c", "spanId": "9e3b39b16ceff998", "parentSpanId": "bf1b12d7a02f3cf4", "startTimeUnixNano": "1796073152694984830", "endTimeUnixNano": "1796073152704869599", "durationMs": 9.884769, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f39b1dd98b9ac28e67833aa11db77f7c", "spanId": "bf1b12d7a02f3cf4", "startTimeUnixNano": "1796073152694959231", "endTimeUnixNano": "1796073152704883144", "durationMs": 9.923913, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7798de520cd33ad330b958c8f6f4e966", "spanId": "216ff22ff7086c4f", "parentSpanId": "097166c4fc59604e", "startTimeUnixNano": "1796073154521075734", "endTimeUnixNano": "1796073154521958978", "durationMs": 0.883244, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7798de520cd33ad330b958c8f6f4e966", "spanId": "5efc4275a573bbb4", "parentSpanId": "ba000befa37b07b2", "startTimeUnixNano": "1796073154522000196", "endTimeUnixNano": "1796073154522747885", "durationMs": 0.747689, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009838}}
{"type": "effect-span", "name": "sqlite", "traceId": "7798de520cd33ad330b958c8f6f4e966", "spanId": "483c7bd9075c43c0", "parentSpanId": "ba000befa37b07b2", "startTimeUnixNano": "1796073154522828657", "endTimeUnixNano": "1796073154523813263", "durationMs": 0.984606, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011191}}
{"type": "effect-span", "name": "sqlite", "traceId": "7798de520cd33ad330b958c8f6f4e966", "spanId": "12639477146db389", "parentSpanId": "ba000befa37b07b2", "startTimeUnixNano": "1796073154523847117", "endTimeUnixNano": "1796073154524480000", "durationMs": 0.632883, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014968}}
{"type": "effect-span", "name": "sqlite", "traceId": "7798de520cd33ad330b958c8f6f4e966", "spanId": "b519a323747df5da", "parentSpanId": "ba000befa37b07b2", "startTimeUnixNano": "1796073154527489131", "endTimeUnixNano": "1796073154528652974", "durationMs": 1.163843, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.026149}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7798de520cd33ad330b958c8f6f4e966", "spanId": "ba000befa37b07b2", "parentSpanId": "097166c4fc59604e", "startTimeUnixNano": "1796073154521993984", "endTimeUnixNano": "1796073154528818757", "durationMs": 6.824773, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7798de520cd33ad330b958c8f6f4e966", "spanId": "16c6dfebed17ea81", "parentSpanId": "097166c4fc59604e", "startTimeUnixNano": "1796073154528842662", "endTimeUnixNano": "1796073154530860675", "durationMs": 2.018013, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7798de520cd33ad330b958c8f6f4e966", "spanId": "097166c4fc59604e", "parentSpanId": "418f2e28f4dcb8bf", "startTimeUnixNano": "1796073154518976297", "endTimeUnixNano": "1796073154530891193", "durationMs": 11.914896, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.091942, "db.connection": "reader", "db.lock_wait_ms": 2.018}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7798de520cd33ad330b958c8f6f4e966", "spanId": "418f2e28f4dcb8bf", "parentSpanId": "0799355d264569b5", "startTimeUnixNano": "1796073154518961128", "endTimeUnixNano": "1796073154530912012", "durationMs": 11.950884, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7798de520cd33ad330b958c8f6f4e966", "spanId": "0799355d264569b5", "parentSpanId": "d073340a5159b8e3", "startTimeUnixNano": "1796073154518901275", "endTimeUnixNano": "1796073154530923544", "durationMs": 12.022269, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7798de520cd33ad330b958c8f6f4e966", "spanId": "d073340a5159b8e3", "startTimeUnixNano": "1796073154518882430", "endTimeUnixNano": "1796073154530938963", "durationMs": 12.056533, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d920fb8412b7d2e6f4cf8b78e220edc2", "spanId": "d06cb76c00de208d", "parentSpanId": "cea5cff4ec862d12", "startTimeUnixNano": "1796073154841687576", "endTimeUnixNano": "1796073154841973515", "durationMs": 0.285939, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d920fb8412b7d2e6f4cf8b78e220edc2", "spanId": "7c295a13298a4f84", "parentSpanId": "29f32c548fe44fdf", "startTimeUnixNano": "1796073154842067041", "endTimeUnixNano": "1796073154842612779", "durationMs": 0.545738, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011101}}
{"type": "effect-span", "name": "sqlite", "traceId": "d920fb8412b7d2e6f4cf8b78e220edc2", "spanId": "1f8472e0c6524f42", "parentSpanId": "29f32c548fe44fdf", "startTimeUnixNano": "1796073154842719711", "endTimeUnixNano": "1796073154843874718", "durationMs": 1.155007, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014728}}
{"type": "effect-span", "name": "sqlite", "traceId": "d920fb8412b7d2e6f4cf8b78e220edc2", "spanId": "7ef65cca654ea5dd", "parentSpanId": "29f32c548fe44fdf", "startTimeUnixNano": "1796073154843906017", "endTimeUnixNano": "1796073154844769304", "durationMs": 0.863287, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017954}}
{"type": "effect-span", "name": "sqlite", "traceId": "d920fb8412b7d2e6f4cf8b78e220edc2", "spanId": "69cc3abe3fc18142", "parentSpanId": "29f32c548fe44fdf", "startTimeUnixNano": "1796073154847831775", "endTimeUnixNano": "1796073154849790006", "durationMs": 1.958231, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.060895}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d920fb8412b7d2e6f4cf8b78e220edc2", "spanId": "29f32c548fe44fdf", "parentSpanId": "cea5cff4ec862d12", "startTimeUnixNano": "1796073154842055609", "endTimeUnixNano": "1796073154850173198", "durationMs": 8.117589, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d920fb8412b7d2e6f4cf8b78e220edc2", "spanId": "0dc2301792bb7fd3", "parentSpanId": "cea5cff4ec862d12", "startTimeUnixNano": "1796073154850243681", "endTimeUnixNano": "1796073154852822090", "durationMs": 2.578409, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d920fb8412b7d2e6f4cf8b78e220edc2", "spanId": "cea5cff4ec862d12", "parentSpanId": "3a65f1350c8cfc01", "startTimeUnixNano": "1796073154838954796", "endTimeUnixNano": "1796073154852873287", "durationMs": 13.918491, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.720547, "db.connection": "reader", "db.lock_wait_ms": 2.584}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d920fb8412b7d2e6f4cf8b78e220edc2", "spanId": "3a65f1350c8cfc01", "parentSpanId": "5ee9115b5cfa50bb", "startTimeUnixNano": "1796073154838933415", "endTimeUnixNano": "1796073154852915386", "durationMs": 13.981971, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d920fb8412b7d2e6f4cf8b78e220edc2", "spanId": "5ee9115b5cfa50bb", "parentSpanId": "3c95039757def8d5", "startTimeUnixNano": "1796073154838859215", "endTimeUnixNano": "1796073154852931025", "durationMs": 14.07181, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d920fb8412b7d2e6f4cf8b78e220edc2", "spanId": "3c95039757def8d5", "startTimeUnixNano": "1796073154838833878", "endTimeUnixNano": "1796073154852950382", "durationMs": 14.116504, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7a879e8ef3d0dd69883d6e114c54a8f0", "spanId": "f62bbccf3e4e92e2", "parentSpanId": "433002c0535661d4", "startTimeUnixNano": "1796073156455302126", "endTimeUnixNano": "1796073156456141518", "durationMs": 0.839392, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7a879e8ef3d0dd69883d6e114c54a8f0", "spanId": "365158783b1daadf", "parentSpanId": "ffeca0346ae9fe5b", "startTimeUnixNano": "1796073156456188206", "endTimeUnixNano": "1796073156457099694", "durationMs": 0.911488, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008326}}
{"type": "effect-span", "name": "sqlite", "traceId": "7a879e8ef3d0dd69883d6e114c54a8f0", "spanId": "4fe3d8705921a743", "parentSpanId": "ffeca0346ae9fe5b", "startTimeUnixNano": "1796073156457175026", "endTimeUnixNano": "1796073156458214806", "durationMs": 1.03978, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012393}}
{"type": "effect-span", "name": "sqlite", "traceId": "7a879e8ef3d0dd69883d6e114c54a8f0", "spanId": "cd027356159ba969", "parentSpanId": "ffeca0346ae9fe5b", "startTimeUnixNano": "1796073156458237418", "endTimeUnixNano": "1796073156459258202", "durationMs": 1.020784, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016141}}
{"type": "effect-span", "name": "sqlite", "traceId": "7a879e8ef3d0dd69883d6e114c54a8f0", "spanId": "e4c594b58ebe6fa5", "parentSpanId": "ffeca0346ae9fe5b", "startTimeUnixNano": "1796073156461567865", "endTimeUnixNano": "1796073156465376884", "durationMs": 3.809019, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020158}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7a879e8ef3d0dd69883d6e114c54a8f0", "spanId": "ffeca0346ae9fe5b", "parentSpanId": "433002c0535661d4", "startTimeUnixNano": "1796073156456179330", "endTimeUnixNano": "1796073156465515665", "durationMs": 9.336335, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7a879e8ef3d0dd69883d6e114c54a8f0", "spanId": "f157ae05ad590d0e", "parentSpanId": "433002c0535661d4", "startTimeUnixNano": "1796073156465532226", "endTimeUnixNano": "1796073156466997969", "durationMs": 1.465743, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7a879e8ef3d0dd69883d6e114c54a8f0", "spanId": "433002c0535661d4", "parentSpanId": "b2e6565195d66688", "startTimeUnixNano": "1796073156453715767", "endTimeUnixNano": "1796073156467021182", "durationMs": 13.305415, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.581731, "db.connection": "reader", "db.lock_wait_ms": 1.537}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7a879e8ef3d0dd69883d6e114c54a8f0", "spanId": "b2e6565195d66688", "parentSpanId": "b856416922fd7b63", "startTimeUnixNano": "1796073156453704946", "endTimeUnixNano": "1796073156467037794", "durationMs": 13.332848, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7a879e8ef3d0dd69883d6e114c54a8f0", "spanId": "b856416922fd7b63", "parentSpanId": "7a78c8383dc9f676", "startTimeUnixNano": "1796073156453652437", "endTimeUnixNano": "1796073156467042322", "durationMs": 13.389885, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7a879e8ef3d0dd69883d6e114c54a8f0", "spanId": "7a78c8383dc9f676", "startTimeUnixNano": "1796073156453629775", "endTimeUnixNano": "1796073156467056950", "durationMs": 13.427175, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "27e3c0ef5ff32d6d8743965ed98e629c", "spanId": "e33303c69396ddb2", "parentSpanId": "d178a2c1a76a1fb8", "startTimeUnixNano": "1796073156723793762", "endTimeUnixNano": "1796073156729349933", "durationMs": 5.556171, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "27e3c0ef5ff32d6d8743965ed98e629c", "spanId": "19ff931577b9b3ae", "parentSpanId": "645c6155fb0ea1a3", "startTimeUnixNano": "1796073156729466342", "endTimeUnixNano": "1796073156730329429", "durationMs": 0.863087, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007013}}
{"type": "effect-span", "name": "sqlite", "traceId": "27e3c0ef5ff32d6d8743965ed98e629c", "spanId": "0e56e7798064c496", "parentSpanId": "645c6155fb0ea1a3", "startTimeUnixNano": "1796073156730531840", "endTimeUnixNano": "1796073156731770825", "durationMs": 1.238985, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016532}}
{"type": "effect-span", "name": "sqlite", "traceId": "27e3c0ef5ff32d6d8743965ed98e629c", "spanId": "d9514dad28816623", "parentSpanId": "645c6155fb0ea1a3", "startTimeUnixNano": "1796073156731797105", "endTimeUnixNano": "1796073156732787351", "durationMs": 0.990246, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012303}}
{"type": "effect-span", "name": "sqlite", "traceId": "27e3c0ef5ff32d6d8743965ed98e629c", "spanId": "ff010266fdb24bbe", "parentSpanId": "645c6155fb0ea1a3", "startTimeUnixNano": "1796073156736340928", "endTimeUnixNano": "1796073156738489918", "durationMs": 2.14899, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.077847}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "27e3c0ef5ff32d6d8743965ed98e629c", "spanId": "645c6155fb0ea1a3", "parentSpanId": "d178a2c1a76a1fb8", "startTimeUnixNano": "1796073156729451655", "endTimeUnixNano": "1796073156738731984", "durationMs": 9.280329, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "27e3c0ef5ff32d6d8743965ed98e629c", "spanId": "6043f0870866df39", "parentSpanId": "d178a2c1a76a1fb8", "startTimeUnixNano": "1796073156738761019", "endTimeUnixNano": "1796073156740217674", "durationMs": 1.456655, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "27e3c0ef5ff32d6d8743965ed98e629c", "spanId": "d178a2c1a76a1fb8", "parentSpanId": "1f803ebf0df539e9", "startTimeUnixNano": "1796073156721309520", "endTimeUnixNano": "1796073156740249434", "durationMs": 18.939914, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.476948, "db.connection": "reader", "db.lock_wait_ms": 2.235}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "27e3c0ef5ff32d6d8743965ed98e629c", "spanId": "1f803ebf0df539e9", "parentSpanId": "23434b1519ac565f", "startTimeUnixNano": "1796073156721272310", "endTimeUnixNano": "1796073156740279902", "durationMs": 19.007592, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "27e3c0ef5ff32d6d8743965ed98e629c", "spanId": "23434b1519ac565f", "parentSpanId": "5e3e8701028ab848", "startTimeUnixNano": "1796073156721132186", "endTimeUnixNano": "1796073156740287596", "durationMs": 19.15541, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "27e3c0ef5ff32d6d8743965ed98e629c", "spanId": "5e3e8701028ab848", "startTimeUnixNano": "1796073156721036325", "endTimeUnixNano": "1796073156740301412", "durationMs": 19.265087, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "39c65a9c11277fc9b19bd187f827f10b", "spanId": "b2f5887d454f05bf", "parentSpanId": "3015b32cc4d7fc8e", "startTimeUnixNano": "1796073158542633737", "endTimeUnixNano": "1796073158542925818", "durationMs": 0.292081, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "39c65a9c11277fc9b19bd187f827f10b", "spanId": "04ff272391a4b686", "parentSpanId": "1f53bedeb62779c4", "startTimeUnixNano": "1796073158543007111", "endTimeUnixNano": "1796073158544148392", "durationMs": 1.141281, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011141}}
{"type": "effect-span", "name": "sqlite", "traceId": "39c65a9c11277fc9b19bd187f827f10b", "spanId": "444975c2b5279a70", "parentSpanId": "1f53bedeb62779c4", "startTimeUnixNano": "1796073158544267837", "endTimeUnixNano": "1796073158545081550", "durationMs": 0.813713, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019607}}
{"type": "effect-span", "name": "sqlite", "traceId": "39c65a9c11277fc9b19bd187f827f10b", "spanId": "237152d5e717c0af", "parentSpanId": "1f53bedeb62779c4", "startTimeUnixNano": "1796073158545115154", "endTimeUnixNano": "1796073158546466992", "durationMs": 1.351838, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017092}}
{"type": "effect-span", "name": "sqlite", "traceId": "39c65a9c11277fc9b19bd187f827f10b", "spanId": "6eef19cfc9f0ecbd", "parentSpanId": "1f53bedeb62779c4", "startTimeUnixNano": "1796073158548593940", "endTimeUnixNano": "1796073158549663105", "durationMs": 1.069165, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016982}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "39c65a9c11277fc9b19bd187f827f10b", "spanId": "1f53bedeb62779c4", "parentSpanId": "3015b32cc4d7fc8e", "startTimeUnixNano": "1796073158542992243", "endTimeUnixNano": "1796073158549860036", "durationMs": 6.867793, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "39c65a9c11277fc9b19bd187f827f10b", "spanId": "eeaf442a4635ea21", "parentSpanId": "3015b32cc4d7fc8e", "startTimeUnixNano": "1796073158549887708", "endTimeUnixNano": "1796073158551693411", "durationMs": 1.805703, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "39c65a9c11277fc9b19bd187f827f10b", "spanId": "3015b32cc4d7fc8e", "parentSpanId": "6d8375c9c3ea3829", "startTimeUnixNano": "1796073158539069871", "endTimeUnixNano": "1796073158551723859", "durationMs": 12.653988, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.555911, "db.connection": "reader", "db.lock_wait_ms": 3.511}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "39c65a9c11277fc9b19bd187f827f10b", "spanId": "6d8375c9c3ea3829", "parentSpanId": "9cad6d34faef52d1", "startTimeUnixNano": "1796073158539058660", "endTimeUnixNano": "1796073158551744828", "durationMs": 12.686168, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "39c65a9c11277fc9b19bd187f827f10b", "spanId": "9cad6d34faef52d1", "parentSpanId": "20bef7d80c2609cb", "startTimeUnixNano": "1796073158539006862", "endTimeUnixNano": "1796073158551756620", "durationMs": 12.749758, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "39c65a9c11277fc9b19bd187f827f10b", "spanId": "20bef7d80c2609cb", "startTimeUnixNano": "1796073158538981063", "endTimeUnixNano": "1796073158551770146", "durationMs": 12.789083, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6108413808b4a6efc76175bf2e2bcd46", "spanId": "dcd4edef83d8e8f6", "parentSpanId": "1a1595e70f0293c4", "startTimeUnixNano": "1796073158851955181", "endTimeUnixNano": "1796073158852214049", "durationMs": 0.258868, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6108413808b4a6efc76175bf2e2bcd46", "spanId": "edcb69964930dcf8", "parentSpanId": "1de8998728cc7dd5", "startTimeUnixNano": "1796073158852285083", "endTimeUnixNano": "1796073158852717488", "durationMs": 0.432405, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009498}}
{"type": "effect-span", "name": "sqlite", "traceId": "6108413808b4a6efc76175bf2e2bcd46", "spanId": "13dfdb8d71d07027", "parentSpanId": "1de8998728cc7dd5", "startTimeUnixNano": "1796073158852856079", "endTimeUnixNano": "1796073158853682747", "durationMs": 0.826668, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016892}}
{"type": "effect-span", "name": "sqlite", "traceId": "6108413808b4a6efc76175bf2e2bcd46", "spanId": "446dae238799bea2", "parentSpanId": "1de8998728cc7dd5", "startTimeUnixNano": "1796073158853702584", "endTimeUnixNano": "1796073158854754186", "durationMs": 1.051602, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01046}}
{"type": "effect-span", "name": "sqlite", "traceId": "6108413808b4a6efc76175bf2e2bcd46", "spanId": "ea7fb983ad70ad84", "parentSpanId": "1de8998728cc7dd5", "startTimeUnixNano": "1796073158856989539", "endTimeUnixNano": "1796073158859340570", "durationMs": 2.351031, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.034285}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6108413808b4a6efc76175bf2e2bcd46", "spanId": "1de8998728cc7dd5", "parentSpanId": "1a1595e70f0293c4", "startTimeUnixNano": "1796073158852270455", "endTimeUnixNano": "1796073158859595330", "durationMs": 7.324875, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6108413808b4a6efc76175bf2e2bcd46", "spanId": "23fe755afc5db8df", "parentSpanId": "1a1595e70f0293c4", "startTimeUnixNano": "1796073158859617362", "endTimeUnixNano": "1796073158860612517", "durationMs": 0.995155, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6108413808b4a6efc76175bf2e2bcd46", "spanId": "1a1595e70f0293c4", "parentSpanId": "269b483d6cbd2a8b", "startTimeUnixNano": "1796073158849350512", "endTimeUnixNano": "1796073158860637775", "durationMs": 11.287263, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.59457, "db.connection": "reader", "db.lock_wait_ms": 2.435}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6108413808b4a6efc76175bf2e2bcd46", "spanId": "269b483d6cbd2a8b", "parentSpanId": "eb4651087dc86a81", "startTimeUnixNano": "1796073158849336967", "endTimeUnixNano": "1796073158860659155", "durationMs": 11.322188, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6108413808b4a6efc76175bf2e2bcd46", "spanId": "eb4651087dc86a81", "parentSpanId": "a434674fe07e5d6e", "startTimeUnixNano": "1796073158849276864", "endTimeUnixNano": "1796073158860668172", "durationMs": 11.391308, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6108413808b4a6efc76175bf2e2bcd46", "spanId": "a434674fe07e5d6e", "startTimeUnixNano": "1796073158849249211", "endTimeUnixNano": "1796073158860680315", "durationMs": 11.431104, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1d737cdb3c57d1e78c8f9ed37a9207cb", "spanId": "1e9d6015771c02fb", "parentSpanId": "9ba13d7e3952d4e7", "startTimeUnixNano": "1796073160576644101", "endTimeUnixNano": "1796073160576806306", "durationMs": 0.162205, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d737cdb3c57d1e78c8f9ed37a9207cb", "spanId": "6a48d627386487f8", "parentSpanId": "dbedbb2b32304ce5", "startTimeUnixNano": "1796073160576849848", "endTimeUnixNano": "1796073160577571939", "durationMs": 0.722091, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006152}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d737cdb3c57d1e78c8f9ed37a9207cb", "spanId": "79aa1dabce67ae37", "parentSpanId": "dbedbb2b32304ce5", "startTimeUnixNano": "1796073160577653413", "endTimeUnixNano": "1796073160578244767", "durationMs": 0.591354, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010259}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d737cdb3c57d1e78c8f9ed37a9207cb", "spanId": "2f5d4fb7867ecf6d", "parentSpanId": "dbedbb2b32304ce5", "startTimeUnixNano": "1796073160578265006", "endTimeUnixNano": "1796073160578917305", "durationMs": 0.652299, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009447}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d737cdb3c57d1e78c8f9ed37a9207cb", "spanId": "27dff6b6a57f936b", "parentSpanId": "dbedbb2b32304ce5", "startTimeUnixNano": "1796073160580645141", "endTimeUnixNano": "1796073160581526432", "durationMs": 0.881291, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019337}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1d737cdb3c57d1e78c8f9ed37a9207cb", "spanId": "dbedbb2b32304ce5", "parentSpanId": "9ba13d7e3952d4e7", "startTimeUnixNano": "1796073160576843326", "endTimeUnixNano": "1796073160581673569", "durationMs": 4.830243, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1d737cdb3c57d1e78c8f9ed37a9207cb", "spanId": "3b14f57d1c3f8b5d", "parentSpanId": "9ba13d7e3952d4e7", "startTimeUnixNano": "1796073160581686844", "endTimeUnixNano": "1796073160583009477", "durationMs": 1.322633, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1d737cdb3c57d1e78c8f9ed37a9207cb", "spanId": "9ba13d7e3952d4e7", "parentSpanId": "9b2ef0dbf60bb79f", "startTimeUnixNano": "1796073160574071042", "endTimeUnixNano": "1796073160583030807", "durationMs": 8.959765, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.5686, "db.connection": "reader", "db.lock_wait_ms": 2.515}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1d737cdb3c57d1e78c8f9ed37a9207cb", "spanId": "9b2ef0dbf60bb79f", "parentSpanId": "4978d5a2b76dc551", "startTimeUnixNano": "1796073160574055983", "endTimeUnixNano": "1796073160583044944", "durationMs": 8.988961, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1d737cdb3c57d1e78c8f9ed37a9207cb", "spanId": "4978d5a2b76dc551", "parentSpanId": "b73eb1db16a23612", "startTimeUnixNano": "1796073160573995138", "endTimeUnixNano": "1796073160583050264", "durationMs": 9.055126, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1d737cdb3c57d1e78c8f9ed37a9207cb", "spanId": "b73eb1db16a23612", "startTimeUnixNano": "1796073160573967316", "endTimeUnixNano": "1796073160583057878", "durationMs": 9.090562, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "393f94016da36a999a9e194dbd1a995f", "spanId": "0ff66081c1debfaa", "parentSpanId": "8cc705f846fbb559", "startTimeUnixNano": "1796073160845123013", "endTimeUnixNano": "1796073160845333650", "durationMs": 0.210637, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "393f94016da36a999a9e194dbd1a995f", "spanId": "30bf43bcbf68d80c", "parentSpanId": "1742ef4366f887fa", "startTimeUnixNano": "1796073160845392581", "endTimeUnixNano": "1796073160845711051", "durationMs": 0.31847, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008987}}
{"type": "effect-span", "name": "sqlite", "traceId": "393f94016da36a999a9e194dbd1a995f", "spanId": "45c9328a5ef6b10e", "parentSpanId": "1742ef4366f887fa", "startTimeUnixNano": "1796073160845811851", "endTimeUnixNano": "1796073160846368420", "durationMs": 0.556569, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013285}}
{"type": "effect-span", "name": "sqlite", "traceId": "393f94016da36a999a9e194dbd1a995f", "spanId": "c8c611c1001ba7cb", "parentSpanId": "1742ef4366f887fa", "startTimeUnixNano": "1796073160846390191", "endTimeUnixNano": "1796073160847221718", "durationMs": 0.831527, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009668}}
{"type": "effect-span", "name": "sqlite", "traceId": "393f94016da36a999a9e194dbd1a995f", "spanId": "0f43712b263bc386", "parentSpanId": "1742ef4366f887fa", "startTimeUnixNano": "1796073160849960169", "endTimeUnixNano": "1796073160851066674", "durationMs": 1.106505, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017182}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "393f94016da36a999a9e194dbd1a995f", "spanId": "1742ef4366f887fa", "parentSpanId": "8cc705f846fbb559", "startTimeUnixNano": "1796073160845384165", "endTimeUnixNano": "1796073160851239941", "durationMs": 5.855776, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "393f94016da36a999a9e194dbd1a995f", "spanId": "2da7d3df760228d8", "parentSpanId": "8cc705f846fbb559", "startTimeUnixNano": "1796073160851259618", "endTimeUnixNano": "1796073160852162219", "durationMs": 0.902601, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "393f94016da36a999a9e194dbd1a995f", "spanId": "8cc705f846fbb559", "parentSpanId": "0871f3fa91a23e2e", "startTimeUnixNano": "1796073160843428699", "endTimeUnixNano": "1796073160852195011", "durationMs": 8.766312, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.687942, "db.connection": "reader", "db.lock_wait_ms": 1.614}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "393f94016da36a999a9e194dbd1a995f", "spanId": "0871f3fa91a23e2e", "parentSpanId": "7047595002d9e99f", "startTimeUnixNano": "1796073160843415925", "endTimeUnixNano": "1796073160852215830", "durationMs": 8.799905, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "393f94016da36a999a9e194dbd1a995f", "spanId": "7047595002d9e99f", "parentSpanId": "97a6f7f4d086280d", "startTimeUnixNano": "1796073160843372964", "endTimeUnixNano": "1796073160852225248", "durationMs": 8.852284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "393f94016da36a999a9e194dbd1a995f", "spanId": "97a6f7f4d086280d", "startTimeUnixNano": "1796073160843353388", "endTimeUnixNano": "1796073160852234986", "durationMs": 8.881598, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6b043045710104f03c6cefd38a9f6b82", "spanId": "42853f0d312abb9b", "parentSpanId": "fd135c6a48e93be1", "startTimeUnixNano": "1796073162387209057", "endTimeUnixNano": "1796073162387463206", "durationMs": 0.254149, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6b043045710104f03c6cefd38a9f6b82", "spanId": "6b020b134d2565ba", "parentSpanId": "3938da533ab20083", "startTimeUnixNano": "1796073162387542836", "endTimeUnixNano": "1796073162388585131", "durationMs": 1.042295, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010079}}
{"type": "effect-span", "name": "sqlite", "traceId": "6b043045710104f03c6cefd38a9f6b82", "spanId": "3d7e77189f2a6cca", "parentSpanId": "3938da533ab20083", "startTimeUnixNano": "1796073162388702392", "endTimeUnixNano": "1796073162389815590", "durationMs": 1.113198, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014677}}
{"type": "effect-span", "name": "sqlite", "traceId": "6b043045710104f03c6cefd38a9f6b82", "spanId": "4413bd652991ffda", "parentSpanId": "3938da533ab20083", "startTimeUnixNano": "1796073162389844644", "endTimeUnixNano": "1796073162390654450", "durationMs": 0.809806, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012654}}
{"type": "effect-span", "name": "sqlite", "traceId": "6b043045710104f03c6cefd38a9f6b82", "spanId": "672f7c3d18f7ec95", "parentSpanId": "3938da533ab20083", "startTimeUnixNano": "1796073162392392817", "endTimeUnixNano": "1796073162394557436", "durationMs": 2.164619, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013736}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6b043045710104f03c6cefd38a9f6b82", "spanId": "3938da533ab20083", "parentSpanId": "fd135c6a48e93be1", "startTimeUnixNano": "1796073162387530132", "endTimeUnixNano": "1796073162394703251", "durationMs": 7.173119, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6b043045710104f03c6cefd38a9f6b82", "spanId": "989ec4001764475f", "parentSpanId": "fd135c6a48e93be1", "startTimeUnixNano": "1796073162394717157", "endTimeUnixNano": "1796073162395182665", "durationMs": 0.465508, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6b043045710104f03c6cefd38a9f6b82", "spanId": "fd135c6a48e93be1", "parentSpanId": "03906504c52ada18", "startTimeUnixNano": "1796073162384803945", "endTimeUnixNano": "1796073162395206800", "durationMs": 10.402855, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.397909, "db.connection": "reader", "db.lock_wait_ms": 2.355}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6b043045710104f03c6cefd38a9f6b82", "spanId": "03906504c52ada18", "parentSpanId": "70663fc47ad9a116", "startTimeUnixNano": "1796073162384795138", "endTimeUnixNano": "1796073162395220376", "durationMs": 10.425238, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6b043045710104f03c6cefd38a9f6b82", "spanId": "70663fc47ad9a116", "parentSpanId": "2b71b86a735e8f7f", "startTimeUnixNano": "1796073162384752107", "endTimeUnixNano": "1796073162395224924", "durationMs": 10.472817, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6b043045710104f03c6cefd38a9f6b82", "spanId": "2b71b86a735e8f7f", "startTimeUnixNano": "1796073162384732851", "endTimeUnixNano": "1796073162395231276", "durationMs": 10.498425, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "dc89a657d919fbeb097d2988fc3fd668", "spanId": "abf6b87673909b41", "parentSpanId": "1e809486cbefbf5f", "startTimeUnixNano": "1796073162657537225", "endTimeUnixNano": "1796073162657944192", "durationMs": 0.406967, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "dc89a657d919fbeb097d2988fc3fd668", "spanId": "dda017f46217643b", "parentSpanId": "bec045f475e4c73e", "startTimeUnixNano": "1796073162657983997", "endTimeUnixNano": "1796073162658527932", "durationMs": 0.543935, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00557}}
{"type": "effect-span", "name": "sqlite", "traceId": "dc89a657d919fbeb097d2988fc3fd668", "spanId": "1f2f41096cf407da", "parentSpanId": "bec045f475e4c73e", "startTimeUnixNano": "1796073162658608353", "endTimeUnixNano": "1796073162659256174", "durationMs": 0.647821, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01028}}
{"type": "effect-span", "name": "sqlite", "traceId": "dc89a657d919fbeb097d2988fc3fd668", "spanId": "5e0ce83fff9d9f1e", "parentSpanId": "bec045f475e4c73e", "startTimeUnixNano": "1796073162659277515", "endTimeUnixNano": "1796073162659964499", "durationMs": 0.686984, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009137}}
{"type": "effect-span", "name": "sqlite", "traceId": "dc89a657d919fbeb097d2988fc3fd668", "spanId": "8faed828510db63f", "parentSpanId": "bec045f475e4c73e", "startTimeUnixNano": "1796073162661819485", "endTimeUnixNano": "1796073162662848034", "durationMs": 1.028549, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01557}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "dc89a657d919fbeb097d2988fc3fd668", "spanId": "bec045f475e4c73e", "parentSpanId": "1e809486cbefbf5f", "startTimeUnixNano": "1796073162657978186", "endTimeUnixNano": "1796073162662988919", "durationMs": 5.010733, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "dc89a657d919fbeb097d2988fc3fd668", "spanId": "1575b24abdfae0bb", "parentSpanId": "1e809486cbefbf5f", "startTimeUnixNano": "1796073162663009598", "endTimeUnixNano": "1796073162663797042", "durationMs": 0.787444, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "dc89a657d919fbeb097d2988fc3fd668", "spanId": "1e809486cbefbf5f", "parentSpanId": "47725a8b229ded6c", "startTimeUnixNano": "1796073162656218470", "endTimeUnixNano": "1796073162663821218", "durationMs": 7.602748, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.312984, "db.connection": "reader", "db.lock_wait_ms": 1.265}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "dc89a657d919fbeb097d2988fc3fd668", "spanId": "47725a8b229ded6c", "parentSpanId": "678d65266a1b2001", "startTimeUnixNano": "1796073162656204844", "endTimeUnixNano": "1796073162663841937", "durationMs": 7.637093, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "dc89a657d919fbeb097d2988fc3fd668", "spanId": "678d65266a1b2001", "parentSpanId": "d78b85caa053481a", "startTimeUnixNano": "1796073162656161683", "endTimeUnixNano": "1796073162663851575", "durationMs": 7.689892, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "dc89a657d919fbeb097d2988fc3fd668", "spanId": "d78b85caa053481a", "startTimeUnixNano": "1796073162656144230", "endTimeUnixNano": "1796073162663860933", "durationMs": 7.716703, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "65efbc75d4db2071d489688c43b07948", "spanId": "4513212b99594ab7", "parentSpanId": "39760823fa846fdd", "startTimeUnixNano": "1796073164382264783", "endTimeUnixNano": "1796073164382572062", "durationMs": 0.307279, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "65efbc75d4db2071d489688c43b07948", "spanId": "93f56d06e45c8aea", "parentSpanId": "11ecc77f22466593", "startTimeUnixNano": "1796073164382646272", "endTimeUnixNano": "1796073164383718282", "durationMs": 1.07201, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01049}}
{"type": "effect-span", "name": "sqlite", "traceId": "65efbc75d4db2071d489688c43b07948", "spanId": "e2a418d6f6276283", "parentSpanId": "11ecc77f22466593", "startTimeUnixNano": "1796073164383840493", "endTimeUnixNano": "1796073164384551232", "durationMs": 0.710739, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015338}}
{"type": "effect-span", "name": "sqlite", "traceId": "65efbc75d4db2071d489688c43b07948", "spanId": "ea28f11369cc3011", "parentSpanId": "11ecc77f22466593", "startTimeUnixNano": "1796073164384577401", "endTimeUnixNano": "1796073164385416383", "durationMs": 0.838982, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012133}}
{"type": "effect-span", "name": "sqlite", "traceId": "65efbc75d4db2071d489688c43b07948", "spanId": "bb43ecfb779e9be1", "parentSpanId": "11ecc77f22466593", "startTimeUnixNano": "1796073164388036711", "endTimeUnixNano": "1796073164389366317", "durationMs": 1.329606, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016421}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "65efbc75d4db2071d489688c43b07948", "spanId": "11ecc77f22466593", "parentSpanId": "39760823fa846fdd", "startTimeUnixNano": "1796073164382634650", "endTimeUnixNano": "1796073164389571233", "durationMs": 6.936583, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "65efbc75d4db2071d489688c43b07948", "spanId": "3f8bd63686627742", "parentSpanId": "39760823fa846fdd", "startTimeUnixNano": "1796073164389593715", "endTimeUnixNano": "1796073164391574949", "durationMs": 1.981234, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "65efbc75d4db2071d489688c43b07948", "spanId": "39760823fa846fdd", "parentSpanId": "243df4c94f7a3253", "startTimeUnixNano": "1796073164366911157", "endTimeUnixNano": "1796073164391607390", "durationMs": 24.696233, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 15.337516, "db.connection": "reader", "db.lock_wait_ms": 15.287}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "65efbc75d4db2071d489688c43b07948", "spanId": "243df4c94f7a3253", "parentSpanId": "8e22b2c28831a38c", "startTimeUnixNano": "1796073164366899565", "endTimeUnixNano": "1796073164391652876", "durationMs": 24.753311, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "65efbc75d4db2071d489688c43b07948", "spanId": "8e22b2c28831a38c", "parentSpanId": "173a9db347e7b91b", "startTimeUnixNano": "1796073164366845073", "endTimeUnixNano": "1796073164391665760", "durationMs": 24.820687, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "65efbc75d4db2071d489688c43b07948", "spanId": "173a9db347e7b91b", "startTimeUnixNano": "1796073164366822280", "endTimeUnixNano": "1796073164391679296", "durationMs": 24.857016, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "da8363a8d269fe54c566e877ed1ba61c", "spanId": "b45a21fca24faa79", "parentSpanId": "c9d294842b041621", "startTimeUnixNano": "1796073164748228578", "endTimeUnixNano": "1796073164748487576", "durationMs": 0.258998, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "da8363a8d269fe54c566e877ed1ba61c", "spanId": "f9e42955f67bd7eb", "parentSpanId": "2da3deadf21c2cdd", "startTimeUnixNano": "1796073164748543421", "endTimeUnixNano": "1796073164749414413", "durationMs": 0.870992, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007184}}
{"type": "effect-span", "name": "sqlite", "traceId": "da8363a8d269fe54c566e877ed1ba61c", "spanId": "255dede12dd88846", "parentSpanId": "2da3deadf21c2cdd", "startTimeUnixNano": "1796073164749566079", "endTimeUnixNano": "1796073164750387607", "durationMs": 0.821528, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.023444}}
{"type": "effect-span", "name": "sqlite", "traceId": "da8363a8d269fe54c566e877ed1ba61c", "spanId": "e08dd7f063a47563", "parentSpanId": "2da3deadf21c2cdd", "startTimeUnixNano": "1796073164750408797", "endTimeUnixNano": "1796073164751902482", "durationMs": 1.493685, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009708}}
{"type": "effect-span", "name": "sqlite", "traceId": "da8363a8d269fe54c566e877ed1ba61c", "spanId": "8f0621da328b649e", "parentSpanId": "2da3deadf21c2cdd", "startTimeUnixNano": "1796073164754181798", "endTimeUnixNano": "1796073164755166664", "durationMs": 0.984866, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017493}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "da8363a8d269fe54c566e877ed1ba61c", "spanId": "2da3deadf21c2cdd", "parentSpanId": "c9d294842b041621", "startTimeUnixNano": "1796073164748535086", "endTimeUnixNano": "1796073164755356121", "durationMs": 6.821035, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "da8363a8d269fe54c566e877ed1ba61c", "spanId": "8f47bb63952f080b", "parentSpanId": "c9d294842b041621", "startTimeUnixNano": "1796073164755387580", "endTimeUnixNano": "1796073164755971050", "durationMs": 0.58347, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "da8363a8d269fe54c566e877ed1ba61c", "spanId": "c9d294842b041621", "parentSpanId": "04757b7f0de8dd3e", "startTimeUnixNano": "1796073164746138168", "endTimeUnixNano": "1796073164756007659", "durationMs": 9.869491, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.085852, "db.connection": "reader", "db.lock_wait_ms": 2.044}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "da8363a8d269fe54c566e877ed1ba61c", "spanId": "04757b7f0de8dd3e", "parentSpanId": "ac99c30a4049fb02", "startTimeUnixNano": "1796073164746128921", "endTimeUnixNano": "1796073164756035121", "durationMs": 9.9062, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "da8363a8d269fe54c566e877ed1ba61c", "spanId": "ac99c30a4049fb02", "parentSpanId": "6b4dc227b1f618ec", "startTimeUnixNano": "1796073164746086711", "endTimeUnixNano": "1796073164756047594", "durationMs": 9.960883, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "da8363a8d269fe54c566e877ed1ba61c", "spanId": "6b4dc227b1f618ec", "startTimeUnixNano": "1796073164746070230", "endTimeUnixNano": "1796073164756062773", "durationMs": 9.992543, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "79edf75dd6f9849539ae0fa671be03de", "spanId": "5a544c859eff8f7f", "parentSpanId": "52728121afb91ecc", "startTimeUnixNano": "1796073166717861466", "endTimeUnixNano": "1796073166718223128", "durationMs": 0.361662, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "79edf75dd6f9849539ae0fa671be03de", "spanId": "dd9931002d39eade", "parentSpanId": "a49bf4c000d53ff6", "startTimeUnixNano": "1796073166718354806", "endTimeUnixNano": "1796073166720168594", "durationMs": 1.813788, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.015228}}
{"type": "effect-span", "name": "sqlite", "traceId": "79edf75dd6f9849539ae0fa671be03de", "spanId": "93c9fbeb9a676b8b", "parentSpanId": "a49bf4c000d53ff6", "startTimeUnixNano": "1796073166720370064", "endTimeUnixNano": "1796073166721996679", "durationMs": 1.626615, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.0264}}
{"type": "effect-span", "name": "sqlite", "traceId": "79edf75dd6f9849539ae0fa671be03de", "spanId": "929b96aeab84e884", "parentSpanId": "a49bf4c000d53ff6", "startTimeUnixNano": "1796073166722036094", "endTimeUnixNano": "1796073166723235103", "durationMs": 1.199009, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.025898}}
{"type": "effect-span", "name": "sqlite", "traceId": "79edf75dd6f9849539ae0fa671be03de", "spanId": "a66da255186ce153", "parentSpanId": "a49bf4c000d53ff6", "startTimeUnixNano": "1796073166726801425", "endTimeUnixNano": "1796073166728609141", "durationMs": 1.807716, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.0902}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "79edf75dd6f9849539ae0fa671be03de", "spanId": "a49bf4c000d53ff6", "parentSpanId": "52728121afb91ecc", "startTimeUnixNano": "1796073166718337914", "endTimeUnixNano": "1796073166728856989", "durationMs": 10.519075, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "79edf75dd6f9849539ae0fa671be03de", "spanId": "91298a0a5e1d34c6", "parentSpanId": "52728121afb91ecc", "startTimeUnixNano": "1796073166728896232", "endTimeUnixNano": "1796073166729833910", "durationMs": 0.937678, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "79edf75dd6f9849539ae0fa671be03de", "spanId": "52728121afb91ecc", "parentSpanId": "55e37367190b8958", "startTimeUnixNano": "1796073166711467075", "endTimeUnixNano": "1796073166729881239", "durationMs": 18.414164, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.378481, "db.connection": "reader", "db.lock_wait_ms": 6.246}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "79edf75dd6f9849539ae0fa671be03de", "spanId": "55e37367190b8958", "parentSpanId": "9710c33d8b296cd0", "startTimeUnixNano": "1796073166711423563", "endTimeUnixNano": "1796073166729918850", "durationMs": 18.495287, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "79edf75dd6f9849539ae0fa671be03de", "spanId": "9710c33d8b296cd0", "parentSpanId": "8b5ccf335410b365", "startTimeUnixNano": "1796073166711332321", "endTimeUnixNano": "1796073166729930311", "durationMs": 18.59799, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "79edf75dd6f9849539ae0fa671be03de", "spanId": "8b5ccf335410b365", "startTimeUnixNano": "1796073166711290582", "endTimeUnixNano": "1796073166729948726", "durationMs": 18.658144, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bbf18ea954588e4485f941b30e362456", "spanId": "951ea76f828ea3d1", "parentSpanId": "b30ab1279470e61e", "startTimeUnixNano": "1796073167044794824", "endTimeUnixNano": "1796073167044956639", "durationMs": 0.161815, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bbf18ea954588e4485f941b30e362456", "spanId": "c6fdcd9ff9301dcd", "parentSpanId": "100ad09ce74ac178", "startTimeUnixNano": "1796073167045004199", "endTimeUnixNano": "1796073167045401327", "durationMs": 0.397128, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010089}}
{"type": "effect-span", "name": "sqlite", "traceId": "bbf18ea954588e4485f941b30e362456", "spanId": "97922040ae938501", "parentSpanId": "100ad09ce74ac178", "startTimeUnixNano": "1796073167045525091", "endTimeUnixNano": "1796073167046325179", "durationMs": 0.800088, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013645}}
{"type": "effect-span", "name": "sqlite", "traceId": "bbf18ea954588e4485f941b30e362456", "spanId": "e38a2552e9fe956f", "parentSpanId": "100ad09ce74ac178", "startTimeUnixNano": "1796073167046346529", "endTimeUnixNano": "1796073167047053351", "durationMs": 0.706822, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012854}}
{"type": "effect-span", "name": "sqlite", "traceId": "bbf18ea954588e4485f941b30e362456", "spanId": "1e99b24fcdcf4748", "parentSpanId": "100ad09ce74ac178", "startTimeUnixNano": "1796073167049256774", "endTimeUnixNano": "1796073167054209858", "durationMs": 4.953084, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020157}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bbf18ea954588e4485f941b30e362456", "spanId": "100ad09ce74ac178", "parentSpanId": "b30ab1279470e61e", "startTimeUnixNano": "1796073167044998107", "endTimeUnixNano": "1796073167054340885", "durationMs": 9.342778, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bbf18ea954588e4485f941b30e362456", "spanId": "2ef4c5d819649e1d", "parentSpanId": "b30ab1279470e61e", "startTimeUnixNano": "1796073167054354601", "endTimeUnixNano": "1796073167055783885", "durationMs": 1.429284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bbf18ea954588e4485f941b30e362456", "spanId": "b30ab1279470e61e", "parentSpanId": "17aa0dec7952892b", "startTimeUnixNano": "1796073167042018542", "endTimeUnixNano": "1796073167055816105", "durationMs": 13.797563, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.771724, "db.connection": "reader", "db.lock_wait_ms": 2.636}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bbf18ea954588e4485f941b30e362456", "spanId": "17aa0dec7952892b", "parentSpanId": "6d9c444b062c6951", "startTimeUnixNano": "1796073167042006469", "endTimeUnixNano": "1796073167055839069", "durationMs": 13.8326, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bbf18ea954588e4485f941b30e362456", "spanId": "6d9c444b062c6951", "parentSpanId": "4680917ccd748a1a", "startTimeUnixNano": "1796073167041929935", "endTimeUnixNano": "1796073167055848707", "durationMs": 13.918772, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bbf18ea954588e4485f941b30e362456", "spanId": "4680917ccd748a1a", "startTimeUnixNano": "1796073167041902383", "endTimeUnixNano": "1796073167055860319", "durationMs": 13.957936, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1defc74bcd98a306ca3562c47dfdd304", "spanId": "0b10fe63e240049c", "parentSpanId": "36a4e56f798dd663", "startTimeUnixNano": "1796073168760238331", "endTimeUnixNano": "1796073168760619109", "durationMs": 0.380778, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1defc74bcd98a306ca3562c47dfdd304", "spanId": "7620bedf480475e1", "parentSpanId": "58aa71033d87a50e", "startTimeUnixNano": "1796073168760665927", "endTimeUnixNano": "1796073168761502363", "durationMs": 0.836436, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007644}}
{"type": "effect-span", "name": "sqlite", "traceId": "1defc74bcd98a306ca3562c47dfdd304", "spanId": "538e06bab306e74e", "parentSpanId": "58aa71033d87a50e", "startTimeUnixNano": "1796073168761627249", "endTimeUnixNano": "1796073168762576999", "durationMs": 0.94975, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018324}}
{"type": "effect-span", "name": "sqlite", "traceId": "1defc74bcd98a306ca3562c47dfdd304", "spanId": "ab99eaeab8e3788a", "parentSpanId": "58aa71033d87a50e", "startTimeUnixNano": "1796073168762621663", "endTimeUnixNano": "1796073168763304961", "durationMs": 0.683298, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009869}}
{"type": "effect-span", "name": "sqlite", "traceId": "1defc74bcd98a306ca3562c47dfdd304", "spanId": "a5b35f526279bce3", "parentSpanId": "58aa71033d87a50e", "startTimeUnixNano": "1796073168765340216", "endTimeUnixNano": "1796073168767871747", "durationMs": 2.531531, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017143}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1defc74bcd98a306ca3562c47dfdd304", "spanId": "58aa71033d87a50e", "parentSpanId": "36a4e56f798dd663", "startTimeUnixNano": "1796073168760658703", "endTimeUnixNano": "1796073168768036889", "durationMs": 7.378186, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1defc74bcd98a306ca3562c47dfdd304", "spanId": "aa3d78a61c928c4e", "parentSpanId": "36a4e56f798dd663", "startTimeUnixNano": "1796073168768050965", "endTimeUnixNano": "1796073168768621981", "durationMs": 0.571016, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1defc74bcd98a306ca3562c47dfdd304", "spanId": "36a4e56f798dd663", "parentSpanId": "3aafa4dfff12e78f", "startTimeUnixNano": "1796073168757840342", "endTimeUnixNano": "1796073168768650685", "durationMs": 10.810343, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.39309, "db.connection": "reader", "db.lock_wait_ms": 2.342}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1defc74bcd98a306ca3562c47dfdd304", "spanId": "3aafa4dfff12e78f", "parentSpanId": "d68895b22b5ccdb3", "startTimeUnixNano": "1796073168757829602", "endTimeUnixNano": "1796073168768670813", "durationMs": 10.841211, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1defc74bcd98a306ca3562c47dfdd304", "spanId": "d68895b22b5ccdb3", "parentSpanId": "d16a1482cd05335a", "startTimeUnixNano": "1796073168757780790", "endTimeUnixNano": "1796073168768679560", "durationMs": 10.89877, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1defc74bcd98a306ca3562c47dfdd304", "spanId": "d16a1482cd05335a", "startTimeUnixNano": "1796073168757758468", "endTimeUnixNano": "1796073168768690731", "durationMs": 10.932263, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ef72b2febb93b69783930f8fb3ca69d8", "spanId": "50dc8d17badb0d49", "parentSpanId": "60b08ca927bc268a", "startTimeUnixNano": "1796073169052907084", "endTimeUnixNano": "1796073169053150122", "durationMs": 0.243038, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef72b2febb93b69783930f8fb3ca69d8", "spanId": "e3061740874ab413", "parentSpanId": "4296ae8546002196", "startTimeUnixNano": "1796073169053204955", "endTimeUnixNano": "1796073169053509179", "durationMs": 0.304224, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008867}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef72b2febb93b69783930f8fb3ca69d8", "spanId": "f1ae0706333ff04c", "parentSpanId": "4296ae8546002196", "startTimeUnixNano": "1796073169053614587", "endTimeUnixNano": "1796073169054325878", "durationMs": 0.711291, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01017}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef72b2febb93b69783930f8fb3ca69d8", "spanId": "62b7a4a8a903d3c5", "parentSpanId": "4296ae8546002196", "startTimeUnixNano": "1796073169054343481", "endTimeUnixNano": "1796073169055668458", "durationMs": 1.324977, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009067}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef72b2febb93b69783930f8fb3ca69d8", "spanId": "6a11a7e392ae3788", "parentSpanId": "4296ae8546002196", "startTimeUnixNano": "1796073169057974885", "endTimeUnixNano": "1796073169063134078", "durationMs": 5.159193, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.033383}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ef72b2febb93b69783930f8fb3ca69d8", "spanId": "4296ae8546002196", "parentSpanId": "60b08ca927bc268a", "startTimeUnixNano": "1796073169053195728", "endTimeUnixNano": "1796073169063307685", "durationMs": 10.111957, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ef72b2febb93b69783930f8fb3ca69d8", "spanId": "673c3973215d02d3", "parentSpanId": "60b08ca927bc268a", "startTimeUnixNano": "1796073169063335478", "endTimeUnixNano": "1796073169064189828", "durationMs": 0.85435, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ef72b2febb93b69783930f8fb3ca69d8", "spanId": "60b08ca927bc268a", "parentSpanId": "58c960f9f60cd422", "startTimeUnixNano": "1796073169050577273", "endTimeUnixNano": "1796073169064217570", "durationMs": 13.640297, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.323319, "db.connection": "reader", "db.lock_wait_ms": 2.244}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ef72b2febb93b69783930f8fb3ca69d8", "spanId": "58c960f9f60cd422", "parentSpanId": "c1818cdecb55a982", "startTimeUnixNano": "1796073169050566242", "endTimeUnixNano": "1796073169064241545", "durationMs": 13.675303, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ef72b2febb93b69783930f8fb3ca69d8", "spanId": "c1818cdecb55a982", "parentSpanId": "79320b66e77ac574", "startTimeUnixNano": "1796073169050508674", "endTimeUnixNano": "1796073169064249771", "durationMs": 13.741097, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ef72b2febb93b69783930f8fb3ca69d8", "spanId": "79320b66e77ac574", "startTimeUnixNano": "1796073169050478036", "endTimeUnixNano": "1796073169064262906", "durationMs": 13.78487, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "116fa606da064fa6ce86381c591c74cc", "spanId": "802324755f44c7cd", "parentSpanId": "222a9b13a763fbad", "startTimeUnixNano": "1796073170798891643", "endTimeUnixNano": "1796073170814058107", "durationMs": 15.166464, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "116fa606da064fa6ce86381c591c74cc", "spanId": "e701868e1de35b71", "parentSpanId": "bfef47ee6236f1aa", "startTimeUnixNano": "1796073170814220914", "endTimeUnixNano": "1796073170817893786", "durationMs": 3.672872, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014787}}
{"type": "effect-span", "name": "sqlite", "traceId": "116fa606da064fa6ce86381c591c74cc", "spanId": "776a016dd18d962f", "parentSpanId": "bfef47ee6236f1aa", "startTimeUnixNano": "1796073170818278851", "endTimeUnixNano": "1796073170820338192", "durationMs": 2.059341, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.036189}}
{"type": "effect-span", "name": "sqlite", "traceId": "116fa606da064fa6ce86381c591c74cc", "spanId": "126034f8de3f4538", "parentSpanId": "bfef47ee6236f1aa", "startTimeUnixNano": "1796073170820376655", "endTimeUnixNano": "1796073170821997690", "durationMs": 1.621035, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.027201}}
{"type": "effect-span", "name": "sqlite", "traceId": "116fa606da064fa6ce86381c591c74cc", "spanId": "34b7f0b190543766", "parentSpanId": "bfef47ee6236f1aa", "startTimeUnixNano": "1796073170827147145", "endTimeUnixNano": "1796073170829836874", "durationMs": 2.689729, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.131618}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "116fa606da064fa6ce86381c591c74cc", "spanId": "bfef47ee6236f1aa", "parentSpanId": "222a9b13a763fbad", "startTimeUnixNano": "1796073170814195285", "endTimeUnixNano": "1796073170830161666", "durationMs": 15.966381, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "116fa606da064fa6ce86381c591c74cc", "spanId": "145eaf30fdeae4f5", "parentSpanId": "222a9b13a763fbad", "startTimeUnixNano": "1796073170830214696", "endTimeUnixNano": "1796073170831968060", "durationMs": 1.753364, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "116fa606da064fa6ce86381c591c74cc", "spanId": "222a9b13a763fbad", "parentSpanId": "7031b369645e7e96", "startTimeUnixNano": "1796073170796259503", "endTimeUnixNano": "1796073170832025539", "durationMs": 35.766036, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.623274, "db.connection": "reader", "db.lock_wait_ms": 2.566}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "116fa606da064fa6ce86381c591c74cc", "spanId": "7031b369645e7e96", "parentSpanId": "bd0b0462025bc8ba", "startTimeUnixNano": "1796073170796245166", "endTimeUnixNano": "1796073170832063380", "durationMs": 35.818214, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "116fa606da064fa6ce86381c591c74cc", "spanId": "bd0b0462025bc8ba", "parentSpanId": "35fbe98245218107", "startTimeUnixNano": "1796073170796163843", "endTimeUnixNano": "1796073170832077256", "durationMs": 35.913413, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "116fa606da064fa6ce86381c591c74cc", "spanId": "35fbe98245218107", "startTimeUnixNano": "1796073170796113498", "endTimeUnixNano": "1796073170832112452", "durationMs": 35.998954, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a9494f7cebdb86b2a5f966e9eb4d0465", "spanId": "f22f12082caa7ff2", "parentSpanId": "d7f906da8e9ddde5", "startTimeUnixNano": "1796073171110514158", "endTimeUnixNano": "1796073171111005323", "durationMs": 0.491165, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a9494f7cebdb86b2a5f966e9eb4d0465", "spanId": "cc8d5c2afc8d38d6", "parentSpanId": "da8095883c44f5e6", "startTimeUnixNano": "1796073171111119929", "endTimeUnixNano": "1796073171111549158", "durationMs": 0.429229, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009258}}
{"type": "effect-span", "name": "sqlite", "traceId": "a9494f7cebdb86b2a5f966e9eb4d0465", "spanId": "a25357f2f90f123e", "parentSpanId": "da8095883c44f5e6", "startTimeUnixNano": "1796073171111655308", "endTimeUnixNano": "1796073171112816387", "durationMs": 1.161079, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011061}}
{"type": "effect-span", "name": "sqlite", "traceId": "a9494f7cebdb86b2a5f966e9eb4d0465", "spanId": "25fc0526440dca37", "parentSpanId": "da8095883c44f5e6", "startTimeUnixNano": "1796073171112841784", "endTimeUnixNano": "1796073171114010387", "durationMs": 1.168603, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012123}}
{"type": "effect-span", "name": "sqlite", "traceId": "a9494f7cebdb86b2a5f966e9eb4d0465", "spanId": "727920a02ffc0d62", "parentSpanId": "da8095883c44f5e6", "startTimeUnixNano": "1796073171118239868", "endTimeUnixNano": "1796073171125887270", "durationMs": 7.647402, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.098766}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a9494f7cebdb86b2a5f966e9eb4d0465", "spanId": "da8095883c44f5e6", "parentSpanId": "d7f906da8e9ddde5", "startTimeUnixNano": "1796073171111107646", "endTimeUnixNano": "1796073171126348550", "durationMs": 15.240904, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a9494f7cebdb86b2a5f966e9eb4d0465", "spanId": "d467fada7e65b5cf", "parentSpanId": "d7f906da8e9ddde5", "startTimeUnixNano": "1796073171126409565", "endTimeUnixNano": "1796073171128623567", "durationMs": 2.214002, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a9494f7cebdb86b2a5f966e9eb4d0465", "spanId": "d7f906da8e9ddde5", "parentSpanId": "0402496f1706d1f3", "startTimeUnixNano": "1796073171107421840", "endTimeUnixNano": "1796073171128671378", "durationMs": 21.249538, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.076428, "db.connection": "reader", "db.lock_wait_ms": 2.964}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a9494f7cebdb86b2a5f966e9eb4d0465", "spanId": "0402496f1706d1f3", "parentSpanId": "1cd287c41a06dfad", "startTimeUnixNano": "1796073171107408515", "endTimeUnixNano": "1796073171128702005", "durationMs": 21.29349, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a9494f7cebdb86b2a5f966e9eb4d0465", "spanId": "1cd287c41a06dfad", "parentSpanId": "9cea467d079a8bd5", "startTimeUnixNano": "1796073171107354703", "endTimeUnixNano": "1796073171128717504", "durationMs": 21.362801, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a9494f7cebdb86b2a5f966e9eb4d0465", "spanId": "9cea467d079a8bd5", "startTimeUnixNano": "1796073171107330357", "endTimeUnixNano": "1796073171128734917", "durationMs": 21.40456, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bcae8d45b3b13f411e5586b775a2c7e9", "spanId": "e1c218643d89d103", "parentSpanId": "44924e251992f403", "startTimeUnixNano": "1796073172840484980", "endTimeUnixNano": "1796073172840898339", "durationMs": 0.413359, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bcae8d45b3b13f411e5586b775a2c7e9", "spanId": "492745abc70172af", "parentSpanId": "3ddf24445cae6d34", "startTimeUnixNano": "1796073172841004048", "endTimeUnixNano": "1796073172842251389", "durationMs": 1.247341, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013696}}
{"type": "effect-span", "name": "sqlite", "traceId": "bcae8d45b3b13f411e5586b775a2c7e9", "spanId": "327077e7c0b90b4f", "parentSpanId": "3ddf24445cae6d34", "startTimeUnixNano": "1796073172842366616", "endTimeUnixNano": "1796073172843512756", "durationMs": 1.14614, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014597}}
{"type": "effect-span", "name": "sqlite", "traceId": "bcae8d45b3b13f411e5586b775a2c7e9", "spanId": "3c46be9a5691b598", "parentSpanId": "3ddf24445cae6d34", "startTimeUnixNano": "1796073172843547922", "endTimeUnixNano": "1796073172844230298", "durationMs": 0.682376, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011823}}
{"type": "effect-span", "name": "sqlite", "traceId": "bcae8d45b3b13f411e5586b775a2c7e9", "spanId": "a39f24ce48156b7f", "parentSpanId": "3ddf24445cae6d34", "startTimeUnixNano": "1796073172847843097", "endTimeUnixNano": "1796073172849410491", "durationMs": 1.567394, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020429}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bcae8d45b3b13f411e5586b775a2c7e9", "spanId": "3ddf24445cae6d34", "parentSpanId": "44924e251992f403", "startTimeUnixNano": "1796073172840990563", "endTimeUnixNano": "1796073172849632540", "durationMs": 8.641977, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bcae8d45b3b13f411e5586b775a2c7e9", "spanId": "12398cdf69ca640a", "parentSpanId": "44924e251992f403", "startTimeUnixNano": "1796073172849655894", "endTimeUnixNano": "1796073172852240405", "durationMs": 2.584511, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bcae8d45b3b13f411e5586b775a2c7e9", "spanId": "44924e251992f403", "parentSpanId": "d911146a252b7af5", "startTimeUnixNano": "1796073172836924670", "endTimeUnixNano": "1796073172852271944", "durationMs": 15.347274, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.550651, "db.connection": "reader", "db.lock_wait_ms": 3.447}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bcae8d45b3b13f411e5586b775a2c7e9", "spanId": "d911146a252b7af5", "parentSpanId": "4303e3c91e2de662", "startTimeUnixNano": "1796073172836902338", "endTimeUnixNano": "1796073172852295889", "durationMs": 15.393551, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bcae8d45b3b13f411e5586b775a2c7e9", "spanId": "4303e3c91e2de662", "parentSpanId": "586e900967ea4ea0", "startTimeUnixNano": "1796073172836826324", "endTimeUnixNano": "1796073172852306088", "durationMs": 15.479764, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bcae8d45b3b13f411e5586b775a2c7e9", "spanId": "586e900967ea4ea0", "startTimeUnixNano": "1796073172836793352", "endTimeUnixNano": "1796073172852322028", "durationMs": 15.528676, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9532d2e97b588091e5f85002f6567d28", "spanId": "6c3c6ddadfc0bb22", "parentSpanId": "3bf7efea9db52bf8", "startTimeUnixNano": "1796073173107886604", "endTimeUnixNano": "1796073173108604698", "durationMs": 0.718094, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9532d2e97b588091e5f85002f6567d28", "spanId": "ebcabb93dd0a8220", "parentSpanId": "6ba079161f0fcac4", "startTimeUnixNano": "1796073173108716508", "endTimeUnixNano": "1796073173109550179", "durationMs": 0.833671, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009097}}
{"type": "effect-span", "name": "sqlite", "traceId": "9532d2e97b588091e5f85002f6567d28", "spanId": "931c7286396c7977", "parentSpanId": "6ba079161f0fcac4", "startTimeUnixNano": "1796073173109689312", "endTimeUnixNano": "1796073173112299100", "durationMs": 2.609788, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.022793}}
{"type": "effect-span", "name": "sqlite", "traceId": "9532d2e97b588091e5f85002f6567d28", "spanId": "24843231ca4e6816", "parentSpanId": "6ba079161f0fcac4", "startTimeUnixNano": "1796073173112327524", "endTimeUnixNano": "1796073173114256429", "durationMs": 1.928905, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014367}}
{"type": "effect-span", "name": "sqlite", "traceId": "9532d2e97b588091e5f85002f6567d28", "spanId": "5d0ce116909532e5", "parentSpanId": "6ba079161f0fcac4", "startTimeUnixNano": "1796073173118078933", "endTimeUnixNano": "1796073173128120157", "durationMs": 10.041224, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.078839}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9532d2e97b588091e5f85002f6567d28", "spanId": "6ba079161f0fcac4", "parentSpanId": "3bf7efea9db52bf8", "startTimeUnixNano": "1796073173108704285", "endTimeUnixNano": "1796073173128575856", "durationMs": 19.871571, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9532d2e97b588091e5f85002f6567d28", "spanId": "b250199585c3f423", "parentSpanId": "3bf7efea9db52bf8", "startTimeUnixNano": "1796073173128662830", "endTimeUnixNano": "1796073173131860296", "durationMs": 3.197466, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9532d2e97b588091e5f85002f6567d28", "spanId": "3bf7efea9db52bf8", "parentSpanId": "348c5e4799b853c8", "startTimeUnixNano": "1796073173105682039", "endTimeUnixNano": "1796073173131943873", "durationMs": 26.261834, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.195799, "db.connection": "reader", "db.lock_wait_ms": 2.126}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9532d2e97b588091e5f85002f6567d28", "spanId": "348c5e4799b853c8", "parentSpanId": "e8762a2e94dc653c", "startTimeUnixNano": "1796073173105663274", "endTimeUnixNano": "1796073173131996182", "durationMs": 26.332908, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9532d2e97b588091e5f85002f6567d28", "spanId": "e8762a2e94dc653c", "parentSpanId": "97b56adba15f1447", "startTimeUnixNano": "1796073173105597380", "endTimeUnixNano": "1796073173132012252", "durationMs": 26.414872, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9532d2e97b588091e5f85002f6567d28", "spanId": "97b56adba15f1447", "startTimeUnixNano": "1796073173105568445", "endTimeUnixNano": "1796073173132036708", "durationMs": 26.468263, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e4f1c5c8bbe060fe05ff5ca209c630f6", "spanId": "e97dfd9ff7b2cf36", "parentSpanId": "5879adff37d32a92", "startTimeUnixNano": "1796073174730964845", "endTimeUnixNano": "1796073174731158460", "durationMs": 0.193615, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4f1c5c8bbe060fe05ff5ca209c630f6", "spanId": "42266f010d4053f2", "parentSpanId": "79852ac63c1aa873", "startTimeUnixNano": "1796073174731221880", "endTimeUnixNano": "1796073174732170738", "durationMs": 0.948858, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009538}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4f1c5c8bbe060fe05ff5ca209c630f6", "spanId": "7f0c0a4abfab04a5", "parentSpanId": "79852ac63c1aa873", "startTimeUnixNano": "1796073174732267771", "endTimeUnixNano": "1796073174733107714", "durationMs": 0.839943, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011512}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4f1c5c8bbe060fe05ff5ca209c630f6", "spanId": "e800f8a7f280c004", "parentSpanId": "79852ac63c1aa873", "startTimeUnixNano": "1796073174733137730", "endTimeUnixNano": "1796073174734207226", "durationMs": 1.069496, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013255}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4f1c5c8bbe060fe05ff5ca209c630f6", "spanId": "103fc14dff568cf4", "parentSpanId": "79852ac63c1aa873", "startTimeUnixNano": "1796073174736253382", "endTimeUnixNano": "1796073174738737424", "durationMs": 2.484042, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015409}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e4f1c5c8bbe060fe05ff5ca209c630f6", "spanId": "79852ac63c1aa873", "parentSpanId": "5879adff37d32a92", "startTimeUnixNano": "1796073174731211260", "endTimeUnixNano": "1796073174738872899", "durationMs": 7.661639, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e4f1c5c8bbe060fe05ff5ca209c630f6", "spanId": "fdadb657a904f79b", "parentSpanId": "5879adff37d32a92", "startTimeUnixNano": "1796073174738886815", "endTimeUnixNano": "1796073174739183945", "durationMs": 0.29713, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e4f1c5c8bbe060fe05ff5ca209c630f6", "spanId": "5879adff37d32a92", "parentSpanId": "6d1b7197c576ce53", "startTimeUnixNano": "1796073174728726607", "endTimeUnixNano": "1796073174739206217", "durationMs": 10.47961, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.233199, "db.connection": "reader", "db.lock_wait_ms": 2.196}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e4f1c5c8bbe060fe05ff5ca209c630f6", "spanId": "6d1b7197c576ce53", "parentSpanId": "62c56b7d2b1c8da7", "startTimeUnixNano": "1796073174728718121", "endTimeUnixNano": "1796073174739218791", "durationMs": 10.50067, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e4f1c5c8bbe060fe05ff5ca209c630f6", "spanId": "62c56b7d2b1c8da7", "parentSpanId": "966928ff9fe44dde", "startTimeUnixNano": "1796073174728676974", "endTimeUnixNano": "1796073174739224011", "durationMs": 10.547037, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e4f1c5c8bbe060fe05ff5ca209c630f6", "spanId": "966928ff9fe44dde", "startTimeUnixNano": "1796073174728660082", "endTimeUnixNano": "1796073174739232277", "durationMs": 10.572195, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "40e5a6f44fb0faf98ca36d04715b7de9", "spanId": "65e97ca16de847e1", "parentSpanId": "b4046fa1725e31ca", "startTimeUnixNano": "1796073175046659365", "endTimeUnixNano": "1796073175047077533", "durationMs": 0.418168, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "40e5a6f44fb0faf98ca36d04715b7de9", "spanId": "31bcd8650f124015", "parentSpanId": "773f453efc22ab4b", "startTimeUnixNano": "1796073175047140351", "endTimeUnixNano": "1796073175047460334", "durationMs": 0.319983, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01028}}
{"type": "effect-span", "name": "sqlite", "traceId": "40e5a6f44fb0faf98ca36d04715b7de9", "spanId": "0043905fa35c5982", "parentSpanId": "773f453efc22ab4b", "startTimeUnixNano": "1796073175047547779", "endTimeUnixNano": "1796073175048383354", "durationMs": 0.835575, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012103}}
{"type": "effect-span", "name": "sqlite", "traceId": "40e5a6f44fb0faf98ca36d04715b7de9", "spanId": "e0de0d3249dce382", "parentSpanId": "773f453efc22ab4b", "startTimeUnixNano": "1796073175048396288", "endTimeUnixNano": "1796073175049387236", "durationMs": 0.990948, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006052}}
{"type": "effect-span", "name": "sqlite", "traceId": "40e5a6f44fb0faf98ca36d04715b7de9", "spanId": "66bb4f44f827ee8e", "parentSpanId": "773f453efc22ab4b", "startTimeUnixNano": "1796073175051555542", "endTimeUnixNano": "1796073175056285136", "durationMs": 4.729594, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016411}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "40e5a6f44fb0faf98ca36d04715b7de9", "spanId": "773f453efc22ab4b", "parentSpanId": "b4046fa1725e31ca", "startTimeUnixNano": "1796073175047133088", "endTimeUnixNano": "1796073175056566286", "durationMs": 9.433198, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "40e5a6f44fb0faf98ca36d04715b7de9", "spanId": "5dbb66b0cd537bf0", "parentSpanId": "b4046fa1725e31ca", "startTimeUnixNano": "1796073175056589289", "endTimeUnixNano": "1796073175057774002", "durationMs": 1.184713, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "40e5a6f44fb0faf98ca36d04715b7de9", "spanId": "b4046fa1725e31ca", "parentSpanId": "5ebd7ed4aca4b4c0", "startTimeUnixNano": "1796073175044479977", "endTimeUnixNano": "1796073175057810130", "durationMs": 13.330153, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.17544, "db.connection": "reader", "db.lock_wait_ms": 2.128}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "40e5a6f44fb0faf98ca36d04715b7de9", "spanId": "5ebd7ed4aca4b4c0", "parentSpanId": "59682119e9f8fffb", "startTimeUnixNano": "1796073175044464438", "endTimeUnixNano": "1796073175057842932", "durationMs": 13.378494, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "40e5a6f44fb0faf98ca36d04715b7de9", "spanId": "59682119e9f8fffb", "parentSpanId": "70b6beec6ed5b2ad", "startTimeUnixNano": "1796073175044407260", "endTimeUnixNano": "1796073175057854804", "durationMs": 13.447544, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "40e5a6f44fb0faf98ca36d04715b7de9", "spanId": "70b6beec6ed5b2ad", "startTimeUnixNano": "1796073175044381872", "endTimeUnixNano": "1796073175057870744", "durationMs": 13.488872, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4212f1e911e9199ea22802141aa2c0e3", "spanId": "c46e4eef82227cda", "parentSpanId": "44dd386b82aa9618", "startTimeUnixNano": "1796073176709892656", "endTimeUnixNano": "1796073176727279424", "durationMs": 17.386768, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4212f1e911e9199ea22802141aa2c0e3", "spanId": "ca2cd28079907fab", "parentSpanId": "ede127c3a735ff44", "startTimeUnixNano": "1796073176727413016", "endTimeUnixNano": "1796073176730856215", "durationMs": 3.443199, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.0106}}
{"type": "effect-span", "name": "sqlite", "traceId": "4212f1e911e9199ea22802141aa2c0e3", "spanId": "74cae2dc219ee6d3", "parentSpanId": "ede127c3a735ff44", "startTimeUnixNano": "1796073176731091699", "endTimeUnixNano": "1796073176732145665", "durationMs": 1.053966, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.025578}}
{"type": "effect-span", "name": "sqlite", "traceId": "4212f1e911e9199ea22802141aa2c0e3", "spanId": "79d1c00ccb8d3ae0", "parentSpanId": "ede127c3a735ff44", "startTimeUnixNano": "1796073176732167476", "endTimeUnixNano": "1796073176733240498", "durationMs": 1.073022, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.057919}}
{"type": "effect-span", "name": "sqlite", "traceId": "4212f1e911e9199ea22802141aa2c0e3", "spanId": "44b4d54a41dcbd57", "parentSpanId": "ede127c3a735ff44", "startTimeUnixNano": "1796073176737745549", "endTimeUnixNano": "1796073176739579185", "durationMs": 1.833636, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.060574}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4212f1e911e9199ea22802141aa2c0e3", "spanId": "ede127c3a735ff44", "parentSpanId": "44dd386b82aa9618", "startTimeUnixNano": "1796073176727394962", "endTimeUnixNano": "1796073176739830528", "durationMs": 12.435566, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4212f1e911e9199ea22802141aa2c0e3", "spanId": "939fefaece7d1a8b", "parentSpanId": "44dd386b82aa9618", "startTimeUnixNano": "1796073176739863350", "endTimeUnixNano": "1796073176740863786", "durationMs": 1.000436, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4212f1e911e9199ea22802141aa2c0e3", "spanId": "44dd386b82aa9618", "parentSpanId": "8b50228095c40f16", "startTimeUnixNano": "1796073176706264999", "endTimeUnixNano": "1796073176740898050", "durationMs": 34.633051, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.610054, "db.connection": "reader", "db.lock_wait_ms": 3.537}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4212f1e911e9199ea22802141aa2c0e3", "spanId": "8b50228095c40f16", "parentSpanId": "0e2f7cebd52f4045", "startTimeUnixNano": "1796073176706245673", "endTimeUnixNano": "1796073176740934940", "durationMs": 34.689267, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4212f1e911e9199ea22802141aa2c0e3", "spanId": "0e2f7cebd52f4045", "parentSpanId": "34b480ec6117adf0", "startTimeUnixNano": "1796073176706167776", "endTimeUnixNano": "1796073176740947163", "durationMs": 34.779387, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4212f1e911e9199ea22802141aa2c0e3", "spanId": "34b480ec6117adf0", "startTimeUnixNano": "1796073176706133341", "endTimeUnixNano": "1796073176740968062", "durationMs": 34.834721, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ef8afa719ed084de888db9b2535ab4cc", "spanId": "c242446241e59cb0", "parentSpanId": "808829d32095879d", "startTimeUnixNano": "1796073177097763642", "endTimeUnixNano": "1796073177098151443", "durationMs": 0.387801, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef8afa719ed084de888db9b2535ab4cc", "spanId": "e5d42115847e90ea", "parentSpanId": "97a9c845f89286d6", "startTimeUnixNano": "1796073177098195096", "endTimeUnixNano": "1796073177098381026", "durationMs": 0.18593, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005841}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef8afa719ed084de888db9b2535ab4cc", "spanId": "713ce7a757d628b0", "parentSpanId": "97a9c845f89286d6", "startTimeUnixNano": "1796073177098480694", "endTimeUnixNano": "1796073177099277235", "durationMs": 0.796541, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014607}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef8afa719ed084de888db9b2535ab4cc", "spanId": "3b3f9bc1c0bd81c4", "parentSpanId": "97a9c845f89286d6", "startTimeUnixNano": "1796073177099320356", "endTimeUnixNano": "1796073177100127257", "durationMs": 0.806901, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018455}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef8afa719ed084de888db9b2535ab4cc", "spanId": "e8031ded739ee9d8", "parentSpanId": "97a9c845f89286d6", "startTimeUnixNano": "1796073177102467938", "endTimeUnixNano": "1796073177105776404", "durationMs": 3.308466, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017453}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ef8afa719ed084de888db9b2535ab4cc", "spanId": "97a9c845f89286d6", "parentSpanId": "808829d32095879d", "startTimeUnixNano": "1796073177098188413", "endTimeUnixNano": "1796073177105973255", "durationMs": 7.784842, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ef8afa719ed084de888db9b2535ab4cc", "spanId": "97fbf1f694d3c2d9", "parentSpanId": "808829d32095879d", "startTimeUnixNano": "1796073177105997791", "endTimeUnixNano": "1796073177106665539", "durationMs": 0.667748, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ef8afa719ed084de888db9b2535ab4cc", "spanId": "808829d32095879d", "parentSpanId": "255e5002921f6fdf", "startTimeUnixNano": "1796073177095766088", "endTimeUnixNano": "1796073177106699323", "durationMs": 10.933235, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.991072, "db.connection": "reader", "db.lock_wait_ms": 1.948}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ef8afa719ed084de888db9b2535ab4cc", "spanId": "255e5002921f6fdf", "parentSpanId": "1ea4516889e68787", "startTimeUnixNano": "1796073177095752793", "endTimeUnixNano": "1796073177106723308", "durationMs": 10.970515, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ef8afa719ed084de888db9b2535ab4cc", "spanId": "1ea4516889e68787", "parentSpanId": "c9138b17ffac9056", "startTimeUnixNano": "1796073177095711645", "endTimeUnixNano": "1796073177106728348", "durationMs": 11.016703, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ef8afa719ed084de888db9b2535ab4cc", "spanId": "c9138b17ffac9056", "startTimeUnixNano": "1796073177095690024", "endTimeUnixNano": "1796073177106737505", "durationMs": 11.047481, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4b42490c03653630fbe33579e609be57", "spanId": "e053f54b49a44de7", "parentSpanId": "6638197aad8933b3", "startTimeUnixNano": "1796073178910689964", "endTimeUnixNano": "1796073178911991397", "durationMs": 1.301433, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4b42490c03653630fbe33579e609be57", "spanId": "05cfae968a3e4999", "parentSpanId": "6e9cee013f4012c7", "startTimeUnixNano": "1796073178912061910", "endTimeUnixNano": "1796073178912672561", "durationMs": 0.610651, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006432}}
{"type": "effect-span", "name": "sqlite", "traceId": "4b42490c03653630fbe33579e609be57", "spanId": "9f218396d42919ef", "parentSpanId": "6e9cee013f4012c7", "startTimeUnixNano": "1796073178912774453", "endTimeUnixNano": "1796073178913633382", "durationMs": 0.858929, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010389}}
{"type": "effect-span", "name": "sqlite", "traceId": "4b42490c03653630fbe33579e609be57", "spanId": "b2f8ab9498c7b41e", "parentSpanId": "6e9cee013f4012c7", "startTimeUnixNano": "1796073178913648901", "endTimeUnixNano": "1796073178914979138", "durationMs": 1.330237, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008446}}
{"type": "effect-span", "name": "sqlite", "traceId": "4b42490c03653630fbe33579e609be57", "spanId": "8fdde957f0e0315a", "parentSpanId": "6e9cee013f4012c7", "startTimeUnixNano": "1796073178917110555", "endTimeUnixNano": "1796073178919684035", "durationMs": 2.57348, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025899}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4b42490c03653630fbe33579e609be57", "spanId": "6e9cee013f4012c7", "parentSpanId": "6638197aad8933b3", "startTimeUnixNano": "1796073178912048104", "endTimeUnixNano": "1796073178919959073", "durationMs": 7.910969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4b42490c03653630fbe33579e609be57", "spanId": "b623b18c335de0de", "parentSpanId": "6638197aad8933b3", "startTimeUnixNano": "1796073178920007134", "endTimeUnixNano": "1796073178921284691", "durationMs": 1.277557, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4b42490c03653630fbe33579e609be57", "spanId": "6638197aad8933b3", "parentSpanId": "71f3ef5c929452b9", "startTimeUnixNano": "1796073178907519048", "endTimeUnixNano": "1796073178921329686", "durationMs": 13.810638, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.157491, "db.connection": "reader", "db.lock_wait_ms": 3.042}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4b42490c03653630fbe33579e609be57", "spanId": "71f3ef5c929452b9", "parentSpanId": "9465d553958b9a52", "startTimeUnixNano": "1796073178907491286", "endTimeUnixNano": "1796073178921357238", "durationMs": 13.865952, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4b42490c03653630fbe33579e609be57", "spanId": "9465d553958b9a52", "parentSpanId": "4effcd981f68234c", "startTimeUnixNano": "1796073178907395195", "endTimeUnixNano": "1796073178921367267", "durationMs": 13.972072, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4b42490c03653630fbe33579e609be57", "spanId": "4effcd981f68234c", "startTimeUnixNano": "1796073178907351763", "endTimeUnixNano": "1796073178921383047", "durationMs": 14.031284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "33eff9d30d6afa3f946c027194663032", "spanId": "2d9a9efa797e43f4", "parentSpanId": "8aa268716b8ec175", "startTimeUnixNano": "1796073179239650907", "endTimeUnixNano": "1796073179240292206", "durationMs": 0.641299, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "33eff9d30d6afa3f946c027194663032", "spanId": "8e7b17f9d6cdfaf4", "parentSpanId": "b74814d4425aee46", "startTimeUnixNano": "1796073179240362248", "endTimeUnixNano": "1796073179241132119", "durationMs": 0.769871, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010109}}
{"type": "effect-span", "name": "sqlite", "traceId": "33eff9d30d6afa3f946c027194663032", "spanId": "4e416d57f0f27c26", "parentSpanId": "b74814d4425aee46", "startTimeUnixNano": "1796073179241259278", "endTimeUnixNano": "1796073179242541585", "durationMs": 1.282307, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017594}}
{"type": "effect-span", "name": "sqlite", "traceId": "33eff9d30d6afa3f946c027194663032", "spanId": "f769d483ffe4488b", "parentSpanId": "b74814d4425aee46", "startTimeUnixNano": "1796073179242582923", "endTimeUnixNano": "1796073179243596854", "durationMs": 1.013931, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015189}}
{"type": "effect-span", "name": "sqlite", "traceId": "33eff9d30d6afa3f946c027194663032", "spanId": "5673de7fe2e92e12", "parentSpanId": "b74814d4425aee46", "startTimeUnixNano": "1796073179247627120", "endTimeUnixNano": "1796073179248756929", "durationMs": 1.129809, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020318}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "33eff9d30d6afa3f946c027194663032", "spanId": "b74814d4425aee46", "parentSpanId": "8aa268716b8ec175", "startTimeUnixNano": "1796073179240349634", "endTimeUnixNano": "1796073179248964049", "durationMs": 8.614415, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "33eff9d30d6afa3f946c027194663032", "spanId": "26c570d779fa04a0", "parentSpanId": "8aa268716b8ec175", "startTimeUnixNano": "1796073179248992613", "endTimeUnixNano": "1796073179249914330", "durationMs": 0.921717, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "33eff9d30d6afa3f946c027194663032", "spanId": "8aa268716b8ec175", "parentSpanId": "e2bf91c9762b4421", "startTimeUnixNano": "1796073179237786473", "endTimeUnixNano": "1796073179249959956", "durationMs": 12.173483, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.858664, "db.connection": "reader", "db.lock_wait_ms": 1.779}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "33eff9d30d6afa3f946c027194663032", "spanId": "e2bf91c9762b4421", "parentSpanId": "399f158cfe1e786d", "startTimeUnixNano": "1796073179237763961", "endTimeUnixNano": "1796073179249985354", "durationMs": 12.221393, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "33eff9d30d6afa3f946c027194663032", "spanId": "399f158cfe1e786d", "parentSpanId": "5b34a60b86ce0dc9", "startTimeUnixNano": "1796073179237692366", "endTimeUnixNano": "1796073179249994121", "durationMs": 12.301755, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "33eff9d30d6afa3f946c027194663032", "spanId": "5b34a60b86ce0dc9", "startTimeUnixNano": "1796073179237659795", "endTimeUnixNano": "1796073179250007105", "durationMs": 12.34731, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d99f3b4c5188248299cb34c2ef4ee2da", "spanId": "4582b467d52dd3b3", "parentSpanId": "9527e67bcac83f69", "startTimeUnixNano": "1796073181018859296", "endTimeUnixNano": "1796073181019138442", "durationMs": 0.279146, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d99f3b4c5188248299cb34c2ef4ee2da", "spanId": "7ffb2cd07bec12e1", "parentSpanId": "7b8d38d793757a12", "startTimeUnixNano": "1796073181019201511", "endTimeUnixNano": "1796073181020421029", "durationMs": 1.219518, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01063}}
{"type": "effect-span", "name": "sqlite", "traceId": "d99f3b4c5188248299cb34c2ef4ee2da", "spanId": "aafc198616eafe6b", "parentSpanId": "7b8d38d793757a12", "startTimeUnixNano": "1796073181020599165", "endTimeUnixNano": "1796073181021683839", "durationMs": 1.084674, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.020238}}
{"type": "effect-span", "name": "sqlite", "traceId": "d99f3b4c5188248299cb34c2ef4ee2da", "spanId": "6742d98b5b258b2a", "parentSpanId": "7b8d38d793757a12", "startTimeUnixNano": "1796073181021711932", "endTimeUnixNano": "1796073181023000260", "durationMs": 1.288328, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014728}}
{"type": "effect-span", "name": "sqlite", "traceId": "d99f3b4c5188248299cb34c2ef4ee2da", "spanId": "3378f54db90da1ba", "parentSpanId": "7b8d38d793757a12", "startTimeUnixNano": "1796073181027208912", "endTimeUnixNano": "1796073181029028271", "durationMs": 1.819359, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.09529}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d99f3b4c5188248299cb34c2ef4ee2da", "spanId": "7b8d38d793757a12", "parentSpanId": "9527e67bcac83f69", "startTimeUnixNano": "1796073181019190811", "endTimeUnixNano": "1796073181029281398", "durationMs": 10.090587, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d99f3b4c5188248299cb34c2ef4ee2da", "spanId": "8a36f06d76e7fb68", "parentSpanId": "9527e67bcac83f69", "startTimeUnixNano": "1796073181029322756", "endTimeUnixNano": "1796073181030278878", "durationMs": 0.956122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d99f3b4c5188248299cb34c2ef4ee2da", "spanId": "9527e67bcac83f69", "parentSpanId": "2ed527ff8617cc74", "startTimeUnixNano": "1796073181013664195", "endTimeUnixNano": "1796073181030318943", "durationMs": 16.654748, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.180183, "db.connection": "reader", "db.lock_wait_ms": 5.038}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d99f3b4c5188248299cb34c2ef4ee2da", "spanId": "2ed527ff8617cc74", "parentSpanId": "d1736fd878926913", "startTimeUnixNano": "1796073181013644799", "endTimeUnixNano": "1796073181030356324", "durationMs": 16.711525, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d99f3b4c5188248299cb34c2ef4ee2da", "spanId": "d1736fd878926913", "parentSpanId": "8e435fc449d7e5b4", "startTimeUnixNano": "1796073181013571430", "endTimeUnixNano": "1796073181030366904", "durationMs": 16.795474, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d99f3b4c5188248299cb34c2ef4ee2da", "spanId": "8e435fc449d7e5b4", "startTimeUnixNano": "1796073181013545732", "endTimeUnixNano": "1796073181030386561", "durationMs": 16.840829, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0d45cf0d789b5cd1c8b318aa77dfdbcf", "spanId": "26e1464696aa185d", "parentSpanId": "86e3e28c12e85204", "startTimeUnixNano": "1796073181363965287", "endTimeUnixNano": "1796073181364646781", "durationMs": 0.681494, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0d45cf0d789b5cd1c8b318aa77dfdbcf", "spanId": "6710a7384df5c2f5", "parentSpanId": "db7ed1079e47e122", "startTimeUnixNano": "1796073181364691436", "endTimeUnixNano": "1796073181365010257", "durationMs": 0.318821, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00533}}
{"type": "effect-span", "name": "sqlite", "traceId": "0d45cf0d789b5cd1c8b318aa77dfdbcf", "spanId": "9119031561071549", "parentSpanId": "db7ed1079e47e122", "startTimeUnixNano": "1796073181365089967", "endTimeUnixNano": "1796073181366142531", "durationMs": 1.052564, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009277}}
{"type": "effect-span", "name": "sqlite", "traceId": "0d45cf0d789b5cd1c8b318aa77dfdbcf", "spanId": "75e2a4369d031ea8", "parentSpanId": "db7ed1079e47e122", "startTimeUnixNano": "1796073181366163901", "endTimeUnixNano": "1796073181367071321", "durationMs": 0.90742, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009618}}
{"type": "effect-span", "name": "sqlite", "traceId": "0d45cf0d789b5cd1c8b318aa77dfdbcf", "spanId": "e52387f46db905a3", "parentSpanId": "db7ed1079e47e122", "startTimeUnixNano": "1796073181369738066", "endTimeUnixNano": "1796073181371293949", "durationMs": 1.555883, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014257}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0d45cf0d789b5cd1c8b318aa77dfdbcf", "spanId": "db7ed1079e47e122", "parentSpanId": "86e3e28c12e85204", "startTimeUnixNano": "1796073181364680906", "endTimeUnixNano": "1796073181371500628", "durationMs": 6.819722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0d45cf0d789b5cd1c8b318aa77dfdbcf", "spanId": "c169fc5508f91ebb", "parentSpanId": "86e3e28c12e85204", "startTimeUnixNano": "1796073181371523652", "endTimeUnixNano": "1796073181372705800", "durationMs": 1.182148, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0d45cf0d789b5cd1c8b318aa77dfdbcf", "spanId": "86e3e28c12e85204", "parentSpanId": "b195f9328242077a", "startTimeUnixNano": "1796073181359846174", "endTimeUnixNano": "1796073181372744042", "durationMs": 12.897868, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.115096, "db.connection": "reader", "db.lock_wait_ms": 4.071}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0d45cf0d789b5cd1c8b318aa77dfdbcf", "spanId": "b195f9328242077a", "parentSpanId": "c823762ed5bc8af3", "startTimeUnixNano": "1796073181359828651", "endTimeUnixNano": "1796073181372767736", "durationMs": 12.939085, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0d45cf0d789b5cd1c8b318aa77dfdbcf", "spanId": "c823762ed5bc8af3", "parentSpanId": "b67e4cba3b8f0d73", "startTimeUnixNano": "1796073181359784488", "endTimeUnixNano": "1796073181372776423", "durationMs": 12.991935, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0d45cf0d789b5cd1c8b318aa77dfdbcf", "spanId": "b67e4cba3b8f0d73", "startTimeUnixNano": "1796073181359767436", "endTimeUnixNano": "1796073181372790339", "durationMs": 13.022903, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2356cf8ad17e9464eb7f637af2a1ac50", "spanId": "2af103ea856c47d4", "parentSpanId": "06da59257b81ba72", "startTimeUnixNano": "1796073183398073274", "endTimeUnixNano": "1796073183398295753", "durationMs": 0.222479, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2356cf8ad17e9464eb7f637af2a1ac50", "spanId": "3e79760cd330bd25", "parentSpanId": "a2f86f91d854ab82", "startTimeUnixNano": "1796073183398346659", "endTimeUnixNano": "1796073183399125777", "durationMs": 0.779118, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012373}}
{"type": "effect-span", "name": "sqlite", "traceId": "2356cf8ad17e9464eb7f637af2a1ac50", "spanId": "7ea9516c7a91f143", "parentSpanId": "a2f86f91d854ab82", "startTimeUnixNano": "1796073183399219524", "endTimeUnixNano": "1796073183399934281", "durationMs": 0.714757, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013425}}
{"type": "effect-span", "name": "sqlite", "traceId": "2356cf8ad17e9464eb7f637af2a1ac50", "spanId": "56aff6232e59c4a2", "parentSpanId": "a2f86f91d854ab82", "startTimeUnixNano": "1796073183399964548", "endTimeUnixNano": "1796073183400846881", "durationMs": 0.882333, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013035}}
{"type": "effect-span", "name": "sqlite", "traceId": "2356cf8ad17e9464eb7f637af2a1ac50", "spanId": "21cd2f48907f7af0", "parentSpanId": "a2f86f91d854ab82", "startTimeUnixNano": "1796073183402785394", "endTimeUnixNano": "1796073183403864207", "durationMs": 1.078813, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.037391}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2356cf8ad17e9464eb7f637af2a1ac50", "spanId": "a2f86f91d854ab82", "parentSpanId": "06da59257b81ba72", "startTimeUnixNano": "1796073183398338664", "endTimeUnixNano": "1796073183404037234", "durationMs": 5.69857, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2356cf8ad17e9464eb7f637af2a1ac50", "spanId": "c9a852f2720ab4d3", "parentSpanId": "06da59257b81ba72", "startTimeUnixNano": "1796073183404055207", "endTimeUnixNano": "1796073183405892721", "durationMs": 1.837514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2356cf8ad17e9464eb7f637af2a1ac50", "spanId": "06da59257b81ba72", "parentSpanId": "d46fd413d03af08d", "startTimeUnixNano": "1796073183395087917", "endTimeUnixNano": "1796073183405917808", "durationMs": 10.829891, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.978003, "db.connection": "reader", "db.lock_wait_ms": 2.931}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2356cf8ad17e9464eb7f637af2a1ac50", "spanId": "d46fd413d03af08d", "parentSpanId": "f8397e26e4648242", "startTimeUnixNano": "1796073183395079451", "endTimeUnixNano": "1796073183405935571", "durationMs": 10.85612, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2356cf8ad17e9464eb7f637af2a1ac50", "spanId": "f8397e26e4648242", "parentSpanId": "8007a5e2984e62d8", "startTimeUnixNano": "1796073183395031491", "endTimeUnixNano": "1796073183405944749", "durationMs": 10.913258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2356cf8ad17e9464eb7f637af2a1ac50", "spanId": "8007a5e2984e62d8", "startTimeUnixNano": "1796073183395014088", "endTimeUnixNano": "1796073183405959116", "durationMs": 10.945028, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0614fe5ac00abcd8c0e3cdf2ee589c21", "spanId": "4da39208cac91d32", "parentSpanId": "54458fee5be0f6f2", "startTimeUnixNano": "1796073183697269612", "endTimeUnixNano": "1796073183697707878", "durationMs": 0.438266, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0614fe5ac00abcd8c0e3cdf2ee589c21", "spanId": "76f182722dae49d3", "parentSpanId": "e57bf422738012d8", "startTimeUnixNano": "1796073183697780655", "endTimeUnixNano": "1796073183698983202", "durationMs": 1.202547, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009859}}
{"type": "effect-span", "name": "sqlite", "traceId": "0614fe5ac00abcd8c0e3cdf2ee589c21", "spanId": "4ea99aa6ec158e8e", "parentSpanId": "e57bf422738012d8", "startTimeUnixNano": "1796073183699239765", "endTimeUnixNano": "1796073183700616340", "durationMs": 1.376575, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.024246}}
{"type": "effect-span", "name": "sqlite", "traceId": "0614fe5ac00abcd8c0e3cdf2ee589c21", "spanId": "e9e57eb83c51d3ee", "parentSpanId": "e57bf422738012d8", "startTimeUnixNano": "1796073183700634784", "endTimeUnixNano": "1796073183701382534", "durationMs": 0.74775, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012764}}
{"type": "effect-span", "name": "sqlite", "traceId": "0614fe5ac00abcd8c0e3cdf2ee589c21", "spanId": "d6db67c42e7d82cb", "parentSpanId": "e57bf422738012d8", "startTimeUnixNano": "1796073183703343369", "endTimeUnixNano": "1796073183704886036", "durationMs": 1.542667, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.030508}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0614fe5ac00abcd8c0e3cdf2ee589c21", "spanId": "e57bf422738012d8", "parentSpanId": "54458fee5be0f6f2", "startTimeUnixNano": "1796073183697768583", "endTimeUnixNano": "1796073183705023085", "durationMs": 7.254502, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0614fe5ac00abcd8c0e3cdf2ee589c21", "spanId": "e8733412b636c7a4", "parentSpanId": "54458fee5be0f6f2", "startTimeUnixNano": "1796073183705034917", "endTimeUnixNano": "1796073183705651639", "durationMs": 0.616722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0614fe5ac00abcd8c0e3cdf2ee589c21", "spanId": "54458fee5be0f6f2", "parentSpanId": "d685f9265fa24647", "startTimeUnixNano": "1796073183695966697", "endTimeUnixNano": "1796073183705669693", "durationMs": 9.702996, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.298297, "db.connection": "reader", "db.lock_wait_ms": 1.264}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0614fe5ac00abcd8c0e3cdf2ee589c21", "spanId": "d685f9265fa24647", "parentSpanId": "1821223189f116c0", "startTimeUnixNano": "1796073183695958591", "endTimeUnixNano": "1796073183705684531", "durationMs": 9.72594, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0614fe5ac00abcd8c0e3cdf2ee589c21", "spanId": "1821223189f116c0", "parentSpanId": "fedd246ba9c0600b", "startTimeUnixNano": "1796073183695928254", "endTimeUnixNano": "1796073183705689781", "durationMs": 9.761527, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0614fe5ac00abcd8c0e3cdf2ee589c21", "spanId": "fedd246ba9c0600b", "startTimeUnixNano": "1796073183695912885", "endTimeUnixNano": "1796073183705696935", "durationMs": 9.78405, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "60e4e618f97caea3dbf4c793c86f0dc4", "spanId": "238db885202e4f91", "parentSpanId": "556cfac3163ce13e", "startTimeUnixNano": "1796073185452048816", "endTimeUnixNano": "1796073185453169679", "durationMs": 1.120863, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "60e4e618f97caea3dbf4c793c86f0dc4", "spanId": "4abc79c8c77ecde5", "parentSpanId": "51219d867fdd1d85", "startTimeUnixNano": "1796073185453252755", "endTimeUnixNano": "1796073185453827839", "durationMs": 0.575084, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012684}}
{"type": "effect-span", "name": "sqlite", "traceId": "60e4e618f97caea3dbf4c793c86f0dc4", "spanId": "14e9d7fe6b500533", "parentSpanId": "51219d867fdd1d85", "startTimeUnixNano": "1796073185453931184", "endTimeUnixNano": "1796073185454807075", "durationMs": 0.875891, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013495}}
{"type": "effect-span", "name": "sqlite", "traceId": "60e4e618f97caea3dbf4c793c86f0dc4", "spanId": "ef0ba04baf2ec2c5", "parentSpanId": "51219d867fdd1d85", "startTimeUnixNano": "1796073185454827673", "endTimeUnixNano": "1796073185455760842", "durationMs": 0.933169, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009989}}
{"type": "effect-span", "name": "sqlite", "traceId": "60e4e618f97caea3dbf4c793c86f0dc4", "spanId": "c51e4b95a348f81f", "parentSpanId": "51219d867fdd1d85", "startTimeUnixNano": "1796073185457751524", "endTimeUnixNano": "1796073185459566735", "durationMs": 1.815211, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "60e4e618f97caea3dbf4c793c86f0dc4", "spanId": "51219d867fdd1d85", "parentSpanId": "556cfac3163ce13e", "startTimeUnixNano": "1796073185453237857", "endTimeUnixNano": "1796073185459710907", "durationMs": 6.47305, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "60e4e618f97caea3dbf4c793c86f0dc4", "spanId": "04fa3635c460c00a", "parentSpanId": "556cfac3163ce13e", "startTimeUnixNano": "1796073185459724352", "endTimeUnixNano": "1796073185460284628", "durationMs": 0.560276, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "60e4e618f97caea3dbf4c793c86f0dc4", "spanId": "556cfac3163ce13e", "parentSpanId": "eb438641de9fb22f", "startTimeUnixNano": "1796073185448829328", "endTimeUnixNano": "1796073185460324473", "durationMs": 11.495145, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.213016, "db.connection": "reader", "db.lock_wait_ms": 3.148}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "60e4e618f97caea3dbf4c793c86f0dc4", "spanId": "eb438641de9fb22f", "parentSpanId": "74fc5acc394c231a", "startTimeUnixNano": "1796073185448813168", "endTimeUnixNano": "1796073185460345222", "durationMs": 11.532054, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "60e4e618f97caea3dbf4c793c86f0dc4", "spanId": "74fc5acc394c231a", "parentSpanId": "bf6405db542255ec", "startTimeUnixNano": "1796073185448753956", "endTimeUnixNano": "1796073185460354680", "durationMs": 11.600724, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "60e4e618f97caea3dbf4c793c86f0dc4", "spanId": "bf6405db542255ec", "startTimeUnixNano": "1796073185448726064", "endTimeUnixNano": "1796073185460367635", "durationMs": 11.641571, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0303163c77d26451042bc0e228812c37", "spanId": "0cac4190eb757e15", "parentSpanId": "500c650d95b4a4b4", "startTimeUnixNano": "1796073185741886268", "endTimeUnixNano": "1796073185742455060", "durationMs": 0.568792, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0303163c77d26451042bc0e228812c37", "spanId": "e730c5ad5c41c69b", "parentSpanId": "dc931ee9dcb66ea4", "startTimeUnixNano": "1796073185742528919", "endTimeUnixNano": "1796073185743179846", "durationMs": 0.650927, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011652}}
{"type": "effect-span", "name": "sqlite", "traceId": "0303163c77d26451042bc0e228812c37", "spanId": "fa002fd5b1005b31", "parentSpanId": "dc931ee9dcb66ea4", "startTimeUnixNano": "1796073185743287549", "endTimeUnixNano": "1796073185744350853", "durationMs": 1.063304, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013896}}
{"type": "effect-span", "name": "sqlite", "traceId": "0303163c77d26451042bc0e228812c37", "spanId": "f8868de9cccf1514", "parentSpanId": "dc931ee9dcb66ea4", "startTimeUnixNano": "1796073185744380188", "endTimeUnixNano": "1796073185745050221", "durationMs": 0.670033, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017894}}
{"type": "effect-span", "name": "sqlite", "traceId": "0303163c77d26451042bc0e228812c37", "spanId": "01475386b3013740", "parentSpanId": "dc931ee9dcb66ea4", "startTimeUnixNano": "1796073185747724050", "endTimeUnixNano": "1796073185749145018", "durationMs": 1.420968, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016251}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0303163c77d26451042bc0e228812c37", "spanId": "dc931ee9dcb66ea4", "parentSpanId": "500c650d95b4a4b4", "startTimeUnixNano": "1796073185742517889", "endTimeUnixNano": "1796073185749307715", "durationMs": 6.789826, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0303163c77d26451042bc0e228812c37", "spanId": "8cac4165a536991d", "parentSpanId": "500c650d95b4a4b4", "startTimeUnixNano": "1796073185749329676", "endTimeUnixNano": "1796073185750326094", "durationMs": 0.996418, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0303163c77d26451042bc0e228812c37", "spanId": "500c650d95b4a4b4", "parentSpanId": "72498fd260657d29", "startTimeUnixNano": "1796073185740203367", "endTimeUnixNano": "1796073185750345020", "durationMs": 10.141653, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.678042, "db.connection": "reader", "db.lock_wait_ms": 1.587}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0303163c77d26451042bc0e228812c37", "spanId": "72498fd260657d29", "parentSpanId": "67387a167563bb70", "startTimeUnixNano": "1796073185740192536", "endTimeUnixNano": "1796073185750359567", "durationMs": 10.167031, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0303163c77d26451042bc0e228812c37", "spanId": "67387a167563bb70", "parentSpanId": "826d424d64371608", "startTimeUnixNano": "1796073185740138955", "endTimeUnixNano": "1796073185750364587", "durationMs": 10.225632, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0303163c77d26451042bc0e228812c37", "spanId": "826d424d64371608", "startTimeUnixNano": "1796073185740119759", "endTimeUnixNano": "1796073185750371881", "durationMs": 10.252122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e865bf22f569861c36ea344ac80aeed2", "spanId": "8e690ef05e981044", "parentSpanId": "2329a9f957ad0136", "startTimeUnixNano": "1796073187624609486", "endTimeUnixNano": "1796073187626077182", "durationMs": 1.467696, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e865bf22f569861c36ea344ac80aeed2", "spanId": "49b45e673b8f611d", "parentSpanId": "6538852a9b3a9d65", "startTimeUnixNano": "1796073187626150480", "endTimeUnixNano": "1796073187627236757", "durationMs": 1.086277, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007785}}
{"type": "effect-span", "name": "sqlite", "traceId": "e865bf22f569861c36ea344ac80aeed2", "spanId": "400d37d29b8325ef", "parentSpanId": "6538852a9b3a9d65", "startTimeUnixNano": "1796073187627346203", "endTimeUnixNano": "1796073187628366917", "durationMs": 1.020714, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014378}}
{"type": "effect-span", "name": "sqlite", "traceId": "e865bf22f569861c36ea344ac80aeed2", "spanId": "25d747e576ef8f11", "parentSpanId": "6538852a9b3a9d65", "startTimeUnixNano": "1796073187628400130", "endTimeUnixNano": "1796073187629199837", "durationMs": 0.799707, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019707}}
{"type": "effect-span", "name": "sqlite", "traceId": "e865bf22f569861c36ea344ac80aeed2", "spanId": "a2f33c499d847489", "parentSpanId": "6538852a9b3a9d65", "startTimeUnixNano": "1796073187631902360", "endTimeUnixNano": "1796073187633005670", "durationMs": 1.10331, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016171}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e865bf22f569861c36ea344ac80aeed2", "spanId": "6538852a9b3a9d65", "parentSpanId": "2329a9f957ad0136", "startTimeUnixNano": "1796073187626141593", "endTimeUnixNano": "1796073187633175971", "durationMs": 7.034378, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e865bf22f569861c36ea344ac80aeed2", "spanId": "f0141203ef83d96a", "parentSpanId": "2329a9f957ad0136", "startTimeUnixNano": "1796073187633206518", "endTimeUnixNano": "1796073187634755557", "durationMs": 1.549039, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e865bf22f569861c36ea344ac80aeed2", "spanId": "2329a9f957ad0136", "parentSpanId": "457d57c96879df35", "startTimeUnixNano": "1796073187609683986", "endTimeUnixNano": "1796073187634790012", "durationMs": 25.106026, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 14.911403, "db.connection": "reader", "db.lock_wait_ms": 14.858}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e865bf22f569861c36ea344ac80aeed2", "spanId": "457d57c96879df35", "parentSpanId": "73149a9df21a7536", "startTimeUnixNano": "1796073187609669970", "endTimeUnixNano": "1796073187634825189", "durationMs": 25.155219, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e865bf22f569861c36ea344ac80aeed2", "spanId": "73149a9df21a7536", "parentSpanId": "ea99099e2401f85e", "startTimeUnixNano": "1796073187609610438", "endTimeUnixNano": "1796073187634834456", "durationMs": 25.224018, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e865bf22f569861c36ea344ac80aeed2", "spanId": "ea99099e2401f85e", "startTimeUnixNano": "1796073187609583828", "endTimeUnixNano": "1796073187634845096", "durationMs": 25.261268, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e65324e2a9d4aa80c4e3b604da71bf80", "spanId": "bf7720ae7a3fbc50", "parentSpanId": "758c8577480ae8a8", "startTimeUnixNano": "1796073188003006470", "endTimeUnixNano": "1796073188003876160", "durationMs": 0.86969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e65324e2a9d4aa80c4e3b604da71bf80", "spanId": "88f43db1cdec4b04", "parentSpanId": "8c910ea23e88cfb7", "startTimeUnixNano": "1796073188004009811", "endTimeUnixNano": "1796073188005252554", "durationMs": 1.242743, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014398}}
{"type": "effect-span", "name": "sqlite", "traceId": "e65324e2a9d4aa80c4e3b604da71bf80", "spanId": "e74c9e053780ba4d", "parentSpanId": "8c910ea23e88cfb7", "startTimeUnixNano": "1796073188005578618", "endTimeUnixNano": "1796073188007097731", "durationMs": 1.519113, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.02645}}
{"type": "effect-span", "name": "sqlite", "traceId": "e65324e2a9d4aa80c4e3b604da71bf80", "spanId": "1359734cded6c0cf", "parentSpanId": "8c910ea23e88cfb7", "startTimeUnixNano": "1796073188007147094", "endTimeUnixNano": "1796073188008734065", "durationMs": 1.586971, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.02134}}
{"type": "effect-span", "name": "sqlite", "traceId": "e65324e2a9d4aa80c4e3b604da71bf80", "spanId": "9377b6e7a5f86c53", "parentSpanId": "8c910ea23e88cfb7", "startTimeUnixNano": "1796073188013369351", "endTimeUnixNano": "1796073188015489757", "durationMs": 2.120406, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.120848}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e65324e2a9d4aa80c4e3b604da71bf80", "spanId": "8c910ea23e88cfb7", "parentSpanId": "758c8577480ae8a8", "startTimeUnixNano": "1796073188003992819", "endTimeUnixNano": "1796073188015897025", "durationMs": 11.904206, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e65324e2a9d4aa80c4e3b604da71bf80", "spanId": "30db9b17ad57203a", "parentSpanId": "758c8577480ae8a8", "startTimeUnixNano": "1796073188015961306", "endTimeUnixNano": "1796073188017762130", "durationMs": 1.800824, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e65324e2a9d4aa80c4e3b604da71bf80", "spanId": "758c8577480ae8a8", "parentSpanId": "cf877ca70144e851", "startTimeUnixNano": "1796073187999922478", "endTimeUnixNano": "1796073188017811513", "durationMs": 17.889035, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.070427, "db.connection": "reader", "db.lock_wait_ms": 2.909}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e65324e2a9d4aa80c4e3b604da71bf80", "spanId": "cf877ca70144e851", "parentSpanId": "e64b3460d1ec008b", "startTimeUnixNano": "1796073187999896900", "endTimeUnixNano": "1796073188017848743", "durationMs": 17.951843, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e65324e2a9d4aa80c4e3b604da71bf80", "spanId": "e64b3460d1ec008b", "parentSpanId": "2729c5397d431984", "startTimeUnixNano": "1796073187999808954", "endTimeUnixNano": "1796073188017861637", "durationMs": 18.052683, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e65324e2a9d4aa80c4e3b604da71bf80", "spanId": "2729c5397d431984", "startTimeUnixNano": "1796073187999772686", "endTimeUnixNano": "1796073188017879922", "durationMs": 18.107236, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "db2cb47bb0fcb6511786027c3bb191f5", "spanId": "a9e0556c529be6b5", "parentSpanId": "dd15c48d8324ee3b", "startTimeUnixNano": "1796073189847149240", "endTimeUnixNano": "1796073189847672717", "durationMs": 0.523477, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "db2cb47bb0fcb6511786027c3bb191f5", "spanId": "3d8b7ee92f05e515", "parentSpanId": "c6ecf845809f3de3", "startTimeUnixNano": "1796073189847800357", "endTimeUnixNano": "1796073189849423025", "durationMs": 1.622668, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010671}}
{"type": "effect-span", "name": "sqlite", "traceId": "db2cb47bb0fcb6511786027c3bb191f5", "spanId": "c872ffdf9b468a23", "parentSpanId": "c6ecf845809f3de3", "startTimeUnixNano": "1796073189849624435", "endTimeUnixNano": "1796073189851182642", "durationMs": 1.558207, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.021991}}
{"type": "effect-span", "name": "sqlite", "traceId": "db2cb47bb0fcb6511786027c3bb191f5", "spanId": "437bcf376cbe3884", "parentSpanId": "c6ecf845809f3de3", "startTimeUnixNano": "1796073189851220162", "endTimeUnixNano": "1796073189852596947", "durationMs": 1.376785, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019658}}
{"type": "effect-span", "name": "sqlite", "traceId": "db2cb47bb0fcb6511786027c3bb191f5", "spanId": "c91a8f946ce00f68", "parentSpanId": "c6ecf845809f3de3", "startTimeUnixNano": "1796073189854652090", "endTimeUnixNano": "1796073189856340342", "durationMs": 1.688252, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023505}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "db2cb47bb0fcb6511786027c3bb191f5", "spanId": "c6ecf845809f3de3", "parentSpanId": "dd15c48d8324ee3b", "startTimeUnixNano": "1796073189847784698", "endTimeUnixNano": "1796073189856535590", "durationMs": 8.750892, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "db2cb47bb0fcb6511786027c3bb191f5", "spanId": "d7548fec165a9e99", "parentSpanId": "dd15c48d8324ee3b", "startTimeUnixNano": "1796073189856568101", "endTimeUnixNano": "1796073189858232769", "durationMs": 1.664668, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "db2cb47bb0fcb6511786027c3bb191f5", "spanId": "dd15c48d8324ee3b", "parentSpanId": "b001118034554597", "startTimeUnixNano": "1796073189842264134", "endTimeUnixNano": "1796073189858268486", "durationMs": 16.004352, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.865399, "db.connection": "reader", "db.lock_wait_ms": 4.775}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "db2cb47bb0fcb6511786027c3bb191f5", "spanId": "b001118034554597", "parentSpanId": "0461e63c06cd6b73", "startTimeUnixNano": "1796073189842246631", "endTimeUnixNano": "1796073189858296018", "durationMs": 16.049387, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "db2cb47bb0fcb6511786027c3bb191f5", "spanId": "0461e63c06cd6b73", "parentSpanId": "bede8ff9534deba4", "startTimeUnixNano": "1796073189842177450", "endTimeUnixNano": "1796073189858304063", "durationMs": 16.126613, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "db2cb47bb0fcb6511786027c3bb191f5", "spanId": "bede8ff9534deba4", "startTimeUnixNano": "1796073189842145921", "endTimeUnixNano": "1796073189858316106", "durationMs": 16.170185, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "28dac935ad57a585849f78001e862151", "spanId": "7a29322c6e37cb67", "parentSpanId": "571a125df1b43d3d", "startTimeUnixNano": "1796073190169092711", "endTimeUnixNano": "1796073190169827996", "durationMs": 0.735285, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "28dac935ad57a585849f78001e862151", "spanId": "6a4c21d7eac1d2f1", "parentSpanId": "77516f92f72ff591", "startTimeUnixNano": "1796073190169896946", "endTimeUnixNano": "1796073190170724135", "durationMs": 0.827189, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007134}}
{"type": "effect-span", "name": "sqlite", "traceId": "28dac935ad57a585849f78001e862151", "spanId": "9215562fb0aa16dd", "parentSpanId": "77516f92f72ff591", "startTimeUnixNano": "1796073190170870882", "endTimeUnixNano": "1796073190171980523", "durationMs": 1.109641, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017342}}
{"type": "effect-span", "name": "sqlite", "traceId": "28dac935ad57a585849f78001e862151", "spanId": "a6bdd4a89853118e", "parentSpanId": "77516f92f72ff591", "startTimeUnixNano": "1796073190172000962", "endTimeUnixNano": "1796073190172838811", "durationMs": 0.837849, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009427}}
{"type": "effect-span", "name": "sqlite", "traceId": "28dac935ad57a585849f78001e862151", "spanId": "ce27dd7c72fb87ad", "parentSpanId": "77516f92f72ff591", "startTimeUnixNano": "1796073190175114530", "endTimeUnixNano": "1796073190178941071", "durationMs": 3.826541, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01607}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "28dac935ad57a585849f78001e862151", "spanId": "77516f92f72ff591", "parentSpanId": "571a125df1b43d3d", "startTimeUnixNano": "1796073190169886807", "endTimeUnixNano": "1796073190179190732", "durationMs": 9.303925, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "28dac935ad57a585849f78001e862151", "spanId": "91e72207bc7174de", "parentSpanId": "571a125df1b43d3d", "startTimeUnixNano": "1796073190179212122", "endTimeUnixNano": "1796073190180359465", "durationMs": 1.147343, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "28dac935ad57a585849f78001e862151", "spanId": "571a125df1b43d3d", "parentSpanId": "61e740a1869d3505", "startTimeUnixNano": "1796073190167315080", "endTimeUnixNano": "1796073190180392817", "durationMs": 13.077737, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.770687, "db.connection": "reader", "db.lock_wait_ms": 1.666}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "28dac935ad57a585849f78001e862151", "spanId": "61e740a1869d3505", "parentSpanId": "2d2afec984d7b6cc", "startTimeUnixNano": "1796073190167300673", "endTimeUnixNano": "1796073190180424287", "durationMs": 13.123614, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "28dac935ad57a585849f78001e862151", "spanId": "2d2afec984d7b6cc", "parentSpanId": "7679c3093e17d81a", "startTimeUnixNano": "1796073190167245279", "endTimeUnixNano": "1796073190180454594", "durationMs": 13.209315, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "28dac935ad57a585849f78001e862151", "spanId": "7679c3093e17d81a", "startTimeUnixNano": "1796073190167214331", "endTimeUnixNano": "1796073190180469522", "durationMs": 13.255191, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7b076cbf7ba6798a308f11a0008656ab", "spanId": "a480a5b92c389991", "parentSpanId": "bd893f4a16b6b07b", "startTimeUnixNano": "1796073191995752605", "endTimeUnixNano": "1796073191996072858", "durationMs": 0.320253, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7b076cbf7ba6798a308f11a0008656ab", "spanId": "bebc64fa02aed433", "parentSpanId": "de2ad24c22455116", "startTimeUnixNano": "1796073191996168569", "endTimeUnixNano": "1796073191996967665", "durationMs": 0.799096, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013194}}
{"type": "effect-span", "name": "sqlite", "traceId": "7b076cbf7ba6798a308f11a0008656ab", "spanId": "821e258bda413362", "parentSpanId": "de2ad24c22455116", "startTimeUnixNano": "1796073191997113179", "endTimeUnixNano": "1796073191998120728", "durationMs": 1.007549, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.020358}}
{"type": "effect-span", "name": "sqlite", "traceId": "7b076cbf7ba6798a308f11a0008656ab", "spanId": "3843308008b3c38b", "parentSpanId": "de2ad24c22455116", "startTimeUnixNano": "1796073191998160663", "endTimeUnixNano": "1796073191999698952", "durationMs": 1.538289, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015589}}
{"type": "effect-span", "name": "sqlite", "traceId": "7b076cbf7ba6798a308f11a0008656ab", "spanId": "9615ed98487848fe", "parentSpanId": "de2ad24c22455116", "startTimeUnixNano": "1796073192004424077", "endTimeUnixNano": "1796073192007477853", "durationMs": 3.053776, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.028955}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7b076cbf7ba6798a308f11a0008656ab", "spanId": "de2ad24c22455116", "parentSpanId": "bd893f4a16b6b07b", "startTimeUnixNano": "1796073191996157548", "endTimeUnixNano": "1796073192007700823", "durationMs": 11.543275, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7b076cbf7ba6798a308f11a0008656ab", "spanId": "7d46dfcbd52c9996", "parentSpanId": "bd893f4a16b6b07b", "startTimeUnixNano": "1796073192007731390", "endTimeUnixNano": "1796073192008295433", "durationMs": 0.564043, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7b076cbf7ba6798a308f11a0008656ab", "spanId": "bd893f4a16b6b07b", "parentSpanId": "ae35af4be5188716", "startTimeUnixNano": "1796073191991868805", "endTimeUnixNano": "1796073192008329498", "durationMs": 16.460693, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.875274, "db.connection": "reader", "db.lock_wait_ms": 3.786}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7b076cbf7ba6798a308f11a0008656ab", "spanId": "ae35af4be5188716", "parentSpanId": "aac7ea4cf98ddd7a", "startTimeUnixNano": "1796073191991850270", "endTimeUnixNano": "1796073192008351369", "durationMs": 16.501099, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7b076cbf7ba6798a308f11a0008656ab", "spanId": "aac7ea4cf98ddd7a", "parentSpanId": "d733085332211924", "startTimeUnixNano": "1796073191991780158", "endTimeUnixNano": "1796073192008360185", "durationMs": 16.580027, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7b076cbf7ba6798a308f11a0008656ab", "spanId": "d733085332211924", "startTimeUnixNano": "1796073191991747046", "endTimeUnixNano": "1796073192008372569", "durationMs": 16.625523, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0e0f048646e155f49f5592ce20c639ef", "spanId": "7a907f849eceb0ff", "parentSpanId": "c00905852a6b4ca1", "startTimeUnixNano": "1796073192371454001", "endTimeUnixNano": "1796073192372381238", "durationMs": 0.927237, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e0f048646e155f49f5592ce20c639ef", "spanId": "890c96016b03f83c", "parentSpanId": "a6763b0f2fe025f0", "startTimeUnixNano": "1796073192372505382", "endTimeUnixNano": "1796073192374257264", "durationMs": 1.751882, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012283}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e0f048646e155f49f5592ce20c639ef", "spanId": "5c8f88125e3accaf", "parentSpanId": "a6763b0f2fe025f0", "startTimeUnixNano": "1796073192374424489", "endTimeUnixNano": "1796073192375833645", "durationMs": 1.409156, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.043151}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e0f048646e155f49f5592ce20c639ef", "spanId": "47b8c20dc4b5b59c", "parentSpanId": "a6763b0f2fe025f0", "startTimeUnixNano": "1796073192375877868", "endTimeUnixNano": "1796073192380075830", "durationMs": 4.197962, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023905}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e0f048646e155f49f5592ce20c639ef", "spanId": "f64527f6e63d58f2", "parentSpanId": "a6763b0f2fe025f0", "startTimeUnixNano": "1796073192385046939", "endTimeUnixNano": "1796073192387772315", "durationMs": 2.725376, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020729}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0e0f048646e155f49f5592ce20c639ef", "spanId": "a6763b0f2fe025f0", "parentSpanId": "c00905852a6b4ca1", "startTimeUnixNano": "1796073192372491446", "endTimeUnixNano": "1796073192388013449", "durationMs": 15.522003, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0e0f048646e155f49f5592ce20c639ef", "spanId": "995472f5bedb51a0", "parentSpanId": "c00905852a6b4ca1", "startTimeUnixNano": "1796073192388051411", "endTimeUnixNano": "1796073192389300796", "durationMs": 1.249385, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0e0f048646e155f49f5592ce20c639ef", "spanId": "c00905852a6b4ca1", "parentSpanId": "47cffba344c4d34b", "startTimeUnixNano": "1796073192369052174", "endTimeUnixNano": "1796073192389344648", "durationMs": 20.292474, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.375106, "db.connection": "reader", "db.lock_wait_ms": 2.298}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0e0f048646e155f49f5592ce20c639ef", "spanId": "47cffba344c4d34b", "parentSpanId": "9b26c053cca2d26b", "startTimeUnixNano": "1796073192369031766", "endTimeUnixNano": "1796073192389375947", "durationMs": 20.344181, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0e0f048646e155f49f5592ce20c639ef", "spanId": "9b26c053cca2d26b", "parentSpanId": "e5ede8acb0bc6640", "startTimeUnixNano": "1796073192368977924", "endTimeUnixNano": "1796073192389388040", "durationMs": 20.410116, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0e0f048646e155f49f5592ce20c639ef", "spanId": "e5ede8acb0bc6640", "startTimeUnixNano": "1796073192368945102", "endTimeUnixNano": "1796073192389401285", "durationMs": 20.456183, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fbff5b1191a972e6cdeadb506f31ffa1", "spanId": "6b5e6079f3e1e967", "parentSpanId": "452192d960fe7ad6", "startTimeUnixNano": "1796073194216053428", "endTimeUnixNano": "1796073194216327615", "durationMs": 0.274187, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fbff5b1191a972e6cdeadb506f31ffa1", "spanId": "43c6d05e77c35c0c", "parentSpanId": "5397da8ac64391ed", "startTimeUnixNano": "1796073194216402536", "endTimeUnixNano": "1796073194217134846", "durationMs": 0.73231, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011221}}
{"type": "effect-span", "name": "sqlite", "traceId": "fbff5b1191a972e6cdeadb506f31ffa1", "spanId": "3e7d3ee7a0f72762", "parentSpanId": "5397da8ac64391ed", "startTimeUnixNano": "1796073194217265713", "endTimeUnixNano": "1796073194219137260", "durationMs": 1.871547, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015449}}
{"type": "effect-span", "name": "sqlite", "traceId": "fbff5b1191a972e6cdeadb506f31ffa1", "spanId": "6090a2b329aacf4d", "parentSpanId": "5397da8ac64391ed", "startTimeUnixNano": "1796073194219168669", "endTimeUnixNano": "1796073194223082084", "durationMs": 3.913415, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014087}}
{"type": "effect-span", "name": "sqlite", "traceId": "fbff5b1191a972e6cdeadb506f31ffa1", "spanId": "9b53d7ad0c3293d9", "parentSpanId": "5397da8ac64391ed", "startTimeUnixNano": "1796073194231645233", "endTimeUnixNano": "1796073194233969123", "durationMs": 2.32389, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016371}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fbff5b1191a972e6cdeadb506f31ffa1", "spanId": "5397da8ac64391ed", "parentSpanId": "452192d960fe7ad6", "startTimeUnixNano": "1796073194216390353", "endTimeUnixNano": "1796073194234262906", "durationMs": 17.872553, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fbff5b1191a972e6cdeadb506f31ffa1", "spanId": "7cfbb8d51ae3094a", "parentSpanId": "452192d960fe7ad6", "startTimeUnixNano": "1796073194234291921", "endTimeUnixNano": "1796073194234917490", "durationMs": 0.625569, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fbff5b1191a972e6cdeadb506f31ffa1", "spanId": "452192d960fe7ad6", "parentSpanId": "1db4b043efe31dcd", "startTimeUnixNano": "1796073194209875114", "endTimeUnixNano": "1796073194234957425", "durationMs": 25.082311, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.167824, "db.connection": "reader", "db.lock_wait_ms": 6.097}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fbff5b1191a972e6cdeadb506f31ffa1", "spanId": "1db4b043efe31dcd", "parentSpanId": "78338f6d8164c0f0", "startTimeUnixNano": "1796073194209856068", "endTimeUnixNano": "1796073194234993052", "durationMs": 25.136984, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fbff5b1191a972e6cdeadb506f31ffa1", "spanId": "78338f6d8164c0f0", "parentSpanId": "7c5227c6ff012127", "startTimeUnixNano": "1796073194209785174", "endTimeUnixNano": "1796073194235006458", "durationMs": 25.221284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fbff5b1191a972e6cdeadb506f31ffa1", "spanId": "7c5227c6ff012127", "startTimeUnixNano": "1796073194209733146", "endTimeUnixNano": "1796073194235025754", "durationMs": 25.292608, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "dbf0441b4b4924ae17a2e951f0535837", "spanId": "82eaa1ba4bc92289", "parentSpanId": "c29037411542c50d", "startTimeUnixNano": "1796073194756511414", "endTimeUnixNano": "1796073194757232112", "durationMs": 0.720698, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "dbf0441b4b4924ae17a2e951f0535837", "spanId": "1260139db9b663d6", "parentSpanId": "a60f4827875ef084", "startTimeUnixNano": "1796073194757303607", "endTimeUnixNano": "1796073194757696617", "durationMs": 0.39301, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007844}}
{"type": "effect-span", "name": "sqlite", "traceId": "dbf0441b4b4924ae17a2e951f0535837", "spanId": "da928feecc9a9655", "parentSpanId": "a60f4827875ef084", "startTimeUnixNano": "1796073194757824418", "endTimeUnixNano": "1796073194758763388", "durationMs": 0.93897, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013265}}
{"type": "effect-span", "name": "sqlite", "traceId": "dbf0441b4b4924ae17a2e951f0535837", "spanId": "c2f10f718b2cda12", "parentSpanId": "a60f4827875ef084", "startTimeUnixNano": "1796073194758795067", "endTimeUnixNano": "1796073194760002463", "durationMs": 1.207396, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013546}}
{"type": "effect-span", "name": "sqlite", "traceId": "dbf0441b4b4924ae17a2e951f0535837", "spanId": "33f7d2c6619e7d7e", "parentSpanId": "a60f4827875ef084", "startTimeUnixNano": "1796073194764195676", "endTimeUnixNano": "1796073194766657986", "durationMs": 2.46231, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.033453}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "dbf0441b4b4924ae17a2e951f0535837", "spanId": "a60f4827875ef084", "parentSpanId": "c29037411542c50d", "startTimeUnixNano": "1796073194757293638", "endTimeUnixNano": "1796073194766960657", "durationMs": 9.667019, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "dbf0441b4b4924ae17a2e951f0535837", "spanId": "d81217f2635c81b6", "parentSpanId": "c29037411542c50d", "startTimeUnixNano": "1796073194766996955", "endTimeUnixNano": "1796073194767463845", "durationMs": 0.46689, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "dbf0441b4b4924ae17a2e951f0535837", "spanId": "c29037411542c50d", "parentSpanId": "893b5bf92b752454", "startTimeUnixNano": "1796073194752975910", "endTimeUnixNano": "1796073194767530631", "durationMs": 14.554721, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.524352, "db.connection": "reader", "db.lock_wait_ms": 3.385}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "dbf0441b4b4924ae17a2e951f0535837", "spanId": "893b5bf92b752454", "parentSpanId": "32a8c74bcaf361b1", "startTimeUnixNano": "1796073194752950863", "endTimeUnixNano": "1796073194767585254", "durationMs": 14.634391, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "dbf0441b4b4924ae17a2e951f0535837", "spanId": "32a8c74bcaf361b1", "parentSpanId": "1b7d96d5e99fc94d", "startTimeUnixNano": "1796073194752852838", "endTimeUnixNano": "1796073194767603038", "durationMs": 14.7502, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "dbf0441b4b4924ae17a2e951f0535837", "spanId": "1b7d96d5e99fc94d", "startTimeUnixNano": "1796073194752823393", "endTimeUnixNano": "1796073194767628766", "durationMs": 14.805373, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9aa4acca51f4383f28434f162055218b", "spanId": "62221d7c5b5c8cbe", "parentSpanId": "ebbce9c7fcc2663b", "startTimeUnixNano": "1796073197186898201", "endTimeUnixNano": "1796073197187543136", "durationMs": 0.644935, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9aa4acca51f4383f28434f162055218b", "spanId": "a977e552e88489d6", "parentSpanId": "87256a5b9dc846f4", "startTimeUnixNano": "1796073197187660387", "endTimeUnixNano": "1796073197189598660", "durationMs": 1.938273, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011913}}
{"type": "effect-span", "name": "sqlite", "traceId": "9aa4acca51f4383f28434f162055218b", "spanId": "c91729a18a03da46", "parentSpanId": "87256a5b9dc846f4", "startTimeUnixNano": "1796073197189848551", "endTimeUnixNano": "1796073197191454398", "durationMs": 1.605847, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.02103}}
{"type": "effect-span", "name": "sqlite", "traceId": "9aa4acca51f4383f28434f162055218b", "spanId": "c36ec5a4c138f313", "parentSpanId": "87256a5b9dc846f4", "startTimeUnixNano": "1796073197191492920", "endTimeUnixNano": "1796073197193386429", "durationMs": 1.893509, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01592}}
{"type": "effect-span", "name": "sqlite", "traceId": "9aa4acca51f4383f28434f162055218b", "spanId": "9ed05261d304f23c", "parentSpanId": "87256a5b9dc846f4", "startTimeUnixNano": "1796073197202179100", "endTimeUnixNano": "1796073197204630600", "durationMs": 2.4515, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.039064}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9aa4acca51f4383f28434f162055218b", "spanId": "87256a5b9dc846f4", "parentSpanId": "ebbce9c7fcc2663b", "startTimeUnixNano": "1796073197187645469", "endTimeUnixNano": "1796073197205120624", "durationMs": 17.475155, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9aa4acca51f4383f28434f162055218b", "spanId": "22eda1549749b9fd", "parentSpanId": "ebbce9c7fcc2663b", "startTimeUnixNano": "1796073197205193441", "endTimeUnixNano": "1796073197209655080", "durationMs": 4.461639, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9aa4acca51f4383f28434f162055218b", "spanId": "ebbce9c7fcc2663b", "parentSpanId": "48c52888087e742d", "startTimeUnixNano": "1796073197181405108", "endTimeUnixNano": "1796073197209736734", "durationMs": 28.331626, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.47573, "db.connection": "reader", "db.lock_wait_ms": 5.337}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9aa4acca51f4383f28434f162055218b", "spanId": "48c52888087e742d", "parentSpanId": "28f9341fbaf4a47c", "startTimeUnixNano": "1796073197181383217", "endTimeUnixNano": "1796073197209803069", "durationMs": 28.419852, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9aa4acca51f4383f28434f162055218b", "spanId": "28f9341fbaf4a47c", "parentSpanId": "83f9b1e569220c0c", "startTimeUnixNano": "1796073197181300932", "endTimeUnixNano": "1796073197209825301", "durationMs": 28.524369, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9aa4acca51f4383f28434f162055218b", "spanId": "83f9b1e569220c0c", "startTimeUnixNano": "1796073197181261828", "endTimeUnixNano": "1796073197209852191", "durationMs": 28.590363, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f01cadb71d0dc8ef94747ad1b597965d", "spanId": "cc8e69a8d6e8b4f3", "parentSpanId": "11d210f274813352", "startTimeUnixNano": "1796073197655312991", "endTimeUnixNano": "1796073197655760434", "durationMs": 0.447443, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f01cadb71d0dc8ef94747ad1b597965d", "spanId": "af5c845dbd022028", "parentSpanId": "4292e4f7df4c6d6a", "startTimeUnixNano": "1796073197655825437", "endTimeUnixNano": "1796073197656120693", "durationMs": 0.295256, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010389}}
{"type": "effect-span", "name": "sqlite", "traceId": "f01cadb71d0dc8ef94747ad1b597965d", "spanId": "08c931a28e3264b9", "parentSpanId": "4292e4f7df4c6d6a", "startTimeUnixNano": "1796073197656221113", "endTimeUnixNano": "1796073197657154281", "durationMs": 0.933168, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011471}}
{"type": "effect-span", "name": "sqlite", "traceId": "f01cadb71d0dc8ef94747ad1b597965d", "spanId": "0f1493d1c88d8bbc", "parentSpanId": "4292e4f7df4c6d6a", "startTimeUnixNano": "1796073197657182835", "endTimeUnixNano": "1796073197658344194", "durationMs": 1.161359, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013926}}
{"type": "effect-span", "name": "sqlite", "traceId": "f01cadb71d0dc8ef94747ad1b597965d", "spanId": "f2d831ada83a18f5", "parentSpanId": "4292e4f7df4c6d6a", "startTimeUnixNano": "1796073197661070662", "endTimeUnixNano": "1796073197662274120", "durationMs": 1.203458, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017393}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f01cadb71d0dc8ef94747ad1b597965d", "spanId": "4292e4f7df4c6d6a", "parentSpanId": "11d210f274813352", "startTimeUnixNano": "1796073197655815047", "endTimeUnixNano": "1796073197662473897", "durationMs": 6.65885, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f01cadb71d0dc8ef94747ad1b597965d", "spanId": "9c058764b3492372", "parentSpanId": "11d210f274813352", "startTimeUnixNano": "1796073197662498774", "endTimeUnixNano": "1796073197663084828", "durationMs": 0.586054, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f01cadb71d0dc8ef94747ad1b597965d", "spanId": "11d210f274813352", "parentSpanId": "c986f66a542060b9", "startTimeUnixNano": "1796073197653345062", "endTimeUnixNano": "1796073197663107371", "durationMs": 9.762309, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.959363, "db.connection": "reader", "db.lock_wait_ms": 1.917}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f01cadb71d0dc8ef94747ad1b597965d", "spanId": "c986f66a542060b9", "parentSpanId": "76589b2ef3206b68", "startTimeUnixNano": "1796073197653336125", "endTimeUnixNano": "1796073197663122459", "durationMs": 9.786334, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f01cadb71d0dc8ef94747ad1b597965d", "spanId": "76589b2ef3206b68", "parentSpanId": "5702e42a5b52d78a", "startTimeUnixNano": "1796073197653294657", "endTimeUnixNano": "1796073197663129482", "durationMs": 9.834825, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f01cadb71d0dc8ef94747ad1b597965d", "spanId": "5702e42a5b52d78a", "startTimeUnixNano": "1796073197653279048", "endTimeUnixNano": "1796073197663139642", "durationMs": 9.860594, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "339e1cb9467be24f93d029007904c1d7", "spanId": "952a6505e7fd8ef2", "parentSpanId": "5cb0813111819317", "startTimeUnixNano": "1796073199572723329", "endTimeUnixNano": "1796073199573005431", "durationMs": 0.282102, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "339e1cb9467be24f93d029007904c1d7", "spanId": "31d124173c5449d6", "parentSpanId": "9410147dee74e18b", "startTimeUnixNano": "1796073199573086624", "endTimeUnixNano": "1796073199574476614", "durationMs": 1.38999, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010249}}
{"type": "effect-span", "name": "sqlite", "traceId": "339e1cb9467be24f93d029007904c1d7", "spanId": "12a0d7e7c71756bd", "parentSpanId": "9410147dee74e18b", "startTimeUnixNano": "1796073199574626055", "endTimeUnixNano": "1796073199576074245", "durationMs": 1.44819, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.020208}}
{"type": "effect-span", "name": "sqlite", "traceId": "339e1cb9467be24f93d029007904c1d7", "spanId": "ecf18b48d3fea077", "parentSpanId": "9410147dee74e18b", "startTimeUnixNano": "1796073199576123037", "endTimeUnixNano": "1796073199576995711", "durationMs": 0.872674, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019086}}
{"type": "effect-span", "name": "sqlite", "traceId": "339e1cb9467be24f93d029007904c1d7", "spanId": "b9b08c0025042d9b", "parentSpanId": "9410147dee74e18b", "startTimeUnixNano": "1796073199581881860", "endTimeUnixNano": "1796073199583925251", "durationMs": 2.043391, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017974}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "339e1cb9467be24f93d029007904c1d7", "spanId": "9410147dee74e18b", "parentSpanId": "5cb0813111819317", "startTimeUnixNano": "1796073199573076435", "endTimeUnixNano": "1796073199584118686", "durationMs": 11.042251, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "339e1cb9467be24f93d029007904c1d7", "spanId": "398612cd9932f5ab", "parentSpanId": "5cb0813111819317", "startTimeUnixNano": "1796073199584138663", "endTimeUnixNano": "1796073199586917651", "durationMs": 2.778988, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "339e1cb9467be24f93d029007904c1d7", "spanId": "5cb0813111819317", "parentSpanId": "c1e37026c707a1bf", "startTimeUnixNano": "1796073199568127548", "endTimeUnixNano": "1796073199586946084", "durationMs": 18.818536, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.585853, "db.connection": "reader", "db.lock_wait_ms": 4.475}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "339e1cb9467be24f93d029007904c1d7", "spanId": "c1e37026c707a1bf", "parentSpanId": "0033a046a4a2a5c6", "startTimeUnixNano": "1796073199568102631", "endTimeUnixNano": "1796073199586966162", "durationMs": 18.863531, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "339e1cb9467be24f93d029007904c1d7", "spanId": "0033a046a4a2a5c6", "parentSpanId": "9268a272650b3a5e", "startTimeUnixNano": "1796073199568020436", "endTimeUnixNano": "1796073199586974067", "durationMs": 18.953631, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "339e1cb9467be24f93d029007904c1d7", "spanId": "9268a272650b3a5e", "startTimeUnixNano": "1796073199567974539", "endTimeUnixNano": "1796073199586985729", "durationMs": 19.01119, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "041847e4dc9f94d322a6ce746d89804f", "spanId": "bae2f0524105cd00", "parentSpanId": "bd99fbc92681536d", "startTimeUnixNano": "1796073199905096188", "endTimeUnixNano": "1796073199905641215", "durationMs": 0.545027, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "041847e4dc9f94d322a6ce746d89804f", "spanId": "e9e7d761cec192a6", "parentSpanId": "2e89a2fdef65342c", "startTimeUnixNano": "1796073199905698012", "endTimeUnixNano": "1796073199906713947", "durationMs": 1.015935, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012514}}
{"type": "effect-span", "name": "sqlite", "traceId": "041847e4dc9f94d322a6ce746d89804f", "spanId": "77fd5df841eb10af", "parentSpanId": "2e89a2fdef65342c", "startTimeUnixNano": "1796073199906817211", "endTimeUnixNano": "1796073199907734821", "durationMs": 0.91761, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015159}}
{"type": "effect-span", "name": "sqlite", "traceId": "041847e4dc9f94d322a6ce746d89804f", "spanId": "11073a20db8a1d85", "parentSpanId": "2e89a2fdef65342c", "startTimeUnixNano": "1796073199907756281", "endTimeUnixNano": "1796073199908538275", "durationMs": 0.781994, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010069}}
{"type": "effect-span", "name": "sqlite", "traceId": "041847e4dc9f94d322a6ce746d89804f", "spanId": "289db169306c0864", "parentSpanId": "2e89a2fdef65342c", "startTimeUnixNano": "1796073199911727035", "endTimeUnixNano": "1796073199912538364", "durationMs": 0.811329, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013495}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "041847e4dc9f94d322a6ce746d89804f", "spanId": "2e89a2fdef65342c", "parentSpanId": "bd99fbc92681536d", "startTimeUnixNano": "1796073199905687192", "endTimeUnixNano": "1796073199912715588", "durationMs": 7.028396, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "041847e4dc9f94d322a6ce746d89804f", "spanId": "846cec759f2d436c", "parentSpanId": "bd99fbc92681536d", "startTimeUnixNano": "1796073199912738621", "endTimeUnixNano": "1796073199914529236", "durationMs": 1.790615, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "041847e4dc9f94d322a6ce746d89804f", "spanId": "bd99fbc92681536d", "parentSpanId": "750a98615da455ff", "startTimeUnixNano": "1796073199903474402", "endTimeUnixNano": "1796073199914562218", "durationMs": 11.087816, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.617317, "db.connection": "reader", "db.lock_wait_ms": 1.547}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "041847e4dc9f94d322a6ce746d89804f", "spanId": "750a98615da455ff", "parentSpanId": "a016becb12fa72c0", "startTimeUnixNano": "1796073199903456498", "endTimeUnixNano": "1796073199914588407", "durationMs": 11.131909, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "041847e4dc9f94d322a6ce746d89804f", "spanId": "a016becb12fa72c0", "parentSpanId": "cc0733bdbe083e52", "startTimeUnixNano": "1796073199903391726", "endTimeUnixNano": "1796073199914596583", "durationMs": 11.204857, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "041847e4dc9f94d322a6ce746d89804f", "spanId": "cc0733bdbe083e52", "startTimeUnixNano": "1796073199903366919", "endTimeUnixNano": "1796073199914608966", "durationMs": 11.242047, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5d3c54bd2053387a594842d49069822f", "spanId": "4fd12c1ccbb081c8", "parentSpanId": "007fe1ae6c9e47af", "startTimeUnixNano": "1796073201677132369", "endTimeUnixNano": "1796073201678501460", "durationMs": 1.369091, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5d3c54bd2053387a594842d49069822f", "spanId": "dc44d6bd44078220", "parentSpanId": "8eb50b38c84fb306", "startTimeUnixNano": "1796073201678568286", "endTimeUnixNano": "1796073201679848729", "durationMs": 1.280443, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008496}}
{"type": "effect-span", "name": "sqlite", "traceId": "5d3c54bd2053387a594842d49069822f", "spanId": "74997ad4d05b176c", "parentSpanId": "8eb50b38c84fb306", "startTimeUnixNano": "1796073201679998030", "endTimeUnixNano": "1796073201681566516", "durationMs": 1.568486, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017964}}
{"type": "effect-span", "name": "sqlite", "traceId": "5d3c54bd2053387a594842d49069822f", "spanId": "3c4ac1c1ab8a4b10", "parentSpanId": "8eb50b38c84fb306", "startTimeUnixNano": "1796073201681604267", "endTimeUnixNano": "1796073201683615598", "durationMs": 2.011331, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016932}}
{"type": "effect-span", "name": "sqlite", "traceId": "5d3c54bd2053387a594842d49069822f", "spanId": "7cad923d3fff7f20", "parentSpanId": "8eb50b38c84fb306", "startTimeUnixNano": "1796073201692626360", "endTimeUnixNano": "1796073201699227992", "durationMs": 6.601632, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.028484}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5d3c54bd2053387a594842d49069822f", "spanId": "8eb50b38c84fb306", "parentSpanId": "007fe1ae6c9e47af", "startTimeUnixNano": "1796073201678557766", "endTimeUnixNano": "1796073201699569686", "durationMs": 21.01192, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5d3c54bd2053387a594842d49069822f", "spanId": "dcb9b8fc0248eb2a", "parentSpanId": "007fe1ae6c9e47af", "startTimeUnixNano": "1796073201699618899", "endTimeUnixNano": "1796073201699914666", "durationMs": 0.295767, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5d3c54bd2053387a594842d49069822f", "spanId": "007fe1ae6c9e47af", "parentSpanId": "e41157b1bbf6ded0", "startTimeUnixNano": "1796073201674414968", "endTimeUnixNano": "1796073201699967586", "durationMs": 25.552618, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.706781, "db.connection": "reader", "db.lock_wait_ms": 2.627}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5d3c54bd2053387a594842d49069822f", "spanId": "e41157b1bbf6ded0", "parentSpanId": "3d65f1f5c92c95d9", "startTimeUnixNano": "1796073201674392125", "endTimeUnixNano": "1796073201700009064", "durationMs": 25.616939, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5d3c54bd2053387a594842d49069822f", "spanId": "3d65f1f5c92c95d9", "parentSpanId": "c263e95f821627f1", "startTimeUnixNano": "1796073201674310942", "endTimeUnixNano": "1796073201700024353", "durationMs": 25.713411, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5d3c54bd2053387a594842d49069822f", "spanId": "c263e95f821627f1", "startTimeUnixNano": "1796073201674276206", "endTimeUnixNano": "1796073201700042868", "durationMs": 25.766662, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "895b5d6e96fc907c58cfef157c8df92b", "spanId": "44d2483937d5f97b", "parentSpanId": "16969fe17f3653aa", "startTimeUnixNano": "1796073202117559695", "endTimeUnixNano": "1796073202117811058", "durationMs": 0.251363, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "895b5d6e96fc907c58cfef157c8df92b", "spanId": "b3e17a0d582855cc", "parentSpanId": "b7cfc5256d6de825", "startTimeUnixNano": "1796073202117861433", "endTimeUnixNano": "1796073202118195733", "durationMs": 0.3343, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007034}}
{"type": "effect-span", "name": "sqlite", "traceId": "895b5d6e96fc907c58cfef157c8df92b", "spanId": "5b313b313541ff00", "parentSpanId": "b7cfc5256d6de825", "startTimeUnixNano": "1796073202118316371", "endTimeUnixNano": "1796073202118998546", "durationMs": 0.682175, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01599}}
{"type": "effect-span", "name": "sqlite", "traceId": "895b5d6e96fc907c58cfef157c8df92b", "spanId": "84e24ed1842b68f9", "parentSpanId": "b7cfc5256d6de825", "startTimeUnixNano": "1796073202119027882", "endTimeUnixNano": "1796073202120089733", "durationMs": 1.061851, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015509}}
{"type": "effect-span", "name": "sqlite", "traceId": "895b5d6e96fc907c58cfef157c8df92b", "spanId": "e377b64e6acfc2e4", "parentSpanId": "b7cfc5256d6de825", "startTimeUnixNano": "1796073202124873048", "endTimeUnixNano": "1796073202127064618", "durationMs": 2.19157, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016561}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "895b5d6e96fc907c58cfef157c8df92b", "spanId": "b7cfc5256d6de825", "parentSpanId": "16969fe17f3653aa", "startTimeUnixNano": "1796073202117853899", "endTimeUnixNano": "1796073202127331030", "durationMs": 9.477131, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "895b5d6e96fc907c58cfef157c8df92b", "spanId": "ee611dcf3f79cef0", "parentSpanId": "16969fe17f3653aa", "startTimeUnixNano": "1796073202127361918", "endTimeUnixNano": "1796073202132747949", "durationMs": 5.386031, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "895b5d6e96fc907c58cfef157c8df92b", "spanId": "16969fe17f3653aa", "parentSpanId": "4a827dba6e1cebd2", "startTimeUnixNano": "1796073202115162346", "endTimeUnixNano": "1796073202132801661", "durationMs": 17.639315, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.38198, "db.connection": "reader", "db.lock_wait_ms": 2.317}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "895b5d6e96fc907c58cfef157c8df92b", "spanId": "4a827dba6e1cebd2", "parentSpanId": "5f135b97fb7dcc51", "startTimeUnixNano": "1796073202115145224", "endTimeUnixNano": "1796073202132841025", "durationMs": 17.695801, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "895b5d6e96fc907c58cfef157c8df92b", "spanId": "5f135b97fb7dcc51", "parentSpanId": "243a84bab45f3229", "startTimeUnixNano": "1796073202115088647", "endTimeUnixNano": "1796073202132855512", "durationMs": 17.766865, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "895b5d6e96fc907c58cfef157c8df92b", "spanId": "243a84bab45f3229", "startTimeUnixNano": "1796073202115065644", "endTimeUnixNano": "1796073202132873927", "durationMs": 17.808283, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d8c982d83922058495ecbe6b6ea92b14", "spanId": "5ba971e505408630", "parentSpanId": "f7c3ffd30b314f12", "startTimeUnixNano": "1796073204095800865", "endTimeUnixNano": "1796073204097930569", "durationMs": 2.129704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d8c982d83922058495ecbe6b6ea92b14", "spanId": "00a76b55c7a14df1", "parentSpanId": "19e0b3e241a0c0e3", "startTimeUnixNano": "1796073204098058841", "endTimeUnixNano": "1796073204099083833", "durationMs": 1.024992, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013385}}
{"type": "effect-span", "name": "sqlite", "traceId": "d8c982d83922058495ecbe6b6ea92b14", "spanId": "9d13674033dd6d01", "parentSpanId": "19e0b3e241a0c0e3", "startTimeUnixNano": "1796073204099318615", "endTimeUnixNano": "1796073204100531130", "durationMs": 1.212515, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.020819}}
{"type": "effect-span", "name": "sqlite", "traceId": "d8c982d83922058495ecbe6b6ea92b14", "spanId": "43a7f7ce76f95897", "parentSpanId": "19e0b3e241a0c0e3", "startTimeUnixNano": "1796073204100573400", "endTimeUnixNano": "1796073204101523400", "durationMs": 0.95, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019847}}
{"type": "effect-span", "name": "sqlite", "traceId": "d8c982d83922058495ecbe6b6ea92b14", "spanId": "9fc40d0898b5184e", "parentSpanId": "19e0b3e241a0c0e3", "startTimeUnixNano": "1796073204105562372", "endTimeUnixNano": "1796073204108365345", "durationMs": 2.802973, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.090451}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d8c982d83922058495ecbe6b6ea92b14", "spanId": "19e0b3e241a0c0e3", "parentSpanId": "f7c3ffd30b314f12", "startTimeUnixNano": "1796073204098039424", "endTimeUnixNano": "1796073204108683805", "durationMs": 10.644381, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d8c982d83922058495ecbe6b6ea92b14", "spanId": "12d2d724562bea79", "parentSpanId": "f7c3ffd30b314f12", "startTimeUnixNano": "1796073204108729942", "endTimeUnixNano": "1796073204111984596", "durationMs": 3.254654, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d8c982d83922058495ecbe6b6ea92b14", "spanId": "f7c3ffd30b314f12", "parentSpanId": "69be63f653bfb67a", "startTimeUnixNano": "1796073204088792387", "endTimeUnixNano": "1796073204112049478", "durationMs": 23.257091, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.988411, "db.connection": "reader", "db.lock_wait_ms": 6.828}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d8c982d83922058495ecbe6b6ea92b14", "spanId": "69be63f653bfb67a", "parentSpanId": "95b76e7a58f524b3", "startTimeUnixNano": "1796073204088755327", "endTimeUnixNano": "1796073204112088732", "durationMs": 23.333405, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d8c982d83922058495ecbe6b6ea92b14", "spanId": "95b76e7a58f524b3", "parentSpanId": "63e6d069e31ef577", "startTimeUnixNano": "1796073204088661831", "endTimeUnixNano": "1796073204112114892", "durationMs": 23.453061, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d8c982d83922058495ecbe6b6ea92b14", "spanId": "63e6d069e31ef577", "startTimeUnixNano": "1796073204088615403", "endTimeUnixNano": "1796073204112134188", "durationMs": 23.518785, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a2cd96a765aef533275d6cb624c65ab9", "spanId": "20921e4fc7ff9323", "parentSpanId": "67cb7d08adb0c158", "startTimeUnixNano": "1796073204423629892", "endTimeUnixNano": "1796073204424690451", "durationMs": 1.060559, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2cd96a765aef533275d6cb624c65ab9", "spanId": "52fc1a53a55d2146", "parentSpanId": "a6f037c2303bc19b", "startTimeUnixNano": "1796073204424808904", "endTimeUnixNano": "1796073204426573309", "durationMs": 1.764405, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012032}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2cd96a765aef533275d6cb624c65ab9", "spanId": "0dbf4216e93f69a9", "parentSpanId": "a6f037c2303bc19b", "startTimeUnixNano": "1796073204426874196", "endTimeUnixNano": "1796073204428725385", "durationMs": 1.851189, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.023695}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2cd96a765aef533275d6cb624c65ab9", "spanId": "d8cf07f4f88f98bc", "parentSpanId": "a6f037c2303bc19b", "startTimeUnixNano": "1796073204428773175", "endTimeUnixNano": "1796073204429918153", "durationMs": 1.144978, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.025318}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2cd96a765aef533275d6cb624c65ab9", "spanId": "bf90e8343f04b50e", "parentSpanId": "a6f037c2303bc19b", "startTimeUnixNano": "1796073204436029842", "endTimeUnixNano": "1796073204438676289", "durationMs": 2.646447, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.038682}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a2cd96a765aef533275d6cb624c65ab9", "spanId": "a6f037c2303bc19b", "parentSpanId": "67cb7d08adb0c158", "startTimeUnixNano": "1796073204424792323", "endTimeUnixNano": "1796073204439041427", "durationMs": 14.249104, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a2cd96a765aef533275d6cb624c65ab9", "spanId": "510eb458319f85ec", "parentSpanId": "67cb7d08adb0c158", "startTimeUnixNano": "1796073204439088807", "endTimeUnixNano": "1796073204441340771", "durationMs": 2.251964, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a2cd96a765aef533275d6cb624c65ab9", "spanId": "67cb7d08adb0c158", "parentSpanId": "19ec7852fdaa8ddd", "startTimeUnixNano": "1796073204420824595", "endTimeUnixNano": "1796073204441381928", "durationMs": 20.557333, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.795308, "db.connection": "reader", "db.lock_wait_ms": 2.67}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a2cd96a765aef533275d6cb624c65ab9", "spanId": "19ec7852fdaa8ddd", "parentSpanId": "1958c83827edba99", "startTimeUnixNano": "1796073204420802924", "endTimeUnixNano": "1796073204441416614", "durationMs": 20.61369, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a2cd96a765aef533275d6cb624c65ab9", "spanId": "1958c83827edba99", "parentSpanId": "efcfd7e4d6eeabd4", "startTimeUnixNano": "1796073204420717373", "endTimeUnixNano": "1796073204441427594", "durationMs": 20.710221, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a2cd96a765aef533275d6cb624c65ab9", "spanId": "efcfd7e4d6eeabd4", "startTimeUnixNano": "1796073204420674221", "endTimeUnixNano": "1796073204441480194", "durationMs": 20.805973, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6925dbe7405330aa96624782beb35ed1", "spanId": "617a1587846dc10a", "parentSpanId": "eaf41fa4943bcf1b", "startTimeUnixNano": "1796073206302957948", "endTimeUnixNano": "1796073206303271018", "durationMs": 0.31307, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6925dbe7405330aa96624782beb35ed1", "spanId": "cc1ca6ee5acf1974", "parentSpanId": "fe345a5a3f31dc8d", "startTimeUnixNano": "1796073206303352322", "endTimeUnixNano": "1796073206304679924", "durationMs": 1.327602, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009538}}
{"type": "effect-span", "name": "sqlite", "traceId": "6925dbe7405330aa96624782beb35ed1", "spanId": "6486799982c63470", "parentSpanId": "fe345a5a3f31dc8d", "startTimeUnixNano": "1796073206304870272", "endTimeUnixNano": "1796073206306593199", "durationMs": 1.722927, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015139}}
{"type": "effect-span", "name": "sqlite", "traceId": "6925dbe7405330aa96624782beb35ed1", "spanId": "525b7d7e9a4a7912", "parentSpanId": "fe345a5a3f31dc8d", "startTimeUnixNano": "1796073206306640078", "endTimeUnixNano": "1796073206308719577", "durationMs": 2.079499, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.025358}}
{"type": "effect-span", "name": "sqlite", "traceId": "6925dbe7405330aa96624782beb35ed1", "spanId": "8be429a1a3603a2d", "parentSpanId": "fe345a5a3f31dc8d", "startTimeUnixNano": "1796073206316215214", "endTimeUnixNano": "1796073206319312000", "durationMs": 3.096786, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020208}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6925dbe7405330aa96624782beb35ed1", "spanId": "fe345a5a3f31dc8d", "parentSpanId": "eaf41fa4943bcf1b", "startTimeUnixNano": "1796073206303337724", "endTimeUnixNano": "1796073206319563705", "durationMs": 16.225981, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6925dbe7405330aa96624782beb35ed1", "spanId": "6cc7aa012be8b27e", "parentSpanId": "eaf41fa4943bcf1b", "startTimeUnixNano": "1796073206319592669", "endTimeUnixNano": "1796073206320319329", "durationMs": 0.72666, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6925dbe7405330aa96624782beb35ed1", "spanId": "eaf41fa4943bcf1b", "parentSpanId": "e815d211e9146b07", "startTimeUnixNano": "1796073206298085065", "endTimeUnixNano": "1796073206320343524", "durationMs": 22.258459, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.857945, "db.connection": "reader", "db.lock_wait_ms": 4.772}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6925dbe7405330aa96624782beb35ed1", "spanId": "e815d211e9146b07", "parentSpanId": "5ca4309967189e1e", "startTimeUnixNano": "1796073206298068313", "endTimeUnixNano": "1796073206320360977", "durationMs": 22.292664, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6925dbe7405330aa96624782beb35ed1", "spanId": "5ca4309967189e1e", "parentSpanId": "2dd7d5f985a25a0c", "startTimeUnixNano": "1796073206298005645", "endTimeUnixNano": "1796073206320371898", "durationMs": 22.366253, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6925dbe7405330aa96624782beb35ed1", "spanId": "2dd7d5f985a25a0c", "startTimeUnixNano": "1796073206297974416", "endTimeUnixNano": "1796073206320383490", "durationMs": 22.409074, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "901add7c059ad4d5bbc03f9438214104", "spanId": "da20386cd8a4566e", "parentSpanId": "344792dc6882024a", "startTimeUnixNano": "1796073206725831252", "endTimeUnixNano": "1796073206726464245", "durationMs": 0.632993, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "901add7c059ad4d5bbc03f9438214104", "spanId": "b3ba3f6bc87e6599", "parentSpanId": "ffe605257db743b7", "startTimeUnixNano": "1796073206726537653", "endTimeUnixNano": "1796073206727002349", "durationMs": 0.464696, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006843}}
{"type": "effect-span", "name": "sqlite", "traceId": "901add7c059ad4d5bbc03f9438214104", "spanId": "9e7ab566b8b6f818", "parentSpanId": "ffe605257db743b7", "startTimeUnixNano": "1796073206727143835", "endTimeUnixNano": "1796073206727902565", "durationMs": 0.75873, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015309}}
{"type": "effect-span", "name": "sqlite", "traceId": "901add7c059ad4d5bbc03f9438214104", "spanId": "b8d43e973c28b59e", "parentSpanId": "ffe605257db743b7", "startTimeUnixNano": "1796073206727919638", "endTimeUnixNano": "1796073206728722230", "durationMs": 0.802592, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007834}}
{"type": "effect-span", "name": "sqlite", "traceId": "901add7c059ad4d5bbc03f9438214104", "spanId": "9fa16fe7559c0b66", "parentSpanId": "ffe605257db743b7", "startTimeUnixNano": "1796073206732002632", "endTimeUnixNano": "1796073206733045768", "durationMs": 1.043136, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025308}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "901add7c059ad4d5bbc03f9438214104", "spanId": "ffe605257db743b7", "parentSpanId": "344792dc6882024a", "startTimeUnixNano": "1796073206726525740", "endTimeUnixNano": "1796073206733283206", "durationMs": 6.757466, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "901add7c059ad4d5bbc03f9438214104", "spanId": "884a6a98d04680ab", "parentSpanId": "344792dc6882024a", "startTimeUnixNano": "1796073206733350563", "endTimeUnixNano": "1796073206734639402", "durationMs": 1.288839, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "901add7c059ad4d5bbc03f9438214104", "spanId": "344792dc6882024a", "parentSpanId": "e96fee5fad4b1eb8", "startTimeUnixNano": "1796073206722934843", "endTimeUnixNano": "1796073206734675320", "durationMs": 11.740477, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.887622, "db.connection": "reader", "db.lock_wait_ms": 2.753}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "901add7c059ad4d5bbc03f9438214104", "spanId": "e96fee5fad4b1eb8", "parentSpanId": "604f3fd8166e899c", "startTimeUnixNano": "1796073206722920636", "endTimeUnixNano": "1796073206734701910", "durationMs": 11.781274, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "901add7c059ad4d5bbc03f9438214104", "spanId": "604f3fd8166e899c", "parentSpanId": "9226307e5f7b968d", "startTimeUnixNano": "1796073206722853459", "endTimeUnixNano": "1796073206734708763", "durationMs": 11.855304, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "901add7c059ad4d5bbc03f9438214104", "spanId": "9226307e5f7b968d", "startTimeUnixNano": "1796073206722822181", "endTimeUnixNano": "1796073206734720014", "durationMs": 11.897833, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "31568b06ffe41cb23c5b132363c476cf", "spanId": "7e4782c3cba7be73", "parentSpanId": "6d78e12d2f5e820d", "startTimeUnixNano": "1796073208884717144", "endTimeUnixNano": "1796073208885714183", "durationMs": 0.997039, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "31568b06ffe41cb23c5b132363c476cf", "spanId": "3907d1a27e8a3308", "parentSpanId": "b27bb3433e3c328f", "startTimeUnixNano": "1796073208885886498", "endTimeUnixNano": "1796073208888130286", "durationMs": 2.243788, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.024977}}
{"type": "effect-span", "name": "sqlite", "traceId": "31568b06ffe41cb23c5b132363c476cf", "spanId": "25fd60386ec88b3f", "parentSpanId": "b27bb3433e3c328f", "startTimeUnixNano": "1796073208888424761", "endTimeUnixNano": "1796073208889993337", "durationMs": 1.568576, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.04741}}
{"type": "effect-span", "name": "sqlite", "traceId": "31568b06ffe41cb23c5b132363c476cf", "spanId": "97c1af071e08f438", "parentSpanId": "b27bb3433e3c328f", "startTimeUnixNano": "1796073208890036439", "endTimeUnixNano": "1796073208891492222", "durationMs": 1.455783, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.022422}}
{"type": "effect-span", "name": "sqlite", "traceId": "31568b06ffe41cb23c5b132363c476cf", "spanId": "619ff53b989ed95e", "parentSpanId": "b27bb3433e3c328f", "startTimeUnixNano": "1796073208897660828", "endTimeUnixNano": "1796073208900024693", "durationMs": 2.363865, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022052}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "31568b06ffe41cb23c5b132363c476cf", "spanId": "b27bb3433e3c328f", "parentSpanId": "6d78e12d2f5e820d", "startTimeUnixNano": "1796073208885860869", "endTimeUnixNano": "1796073208900319659", "durationMs": 14.45879, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "31568b06ffe41cb23c5b132363c476cf", "spanId": "2841e10368e4a6c7", "parentSpanId": "6d78e12d2f5e820d", "startTimeUnixNano": "1796073208900353252", "endTimeUnixNano": "1796073208903777546", "durationMs": 3.424294, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "31568b06ffe41cb23c5b132363c476cf", "spanId": "6d78e12d2f5e820d", "parentSpanId": "4071fec93b460793", "startTimeUnixNano": "1796073208860938509", "endTimeUnixNano": "1796073208903849482", "durationMs": 42.910973, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 23.748979, "db.connection": "reader", "db.lock_wait_ms": 23.53}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "31568b06ffe41cb23c5b132363c476cf", "spanId": "4071fec93b460793", "parentSpanId": "ef7f7c7081c331d3", "startTimeUnixNano": "1796073208860903222", "endTimeUnixNano": "1796073208903900368", "durationMs": 42.997146, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "31568b06ffe41cb23c5b132363c476cf", "spanId": "ef7f7c7081c331d3", "parentSpanId": "34c0a949d33a9b1e", "startTimeUnixNano": "1796073208860777325", "endTimeUnixNano": "1796073208903914945", "durationMs": 43.13762, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "31568b06ffe41cb23c5b132363c476cf", "spanId": "34c0a949d33a9b1e", "startTimeUnixNano": "1796073208860730096", "endTimeUnixNano": "1796073208903936255", "durationMs": 43.206159, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "160af5f111e6f0602ae240297bc8c0b6", "spanId": "e91de7f146c3d6df", "parentSpanId": "7d27f6781faa0201", "startTimeUnixNano": "1796073209413667578", "endTimeUnixNano": "1796073209414154796", "durationMs": 0.487218, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "160af5f111e6f0602ae240297bc8c0b6", "spanId": "d56ddaf2e14b9991", "parentSpanId": "adf068e20c787f01", "startTimeUnixNano": "1796073209414213106", "endTimeUnixNano": "1796073209415209654", "durationMs": 0.996548, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006763}}
{"type": "effect-span", "name": "sqlite", "traceId": "160af5f111e6f0602ae240297bc8c0b6", "spanId": "71e4105a4513224e", "parentSpanId": "adf068e20c787f01", "startTimeUnixNano": "1796073209415316957", "endTimeUnixNano": "1796073209416348921", "durationMs": 1.031964, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013164}}
{"type": "effect-span", "name": "sqlite", "traceId": "160af5f111e6f0602ae240297bc8c0b6", "spanId": "91805a8fa8877f2f", "parentSpanId": "adf068e20c787f01", "startTimeUnixNano": "1796073209416377085", "endTimeUnixNano": "1796073209417474954", "durationMs": 1.097869, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013214}}
{"type": "effect-span", "name": "sqlite", "traceId": "160af5f111e6f0602ae240297bc8c0b6", "spanId": "141548991722214a", "parentSpanId": "adf068e20c787f01", "startTimeUnixNano": "1796073209420928142", "endTimeUnixNano": "1796073209422948079", "durationMs": 2.019937, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012944}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "160af5f111e6f0602ae240297bc8c0b6", "spanId": "adf068e20c787f01", "parentSpanId": "7d27f6781faa0201", "startTimeUnixNano": "1796073209414204590", "endTimeUnixNano": "1796073209423171379", "durationMs": 8.966789, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "160af5f111e6f0602ae240297bc8c0b6", "spanId": "d8a1232274d01bfb", "parentSpanId": "7d27f6781faa0201", "startTimeUnixNano": "1796073209423199603", "endTimeUnixNano": "1796073209424162888", "durationMs": 0.963285, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "160af5f111e6f0602ae240297bc8c0b6", "spanId": "7d27f6781faa0201", "parentSpanId": "1c6cde7c5e055a3c", "startTimeUnixNano": "1796073209411214866", "endTimeUnixNano": "1796073209424197744", "durationMs": 12.982878, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.442383, "db.connection": "reader", "db.lock_wait_ms": 2.345}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "160af5f111e6f0602ae240297bc8c0b6", "spanId": "1c6cde7c5e055a3c", "parentSpanId": "59c0f20ee75b4a0d", "startTimeUnixNano": "1796073209411198194", "endTimeUnixNano": "1796073209424228382", "durationMs": 13.030188, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "160af5f111e6f0602ae240297bc8c0b6", "spanId": "59c0f20ee75b4a0d", "parentSpanId": "046de8823361efae", "startTimeUnixNano": "1796073209411130947", "endTimeUnixNano": "1796073209424240655", "durationMs": 13.109708, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "160af5f111e6f0602ae240297bc8c0b6", "spanId": "046de8823361efae", "startTimeUnixNano": "1796073209411102474", "endTimeUnixNano": "1796073209424258138", "durationMs": 13.155664, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0b8b6da66b7f89ef1e6a02852bc8230d", "spanId": "f0565e6c0dab58b8", "parentSpanId": "8f4b3a0a59e41459", "startTimeUnixNano": "1796073211441405704", "endTimeUnixNano": "1796073211442661731", "durationMs": 1.256027, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b8b6da66b7f89ef1e6a02852bc8230d", "spanId": "dde096858c724631", "parentSpanId": "9654bff2367a100d", "startTimeUnixNano": "1796073211442739398", "endTimeUnixNano": "1796073211443384183", "durationMs": 0.644785, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008346}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b8b6da66b7f89ef1e6a02852bc8230d", "spanId": "4d81a5b52cfedc5e", "parentSpanId": "9654bff2367a100d", "startTimeUnixNano": "1796073211443586935", "endTimeUnixNano": "1796073211444354923", "durationMs": 0.767988, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019788}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b8b6da66b7f89ef1e6a02852bc8230d", "spanId": "fb5f2ffa03622719", "parentSpanId": "9654bff2367a100d", "startTimeUnixNano": "1796073211444386713", "endTimeUnixNano": "1796073211445562709", "durationMs": 1.175996, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015018}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b8b6da66b7f89ef1e6a02852bc8230d", "spanId": "53e8b1254a677c63", "parentSpanId": "9654bff2367a100d", "startTimeUnixNano": "1796073211449912327", "endTimeUnixNano": "1796073211453218107", "durationMs": 3.30578, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014427}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0b8b6da66b7f89ef1e6a02852bc8230d", "spanId": "9654bff2367a100d", "parentSpanId": "8f4b3a0a59e41459", "startTimeUnixNano": "1796073211442728046", "endTimeUnixNano": "1796073211453485982", "durationMs": 10.757936, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0b8b6da66b7f89ef1e6a02852bc8230d", "spanId": "f1620cb0046fe8f6", "parentSpanId": "8f4b3a0a59e41459", "startTimeUnixNano": "1796073211453519936", "endTimeUnixNano": "1796073211454241456", "durationMs": 0.72152, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0b8b6da66b7f89ef1e6a02852bc8230d", "spanId": "8f4b3a0a59e41459", "parentSpanId": "dd39760b6a006231", "startTimeUnixNano": "1796073211437160864", "endTimeUnixNano": "1796073211454283064", "durationMs": 17.1222, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.233349, "db.connection": "reader", "db.lock_wait_ms": 4.151}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0b8b6da66b7f89ef1e6a02852bc8230d", "spanId": "dd39760b6a006231", "parentSpanId": "4ffb5c84d37743e1", "startTimeUnixNano": "1796073211437137871", "endTimeUnixNano": "1796073211454308612", "durationMs": 17.170741, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0b8b6da66b7f89ef1e6a02852bc8230d", "spanId": "4ffb5c84d37743e1", "parentSpanId": "c83c90e4a0c344fa", "startTimeUnixNano": "1796073211437073409", "endTimeUnixNano": "1796073211454318080", "durationMs": 17.244671, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0b8b6da66b7f89ef1e6a02852bc8230d", "spanId": "c83c90e4a0c344fa", "startTimeUnixNano": "1796073211437042000", "endTimeUnixNano": "1796073211454333690", "durationMs": 17.29169, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a56d5d32ba0c33ad868ffb24ab528240", "spanId": "7e4a369ed0bf1e81", "parentSpanId": "6dde52fff8d60c6f", "startTimeUnixNano": "1796073211845762914", "endTimeUnixNano": "1796073211846966993", "durationMs": 1.204079, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a56d5d32ba0c33ad868ffb24ab528240", "spanId": "eca0d4757c1b825a", "parentSpanId": "ea4b87549e3d3c6b", "startTimeUnixNano": "1796073211847027637", "endTimeUnixNano": "1796073211847321982", "durationMs": 0.294345, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006963}}
{"type": "effect-span", "name": "sqlite", "traceId": "a56d5d32ba0c33ad868ffb24ab528240", "spanId": "6bc39d575ce36669", "parentSpanId": "ea4b87549e3d3c6b", "startTimeUnixNano": "1796073211847487233", "endTimeUnixNano": "1796073211848671555", "durationMs": 1.184322, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017603}}
{"type": "effect-span", "name": "sqlite", "traceId": "a56d5d32ba0c33ad868ffb24ab528240", "spanId": "dd021a886505534d", "parentSpanId": "ea4b87549e3d3c6b", "startTimeUnixNano": "1796073211848697234", "endTimeUnixNano": "1796073211849501860", "durationMs": 0.804626, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009658}}
{"type": "effect-span", "name": "sqlite", "traceId": "a56d5d32ba0c33ad868ffb24ab528240", "spanId": "a42ea1c062ca7e4e", "parentSpanId": "ea4b87549e3d3c6b", "startTimeUnixNano": "1796073211852484161", "endTimeUnixNano": "1796073211853823034", "durationMs": 1.338873, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.061676}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a56d5d32ba0c33ad868ffb24ab528240", "spanId": "ea4b87549e3d3c6b", "parentSpanId": "6dde52fff8d60c6f", "startTimeUnixNano": "1796073211847019201", "endTimeUnixNano": "1796073211854094766", "durationMs": 7.075565, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a56d5d32ba0c33ad868ffb24ab528240", "spanId": "a6f475dd5ae430cb", "parentSpanId": "6dde52fff8d60c6f", "startTimeUnixNano": "1796073211854137607", "endTimeUnixNano": "1796073211855526955", "durationMs": 1.389348, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a56d5d32ba0c33ad868ffb24ab528240", "spanId": "6dde52fff8d60c6f", "parentSpanId": "41165d30297dcdf3", "startTimeUnixNano": "1796073211842991470", "endTimeUnixNano": "1796073211855568754", "durationMs": 12.577284, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.765873, "db.connection": "reader", "db.lock_wait_ms": 2.712}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a56d5d32ba0c33ad868ffb24ab528240", "spanId": "41165d30297dcdf3", "parentSpanId": "bad64ce443b69f67", "startTimeUnixNano": "1796073211842970160", "endTimeUnixNano": "1796073211855597408", "durationMs": 12.627248, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a56d5d32ba0c33ad868ffb24ab528240", "spanId": "bad64ce443b69f67", "parentSpanId": "8352c036c1f96c76", "startTimeUnixNano": "1796073211842917461", "endTimeUnixNano": "1796073211855609210", "durationMs": 12.691749, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a56d5d32ba0c33ad868ffb24ab528240", "spanId": "8352c036c1f96c76", "startTimeUnixNano": "1796073211842883306", "endTimeUnixNano": "1796073211855623568", "durationMs": 12.740262, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e5721b3a4be4900342077c399f42ebb5", "spanId": "d3f0beab1c743883", "parentSpanId": "56e9cef46b2e7edb", "startTimeUnixNano": "1796073213810903910", "endTimeUnixNano": "1796073213812253183", "durationMs": 1.349273, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e5721b3a4be4900342077c399f42ebb5", "spanId": "f73024e5b04256e0", "parentSpanId": "b316412dd52b78b0", "startTimeUnixNano": "1796073213812398346", "endTimeUnixNano": "1796073213814199832", "durationMs": 1.801486, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01553}}
{"type": "effect-span", "name": "sqlite", "traceId": "e5721b3a4be4900342077c399f42ebb5", "spanId": "6df6d049092a5d20", "parentSpanId": "b316412dd52b78b0", "startTimeUnixNano": "1796073213814397344", "endTimeUnixNano": "1796073213819651506", "durationMs": 5.254162, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015158}}
{"type": "effect-span", "name": "sqlite", "traceId": "e5721b3a4be4900342077c399f42ebb5", "spanId": "b88eb15e8bc1f591", "parentSpanId": "b316412dd52b78b0", "startTimeUnixNano": "1796073213819699677", "endTimeUnixNano": "1796073213821306415", "durationMs": 1.606738, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018775}}
{"type": "effect-span", "name": "sqlite", "traceId": "e5721b3a4be4900342077c399f42ebb5", "spanId": "6224461ec639d176", "parentSpanId": "b316412dd52b78b0", "startTimeUnixNano": "1796073213830006211", "endTimeUnixNano": "1796073213833129698", "durationMs": 3.123487, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.027582}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e5721b3a4be4900342077c399f42ebb5", "spanId": "b316412dd52b78b0", "parentSpanId": "56e9cef46b2e7edb", "startTimeUnixNano": "1796073213812381214", "endTimeUnixNano": "1796073213833581930", "durationMs": 21.200716, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e5721b3a4be4900342077c399f42ebb5", "spanId": "5f2ad1bb10cebaf5", "parentSpanId": "56e9cef46b2e7edb", "startTimeUnixNano": "1796073213833641212", "endTimeUnixNano": "1796073213835164713", "durationMs": 1.523501, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e5721b3a4be4900342077c399f42ebb5", "spanId": "56e9cef46b2e7edb", "parentSpanId": "91251d785da9cc1d", "startTimeUnixNano": "1796073213805747331", "endTimeUnixNano": "1796073213835225027", "durationMs": 29.477696, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.140729, "db.connection": "reader", "db.lock_wait_ms": 4.992}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e5721b3a4be4900342077c399f42ebb5", "spanId": "91251d785da9cc1d", "parentSpanId": "0b561324f7db08f8", "startTimeUnixNano": "1796073213805722545", "endTimeUnixNano": "1796073213835268439", "durationMs": 29.545894, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e5721b3a4be4900342077c399f42ebb5", "spanId": "0b561324f7db08f8", "parentSpanId": "578ee4a19bcea9ad", "startTimeUnixNano": "1796073213805633918", "endTimeUnixNano": "1796073213835282385", "durationMs": 29.648467, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e5721b3a4be4900342077c399f42ebb5", "spanId": "578ee4a19bcea9ad", "startTimeUnixNano": "1796073213805593401", "endTimeUnixNano": "1796073213835304016", "durationMs": 29.710615, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6d5fa35a8ab51c8aebdc22a762319bed", "spanId": "c0443d7913f7f57f", "parentSpanId": "ee2b92573c30645b", "startTimeUnixNano": "1796073214184737923", "endTimeUnixNano": "1796073214185408176", "durationMs": 0.670253, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6d5fa35a8ab51c8aebdc22a762319bed", "spanId": "921a25b1eac90007", "parentSpanId": "cde7427da7a65028", "startTimeUnixNano": "1796073214185602863", "endTimeUnixNano": "1796073214186099960", "durationMs": 0.497097, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.018374}}
{"type": "effect-span", "name": "sqlite", "traceId": "6d5fa35a8ab51c8aebdc22a762319bed", "spanId": "a2608902c4dbfe7c", "parentSpanId": "cde7427da7a65028", "startTimeUnixNano": "1796073214186311659", "endTimeUnixNano": "1796073214187484419", "durationMs": 1.17276, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013916}}
{"type": "effect-span", "name": "sqlite", "traceId": "6d5fa35a8ab51c8aebdc22a762319bed", "spanId": "69feb95f28f4b3db", "parentSpanId": "cde7427da7a65028", "startTimeUnixNano": "1796073214187517531", "endTimeUnixNano": "1796073214189109522", "durationMs": 1.591991, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012724}}
{"type": "effect-span", "name": "sqlite", "traceId": "6d5fa35a8ab51c8aebdc22a762319bed", "spanId": "fbbafa7e902ea0b7", "parentSpanId": "cde7427da7a65028", "startTimeUnixNano": "1796073214194653380", "endTimeUnixNano": "1796073214196477718", "durationMs": 1.824338, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.044644}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6d5fa35a8ab51c8aebdc22a762319bed", "spanId": "cde7427da7a65028", "parentSpanId": "ee2b92573c30645b", "startTimeUnixNano": "1796073214185584328", "endTimeUnixNano": "1796073214196781010", "durationMs": 11.196682, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6d5fa35a8ab51c8aebdc22a762319bed", "spanId": "0b1042aabf339aa8", "parentSpanId": "ee2b92573c30645b", "startTimeUnixNano": "1796073214196831916", "endTimeUnixNano": "1796073214197065616", "durationMs": 0.2337, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6d5fa35a8ab51c8aebdc22a762319bed", "spanId": "ee2b92573c30645b", "parentSpanId": "416f9978e39d9203", "startTimeUnixNano": "1796073214182616234", "endTimeUnixNano": "1796073214197117213", "durationMs": 14.500979, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.113113, "db.connection": "reader", "db.lock_wait_ms": 2.061}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6d5fa35a8ab51c8aebdc22a762319bed", "spanId": "416f9978e39d9203", "parentSpanId": "9a8d7c07cdd140cb", "startTimeUnixNano": "1796073214182603380", "endTimeUnixNano": "1796073214197164903", "durationMs": 14.561523, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6d5fa35a8ab51c8aebdc22a762319bed", "spanId": "9a8d7c07cdd140cb", "parentSpanId": "fd54cb5c9d60deaa", "startTimeUnixNano": "1796073214182558515", "endTimeUnixNano": "1796073214197179080", "durationMs": 14.620565, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6d5fa35a8ab51c8aebdc22a762319bed", "spanId": "fd54cb5c9d60deaa", "startTimeUnixNano": "1796073214182538247", "endTimeUnixNano": "1796073214197202675", "durationMs": 14.664428, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5a4d2f3c3746ac920b83a661c3db8bdf", "spanId": "dc98bc0bcce55101", "parentSpanId": "d3462dda391756ca", "startTimeUnixNano": "1796073216410844687", "endTimeUnixNano": "1796073216411233530", "durationMs": 0.388843, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a4d2f3c3746ac920b83a661c3db8bdf", "spanId": "1b48151a9d838067", "parentSpanId": "0a9f32ec90fd0755", "startTimeUnixNano": "1796073216411356562", "endTimeUnixNano": "1796073216413156634", "durationMs": 1.800072, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014297}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a4d2f3c3746ac920b83a661c3db8bdf", "spanId": "1fdbdec18f6e9112", "parentSpanId": "0a9f32ec90fd0755", "startTimeUnixNano": "1796073216413364075", "endTimeUnixNano": "1796073216414728056", "durationMs": 1.363981, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.025048}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a4d2f3c3746ac920b83a661c3db8bdf", "spanId": "0befea2a15b3349c", "parentSpanId": "0a9f32ec90fd0755", "startTimeUnixNano": "1796073216414765757", "endTimeUnixNano": "1796073216416100934", "durationMs": 1.335177, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.020639}}
{"type": "effect-span", "name": "sqlite", "traceId": "5a4d2f3c3746ac920b83a661c3db8bdf", "spanId": "e04f392a2eb6e015", "parentSpanId": "0a9f32ec90fd0755", "startTimeUnixNano": "1796073216422919254", "endTimeUnixNano": "1796073216424650206", "durationMs": 1.730952, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.024987}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5a4d2f3c3746ac920b83a661c3db8bdf", "spanId": "0a9f32ec90fd0755", "parentSpanId": "d3462dda391756ca", "startTimeUnixNano": "1796073216411340261", "endTimeUnixNano": "1796073216424956904", "durationMs": 13.616643, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5a4d2f3c3746ac920b83a661c3db8bdf", "spanId": "0baa42ad848f587f", "parentSpanId": "d3462dda391756ca", "startTimeUnixNano": "1796073216425000176", "endTimeUnixNano": "1796073216428269727", "durationMs": 3.269551, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5a4d2f3c3746ac920b83a661c3db8bdf", "spanId": "d3462dda391756ca", "parentSpanId": "00ff7d24c37b0c4e", "startTimeUnixNano": "1796073216405232440", "endTimeUnixNano": "1796073216428335702", "durationMs": 23.103262, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.583363, "db.connection": "reader", "db.lock_wait_ms": 5.453}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5a4d2f3c3746ac920b83a661c3db8bdf", "spanId": "00ff7d24c37b0c4e", "parentSpanId": "192428cd9fca3af6", "startTimeUnixNano": "1796073216405209988", "endTimeUnixNano": "1796073216428377911", "durationMs": 23.167923, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5a4d2f3c3746ac920b83a661c3db8bdf", "spanId": "192428cd9fca3af6", "parentSpanId": "ac47084c64552c6d", "startTimeUnixNano": "1796073216405122332", "endTimeUnixNano": "1796073216428391597", "durationMs": 23.269265, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5a4d2f3c3746ac920b83a661c3db8bdf", "spanId": "ac47084c64552c6d", "startTimeUnixNano": "1796073216405079522", "endTimeUnixNano": "1796073216428410883", "durationMs": 23.331361, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f9f7b597257029054cc06a42364145a0", "spanId": "c547307089e431f5", "parentSpanId": "161089c84a200a20", "startTimeUnixNano": "1796073216827403222", "endTimeUnixNano": "1796073216827686416", "durationMs": 0.283194, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f9f7b597257029054cc06a42364145a0", "spanId": "93169dfb394c982b", "parentSpanId": "b39fda44444eb147", "startTimeUnixNano": "1796073216827767599", "endTimeUnixNano": "1796073216828388549", "durationMs": 0.62095, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009458}}
{"type": "effect-span", "name": "sqlite", "traceId": "f9f7b597257029054cc06a42364145a0", "spanId": "6098b6952fc8c7c4", "parentSpanId": "b39fda44444eb147", "startTimeUnixNano": "1796073216828546216", "endTimeUnixNano": "1796073216829754534", "durationMs": 1.208318, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01559}}
{"type": "effect-span", "name": "sqlite", "traceId": "f9f7b597257029054cc06a42364145a0", "spanId": "620ade7db09141cb", "parentSpanId": "b39fda44444eb147", "startTimeUnixNano": "1796073216829794199", "endTimeUnixNano": "1796073216831323240", "durationMs": 1.529041, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019957}}
{"type": "effect-span", "name": "sqlite", "traceId": "f9f7b597257029054cc06a42364145a0", "spanId": "d2bf4101ca363f96", "parentSpanId": "b39fda44444eb147", "startTimeUnixNano": "1796073216839711560", "endTimeUnixNano": "1796073216841924150", "durationMs": 2.21259, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.02646}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f9f7b597257029054cc06a42364145a0", "spanId": "b39fda44444eb147", "parentSpanId": "161089c84a200a20", "startTimeUnixNano": "1796073216827752941", "endTimeUnixNano": "1796073216842262528", "durationMs": 14.509587, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f9f7b597257029054cc06a42364145a0", "spanId": "891abe5295425624", "parentSpanId": "161089c84a200a20", "startTimeUnixNano": "1796073216842309576", "endTimeUnixNano": "1796073216844001184", "durationMs": 1.691608, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f9f7b597257029054cc06a42364145a0", "spanId": "161089c84a200a20", "parentSpanId": "9a40a059db6c6abe", "startTimeUnixNano": "1796073216822692825", "endTimeUnixNano": "1796073216844038324", "durationMs": 21.345499, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.695359, "db.connection": "reader", "db.lock_wait_ms": 4.359}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f9f7b597257029054cc06a42364145a0", "spanId": "9a40a059db6c6abe", "parentSpanId": "e9410b42f660ae96", "startTimeUnixNano": "1796073216822671455", "endTimeUnixNano": "1796073216844075665", "durationMs": 21.40421, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f9f7b597257029054cc06a42364145a0", "spanId": "e9410b42f660ae96", "parentSpanId": "de502a62e366fec3", "startTimeUnixNano": "1796073216822586976", "endTimeUnixNano": "1796073216844084081", "durationMs": 21.497105, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f9f7b597257029054cc06a42364145a0", "spanId": "de502a62e366fec3", "startTimeUnixNano": "1796073216822553272", "endTimeUnixNano": "1796073216844099309", "durationMs": 21.546037, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8657257550344e9bb242c631e234f500", "spanId": "030bcba24d5b9945", "parentSpanId": "b949cbc516145462", "startTimeUnixNano": "1796073219083329531", "endTimeUnixNano": "1796073219087483671", "durationMs": 4.15414, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8657257550344e9bb242c631e234f500", "spanId": "e7bd568c13b0ebe8", "parentSpanId": "71b878959fab08ce", "startTimeUnixNano": "1796073219087811388", "endTimeUnixNano": "1796073219093041966", "durationMs": 5.230578, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.195659}}
{"type": "effect-span", "name": "sqlite", "traceId": "8657257550344e9bb242c631e234f500", "spanId": "8c6292ac20be7800", "parentSpanId": "71b878959fab08ce", "startTimeUnixNano": "1796073219093425559", "endTimeUnixNano": "1796073219095323275", "durationMs": 1.897716, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.040436}}
{"type": "effect-span", "name": "sqlite", "traceId": "8657257550344e9bb242c631e234f500", "spanId": "c0a5a3236c04567b", "parentSpanId": "71b878959fab08ce", "startTimeUnixNano": "1796073219095369463", "endTimeUnixNano": "1796073219097276276", "durationMs": 1.906813, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023634}}
{"type": "effect-span", "name": "sqlite", "traceId": "8657257550344e9bb242c631e234f500", "spanId": "e2502eaf5a6a04bf", "parentSpanId": "71b878959fab08ce", "startTimeUnixNano": "1796073219108401644", "endTimeUnixNano": "1796073219112503855", "durationMs": 4.102211, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.027672}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8657257550344e9bb242c631e234f500", "spanId": "71b878959fab08ce", "parentSpanId": "b949cbc516145462", "startTimeUnixNano": "1796073219087748620", "endTimeUnixNano": "1796073219113207732", "durationMs": 25.459112, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8657257550344e9bb242c631e234f500", "spanId": "df32ea0d36fa7b3d", "parentSpanId": "b949cbc516145462", "startTimeUnixNano": "1796073219113336925", "endTimeUnixNano": "1796073219125716717", "durationMs": 12.379792, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8657257550344e9bb242c631e234f500", "spanId": "b949cbc516145462", "parentSpanId": "994a10f2f3b84ad3", "startTimeUnixNano": "1796073219076236834", "endTimeUnixNano": "1796073219125831403", "durationMs": 49.594569, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 7.065386, "db.connection": "reader", "db.lock_wait_ms": 6.932}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8657257550344e9bb242c631e234f500", "spanId": "994a10f2f3b84ad3", "parentSpanId": "84182958e94cab61", "startTimeUnixNano": "1796073219076218118", "endTimeUnixNano": "1796073219125932213", "durationMs": 49.714095, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8657257550344e9bb242c631e234f500", "spanId": "84182958e94cab61", "parentSpanId": "9d21b147e96dc485", "startTimeUnixNano": "1796073219076098523", "endTimeUnixNano": "1796073219125953032", "durationMs": 49.854509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8657257550344e9bb242c631e234f500", "spanId": "9d21b147e96dc485", "startTimeUnixNano": "1796073219076058367", "endTimeUnixNano": "1796073219125980033", "durationMs": 49.921666, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "52dbf6005ef56a7eb86d602871bad030", "spanId": "90d14e901605db8c", "parentSpanId": "7cb4c1c40890cb38", "startTimeUnixNano": "1796073219558916036", "endTimeUnixNano": "1796073219559489016", "durationMs": 0.57298, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "52dbf6005ef56a7eb86d602871bad030", "spanId": "3bb8e53e83db61cb", "parentSpanId": "ad89dd414d97eb33", "startTimeUnixNano": "1796073219559546254", "endTimeUnixNano": "1796073219559899339", "durationMs": 0.353085, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011952}}
{"type": "effect-span", "name": "sqlite", "traceId": "52dbf6005ef56a7eb86d602871bad030", "spanId": "5a192f7be8eec4c9", "parentSpanId": "ad89dd414d97eb33", "startTimeUnixNano": "1796073219560028653", "endTimeUnixNano": "1796073219561419765", "durationMs": 1.391112, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015719}}
{"type": "effect-span", "name": "sqlite", "traceId": "52dbf6005ef56a7eb86d602871bad030", "spanId": "049a0fcee6743f5b", "parentSpanId": "ad89dd414d97eb33", "startTimeUnixNano": "1796073219561463948", "endTimeUnixNano": "1796073219563012366", "durationMs": 1.548418, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014838}}
{"type": "effect-span", "name": "sqlite", "traceId": "52dbf6005ef56a7eb86d602871bad030", "spanId": "c85ab81c2f239988", "parentSpanId": "ad89dd414d97eb33", "startTimeUnixNano": "1796073219567183247", "endTimeUnixNano": "1796073219569129655", "durationMs": 1.946408, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.024015}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "52dbf6005ef56a7eb86d602871bad030", "spanId": "ad89dd414d97eb33", "parentSpanId": "7cb4c1c40890cb38", "startTimeUnixNano": "1796073219559538349", "endTimeUnixNano": "1796073219569331255", "durationMs": 9.792906, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "52dbf6005ef56a7eb86d602871bad030", "spanId": "ba1641dd16933453", "parentSpanId": "7cb4c1c40890cb38", "startTimeUnixNano": "1796073219569350712", "endTimeUnixNano": "1796073219570350726", "durationMs": 1.000014, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "52dbf6005ef56a7eb86d602871bad030", "spanId": "7cb4c1c40890cb38", "parentSpanId": "b498d4d7134cc832", "startTimeUnixNano": "1796073219557143896", "endTimeUnixNano": "1796073219570384530", "durationMs": 13.240634, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.76691, "db.connection": "reader", "db.lock_wait_ms": 1.728}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "52dbf6005ef56a7eb86d602871bad030", "spanId": "b498d4d7134cc832", "parentSpanId": "6f439e4f0fedfc1c", "startTimeUnixNano": "1796073219557131913", "endTimeUnixNano": "1796073219570413144", "durationMs": 13.281231, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "52dbf6005ef56a7eb86d602871bad030", "spanId": "6f439e4f0fedfc1c", "parentSpanId": "5e813deab15e3025", "startTimeUnixNano": "1796073219557087700", "endTimeUnixNano": "1796073219570422011", "durationMs": 13.334311, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "52dbf6005ef56a7eb86d602871bad030", "spanId": "5e813deab15e3025", "startTimeUnixNano": "1796073219557066460", "endTimeUnixNano": "1796073219570455524", "durationMs": 13.389064, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7a893738abd92f63bedd94d5b940b9b2", "spanId": "2442c106137ca870", "parentSpanId": "47dadd7dc0e09f42", "startTimeUnixNano": "1796073221540305246", "endTimeUnixNano": "1796073221541699634", "durationMs": 1.394388, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7a893738abd92f63bedd94d5b940b9b2", "spanId": "835dbd921216c9f0", "parentSpanId": "c77ed8c179d3b85c", "startTimeUnixNano": "1796073221541790305", "endTimeUnixNano": "1796073221542934772", "durationMs": 1.144467, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007414}}
{"type": "effect-span", "name": "sqlite", "traceId": "7a893738abd92f63bedd94d5b940b9b2", "spanId": "b28f86b38ab4d23d", "parentSpanId": "c77ed8c179d3b85c", "startTimeUnixNano": "1796073221543026024", "endTimeUnixNano": "1796073221544313100", "durationMs": 1.287076, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010309}}
{"type": "effect-span", "name": "sqlite", "traceId": "7a893738abd92f63bedd94d5b940b9b2", "spanId": "bf42a998ef2e56d2", "parentSpanId": "c77ed8c179d3b85c", "startTimeUnixNano": "1796073221544350981", "endTimeUnixNano": "1796073221545769304", "durationMs": 1.418323, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014588}}
{"type": "effect-span", "name": "sqlite", "traceId": "7a893738abd92f63bedd94d5b940b9b2", "spanId": "f19d9f9deae436e6", "parentSpanId": "c77ed8c179d3b85c", "startTimeUnixNano": "1796073221549779232", "endTimeUnixNano": "1796073221551869932", "durationMs": 2.0907, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017272}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7a893738abd92f63bedd94d5b940b9b2", "spanId": "c77ed8c179d3b85c", "parentSpanId": "47dadd7dc0e09f42", "startTimeUnixNano": "1796073221541781468", "endTimeUnixNano": "1796073221552158776", "durationMs": 10.377308, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7a893738abd92f63bedd94d5b940b9b2", "spanId": "9c773504b4f7ead5", "parentSpanId": "47dadd7dc0e09f42", "startTimeUnixNano": "1796073221552197169", "endTimeUnixNano": "1796073221556148465", "durationMs": 3.951296, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7a893738abd92f63bedd94d5b940b9b2", "spanId": "47dadd7dc0e09f42", "parentSpanId": "c2dacf1548242926", "startTimeUnixNano": "1796073221534121021", "endTimeUnixNano": "1796073221556197037", "durationMs": 22.076016, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.170639, "db.connection": "reader", "db.lock_wait_ms": 6.111}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7a893738abd92f63bedd94d5b940b9b2", "spanId": "c2dacf1548242926", "parentSpanId": "32e8cca0240710eb", "startTimeUnixNano": "1796073221534104980", "endTimeUnixNano": "1796073221556236271", "durationMs": 22.131291, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7a893738abd92f63bedd94d5b940b9b2", "spanId": "32e8cca0240710eb", "parentSpanId": "f1eba95b08627f59", "startTimeUnixNano": "1796073221534036682", "endTimeUnixNano": "1796073221556251940", "durationMs": 22.215258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7a893738abd92f63bedd94d5b940b9b2", "spanId": "f1eba95b08627f59", "startTimeUnixNano": "1796073221534009941", "endTimeUnixNano": "1796073221556274824", "durationMs": 22.264883, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e2706ec0c47eedffffb0a2c43107ae15", "spanId": "33daf1a5adaec35d", "parentSpanId": "8d26278b9638364a", "startTimeUnixNano": "1796073221960608581", "endTimeUnixNano": "1796073221963514297", "durationMs": 2.905716, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e2706ec0c47eedffffb0a2c43107ae15", "spanId": "303e63d99b4a7b3a", "parentSpanId": "f2e3c51932a294df", "startTimeUnixNano": "1796073221963648520", "endTimeUnixNano": "1796073221964251777", "durationMs": 0.603257, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013556}}
{"type": "effect-span", "name": "sqlite", "traceId": "e2706ec0c47eedffffb0a2c43107ae15", "spanId": "a815d525bba41407", "parentSpanId": "f2e3c51932a294df", "startTimeUnixNano": "1796073221964425825", "endTimeUnixNano": "1796073221965855199", "durationMs": 1.429374, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.035367}}
{"type": "effect-span", "name": "sqlite", "traceId": "e2706ec0c47eedffffb0a2c43107ae15", "spanId": "6d00044ce81935ef", "parentSpanId": "f2e3c51932a294df", "startTimeUnixNano": "1796073221965904472", "endTimeUnixNano": "1796073221969630935", "durationMs": 3.726463, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018405}}
{"type": "effect-span", "name": "sqlite", "traceId": "e2706ec0c47eedffffb0a2c43107ae15", "spanId": "bd3d5dcce5e999e2", "parentSpanId": "f2e3c51932a294df", "startTimeUnixNano": "1796073221974787664", "endTimeUnixNano": "1796073221978185217", "durationMs": 3.397553, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023153}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e2706ec0c47eedffffb0a2c43107ae15", "spanId": "f2e3c51932a294df", "parentSpanId": "8d26278b9638364a", "startTimeUnixNano": "1796073221963632600", "endTimeUnixNano": "1796073221978455436", "durationMs": 14.822836, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e2706ec0c47eedffffb0a2c43107ae15", "spanId": "fb8386f406b94663", "parentSpanId": "8d26278b9638364a", "startTimeUnixNano": "1796073221978490693", "endTimeUnixNano": "1796073221979550841", "durationMs": 1.060148, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e2706ec0c47eedffffb0a2c43107ae15", "spanId": "8d26278b9638364a", "parentSpanId": "15fc6001d83cd1bd", "startTimeUnixNano": "1796073221947034588", "endTimeUnixNano": "1796073221979591518", "durationMs": 32.55693, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 13.188126, "db.connection": "reader", "db.lock_wait_ms": 13.122}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e2706ec0c47eedffffb0a2c43107ae15", "spanId": "15fc6001d83cd1bd", "parentSpanId": "b9e8f2ee3367e555", "startTimeUnixNano": "1796073221947020121", "endTimeUnixNano": "1796073221979622857", "durationMs": 32.602736, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e2706ec0c47eedffffb0a2c43107ae15", "spanId": "b9e8f2ee3367e555", "parentSpanId": "9d04a74a1f3d9c1e", "startTimeUnixNano": "1796073221946972171", "endTimeUnixNano": "1796073221979633897", "durationMs": 32.661726, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e2706ec0c47eedffffb0a2c43107ae15", "spanId": "9d04a74a1f3d9c1e", "startTimeUnixNano": "1796073221946941423", "endTimeUnixNano": "1796073221979657041", "durationMs": 32.715618, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0209de69cfead5ede80681ccefb467b0", "spanId": "c6c218e37f1684c0", "parentSpanId": "a26632ec7ec36242", "startTimeUnixNano": "1796073224053548131", "endTimeUnixNano": "1796073224053871100", "durationMs": 0.322969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0209de69cfead5ede80681ccefb467b0", "spanId": "2dc39186559aa220", "parentSpanId": "491096e2c34499f1", "startTimeUnixNano": "1796073224053923849", "endTimeUnixNano": "1796073224054575107", "durationMs": 0.651258, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006603}}
{"type": "effect-span", "name": "sqlite", "traceId": "0209de69cfead5ede80681ccefb467b0", "spanId": "06a2a267a894f3d0", "parentSpanId": "491096e2c34499f1", "startTimeUnixNano": "1796073224054690935", "endTimeUnixNano": "1796073224056020862", "durationMs": 1.329927, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01059}}
{"type": "effect-span", "name": "sqlite", "traceId": "0209de69cfead5ede80681ccefb467b0", "spanId": "da7990ad544c56d3", "parentSpanId": "491096e2c34499f1", "startTimeUnixNano": "1796073224056054345", "endTimeUnixNano": "1796073224056928773", "durationMs": 0.874428, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013976}}
{"type": "effect-span", "name": "sqlite", "traceId": "0209de69cfead5ede80681ccefb467b0", "spanId": "32b76e8d47ef80a6", "parentSpanId": "491096e2c34499f1", "startTimeUnixNano": "1796073224059558889", "endTimeUnixNano": "1796073224061072933", "durationMs": 1.514044, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012344}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0209de69cfead5ede80681ccefb467b0", "spanId": "491096e2c34499f1", "parentSpanId": "a26632ec7ec36242", "startTimeUnixNano": "1796073224053915774", "endTimeUnixNano": "1796073224061272740", "durationMs": 7.356966, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0209de69cfead5ede80681ccefb467b0", "spanId": "1a808629838c09cd", "parentSpanId": "a26632ec7ec36242", "startTimeUnixNano": "1796073224061291375", "endTimeUnixNano": "1796073224063380101", "durationMs": 2.088726, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0209de69cfead5ede80681ccefb467b0", "spanId": "a26632ec7ec36242", "parentSpanId": "b2771adac2d6c6a5", "startTimeUnixNano": "1796073224050182448", "endTimeUnixNano": "1796073224063415528", "durationMs": 13.23308, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.355985, "db.connection": "reader", "db.lock_wait_ms": 3.249}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0209de69cfead5ede80681ccefb467b0", "spanId": "b2771adac2d6c6a5", "parentSpanId": "f8b067de34dff268", "startTimeUnixNano": "1796073224050169023", "endTimeUnixNano": "1796073224063457918", "durationMs": 13.288895, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0209de69cfead5ede80681ccefb467b0", "spanId": "f8b067de34dff268", "parentSpanId": "90bfbaeb4758d9f0", "startTimeUnixNano": "1796073224050098460", "endTimeUnixNano": "1796073224063469961", "durationMs": 13.371501, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0209de69cfead5ede80681ccefb467b0", "spanId": "90bfbaeb4758d9f0", "startTimeUnixNano": "1796073224050063033", "endTimeUnixNano": "1796073224063484578", "durationMs": 13.421545, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4890befea27f5540e8f52e9d8482497c", "spanId": "daa4adcbbc6f6d2f", "parentSpanId": "56cd278fb9a1d83c", "startTimeUnixNano": "1796073224503240736", "endTimeUnixNano": "1796073224503965482", "durationMs": 0.724746, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4890befea27f5540e8f52e9d8482497c", "spanId": "6ec3f483a4b7b85c", "parentSpanId": "78413954b9260fe4", "startTimeUnixNano": "1796073224504075229", "endTimeUnixNano": "1796073224504555173", "durationMs": 0.479944, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01081}}
{"type": "effect-span", "name": "sqlite", "traceId": "4890befea27f5540e8f52e9d8482497c", "spanId": "5739cbd236c8b0ac", "parentSpanId": "78413954b9260fe4", "startTimeUnixNano": "1796073224504715125", "endTimeUnixNano": "1796073224506193731", "durationMs": 1.478606, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.021691}}
{"type": "effect-span", "name": "sqlite", "traceId": "4890befea27f5540e8f52e9d8482497c", "spanId": "327af85a8b09a561", "parentSpanId": "78413954b9260fe4", "startTimeUnixNano": "1796073224506231452", "endTimeUnixNano": "1796073224507558574", "durationMs": 1.327122, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.029596}}
{"type": "effect-span", "name": "sqlite", "traceId": "4890befea27f5540e8f52e9d8482497c", "spanId": "47efc0669b71bc50", "parentSpanId": "78413954b9260fe4", "startTimeUnixNano": "1796073224513852846", "endTimeUnixNano": "1796073224516039427", "durationMs": 2.186581, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.033213}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4890befea27f5540e8f52e9d8482497c", "spanId": "78413954b9260fe4", "parentSpanId": "56cd278fb9a1d83c", "startTimeUnixNano": "1796073224504039722", "endTimeUnixNano": "1796073224516386802", "durationMs": 12.34708, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4890befea27f5540e8f52e9d8482497c", "spanId": "bf854d5d46299af9", "parentSpanId": "56cd278fb9a1d83c", "startTimeUnixNano": "1796073224516425225", "endTimeUnixNano": "1796073224517102411", "durationMs": 0.677186, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4890befea27f5540e8f52e9d8482497c", "spanId": "56cd278fb9a1d83c", "parentSpanId": "6c5fc9d5fb9333ff", "startTimeUnixNano": "1796073224498311837", "endTimeUnixNano": "1796073224517139641", "durationMs": 18.827804, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.917407, "db.connection": "reader", "db.lock_wait_ms": 4.827}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4890befea27f5540e8f52e9d8482497c", "spanId": "6c5fc9d5fb9333ff", "parentSpanId": "7ac95c3f6e9694f0", "startTimeUnixNano": "1796073224498295736", "endTimeUnixNano": "1796073224517179496", "durationMs": 18.88376, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4890befea27f5540e8f52e9d8482497c", "spanId": "7ac95c3f6e9694f0", "parentSpanId": "a681225945f66754", "startTimeUnixNano": "1796073224498223350", "endTimeUnixNano": "1796073224517193342", "durationMs": 18.969992, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4890befea27f5540e8f52e9d8482497c", "spanId": "a681225945f66754", "startTimeUnixNano": "1796073224498193654", "endTimeUnixNano": "1796073224517214713", "durationMs": 19.021059, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b47c045a36da65215e2a854853210827", "spanId": "6c403faaf8e86c29", "parentSpanId": "d6bac9eaa79e1a8c", "startTimeUnixNano": "1796073226476928789", "endTimeUnixNano": "1796073226477124859", "durationMs": 0.19607, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b47c045a36da65215e2a854853210827", "spanId": "ad79051abba73486", "parentSpanId": "ceecdd7f2d4f7f91", "startTimeUnixNano": "1796073226477193929", "endTimeUnixNano": "1796073226478185969", "durationMs": 0.99204, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009207}}
{"type": "effect-span", "name": "sqlite", "traceId": "b47c045a36da65215e2a854853210827", "spanId": "be2b3d9474f8e2c3", "parentSpanId": "ceecdd7f2d4f7f91", "startTimeUnixNano": "1796073226478295094", "endTimeUnixNano": "1796073226479316009", "durationMs": 1.020915, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012624}}
{"type": "effect-span", "name": "sqlite", "traceId": "b47c045a36da65215e2a854853210827", "spanId": "6039f486e194fb17", "parentSpanId": "ceecdd7f2d4f7f91", "startTimeUnixNano": "1796073226479348610", "endTimeUnixNano": "1796073226484421932", "durationMs": 5.073322, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012884}}
{"type": "effect-span", "name": "sqlite", "traceId": "b47c045a36da65215e2a854853210827", "spanId": "1e5d6a70d351f2f0", "parentSpanId": "ceecdd7f2d4f7f91", "startTimeUnixNano": "1796073226488498234", "endTimeUnixNano": "1796073226489688197", "durationMs": 1.189963, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012764}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b47c045a36da65215e2a854853210827", "spanId": "ceecdd7f2d4f7f91", "parentSpanId": "d6bac9eaa79e1a8c", "startTimeUnixNano": "1796073226477183880", "endTimeUnixNano": "1796073226489949990", "durationMs": 12.76611, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b47c045a36da65215e2a854853210827", "spanId": "122dbd9d07c4b2dc", "parentSpanId": "d6bac9eaa79e1a8c", "startTimeUnixNano": "1796073226489976209", "endTimeUnixNano": "1796073226492038166", "durationMs": 2.061957, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b47c045a36da65215e2a854853210827", "spanId": "d6bac9eaa79e1a8c", "parentSpanId": "9e6f439579b3952d", "startTimeUnixNano": "1796073226473611147", "endTimeUnixNano": "1796073226492073272", "durationMs": 18.462125, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.31109, "db.connection": "reader", "db.lock_wait_ms": 3.259}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b47c045a36da65215e2a854853210827", "spanId": "9e6f439579b3952d", "parentSpanId": "b3a82b7e94af2861", "startTimeUnixNano": "1796073226473594826", "endTimeUnixNano": "1796073226492093410", "durationMs": 18.498584, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b47c045a36da65215e2a854853210827", "spanId": "b3a82b7e94af2861", "parentSpanId": "225cd0acebf618bb", "startTimeUnixNano": "1796073226473530124", "endTimeUnixNano": "1796073226492101395", "durationMs": 18.571271, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b47c045a36da65215e2a854853210827", "spanId": "225cd0acebf618bb", "startTimeUnixNano": "1796073226473500879", "endTimeUnixNano": "1796073226492112636", "durationMs": 18.611757, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "009b42db779e095d1d6bd151e25d6985", "spanId": "44085d9f7a9ce821", "parentSpanId": "2f806dc289b37402", "startTimeUnixNano": "1796073226853511296", "endTimeUnixNano": "1796073226854482857", "durationMs": 0.971561, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "009b42db779e095d1d6bd151e25d6985", "spanId": "4e57c903daa11919", "parentSpanId": "95ff3072629cc90f", "startTimeUnixNano": "1796073226854534374", "endTimeUnixNano": "1796073226856122527", "durationMs": 1.588153, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007464}}
{"type": "effect-span", "name": "sqlite", "traceId": "009b42db779e095d1d6bd151e25d6985", "spanId": "f9b5abe9d5b1f63c", "parentSpanId": "95ff3072629cc90f", "startTimeUnixNano": "1796073226856277680", "endTimeUnixNano": "1796073226857246616", "durationMs": 0.968936, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012664}}
{"type": "effect-span", "name": "sqlite", "traceId": "009b42db779e095d1d6bd151e25d6985", "spanId": "5cb4a363a0db1368", "parentSpanId": "95ff3072629cc90f", "startTimeUnixNano": "1796073226857278306", "endTimeUnixNano": "1796073226858088553", "durationMs": 0.810247, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010239}}
{"type": "effect-span", "name": "sqlite", "traceId": "009b42db779e095d1d6bd151e25d6985", "spanId": "9de9f957175aa0d0", "parentSpanId": "95ff3072629cc90f", "startTimeUnixNano": "1796073226861207190", "endTimeUnixNano": "1796073226863311606", "durationMs": 2.104416, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.062989}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "009b42db779e095d1d6bd151e25d6985", "spanId": "95ff3072629cc90f", "parentSpanId": "2f806dc289b37402", "startTimeUnixNano": "1796073226854524305", "endTimeUnixNano": "1796073226863619938", "durationMs": 9.095633, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "009b42db779e095d1d6bd151e25d6985", "spanId": "a86a565c891f6291", "parentSpanId": "2f806dc289b37402", "startTimeUnixNano": "1796073226863660965", "endTimeUnixNano": "1796073226865134662", "durationMs": 1.473697, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "009b42db779e095d1d6bd151e25d6985", "spanId": "2f806dc289b37402", "parentSpanId": "4a82c05b9e82d264", "startTimeUnixNano": "1796073226851180864", "endTimeUnixNano": "1796073226865169618", "durationMs": 13.988754, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.322287, "db.connection": "reader", "db.lock_wait_ms": 2.206}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "009b42db779e095d1d6bd151e25d6985", "spanId": "4a82c05b9e82d264", "parentSpanId": "2e7a7353b26198ed", "startTimeUnixNano": "1796073226851169572", "endTimeUnixNano": "1796073226865193143", "durationMs": 14.023571, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "009b42db779e095d1d6bd151e25d6985", "spanId": "2e7a7353b26198ed", "parentSpanId": "695af21dd7d4c3a4", "startTimeUnixNano": "1796073226851111243", "endTimeUnixNano": "1796073226865200466", "durationMs": 14.089223, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "009b42db779e095d1d6bd151e25d6985", "spanId": "695af21dd7d4c3a4", "startTimeUnixNano": "1796073226851081987", "endTimeUnixNano": "1796073226865212499", "durationMs": 14.130512, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0ff63e2f02e37e3f07c321d6db90044d", "spanId": "77630bb806fde37b", "parentSpanId": "55db29625494571f", "startTimeUnixNano": "1796073228814926092", "endTimeUnixNano": "1796073228816173553", "durationMs": 1.247461, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ff63e2f02e37e3f07c321d6db90044d", "spanId": "653902f6128fa897", "parentSpanId": "3c9c6f2d1ecf132c", "startTimeUnixNano": "1796073228816260216", "endTimeUnixNano": "1796073228817236055", "durationMs": 0.975839, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007675}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ff63e2f02e37e3f07c321d6db90044d", "spanId": "2ee45f4dc271e825", "parentSpanId": "3c9c6f2d1ecf132c", "startTimeUnixNano": "1796073228817379977", "endTimeUnixNano": "1796073228818303076", "durationMs": 0.923099, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01603}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ff63e2f02e37e3f07c321d6db90044d", "spanId": "e7b545ee8da0d00e", "parentSpanId": "3c9c6f2d1ecf132c", "startTimeUnixNano": "1796073228818318485", "endTimeUnixNano": "1796073228819545819", "durationMs": 1.227334, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016742}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ff63e2f02e37e3f07c321d6db90044d", "spanId": "21691eabda72a4db", "parentSpanId": "3c9c6f2d1ecf132c", "startTimeUnixNano": "1796073228822316771", "endTimeUnixNano": "1796073228823962663", "durationMs": 1.645892, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.0162}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0ff63e2f02e37e3f07c321d6db90044d", "spanId": "3c9c6f2d1ecf132c", "parentSpanId": "55db29625494571f", "startTimeUnixNano": "1796073228816246591", "endTimeUnixNano": "1796073228824267527", "durationMs": 8.020936, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0ff63e2f02e37e3f07c321d6db90044d", "spanId": "81ff292e25e8b722", "parentSpanId": "55db29625494571f", "startTimeUnixNano": "1796073228824308174", "endTimeUnixNano": "1796073228826492270", "durationMs": 2.184096, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0ff63e2f02e37e3f07c321d6db90044d", "spanId": "55db29625494571f", "parentSpanId": "2c95b824b136e7ed", "startTimeUnixNano": "1796073228812265588", "endTimeUnixNano": "1796073228826565559", "durationMs": 14.299971, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.646167, "db.connection": "reader", "db.lock_wait_ms": 2.543}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0ff63e2f02e37e3f07c321d6db90044d", "spanId": "2c95b824b136e7ed", "parentSpanId": "32fae52d292bd3a0", "startTimeUnixNano": "1796073228812250880", "endTimeUnixNano": "1796073228826604161", "durationMs": 14.353281, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0ff63e2f02e37e3f07c321d6db90044d", "spanId": "32fae52d292bd3a0", "parentSpanId": "eb5d824ded1215b5", "startTimeUnixNano": "1796073228812188563", "endTimeUnixNano": "1796073228826614461", "durationMs": 14.425898, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0ff63e2f02e37e3f07c321d6db90044d", "spanId": "eb5d824ded1215b5", "startTimeUnixNano": "1796073228812158686", "endTimeUnixNano": "1796073228826632845", "durationMs": 14.474159, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9ec5f1cdd063f71347937dd3b312ea87", "spanId": "99a263164b1eca7d", "parentSpanId": "5da9f14d018f294b", "startTimeUnixNano": "1796073229168916190", "endTimeUnixNano": "1796073229169553030", "durationMs": 0.63684, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9ec5f1cdd063f71347937dd3b312ea87", "spanId": "448213c8940b8e86", "parentSpanId": "b319c885f40c5aea", "startTimeUnixNano": "1796073229169606621", "endTimeUnixNano": "1796073229170191423", "durationMs": 0.584802, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006893}}
{"type": "effect-span", "name": "sqlite", "traceId": "9ec5f1cdd063f71347937dd3b312ea87", "spanId": "58f7824e21e72b76", "parentSpanId": "b319c885f40c5aea", "startTimeUnixNano": "1796073229170283256", "endTimeUnixNano": "1796073229171606249", "durationMs": 1.322993, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010179}}
{"type": "effect-span", "name": "sqlite", "traceId": "9ec5f1cdd063f71347937dd3b312ea87", "spanId": "15b59d05254ecfcc", "parentSpanId": "b319c885f40c5aea", "startTimeUnixNano": "1796073229171637488", "endTimeUnixNano": "1796073229172400867", "durationMs": 0.763379, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014247}}
{"type": "effect-span", "name": "sqlite", "traceId": "9ec5f1cdd063f71347937dd3b312ea87", "spanId": "a3065c49673fefb7", "parentSpanId": "b319c885f40c5aea", "startTimeUnixNano": "1796073229176787785", "endTimeUnixNano": "1796073229178735546", "durationMs": 1.947761, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.045396}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9ec5f1cdd063f71347937dd3b312ea87", "spanId": "b319c885f40c5aea", "parentSpanId": "5da9f14d018f294b", "startTimeUnixNano": "1796073229169599638", "endTimeUnixNano": "1796073229179145008", "durationMs": 9.54537, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9ec5f1cdd063f71347937dd3b312ea87", "spanId": "c949c5a09e840964", "parentSpanId": "5da9f14d018f294b", "startTimeUnixNano": "1796073229179206864", "endTimeUnixNano": "1796073229181518581", "durationMs": 2.311717, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9ec5f1cdd063f71347937dd3b312ea87", "spanId": "5da9f14d018f294b", "parentSpanId": "017c8d4c02504a60", "startTimeUnixNano": "1796073229167358564", "endTimeUnixNano": "1796073229181563846", "durationMs": 14.205282, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.539862, "db.connection": "reader", "db.lock_wait_ms": 1.485}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9ec5f1cdd063f71347937dd3b312ea87", "spanId": "017c8d4c02504a60", "parentSpanId": "7ed55fe901629194", "startTimeUnixNano": "1796073229167338406", "endTimeUnixNano": "1796073229181601778", "durationMs": 14.263372, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9ec5f1cdd063f71347937dd3b312ea87", "spanId": "7ed55fe901629194", "parentSpanId": "8ee3dd2c46b388fd", "startTimeUnixNano": "1796073229167279445", "endTimeUnixNano": "1796073229181619231", "durationMs": 14.339786, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9ec5f1cdd063f71347937dd3b312ea87", "spanId": "8ee3dd2c46b388fd", "startTimeUnixNano": "1796073229167251903", "endTimeUnixNano": "1796073229181637876", "durationMs": 14.385973, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d7d2be707e885d346c175c7d6415bed2", "spanId": "e6d91bfd8fefe458", "parentSpanId": "94c0e4ced77db21b", "startTimeUnixNano": "1796073231441080062", "endTimeUnixNano": "1796073231442593414", "durationMs": 1.513352, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d7d2be707e885d346c175c7d6415bed2", "spanId": "e552ab090c15eb23", "parentSpanId": "203d67fa7acb35c6", "startTimeUnixNano": "1796073231442673695", "endTimeUnixNano": "1796073231444085887", "durationMs": 1.412192, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008206}}
{"type": "effect-span", "name": "sqlite", "traceId": "d7d2be707e885d346c175c7d6415bed2", "spanId": "102e38bfa3ce86fd", "parentSpanId": "203d67fa7acb35c6", "startTimeUnixNano": "1796073231444233265", "endTimeUnixNano": "1796073231445675132", "durationMs": 1.441867, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012423}}
{"type": "effect-span", "name": "sqlite", "traceId": "d7d2be707e885d346c175c7d6415bed2", "spanId": "b2b4bc31bc04d6f6", "parentSpanId": "203d67fa7acb35c6", "startTimeUnixNano": "1796073231445699037", "endTimeUnixNano": "1796073231446790224", "durationMs": 1.091187, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013876}}
{"type": "effect-span", "name": "sqlite", "traceId": "d7d2be707e885d346c175c7d6415bed2", "spanId": "8e2691624647b864", "parentSpanId": "203d67fa7acb35c6", "startTimeUnixNano": "1796073231451345439", "endTimeUnixNano": "1796073231452889759", "durationMs": 1.54432, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018615}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d7d2be707e885d346c175c7d6415bed2", "spanId": "203d67fa7acb35c6", "parentSpanId": "94c0e4ced77db21b", "startTimeUnixNano": "1796073231442661753", "endTimeUnixNano": "1796073231453200074", "durationMs": 10.538321, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d7d2be707e885d346c175c7d6415bed2", "spanId": "7e33a8eab09d1a93", "parentSpanId": "94c0e4ced77db21b", "startTimeUnixNano": "1796073231453253705", "endTimeUnixNano": "1796073231456285760", "durationMs": 3.032055, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d7d2be707e885d346c175c7d6415bed2", "spanId": "94c0e4ced77db21b", "parentSpanId": "57b8ea01c3ea4a2c", "startTimeUnixNano": "1796073231433176947", "endTimeUnixNano": "1796073231456379807", "durationMs": 23.20286, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 7.886614, "db.connection": "reader", "db.lock_wait_ms": 7.781}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d7d2be707e885d346c175c7d6415bed2", "spanId": "57b8ea01c3ea4a2c", "parentSpanId": "8ccd6a268a5b94bc", "startTimeUnixNano": "1796073231433163652", "endTimeUnixNano": "1796073231456427617", "durationMs": 23.263965, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d7d2be707e885d346c175c7d6415bed2", "spanId": "8ccd6a268a5b94bc", "parentSpanId": "dfd05232ef696900", "startTimeUnixNano": "1796073231433102958", "endTimeUnixNano": "1796073231456459166", "durationMs": 23.356208, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d7d2be707e885d346c175c7d6415bed2", "spanId": "dfd05232ef696900", "startTimeUnixNano": "1796073231433075486", "endTimeUnixNano": "1796073231456484204", "durationMs": 23.408718, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fb8922799c94df809e8b308afe1b9e87", "spanId": "a7ee7aa6a3f43408", "parentSpanId": "3d00444434506951", "startTimeUnixNano": "1796073231933798278", "endTimeUnixNano": "1796073231934326965", "durationMs": 0.528687, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fb8922799c94df809e8b308afe1b9e87", "spanId": "87c1244f563a1fa9", "parentSpanId": "acd5daa20c8f256d", "startTimeUnixNano": "1796073231934401155", "endTimeUnixNano": "1796073231935368518", "durationMs": 0.967363, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008646}}
{"type": "effect-span", "name": "sqlite", "traceId": "fb8922799c94df809e8b308afe1b9e87", "spanId": "3e798fbbe09566d2", "parentSpanId": "acd5daa20c8f256d", "startTimeUnixNano": "1796073231935515274", "endTimeUnixNano": "1796073231940267721", "durationMs": 4.752447, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017343}}
{"type": "effect-span", "name": "sqlite", "traceId": "fb8922799c94df809e8b308afe1b9e87", "spanId": "507b5e0e2281c4e8", "parentSpanId": "acd5daa20c8f256d", "startTimeUnixNano": "1796073231940291687", "endTimeUnixNano": "1796073231942338815", "durationMs": 2.047128, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013034}}
{"type": "effect-span", "name": "sqlite", "traceId": "fb8922799c94df809e8b308afe1b9e87", "spanId": "b9a25756ae684e3a", "parentSpanId": "acd5daa20c8f256d", "startTimeUnixNano": "1796073231947524037", "endTimeUnixNano": "1796073231950051120", "durationMs": 2.527083, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.092855}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fb8922799c94df809e8b308afe1b9e87", "spanId": "acd5daa20c8f256d", "parentSpanId": "3d00444434506951", "startTimeUnixNano": "1796073231934389733", "endTimeUnixNano": "1796073231950497892", "durationMs": 16.108159, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fb8922799c94df809e8b308afe1b9e87", "spanId": "a71be6156fc0df5a", "parentSpanId": "3d00444434506951", "startTimeUnixNano": "1796073231950557134", "endTimeUnixNano": "1796073231951878364", "durationMs": 1.32123, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fb8922799c94df809e8b308afe1b9e87", "spanId": "3d00444434506951", "parentSpanId": "37008bf761d8fd26", "startTimeUnixNano": "1796073231930853649", "endTimeUnixNano": "1796073231951924501", "durationMs": 21.070852, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.938438, "db.connection": "reader", "db.lock_wait_ms": 2.888}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fb8922799c94df809e8b308afe1b9e87", "spanId": "37008bf761d8fd26", "parentSpanId": "573945f07b4395c3", "startTimeUnixNano": "1796073231930840614", "endTimeUnixNano": "1796073231951969997", "durationMs": 21.129383, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fb8922799c94df809e8b308afe1b9e87", "spanId": "573945f07b4395c3", "parentSpanId": "1edd6acf1ee999ea", "startTimeUnixNano": "1796073231930781413", "endTimeUnixNano": "1796073231951979054", "durationMs": 21.197641, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fb8922799c94df809e8b308afe1b9e87", "spanId": "1edd6acf1ee999ea", "startTimeUnixNano": "1796073231930759081", "endTimeUnixNano": "1796073231951996527", "durationMs": 21.237446, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6a5d59d57e27a36052f2959a6dca6952", "spanId": "81f3d6be0e8bf162", "parentSpanId": "f7a76e82318b47f3", "startTimeUnixNano": "1796073234117899335", "endTimeUnixNano": "1796073234118271807", "durationMs": 0.372472, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6a5d59d57e27a36052f2959a6dca6952", "spanId": "f8d5df3a599e5d71", "parentSpanId": "756f0ff0d92e9126", "startTimeUnixNano": "1796073234118398496", "endTimeUnixNano": "1796073234119062758", "durationMs": 0.664262, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.015449}}
{"type": "effect-span", "name": "sqlite", "traceId": "6a5d59d57e27a36052f2959a6dca6952", "spanId": "307e33ad03e0e911", "parentSpanId": "756f0ff0d92e9126", "startTimeUnixNano": "1796073234119322788", "endTimeUnixNano": "1796073234120603461", "durationMs": 1.280673, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01622}}
{"type": "effect-span", "name": "sqlite", "traceId": "6a5d59d57e27a36052f2959a6dca6952", "spanId": "a4f00764e6698a7a", "parentSpanId": "756f0ff0d92e9126", "startTimeUnixNano": "1796073234120647394", "endTimeUnixNano": "1796073234122290681", "durationMs": 1.643287, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016662}}
{"type": "effect-span", "name": "sqlite", "traceId": "6a5d59d57e27a36052f2959a6dca6952", "spanId": "a0920b04ade8d2f9", "parentSpanId": "756f0ff0d92e9126", "startTimeUnixNano": "1796073234127009645", "endTimeUnixNano": "1796073234131882178", "durationMs": 4.872533, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016712}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6a5d59d57e27a36052f2959a6dca6952", "spanId": "756f0ff0d92e9126", "parentSpanId": "f7a76e82318b47f3", "startTimeUnixNano": "1796073234118380702", "endTimeUnixNano": "1796073234132180971", "durationMs": 13.800269, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6a5d59d57e27a36052f2959a6dca6952", "spanId": "89fc909d98f7e14c", "parentSpanId": "f7a76e82318b47f3", "startTimeUnixNano": "1796073234132213733", "endTimeUnixNano": "1796073234133598783", "durationMs": 1.38505, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6a5d59d57e27a36052f2959a6dca6952", "spanId": "f7a76e82318b47f3", "parentSpanId": "a6ff666fe048a4cf", "startTimeUnixNano": "1796073234112082352", "endTimeUnixNano": "1796073234133647315", "durationMs": 21.564963, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.798909, "db.connection": "reader", "db.lock_wait_ms": 5.667}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6a5d59d57e27a36052f2959a6dca6952", "spanId": "a6ff666fe048a4cf", "parentSpanId": "841fad4ca60b28df", "startTimeUnixNano": "1796073234112070630", "endTimeUnixNano": "1796073234133673464", "durationMs": 21.602834, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6a5d59d57e27a36052f2959a6dca6952", "spanId": "841fad4ca60b28df", "parentSpanId": "bf7eb8431c4f55d7", "startTimeUnixNano": "1796073234112004515", "endTimeUnixNano": "1796073234133680447", "durationMs": 21.675932, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6a5d59d57e27a36052f2959a6dca6952", "spanId": "bf7eb8431c4f55d7", "startTimeUnixNano": "1796073234111977103", "endTimeUnixNano": "1796073234133692290", "durationMs": 21.715187, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7a8666cd7a943753d0953fa1bf13b232", "spanId": "883bbb198f3cf59e", "parentSpanId": "3eb7abc8fcee938d", "startTimeUnixNano": "1796073234532609132", "endTimeUnixNano": "1796073234533955268", "durationMs": 1.346136, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7a8666cd7a943753d0953fa1bf13b232", "spanId": "62df01d93e404715", "parentSpanId": "5dbbb588afa24228", "startTimeUnixNano": "1796073234534046681", "endTimeUnixNano": "1796073234534971935", "durationMs": 0.925254, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007344}}
{"type": "effect-span", "name": "sqlite", "traceId": "7a8666cd7a943753d0953fa1bf13b232", "spanId": "df0506814eeef759", "parentSpanId": "5dbbb588afa24228", "startTimeUnixNano": "1796073234535204423", "endTimeUnixNano": "1796073234537474331", "durationMs": 2.269908, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016591}}
{"type": "effect-span", "name": "sqlite", "traceId": "7a8666cd7a943753d0953fa1bf13b232", "spanId": "ffd6cc8d5ed3711e", "parentSpanId": "5dbbb588afa24228", "startTimeUnixNano": "1796073234537522391", "endTimeUnixNano": "1796073234540120768", "durationMs": 2.598377, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.022012}}
{"type": "effect-span", "name": "sqlite", "traceId": "7a8666cd7a943753d0953fa1bf13b232", "spanId": "4ff837a333f1d162", "parentSpanId": "5dbbb588afa24228", "startTimeUnixNano": "1796073234544546119", "endTimeUnixNano": "1796073234550323437", "durationMs": 5.777318, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.089669}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7a8666cd7a943753d0953fa1bf13b232", "spanId": "5dbbb588afa24228", "parentSpanId": "3eb7abc8fcee938d", "startTimeUnixNano": "1796073234534033917", "endTimeUnixNano": "1796073234550615067", "durationMs": 16.58115, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7a8666cd7a943753d0953fa1bf13b232", "spanId": "e815ce50c3aaeac5", "parentSpanId": "3eb7abc8fcee938d", "startTimeUnixNano": "1796073234550654081", "endTimeUnixNano": "1796073234551079673", "durationMs": 0.425592, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7a8666cd7a943753d0953fa1bf13b232", "spanId": "3eb7abc8fcee938d", "parentSpanId": "e0832017fa6616f7", "startTimeUnixNano": "1796073234528768193", "endTimeUnixNano": "1796073234551131771", "durationMs": 22.363578, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.832182, "db.connection": "reader", "db.lock_wait_ms": 3.669}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7a8666cd7a943753d0953fa1bf13b232", "spanId": "e0832017fa6616f7", "parentSpanId": "a26b2097dab493ee", "startTimeUnixNano": "1796073234528714882", "endTimeUnixNano": "1796073234551162900", "durationMs": 22.448018, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7a8666cd7a943753d0953fa1bf13b232", "spanId": "a26b2097dab493ee", "parentSpanId": "18596276a9c9042e", "startTimeUnixNano": "1796073234528581180", "endTimeUnixNano": "1796073234551171916", "durationMs": 22.590736, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7a8666cd7a943753d0953fa1bf13b232", "spanId": "18596276a9c9042e", "startTimeUnixNano": "1796073234528491792", "endTimeUnixNano": "1796073234551189359", "durationMs": 22.697567, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1f4c0cc4b5d6a11c9d6fee2a23589036", "spanId": "6c7790ec36854be9", "parentSpanId": "e48222c21a2e2a12", "startTimeUnixNano": "1796073236364823394", "endTimeUnixNano": "1796073236366017094", "durationMs": 1.1937, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1f4c0cc4b5d6a11c9d6fee2a23589036", "spanId": "8536d512f53c163e", "parentSpanId": "7ed64e8d6af8925e", "startTimeUnixNano": "1796073236366086575", "endTimeUnixNano": "1796073236367308768", "durationMs": 1.222193, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006051}}
{"type": "effect-span", "name": "sqlite", "traceId": "1f4c0cc4b5d6a11c9d6fee2a23589036", "spanId": "494d92c4b0f3bef8", "parentSpanId": "7ed64e8d6af8925e", "startTimeUnixNano": "1796073236367425658", "endTimeUnixNano": "1796073236368815859", "durationMs": 1.390201, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.029276}}
{"type": "effect-span", "name": "sqlite", "traceId": "1f4c0cc4b5d6a11c9d6fee2a23589036", "spanId": "358e762bd0369ff5", "parentSpanId": "7ed64e8d6af8925e", "startTimeUnixNano": "1796073236368836207", "endTimeUnixNano": "1796073236369758144", "durationMs": 0.921937, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013946}}
{"type": "effect-span", "name": "sqlite", "traceId": "1f4c0cc4b5d6a11c9d6fee2a23589036", "spanId": "2f771a09ca1da833", "parentSpanId": "7ed64e8d6af8925e", "startTimeUnixNano": "1796073236372981920", "endTimeUnixNano": "1796073236381805751", "durationMs": 8.823831, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018635}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1f4c0cc4b5d6a11c9d6fee2a23589036", "spanId": "7ed64e8d6af8925e", "parentSpanId": "e48222c21a2e2a12", "startTimeUnixNano": "1796073236366078810", "endTimeUnixNano": "1796073236382065921", "durationMs": 15.987111, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1f4c0cc4b5d6a11c9d6fee2a23589036", "spanId": "7c62ca5ae4578533", "parentSpanId": "e48222c21a2e2a12", "startTimeUnixNano": "1796073236382098272", "endTimeUnixNano": "1796073236383198185", "durationMs": 1.099913, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1f4c0cc4b5d6a11c9d6fee2a23589036", "spanId": "e48222c21a2e2a12", "parentSpanId": "7364cc35d32b19ab", "startTimeUnixNano": "1796073236362493262", "endTimeUnixNano": "1796073236383249972", "durationMs": 20.75671, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.320955, "db.connection": "reader", "db.lock_wait_ms": 2.244}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1f4c0cc4b5d6a11c9d6fee2a23589036", "spanId": "7364cc35d32b19ab", "parentSpanId": "79795ba70c5a666b", "startTimeUnixNano": "1796073236362478054", "endTimeUnixNano": "1796073236383283405", "durationMs": 20.805351, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1f4c0cc4b5d6a11c9d6fee2a23589036", "spanId": "79795ba70c5a666b", "parentSpanId": "61d4721d1cb46b23", "startTimeUnixNano": "1796073236362402191", "endTimeUnixNano": "1796073236383303423", "durationMs": 20.901232, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1f4c0cc4b5d6a11c9d6fee2a23589036", "spanId": "61d4721d1cb46b23", "startTimeUnixNano": "1796073236362367976", "endTimeUnixNano": "1796073236383317189", "durationMs": 20.949213, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "41bebf7ea701a19f90fe6c68349d8e52", "spanId": "8568e9ec8ed6a33d", "parentSpanId": "5b5ffd9d428e21e4", "startTimeUnixNano": "1796073236721213690", "endTimeUnixNano": "1796073236721587214", "durationMs": 0.373524, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "41bebf7ea701a19f90fe6c68349d8e52", "spanId": "49f1446ad5db3575", "parentSpanId": "3f58e56741137959", "startTimeUnixNano": "1796073236721686631", "endTimeUnixNano": "1796073236722312561", "durationMs": 0.62593, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010179}}
{"type": "effect-span", "name": "sqlite", "traceId": "41bebf7ea701a19f90fe6c68349d8e52", "spanId": "dd92e4bb61090564", "parentSpanId": "3f58e56741137959", "startTimeUnixNano": "1796073236722547383", "endTimeUnixNano": "1796073236725327974", "durationMs": 2.780591, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017283}}
{"type": "effect-span", "name": "sqlite", "traceId": "41bebf7ea701a19f90fe6c68349d8e52", "spanId": "5a93a6e3ff87737c", "parentSpanId": "3f58e56741137959", "startTimeUnixNano": "1796073236725354754", "endTimeUnixNano": "1796073236726614548", "durationMs": 1.259794, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01616}}
{"type": "effect-span", "name": "sqlite", "traceId": "41bebf7ea701a19f90fe6c68349d8e52", "spanId": "1ff05189f34b171d", "parentSpanId": "3f58e56741137959", "startTimeUnixNano": "1796073236730696602", "endTimeUnixNano": "1796073236733273889", "durationMs": 2.577287, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.075622}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "41bebf7ea701a19f90fe6c68349d8e52", "spanId": "3f58e56741137959", "parentSpanId": "5b5ffd9d428e21e4", "startTimeUnixNano": "1796073236721674488", "endTimeUnixNano": "1796073236733579375", "durationMs": 11.904887, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "41bebf7ea701a19f90fe6c68349d8e52", "spanId": "720d186926aaa107", "parentSpanId": "5b5ffd9d428e21e4", "startTimeUnixNano": "1796073236733617577", "endTimeUnixNano": "1796073236734377710", "durationMs": 0.760133, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "41bebf7ea701a19f90fe6c68349d8e52", "spanId": "5b5ffd9d428e21e4", "parentSpanId": "6f1e86161b16a836", "startTimeUnixNano": "1796073236717267492", "endTimeUnixNano": "1796073236734412475", "durationMs": 17.144983, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.934045, "db.connection": "reader", "db.lock_wait_ms": 3.847}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "41bebf7ea701a19f90fe6c68349d8e52", "spanId": "6f1e86161b16a836", "parentSpanId": "7e95ec3a52cf5f64", "startTimeUnixNano": "1796073236717245711", "endTimeUnixNano": "1796073236734461477", "durationMs": 17.215766, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "41bebf7ea701a19f90fe6c68349d8e52", "spanId": "7e95ec3a52cf5f64", "parentSpanId": "c67d40ae471afe83", "startTimeUnixNano": "1796073236717176832", "endTimeUnixNano": "1796073236734472729", "durationMs": 17.295897, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "41bebf7ea701a19f90fe6c68349d8e52", "spanId": "c67d40ae471afe83", "startTimeUnixNano": "1796073236717144611", "endTimeUnixNano": "1796073236734490432", "durationMs": 17.345821, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ef4ecad2c98299bc786d17c57b7d0e68", "spanId": "d13098e63fde642c", "parentSpanId": "b7558b89126b26e9", "startTimeUnixNano": "1796073238663963651", "endTimeUnixNano": "1796073238664958705", "durationMs": 0.995054, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef4ecad2c98299bc786d17c57b7d0e68", "spanId": "bb4244e758aeeee1", "parentSpanId": "a39f7c57d2432536", "startTimeUnixNano": "1796073238665012024", "endTimeUnixNano": "1796073238665582341", "durationMs": 0.570317, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005821}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef4ecad2c98299bc786d17c57b7d0e68", "spanId": "0f4451a7fe1b1c05", "parentSpanId": "a39f7c57d2432536", "startTimeUnixNano": "1796073238665674802", "endTimeUnixNano": "1796073238666880186", "durationMs": 1.205384, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014968}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef4ecad2c98299bc786d17c57b7d0e68", "spanId": "88275a901be1b94f", "parentSpanId": "a39f7c57d2432536", "startTimeUnixNano": "1796073238666895785", "endTimeUnixNano": "1796073238667639663", "durationMs": 0.743878, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007183}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef4ecad2c98299bc786d17c57b7d0e68", "spanId": "07c27cd42a7b110d", "parentSpanId": "a39f7c57d2432536", "startTimeUnixNano": "1796073238670184338", "endTimeUnixNano": "1796073238671897202", "durationMs": 1.712864, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01051}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ef4ecad2c98299bc786d17c57b7d0e68", "spanId": "a39f7c57d2432536", "parentSpanId": "b7558b89126b26e9", "startTimeUnixNano": "1796073238665004340", "endTimeUnixNano": "1796073238672065644", "durationMs": 7.061304, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ef4ecad2c98299bc786d17c57b7d0e68", "spanId": "227f6b5d408f6f0b", "parentSpanId": "b7558b89126b26e9", "startTimeUnixNano": "1796073238672078368", "endTimeUnixNano": "1796073238672584806", "durationMs": 0.506438, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ef4ecad2c98299bc786d17c57b7d0e68", "spanId": "b7558b89126b26e9", "parentSpanId": "a9bc4b5d19e27b64", "startTimeUnixNano": "1796073238661221991", "endTimeUnixNano": "1796073238672612387", "durationMs": 11.390396, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.727815, "db.connection": "reader", "db.lock_wait_ms": 2.671}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ef4ecad2c98299bc786d17c57b7d0e68", "spanId": "a9bc4b5d19e27b64", "parentSpanId": "cf662e77a6a20555", "startTimeUnixNano": "1796073238661213355", "endTimeUnixNano": "1796073238672631793", "durationMs": 11.418438, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ef4ecad2c98299bc786d17c57b7d0e68", "spanId": "cf662e77a6a20555", "parentSpanId": "24705a25842da529", "startTimeUnixNano": "1796073238661170085", "endTimeUnixNano": "1796073238672642743", "durationMs": 11.472658, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ef4ecad2c98299bc786d17c57b7d0e68", "spanId": "24705a25842da529", "startTimeUnixNano": "1796073238661151701", "endTimeUnixNano": "1796073238672652181", "durationMs": 11.50048, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b641342368b76545ce6cc1e769981608", "spanId": "3331601857c456ba", "parentSpanId": "e5e8d0e642e74296", "startTimeUnixNano": "1796073238992010695", "endTimeUnixNano": "1796073238992455048", "durationMs": 0.444353, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b641342368b76545ce6cc1e769981608", "spanId": "d1753250130d4dbe", "parentSpanId": "e859051e9e4f9bbc", "startTimeUnixNano": "1796073238992495704", "endTimeUnixNano": "1796073238992770944", "durationMs": 0.27524, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004989}}
{"type": "effect-span", "name": "sqlite", "traceId": "b641342368b76545ce6cc1e769981608", "spanId": "d288e97cee6923cd", "parentSpanId": "e859051e9e4f9bbc", "startTimeUnixNano": "1796073238992861251", "endTimeUnixNano": "1796073238994401315", "durationMs": 1.540064, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017032}}
{"type": "effect-span", "name": "sqlite", "traceId": "b641342368b76545ce6cc1e769981608", "spanId": "ad828af60efe6148", "parentSpanId": "e859051e9e4f9bbc", "startTimeUnixNano": "1796073238994426582", "endTimeUnixNano": "1796073238995294159", "durationMs": 0.867577, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.028653}}
{"type": "effect-span", "name": "sqlite", "traceId": "b641342368b76545ce6cc1e769981608", "spanId": "5836524e2d22526d", "parentSpanId": "e859051e9e4f9bbc", "startTimeUnixNano": "1796073238997504926", "endTimeUnixNano": "1796073239000713782", "durationMs": 3.208856, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016641}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b641342368b76545ce6cc1e769981608", "spanId": "e859051e9e4f9bbc", "parentSpanId": "e5e8d0e642e74296", "startTimeUnixNano": "1796073238992489502", "endTimeUnixNano": "1796073239000977360", "durationMs": 8.487858, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b641342368b76545ce6cc1e769981608", "spanId": "945a3b8e30c46cf7", "parentSpanId": "e5e8d0e642e74296", "startTimeUnixNano": "1796073239001002988", "endTimeUnixNano": "1796073239001479270", "durationMs": 0.476282, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b641342368b76545ce6cc1e769981608", "spanId": "e5e8d0e642e74296", "parentSpanId": "b33861bd2b56f9e6", "startTimeUnixNano": "1796073238990135380", "endTimeUnixNano": "1796073239001519054", "durationMs": 11.383674, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.866208, "db.connection": "reader", "db.lock_wait_ms": 1.833}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b641342368b76545ce6cc1e769981608", "spanId": "b33861bd2b56f9e6", "parentSpanId": "d47fa3b22895e27a", "startTimeUnixNano": "1796073238990127395", "endTimeUnixNano": "1796073239001554630", "durationMs": 11.427235, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b641342368b76545ce6cc1e769981608", "spanId": "d47fa3b22895e27a", "parentSpanId": "55dd14cbfa174003", "startTimeUnixNano": "1796073238990097099", "endTimeUnixNano": "1796073239001568866", "durationMs": 11.471767, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b641342368b76545ce6cc1e769981608", "spanId": "55dd14cbfa174003", "startTimeUnixNano": "1796073238990082121", "endTimeUnixNano": "1796073239001589865", "durationMs": 11.507744, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a10706f39bbfb22a599dd5c26b1d951e", "spanId": "4d5c03063b6d870d", "parentSpanId": "21baa6996c01ed0e", "startTimeUnixNano": "1796073241372427202", "endTimeUnixNano": "1796073241374447305", "durationMs": 2.020103, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a10706f39bbfb22a599dd5c26b1d951e", "spanId": "1cde22a3b537b62e", "parentSpanId": "f0f85d8160719671", "startTimeUnixNano": "1796073241374583388", "endTimeUnixNano": "1796073241376617858", "durationMs": 2.03447, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012924}}
{"type": "effect-span", "name": "sqlite", "traceId": "a10706f39bbfb22a599dd5c26b1d951e", "spanId": "4b1edfd2c56ff157", "parentSpanId": "f0f85d8160719671", "startTimeUnixNano": "1796073241376856210", "endTimeUnixNano": "1796073241379030138", "durationMs": 2.173928, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.025517}}
{"type": "effect-span", "name": "sqlite", "traceId": "a10706f39bbfb22a599dd5c26b1d951e", "spanId": "c197327c6472d9d1", "parentSpanId": "f0f85d8160719671", "startTimeUnixNano": "1796073241379081854", "endTimeUnixNano": "1796073241381317878", "durationMs": 2.236024, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023864}}
{"type": "effect-span", "name": "sqlite", "traceId": "a10706f39bbfb22a599dd5c26b1d951e", "spanId": "8a4da8ae00a57cfd", "parentSpanId": "f0f85d8160719671", "startTimeUnixNano": "1796073241389050547", "endTimeUnixNano": "1796073241395616255", "durationMs": 6.565708, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.038131}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a10706f39bbfb22a599dd5c26b1d951e", "spanId": "f0f85d8160719671", "parentSpanId": "21baa6996c01ed0e", "startTimeUnixNano": "1796073241374565675", "endTimeUnixNano": "1796073241395918154", "durationMs": 21.352479, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a10706f39bbfb22a599dd5c26b1d951e", "spanId": "0aa72a85055c7122", "parentSpanId": "21baa6996c01ed0e", "startTimeUnixNano": "1796073241395963638", "endTimeUnixNano": "1796073241400164884", "durationMs": 4.201246, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a10706f39bbfb22a599dd5c26b1d951e", "spanId": "21baa6996c01ed0e", "parentSpanId": "48bc71d92d146e90", "startTimeUnixNano": "1796073241368263356", "endTimeUnixNano": "1796073241400243570", "durationMs": 31.980214, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.150401, "db.connection": "reader", "db.lock_wait_ms": 4.023}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a10706f39bbfb22a599dd5c26b1d951e", "spanId": "48bc71d92d146e90", "parentSpanId": "a14547217c692f8c", "startTimeUnixNano": "1796073241368234853", "endTimeUnixNano": "1796073241400290637", "durationMs": 32.055784, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a10706f39bbfb22a599dd5c26b1d951e", "spanId": "a14547217c692f8c", "parentSpanId": "f35248a71a0329cd", "startTimeUnixNano": "1796073241368118818", "endTimeUnixNano": "1796073241400304903", "durationMs": 32.186085, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a10706f39bbfb22a599dd5c26b1d951e", "spanId": "f35248a71a0329cd", "startTimeUnixNano": "1796073241368073484", "endTimeUnixNano": "1796073241400329349", "durationMs": 32.255865, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "35482788a284f806018fa867dc236cfd", "spanId": "cf6e5bb2a9f370c7", "parentSpanId": "9152315aff8ace2a", "startTimeUnixNano": "1796073241830614680", "endTimeUnixNano": "1796073241832000137", "durationMs": 1.385457, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "35482788a284f806018fa867dc236cfd", "spanId": "ff1858877f8f5f1a", "parentSpanId": "3b1674aaf49caa2e", "startTimeUnixNano": "1796073241832097447", "endTimeUnixNano": "1796073241833106648", "durationMs": 1.009201, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007294}}
{"type": "effect-span", "name": "sqlite", "traceId": "35482788a284f806018fa867dc236cfd", "spanId": "cbf3edcce7fd643a", "parentSpanId": "3b1674aaf49caa2e", "startTimeUnixNano": "1796073241833292772", "endTimeUnixNano": "1796073241834994456", "durationMs": 1.701684, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018916}}
{"type": "effect-span", "name": "sqlite", "traceId": "35482788a284f806018fa867dc236cfd", "spanId": "e907147fd48dd5f7", "parentSpanId": "3b1674aaf49caa2e", "startTimeUnixNano": "1796073241835036865", "endTimeUnixNano": "1796073241836518500", "durationMs": 1.481635, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019476}}
{"type": "effect-span", "name": "sqlite", "traceId": "35482788a284f806018fa867dc236cfd", "spanId": "9c7e8e66126d4173", "parentSpanId": "3b1674aaf49caa2e", "startTimeUnixNano": "1796073241841321020", "endTimeUnixNano": "1796073241843748328", "durationMs": 2.427308, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.040966}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "35482788a284f806018fa867dc236cfd", "spanId": "3b1674aaf49caa2e", "parentSpanId": "9152315aff8ace2a", "startTimeUnixNano": "1796073241832086507", "endTimeUnixNano": "1796073241844028347", "durationMs": 11.94184, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "35482788a284f806018fa867dc236cfd", "spanId": "1f83062c43420cdc", "parentSpanId": "9152315aff8ace2a", "startTimeUnixNano": "1796073241844056499", "endTimeUnixNano": "1796073241844627708", "durationMs": 0.571209, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "35482788a284f806018fa867dc236cfd", "spanId": "9152315aff8ace2a", "parentSpanId": "1628287596ff02d8", "startTimeUnixNano": "1796073241827959850", "endTimeUnixNano": "1796073241844657523", "durationMs": 16.697673, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.646234, "db.connection": "reader", "db.lock_wait_ms": 2.589}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "35482788a284f806018fa867dc236cfd", "spanId": "1628287596ff02d8", "parentSpanId": "bf0062c64c0f3131", "startTimeUnixNano": "1796073241827940093", "endTimeUnixNano": "1796073241844689562", "durationMs": 16.749469, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "35482788a284f806018fa867dc236cfd", "spanId": "bf0062c64c0f3131", "parentSpanId": "13a4ae0f8d009398", "startTimeUnixNano": "1796073241827888478", "endTimeUnixNano": "1796073241844697587", "durationMs": 16.809109, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "35482788a284f806018fa867dc236cfd", "spanId": "13a4ae0f8d009398", "startTimeUnixNano": "1796073241827856959", "endTimeUnixNano": "1796073241844708928", "durationMs": 16.851969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2ee833f922a89b0f1e79cca995912776", "spanId": "2a0a7894f7032ceb", "parentSpanId": "84962578fba07147", "startTimeUnixNano": "1796073243900558919", "endTimeUnixNano": "1796073243901631888", "durationMs": 1.072969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2ee833f922a89b0f1e79cca995912776", "spanId": "423313a851053754", "parentSpanId": "3549a548c332a9f8", "startTimeUnixNano": "1796073243901701797", "endTimeUnixNano": "1796073243901977839", "durationMs": 0.276042, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007765}}
{"type": "effect-span", "name": "sqlite", "traceId": "2ee833f922a89b0f1e79cca995912776", "spanId": "2e724224b21c005f", "parentSpanId": "3549a548c332a9f8", "startTimeUnixNano": "1796073243902082964", "endTimeUnixNano": "1796073243903324655", "durationMs": 1.241691, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.021019}}
{"type": "effect-span", "name": "sqlite", "traceId": "2ee833f922a89b0f1e79cca995912776", "spanId": "271b729e15b257eb", "parentSpanId": "3549a548c332a9f8", "startTimeUnixNano": "1796073243903347437", "endTimeUnixNano": "1796073243904261321", "durationMs": 0.913884, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011762}}
{"type": "effect-span", "name": "sqlite", "traceId": "2ee833f922a89b0f1e79cca995912776", "spanId": "403061f83089c89a", "parentSpanId": "3549a548c332a9f8", "startTimeUnixNano": "1796073243910382324", "endTimeUnixNano": "1796073243913772467", "durationMs": 3.390143, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014347}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2ee833f922a89b0f1e79cca995912776", "spanId": "3549a548c332a9f8", "parentSpanId": "84962578fba07147", "startTimeUnixNano": "1796073243901691668", "endTimeUnixNano": "1796073243914087170", "durationMs": 12.395502, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2ee833f922a89b0f1e79cca995912776", "spanId": "55e6daadd598d997", "parentSpanId": "84962578fba07147", "startTimeUnixNano": "1796073243914123077", "endTimeUnixNano": "1796073243915397629", "durationMs": 1.274552, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2ee833f922a89b0f1e79cca995912776", "spanId": "84962578fba07147", "parentSpanId": "8524cea1cca48401", "startTimeUnixNano": "1796073243896894829", "endTimeUnixNano": "1796073243915446269", "durationMs": 18.55144, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.658129, "db.connection": "reader", "db.lock_wait_ms": 3.594}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2ee833f922a89b0f1e79cca995912776", "spanId": "8524cea1cca48401", "parentSpanId": "9689f85ff4e653e8", "startTimeUnixNano": "1796073243896881574", "endTimeUnixNano": "1796073243915475383", "durationMs": 18.593809, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2ee833f922a89b0f1e79cca995912776", "spanId": "9689f85ff4e653e8", "parentSpanId": "4a1b81598437ac2a", "startTimeUnixNano": "1796073243896808539", "endTimeUnixNano": "1796073243915485061", "durationMs": 18.676522, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2ee833f922a89b0f1e79cca995912776", "spanId": "4a1b81598437ac2a", "startTimeUnixNano": "1796073243896780276", "endTimeUnixNano": "1796073243915516459", "durationMs": 18.736183, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4577bac03421bc07b5dd3b8e9f94123b", "spanId": "ff4d71312cfd4031", "parentSpanId": "4923aec69b54da8e", "startTimeUnixNano": "1796073244214489905", "endTimeUnixNano": "1796073244214645293", "durationMs": 0.155388, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4577bac03421bc07b5dd3b8e9f94123b", "spanId": "84109b5cacd84ca5", "parentSpanId": "5a29f54f2c72c4ba", "startTimeUnixNano": "1796073244214683203", "endTimeUnixNano": "1796073244214874708", "durationMs": 0.191505, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005911}}
{"type": "effect-span", "name": "sqlite", "traceId": "4577bac03421bc07b5dd3b8e9f94123b", "spanId": "589be98a11da2b60", "parentSpanId": "5a29f54f2c72c4ba", "startTimeUnixNano": "1796073244214944568", "endTimeUnixNano": "1796073244215840077", "durationMs": 0.895509, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008526}}
{"type": "effect-span", "name": "sqlite", "traceId": "4577bac03421bc07b5dd3b8e9f94123b", "spanId": "0d908ce2f9503fd4", "parentSpanId": "5a29f54f2c72c4ba", "startTimeUnixNano": "1796073244215871325", "endTimeUnixNano": "1796073244216774950", "durationMs": 0.903625, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012544}}
{"type": "effect-span", "name": "sqlite", "traceId": "4577bac03421bc07b5dd3b8e9f94123b", "spanId": "2257faef88dbb7ec", "parentSpanId": "5a29f54f2c72c4ba", "startTimeUnixNano": "1796073244221105816", "endTimeUnixNano": "1796073244223348002", "durationMs": 2.242186, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019236}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4577bac03421bc07b5dd3b8e9f94123b", "spanId": "5a29f54f2c72c4ba", "parentSpanId": "4923aec69b54da8e", "startTimeUnixNano": "1796073244214677673", "endTimeUnixNano": "1796073244223597735", "durationMs": 8.920062, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4577bac03421bc07b5dd3b8e9f94123b", "spanId": "f0b0faa2b0f819e7", "parentSpanId": "4923aec69b54da8e", "startTimeUnixNano": "1796073244223632439", "endTimeUnixNano": "1796073244224372721", "durationMs": 0.740282, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4577bac03421bc07b5dd3b8e9f94123b", "spanId": "4923aec69b54da8e", "parentSpanId": "5ecb1c2ef8ef0a3e", "startTimeUnixNano": "1796073244212733861", "endTimeUnixNano": "1796073244224409940", "durationMs": 11.676079, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.751265, "db.connection": "reader", "db.lock_wait_ms": 1.713}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4577bac03421bc07b5dd3b8e9f94123b", "spanId": "5ecb1c2ef8ef0a3e", "parentSpanId": "d407afaccb308d02", "startTimeUnixNano": "1796073244212723031", "endTimeUnixNano": "1796073244224452038", "durationMs": 11.729007, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4577bac03421bc07b5dd3b8e9f94123b", "spanId": "d407afaccb308d02", "parentSpanId": "2708258a0c7f0e32", "startTimeUnixNano": "1796073244212671405", "endTimeUnixNano": "1796073244224467116", "durationMs": 11.795711, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4577bac03421bc07b5dd3b8e9f94123b", "spanId": "2708258a0c7f0e32", "startTimeUnixNano": "1796073244212648853", "endTimeUnixNano": "1796073244224481132", "durationMs": 11.832279, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "04d856ac652fb9958fbb26a3a19223d0", "spanId": "839dde815646dfa5", "parentSpanId": "cf180e4ea2a9f943", "startTimeUnixNano": "1796073246173694573", "endTimeUnixNano": "1796073246174051715", "durationMs": 0.357142, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "04d856ac652fb9958fbb26a3a19223d0", "spanId": "f9a0baf23bbc190c", "parentSpanId": "af7f90c933cdd44c", "startTimeUnixNano": "1796073246174113599", "endTimeUnixNano": "1796073246175123150", "durationMs": 1.009551, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008857}}
{"type": "effect-span", "name": "sqlite", "traceId": "04d856ac652fb9958fbb26a3a19223d0", "spanId": "1adc5c2e8ddaceab", "parentSpanId": "af7f90c933cdd44c", "startTimeUnixNano": "1796073246175239787", "endTimeUnixNano": "1796073246176058073", "durationMs": 0.818286, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015689}}
{"type": "effect-span", "name": "sqlite", "traceId": "04d856ac652fb9958fbb26a3a19223d0", "spanId": "50521858e44da49e", "parentSpanId": "af7f90c933cdd44c", "startTimeUnixNano": "1796073246176081817", "endTimeUnixNano": "1796073246177195501", "durationMs": 1.113684, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011061}}
{"type": "effect-span", "name": "sqlite", "traceId": "04d856ac652fb9958fbb26a3a19223d0", "spanId": "8266ede3b8e24903", "parentSpanId": "af7f90c933cdd44c", "startTimeUnixNano": "1796073246186679579", "endTimeUnixNano": "1796073246190634920", "durationMs": 3.955341, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016291}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "04d856ac652fb9958fbb26a3a19223d0", "spanId": "af7f90c933cdd44c", "parentSpanId": "cf180e4ea2a9f943", "startTimeUnixNano": "1796073246174103400", "endTimeUnixNano": "1796073246190901284", "durationMs": 16.797884, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "04d856ac652fb9958fbb26a3a19223d0", "spanId": "63c3f12916a5eee4", "parentSpanId": "cf180e4ea2a9f943", "startTimeUnixNano": "1796073246190928144", "endTimeUnixNano": "1796073246191603616", "durationMs": 0.675472, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "04d856ac652fb9958fbb26a3a19223d0", "spanId": "cf180e4ea2a9f943", "parentSpanId": "2297c8a86a9a53c4", "startTimeUnixNano": "1796073246171290647", "endTimeUnixNano": "1796073246191643780", "durationMs": 20.353133, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.397955, "db.connection": "reader", "db.lock_wait_ms": 2.35}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "04d856ac652fb9958fbb26a3a19223d0", "spanId": "2297c8a86a9a53c4", "parentSpanId": "2ebecc354f1b1074", "startTimeUnixNano": "1796073246171269518", "endTimeUnixNano": "1796073246191670039", "durationMs": 20.400521, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "04d856ac652fb9958fbb26a3a19223d0", "spanId": "2ebecc354f1b1074", "parentSpanId": "c4418fd7e9073610", "startTimeUnixNano": "1796073246171210779", "endTimeUnixNano": "1796073246191680689", "durationMs": 20.46991, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "04d856ac652fb9958fbb26a3a19223d0", "spanId": "c4418fd7e9073610", "startTimeUnixNano": "1796073246171188007", "endTimeUnixNano": "1796073246191696498", "durationMs": 20.508491, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "57fcb1ae5deecf64265e6d3f4cb44108", "spanId": "1740190c6c83b236", "parentSpanId": "36ba45066650a4b2", "startTimeUnixNano": "1796073246520756194", "endTimeUnixNano": "1796073246521206378", "durationMs": 0.450184, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "57fcb1ae5deecf64265e6d3f4cb44108", "spanId": "dac6f1ca43f09c06", "parentSpanId": "26517a94a1d361e8", "startTimeUnixNano": "1796073246521270286", "endTimeUnixNano": "1796073246521480937", "durationMs": 0.210651, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009067}}
{"type": "effect-span", "name": "sqlite", "traceId": "57fcb1ae5deecf64265e6d3f4cb44108", "spanId": "2a0635e9810e057c", "parentSpanId": "26517a94a1d361e8", "startTimeUnixNano": "1796073246521575262", "endTimeUnixNano": "1796073246522505897", "durationMs": 0.930635, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012102}}
{"type": "effect-span", "name": "sqlite", "traceId": "57fcb1ae5deecf64265e6d3f4cb44108", "spanId": "865262893b9bccc2", "parentSpanId": "26517a94a1d361e8", "startTimeUnixNano": "1796073246522529370", "endTimeUnixNano": "1796073246524171984", "durationMs": 1.642614, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009658}}
{"type": "effect-span", "name": "sqlite", "traceId": "57fcb1ae5deecf64265e6d3f4cb44108", "spanId": "63678b64a2992b71", "parentSpanId": "26517a94a1d361e8", "startTimeUnixNano": "1796073246528227281", "endTimeUnixNano": "1796073246530322153", "durationMs": 2.094872, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013414}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "57fcb1ae5deecf64265e6d3f4cb44108", "spanId": "26517a94a1d361e8", "parentSpanId": "36ba45066650a4b2", "startTimeUnixNano": "1796073246521261049", "endTimeUnixNano": "1796073246530538695", "durationMs": 9.277646, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "57fcb1ae5deecf64265e6d3f4cb44108", "spanId": "e3f6995d1067382f", "parentSpanId": "36ba45066650a4b2", "startTimeUnixNano": "1796073246530555516", "endTimeUnixNano": "1796073246531248440", "durationMs": 0.692924, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "57fcb1ae5deecf64265e6d3f4cb44108", "spanId": "36ba45066650a4b2", "parentSpanId": "716812a229448e7f", "startTimeUnixNano": "1796073246518307495", "endTimeUnixNano": "1796073246531283816", "durationMs": 12.976321, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.443649, "db.connection": "reader", "db.lock_wait_ms": 2.369}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "57fcb1ae5deecf64265e6d3f4cb44108", "spanId": "716812a229448e7f", "parentSpanId": "9e7b56f05d5d1de9", "startTimeUnixNano": "1796073246518284833", "endTimeUnixNano": "1796073246531313761", "durationMs": 13.028928, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "57fcb1ae5deecf64265e6d3f4cb44108", "spanId": "9e7b56f05d5d1de9", "parentSpanId": "78fc803437e950ac", "startTimeUnixNano": "1796073246518219823", "endTimeUnixNano": "1796073246531322397", "durationMs": 13.102574, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "57fcb1ae5deecf64265e6d3f4cb44108", "spanId": "78fc803437e950ac", "startTimeUnixNano": "1796073246518191580", "endTimeUnixNano": "1796073246531335882", "durationMs": 13.144302, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ed44a7f1b94e4320a6241754162681a5", "spanId": "8671cd5d379188fd", "parentSpanId": "7533c844daa2940d", "startTimeUnixNano": "1796073248447273873", "endTimeUnixNano": "1796073248448976099", "durationMs": 1.702226, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ed44a7f1b94e4320a6241754162681a5", "spanId": "37fffeb29cf99c17", "parentSpanId": "3ede45e09f29603c", "startTimeUnixNano": "1796073248449053803", "endTimeUnixNano": "1796073248449273730", "durationMs": 0.219927, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007794}}
{"type": "effect-span", "name": "sqlite", "traceId": "ed44a7f1b94e4320a6241754162681a5", "spanId": "6a8e7012e6a0f6ca", "parentSpanId": "3ede45e09f29603c", "startTimeUnixNano": "1796073248449378154", "endTimeUnixNano": "1796073248450604397", "durationMs": 1.226243, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019917}}
{"type": "effect-span", "name": "sqlite", "traceId": "ed44a7f1b94e4320a6241754162681a5", "spanId": "6e3d54a5fb15033a", "parentSpanId": "3ede45e09f29603c", "startTimeUnixNano": "1796073248450626287", "endTimeUnixNano": "1796073248451791888", "durationMs": 1.165601, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009498}}
{"type": "effect-span", "name": "sqlite", "traceId": "ed44a7f1b94e4320a6241754162681a5", "spanId": "ae2b229a27639b0c", "parentSpanId": "3ede45e09f29603c", "startTimeUnixNano": "1796073248456497139", "endTimeUnixNano": "1796073248459304994", "durationMs": 2.807855, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012363}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ed44a7f1b94e4320a6241754162681a5", "spanId": "3ede45e09f29603c", "parentSpanId": "7533c844daa2940d", "startTimeUnixNano": "1796073248449038334", "endTimeUnixNano": "1796073248459624886", "durationMs": 10.586552, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ed44a7f1b94e4320a6241754162681a5", "spanId": "d7c43016b0365575", "parentSpanId": "7533c844daa2940d", "startTimeUnixNano": "1796073248459658018", "endTimeUnixNano": "1796073248459896270", "durationMs": 0.238252, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ed44a7f1b94e4320a6241754162681a5", "spanId": "7533c844daa2940d", "parentSpanId": "cbfb325da32fe4ee", "startTimeUnixNano": "1796073248444011987", "endTimeUnixNano": "1796073248459924983", "durationMs": 15.912996, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.253371, "db.connection": "reader", "db.lock_wait_ms": 3.21}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ed44a7f1b94e4320a6241754162681a5", "spanId": "cbfb325da32fe4ee", "parentSpanId": "c51ca7ae0f627643", "startTimeUnixNano": "1796073248444000396", "endTimeUnixNano": "1796073248459947164", "durationMs": 15.946768, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ed44a7f1b94e4320a6241754162681a5", "spanId": "c51ca7ae0f627643", "parentSpanId": "5df047ddc3d000d6", "startTimeUnixNano": "1796073248443953890", "endTimeUnixNano": "1796073248459960358", "durationMs": 16.006468, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ed44a7f1b94e4320a6241754162681a5", "spanId": "5df047ddc3d000d6", "startTimeUnixNano": "1796073248443927481", "endTimeUnixNano": "1796073248459981297", "durationMs": 16.053816, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0be7a3f0a0290cde37941b3858ba8f7f", "spanId": "72857a70b3114bc1", "parentSpanId": "c1869f8e734a9847", "startTimeUnixNano": "1796073248889522605", "endTimeUnixNano": "1796073248890223604", "durationMs": 0.700999, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0be7a3f0a0290cde37941b3858ba8f7f", "spanId": "9c8acce93c9f72c5", "parentSpanId": "b2827a74c4220c01", "startTimeUnixNano": "1796073248890323138", "endTimeUnixNano": "1796073248891533482", "durationMs": 1.210344, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009247}}
{"type": "effect-span", "name": "sqlite", "traceId": "0be7a3f0a0290cde37941b3858ba8f7f", "spanId": "ef3b11dd3b4b9b37", "parentSpanId": "b2827a74c4220c01", "startTimeUnixNano": "1796073248891656680", "endTimeUnixNano": "1796073248895301616", "durationMs": 3.644936, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01632}}
{"type": "effect-span", "name": "sqlite", "traceId": "0be7a3f0a0290cde37941b3858ba8f7f", "spanId": "7299acf52b0c9a9e", "parentSpanId": "b2827a74c4220c01", "startTimeUnixNano": "1796073248895345688", "endTimeUnixNano": "1796073248897181471", "durationMs": 1.835783, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.020508}}
{"type": "effect-span", "name": "sqlite", "traceId": "0be7a3f0a0290cde37941b3858ba8f7f", "spanId": "f86bd3c9bc580f0d", "parentSpanId": "b2827a74c4220c01", "startTimeUnixNano": "1796073248902499798", "endTimeUnixNano": "1796073248915585934", "durationMs": 13.086136, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018214}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0be7a3f0a0290cde37941b3858ba8f7f", "spanId": "b2827a74c4220c01", "parentSpanId": "c1869f8e734a9847", "startTimeUnixNano": "1796073248890311166", "endTimeUnixNano": "1796073248915902140", "durationMs": 25.590974, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0be7a3f0a0290cde37941b3858ba8f7f", "spanId": "46a03d2756aa3df7", "parentSpanId": "c1869f8e734a9847", "startTimeUnixNano": "1796073248915932657", "endTimeUnixNano": "1796073248917791592", "durationMs": 1.858935, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0be7a3f0a0290cde37941b3858ba8f7f", "spanId": "c1869f8e734a9847", "parentSpanId": "d130f597a9b115cd", "startTimeUnixNano": "1796073248886936892", "endTimeUnixNano": "1796073248917832588", "durationMs": 30.895696, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.577678, "db.connection": "reader", "db.lock_wait_ms": 2.518}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0be7a3f0a0290cde37941b3858ba8f7f", "spanId": "d130f597a9b115cd", "parentSpanId": "b420db5646070759", "startTimeUnixNano": "1796073248886923627", "endTimeUnixNano": "1796073248917871981", "durationMs": 30.948354, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0be7a3f0a0290cde37941b3858ba8f7f", "spanId": "b420db5646070759", "parentSpanId": "d86589fddc2cf106", "startTimeUnixNano": "1796073248886882762", "endTimeUnixNano": "1796073248917884484", "durationMs": 31.001722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0be7a3f0a0290cde37941b3858ba8f7f", "spanId": "d86589fddc2cf106", "startTimeUnixNano": "1796073248886858897", "endTimeUnixNano": "1796073248917903079", "durationMs": 31.044182, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "728050a7fcb79a89202cd8ec5b00c48f", "spanId": "3f89787fb1959181", "parentSpanId": "da3726726086338d", "startTimeUnixNano": "1796073251193975611", "endTimeUnixNano": "1796073251195595554", "durationMs": 1.619943, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "728050a7fcb79a89202cd8ec5b00c48f", "spanId": "b3f86a00d15e71cf", "parentSpanId": "aed5781062ea4247", "startTimeUnixNano": "1796073251195680862", "endTimeUnixNano": "1796073251196137258", "durationMs": 0.456396, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007574}}
{"type": "effect-span", "name": "sqlite", "traceId": "728050a7fcb79a89202cd8ec5b00c48f", "spanId": "ce4d6432d2ea4daf", "parentSpanId": "aed5781062ea4247", "startTimeUnixNano": "1796073251196293418", "endTimeUnixNano": "1796073251197301817", "durationMs": 1.008399, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.022231}}
{"type": "effect-span", "name": "sqlite", "traceId": "728050a7fcb79a89202cd8ec5b00c48f", "spanId": "9c4d47fbefb82311", "parentSpanId": "aed5781062ea4247", "startTimeUnixNano": "1796073251197332985", "endTimeUnixNano": "1796073251198481013", "durationMs": 1.148028, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013184}}
{"type": "effect-span", "name": "sqlite", "traceId": "728050a7fcb79a89202cd8ec5b00c48f", "spanId": "892f3f15a7ab0a03", "parentSpanId": "aed5781062ea4247", "startTimeUnixNano": "1796073251207093097", "endTimeUnixNano": "1796073251211127265", "durationMs": 4.034168, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018434}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "728050a7fcb79a89202cd8ec5b00c48f", "spanId": "aed5781062ea4247", "parentSpanId": "da3726726086338d", "startTimeUnixNano": "1796073251195670954", "endTimeUnixNano": "1796073251211467856", "durationMs": 15.796902, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "728050a7fcb79a89202cd8ec5b00c48f", "spanId": "c1de1fd8aa2ac1c8", "parentSpanId": "da3726726086338d", "startTimeUnixNano": "1796073251211509724", "endTimeUnixNano": "1796073251212341987", "durationMs": 0.832263, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "728050a7fcb79a89202cd8ec5b00c48f", "spanId": "da3726726086338d", "parentSpanId": "72de705482e4969d", "startTimeUnixNano": "1796073251189303611", "endTimeUnixNano": "1796073251212386259", "durationMs": 23.082648, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.657593, "db.connection": "reader", "db.lock_wait_ms": 4.56}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "728050a7fcb79a89202cd8ec5b00c48f", "spanId": "72de705482e4969d", "parentSpanId": "38cd2e145e8fdafd", "startTimeUnixNano": "1796073251189285587", "endTimeUnixNano": "1796073251212418068", "durationMs": 23.132481, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "728050a7fcb79a89202cd8ec5b00c48f", "spanId": "38cd2e145e8fdafd", "parentSpanId": "49c7b1ec3027b85d", "startTimeUnixNano": "1796073251189223111", "endTimeUnixNano": "1796073251212428117", "durationMs": 23.205006, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "728050a7fcb79a89202cd8ec5b00c48f", "spanId": "49c7b1ec3027b85d", "startTimeUnixNano": "1796073251189193627", "endTimeUnixNano": "1796073251212474112", "durationMs": 23.280485, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3bd4714ec8b36c0f069ae32b6266c3ba", "spanId": "586ef9b50884b16d", "parentSpanId": "033636826ed3eaf6", "startTimeUnixNano": "1796073251574085258", "endTimeUnixNano": "1796073251574512780", "durationMs": 0.427522, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3bd4714ec8b36c0f069ae32b6266c3ba", "spanId": "e0af874c0ae39a32", "parentSpanId": "7788c02dfe1e18c4", "startTimeUnixNano": "1796073251574652780", "endTimeUnixNano": "1796073251576867205", "durationMs": 2.214425, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012573}}
{"type": "effect-span", "name": "sqlite", "traceId": "3bd4714ec8b36c0f069ae32b6266c3ba", "spanId": "60893eeffb8023ee", "parentSpanId": "7788c02dfe1e18c4", "startTimeUnixNano": "1796073251577166059", "endTimeUnixNano": "1796073251578764522", "durationMs": 1.598463, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018364}}
{"type": "effect-span", "name": "sqlite", "traceId": "3bd4714ec8b36c0f069ae32b6266c3ba", "spanId": "3e8cc151d4dd390d", "parentSpanId": "7788c02dfe1e18c4", "startTimeUnixNano": "1796073251578811038", "endTimeUnixNano": "1796073251580046578", "durationMs": 1.23554, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019226}}
{"type": "effect-span", "name": "sqlite", "traceId": "3bd4714ec8b36c0f069ae32b6266c3ba", "spanId": "f0210b11b25ce874", "parentSpanId": "7788c02dfe1e18c4", "startTimeUnixNano": "1796073251587046304", "endTimeUnixNano": "1796073251589404595", "durationMs": 2.358291, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.064659}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3bd4714ec8b36c0f069ae32b6266c3ba", "spanId": "7788c02dfe1e18c4", "parentSpanId": "033636826ed3eaf6", "startTimeUnixNano": "1796073251574623966", "endTimeUnixNano": "1796073251589781995", "durationMs": 15.158029, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3bd4714ec8b36c0f069ae32b6266c3ba", "spanId": "1d7fef2877d69fd8", "parentSpanId": "033636826ed3eaf6", "startTimeUnixNano": "1796073251589829433", "endTimeUnixNano": "1796073251593344048", "durationMs": 3.514615, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3bd4714ec8b36c0f069ae32b6266c3ba", "spanId": "033636826ed3eaf6", "parentSpanId": "c91233690f77d628", "startTimeUnixNano": "1796073251568516305", "endTimeUnixNano": "1796073251593402386", "durationMs": 24.886081, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.55144, "db.connection": "reader", "db.lock_wait_ms": 5.338}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3bd4714ec8b36c0f069ae32b6266c3ba", "spanId": "c91233690f77d628", "parentSpanId": "cb2d0d9eae311a8c", "startTimeUnixNano": "1796073251568429514", "endTimeUnixNano": "1796073251593455344", "durationMs": 25.02583, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3bd4714ec8b36c0f069ae32b6266c3ba", "spanId": "cb2d0d9eae311a8c", "parentSpanId": "a9f83fce7b1dcc4d", "startTimeUnixNano": "1796073251568314210", "endTimeUnixNano": "1796073251593465673", "durationMs": 25.151463, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3bd4714ec8b36c0f069ae32b6266c3ba", "spanId": "a9f83fce7b1dcc4d", "startTimeUnixNano": "1796073251568254369", "endTimeUnixNano": "1796073251593480320", "durationMs": 25.225951, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5094b644fa779be1aac9afec5f1066e3", "spanId": "139babead8c5752f", "parentSpanId": "cd678528be8c8eb4", "startTimeUnixNano": "1796073253634035787", "endTimeUnixNano": "1796073253634393680", "durationMs": 0.357893, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5094b644fa779be1aac9afec5f1066e3", "spanId": "63dc6696997c4355", "parentSpanId": "58c28514f803cf6f", "startTimeUnixNano": "1796073253634526296", "endTimeUnixNano": "1796073253635751507", "durationMs": 1.225211, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01623}}
{"type": "effect-span", "name": "sqlite", "traceId": "5094b644fa779be1aac9afec5f1066e3", "spanId": "5cd202afea842f2f", "parentSpanId": "58c28514f803cf6f", "startTimeUnixNano": "1796073253635881749", "endTimeUnixNano": "1796073253638640243", "durationMs": 2.758494, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.022762}}
{"type": "effect-span", "name": "sqlite", "traceId": "5094b644fa779be1aac9afec5f1066e3", "spanId": "1ee1946e823c4524", "parentSpanId": "58c28514f803cf6f", "startTimeUnixNano": "1796073253638667203", "endTimeUnixNano": "1796073253641336340", "durationMs": 2.669137, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015067}}
{"type": "effect-span", "name": "sqlite", "traceId": "5094b644fa779be1aac9afec5f1066e3", "spanId": "af710a8466670268", "parentSpanId": "58c28514f803cf6f", "startTimeUnixNano": "1796073253644327526", "endTimeUnixNano": "1796073253646676059", "durationMs": 2.348533, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021279}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5094b644fa779be1aac9afec5f1066e3", "spanId": "58c28514f803cf6f", "parentSpanId": "cd678528be8c8eb4", "startTimeUnixNano": "1796073253634511448", "endTimeUnixNano": "1796073253646903100", "durationMs": 12.391652, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5094b644fa779be1aac9afec5f1066e3", "spanId": "022110fe53728dc8", "parentSpanId": "cd678528be8c8eb4", "startTimeUnixNano": "1796073253646932455", "endTimeUnixNano": "1796073253647333208", "durationMs": 0.400753, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5094b644fa779be1aac9afec5f1066e3", "spanId": "cd678528be8c8eb4", "parentSpanId": "d763348628ad8b5e", "startTimeUnixNano": "1796073253630640102", "endTimeUnixNano": "1796073253647364105", "durationMs": 16.724003, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.389994, "db.connection": "reader", "db.lock_wait_ms": 3.345}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5094b644fa779be1aac9afec5f1066e3", "spanId": "d763348628ad8b5e", "parentSpanId": "681297982873ea41", "startTimeUnixNano": "1796073253630629402", "endTimeUnixNano": "1796073253647381287", "durationMs": 16.751885, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5094b644fa779be1aac9afec5f1066e3", "spanId": "681297982873ea41", "parentSpanId": "1ca8e1d18adbe417", "startTimeUnixNano": "1796073253630566135", "endTimeUnixNano": "1796073253647389031", "durationMs": 16.822896, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5094b644fa779be1aac9afec5f1066e3", "spanId": "1ca8e1d18adbe417", "startTimeUnixNano": "1796073253630541219", "endTimeUnixNano": "1796073253647401735", "durationMs": 16.860516, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ab6792ae1b98cb16f8a2f4d053ac5f2f", "spanId": "332440a51f7eee9f", "parentSpanId": "da41fd29b90d15db", "startTimeUnixNano": "1796073254043934500", "endTimeUnixNano": "1796073254044346874", "durationMs": 0.412374, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab6792ae1b98cb16f8a2f4d053ac5f2f", "spanId": "d7d0bbb96e6fde19", "parentSpanId": "619f5a346ccbe7ac", "startTimeUnixNano": "1796073254044491853", "endTimeUnixNano": "1796073254045159751", "durationMs": 0.667898, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.020578}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab6792ae1b98cb16f8a2f4d053ac5f2f", "spanId": "dccf20b01c9acbab", "parentSpanId": "619f5a346ccbe7ac", "startTimeUnixNano": "1796073254045295233", "endTimeUnixNano": "1796073254058837578", "durationMs": 13.542345, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01616}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab6792ae1b98cb16f8a2f4d053ac5f2f", "spanId": "4a6d7ca5c6975290", "parentSpanId": "619f5a346ccbe7ac", "startTimeUnixNano": "1796073254058888322", "endTimeUnixNano": "1796073254061365304", "durationMs": 2.476982, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.031378}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab6792ae1b98cb16f8a2f4d053ac5f2f", "spanId": "7e72824fb5fa11ee", "parentSpanId": "619f5a346ccbe7ac", "startTimeUnixNano": "1796073254067637111", "endTimeUnixNano": "1796073254069616491", "durationMs": 1.97938, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.030366}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ab6792ae1b98cb16f8a2f4d053ac5f2f", "spanId": "619f5a346ccbe7ac", "parentSpanId": "da41fd29b90d15db", "startTimeUnixNano": "1796073254044471385", "endTimeUnixNano": "1796073254069905737", "durationMs": 25.434352, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ab6792ae1b98cb16f8a2f4d053ac5f2f", "spanId": "4549964da402930d", "parentSpanId": "da41fd29b90d15db", "startTimeUnixNano": "1796073254069932737", "endTimeUnixNano": "1796073254071216316", "durationMs": 1.283579, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ab6792ae1b98cb16f8a2f4d053ac5f2f", "spanId": "da41fd29b90d15db", "parentSpanId": "92a7cd0500914717", "startTimeUnixNano": "1796073254034632956", "endTimeUnixNano": "1796073254071252464", "durationMs": 36.619508, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 9.293178, "db.connection": "reader", "db.lock_wait_ms": 9.125}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ab6792ae1b98cb16f8a2f4d053ac5f2f", "spanId": "92a7cd0500914717", "parentSpanId": "4676e1f9c4d5cb65", "startTimeUnixNano": "1796073254034599995", "endTimeUnixNano": "1796073254071285655", "durationMs": 36.68566, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ab6792ae1b98cb16f8a2f4d053ac5f2f", "spanId": "4676e1f9c4d5cb65", "parentSpanId": "5f297d9b21ee1eaa", "startTimeUnixNano": "1796073254034513034", "endTimeUnixNano": "1796073254071297868", "durationMs": 36.784834, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ab6792ae1b98cb16f8a2f4d053ac5f2f", "spanId": "5f297d9b21ee1eaa", "startTimeUnixNano": "1796073254034481105", "endTimeUnixNano": "1796073254071312505", "durationMs": 36.8314, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "02c0d12fe67c2eeb14f2cb9dbbe72d21", "spanId": "a2564e5ec12bfa47", "parentSpanId": "f594292e80b0659a", "startTimeUnixNano": "1796073256330284121", "endTimeUnixNano": "1796073256332164668", "durationMs": 1.880547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "02c0d12fe67c2eeb14f2cb9dbbe72d21", "spanId": "01b77ca0b27fd340", "parentSpanId": "fd92dfaeaf46d6e5", "startTimeUnixNano": "1796073256332276535", "endTimeUnixNano": "1796073256334194762", "durationMs": 1.918227, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009858}}
{"type": "effect-span", "name": "sqlite", "traceId": "02c0d12fe67c2eeb14f2cb9dbbe72d21", "spanId": "795ed370177b0bb1", "parentSpanId": "fd92dfaeaf46d6e5", "startTimeUnixNano": "1796073256334474069", "endTimeUnixNano": "1796073256335621236", "durationMs": 1.147167, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.027321}}
{"type": "effect-span", "name": "sqlite", "traceId": "02c0d12fe67c2eeb14f2cb9dbbe72d21", "spanId": "6a3cbd7381d06ad8", "parentSpanId": "fd92dfaeaf46d6e5", "startTimeUnixNano": "1796073256335654508", "endTimeUnixNano": "1796073256336979905", "durationMs": 1.325397, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018995}}
{"type": "effect-span", "name": "sqlite", "traceId": "02c0d12fe67c2eeb14f2cb9dbbe72d21", "spanId": "3e3243ab57e2515c", "parentSpanId": "fd92dfaeaf46d6e5", "startTimeUnixNano": "1796073256342236090", "endTimeUnixNano": "1796073256344577852", "durationMs": 2.341762, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.031519}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "02c0d12fe67c2eeb14f2cb9dbbe72d21", "spanId": "fd92dfaeaf46d6e5", "parentSpanId": "f594292e80b0659a", "startTimeUnixNano": "1796073256332259273", "endTimeUnixNano": "1796073256344860916", "durationMs": 12.601643, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "02c0d12fe67c2eeb14f2cb9dbbe72d21", "spanId": "3f0999d60f2b5145", "parentSpanId": "f594292e80b0659a", "startTimeUnixNano": "1796073256344898155", "endTimeUnixNano": "1796073256345427326", "durationMs": 0.529171, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "02c0d12fe67c2eeb14f2cb9dbbe72d21", "spanId": "f594292e80b0659a", "parentSpanId": "b225dc90be6124cf", "startTimeUnixNano": "1796073256326319992", "endTimeUnixNano": "1796073256345487999", "durationMs": 19.168007, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.946366, "db.connection": "reader", "db.lock_wait_ms": 3.831}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "02c0d12fe67c2eeb14f2cb9dbbe72d21", "spanId": "b225dc90be6124cf", "parentSpanId": "61b1717a30388912", "startTimeUnixNano": "1796073256326290968", "endTimeUnixNano": "1796073256345535878", "durationMs": 19.24491, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "02c0d12fe67c2eeb14f2cb9dbbe72d21", "spanId": "61b1717a30388912", "parentSpanId": "c7e0bd5ba24b587d", "startTimeUnixNano": "1796073256326194399", "endTimeUnixNano": "1796073256345548611", "durationMs": 19.354212, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "02c0d12fe67c2eeb14f2cb9dbbe72d21", "spanId": "c7e0bd5ba24b587d", "startTimeUnixNano": "1796073256326155837", "endTimeUnixNano": "1796073256345563719", "durationMs": 19.407882, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5fef3153dedc3d4c5c0235cad1d90866", "spanId": "a2a99bf65ee79dc2", "parentSpanId": "6cdca4f1642bb29d", "startTimeUnixNano": "1796073256768598050", "endTimeUnixNano": "1796073256770377919", "durationMs": 1.779869, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5fef3153dedc3d4c5c0235cad1d90866", "spanId": "279d1cf45583045f", "parentSpanId": "53e9659001379e5c", "startTimeUnixNano": "1796073256770461795", "endTimeUnixNano": "1796073256770937777", "durationMs": 0.475982, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007424}}
{"type": "effect-span", "name": "sqlite", "traceId": "5fef3153dedc3d4c5c0235cad1d90866", "spanId": "eaa63a8e9a7ef436", "parentSpanId": "53e9659001379e5c", "startTimeUnixNano": "1796073256771118823", "endTimeUnixNano": "1796073256776196717", "durationMs": 5.077894, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019747}}
{"type": "effect-span", "name": "sqlite", "traceId": "5fef3153dedc3d4c5c0235cad1d90866", "spanId": "325fbc04762c8eb1", "parentSpanId": "53e9659001379e5c", "startTimeUnixNano": "1796073256776230280", "endTimeUnixNano": "1796073256777118707", "durationMs": 0.888427, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.02163}}
{"type": "effect-span", "name": "sqlite", "traceId": "5fef3153dedc3d4c5c0235cad1d90866", "spanId": "60acef086b49a86e", "parentSpanId": "53e9659001379e5c", "startTimeUnixNano": "1796073256781581100", "endTimeUnixNano": "1796073256783300197", "durationMs": 1.719097, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.073706}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5fef3153dedc3d4c5c0235cad1d90866", "spanId": "53e9659001379e5c", "parentSpanId": "6cdca4f1642bb29d", "startTimeUnixNano": "1796073256770450274", "endTimeUnixNano": "1796073256783631080", "durationMs": 13.180806, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5fef3153dedc3d4c5c0235cad1d90866", "spanId": "8f6647e34ecfea93", "parentSpanId": "6cdca4f1642bb29d", "startTimeUnixNano": "1796073256783665975", "endTimeUnixNano": "1796073256784807501", "durationMs": 1.141526, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5fef3153dedc3d4c5c0235cad1d90866", "spanId": "6cdca4f1642bb29d", "parentSpanId": "bff50950d5d43a0c", "startTimeUnixNano": "1796073256765683727", "endTimeUnixNano": "1796073256784854338", "durationMs": 19.170611, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.905386, "db.connection": "reader", "db.lock_wait_ms": 2.815}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5fef3153dedc3d4c5c0235cad1d90866", "spanId": "bff50950d5d43a0c", "parentSpanId": "6f894805a7a5ec2c", "startTimeUnixNano": "1796073256765659251", "endTimeUnixNano": "1796073256784898700", "durationMs": 19.239449, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5fef3153dedc3d4c5c0235cad1d90866", "spanId": "6f894805a7a5ec2c", "parentSpanId": "639ec54c1b1a6fe8", "startTimeUnixNano": "1796073256765589111", "endTimeUnixNano": "1796073256784909450", "durationMs": 19.320339, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5fef3153dedc3d4c5c0235cad1d90866", "spanId": "639ec54c1b1a6fe8", "startTimeUnixNano": "1796073256765549838", "endTimeUnixNano": "1796073256784927744", "durationMs": 19.377906, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fa60560ba24a2fe044d7c949b0fb3816", "spanId": "7d0b8fe40fd84c1c", "parentSpanId": "1410963fffca97f3", "startTimeUnixNano": "1796073259154956988", "endTimeUnixNano": "1796073259156489710", "durationMs": 1.532722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa60560ba24a2fe044d7c949b0fb3816", "spanId": "d9d6a77bdf1d1c74", "parentSpanId": "18e835773475b83c", "startTimeUnixNano": "1796073259156619621", "endTimeUnixNano": "1796073259159143971", "durationMs": 2.52435, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014056}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa60560ba24a2fe044d7c949b0fb3816", "spanId": "ddcc8106ef21177f", "parentSpanId": "18e835773475b83c", "startTimeUnixNano": "1796073259159383986", "endTimeUnixNano": "1796073259160628634", "durationMs": 1.244648, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019787}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa60560ba24a2fe044d7c949b0fb3816", "spanId": "e07b058ecb205fbf", "parentSpanId": "18e835773475b83c", "startTimeUnixNano": "1796073259160691540", "endTimeUnixNano": "1796073259162158901", "durationMs": 1.467361, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018915}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa60560ba24a2fe044d7c949b0fb3816", "spanId": "8459ea4c7acc788b", "parentSpanId": "18e835773475b83c", "startTimeUnixNano": "1796073259169105040", "endTimeUnixNano": "1796073259172632781", "durationMs": 3.527741, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.026299}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fa60560ba24a2fe044d7c949b0fb3816", "spanId": "18e835773475b83c", "parentSpanId": "1410963fffca97f3", "startTimeUnixNano": "1796073259156601657", "endTimeUnixNano": "1796073259172921697", "durationMs": 16.32004, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fa60560ba24a2fe044d7c949b0fb3816", "spanId": "4ea5c1a8663f2362", "parentSpanId": "1410963fffca97f3", "startTimeUnixNano": "1796073259172952183", "endTimeUnixNano": "1796073259174117223", "durationMs": 1.16504, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fa60560ba24a2fe044d7c949b0fb3816", "spanId": "1410963fffca97f3", "parentSpanId": "35c806f82a0af9d9", "startTimeUnixNano": "1796073259149188883", "endTimeUnixNano": "1796073259174152940", "durationMs": 24.964057, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.750242, "db.connection": "reader", "db.lock_wait_ms": 5.557}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fa60560ba24a2fe044d7c949b0fb3816", "spanId": "35c806f82a0af9d9", "parentSpanId": "335ed7316e9033d9", "startTimeUnixNano": "1796073259149156954", "endTimeUnixNano": "1796073259174179188", "durationMs": 25.022234, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fa60560ba24a2fe044d7c949b0fb3816", "spanId": "335ed7316e9033d9", "parentSpanId": "57ce102547f2a9d3", "startTimeUnixNano": "1796073259149030249", "endTimeUnixNano": "1796073259174189848", "durationMs": 25.159599, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fa60560ba24a2fe044d7c949b0fb3816", "spanId": "57ce102547f2a9d3", "startTimeUnixNano": "1796073259148970508", "endTimeUnixNano": "1796073259174206008", "durationMs": 25.2355, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "76635db038fe1ab0ad8907c69d2f3a4f", "spanId": "6030a4fdf1728702", "parentSpanId": "782aa6db16e6cc89", "startTimeUnixNano": "1796073259589161126", "endTimeUnixNano": "1796073259589388268", "durationMs": 0.227142, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "76635db038fe1ab0ad8907c69d2f3a4f", "spanId": "83c4cb49602ebaba", "parentSpanId": "29109b8bc6a13b13", "startTimeUnixNano": "1796073259589473085", "endTimeUnixNano": "1796073259593066347", "durationMs": 3.593262, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010429}}
{"type": "effect-span", "name": "sqlite", "traceId": "76635db038fe1ab0ad8907c69d2f3a4f", "spanId": "8513b497f8c6b911", "parentSpanId": "29109b8bc6a13b13", "startTimeUnixNano": "1796073259593193763", "endTimeUnixNano": "1796073259595496823", "durationMs": 2.30306, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013616}}
{"type": "effect-span", "name": "sqlite", "traceId": "76635db038fe1ab0ad8907c69d2f3a4f", "spanId": "9ee1f11521dc5c7e", "parentSpanId": "29109b8bc6a13b13", "startTimeUnixNano": "1796073259595532900", "endTimeUnixNano": "1796073259597385525", "durationMs": 1.852625, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014387}}
{"type": "effect-span", "name": "sqlite", "traceId": "76635db038fe1ab0ad8907c69d2f3a4f", "spanId": "f2d2109677c0f936", "parentSpanId": "29109b8bc6a13b13", "startTimeUnixNano": "1796073259603493180", "endTimeUnixNano": "1796073259607451479", "durationMs": 3.958299, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023323}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "76635db038fe1ab0ad8907c69d2f3a4f", "spanId": "29109b8bc6a13b13", "parentSpanId": "782aa6db16e6cc89", "startTimeUnixNano": "1796073259589461784", "endTimeUnixNano": "1796073259607652622", "durationMs": 18.190838, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "76635db038fe1ab0ad8907c69d2f3a4f", "spanId": "5883591aa81f5152", "parentSpanId": "782aa6db16e6cc89", "startTimeUnixNano": "1796073259607675124", "endTimeUnixNano": "1796073259608063985", "durationMs": 0.388861, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "76635db038fe1ab0ad8907c69d2f3a4f", "spanId": "782aa6db16e6cc89", "parentSpanId": "feac45020c2b90a0", "startTimeUnixNano": "1796073259586999188", "endTimeUnixNano": "1796073259608092658", "durationMs": 21.09347, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.153232, "db.connection": "reader", "db.lock_wait_ms": 2.099}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "76635db038fe1ab0ad8907c69d2f3a4f", "spanId": "feac45020c2b90a0", "parentSpanId": "fdd28a1c197aea75", "startTimeUnixNano": "1796073259586987005", "endTimeUnixNano": "1796073259608115751", "durationMs": 21.128746, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "76635db038fe1ab0ad8907c69d2f3a4f", "spanId": "fdd28a1c197aea75", "parentSpanId": "f6464b8c14aaa7af", "startTimeUnixNano": "1796073259586925141", "endTimeUnixNano": "1796073259608125819", "durationMs": 21.200678, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "76635db038fe1ab0ad8907c69d2f3a4f", "spanId": "f6464b8c14aaa7af", "startTimeUnixNano": "1796073259586899192", "endTimeUnixNano": "1796073259608138994", "durationMs": 21.239802, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0e2a8ffc757db54150ac53cf15a66847", "spanId": "fb1571e17cac5497", "parentSpanId": "c13495ebd4229419", "startTimeUnixNano": "1796073262055744849", "endTimeUnixNano": "1796073262056226472", "durationMs": 0.481623, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e2a8ffc757db54150ac53cf15a66847", "spanId": "411567665cb07000", "parentSpanId": "68581a40e4de0dec", "startTimeUnixNano": "1796073262056311189", "endTimeUnixNano": "1796073262057613534", "durationMs": 1.302345, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009939}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e2a8ffc757db54150ac53cf15a66847", "spanId": "5bfaeeca0c44ecf9", "parentSpanId": "68581a40e4de0dec", "startTimeUnixNano": "1796073262057746511", "endTimeUnixNano": "1796073262059164470", "durationMs": 1.417959, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015088}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e2a8ffc757db54150ac53cf15a66847", "spanId": "65dd2fbb4f06787a", "parentSpanId": "68581a40e4de0dec", "startTimeUnixNano": "1796073262059191410", "endTimeUnixNano": "1796073262061303446", "durationMs": 2.112036, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013124}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e2a8ffc757db54150ac53cf15a66847", "spanId": "80be70c1cafa7ca6", "parentSpanId": "68581a40e4de0dec", "startTimeUnixNano": "1796073262067197756", "endTimeUnixNano": "1796073262072275291", "durationMs": 5.077535, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023704}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0e2a8ffc757db54150ac53cf15a66847", "spanId": "68581a40e4de0dec", "parentSpanId": "c13495ebd4229419", "startTimeUnixNano": "1796073262056301852", "endTimeUnixNano": "1796073262072520436", "durationMs": 16.218584, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0e2a8ffc757db54150ac53cf15a66847", "spanId": "1d433e19afe8fc7d", "parentSpanId": "c13495ebd4229419", "startTimeUnixNano": "1796073262072550481", "endTimeUnixNano": "1796073262078137371", "durationMs": 5.58689, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0e2a8ffc757db54150ac53cf15a66847", "spanId": "c13495ebd4229419", "parentSpanId": "3eb0b5fbf9dfef20", "startTimeUnixNano": "1796073262051306298", "endTimeUnixNano": "1796073262078195359", "durationMs": 26.889061, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.430195, "db.connection": "reader", "db.lock_wait_ms": 4.349}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0e2a8ffc757db54150ac53cf15a66847", "spanId": "3eb0b5fbf9dfef20", "parentSpanId": "ec4f9e303f0f8711", "startTimeUnixNano": "1796073262051285650", "endTimeUnixNano": "1796073262078239470", "durationMs": 26.95382, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0e2a8ffc757db54150ac53cf15a66847", "spanId": "ec4f9e303f0f8711", "parentSpanId": "2c4ce1d338393669", "startTimeUnixNano": "1796073262051209078", "endTimeUnixNano": "1796073262078256883", "durationMs": 27.047805, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0e2a8ffc757db54150ac53cf15a66847", "spanId": "2c4ce1d338393669", "startTimeUnixNano": "1796073262051150960", "endTimeUnixNano": "1796073262078280927", "durationMs": 27.129967, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3e188f55989561aa3f4545cabfc08ccd", "spanId": "e068f5dabad38399", "parentSpanId": "c778ffc06fcd8760", "startTimeUnixNano": "1796073262494132935", "endTimeUnixNano": "1796073262494878117", "durationMs": 0.745182, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3e188f55989561aa3f4545cabfc08ccd", "spanId": "134afcedfcb0f533", "parentSpanId": "e6845a477097cac6", "startTimeUnixNano": "1796073262494987460", "endTimeUnixNano": "1796073262495163907", "durationMs": 0.176447, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014867}}
{"type": "effect-span", "name": "sqlite", "traceId": "3e188f55989561aa3f4545cabfc08ccd", "spanId": "90bcfd989342fd3f", "parentSpanId": "e6845a477097cac6", "startTimeUnixNano": "1796073262495268441", "endTimeUnixNano": "1796073262496474507", "durationMs": 1.206066, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013244}}
{"type": "effect-span", "name": "sqlite", "traceId": "3e188f55989561aa3f4545cabfc08ccd", "spanId": "48fdbe70ac15a4ab", "parentSpanId": "e6845a477097cac6", "startTimeUnixNano": "1796073262496538175", "endTimeUnixNano": "1796073262497841682", "durationMs": 1.303507, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018935}}
{"type": "effect-span", "name": "sqlite", "traceId": "3e188f55989561aa3f4545cabfc08ccd", "spanId": "761ca8587c795440", "parentSpanId": "e6845a477097cac6", "startTimeUnixNano": "1796073262501462376", "endTimeUnixNano": "1796073262504010441", "durationMs": 2.548065, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020748}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3e188f55989561aa3f4545cabfc08ccd", "spanId": "e6845a477097cac6", "parentSpanId": "c778ffc06fcd8760", "startTimeUnixNano": "1796073262494975658", "endTimeUnixNano": "1796073262504187830", "durationMs": 9.212172, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3e188f55989561aa3f4545cabfc08ccd", "spanId": "b1637b027e0035ee", "parentSpanId": "c778ffc06fcd8760", "startTimeUnixNano": "1796073262504209981", "endTimeUnixNano": "1796073262504807829", "durationMs": 0.597848, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3e188f55989561aa3f4545cabfc08ccd", "spanId": "c778ffc06fcd8760", "parentSpanId": "a0fbf2adc87e9127", "startTimeUnixNano": "1796073262492051556", "endTimeUnixNano": "1796073262504843836", "durationMs": 12.79228, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.0764, "db.connection": "reader", "db.lock_wait_ms": 2.035}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3e188f55989561aa3f4545cabfc08ccd", "spanId": "a0fbf2adc87e9127", "parentSpanId": "8caca6e7a3627fa0", "startTimeUnixNano": "1796073262492042058", "endTimeUnixNano": "1796073262504865476", "durationMs": 12.823418, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3e188f55989561aa3f4545cabfc08ccd", "spanId": "8caca6e7a3627fa0", "parentSpanId": "c75c7f315061a24d", "startTimeUnixNano": "1796073262492011792", "endTimeUnixNano": "1796073262504876387", "durationMs": 12.864595, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3e188f55989561aa3f4545cabfc08ccd", "spanId": "c75c7f315061a24d", "startTimeUnixNano": "1796073262491991915", "endTimeUnixNano": "1796073262504890653", "durationMs": 12.898738, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1263f0c84dec6199656720531fceaa08", "spanId": "35d08690103b2289", "parentSpanId": "fc06286bcd59c10a", "startTimeUnixNano": "1796073264769707252", "endTimeUnixNano": "1796073264771222662", "durationMs": 1.51541, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1263f0c84dec6199656720531fceaa08", "spanId": "9e282c2775fef02c", "parentSpanId": "bbb1567d4db2f5e9", "startTimeUnixNano": "1796073264771356130", "endTimeUnixNano": "1796073264772814023", "durationMs": 1.457893, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011762}}
{"type": "effect-span", "name": "sqlite", "traceId": "1263f0c84dec6199656720531fceaa08", "spanId": "0f5d365b3ec14be1", "parentSpanId": "bbb1567d4db2f5e9", "startTimeUnixNano": "1796073264772978338", "endTimeUnixNano": "1796073264774380258", "durationMs": 1.40192, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.02672}}
{"type": "effect-span", "name": "sqlite", "traceId": "1263f0c84dec6199656720531fceaa08", "spanId": "6ebc3977ea4101c3", "parentSpanId": "bbb1567d4db2f5e9", "startTimeUnixNano": "1796073264774460056", "endTimeUnixNano": "1796073264775772710", "durationMs": 1.312654, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017272}}
{"type": "effect-span", "name": "sqlite", "traceId": "1263f0c84dec6199656720531fceaa08", "spanId": "191d4120e80182d2", "parentSpanId": "bbb1567d4db2f5e9", "startTimeUnixNano": "1796073264781148959", "endTimeUnixNano": "1796073264784646075", "durationMs": 3.497116, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016321}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1263f0c84dec6199656720531fceaa08", "spanId": "bbb1567d4db2f5e9", "parentSpanId": "fc06286bcd59c10a", "startTimeUnixNano": "1796073264771343035", "endTimeUnixNano": "1796073264784897391", "durationMs": 13.554356, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1263f0c84dec6199656720531fceaa08", "spanId": "f83b121526d6eb3f", "parentSpanId": "fc06286bcd59c10a", "startTimeUnixNano": "1796073264784937785", "endTimeUnixNano": "1796073264785166760", "durationMs": 0.228975, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1263f0c84dec6199656720531fceaa08", "spanId": "fc06286bcd59c10a", "parentSpanId": "fb33f69eb12d24cd", "startTimeUnixNano": "1796073264766931835", "endTimeUnixNano": "1796073264785189743", "durationMs": 18.257908, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.76623, "db.connection": "reader", "db.lock_wait_ms": 2.703}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1263f0c84dec6199656720531fceaa08", "spanId": "fb33f69eb12d24cd", "parentSpanId": "ca94025f5d8aab6b", "startTimeUnixNano": "1796073264766921697", "endTimeUnixNano": "1796073264785205903", "durationMs": 18.284206, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1263f0c84dec6199656720531fceaa08", "spanId": "ca94025f5d8aab6b", "parentSpanId": "e1ad0f7d1156fe4f", "startTimeUnixNano": "1796073264766870331", "endTimeUnixNano": "1796073264785215250", "durationMs": 18.344919, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1263f0c84dec6199656720531fceaa08", "spanId": "e1ad0f7d1156fe4f", "startTimeUnixNano": "1796073264766847940", "endTimeUnixNano": "1796073264785226451", "durationMs": 18.378511, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b85185c53494887c2ca2169ee99ee80b", "spanId": "d81f31bbbea10253", "parentSpanId": "a6866202562f6752", "startTimeUnixNano": "1796073265139531849", "endTimeUnixNano": "1796073265140530801", "durationMs": 0.998952, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b85185c53494887c2ca2169ee99ee80b", "spanId": "a4db5a0005277cf0", "parentSpanId": "8281430a278ff83c", "startTimeUnixNano": "1796073265140651285", "endTimeUnixNano": "1796073265141118782", "durationMs": 0.467497, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012753}}
{"type": "effect-span", "name": "sqlite", "traceId": "b85185c53494887c2ca2169ee99ee80b", "spanId": "73c901503a343cf2", "parentSpanId": "8281430a278ff83c", "startTimeUnixNano": "1796073265141264782", "endTimeUnixNano": "1796073265142834473", "durationMs": 1.569691, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016962}}
{"type": "effect-span", "name": "sqlite", "traceId": "b85185c53494887c2ca2169ee99ee80b", "spanId": "174c4f295f5b5ad3", "parentSpanId": "8281430a278ff83c", "startTimeUnixNano": "1796073265142863487", "endTimeUnixNano": "1796073265143972544", "durationMs": 1.109057, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01599}}
{"type": "effect-span", "name": "sqlite", "traceId": "b85185c53494887c2ca2169ee99ee80b", "spanId": "1fc54516d9af5fa1", "parentSpanId": "8281430a278ff83c", "startTimeUnixNano": "1796073265149976378", "endTimeUnixNano": "1796073265152801917", "durationMs": 2.825539, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.050583}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b85185c53494887c2ca2169ee99ee80b", "spanId": "8281430a278ff83c", "parentSpanId": "a6866202562f6752", "startTimeUnixNano": "1796073265140638020", "endTimeUnixNano": "1796073265153052462", "durationMs": 12.414442, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b85185c53494887c2ca2169ee99ee80b", "spanId": "58db3d1b43ac1767", "parentSpanId": "a6866202562f6752", "startTimeUnixNano": "1796073265153074693", "endTimeUnixNano": "1796073265154572100", "durationMs": 1.497407, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b85185c53494887c2ca2169ee99ee80b", "spanId": "a6866202562f6752", "parentSpanId": "125188dcb9ec09cb", "startTimeUnixNano": "1796073265136883447", "endTimeUnixNano": "1796073265154599120", "durationMs": 17.715673, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.637842, "db.connection": "reader", "db.lock_wait_ms": 2.591}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b85185c53494887c2ca2169ee99ee80b", "spanId": "125188dcb9ec09cb", "parentSpanId": "836c47ab0b02bf5f", "startTimeUnixNano": "1796073265136872647", "endTimeUnixNano": "1796073265154623816", "durationMs": 17.751169, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b85185c53494887c2ca2169ee99ee80b", "spanId": "836c47ab0b02bf5f", "parentSpanId": "9fea653fc545b7d0", "startTimeUnixNano": "1796073265136835959", "endTimeUnixNano": "1796073265154633504", "durationMs": 17.797545, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b85185c53494887c2ca2169ee99ee80b", "spanId": "9fea653fc545b7d0", "startTimeUnixNano": "1796073265136816283", "endTimeUnixNano": "1796073265154646638", "durationMs": 17.830355, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1dae3d9b3ebfe7b9ba5ccdb46877ba09", "spanId": "eef4e68d46a3436a", "parentSpanId": "79b49f203ad1e03d", "startTimeUnixNano": "1796073267727476617", "endTimeUnixNano": "1796073267728740751", "durationMs": 1.264134, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1dae3d9b3ebfe7b9ba5ccdb46877ba09", "spanId": "e8093767930d640b", "parentSpanId": "92f98b4c4f428271", "startTimeUnixNano": "1796073267728784583", "endTimeUnixNano": "1796073267730249469", "durationMs": 1.464886, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009147}}
{"type": "effect-span", "name": "sqlite", "traceId": "1dae3d9b3ebfe7b9ba5ccdb46877ba09", "spanId": "a9facddf3b4c5414", "parentSpanId": "92f98b4c4f428271", "startTimeUnixNano": "1796073267730346078", "endTimeUnixNano": "1796073267731738351", "durationMs": 1.392273, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012754}}
{"type": "effect-span", "name": "sqlite", "traceId": "1dae3d9b3ebfe7b9ba5ccdb46877ba09", "spanId": "70557e703e652387", "parentSpanId": "92f98b4c4f428271", "startTimeUnixNano": "1796073267731759370", "endTimeUnixNano": "1796073267732795321", "durationMs": 1.035951, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013585}}
{"type": "effect-span", "name": "sqlite", "traceId": "1dae3d9b3ebfe7b9ba5ccdb46877ba09", "spanId": "38f8792a011b02ea", "parentSpanId": "92f98b4c4f428271", "startTimeUnixNano": "1796073267737401353", "endTimeUnixNano": "1796073267741655012", "durationMs": 4.253659, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.0218}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1dae3d9b3ebfe7b9ba5ccdb46877ba09", "spanId": "92f98b4c4f428271", "parentSpanId": "79b49f203ad1e03d", "startTimeUnixNano": "1796073267728777830", "endTimeUnixNano": "1796073267741871182", "durationMs": 13.093352, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1dae3d9b3ebfe7b9ba5ccdb46877ba09", "spanId": "0d2bbe6a28560251", "parentSpanId": "79b49f203ad1e03d", "startTimeUnixNano": "1796073267741899435", "endTimeUnixNano": "1796073267742329001", "durationMs": 0.429566, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1dae3d9b3ebfe7b9ba5ccdb46877ba09", "spanId": "79b49f203ad1e03d", "parentSpanId": "ec2e1ce21f9e9856", "startTimeUnixNano": "1796073267724685190", "endTimeUnixNano": "1796073267742354338", "durationMs": 17.669148, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.785025, "db.connection": "reader", "db.lock_wait_ms": 2.693}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1dae3d9b3ebfe7b9ba5ccdb46877ba09", "spanId": "ec2e1ce21f9e9856", "parentSpanId": "258e2eefe0ba2857", "startTimeUnixNano": "1796073267724665273", "endTimeUnixNano": "1796073267742369336", "durationMs": 17.704063, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1dae3d9b3ebfe7b9ba5ccdb46877ba09", "spanId": "258e2eefe0ba2857", "parentSpanId": "4e743075bdc8f08f", "startTimeUnixNano": "1796073267724590685", "endTimeUnixNano": "1796073267742375868", "durationMs": 17.785183, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1dae3d9b3ebfe7b9ba5ccdb46877ba09", "spanId": "4e743075bdc8f08f", "startTimeUnixNano": "1796073267724560980", "endTimeUnixNano": "1796073267742384665", "durationMs": 17.823685, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cffc5cdb9cb67ba3e233ba7193e8a8fb", "spanId": "cc3ad3b7f798478b", "parentSpanId": "97fdb1dc78c60c1c", "startTimeUnixNano": "1796073268191413060", "endTimeUnixNano": "1796073268192113018", "durationMs": 0.699958, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cffc5cdb9cb67ba3e233ba7193e8a8fb", "spanId": "942d0d848a36485e", "parentSpanId": "ec8599bdba611b59", "startTimeUnixNano": "1796073268192235215", "endTimeUnixNano": "1796073268195733713", "durationMs": 3.498498, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.021911}}
{"type": "effect-span", "name": "sqlite", "traceId": "cffc5cdb9cb67ba3e233ba7193e8a8fb", "spanId": "51546be3188adc80", "parentSpanId": "ec8599bdba611b59", "startTimeUnixNano": "1796073268195859406", "endTimeUnixNano": "1796073268198838281", "durationMs": 2.978875, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018575}}
{"type": "effect-span", "name": "sqlite", "traceId": "cffc5cdb9cb67ba3e233ba7193e8a8fb", "spanId": "e928a3078d1408f2", "parentSpanId": "ec8599bdba611b59", "startTimeUnixNano": "1796073268198878155", "endTimeUnixNano": "1796073268201497302", "durationMs": 2.619147, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023624}}
{"type": "effect-span", "name": "sqlite", "traceId": "cffc5cdb9cb67ba3e233ba7193e8a8fb", "spanId": "238639543b689267", "parentSpanId": "ec8599bdba611b59", "startTimeUnixNano": "1796073268210841402", "endTimeUnixNano": "1796073268219594676", "durationMs": 8.753274, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.043791}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cffc5cdb9cb67ba3e233ba7193e8a8fb", "spanId": "ec8599bdba611b59", "parentSpanId": "97fdb1dc78c60c1c", "startTimeUnixNano": "1796073268192221500", "endTimeUnixNano": "1796073268220051844", "durationMs": 27.830344, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cffc5cdb9cb67ba3e233ba7193e8a8fb", "spanId": "ca78dc83db51f4bb", "parentSpanId": "97fdb1dc78c60c1c", "startTimeUnixNano": "1796073268220128155", "endTimeUnixNano": "1796073268224238649", "durationMs": 4.110494, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cffc5cdb9cb67ba3e233ba7193e8a8fb", "spanId": "97fdb1dc78c60c1c", "parentSpanId": "6b20361f10c9f878", "startTimeUnixNano": "1796073268184944874", "endTimeUnixNano": "1796073268224318917", "durationMs": 39.374043, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.445254, "db.connection": "reader", "db.lock_wait_ms": 6.283}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cffc5cdb9cb67ba3e233ba7193e8a8fb", "spanId": "6b20361f10c9f878", "parentSpanId": "3c39df3d39d4f7ed", "startTimeUnixNano": "1796073268184918355", "endTimeUnixNano": "1796073268224362969", "durationMs": 39.444614, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cffc5cdb9cb67ba3e233ba7193e8a8fb", "spanId": "3c39df3d39d4f7ed", "parentSpanId": "3f42146f810af2b0", "startTimeUnixNano": "1796073268184841713", "endTimeUnixNano": "1796073268224377195", "durationMs": 39.535482, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cffc5cdb9cb67ba3e233ba7193e8a8fb", "spanId": "3f42146f810af2b0", "startTimeUnixNano": "1796073268184808171", "endTimeUnixNano": "1796073268224396591", "durationMs": 39.58842, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2638f6823a4f3dd80aa0b37337dd1957", "spanId": "ff353375f596eaee", "parentSpanId": "5b874e34eaa0cb9b", "startTimeUnixNano": "1796073270175901367", "endTimeUnixNano": "1796073270176763907", "durationMs": 0.86254, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2638f6823a4f3dd80aa0b37337dd1957", "spanId": "6bd6152625c4642d", "parentSpanId": "a612ec7f6d1d3e9e", "startTimeUnixNano": "1796073270176839397", "endTimeUnixNano": "1796073270177845363", "durationMs": 1.005966, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010539}}
{"type": "effect-span", "name": "sqlite", "traceId": "2638f6823a4f3dd80aa0b37337dd1957", "spanId": "3564658aa03a922d", "parentSpanId": "a612ec7f6d1d3e9e", "startTimeUnixNano": "1796073270177950949", "endTimeUnixNano": "1796073270179177433", "durationMs": 1.226484, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014547}}
{"type": "effect-span", "name": "sqlite", "traceId": "2638f6823a4f3dd80aa0b37337dd1957", "spanId": "23e4014c995ac93a", "parentSpanId": "a612ec7f6d1d3e9e", "startTimeUnixNano": "1796073270179205105", "endTimeUnixNano": "1796073270180493174", "durationMs": 1.288069, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016781}}
{"type": "effect-span", "name": "sqlite", "traceId": "2638f6823a4f3dd80aa0b37337dd1957", "spanId": "70d4b153106b8fbb", "parentSpanId": "a612ec7f6d1d3e9e", "startTimeUnixNano": "1796073270184717889", "endTimeUnixNano": "1796073270187217766", "durationMs": 2.499877, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018194}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2638f6823a4f3dd80aa0b37337dd1957", "spanId": "a612ec7f6d1d3e9e", "parentSpanId": "5b874e34eaa0cb9b", "startTimeUnixNano": "1796073270176826944", "endTimeUnixNano": "1796073270187451429", "durationMs": 10.624485, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2638f6823a4f3dd80aa0b37337dd1957", "spanId": "e1c4f2310def3385", "parentSpanId": "5b874e34eaa0cb9b", "startTimeUnixNano": "1796073270187474041", "endTimeUnixNano": "1796073270187938572", "durationMs": 0.464531, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2638f6823a4f3dd80aa0b37337dd1957", "spanId": "5b874e34eaa0cb9b", "parentSpanId": "49101b0c4328da70", "startTimeUnixNano": "1796073270173953755", "endTimeUnixNano": "1796073270187981472", "durationMs": 14.027717, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.942733, "db.connection": "reader", "db.lock_wait_ms": 1.879}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2638f6823a4f3dd80aa0b37337dd1957", "spanId": "49101b0c4328da70", "parentSpanId": "e6b8d46c17cd68d1", "startTimeUnixNano": "1796073270173942424", "endTimeUnixNano": "1796073270188014624", "durationMs": 14.0722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2638f6823a4f3dd80aa0b37337dd1957", "spanId": "e6b8d46c17cd68d1", "parentSpanId": "d94acd26c03ea296", "startTimeUnixNano": "1796073270173888764", "endTimeUnixNano": "1796073270188026676", "durationMs": 14.137912, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2638f6823a4f3dd80aa0b37337dd1957", "spanId": "d94acd26c03ea296", "startTimeUnixNano": "1796073270173864359", "endTimeUnixNano": "1796073270188050620", "durationMs": 14.186261, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8a0cfd856a94c9982d3f8f98f9e17eb0", "spanId": "6fdbfddc702d5fba", "parentSpanId": "0bf94ea28de5538e", "startTimeUnixNano": "1796073270512971624", "endTimeUnixNano": "1796073270513208503", "durationMs": 0.236879, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a0cfd856a94c9982d3f8f98f9e17eb0", "spanId": "483ac69a11ef2865", "parentSpanId": "2920e96fe4f11ddd", "startTimeUnixNano": "1796073270513272872", "endTimeUnixNano": "1796073270513697129", "durationMs": 0.424257, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006783}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a0cfd856a94c9982d3f8f98f9e17eb0", "spanId": "4ca5eec8cb059a5d", "parentSpanId": "2920e96fe4f11ddd", "startTimeUnixNano": "1796073270513790823", "endTimeUnixNano": "1796073270514742528", "durationMs": 0.951705, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01102}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a0cfd856a94c9982d3f8f98f9e17eb0", "spanId": "cf01f8e7d0331f12", "parentSpanId": "2920e96fe4f11ddd", "startTimeUnixNano": "1796073270514771161", "endTimeUnixNano": "1796073270515825216", "durationMs": 1.054055, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014247}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a0cfd856a94c9982d3f8f98f9e17eb0", "spanId": "a9a232a9563b69c0", "parentSpanId": "2920e96fe4f11ddd", "startTimeUnixNano": "1796073270521353409", "endTimeUnixNano": "1796073270523318424", "durationMs": 1.965015, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023504}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8a0cfd856a94c9982d3f8f98f9e17eb0", "spanId": "2920e96fe4f11ddd", "parentSpanId": "0bf94ea28de5538e", "startTimeUnixNano": "1796073270513263715", "endTimeUnixNano": "1796073270523602090", "durationMs": 10.338375, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8a0cfd856a94c9982d3f8f98f9e17eb0", "spanId": "dd1df1e9f9c76795", "parentSpanId": "0bf94ea28de5538e", "startTimeUnixNano": "1796073270523635572", "endTimeUnixNano": "1796073270524463778", "durationMs": 0.828206, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8a0cfd856a94c9982d3f8f98f9e17eb0", "spanId": "0bf94ea28de5538e", "parentSpanId": "0be6365cc6da3467", "startTimeUnixNano": "1796073270509180482", "endTimeUnixNano": "1796073270524492862", "durationMs": 15.31238, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.783026, "db.connection": "reader", "db.lock_wait_ms": 3.601}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8a0cfd856a94c9982d3f8f98f9e17eb0", "spanId": "0be6365cc6da3467", "parentSpanId": "08f423e799b58b0a", "startTimeUnixNano": "1796073270509165334", "endTimeUnixNano": "1796073270524513120", "durationMs": 15.347786, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8a0cfd856a94c9982d3f8f98f9e17eb0", "spanId": "08f423e799b58b0a", "parentSpanId": "a40a9b3c6afa913f", "startTimeUnixNano": "1796073270509094783", "endTimeUnixNano": "1796073270524520012", "durationMs": 15.425229, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8a0cfd856a94c9982d3f8f98f9e17eb0", "spanId": "a40a9b3c6afa913f", "startTimeUnixNano": "1796073270509065739", "endTimeUnixNano": "1796073270524531383", "durationMs": 15.465644, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b59762a35946d80140552bea6cce7ef5", "spanId": "2c64934a8939cdeb", "parentSpanId": "9bbfb8f0f3b4a60c", "startTimeUnixNano": "1796073272778172471", "endTimeUnixNano": "1796073272778474021", "durationMs": 0.30155, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b59762a35946d80140552bea6cce7ef5", "spanId": "4c320dff63d61ba9", "parentSpanId": "28791ba77548f12d", "startTimeUnixNano": "1796073272778554199", "endTimeUnixNano": "1796073272779832931", "durationMs": 1.278732, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013976}}
{"type": "effect-span", "name": "sqlite", "traceId": "b59762a35946d80140552bea6cce7ef5", "spanId": "714c62adc62e4fa5", "parentSpanId": "28791ba77548f12d", "startTimeUnixNano": "1796073272779983851", "endTimeUnixNano": "1796073272781229331", "durationMs": 1.24548, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019927}}
{"type": "effect-span", "name": "sqlite", "traceId": "b59762a35946d80140552bea6cce7ef5", "spanId": "0f97ab0437d5b13e", "parentSpanId": "28791ba77548f12d", "startTimeUnixNano": "1796073272781267722", "endTimeUnixNano": "1796073272782406154", "durationMs": 1.138432, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016902}}
{"type": "effect-span", "name": "sqlite", "traceId": "b59762a35946d80140552bea6cce7ef5", "spanId": "9c70a6f16ff352b2", "parentSpanId": "28791ba77548f12d", "startTimeUnixNano": "1796073272785812332", "endTimeUnixNano": "1796073272789184036", "durationMs": 3.371704, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018664}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b59762a35946d80140552bea6cce7ef5", "spanId": "28791ba77548f12d", "parentSpanId": "9bbfb8f0f3b4a60c", "startTimeUnixNano": "1796073272778540404", "endTimeUnixNano": "1796073272789398003", "durationMs": 10.857599, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b59762a35946d80140552bea6cce7ef5", "spanId": "a0473d87693aca98", "parentSpanId": "9bbfb8f0f3b4a60c", "startTimeUnixNano": "1796073272789449919", "endTimeUnixNano": "1796073272790295467", "durationMs": 0.845548, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b59762a35946d80140552bea6cce7ef5", "spanId": "9bbfb8f0f3b4a60c", "parentSpanId": "85c8151b994d1d3e", "startTimeUnixNano": "1796073272773673707", "endTimeUnixNano": "1796073272790331544", "durationMs": 16.657837, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.492012, "db.connection": "reader", "db.lock_wait_ms": 4.37}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b59762a35946d80140552bea6cce7ef5", "spanId": "85c8151b994d1d3e", "parentSpanId": "0e563a4b058c7ef8", "startTimeUnixNano": "1796073272773645515", "endTimeUnixNano": "1796073272790354968", "durationMs": 16.709453, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b59762a35946d80140552bea6cce7ef5", "spanId": "0e563a4b058c7ef8", "parentSpanId": "9a131986dd77b6ad", "startTimeUnixNano": "1796073272773523158", "endTimeUnixNano": "1796073272790363473", "durationMs": 16.840315, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b59762a35946d80140552bea6cce7ef5", "spanId": "9a131986dd77b6ad", "startTimeUnixNano": "1796073272773470680", "endTimeUnixNano": "1796073272790376317", "durationMs": 16.905637, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d2d16f20be56ffbb2b991e80c974dcb9", "spanId": "257a0c02528d9e96", "parentSpanId": "9093d7749348e50c", "startTimeUnixNano": "1796073273197062824", "endTimeUnixNano": "1796073273197988371", "durationMs": 0.925547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d2d16f20be56ffbb2b991e80c974dcb9", "spanId": "bf34e99d855fa4cc", "parentSpanId": "21a345f1d213ea4a", "startTimeUnixNano": "1796073273198065534", "endTimeUnixNano": "1796073273199037437", "durationMs": 0.971903, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010449}}
{"type": "effect-span", "name": "sqlite", "traceId": "d2d16f20be56ffbb2b991e80c974dcb9", "spanId": "8e4de0a19b05cdea", "parentSpanId": "21a345f1d213ea4a", "startTimeUnixNano": "1796073273199184960", "endTimeUnixNano": "1796073273201220245", "durationMs": 2.035285, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.024796}}
{"type": "effect-span", "name": "sqlite", "traceId": "d2d16f20be56ffbb2b991e80c974dcb9", "spanId": "e167b646b8fcda83", "parentSpanId": "21a345f1d213ea4a", "startTimeUnixNano": "1796073273201260109", "endTimeUnixNano": "1796073273202263140", "durationMs": 1.003031, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018815}}
{"type": "effect-span", "name": "sqlite", "traceId": "d2d16f20be56ffbb2b991e80c974dcb9", "spanId": "33067a43448164de", "parentSpanId": "21a345f1d213ea4a", "startTimeUnixNano": "1796073273206702244", "endTimeUnixNano": "1796073273208187990", "durationMs": 1.485746, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.063387}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d2d16f20be56ffbb2b991e80c974dcb9", "spanId": "21a345f1d213ea4a", "parentSpanId": "9093d7749348e50c", "startTimeUnixNano": "1796073273198053271", "endTimeUnixNano": "1796073273208410042", "durationMs": 10.356771, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d2d16f20be56ffbb2b991e80c974dcb9", "spanId": "ddcea510717f287d", "parentSpanId": "9093d7749348e50c", "startTimeUnixNano": "1796073273208452230", "endTimeUnixNano": "1796073273209048025", "durationMs": 0.595795, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d2d16f20be56ffbb2b991e80c974dcb9", "spanId": "9093d7749348e50c", "parentSpanId": "3ce84de177c6b075", "startTimeUnixNano": "1796073273194646482", "endTimeUnixNano": "1796073273209079032", "durationMs": 14.43255, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.406704, "db.connection": "reader", "db.lock_wait_ms": 2.311}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d2d16f20be56ffbb2b991e80c974dcb9", "spanId": "3ce84de177c6b075", "parentSpanId": "68fecd853a197972", "startTimeUnixNano": "1796073273194627848", "endTimeUnixNano": "1796073273209108888", "durationMs": 14.48104, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d2d16f20be56ffbb2b991e80c974dcb9", "spanId": "68fecd853a197972", "parentSpanId": "8fd2bd9af253d9d8", "startTimeUnixNano": "1796073273194563498", "endTimeUnixNano": "1796073273209118866", "durationMs": 14.555368, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d2d16f20be56ffbb2b991e80c974dcb9", "spanId": "8fd2bd9af253d9d8", "startTimeUnixNano": "1796073273194532300", "endTimeUnixNano": "1796073273209138302", "durationMs": 14.606002, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c4d2a455b874732af84437e9d08ec0c1", "spanId": "a51f6aea430afbc2", "parentSpanId": "bb63b570c65ed212", "startTimeUnixNano": "1796073275088878135", "endTimeUnixNano": "1796073275089094776", "durationMs": 0.216641, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c4d2a455b874732af84437e9d08ec0c1", "spanId": "74c87302a2f467cc", "parentSpanId": "fdd9fdc0fd5df363", "startTimeUnixNano": "1796073275089158815", "endTimeUnixNano": "1796073275089956445", "durationMs": 0.79763, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007474}}
{"type": "effect-span", "name": "sqlite", "traceId": "c4d2a455b874732af84437e9d08ec0c1", "spanId": "45dc89e23990ef47", "parentSpanId": "fdd9fdc0fd5df363", "startTimeUnixNano": "1796073275090067611", "endTimeUnixNano": "1796073275091482806", "durationMs": 1.415195, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.029114}}
{"type": "effect-span", "name": "sqlite", "traceId": "c4d2a455b874732af84437e9d08ec0c1", "spanId": "6ba64ee6721a722d", "parentSpanId": "fdd9fdc0fd5df363", "startTimeUnixNano": "1796073275091512772", "endTimeUnixNano": "1796073275093018665", "durationMs": 1.505893, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013204}}
{"type": "effect-span", "name": "sqlite", "traceId": "c4d2a455b874732af84437e9d08ec0c1", "spanId": "2fdb68efbb886a6d", "parentSpanId": "fdd9fdc0fd5df363", "startTimeUnixNano": "1796073275097828397", "endTimeUnixNano": "1796073275100200157", "durationMs": 2.37176, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015258}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c4d2a455b874732af84437e9d08ec0c1", "spanId": "fdd9fdc0fd5df363", "parentSpanId": "bb63b570c65ed212", "startTimeUnixNano": "1796073275089150019", "endTimeUnixNano": "1796073275100415125", "durationMs": 11.265106, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c4d2a455b874732af84437e9d08ec0c1", "spanId": "5f862daf9ad737e9", "parentSpanId": "bb63b570c65ed212", "startTimeUnixNano": "1796073275100454608", "endTimeUnixNano": "1796073275100849872", "durationMs": 0.395264, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c4d2a455b874732af84437e9d08ec0c1", "spanId": "bb63b570c65ed212", "parentSpanId": "df42af72e2b6a8fc", "startTimeUnixNano": "1796073275086073853", "endTimeUnixNano": "1796073275100877353", "durationMs": 14.8035, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.79788, "db.connection": "reader", "db.lock_wait_ms": 2.742}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c4d2a455b874732af84437e9d08ec0c1", "spanId": "df42af72e2b6a8fc", "parentSpanId": "1d27a70aa1857c4a", "startTimeUnixNano": "1796073275086062983", "endTimeUnixNano": "1796073275100895386", "durationMs": 14.832403, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c4d2a455b874732af84437e9d08ec0c1", "spanId": "1d27a70aa1857c4a", "parentSpanId": "65d3845861a87b42", "startTimeUnixNano": "1796073275086007730", "endTimeUnixNano": "1796073275100905775", "durationMs": 14.898045, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c4d2a455b874732af84437e9d08ec0c1", "spanId": "65d3845861a87b42", "startTimeUnixNano": "1796073275085982503", "endTimeUnixNano": "1796073275100917357", "durationMs": 14.934854, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0d846e990cbcb7eeb9471eb49158cfba", "spanId": "ed856f88d4def016", "parentSpanId": "110e551b596d5471", "startTimeUnixNano": "1796073275402796162", "endTimeUnixNano": "1796073275403387669", "durationMs": 0.591507, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0d846e990cbcb7eeb9471eb49158cfba", "spanId": "e2e4a7643d046755", "parentSpanId": "bfbfc38b30d50ad2", "startTimeUnixNano": "1796073275403489869", "endTimeUnixNano": "1796073275403788643", "durationMs": 0.298774, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011301}}
{"type": "effect-span", "name": "sqlite", "traceId": "0d846e990cbcb7eeb9471eb49158cfba", "spanId": "b3011f0da62792cb", "parentSpanId": "bfbfc38b30d50ad2", "startTimeUnixNano": "1796073275403924285", "endTimeUnixNano": "1796073275404832930", "durationMs": 0.908645, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019626}}
{"type": "effect-span", "name": "sqlite", "traceId": "0d846e990cbcb7eeb9471eb49158cfba", "spanId": "f6eee34dc01649a0", "parentSpanId": "bfbfc38b30d50ad2", "startTimeUnixNano": "1796073275404860441", "endTimeUnixNano": "1796073275405676054", "durationMs": 0.815613, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015459}}
{"type": "effect-span", "name": "sqlite", "traceId": "0d846e990cbcb7eeb9471eb49158cfba", "spanId": "bf44ca0cbbe64b1b", "parentSpanId": "bfbfc38b30d50ad2", "startTimeUnixNano": "1796073275410758212", "endTimeUnixNano": "1796073275412085363", "durationMs": 1.327151, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.051695}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0d846e990cbcb7eeb9471eb49158cfba", "spanId": "bfbfc38b30d50ad2", "parentSpanId": "110e551b596d5471", "startTimeUnixNano": "1796073275403474210", "endTimeUnixNano": "1796073275412365904", "durationMs": 8.891694, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0d846e990cbcb7eeb9471eb49158cfba", "spanId": "8cd2ee246bbe4ce5", "parentSpanId": "110e551b596d5471", "startTimeUnixNano": "1796073275412400147", "endTimeUnixNano": "1796073275413376438", "durationMs": 0.976291, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0d846e990cbcb7eeb9471eb49158cfba", "spanId": "110e551b596d5471", "parentSpanId": "e2d197d78142905b", "startTimeUnixNano": "1796073275395531717", "endTimeUnixNano": "1796073275413414589", "durationMs": 17.882872, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 7.253585, "db.connection": "reader", "db.lock_wait_ms": 7.153}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0d846e990cbcb7eeb9471eb49158cfba", "spanId": "e2d197d78142905b", "parentSpanId": "29e0b5a2ddaf0c9d", "startTimeUnixNano": "1796073275395513523", "endTimeUnixNano": "1796073275413469180", "durationMs": 17.955657, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0d846e990cbcb7eeb9471eb49158cfba", "spanId": "29e0b5a2ddaf0c9d", "parentSpanId": "9c39cf9f1887f932", "startTimeUnixNano": "1796073275395423787", "endTimeUnixNano": "1796073275413482505", "durationMs": 18.058718, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0d846e990cbcb7eeb9471eb49158cfba", "spanId": "9c39cf9f1887f932", "startTimeUnixNano": "1796073275395397358", "endTimeUnixNano": "1796073275413498455", "durationMs": 18.101097, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fd87a8535f1ad8e5c03ccfbffea277c5", "spanId": "67120a6990b23f4b", "parentSpanId": "e64f44c8870ba13f", "startTimeUnixNano": "1796073277174122144", "endTimeUnixNano": "1796073277174380844", "durationMs": 0.2587, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fd87a8535f1ad8e5c03ccfbffea277c5", "spanId": "476e91a831ca1e10", "parentSpanId": "ea6c9c7f1de4d777", "startTimeUnixNano": "1796073277174454671", "endTimeUnixNano": "1796073277175592502", "durationMs": 1.137831, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014367}}
{"type": "effect-span", "name": "sqlite", "traceId": "fd87a8535f1ad8e5c03ccfbffea277c5", "spanId": "37623b60b1c819d5", "parentSpanId": "ea6c9c7f1de4d777", "startTimeUnixNano": "1796073277175713526", "endTimeUnixNano": "1796073277176959207", "durationMs": 1.245681, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018625}}
{"type": "effect-span", "name": "sqlite", "traceId": "fd87a8535f1ad8e5c03ccfbffea277c5", "spanId": "5857522ac9e9b85a", "parentSpanId": "ea6c9c7f1de4d777", "startTimeUnixNano": "1796073277176997388", "endTimeUnixNano": "1796073277178546502", "durationMs": 1.549114, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019456}}
{"type": "effect-span", "name": "sqlite", "traceId": "fd87a8535f1ad8e5c03ccfbffea277c5", "spanId": "0a7ce25188712719", "parentSpanId": "ea6c9c7f1de4d777", "startTimeUnixNano": "1796073277183526951", "endTimeUnixNano": "1796073277186700047", "durationMs": 3.173096, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019075}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fd87a8535f1ad8e5c03ccfbffea277c5", "spanId": "ea6c9c7f1de4d777", "parentSpanId": "e64f44c8870ba13f", "startTimeUnixNano": "1796073277174427791", "endTimeUnixNano": "1796073277186923592", "durationMs": 12.495801, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fd87a8535f1ad8e5c03ccfbffea277c5", "spanId": "bdb018257b366839", "parentSpanId": "e64f44c8870ba13f", "startTimeUnixNano": "1796073277186943068", "endTimeUnixNano": "1796073277187712185", "durationMs": 0.769117, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fd87a8535f1ad8e5c03ccfbffea277c5", "spanId": "e64f44c8870ba13f", "parentSpanId": "01c50e94fed86b23", "startTimeUnixNano": "1796073277170700867", "endTimeUnixNano": "1796073277187745036", "durationMs": 17.044169, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.410938, "db.connection": "reader", "db.lock_wait_ms": 3.348}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fd87a8535f1ad8e5c03ccfbffea277c5", "spanId": "01c50e94fed86b23", "parentSpanId": "2431fa331ee427f2", "startTimeUnixNano": "1796073277170687212", "endTimeUnixNano": "1796073277187770052", "durationMs": 17.08284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fd87a8535f1ad8e5c03ccfbffea277c5", "spanId": "2431fa331ee427f2", "parentSpanId": "d4183e8823a5d107", "startTimeUnixNano": "1796073277170630868", "endTimeUnixNano": "1796073277187778397", "durationMs": 17.147529, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fd87a8535f1ad8e5c03ccfbffea277c5", "spanId": "d4183e8823a5d107", "startTimeUnixNano": "1796073277170604909", "endTimeUnixNano": "1796073277187791983", "durationMs": 17.187074, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5c0f6fc959911eeaf2753ffedabb1b84", "spanId": "010554af720216ab", "parentSpanId": "4e17fdbb5f1bf84d", "startTimeUnixNano": "1796073277550049196", "endTimeUnixNano": "1796073277550588346", "durationMs": 0.53915, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5c0f6fc959911eeaf2753ffedabb1b84", "spanId": "876928d5482fad45", "parentSpanId": "b186730a9e6e345a", "startTimeUnixNano": "1796073277550631305", "endTimeUnixNano": "1796073277550920822", "durationMs": 0.289517, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009899}}
{"type": "effect-span", "name": "sqlite", "traceId": "5c0f6fc959911eeaf2753ffedabb1b84", "spanId": "afc7c898f10e7f5e", "parentSpanId": "b186730a9e6e345a", "startTimeUnixNano": "1796073277551014166", "endTimeUnixNano": "1796073277552207640", "durationMs": 1.193474, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009157}}
{"type": "effect-span", "name": "sqlite", "traceId": "5c0f6fc959911eeaf2753ffedabb1b84", "spanId": "5af747aea1d5eba1", "parentSpanId": "b186730a9e6e345a", "startTimeUnixNano": "1796073277552235702", "endTimeUnixNano": "1796073277553294115", "durationMs": 1.058413, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013184}}
{"type": "effect-span", "name": "sqlite", "traceId": "5c0f6fc959911eeaf2753ffedabb1b84", "spanId": "b81193d621ca3857", "parentSpanId": "b186730a9e6e345a", "startTimeUnixNano": "1796073277556687310", "endTimeUnixNano": "1796073277561118911", "durationMs": 4.431601, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012262}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5c0f6fc959911eeaf2753ffedabb1b84", "spanId": "b186730a9e6e345a", "parentSpanId": "4e17fdbb5f1bf84d", "startTimeUnixNano": "1796073277550625384", "endTimeUnixNano": "1796073277561354788", "durationMs": 10.729404, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5c0f6fc959911eeaf2753ffedabb1b84", "spanId": "b6527ec6069a1a90", "parentSpanId": "4e17fdbb5f1bf84d", "startTimeUnixNano": "1796073277561375857", "endTimeUnixNano": "1796073277562248717", "durationMs": 0.87286, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5c0f6fc959911eeaf2753ffedabb1b84", "spanId": "4e17fdbb5f1bf84d", "parentSpanId": "3803aec423c24869", "startTimeUnixNano": "1796073277546539535", "endTimeUnixNano": "1796073277562279434", "durationMs": 15.739899, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.502998, "db.connection": "reader", "db.lock_wait_ms": 3.457}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5c0f6fc959911eeaf2753ffedabb1b84", "spanId": "3803aec423c24869", "parentSpanId": "866738ec67c56678", "startTimeUnixNano": "1796073277546526932", "endTimeUnixNano": "1796073277562307756", "durationMs": 15.780824, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5c0f6fc959911eeaf2753ffedabb1b84", "spanId": "866738ec67c56678", "parentSpanId": "9644e19597aa7bc2", "startTimeUnixNano": "1796073277546480065", "endTimeUnixNano": "1796073277562319057", "durationMs": 15.838992, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5c0f6fc959911eeaf2753ffedabb1b84", "spanId": "9644e19597aa7bc2", "startTimeUnixNano": "1796073277546450339", "endTimeUnixNano": "1796073277562335568", "durationMs": 15.885229, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9e2075e600fd60e0e81142f1bbe79a09", "spanId": "22f9417c1f414bec", "parentSpanId": "ccbfcb385d921cfa", "startTimeUnixNano": "1796073279545804221", "endTimeUnixNano": "1796073279546005113", "durationMs": 0.200892, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e2075e600fd60e0e81142f1bbe79a09", "spanId": "b152d90aa642a00a", "parentSpanId": "c5e9cce30376d6a6", "startTimeUnixNano": "1796073279546060085", "endTimeUnixNano": "1796073279546888082", "durationMs": 0.827997, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009147}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e2075e600fd60e0e81142f1bbe79a09", "spanId": "5da20e05e6c4be96", "parentSpanId": "c5e9cce30376d6a6", "startTimeUnixNano": "1796073279547004698", "endTimeUnixNano": "1796073279548259476", "durationMs": 1.254778, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013665}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e2075e600fd60e0e81142f1bbe79a09", "spanId": "06e6db472759091e", "parentSpanId": "c5e9cce30376d6a6", "startTimeUnixNano": "1796073279548284662", "endTimeUnixNano": "1796073279549424557", "durationMs": 1.139895, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011371}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e2075e600fd60e0e81142f1bbe79a09", "spanId": "80a0371b39910d0e", "parentSpanId": "c5e9cce30376d6a6", "startTimeUnixNano": "1796073279556770896", "endTimeUnixNano": "1796073279559890904", "durationMs": 3.120008, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020588}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9e2075e600fd60e0e81142f1bbe79a09", "spanId": "c5e9cce30376d6a6", "parentSpanId": "ccbfcb385d921cfa", "startTimeUnixNano": "1796073279546052401", "endTimeUnixNano": "1796073279560124257", "durationMs": 14.071856, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9e2075e600fd60e0e81142f1bbe79a09", "spanId": "9033ce43e6d49975", "parentSpanId": "ccbfcb385d921cfa", "startTimeUnixNano": "1796073279560151267", "endTimeUnixNano": "1796073279560374852", "durationMs": 0.223585, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9e2075e600fd60e0e81142f1bbe79a09", "spanId": "ccbfcb385d921cfa", "parentSpanId": "7b1cb073ec0a83bb", "startTimeUnixNano": "1796073279542915161", "endTimeUnixNano": "1796073279560411981", "durationMs": 17.49682, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.884051, "db.connection": "reader", "db.lock_wait_ms": 2.836}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9e2075e600fd60e0e81142f1bbe79a09", "spanId": "7b1cb073ec0a83bb", "parentSpanId": "85df9fa095959008", "startTimeUnixNano": "1796073279542904191", "endTimeUnixNano": "1796073279560458527", "durationMs": 17.554336, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9e2075e600fd60e0e81142f1bbe79a09", "spanId": "85df9fa095959008", "parentSpanId": "821103e0ec79d568", "startTimeUnixNano": "1796073279542852124", "endTimeUnixNano": "1796073279560471150", "durationMs": 17.619026, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9e2075e600fd60e0e81142f1bbe79a09", "spanId": "821103e0ec79d568", "startTimeUnixNano": "1796073279542833530", "endTimeUnixNano": "1796073279560485096", "durationMs": 17.651566, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "990c6adb988a8f3d9bea8349a54e253c", "spanId": "bfe85cdf6852ccad", "parentSpanId": "43ea0eec0fb92860", "startTimeUnixNano": "1796073279853245558", "endTimeUnixNano": "1796073279853525968", "durationMs": 0.28041, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "990c6adb988a8f3d9bea8349a54e253c", "spanId": "ac4cd81b81b05269", "parentSpanId": "655f888b1fe9e636", "startTimeUnixNano": "1796073279853577904", "endTimeUnixNano": "1796073279853864316", "durationMs": 0.286412, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007995}}
{"type": "effect-span", "name": "sqlite", "traceId": "990c6adb988a8f3d9bea8349a54e253c", "spanId": "2b0bd12266fecc62", "parentSpanId": "655f888b1fe9e636", "startTimeUnixNano": "1796073279853958360", "endTimeUnixNano": "1796073279856016428", "durationMs": 2.058068, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014617}}
{"type": "effect-span", "name": "sqlite", "traceId": "990c6adb988a8f3d9bea8349a54e253c", "spanId": "aa380e9f249b8bd9", "parentSpanId": "655f888b1fe9e636", "startTimeUnixNano": "1796073279856041104", "endTimeUnixNano": "1796073279857061227", "durationMs": 1.020123, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012533}}
{"type": "effect-span", "name": "sqlite", "traceId": "990c6adb988a8f3d9bea8349a54e253c", "spanId": "cb45474f03f2b5f9", "parentSpanId": "655f888b1fe9e636", "startTimeUnixNano": "1796073279860280910", "endTimeUnixNano": "1796073279861939837", "durationMs": 1.658927, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012523}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "990c6adb988a8f3d9bea8349a54e253c", "spanId": "655f888b1fe9e636", "parentSpanId": "43ea0eec0fb92860", "startTimeUnixNano": "1796073279853571252", "endTimeUnixNano": "1796073279862110885", "durationMs": 8.539633, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "990c6adb988a8f3d9bea8349a54e253c", "spanId": "24b7020fed3e53d9", "parentSpanId": "43ea0eec0fb92860", "startTimeUnixNano": "1796073279862130962", "endTimeUnixNano": "1796073279862781779", "durationMs": 0.650817, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "990c6adb988a8f3d9bea8349a54e253c", "spanId": "43ea0eec0fb92860", "parentSpanId": "d147ea058480d861", "startTimeUnixNano": "1796073279850793018", "endTimeUnixNano": "1796073279862811294", "durationMs": 12.018276, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.447811, "db.connection": "reader", "db.lock_wait_ms": 2.409}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "990c6adb988a8f3d9bea8349a54e253c", "spanId": "d147ea058480d861", "parentSpanId": "c4376c75d52c8773", "startTimeUnixNano": "1796073279850783901", "endTimeUnixNano": "1796073279862835288", "durationMs": 12.051387, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "990c6adb988a8f3d9bea8349a54e253c", "spanId": "c4376c75d52c8773", "parentSpanId": "e779f96195bb11f4", "startTimeUnixNano": "1796073279850743346", "endTimeUnixNano": "1796073279862842562", "durationMs": 12.099216, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "990c6adb988a8f3d9bea8349a54e253c", "spanId": "e779f96195bb11f4", "startTimeUnixNano": "1796073279850725102", "endTimeUnixNano": "1796073279862852871", "durationMs": 12.127769, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "98e27c1280f7db87693a47017e7cbf56", "spanId": "23bf7e063ea9464d", "parentSpanId": "3f85137e252f4bd6", "startTimeUnixNano": "1796073281624322020", "endTimeUnixNano": "1796073281625070258", "durationMs": 0.748238, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "98e27c1280f7db87693a47017e7cbf56", "spanId": "6b50e7b5fcb135fc", "parentSpanId": "044dbe6270b857aa", "startTimeUnixNano": "1796073281625108810", "endTimeUnixNano": "1796073281625865463", "durationMs": 0.756653, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005039}}
{"type": "effect-span", "name": "sqlite", "traceId": "98e27c1280f7db87693a47017e7cbf56", "spanId": "6052039a64bf5746", "parentSpanId": "044dbe6270b857aa", "startTimeUnixNano": "1796073281625955490", "endTimeUnixNano": "1796073281626923126", "durationMs": 0.967636, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011151}}
{"type": "effect-span", "name": "sqlite", "traceId": "98e27c1280f7db87693a47017e7cbf56", "spanId": "263d5b870a499928", "parentSpanId": "044dbe6270b857aa", "startTimeUnixNano": "1796073281626944375", "endTimeUnixNano": "1796073281627931426", "durationMs": 0.987051, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007243}}
{"type": "effect-span", "name": "sqlite", "traceId": "98e27c1280f7db87693a47017e7cbf56", "spanId": "ff83b6ea20364db5", "parentSpanId": "044dbe6270b857aa", "startTimeUnixNano": "1796073281630680587", "endTimeUnixNano": "1796073281633273197", "durationMs": 2.59261, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01091}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "98e27c1280f7db87693a47017e7cbf56", "spanId": "044dbe6270b857aa", "parentSpanId": "3f85137e252f4bd6", "startTimeUnixNano": "1796073281625102728", "endTimeUnixNano": "1796073281633420460", "durationMs": 8.317732, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "98e27c1280f7db87693a47017e7cbf56", "spanId": "b537fb5320a286c8", "parentSpanId": "3f85137e252f4bd6", "startTimeUnixNano": "1796073281633456677", "endTimeUnixNano": "1796073281633754730", "durationMs": 0.298053, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "98e27c1280f7db87693a47017e7cbf56", "spanId": "3f85137e252f4bd6", "parentSpanId": "b22831f12f5f8ea0", "startTimeUnixNano": "1796073281620551324", "endTimeUnixNano": "1796073281633773986", "durationMs": 13.222662, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.766167, "db.connection": "reader", "db.lock_wait_ms": 3.723}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "98e27c1280f7db87693a47017e7cbf56", "spanId": "b22831f12f5f8ea0", "parentSpanId": "9ca2710f19e34bf9", "startTimeUnixNano": "1796073281620542187", "endTimeUnixNano": "1796073281633786329", "durationMs": 13.244142, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "98e27c1280f7db87693a47017e7cbf56", "spanId": "9ca2710f19e34bf9", "parentSpanId": "a919c0bf53c2571b", "startTimeUnixNano": "1796073281620493848", "endTimeUnixNano": "1796073281633791458", "durationMs": 13.29761, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "98e27c1280f7db87693a47017e7cbf56", "spanId": "a919c0bf53c2571b", "startTimeUnixNano": "1796073281620390536", "endTimeUnixNano": "1796073281633802288", "durationMs": 13.411752, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6dac14ee0880e4b655d8bea97faff808", "spanId": "99c7fb50a23cf12e", "parentSpanId": "dbcfc0c9b61bf318", "startTimeUnixNano": "1796073281901176821", "endTimeUnixNano": "1796073281901320187", "durationMs": 0.143366, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6dac14ee0880e4b655d8bea97faff808", "spanId": "a7275382b530e90c", "parentSpanId": "140e8b777c283759", "startTimeUnixNano": "1796073281901358538", "endTimeUnixNano": "1796073281902062915", "durationMs": 0.704377, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006462}}
{"type": "effect-span", "name": "sqlite", "traceId": "6dac14ee0880e4b655d8bea97faff808", "spanId": "d8e06b0eb35f97be", "parentSpanId": "140e8b777c283759", "startTimeUnixNano": "1796073281902145578", "endTimeUnixNano": "1796073281903050066", "durationMs": 0.904488, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009849}}
{"type": "effect-span", "name": "sqlite", "traceId": "6dac14ee0880e4b655d8bea97faff808", "spanId": "361ed8d4ca8ffa52", "parentSpanId": "140e8b777c283759", "startTimeUnixNano": "1796073281903064353", "endTimeUnixNano": "1796073281903939597", "durationMs": 0.875244, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006682}}
{"type": "effect-span", "name": "sqlite", "traceId": "6dac14ee0880e4b655d8bea97faff808", "spanId": "0ab0d4a451c3ed0a", "parentSpanId": "140e8b777c283759", "startTimeUnixNano": "1796073281908291601", "endTimeUnixNano": "1796073281909702949", "durationMs": 1.411348, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013044}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6dac14ee0880e4b655d8bea97faff808", "spanId": "140e8b777c283759", "parentSpanId": "dbcfc0c9b61bf318", "startTimeUnixNano": "1796073281901353028", "endTimeUnixNano": "1796073281909847628", "durationMs": 8.4946, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6dac14ee0880e4b655d8bea97faff808", "spanId": "25e050286e501f1c", "parentSpanId": "dbcfc0c9b61bf318", "startTimeUnixNano": "1796073281909859069", "endTimeUnixNano": "1796073281910044272", "durationMs": 0.185203, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6dac14ee0880e4b655d8bea97faff808", "spanId": "dbcfc0c9b61bf318", "parentSpanId": "0632d09959361d19", "startTimeUnixNano": "1796073281898969255", "endTimeUnixNano": "1796073281910065832", "durationMs": 11.096577, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.203919, "db.connection": "reader", "db.lock_wait_ms": 2.141}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6dac14ee0880e4b655d8bea97faff808", "spanId": "0632d09959361d19", "parentSpanId": "a722052b0d1eabbc", "startTimeUnixNano": "1796073281898955860", "endTimeUnixNano": "1796073281910079147", "durationMs": 11.123287, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6dac14ee0880e4b655d8bea97faff808", "spanId": "a722052b0d1eabbc", "parentSpanId": "5be934ec408e50a5", "startTimeUnixNano": "1796073281898906088", "endTimeUnixNano": "1796073281910084156", "durationMs": 11.178068, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6dac14ee0880e4b655d8bea97faff808", "spanId": "5be934ec408e50a5", "startTimeUnixNano": "1796073281898884638", "endTimeUnixNano": "1796073281910090077", "durationMs": 11.205439, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "badf340756b1e2614e9fd514a5b9235a", "spanId": "c300c822cf2fc1a8", "parentSpanId": "ab1637ccb17d8617", "startTimeUnixNano": "1796073283570366569", "endTimeUnixNano": "1796073283572872158", "durationMs": 2.505589, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "badf340756b1e2614e9fd514a5b9235a", "spanId": "05d69bd76a28e106", "parentSpanId": "edbcd9ce1ff250ff", "startTimeUnixNano": "1796073283573054316", "endTimeUnixNano": "1796073283575569473", "durationMs": 2.515157, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.017302}}
{"type": "effect-span", "name": "sqlite", "traceId": "badf340756b1e2614e9fd514a5b9235a", "spanId": "b0a748ca3dd817fc", "parentSpanId": "edbcd9ce1ff250ff", "startTimeUnixNano": "1796073283575849943", "endTimeUnixNano": "1796073283577241996", "durationMs": 1.392053, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.029114}}
{"type": "effect-span", "name": "sqlite", "traceId": "badf340756b1e2614e9fd514a5b9235a", "spanId": "2d7973f30a55ba93", "parentSpanId": "edbcd9ce1ff250ff", "startTimeUnixNano": "1796073283577277842", "endTimeUnixNano": "1796073283578402729", "durationMs": 1.124887, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.032801}}
{"type": "effect-span", "name": "sqlite", "traceId": "badf340756b1e2614e9fd514a5b9235a", "spanId": "f542fc82a3ffbfc3", "parentSpanId": "edbcd9ce1ff250ff", "startTimeUnixNano": "1796073283585874913", "endTimeUnixNano": "1796073283591988516", "durationMs": 6.113603, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.074508}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "badf340756b1e2614e9fd514a5b9235a", "spanId": "edbcd9ce1ff250ff", "parentSpanId": "ab1637ccb17d8617", "startTimeUnixNano": "1796073283573032766", "endTimeUnixNano": "1796073283592314902", "durationMs": 19.282136, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "badf340756b1e2614e9fd514a5b9235a", "spanId": "a4f1d9fd5bfb6d14", "parentSpanId": "ab1637ccb17d8617", "startTimeUnixNano": "1796073283592359084", "endTimeUnixNano": "1796073283594293292", "durationMs": 1.934208, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "badf340756b1e2614e9fd514a5b9235a", "spanId": "ab1637ccb17d8617", "parentSpanId": "88ce2f0715e4158b", "startTimeUnixNano": "1796073283565543991", "endTimeUnixNano": "1796073283594336032", "durationMs": 28.792041, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.803332, "db.connection": "reader", "db.lock_wait_ms": 4.617}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "badf340756b1e2614e9fd514a5b9235a", "spanId": "88ce2f0715e4158b", "parentSpanId": "06c8f21e4604d239", "startTimeUnixNano": "1796073283565510038", "endTimeUnixNano": "1796073283594376707", "durationMs": 28.866669, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "badf340756b1e2614e9fd514a5b9235a", "spanId": "06c8f21e4604d239", "parentSpanId": "f93139a8b53eff90", "startTimeUnixNano": "1796073283565381019", "endTimeUnixNano": "1796073283594388890", "durationMs": 29.007871, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "badf340756b1e2614e9fd514a5b9235a", "spanId": "f93139a8b53eff90", "startTimeUnixNano": "1796073283565329503", "endTimeUnixNano": "1796073283594412974", "durationMs": 29.083471, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cfbc0892d06b16d97a402ece88a1403d", "spanId": "5237afa5efe919ef", "parentSpanId": "e761a05d99845e6b", "startTimeUnixNano": "1796073284016285038", "endTimeUnixNano": "1796073284016723982", "durationMs": 0.438944, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cfbc0892d06b16d97a402ece88a1403d", "spanId": "9c63d7ee81546753", "parentSpanId": "ab1286eb4280b288", "startTimeUnixNano": "1796073284016784003", "endTimeUnixNano": "1796073284017173226", "durationMs": 0.389223, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008376}}
{"type": "effect-span", "name": "sqlite", "traceId": "cfbc0892d06b16d97a402ece88a1403d", "spanId": "37a5a7aea36a0969", "parentSpanId": "ab1286eb4280b288", "startTimeUnixNano": "1796073284017248205", "endTimeUnixNano": "1796073284019878114", "durationMs": 2.629909, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012763}}
{"type": "effect-span", "name": "sqlite", "traceId": "cfbc0892d06b16d97a402ece88a1403d", "spanId": "9f8d329bc5905e07", "parentSpanId": "ab1286eb4280b288", "startTimeUnixNano": "1796073284019902209", "endTimeUnixNano": "1796073284021270187", "durationMs": 1.367978, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011241}}
{"type": "effect-span", "name": "sqlite", "traceId": "cfbc0892d06b16d97a402ece88a1403d", "spanId": "a41fa2646080de72", "parentSpanId": "ab1286eb4280b288", "startTimeUnixNano": "1796073284026384266", "endTimeUnixNano": "1796073284029502782", "durationMs": 3.118516, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.029465}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cfbc0892d06b16d97a402ece88a1403d", "spanId": "ab1286eb4280b288", "parentSpanId": "e761a05d99845e6b", "startTimeUnixNano": "1796073284016776870", "endTimeUnixNano": "1796073284029769106", "durationMs": 12.992236, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cfbc0892d06b16d97a402ece88a1403d", "spanId": "a5da2d3621273db2", "parentSpanId": "e761a05d99845e6b", "startTimeUnixNano": "1796073284029799252", "endTimeUnixNano": "1796073284030792405", "durationMs": 0.993153, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cfbc0892d06b16d97a402ece88a1403d", "spanId": "e761a05d99845e6b", "parentSpanId": "d0c444a5079df321", "startTimeUnixNano": "1796073284014299173", "endTimeUnixNano": "1796073284030835545", "durationMs": 16.536372, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.981286, "db.connection": "reader", "db.lock_wait_ms": 1.943}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cfbc0892d06b16d97a402ece88a1403d", "spanId": "d0c444a5079df321", "parentSpanId": "5393c5778d72417d", "startTimeUnixNano": "1796073284014285377", "endTimeUnixNano": "1796073284030870019", "durationMs": 16.584642, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cfbc0892d06b16d97a402ece88a1403d", "spanId": "5393c5778d72417d", "parentSpanId": "5b21e6f47404c75f", "startTimeUnixNano": "1796073284014245503", "endTimeUnixNano": "1796073284030889836", "durationMs": 16.644333, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cfbc0892d06b16d97a402ece88a1403d", "spanId": "5b21e6f47404c75f", "startTimeUnixNano": "1796073284014227781", "endTimeUnixNano": "1796073284030907919", "durationMs": 16.680138, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "429feb79972e21bcfd4c6812b287255a", "spanId": "20929c604c6098b9", "parentSpanId": "16d952d71f22bc91", "startTimeUnixNano": "1796073285763308104", "endTimeUnixNano": "1796073285764209587", "durationMs": 0.901483, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "429feb79972e21bcfd4c6812b287255a", "spanId": "79cdbdbcebd26fdb", "parentSpanId": "e3a88c1abc2c82bf", "startTimeUnixNano": "1796073285764280689", "endTimeUnixNano": "1796073285766897404", "durationMs": 2.616715, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009788}}
{"type": "effect-span", "name": "sqlite", "traceId": "429feb79972e21bcfd4c6812b287255a", "spanId": "0ad4632826c79097", "parentSpanId": "e3a88c1abc2c82bf", "startTimeUnixNano": "1796073285767086755", "endTimeUnixNano": "1796073285768630139", "durationMs": 1.543384, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.028483}}
{"type": "effect-span", "name": "sqlite", "traceId": "429feb79972e21bcfd4c6812b287255a", "spanId": "6df2495c945cb217", "parentSpanId": "e3a88c1abc2c82bf", "startTimeUnixNano": "1796073285768681805", "endTimeUnixNano": "1796073285770382611", "durationMs": 1.700806, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.020277}}
{"type": "effect-span", "name": "sqlite", "traceId": "429feb79972e21bcfd4c6812b287255a", "spanId": "ae301eeb22e1e673", "parentSpanId": "e3a88c1abc2c82bf", "startTimeUnixNano": "1796073285777426180", "endTimeUnixNano": "1796073285783681697", "durationMs": 6.255517, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.03764}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "429feb79972e21bcfd4c6812b287255a", "spanId": "e3a88c1abc2c82bf", "parentSpanId": "16d952d71f22bc91", "startTimeUnixNano": "1796073285764269919", "endTimeUnixNano": "1796073285783987405", "durationMs": 19.717486, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "429feb79972e21bcfd4c6812b287255a", "spanId": "9fb00ab5e3c69ccb", "parentSpanId": "16d952d71f22bc91", "startTimeUnixNano": "1796073285784018663", "endTimeUnixNano": "1796073285800042846", "durationMs": 16.024183, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "429feb79972e21bcfd4c6812b287255a", "spanId": "16d952d71f22bc91", "parentSpanId": "3a41ffd4bce8be33", "startTimeUnixNano": "1796073285759898698", "endTimeUnixNano": "1796073285800095533", "durationMs": 40.196835, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.402703, "db.connection": "reader", "db.lock_wait_ms": 3.342}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "429feb79972e21bcfd4c6812b287255a", "spanId": "3a41ffd4bce8be33", "parentSpanId": "06abd2a146453e23", "startTimeUnixNano": "1796073285759875695", "endTimeUnixNano": "1796073285800123706", "durationMs": 40.248011, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "429feb79972e21bcfd4c6812b287255a", "spanId": "06abd2a146453e23", "parentSpanId": "4682e48fca62b667", "startTimeUnixNano": "1796073285759803471", "endTimeUnixNano": "1796073285800135247", "durationMs": 40.331776, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "429feb79972e21bcfd4c6812b287255a", "spanId": "4682e48fca62b667", "startTimeUnixNano": "1796073285759775489", "endTimeUnixNano": "1796073285800150576", "durationMs": 40.375087, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "575036d43b8e6f6371a4c90a692f1c5e", "spanId": "7e86efdfc6cf2e4b", "parentSpanId": "e75087e8c14634d3", "startTimeUnixNano": "1796073286108141352", "endTimeUnixNano": "1796073286108932661", "durationMs": 0.791309, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "575036d43b8e6f6371a4c90a692f1c5e", "spanId": "d1488a3f04ec9fc6", "parentSpanId": "b76dd95368a2955d", "startTimeUnixNano": "1796073286109015164", "endTimeUnixNano": "1796073286109342671", "durationMs": 0.327507, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010409}}
{"type": "effect-span", "name": "sqlite", "traceId": "575036d43b8e6f6371a4c90a692f1c5e", "spanId": "0bcbb3c15e1fcbd4", "parentSpanId": "b76dd95368a2955d", "startTimeUnixNano": "1796073286109544225", "endTimeUnixNano": "1796073286110772164", "durationMs": 1.227939, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.026159}}
{"type": "effect-span", "name": "sqlite", "traceId": "575036d43b8e6f6371a4c90a692f1c5e", "spanId": "e071ca0443660c60", "parentSpanId": "b76dd95368a2955d", "startTimeUnixNano": "1796073286110807439", "endTimeUnixNano": "1796073286111900297", "durationMs": 1.092858, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017142}}
{"type": "effect-span", "name": "sqlite", "traceId": "575036d43b8e6f6371a4c90a692f1c5e", "spanId": "5a8f1f0345011a92", "parentSpanId": "b76dd95368a2955d", "startTimeUnixNano": "1796073286117958328", "endTimeUnixNano": "1796073286120481299", "durationMs": 2.522971, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.09134}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "575036d43b8e6f6371a4c90a692f1c5e", "spanId": "b76dd95368a2955d", "parentSpanId": "e75087e8c14634d3", "startTimeUnixNano": "1796073286109001829", "endTimeUnixNano": "1796073286120829185", "durationMs": 11.827356, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "575036d43b8e6f6371a4c90a692f1c5e", "spanId": "1f570e80faa9576f", "parentSpanId": "e75087e8c14634d3", "startTimeUnixNano": "1796073286120881362", "endTimeUnixNano": "1796073286121335705", "durationMs": 0.454343, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "575036d43b8e6f6371a4c90a692f1c5e", "spanId": "e75087e8c14634d3", "parentSpanId": "abe5eab27f627651", "startTimeUnixNano": "1796073286104913653", "endTimeUnixNano": "1796073286121385407", "durationMs": 16.471754, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.216599, "db.connection": "reader", "db.lock_wait_ms": 3.137}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "575036d43b8e6f6371a4c90a692f1c5e", "spanId": "abe5eab27f627651", "parentSpanId": "a604ff6249f15615", "startTimeUnixNano": "1796073286104901461", "endTimeUnixNano": "1796073286121415393", "durationMs": 16.513932, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "575036d43b8e6f6371a4c90a692f1c5e", "spanId": "a604ff6249f15615", "parentSpanId": "6445f4300df1f8ba", "startTimeUnixNano": "1796073286104861907", "endTimeUnixNano": "1796073286121426543", "durationMs": 16.564636, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "575036d43b8e6f6371a4c90a692f1c5e", "spanId": "6445f4300df1f8ba", "startTimeUnixNano": "1796073286104843573", "endTimeUnixNano": "1796073286121458593", "durationMs": 16.61502, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9634349fec7d50235ceea430bb78c1d5", "spanId": "0d72b509f0a12e2f", "parentSpanId": "d4ab76f792b6120b", "startTimeUnixNano": "1796073288279538269", "endTimeUnixNano": "1796073288279813811", "durationMs": 0.275542, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9634349fec7d50235ceea430bb78c1d5", "spanId": "1758d1639ecf3528", "parentSpanId": "6ab2a7300c2a911c", "startTimeUnixNano": "1796073288279885013", "endTimeUnixNano": "1796073288280511565", "durationMs": 0.626552, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009427}}
{"type": "effect-span", "name": "sqlite", "traceId": "9634349fec7d50235ceea430bb78c1d5", "spanId": "b7d9735626890396", "parentSpanId": "6ab2a7300c2a911c", "startTimeUnixNano": "1796073288280647648", "endTimeUnixNano": "1796073288281837566", "durationMs": 1.189918, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014447}}
{"type": "effect-span", "name": "sqlite", "traceId": "9634349fec7d50235ceea430bb78c1d5", "spanId": "bb2553305197e164", "parentSpanId": "6ab2a7300c2a911c", "startTimeUnixNano": "1796073288281881277", "endTimeUnixNano": "1796073288283015963", "durationMs": 1.134686, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019406}}
{"type": "effect-span", "name": "sqlite", "traceId": "9634349fec7d50235ceea430bb78c1d5", "spanId": "6a2ff3496a52d4ee", "parentSpanId": "6ab2a7300c2a911c", "startTimeUnixNano": "1796073288291686372", "endTimeUnixNano": "1796073288293287222", "durationMs": 1.60085, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020337}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9634349fec7d50235ceea430bb78c1d5", "spanId": "6ab2a7300c2a911c", "parentSpanId": "d4ab76f792b6120b", "startTimeUnixNano": "1796073288279874123", "endTimeUnixNano": "1796073288293541254", "durationMs": 13.667131, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9634349fec7d50235ceea430bb78c1d5", "spanId": "acc2703386af0a5e", "parentSpanId": "d4ab76f792b6120b", "startTimeUnixNano": "1796073288293572682", "endTimeUnixNano": "1796073288296372327", "durationMs": 2.799645, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9634349fec7d50235ceea430bb78c1d5", "spanId": "d4ab76f792b6120b", "parentSpanId": "02bb911a5b8cb831", "startTimeUnixNano": "1796073288275040603", "endTimeUnixNano": "1796073288296418112", "durationMs": 21.377509, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.490764, "db.connection": "reader", "db.lock_wait_ms": 4.432}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9634349fec7d50235ceea430bb78c1d5", "spanId": "02bb911a5b8cb831", "parentSpanId": "e34300e65dbd2464", "startTimeUnixNano": "1796073288275017430", "endTimeUnixNano": "1796073288296480107", "durationMs": 21.462677, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9634349fec7d50235ceea430bb78c1d5", "spanId": "e34300e65dbd2464", "parentSpanId": "b6b3f7f29b790953", "startTimeUnixNano": "1796073288274953732", "endTimeUnixNano": "1796073288296494544", "durationMs": 21.540812, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9634349fec7d50235ceea430bb78c1d5", "spanId": "b6b3f7f29b790953", "startTimeUnixNano": "1796073288274924187", "endTimeUnixNano": "1796073288296508049", "durationMs": 21.583862, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "271822ad4b85cc97e9581f85abd7c41b", "spanId": "6911857e89835db3", "parentSpanId": "7708e7a06d37310e", "startTimeUnixNano": "1796073288788347381", "endTimeUnixNano": "1796073288789353779", "durationMs": 1.006398, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "271822ad4b85cc97e9581f85abd7c41b", "spanId": "bbbb07b205a05f5b", "parentSpanId": "e32f127e87e9721c", "startTimeUnixNano": "1796073288789488419", "endTimeUnixNano": "1796073288789875487", "durationMs": 0.387068, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014787}}
{"type": "effect-span", "name": "sqlite", "traceId": "271822ad4b85cc97e9581f85abd7c41b", "spanId": "bcd62cf30cb43388", "parentSpanId": "e32f127e87e9721c", "startTimeUnixNano": "1796073288790065820", "endTimeUnixNano": "1796073288792250374", "durationMs": 2.184554, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.02153}}
{"type": "effect-span", "name": "sqlite", "traceId": "271822ad4b85cc97e9581f85abd7c41b", "spanId": "22aab2e0807adb75", "parentSpanId": "e32f127e87e9721c", "startTimeUnixNano": "1796073288792285118", "endTimeUnixNano": "1796073288794513593", "durationMs": 2.228475, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014447}}
{"type": "effect-span", "name": "sqlite", "traceId": "271822ad4b85cc97e9581f85abd7c41b", "spanId": "f9c32c6c39506ecc", "parentSpanId": "e32f127e87e9721c", "startTimeUnixNano": "1796073288801693507", "endTimeUnixNano": "1796073288806984515", "durationMs": 5.291008, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020348}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "271822ad4b85cc97e9581f85abd7c41b", "spanId": "e32f127e87e9721c", "parentSpanId": "7708e7a06d37310e", "startTimeUnixNano": "1796073288789471447", "endTimeUnixNano": "1796073288807255297", "durationMs": 17.78385, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "271822ad4b85cc97e9581f85abd7c41b", "spanId": "84f9e22155e2be6b", "parentSpanId": "7708e7a06d37310e", "startTimeUnixNano": "1796073288807279172", "endTimeUnixNano": "1796073288810563376", "durationMs": 3.284204, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "271822ad4b85cc97e9581f85abd7c41b", "spanId": "7708e7a06d37310e", "parentSpanId": "2d81a1df949ce93b", "startTimeUnixNano": "1796073288785289938", "endTimeUnixNano": "1796073288810613449", "durationMs": 25.323511, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.050571, "db.connection": "reader", "db.lock_wait_ms": 2.871}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "271822ad4b85cc97e9581f85abd7c41b", "spanId": "2d81a1df949ce93b", "parentSpanId": "8cde589a0e69039c", "startTimeUnixNano": "1796073288785271384", "endTimeUnixNano": "1796073288810657300", "durationMs": 25.385916, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "271822ad4b85cc97e9581f85abd7c41b", "spanId": "8cde589a0e69039c", "parentSpanId": "47312a4b1798ac4a", "startTimeUnixNano": "1796073288785194571", "endTimeUnixNano": "1796073288810672008", "durationMs": 25.477437, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "271822ad4b85cc97e9581f85abd7c41b", "spanId": "47312a4b1798ac4a", "startTimeUnixNano": "1796073288785148736", "endTimeUnixNano": "1796073288810691313", "durationMs": 25.542577, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7ba6fc77d6ce70931b3d7f827c38fa0f", "spanId": "4664c9a941ec13d2", "parentSpanId": "ba7759b1f78f9208", "startTimeUnixNano": "1796073291083997580", "endTimeUnixNano": "1796073291085812669", "durationMs": 1.815089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ba6fc77d6ce70931b3d7f827c38fa0f", "spanId": "00021681bc4f7e06", "parentSpanId": "7f77f6044056ff41", "startTimeUnixNano": "1796073291085930698", "endTimeUnixNano": "1796073291086416359", "durationMs": 0.485661, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.015749}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ba6fc77d6ce70931b3d7f827c38fa0f", "spanId": "dfbd7d0467f44c64", "parentSpanId": "7f77f6044056ff41", "startTimeUnixNano": "1796073291086597776", "endTimeUnixNano": "1796073291088516326", "durationMs": 1.91855, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.02148}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ba6fc77d6ce70931b3d7f827c38fa0f", "spanId": "012c6b5d1f0f3b9e", "parentSpanId": "7f77f6044056ff41", "startTimeUnixNano": "1796073291088555659", "endTimeUnixNano": "1796073291090108581", "durationMs": 1.552922, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.020328}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ba6fc77d6ce70931b3d7f827c38fa0f", "spanId": "711058ee1b8521d0", "parentSpanId": "7f77f6044056ff41", "startTimeUnixNano": "1796073291098232948", "endTimeUnixNano": "1796073291103451152", "durationMs": 5.218204, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018334}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7ba6fc77d6ce70931b3d7f827c38fa0f", "spanId": "7f77f6044056ff41", "parentSpanId": "ba7759b1f78f9208", "startTimeUnixNano": "1796073291085912504", "endTimeUnixNano": "1796073291103756759", "durationMs": 17.844255, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7ba6fc77d6ce70931b3d7f827c38fa0f", "spanId": "70a7c079dc2f5196", "parentSpanId": "ba7759b1f78f9208", "startTimeUnixNano": "1796073291103794018", "endTimeUnixNano": "1796073291104496071", "durationMs": 0.702053, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7ba6fc77d6ce70931b3d7f827c38fa0f", "spanId": "ba7759b1f78f9208", "parentSpanId": "ae04af75bf1e3fdc", "startTimeUnixNano": "1796073291079576977", "endTimeUnixNano": "1796073291104538450", "durationMs": 24.961473, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.41325, "db.connection": "reader", "db.lock_wait_ms": 4.323}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7ba6fc77d6ce70931b3d7f827c38fa0f", "spanId": "ae04af75bf1e3fdc", "parentSpanId": "8700f7abb4c8e28b", "startTimeUnixNano": "1796073291079559464", "endTimeUnixNano": "1796073291104576060", "durationMs": 25.016596, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7ba6fc77d6ce70931b3d7f827c38fa0f", "spanId": "8700f7abb4c8e28b", "parentSpanId": "cacb73d3eaa70e01", "startTimeUnixNano": "1796073291079482832", "endTimeUnixNano": "1796073291104585006", "durationMs": 25.102174, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7ba6fc77d6ce70931b3d7f827c38fa0f", "spanId": "cacb73d3eaa70e01", "startTimeUnixNano": "1796073291079450142", "endTimeUnixNano": "1796073291104602419", "durationMs": 25.152277, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bb30837882186401d57c15db06998565", "spanId": "8035508710bd59f6", "parentSpanId": "0010064790715758", "startTimeUnixNano": "1796073291600257878", "endTimeUnixNano": "1796073291601020674", "durationMs": 0.762796, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb30837882186401d57c15db06998565", "spanId": "ef643f25580a8c20", "parentSpanId": "c478a8a067b10fea", "startTimeUnixNano": "1796073291601135677", "endTimeUnixNano": "1796073291601804328", "durationMs": 0.668651, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012573}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb30837882186401d57c15db06998565", "spanId": "1c7900229a0988f0", "parentSpanId": "c478a8a067b10fea", "startTimeUnixNano": "1796073291601977900", "endTimeUnixNano": "1796073291603172537", "durationMs": 1.194637, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.020738}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb30837882186401d57c15db06998565", "spanId": "50ad30aed937cebf", "parentSpanId": "c478a8a067b10fea", "startTimeUnixNano": "1796073291603203334", "endTimeUnixNano": "1796073291604872462", "durationMs": 1.669128, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017412}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb30837882186401d57c15db06998565", "spanId": "1e46cfa4d1bdab78", "parentSpanId": "c478a8a067b10fea", "startTimeUnixNano": "1796073291612491281", "endTimeUnixNano": "1796073291615551940", "durationMs": 3.060659, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.044783}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bb30837882186401d57c15db06998565", "spanId": "c478a8a067b10fea", "parentSpanId": "0010064790715758", "startTimeUnixNano": "1796073291601119407", "endTimeUnixNano": "1796073291615919893", "durationMs": 14.800486, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bb30837882186401d57c15db06998565", "spanId": "80510eae03c3e8ac", "parentSpanId": "0010064790715758", "startTimeUnixNano": "1796073291615958104", "endTimeUnixNano": "1796073291617533137", "durationMs": 1.575033, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bb30837882186401d57c15db06998565", "spanId": "0010064790715758", "parentSpanId": "178f0192c3043338", "startTimeUnixNano": "1796073291595020218", "endTimeUnixNano": "1796073291617572971", "durationMs": 22.552753, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.223754, "db.connection": "reader", "db.lock_wait_ms": 5.043}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bb30837882186401d57c15db06998565", "spanId": "178f0192c3043338", "parentSpanId": "7c166352849ef3d2", "startTimeUnixNano": "1796073291594999560", "endTimeUnixNano": "1796073291617614879", "durationMs": 22.615319, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bb30837882186401d57c15db06998565", "spanId": "7c166352849ef3d2", "parentSpanId": "5367b1023aaa5a65", "startTimeUnixNano": "1796073291594894415", "endTimeUnixNano": "1796073291617627813", "durationMs": 22.733398, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bb30837882186401d57c15db06998565", "spanId": "5367b1023aaa5a65", "startTimeUnixNano": "1796073291594862165", "endTimeUnixNano": "1796073291617645836", "durationMs": 22.783671, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "499e531983b2688e02e1166fe01d3741", "spanId": "d34ac5774574930c", "parentSpanId": "c35290e7aef3b7e9", "startTimeUnixNano": "1796073293947118881", "endTimeUnixNano": "1796073293950559797", "durationMs": 3.440916, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "499e531983b2688e02e1166fe01d3741", "spanId": "d462747dc7f32481", "parentSpanId": "b61505bd4b2cc781", "startTimeUnixNano": "1796073293950698103", "endTimeUnixNano": "1796073293951603654", "durationMs": 0.905551, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011151}}
{"type": "effect-span", "name": "sqlite", "traceId": "499e531983b2688e02e1166fe01d3741", "spanId": "6b05c30c47693edf", "parentSpanId": "b61505bd4b2cc781", "startTimeUnixNano": "1796073293951934698", "endTimeUnixNano": "1796073293953046091", "durationMs": 1.111393, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.024927}}
{"type": "effect-span", "name": "sqlite", "traceId": "499e531983b2688e02e1166fe01d3741", "spanId": "42b5563616f013e9", "parentSpanId": "b61505bd4b2cc781", "startTimeUnixNano": "1796073293953080104", "endTimeUnixNano": "1796073293957791157", "durationMs": 4.711053, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018965}}
{"type": "effect-span", "name": "sqlite", "traceId": "499e531983b2688e02e1166fe01d3741", "spanId": "7bd55ca09a35226a", "parentSpanId": "b61505bd4b2cc781", "startTimeUnixNano": "1796073293962102849", "endTimeUnixNano": "1796073293966294008", "durationMs": 4.191159, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021811}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "499e531983b2688e02e1166fe01d3741", "spanId": "b61505bd4b2cc781", "parentSpanId": "c35290e7aef3b7e9", "startTimeUnixNano": "1796073293950683186", "endTimeUnixNano": "1796073293966683120", "durationMs": 15.999934, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "499e531983b2688e02e1166fe01d3741", "spanId": "1511fb0952becd08", "parentSpanId": "c35290e7aef3b7e9", "startTimeUnixNano": "1796073293966722563", "endTimeUnixNano": "1796073293967033550", "durationMs": 0.310987, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "499e531983b2688e02e1166fe01d3741", "spanId": "c35290e7aef3b7e9", "parentSpanId": "afdb024908fce597", "startTimeUnixNano": "1796073293942462659", "endTimeUnixNano": "1796073293967085837", "durationMs": 24.623178, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.643869, "db.connection": "reader", "db.lock_wait_ms": 4.553}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "499e531983b2688e02e1166fe01d3741", "spanId": "afdb024908fce597", "parentSpanId": "f195de560c2aee45", "startTimeUnixNano": "1796073293942416954", "endTimeUnixNano": "1796073293967128206", "durationMs": 24.711252, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "499e531983b2688e02e1166fe01d3741", "spanId": "f195de560c2aee45", "parentSpanId": "3d4cdc5fea9c68f3", "startTimeUnixNano": "1796073293942335042", "endTimeUnixNano": "1796073293967142322", "durationMs": 24.80728, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "499e531983b2688e02e1166fe01d3741", "spanId": "3d4cdc5fea9c68f3", "startTimeUnixNano": "1796073293942290269", "endTimeUnixNano": "1796073293967162068", "durationMs": 24.871799, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8d3cb142591ba9e45ff874d8a4afd843", "spanId": "4df4321caed71064", "parentSpanId": "c01671971de2f0cd", "startTimeUnixNano": "1796073294364295901", "endTimeUnixNano": "1796073294365207163", "durationMs": 0.911262, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8d3cb142591ba9e45ff874d8a4afd843", "spanId": "68c666e8125283e9", "parentSpanId": "92f28d694f378b73", "startTimeUnixNano": "1796073294365325482", "endTimeUnixNano": "1796073294365604540", "durationMs": 0.279058, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012043}}
{"type": "effect-span", "name": "sqlite", "traceId": "8d3cb142591ba9e45ff874d8a4afd843", "spanId": "2d2e412f2b61b953", "parentSpanId": "92f28d694f378b73", "startTimeUnixNano": "1796073294366002879", "endTimeUnixNano": "1796073294367641250", "durationMs": 1.638371, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019436}}
{"type": "effect-span", "name": "sqlite", "traceId": "8d3cb142591ba9e45ff874d8a4afd843", "spanId": "1097764b86567980", "parentSpanId": "92f28d694f378b73", "startTimeUnixNano": "1796073294367692485", "endTimeUnixNano": "1796073294369282757", "durationMs": 1.590272, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023253}}
{"type": "effect-span", "name": "sqlite", "traceId": "8d3cb142591ba9e45ff874d8a4afd843", "spanId": "f350ba83c195019d", "parentSpanId": "92f28d694f378b73", "startTimeUnixNano": "1796073294377355709", "endTimeUnixNano": "1796073294379953831", "durationMs": 2.598122, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.035737}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8d3cb142591ba9e45ff874d8a4afd843", "spanId": "92f28d694f378b73", "parentSpanId": "c01671971de2f0cd", "startTimeUnixNano": "1796073294365305986", "endTimeUnixNano": "1796073294380303861", "durationMs": 14.997875, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8d3cb142591ba9e45ff874d8a4afd843", "spanId": "5bd68d03cc74432b", "parentSpanId": "c01671971de2f0cd", "startTimeUnixNano": "1796073294380337724", "endTimeUnixNano": "1796073294381856232", "durationMs": 1.518508, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8d3cb142591ba9e45ff874d8a4afd843", "spanId": "c01671971de2f0cd", "parentSpanId": "46e5903c3b9b30d9", "startTimeUnixNano": "1796073294357907845", "endTimeUnixNano": "1796073294381893211", "durationMs": 23.985366, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.372187, "db.connection": "reader", "db.lock_wait_ms": 6.241}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8d3cb142591ba9e45ff874d8a4afd843", "spanId": "46e5903c3b9b30d9", "parentSpanId": "da76113a167355c8", "startTimeUnixNano": "1796073294357887137", "endTimeUnixNano": "1796073294381931482", "durationMs": 24.044345, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8d3cb142591ba9e45ff874d8a4afd843", "spanId": "da76113a167355c8", "parentSpanId": "c81ffb5a2a99d9c3", "startTimeUnixNano": "1796073294357818910", "endTimeUnixNano": "1796073294381945357", "durationMs": 24.126447, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8d3cb142591ba9e45ff874d8a4afd843", "spanId": "c81ffb5a2a99d9c3", "startTimeUnixNano": "1796073294357791189", "endTimeUnixNano": "1796073294381964563", "durationMs": 24.173374, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "214f5dca05fa32f0fed0a7b3e8303024", "spanId": "b9012807d93b2245", "parentSpanId": "625c3d487c4e859f", "startTimeUnixNano": "1796073296557000285", "endTimeUnixNano": "1796073296557377916", "durationMs": 0.377631, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "214f5dca05fa32f0fed0a7b3e8303024", "spanId": "409d6a29a19b2d68", "parentSpanId": "3fe781bc6bdc7ff2", "startTimeUnixNano": "1796073296557450982", "endTimeUnixNano": "1796073296558251908", "durationMs": 0.800926, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009728}}
{"type": "effect-span", "name": "sqlite", "traceId": "214f5dca05fa32f0fed0a7b3e8303024", "spanId": "3edebacefa216e5a", "parentSpanId": "3fe781bc6bdc7ff2", "startTimeUnixNano": "1796073296558354258", "endTimeUnixNano": "1796073296559738738", "durationMs": 1.38448, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013015}}
{"type": "effect-span", "name": "sqlite", "traceId": "214f5dca05fa32f0fed0a7b3e8303024", "spanId": "1ada5a7aebeb7697", "parentSpanId": "3fe781bc6bdc7ff2", "startTimeUnixNano": "1796073296559768764", "endTimeUnixNano": "1796073296561112638", "durationMs": 1.343874, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010529}}
{"type": "effect-span", "name": "sqlite", "traceId": "214f5dca05fa32f0fed0a7b3e8303024", "spanId": "1de3dbbc1e00a4ae", "parentSpanId": "3fe781bc6bdc7ff2", "startTimeUnixNano": "1796073296566868501", "endTimeUnixNano": "1796073296569333626", "durationMs": 2.465125, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014016}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "214f5dca05fa32f0fed0a7b3e8303024", "spanId": "3fe781bc6bdc7ff2", "parentSpanId": "625c3d487c4e859f", "startTimeUnixNano": "1796073296557427148", "endTimeUnixNano": "1796073296569570436", "durationMs": 12.143288, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "214f5dca05fa32f0fed0a7b3e8303024", "spanId": "02986b23d1597c5d", "parentSpanId": "625c3d487c4e859f", "startTimeUnixNano": "1796073296569611813", "endTimeUnixNano": "1796073296569987039", "durationMs": 0.375226, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "214f5dca05fa32f0fed0a7b3e8303024", "spanId": "625c3d487c4e859f", "parentSpanId": "4b7b295915ee53bb", "startTimeUnixNano": "1796073296554033930", "endTimeUnixNano": "1796073296570015572", "durationMs": 15.981642, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.960064, "db.connection": "reader", "db.lock_wait_ms": 2.911}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "214f5dca05fa32f0fed0a7b3e8303024", "spanId": "4b7b295915ee53bb", "parentSpanId": "8ad6273a2298d4ff", "startTimeUnixNano": "1796073296554020966", "endTimeUnixNano": "1796073296570031662", "durationMs": 16.010696, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "214f5dca05fa32f0fed0a7b3e8303024", "spanId": "8ad6273a2298d4ff", "parentSpanId": "dedc18caa2f8cf6f", "startTimeUnixNano": "1796073296553970803", "endTimeUnixNano": "1796073296570038074", "durationMs": 16.067271, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "214f5dca05fa32f0fed0a7b3e8303024", "spanId": "dedc18caa2f8cf6f", "startTimeUnixNano": "1796073296553945586", "endTimeUnixNano": "1796073296570049174", "durationMs": 16.103588, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "12fcfd13bebc3f0c5682c5a14f66d06a", "spanId": "ebea6791f219dc9d", "parentSpanId": "ca5c99edeed3154a", "startTimeUnixNano": "1796073296883077294", "endTimeUnixNano": "1796073296883343498", "durationMs": 0.266204, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "12fcfd13bebc3f0c5682c5a14f66d06a", "spanId": "b349fd55df48eafd", "parentSpanId": "d159946b5a4ce255", "startTimeUnixNano": "1796073296883378854", "endTimeUnixNano": "1796073296883714627", "durationMs": 0.335773, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004839}}
{"type": "effect-span", "name": "sqlite", "traceId": "12fcfd13bebc3f0c5682c5a14f66d06a", "spanId": "9309d89f520330d3", "parentSpanId": "d159946b5a4ce255", "startTimeUnixNano": "1796073296883807289", "endTimeUnixNano": "1796073296884698202", "durationMs": 0.890913, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010469}}
{"type": "effect-span", "name": "sqlite", "traceId": "12fcfd13bebc3f0c5682c5a14f66d06a", "spanId": "4ba2fc1758ae3b33", "parentSpanId": "d159946b5a4ce255", "startTimeUnixNano": "1796073296884729460", "endTimeUnixNano": "1796073296885959173", "durationMs": 1.229713, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015048}}
{"type": "effect-span", "name": "sqlite", "traceId": "12fcfd13bebc3f0c5682c5a14f66d06a", "spanId": "8888c72f910569c2", "parentSpanId": "d159946b5a4ce255", "startTimeUnixNano": "1796073296891012813", "endTimeUnixNano": "1796073296894000438", "durationMs": 2.987625, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019436}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "12fcfd13bebc3f0c5682c5a14f66d06a", "spanId": "d159946b5a4ce255", "parentSpanId": "ca5c99edeed3154a", "startTimeUnixNano": "1796073296883373003", "endTimeUnixNano": "1796073296894234091", "durationMs": 10.861088, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "12fcfd13bebc3f0c5682c5a14f66d06a", "spanId": "d5a4c7eb5a08a8cf", "parentSpanId": "ca5c99edeed3154a", "startTimeUnixNano": "1796073296894256934", "endTimeUnixNano": "1796073296895538953", "durationMs": 1.282019, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "12fcfd13bebc3f0c5682c5a14f66d06a", "spanId": "ca5c99edeed3154a", "parentSpanId": "df36e4d59ee0e362", "startTimeUnixNano": "1796073296881544699", "endTimeUnixNano": "1796073296895575822", "durationMs": 14.031123, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.52968, "db.connection": "reader", "db.lock_wait_ms": 1.498}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "12fcfd13bebc3f0c5682c5a14f66d06a", "spanId": "df36e4d59ee0e362", "parentSpanId": "9f555e2c4e61c3fd", "startTimeUnixNano": "1796073296881536504", "endTimeUnixNano": "1796073296895613682", "durationMs": 14.077178, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "12fcfd13bebc3f0c5682c5a14f66d06a", "spanId": "9f555e2c4e61c3fd", "parentSpanId": "3f712e56abd72ad3", "startTimeUnixNano": "1796073296881504004", "endTimeUnixNano": "1796073296895627548", "durationMs": 14.123544, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "12fcfd13bebc3f0c5682c5a14f66d06a", "spanId": "3f712e56abd72ad3", "startTimeUnixNano": "1796073296881487453", "endTimeUnixNano": "1796073296895642125", "durationMs": 14.154672, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "640488c10578dcf25fb8968b4e92cf94", "spanId": "1e023b33fb683ced", "parentSpanId": "95cca0a157277a15", "startTimeUnixNano": "1796073298599699483", "endTimeUnixNano": "1796073298600826255", "durationMs": 1.126772, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "640488c10578dcf25fb8968b4e92cf94", "spanId": "872d92fde3766466", "parentSpanId": "6a7648eb6f24377e", "startTimeUnixNano": "1796073298600909169", "endTimeUnixNano": "1796073298602228698", "durationMs": 1.319529, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009026}}
{"type": "effect-span", "name": "sqlite", "traceId": "640488c10578dcf25fb8968b4e92cf94", "spanId": "544775344cff691d", "parentSpanId": "6a7648eb6f24377e", "startTimeUnixNano": "1796073298602374398", "endTimeUnixNano": "1796073298603705779", "durationMs": 1.331381, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018775}}
{"type": "effect-span", "name": "sqlite", "traceId": "640488c10578dcf25fb8968b4e92cf94", "spanId": "f980d3bdef65750a", "parentSpanId": "6a7648eb6f24377e", "startTimeUnixNano": "1796073298603722320", "endTimeUnixNano": "1796073298604746501", "durationMs": 1.024181, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011832}}
{"type": "effect-span", "name": "sqlite", "traceId": "640488c10578dcf25fb8968b4e92cf94", "spanId": "691d2f305648a3d8", "parentSpanId": "6a7648eb6f24377e", "startTimeUnixNano": "1796073298611751764", "endTimeUnixNano": "1796073298614103519", "durationMs": 2.351755, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.042449}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "640488c10578dcf25fb8968b4e92cf94", "spanId": "6a7648eb6f24377e", "parentSpanId": "95cca0a157277a15", "startTimeUnixNano": "1796073298600896315", "endTimeUnixNano": "1796073298614473646", "durationMs": 13.577331, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "640488c10578dcf25fb8968b4e92cf94", "spanId": "c6ba293da425841b", "parentSpanId": "95cca0a157277a15", "startTimeUnixNano": "1796073298614514902", "endTimeUnixNano": "1796073298617469937", "durationMs": 2.955035, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "640488c10578dcf25fb8968b4e92cf94", "spanId": "95cca0a157277a15", "parentSpanId": "dd1b6e16247b1ae1", "startTimeUnixNano": "1796073298597485163", "endTimeUnixNano": "1796073298617523918", "durationMs": 20.038755, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.208469, "db.connection": "reader", "db.lock_wait_ms": 2.151}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "640488c10578dcf25fb8968b4e92cf94", "spanId": "dd1b6e16247b1ae1", "parentSpanId": "2126d663867cef97", "startTimeUnixNano": "1796073298597475565", "endTimeUnixNano": "1796073298617575313", "durationMs": 20.099748, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "640488c10578dcf25fb8968b4e92cf94", "spanId": "2126d663867cef97", "parentSpanId": "f218041d35550f80", "startTimeUnixNano": "1796073298597406798", "endTimeUnixNano": "1796073298617587526", "durationMs": 20.180728, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "640488c10578dcf25fb8968b4e92cf94", "spanId": "f218041d35550f80", "startTimeUnixNano": "1796073298597381481", "endTimeUnixNano": "1796073298617610619", "durationMs": 20.229138, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "26816407fb7844b70c1febefa5e2c8ea", "spanId": "c153d16f2ad25334", "parentSpanId": "d095a9ca331ae9fc", "startTimeUnixNano": "1796073298890330022", "endTimeUnixNano": "1796073298891776547", "durationMs": 1.446525, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "26816407fb7844b70c1febefa5e2c8ea", "spanId": "8a93bfaee57cd407", "parentSpanId": "fd81ec91a1109250", "startTimeUnixNano": "1796073298891850605", "endTimeUnixNano": "1796073298892047921", "durationMs": 0.197316, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007694}}
{"type": "effect-span", "name": "sqlite", "traceId": "26816407fb7844b70c1febefa5e2c8ea", "spanId": "1223c678554dc504", "parentSpanId": "fd81ec91a1109250", "startTimeUnixNano": "1796073298892143599", "endTimeUnixNano": "1796073298903145610", "durationMs": 11.002011, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010208}}
{"type": "effect-span", "name": "sqlite", "traceId": "26816407fb7844b70c1febefa5e2c8ea", "spanId": "97a2c0674f2433a7", "parentSpanId": "fd81ec91a1109250", "startTimeUnixNano": "1796073298903189551", "endTimeUnixNano": "1796073298905148558", "durationMs": 1.959007, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023664}}
{"type": "effect-span", "name": "sqlite", "traceId": "26816407fb7844b70c1febefa5e2c8ea", "spanId": "9f15bcdfb2e2b00b", "parentSpanId": "fd81ec91a1109250", "startTimeUnixNano": "1796073298911107648", "endTimeUnixNano": "1796073298913178943", "durationMs": 2.071295, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.030146}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "26816407fb7844b70c1febefa5e2c8ea", "spanId": "fd81ec91a1109250", "parentSpanId": "d095a9ca331ae9fc", "startTimeUnixNano": "1796073298891843872", "endTimeUnixNano": "1796073298913447111", "durationMs": 21.603239, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "26816407fb7844b70c1febefa5e2c8ea", "spanId": "f2ffb787cd666b8b", "parentSpanId": "d095a9ca331ae9fc", "startTimeUnixNano": "1796073298913475423", "endTimeUnixNano": "1796073298913952128", "durationMs": 0.476705, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "26816407fb7844b70c1febefa5e2c8ea", "spanId": "d095a9ca331ae9fc", "parentSpanId": "1df9f1cdcba2dbd0", "startTimeUnixNano": "1796073298887602389", "endTimeUnixNano": "1796073298913993635", "durationMs": 26.391246, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.718807, "db.connection": "reader", "db.lock_wait_ms": 2.662}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "26816407fb7844b70c1febefa5e2c8ea", "spanId": "1df9f1cdcba2dbd0", "parentSpanId": "3d5c43480774f520", "startTimeUnixNano": "1796073298887589666", "endTimeUnixNano": "1796073298914027849", "durationMs": 26.438183, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "26816407fb7844b70c1febefa5e2c8ea", "spanId": "3d5c43480774f520", "parentSpanId": "435f81dd8e36af55", "startTimeUnixNano": "1796073298887524244", "endTimeUnixNano": "1796073298914040232", "durationMs": 26.515988, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "26816407fb7844b70c1febefa5e2c8ea", "spanId": "435f81dd8e36af55", "startTimeUnixNano": "1796073298887499188", "endTimeUnixNano": "1796073298914053586", "durationMs": 26.554398, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "882a3e4c78956546cb1f3a03e499871c", "spanId": "10102b1599e3f475", "parentSpanId": "c38d5a352f70a328", "startTimeUnixNano": "1796073300612052159", "endTimeUnixNano": "1796073300612942582", "durationMs": 0.890423, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "882a3e4c78956546cb1f3a03e499871c", "spanId": "42330e6e312354e7", "parentSpanId": "1170d3579ce22f11", "startTimeUnixNano": "1796073300613013484", "endTimeUnixNano": "1796073300613682596", "durationMs": 0.669112, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009337}}
{"type": "effect-span", "name": "sqlite", "traceId": "882a3e4c78956546cb1f3a03e499871c", "spanId": "e9bbacb54d7cf618", "parentSpanId": "1170d3579ce22f11", "startTimeUnixNano": "1796073300613816324", "endTimeUnixNano": "1796073300614969805", "durationMs": 1.153481, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01604}}
{"type": "effect-span", "name": "sqlite", "traceId": "882a3e4c78956546cb1f3a03e499871c", "spanId": "bcc874583a0fd9bf", "parentSpanId": "1170d3579ce22f11", "startTimeUnixNano": "1796073300614993679", "endTimeUnixNano": "1796073300615820814", "durationMs": 0.827135, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013165}}
{"type": "effect-span", "name": "sqlite", "traceId": "882a3e4c78956546cb1f3a03e499871c", "spanId": "57784c741c81bcab", "parentSpanId": "1170d3579ce22f11", "startTimeUnixNano": "1796073300618888188", "endTimeUnixNano": "1796073300621513421", "durationMs": 2.625233, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011652}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "882a3e4c78956546cb1f3a03e499871c", "spanId": "1170d3579ce22f11", "parentSpanId": "c38d5a352f70a328", "startTimeUnixNano": "1796073300613000650", "endTimeUnixNano": "1796073300621749890", "durationMs": 8.74924, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "882a3e4c78956546cb1f3a03e499871c", "spanId": "551a7ba7ffc69179", "parentSpanId": "c38d5a352f70a328", "startTimeUnixNano": "1796073300621775468", "endTimeUnixNano": "1796073300633337259", "durationMs": 11.561791, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "882a3e4c78956546cb1f3a03e499871c", "spanId": "c38d5a352f70a328", "parentSpanId": "3913d57f0848f4bc", "startTimeUnixNano": "1796073300609134122", "endTimeUnixNano": "1796073300633411216", "durationMs": 24.277094, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.910032, "db.connection": "reader", "db.lock_wait_ms": 2.851}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "882a3e4c78956546cb1f3a03e499871c", "spanId": "3913d57f0848f4bc", "parentSpanId": "2b486e5b11278ee4", "startTimeUnixNano": "1796073300609117812", "endTimeUnixNano": "1796073300633479884", "durationMs": 24.362072, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "882a3e4c78956546cb1f3a03e499871c", "spanId": "2b486e5b11278ee4", "parentSpanId": "88124858e6c782c9", "startTimeUnixNano": "1796073300609043805", "endTimeUnixNano": "1796073300633496374", "durationMs": 24.452569, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "882a3e4c78956546cb1f3a03e499871c", "spanId": "88124858e6c782c9", "startTimeUnixNano": "1796073300609009691", "endTimeUnixNano": "1796073300633513486", "durationMs": 24.503795, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cdd9182a4b7b641b34387b6cfb7697da", "spanId": "973cc8d49a86dabd", "parentSpanId": "2311381442f93bda", "startTimeUnixNano": "1796073300975762490", "endTimeUnixNano": "1796073300976798062", "durationMs": 1.035572, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cdd9182a4b7b641b34387b6cfb7697da", "spanId": "d6bcb039e2dd9b24", "parentSpanId": "6b04b5e4667fcd19", "startTimeUnixNano": "1796073300976860408", "endTimeUnixNano": "1796073300979321266", "durationMs": 2.460858, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006763}}
{"type": "effect-span", "name": "sqlite", "traceId": "cdd9182a4b7b641b34387b6cfb7697da", "spanId": "47ffa9d103a257cf", "parentSpanId": "6b04b5e4667fcd19", "startTimeUnixNano": "1796073300979547075", "endTimeUnixNano": "1796073300982048989", "durationMs": 2.501914, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.020428}}
{"type": "effect-span", "name": "sqlite", "traceId": "cdd9182a4b7b641b34387b6cfb7697da", "spanId": "50941248e9143000", "parentSpanId": "6b04b5e4667fcd19", "startTimeUnixNano": "1796073300982082141", "endTimeUnixNano": "1796073300983548623", "durationMs": 1.466482, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017162}}
{"type": "effect-span", "name": "sqlite", "traceId": "cdd9182a4b7b641b34387b6cfb7697da", "spanId": "6bf8110f2f2cf0e0", "parentSpanId": "6b04b5e4667fcd19", "startTimeUnixNano": "1796073300988108167", "endTimeUnixNano": "1796073300991990132", "durationMs": 3.881965, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.084727}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cdd9182a4b7b641b34387b6cfb7697da", "spanId": "6b04b5e4667fcd19", "parentSpanId": "2311381442f93bda", "startTimeUnixNano": "1796073300976849658", "endTimeUnixNano": "1796073300992366932", "durationMs": 15.517274, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cdd9182a4b7b641b34387b6cfb7697da", "spanId": "c98c188b69b7f95c", "parentSpanId": "2311381442f93bda", "startTimeUnixNano": "1796073300992414861", "endTimeUnixNano": "1796073300994998156", "durationMs": 2.583295, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cdd9182a4b7b641b34387b6cfb7697da", "spanId": "2311381442f93bda", "parentSpanId": "df826b58f0fbe368", "startTimeUnixNano": "1796073300972474807", "endTimeUnixNano": "1796073300995038240", "durationMs": 22.563433, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.2807, "db.connection": "reader", "db.lock_wait_ms": 2.504}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cdd9182a4b7b641b34387b6cfb7697da", "spanId": "df826b58f0fbe368", "parentSpanId": "2fa7b32e96b61574", "startTimeUnixNano": "1796073300972428612", "endTimeUnixNano": "1796073300995067344", "durationMs": 22.638732, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cdd9182a4b7b641b34387b6cfb7697da", "spanId": "2fa7b32e96b61574", "parentSpanId": "d106b2c290989ee2", "startTimeUnixNano": "1796073300972353152", "endTimeUnixNano": "1796073300995075660", "durationMs": 22.722508, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cdd9182a4b7b641b34387b6cfb7697da", "spanId": "d106b2c290989ee2", "startTimeUnixNano": "1796073300972319399", "endTimeUnixNano": "1796073300995089586", "durationMs": 22.770187, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6a7796e562b37b15932cc259f141c77f", "spanId": "d3f0e351bea60574", "parentSpanId": "de520c30e21b5c9a", "startTimeUnixNano": "1796073302629407703", "endTimeUnixNano": "1796073302630589426", "durationMs": 1.181723, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6a7796e562b37b15932cc259f141c77f", "spanId": "689c1d170fbf0779", "parentSpanId": "4543281619e8983c", "startTimeUnixNano": "1796073302630642074", "endTimeUnixNano": "1796073302631418485", "durationMs": 0.776411, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00535}}
{"type": "effect-span", "name": "sqlite", "traceId": "6a7796e562b37b15932cc259f141c77f", "spanId": "798564bf376b7b6f", "parentSpanId": "4543281619e8983c", "startTimeUnixNano": "1796073302631530573", "endTimeUnixNano": "1796073302632578519", "durationMs": 1.047946, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015619}}
{"type": "effect-span", "name": "sqlite", "traceId": "6a7796e562b37b15932cc259f141c77f", "spanId": "c2347c9c971e800d", "parentSpanId": "4543281619e8983c", "startTimeUnixNano": "1796073302632600349", "endTimeUnixNano": "1796073302633426513", "durationMs": 0.826164, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009598}}
{"type": "effect-span", "name": "sqlite", "traceId": "6a7796e562b37b15932cc259f141c77f", "spanId": "e93930b4aabe8c41", "parentSpanId": "4543281619e8983c", "startTimeUnixNano": "1796073302639006712", "endTimeUnixNano": "1796073302643913039", "durationMs": 4.906327, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.031979}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6a7796e562b37b15932cc259f141c77f", "spanId": "4543281619e8983c", "parentSpanId": "de520c30e21b5c9a", "startTimeUnixNano": "1796073302630635251", "endTimeUnixNano": "1796073302644149368", "durationMs": 13.514117, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6a7796e562b37b15932cc259f141c77f", "spanId": "8697181c62667ca2", "parentSpanId": "de520c30e21b5c9a", "startTimeUnixNano": "1796073302644174986", "endTimeUnixNano": "1796073302645044129", "durationMs": 0.869143, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6a7796e562b37b15932cc259f141c77f", "spanId": "de520c30e21b5c9a", "parentSpanId": "d32eca74397f8a5e", "startTimeUnixNano": "1796073302626564795", "endTimeUnixNano": "1796073302645077521", "durationMs": 18.512726, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.831106, "db.connection": "reader", "db.lock_wait_ms": 2.734}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6a7796e562b37b15932cc259f141c77f", "spanId": "d32eca74397f8a5e", "parentSpanId": "1ee3ae722340cc15", "startTimeUnixNano": "1796073302626551641", "endTimeUnixNano": "1796073302645099271", "durationMs": 18.54763, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6a7796e562b37b15932cc259f141c77f", "spanId": "1ee3ae722340cc15", "parentSpanId": "b9d5d6fb7105e0fd", "startTimeUnixNano": "1796073302626468857", "endTimeUnixNano": "1796073302645106314", "durationMs": 18.637457, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6a7796e562b37b15932cc259f141c77f", "spanId": "b9d5d6fb7105e0fd", "startTimeUnixNano": "1796073302626426248", "endTimeUnixNano": "1796073302645120681", "durationMs": 18.694433, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4b35668685637beba6dead592cc05fe8", "spanId": "8543cd22167391e4", "parentSpanId": "3d6ba2112a336e19", "startTimeUnixNano": "1796073302946863105", "endTimeUnixNano": "1796073302947578984", "durationMs": 0.715879, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4b35668685637beba6dead592cc05fe8", "spanId": "1b876b39fbb6adfc", "parentSpanId": "9d048171198718ea", "startTimeUnixNano": "1796073302947657219", "endTimeUnixNano": "1796073302948067120", "durationMs": 0.409901, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009147}}
{"type": "effect-span", "name": "sqlite", "traceId": "4b35668685637beba6dead592cc05fe8", "spanId": "5495223e1081ffac", "parentSpanId": "9d048171198718ea", "startTimeUnixNano": "1796073302948181933", "endTimeUnixNano": "1796073302951224351", "durationMs": 3.042418, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015008}}
{"type": "effect-span", "name": "sqlite", "traceId": "4b35668685637beba6dead592cc05fe8", "spanId": "c601b67ad67ce131", "parentSpanId": "9d048171198718ea", "startTimeUnixNano": "1796073302951256601", "endTimeUnixNano": "1796073302952197337", "durationMs": 0.940736, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013475}}
{"type": "effect-span", "name": "sqlite", "traceId": "4b35668685637beba6dead592cc05fe8", "spanId": "ef345525cf4d8425", "parentSpanId": "9d048171198718ea", "startTimeUnixNano": "1796073302957291424", "endTimeUnixNano": "1796073302958973616", "durationMs": 1.682192, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.02715}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4b35668685637beba6dead592cc05fe8", "spanId": "9d048171198718ea", "parentSpanId": "3d6ba2112a336e19", "startTimeUnixNano": "1796073302947643474", "endTimeUnixNano": "1796073302959233879", "durationMs": 11.590405, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4b35668685637beba6dead592cc05fe8", "spanId": "0288f66772ec4a95", "parentSpanId": "3d6ba2112a336e19", "startTimeUnixNano": "1796073302959262613", "endTimeUnixNano": "1796073302960619341", "durationMs": 1.356728, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4b35668685637beba6dead592cc05fe8", "spanId": "3d6ba2112a336e19", "parentSpanId": "51124c3c87c7287c", "startTimeUnixNano": "1796073302944238703", "endTimeUnixNano": "1796073302960660618", "durationMs": 16.421915, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.616257, "db.connection": "reader", "db.lock_wait_ms": 2.563}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4b35668685637beba6dead592cc05fe8", "spanId": "51124c3c87c7287c", "parentSpanId": "d7aa08a3f1d1f591", "startTimeUnixNano": "1796073302944225218", "endTimeUnixNano": "1796073302960693439", "durationMs": 16.468221, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4b35668685637beba6dead592cc05fe8", "spanId": "d7aa08a3f1d1f591", "parentSpanId": "c3dbf7b753bb0d70", "startTimeUnixNano": "1796073302944169745", "endTimeUnixNano": "1796073302960704499", "durationMs": 16.534754, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4b35668685637beba6dead592cc05fe8", "spanId": "c3dbf7b753bb0d70", "startTimeUnixNano": "1796073302944142284", "endTimeUnixNano": "1796073302960720319", "durationMs": 16.578035, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f9fbc3cce9a45e86c0ea6b61a0b6ff71", "spanId": "6b6bbdaf7092876a", "parentSpanId": "c5126f16f0d81cf7", "startTimeUnixNano": "1796073304507173047", "endTimeUnixNano": "1796073304507983221", "durationMs": 0.810174, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f9fbc3cce9a45e86c0ea6b61a0b6ff71", "spanId": "13e1355124387dbf", "parentSpanId": "d35ae3c5cff5f60a", "startTimeUnixNano": "1796073304508029086", "endTimeUnixNano": "1796073304508376110", "durationMs": 0.347024, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005941}}
{"type": "effect-span", "name": "sqlite", "traceId": "f9fbc3cce9a45e86c0ea6b61a0b6ff71", "spanId": "0ca65b87571099eb", "parentSpanId": "d35ae3c5cff5f60a", "startTimeUnixNano": "1796073304508470566", "endTimeUnixNano": "1796073304509539319", "durationMs": 1.068753, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01104}}
{"type": "effect-span", "name": "sqlite", "traceId": "f9fbc3cce9a45e86c0ea6b61a0b6ff71", "spanId": "ed259bb5b675aada", "parentSpanId": "d35ae3c5cff5f60a", "startTimeUnixNano": "1796073304509562042", "endTimeUnixNano": "1796073304514255906", "durationMs": 4.693864, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009036}}
{"type": "effect-span", "name": "sqlite", "traceId": "f9fbc3cce9a45e86c0ea6b61a0b6ff71", "spanId": "8838be6df37ca0a6", "parentSpanId": "d35ae3c5cff5f60a", "startTimeUnixNano": "1796073304518517346", "endTimeUnixNano": "1796073304520749410", "durationMs": 2.232064, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013175}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f9fbc3cce9a45e86c0ea6b61a0b6ff71", "spanId": "d35ae3c5cff5f60a", "parentSpanId": "c5126f16f0d81cf7", "startTimeUnixNano": "1796073304508023085", "endTimeUnixNano": "1796073304520967174", "durationMs": 12.944089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f9fbc3cce9a45e86c0ea6b61a0b6ff71", "spanId": "62e7ed30efb6dae2", "parentSpanId": "c5126f16f0d81cf7", "startTimeUnixNano": "1796073304520988474", "endTimeUnixNano": "1796073304521170552", "durationMs": 0.182078, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f9fbc3cce9a45e86c0ea6b61a0b6ff71", "spanId": "c5126f16f0d81cf7", "parentSpanId": "b83ed1bfd8854fd1", "startTimeUnixNano": "1796073304504791546", "endTimeUnixNano": "1796073304521196630", "durationMs": 16.405084, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.377734, "db.connection": "reader", "db.lock_wait_ms": 2.34}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f9fbc3cce9a45e86c0ea6b61a0b6ff71", "spanId": "b83ed1bfd8854fd1", "parentSpanId": "12b1b6a542d055a9", "startTimeUnixNano": "1796073304504783310", "endTimeUnixNano": "1796073304521224492", "durationMs": 16.441182, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f9fbc3cce9a45e86c0ea6b61a0b6ff71", "spanId": "12b1b6a542d055a9", "parentSpanId": "7bcae154539d1ea4", "startTimeUnixNano": "1796073304504739830", "endTimeUnixNano": "1796073304521236845", "durationMs": 16.497015, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f9fbc3cce9a45e86c0ea6b61a0b6ff71", "spanId": "7bcae154539d1ea4", "startTimeUnixNano": "1796073304504724922", "endTimeUnixNano": "1796073304521252174", "durationMs": 16.527252, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4beb32ae01733d693d1490f26016dbca", "spanId": "58bf103cb7ff48ff", "parentSpanId": "cee81ac8c29481bf", "startTimeUnixNano": "1796073304780828519", "endTimeUnixNano": "1796073304781572330", "durationMs": 0.743811, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4beb32ae01733d693d1490f26016dbca", "spanId": "c5dbd7f48be8e427", "parentSpanId": "728f3a0a4633fc58", "startTimeUnixNano": "1796073304781624627", "endTimeUnixNano": "1796073304783088414", "durationMs": 1.463787, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006191}}
{"type": "effect-span", "name": "sqlite", "traceId": "4beb32ae01733d693d1490f26016dbca", "spanId": "a89d5c5dbc1a9ad5", "parentSpanId": "728f3a0a4633fc58", "startTimeUnixNano": "1796073304783210310", "endTimeUnixNano": "1796073304784757172", "durationMs": 1.546862, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012544}}
{"type": "effect-span", "name": "sqlite", "traceId": "4beb32ae01733d693d1490f26016dbca", "spanId": "de73469ce894245d", "parentSpanId": "728f3a0a4633fc58", "startTimeUnixNano": "1796073304784796345", "endTimeUnixNano": "1796073304785864828", "durationMs": 1.068483, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019586}}
{"type": "effect-span", "name": "sqlite", "traceId": "4beb32ae01733d693d1490f26016dbca", "spanId": "60d251481fb8de7a", "parentSpanId": "728f3a0a4633fc58", "startTimeUnixNano": "1796073304789479689", "endTimeUnixNano": "1796073304790880420", "durationMs": 1.400731, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01614}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4beb32ae01733d693d1490f26016dbca", "spanId": "728f3a0a4633fc58", "parentSpanId": "cee81ac8c29481bf", "startTimeUnixNano": "1796073304781617233", "endTimeUnixNano": "1796073304791154458", "durationMs": 9.537225, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4beb32ae01733d693d1490f26016dbca", "spanId": "9e73fb084502a4c6", "parentSpanId": "cee81ac8c29481bf", "startTimeUnixNano": "1796073304791179505", "endTimeUnixNano": "1796073304793320219", "durationMs": 2.140714, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4beb32ae01733d693d1490f26016dbca", "spanId": "cee81ac8c29481bf", "parentSpanId": "c1a0845aec55dea0", "startTimeUnixNano": "1796073304779097225", "endTimeUnixNano": "1796073304793351286", "durationMs": 14.254061, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.725363, "db.connection": "reader", "db.lock_wait_ms": 1.634}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4beb32ae01733d693d1490f26016dbca", "spanId": "c1a0845aec55dea0", "parentSpanId": "ff623fc759045293", "startTimeUnixNano": "1796073304779088799", "endTimeUnixNano": "1796073304793377154", "durationMs": 14.288355, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4beb32ae01733d693d1490f26016dbca", "spanId": "ff623fc759045293", "parentSpanId": "58fed23ffd6c8547", "startTimeUnixNano": "1796073304779047573", "endTimeUnixNano": "1796073304793384919", "durationMs": 14.337346, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4beb32ae01733d693d1490f26016dbca", "spanId": "58fed23ffd6c8547", "startTimeUnixNano": "1796073304779030060", "endTimeUnixNano": "1796073304793399987", "durationMs": 14.369927, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "868331443c09df21dcd2d4b18773703d", "spanId": "d4ff62ae57a46b37", "parentSpanId": "a50bb551df3c0760", "startTimeUnixNano": "1796073306424725830", "endTimeUnixNano": "1796073306425020938", "durationMs": 0.295108, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "868331443c09df21dcd2d4b18773703d", "spanId": "c910a0071e9b0f5f", "parentSpanId": "b81e85f27d0a3626", "startTimeUnixNano": "1796073306425079386", "endTimeUnixNano": "1796073306425918093", "durationMs": 0.838707, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007444}}
{"type": "effect-span", "name": "sqlite", "traceId": "868331443c09df21dcd2d4b18773703d", "spanId": "b18a4457b9331ac5", "parentSpanId": "b81e85f27d0a3626", "startTimeUnixNano": "1796073306426004143", "endTimeUnixNano": "1796073306426853280", "durationMs": 0.849137, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011051}}
{"type": "effect-span", "name": "sqlite", "traceId": "868331443c09df21dcd2d4b18773703d", "spanId": "193eefc027d87807", "parentSpanId": "b81e85f27d0a3626", "startTimeUnixNano": "1796073306426879218", "endTimeUnixNano": "1796073306428051033", "durationMs": 1.171815, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009638}}
{"type": "effect-span", "name": "sqlite", "traceId": "868331443c09df21dcd2d4b18773703d", "spanId": "4b8b8efbd452271d", "parentSpanId": "b81e85f27d0a3626", "startTimeUnixNano": "1796073306431129248", "endTimeUnixNano": "1796073306433503616", "durationMs": 2.374368, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014006}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "868331443c09df21dcd2d4b18773703d", "spanId": "b81e85f27d0a3626", "parentSpanId": "a50bb551df3c0760", "startTimeUnixNano": "1796073306425071512", "endTimeUnixNano": "1796073306433671428", "durationMs": 8.599916, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "868331443c09df21dcd2d4b18773703d", "spanId": "bba4c6d6e2809806", "parentSpanId": "a50bb551df3c0760", "startTimeUnixNano": "1796073306433684983", "endTimeUnixNano": "1796073306434089955", "durationMs": 0.404972, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "868331443c09df21dcd2d4b18773703d", "spanId": "a50bb551df3c0760", "parentSpanId": "5be8364997862625", "startTimeUnixNano": "1796073306422013825", "endTimeUnixNano": "1796073306434127134", "durationMs": 12.113309, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.708458, "db.connection": "reader", "db.lock_wait_ms": 2.659}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "868331443c09df21dcd2d4b18773703d", "spanId": "5be8364997862625", "parentSpanId": "f4ef62abebb3e503", "startTimeUnixNano": "1796073306422004468", "endTimeUnixNano": "1796073306434151278", "durationMs": 12.14681, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "868331443c09df21dcd2d4b18773703d", "spanId": "f4ef62abebb3e503", "parentSpanId": "f599dd02d9cfd83c", "startTimeUnixNano": "1796073306421963391", "endTimeUnixNano": "1796073306434160435", "durationMs": 12.197044, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "868331443c09df21dcd2d4b18773703d", "spanId": "f599dd02d9cfd83c", "startTimeUnixNano": "1796073306421942633", "endTimeUnixNano": "1796073306434171456", "durationMs": 12.228823, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d9819923ae5f06f638c4004836c63fa6", "spanId": "ae5a004189fac625", "parentSpanId": "ecfa88d9e170c639", "startTimeUnixNano": "1796073306708302928", "endTimeUnixNano": "1796073306708643961", "durationMs": 0.341033, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d9819923ae5f06f638c4004836c63fa6", "spanId": "6f7e44b47d1652e9", "parentSpanId": "6148897376de796f", "startTimeUnixNano": "1796073306708865232", "endTimeUnixNano": "1796073306709499890", "durationMs": 0.634658, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.019867}}
{"type": "effect-span", "name": "sqlite", "traceId": "d9819923ae5f06f638c4004836c63fa6", "spanId": "dd7b134a09db860d", "parentSpanId": "6148897376de796f", "startTimeUnixNano": "1796073306709614423", "endTimeUnixNano": "1796073306711141067", "durationMs": 1.526644, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009407}}
{"type": "effect-span", "name": "sqlite", "traceId": "d9819923ae5f06f638c4004836c63fa6", "spanId": "ac3ba935f08c3869", "parentSpanId": "6148897376de796f", "startTimeUnixNano": "1796073306711181472", "endTimeUnixNano": "1796073306713271943", "durationMs": 2.090471, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.02157}}
{"type": "effect-span", "name": "sqlite", "traceId": "d9819923ae5f06f638c4004836c63fa6", "spanId": "643b3e996f3b0cc8", "parentSpanId": "6148897376de796f", "startTimeUnixNano": "1796073306719579173", "endTimeUnixNano": "1796073306725084694", "durationMs": 5.505521, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019205}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d9819923ae5f06f638c4004836c63fa6", "spanId": "6148897376de796f", "parentSpanId": "ecfa88d9e170c639", "startTimeUnixNano": "1796073306708840867", "endTimeUnixNano": "1796073306725257214", "durationMs": 16.416347, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d9819923ae5f06f638c4004836c63fa6", "spanId": "2876bdfd8db38e1f", "parentSpanId": "ecfa88d9e170c639", "startTimeUnixNano": "1796073306725271230", "endTimeUnixNano": "1796073306725784393", "durationMs": 0.513163, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d9819923ae5f06f638c4004836c63fa6", "spanId": "ecfa88d9e170c639", "parentSpanId": "d0cfda90289e2606", "startTimeUnixNano": "1796073306705000216", "endTimeUnixNano": "1796073306725816422", "durationMs": 20.816206, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.294416, "db.connection": "reader", "db.lock_wait_ms": 3.188}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d9819923ae5f06f638c4004836c63fa6", "spanId": "d0cfda90289e2606", "parentSpanId": "c828164b7adcd2cd", "startTimeUnixNano": "1796073306704980640", "endTimeUnixNano": "1796073306725839816", "durationMs": 20.859176, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d9819923ae5f06f638c4004836c63fa6", "spanId": "c828164b7adcd2cd", "parentSpanId": "38d6ab319eca21d7", "startTimeUnixNano": "1796073306704914727", "endTimeUnixNano": "1796073306725847610", "durationMs": 20.932883, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d9819923ae5f06f638c4004836c63fa6", "spanId": "38d6ab319eca21d7", "startTimeUnixNano": "1796073306704884351", "endTimeUnixNano": "1796073306725858410", "durationMs": 20.974059, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e86d1a0cff4c02c90ec34010627882d2", "spanId": "7b5b9846c812dcd8", "parentSpanId": "04fbb18d98c7618b", "startTimeUnixNano": "1796073308521647451", "endTimeUnixNano": "1796073308522428952", "durationMs": 0.781501, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e86d1a0cff4c02c90ec34010627882d2", "spanId": "1cd3c579a6d5296e", "parentSpanId": "d85ef2efaebade7e", "startTimeUnixNano": "1796073308522506195", "endTimeUnixNano": "1796073308524615492", "durationMs": 2.109297, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009438}}
{"type": "effect-span", "name": "sqlite", "traceId": "e86d1a0cff4c02c90ec34010627882d2", "spanId": "ad3cc2135c58c8b2", "parentSpanId": "d85ef2efaebade7e", "startTimeUnixNano": "1796073308524690591", "endTimeUnixNano": "1796073308525834895", "durationMs": 1.144304, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009267}}
{"type": "effect-span", "name": "sqlite", "traceId": "e86d1a0cff4c02c90ec34010627882d2", "spanId": "89480d73e6bd5e19", "parentSpanId": "d85ef2efaebade7e", "startTimeUnixNano": "1796073308525854762", "endTimeUnixNano": "1796073308528372918", "durationMs": 2.518156, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011061}}
{"type": "effect-span", "name": "sqlite", "traceId": "e86d1a0cff4c02c90ec34010627882d2", "spanId": "846765958f515535", "parentSpanId": "d85ef2efaebade7e", "startTimeUnixNano": "1796073308531646385", "endTimeUnixNano": "1796073308533912703", "durationMs": 2.266318, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014908}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e86d1a0cff4c02c90ec34010627882d2", "spanId": "d85ef2efaebade7e", "parentSpanId": "04fbb18d98c7618b", "startTimeUnixNano": "1796073308522495235", "endTimeUnixNano": "1796073308534102956", "durationMs": 11.607721, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e86d1a0cff4c02c90ec34010627882d2", "spanId": "6d029c693d2dca87", "parentSpanId": "04fbb18d98c7618b", "startTimeUnixNano": "1796073308534117503", "endTimeUnixNano": "1796073308534452285", "durationMs": 0.334782, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e86d1a0cff4c02c90ec34010627882d2", "spanId": "04fbb18d98c7618b", "parentSpanId": "85cc58c0b080c0b4", "startTimeUnixNano": "1796073308519913812", "endTimeUnixNano": "1796073308534486879", "durationMs": 14.573067, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.729101, "db.connection": "reader", "db.lock_wait_ms": 1.691}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e86d1a0cff4c02c90ec34010627882d2", "spanId": "85cc58c0b080c0b4", "parentSpanId": "5eecbe1175f75301", "startTimeUnixNano": "1796073308519904946", "endTimeUnixNano": "1796073308534510042", "durationMs": 14.605096, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e86d1a0cff4c02c90ec34010627882d2", "spanId": "5eecbe1175f75301", "parentSpanId": "e41a8770d69157bf", "startTimeUnixNano": "1796073308519859942", "endTimeUnixNano": "1796073308534518197", "durationMs": 14.658255, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e86d1a0cff4c02c90ec34010627882d2", "spanId": "e41a8770d69157bf", "startTimeUnixNano": "1796073308519841919", "endTimeUnixNano": "1796073308534526713", "durationMs": 14.684794, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fd39117157f3366395b9ccea4072f003", "spanId": "dba233d7d68db102", "parentSpanId": "df951f6205f84d1f", "startTimeUnixNano": "1796073308872306864", "endTimeUnixNano": "1796073308872597634", "durationMs": 0.29077, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fd39117157f3366395b9ccea4072f003", "spanId": "2603be3d9e29529d", "parentSpanId": "4e43ba2c54ea065e", "startTimeUnixNano": "1796073308872675939", "endTimeUnixNano": "1796073308873085880", "durationMs": 0.409941, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008907}}
{"type": "effect-span", "name": "sqlite", "traceId": "fd39117157f3366395b9ccea4072f003", "spanId": "20144a2546331471", "parentSpanId": "4e43ba2c54ea065e", "startTimeUnixNano": "1796073308873248993", "endTimeUnixNano": "1796073308874407995", "durationMs": 1.159002, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013876}}
{"type": "effect-span", "name": "sqlite", "traceId": "fd39117157f3366395b9ccea4072f003", "spanId": "42c4563c2d73fe1c", "parentSpanId": "4e43ba2c54ea065e", "startTimeUnixNano": "1796073308874465432", "endTimeUnixNano": "1796073308875515922", "durationMs": 1.05049, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015128}}
{"type": "effect-span", "name": "sqlite", "traceId": "fd39117157f3366395b9ccea4072f003", "spanId": "23b80c093fd5758c", "parentSpanId": "4e43ba2c54ea065e", "startTimeUnixNano": "1796073308886217882", "endTimeUnixNano": "1796073308887903291", "durationMs": 1.685409, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023583}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fd39117157f3366395b9ccea4072f003", "spanId": "4e43ba2c54ea065e", "parentSpanId": "df951f6205f84d1f", "startTimeUnixNano": "1796073308872663045", "endTimeUnixNano": "1796073308888231149", "durationMs": 15.568104, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fd39117157f3366395b9ccea4072f003", "spanId": "ae43133532a3f6e3", "parentSpanId": "df951f6205f84d1f", "startTimeUnixNano": "1796073308888262377", "endTimeUnixNano": "1796073308890807693", "durationMs": 2.545316, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fd39117157f3366395b9ccea4072f003", "spanId": "df951f6205f84d1f", "parentSpanId": "9b54ac0e494c36c6", "startTimeUnixNano": "1796073308868288564", "endTimeUnixNano": "1796073308890856303", "durationMs": 22.567739, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.00743, "db.connection": "reader", "db.lock_wait_ms": 3.861}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fd39117157f3366395b9ccea4072f003", "spanId": "9b54ac0e494c36c6", "parentSpanId": "62fed18dfe71e8b8", "startTimeUnixNano": "1796073308868273446", "endTimeUnixNano": "1796073308890885227", "durationMs": 22.611781, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fd39117157f3366395b9ccea4072f003", "spanId": "62fed18dfe71e8b8", "parentSpanId": "dfab9543d2f74f92", "startTimeUnixNano": "1796073308868200911", "endTimeUnixNano": "1796073308890894094", "durationMs": 22.693183, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fd39117157f3366395b9ccea4072f003", "spanId": "dfab9543d2f74f92", "startTimeUnixNano": "1796073308868171106", "endTimeUnixNano": "1796073308890908821", "durationMs": 22.737715, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8b48f7f9c27c06b5be36e8faef442021", "spanId": "b254610899ce7cb2", "parentSpanId": "f50195fc46d62fd5", "startTimeUnixNano": "1796073310990498095", "endTimeUnixNano": "1796073310990799375", "durationMs": 0.30128, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8b48f7f9c27c06b5be36e8faef442021", "spanId": "3ea3b8bdce12a823", "parentSpanId": "01575bef623da007", "startTimeUnixNano": "1796073310990875977", "endTimeUnixNano": "1796073310992168917", "durationMs": 1.29294, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008125}}
{"type": "effect-span", "name": "sqlite", "traceId": "8b48f7f9c27c06b5be36e8faef442021", "spanId": "b9232c31942304ac", "parentSpanId": "01575bef623da007", "startTimeUnixNano": "1796073310992318635", "endTimeUnixNano": "1796073310993552767", "durationMs": 1.234132, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016531}}
{"type": "effect-span", "name": "sqlite", "traceId": "8b48f7f9c27c06b5be36e8faef442021", "spanId": "fc6d05afd927e533", "parentSpanId": "01575bef623da007", "startTimeUnixNano": "1796073310993576812", "endTimeUnixNano": "1796073310994560097", "durationMs": 0.983285, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014376}}
{"type": "effect-span", "name": "sqlite", "traceId": "8b48f7f9c27c06b5be36e8faef442021", "spanId": "29869cc2f5f188ed", "parentSpanId": "01575bef623da007", "startTimeUnixNano": "1796073310998424202", "endTimeUnixNano": "1796073311001833873", "durationMs": 3.409671, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.034574}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8b48f7f9c27c06b5be36e8faef442021", "spanId": "01575bef623da007", "parentSpanId": "f50195fc46d62fd5", "startTimeUnixNano": "1796073310990867371", "endTimeUnixNano": "1796073311002177090", "durationMs": 11.309719, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8b48f7f9c27c06b5be36e8faef442021", "spanId": "6798f9407e64a663", "parentSpanId": "f50195fc46d62fd5", "startTimeUnixNano": "1796073311002207216", "endTimeUnixNano": "1796073311003340540", "durationMs": 1.133324, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8b48f7f9c27c06b5be36e8faef442021", "spanId": "f50195fc46d62fd5", "parentSpanId": "aa3eb2cba1338fb5", "startTimeUnixNano": "1796073310986580642", "endTimeUnixNano": "1796073311003370536", "durationMs": 16.789894, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.905892, "db.connection": "reader", "db.lock_wait_ms": 3.83}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8b48f7f9c27c06b5be36e8faef442021", "spanId": "aa3eb2cba1338fb5", "parentSpanId": "91f073410b1834af", "startTimeUnixNano": "1796073310986570202", "endTimeUnixNano": "1796073311003391535", "durationMs": 16.821333, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8b48f7f9c27c06b5be36e8faef442021", "spanId": "91f073410b1834af", "parentSpanId": "d357151a5bb6a0ad", "startTimeUnixNano": "1796073310986505602", "endTimeUnixNano": "1796073311003398117", "durationMs": 16.892515, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8b48f7f9c27c06b5be36e8faef442021", "spanId": "d357151a5bb6a0ad", "startTimeUnixNano": "1796073310986477430", "endTimeUnixNano": "1796073311003410550", "durationMs": 16.93312, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0e627c026dce976f6f58fc1f2efff760", "spanId": "b57c79fbfb572c46", "parentSpanId": "2d4482238833b95b", "startTimeUnixNano": "1796073311352200233", "endTimeUnixNano": "1796073311352794396", "durationMs": 0.594163, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e627c026dce976f6f58fc1f2efff760", "spanId": "ff8d3b34145c1444", "parentSpanId": "6cca23b9c7db8882", "startTimeUnixNano": "1796073311352910862", "endTimeUnixNano": "1796073311357576415", "durationMs": 4.665553, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010971}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e627c026dce976f6f58fc1f2efff760", "spanId": "e364c7921af0fd2e", "parentSpanId": "6cca23b9c7db8882", "startTimeUnixNano": "1796073311357851326", "endTimeUnixNano": "1796073311360388717", "durationMs": 2.537391, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.060562}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e627c026dce976f6f58fc1f2efff760", "spanId": "afc94684039b09e8", "parentSpanId": "6cca23b9c7db8882", "startTimeUnixNano": "1796073311360430515", "endTimeUnixNano": "1796073311362035765", "durationMs": 1.60525, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.049161}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e627c026dce976f6f58fc1f2efff760", "spanId": "3bb579b6ba94331c", "parentSpanId": "6cca23b9c7db8882", "startTimeUnixNano": "1796073311367223688", "endTimeUnixNano": "1796073311369457766", "durationMs": 2.234078, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017593}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0e627c026dce976f6f58fc1f2efff760", "spanId": "6cca23b9c7db8882", "parentSpanId": "2d4482238833b95b", "startTimeUnixNano": "1796073311352894862", "endTimeUnixNano": "1796073311369713571", "durationMs": 16.818709, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0e627c026dce976f6f58fc1f2efff760", "spanId": "a08e16bcfaf062c6", "parentSpanId": "2d4482238833b95b", "startTimeUnixNano": "1796073311369742184", "endTimeUnixNano": "1796073311370473622", "durationMs": 0.731438, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0e627c026dce976f6f58fc1f2efff760", "spanId": "2d4482238833b95b", "parentSpanId": "dc975a15d6853624", "startTimeUnixNano": "1796073311347976230", "endTimeUnixNano": "1796073311370520760", "durationMs": 22.54453, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.215327, "db.connection": "reader", "db.lock_wait_ms": 4.039}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0e627c026dce976f6f58fc1f2efff760", "spanId": "dc975a15d6853624", "parentSpanId": "acdd8fe102457b07", "startTimeUnixNano": "1796073311347955441", "endTimeUnixNano": "1796073311370548872", "durationMs": 22.593431, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0e627c026dce976f6f58fc1f2efff760", "spanId": "acdd8fe102457b07", "parentSpanId": "f891cbcbd891a58a", "startTimeUnixNano": "1796073311347884059", "endTimeUnixNano": "1796073311370559261", "durationMs": 22.675202, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0e627c026dce976f6f58fc1f2efff760", "spanId": "f891cbcbd891a58a", "startTimeUnixNano": "1796073311347852410", "endTimeUnixNano": "1796073311370572376", "durationMs": 22.719966, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b6db5aca51c9c33a46ac8d7d4ddd4231", "spanId": "42ce66f627a9dae6", "parentSpanId": "e1e77b6315f3508a", "startTimeUnixNano": "1796073313191901252", "endTimeUnixNano": "1796073313192106603", "durationMs": 0.205351, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b6db5aca51c9c33a46ac8d7d4ddd4231", "spanId": "2cdb738385de7ae1", "parentSpanId": "051ab9b9f396731c", "startTimeUnixNano": "1796073313192171343", "endTimeUnixNano": "1796073313193048202", "durationMs": 0.876859, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009057}}
{"type": "effect-span", "name": "sqlite", "traceId": "b6db5aca51c9c33a46ac8d7d4ddd4231", "spanId": "77edef7284f73d97", "parentSpanId": "051ab9b9f396731c", "startTimeUnixNano": "1796073313193139461", "endTimeUnixNano": "1796073313194050723", "durationMs": 0.911262, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01101}}
{"type": "effect-span", "name": "sqlite", "traceId": "b6db5aca51c9c33a46ac8d7d4ddd4231", "spanId": "62664368927b9de9", "parentSpanId": "051ab9b9f396731c", "startTimeUnixNano": "1796073313194082693", "endTimeUnixNano": "1796073313195092087", "durationMs": 1.009394, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012493}}
{"type": "effect-span", "name": "sqlite", "traceId": "b6db5aca51c9c33a46ac8d7d4ddd4231", "spanId": "97ae5d584949c327", "parentSpanId": "051ab9b9f396731c", "startTimeUnixNano": "1796073313199581533", "endTimeUnixNano": "1796073313204561811", "durationMs": 4.980278, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018645}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b6db5aca51c9c33a46ac8d7d4ddd4231", "spanId": "051ab9b9f396731c", "parentSpanId": "e1e77b6315f3508a", "startTimeUnixNano": "1796073313192160944", "endTimeUnixNano": "1796073313205007058", "durationMs": 12.846114, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b6db5aca51c9c33a46ac8d7d4ddd4231", "spanId": "3bf0825afcd12cc3", "parentSpanId": "e1e77b6315f3508a", "startTimeUnixNano": "1796073313205082267", "endTimeUnixNano": "1796073313205281858", "durationMs": 0.199591, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b6db5aca51c9c33a46ac8d7d4ddd4231", "spanId": "e1e77b6315f3508a", "parentSpanId": "e1d7f69b926cdd33", "startTimeUnixNano": "1796073313188375595", "endTimeUnixNano": "1796073313205368930", "durationMs": 16.993335, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.518584, "db.connection": "reader", "db.lock_wait_ms": 3.476}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b6db5aca51c9c33a46ac8d7d4ddd4231", "spanId": "e1d7f69b926cdd33", "parentSpanId": "533f2e964e38b291", "startTimeUnixNano": "1796073313188365707", "endTimeUnixNano": "1796073313205417981", "durationMs": 17.052274, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b6db5aca51c9c33a46ac8d7d4ddd4231", "spanId": "533f2e964e38b291", "parentSpanId": "ea1070c4076c979d", "startTimeUnixNano": "1796073313188311717", "endTimeUnixNano": "1796073313205426787", "durationMs": 17.11507, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b6db5aca51c9c33a46ac8d7d4ddd4231", "spanId": "ea1070c4076c979d", "startTimeUnixNano": "1796073313188285869", "endTimeUnixNano": "1796073313205476349", "durationMs": 17.19048, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ecde8944df3646060851715cc8fe893f", "spanId": "f27242ae51f0c14c", "parentSpanId": "802a5b59694b6410", "startTimeUnixNano": "1796073313546535000", "endTimeUnixNano": "1796073313547297345", "durationMs": 0.762345, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ecde8944df3646060851715cc8fe893f", "spanId": "4bc8edb9c9eac1d2", "parentSpanId": "40fdf4ef78752d31", "startTimeUnixNano": "1796073313547359420", "endTimeUnixNano": "1796073313547771405", "durationMs": 0.411985, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007574}}
{"type": "effect-span", "name": "sqlite", "traceId": "ecde8944df3646060851715cc8fe893f", "spanId": "cd6c306ed9163504", "parentSpanId": "40fdf4ef78752d31", "startTimeUnixNano": "1796073313547880197", "endTimeUnixNano": "1796073313550905675", "durationMs": 3.025478, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012975}}
{"type": "effect-span", "name": "sqlite", "traceId": "ecde8944df3646060851715cc8fe893f", "spanId": "3a2b86a5b9decaeb", "parentSpanId": "40fdf4ef78752d31", "startTimeUnixNano": "1796073313550932786", "endTimeUnixNano": "1796073313552370736", "durationMs": 1.43795, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010269}}
{"type": "effect-span", "name": "sqlite", "traceId": "ecde8944df3646060851715cc8fe893f", "spanId": "7b563ab231f65ca9", "parentSpanId": "40fdf4ef78752d31", "startTimeUnixNano": "1796073313557743342", "endTimeUnixNano": "1796073313559622331", "durationMs": 1.878989, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.029404}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ecde8944df3646060851715cc8fe893f", "spanId": "40fdf4ef78752d31", "parentSpanId": "802a5b59694b6410", "startTimeUnixNano": "1796073313547350634", "endTimeUnixNano": "1796073313559901549", "durationMs": 12.550915, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ecde8944df3646060851715cc8fe893f", "spanId": "865030223287bc5c", "parentSpanId": "802a5b59694b6410", "startTimeUnixNano": "1796073313559937266", "endTimeUnixNano": "1796073313561376528", "durationMs": 1.439262, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ecde8944df3646060851715cc8fe893f", "spanId": "802a5b59694b6410", "parentSpanId": "c26c4ad80f0cca1f", "startTimeUnixNano": "1796073313544114625", "endTimeUnixNano": "1796073313561419107", "durationMs": 17.304482, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.414343, "db.connection": "reader", "db.lock_wait_ms": 2.368}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ecde8944df3646060851715cc8fe893f", "spanId": "c26c4ad80f0cca1f", "parentSpanId": "a17653be7c500fb6", "startTimeUnixNano": "1796073313544103054", "endTimeUnixNano": "1796073313561473999", "durationMs": 17.370945, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ecde8944df3646060851715cc8fe893f", "spanId": "a17653be7c500fb6", "parentSpanId": "7f8dfcd41231e71d", "startTimeUnixNano": "1796073313544058441", "endTimeUnixNano": "1796073313561489618", "durationMs": 17.431177, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ecde8944df3646060851715cc8fe893f", "spanId": "7f8dfcd41231e71d", "startTimeUnixNano": "1796073313544030639", "endTimeUnixNano": "1796073313561504185", "durationMs": 17.473546, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "369ddc45cc50cfa34b078d6a5ec08040", "spanId": "9cd7ed679e97080e", "parentSpanId": "da29d5b457bc8a61", "startTimeUnixNano": "1796073315380292468", "endTimeUnixNano": "1796073315380589008", "durationMs": 0.29654, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "369ddc45cc50cfa34b078d6a5ec08040", "spanId": "39124ca432805eb0", "parentSpanId": "b81a2b9b9eacb0f5", "startTimeUnixNano": "1796073315380654019", "endTimeUnixNano": "1796073315381784869", "durationMs": 1.13085, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008466}}
{"type": "effect-span", "name": "sqlite", "traceId": "369ddc45cc50cfa34b078d6a5ec08040", "spanId": "bb95e841b06300e7", "parentSpanId": "b81a2b9b9eacb0f5", "startTimeUnixNano": "1796073315381904732", "endTimeUnixNano": "1796073315383063253", "durationMs": 1.158521, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015989}}
{"type": "effect-span", "name": "sqlite", "traceId": "369ddc45cc50cfa34b078d6a5ec08040", "spanId": "c2a8dde3aa80609d", "parentSpanId": "b81a2b9b9eacb0f5", "startTimeUnixNano": "1796073315383088610", "endTimeUnixNano": "1796073315384422367", "durationMs": 1.333757, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014076}}
{"type": "effect-span", "name": "sqlite", "traceId": "369ddc45cc50cfa34b078d6a5ec08040", "spanId": "c255966e3d7a898a", "parentSpanId": "b81a2b9b9eacb0f5", "startTimeUnixNano": "1796073315388911463", "endTimeUnixNano": "1796073315391662431", "durationMs": 2.750968, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022452}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "369ddc45cc50cfa34b078d6a5ec08040", "spanId": "b81a2b9b9eacb0f5", "parentSpanId": "da29d5b457bc8a61", "startTimeUnixNano": "1796073315380642939", "endTimeUnixNano": "1796073315391926472", "durationMs": 11.283533, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "369ddc45cc50cfa34b078d6a5ec08040", "spanId": "7d534f73389afc6e", "parentSpanId": "da29d5b457bc8a61", "startTimeUnixNano": "1796073315391953372", "endTimeUnixNano": "1796073315392784174", "durationMs": 0.830802, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "369ddc45cc50cfa34b078d6a5ec08040", "spanId": "da29d5b457bc8a61", "parentSpanId": "d16f3731d1febf44", "startTimeUnixNano": "1796073315376892865", "endTimeUnixNano": "1796073315392817045", "durationMs": 15.92418, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.390696, "db.connection": "reader", "db.lock_wait_ms": 3.322}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "369ddc45cc50cfa34b078d6a5ec08040", "spanId": "d16f3731d1febf44", "parentSpanId": "5db143747b205d17", "startTimeUnixNano": "1796073315376879901", "endTimeUnixNano": "1796073315392850027", "durationMs": 15.970126, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "369ddc45cc50cfa34b078d6a5ec08040", "spanId": "5db143747b205d17", "parentSpanId": "fd60a0e4878b2d14", "startTimeUnixNano": "1796073315376818797", "endTimeUnixNano": "1796073315392856459", "durationMs": 16.037662, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "369ddc45cc50cfa34b078d6a5ec08040", "spanId": "fd60a0e4878b2d14", "startTimeUnixNano": "1796073315376789112", "endTimeUnixNano": "1796073315392869543", "durationMs": 16.080431, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "adadb168145db58722edfb763e46c6e0", "spanId": "eb593715133fb5f5", "parentSpanId": "9b8f1ece87bf6cf8", "startTimeUnixNano": "1796073315709850755", "endTimeUnixNano": "1796073315710061527", "durationMs": 0.210772, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "adadb168145db58722edfb763e46c6e0", "spanId": "f794e7c4f7f3cf24", "parentSpanId": "244f52b859f99e28", "startTimeUnixNano": "1796073315710122530", "endTimeUnixNano": "1796073315710464104", "durationMs": 0.341574, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006993}}
{"type": "effect-span", "name": "sqlite", "traceId": "adadb168145db58722edfb763e46c6e0", "spanId": "7527838d917a1cc7", "parentSpanId": "244f52b859f99e28", "startTimeUnixNano": "1796073315710560303", "endTimeUnixNano": "1796073315711499878", "durationMs": 0.939575, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01105}}
{"type": "effect-span", "name": "sqlite", "traceId": "adadb168145db58722edfb763e46c6e0", "spanId": "7c5845c2a781a275", "parentSpanId": "244f52b859f99e28", "startTimeUnixNano": "1796073315711535544", "endTimeUnixNano": "1796073315712592747", "durationMs": 1.057203, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012062}}
{"type": "effect-span", "name": "sqlite", "traceId": "adadb168145db58722edfb763e46c6e0", "spanId": "44e5c27eee5abd71", "parentSpanId": "244f52b859f99e28", "startTimeUnixNano": "1796073315718456065", "endTimeUnixNano": "1796073315719822843", "durationMs": 1.366778, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018464}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "adadb168145db58722edfb763e46c6e0", "spanId": "244f52b859f99e28", "parentSpanId": "9b8f1ece87bf6cf8", "startTimeUnixNano": "1796073315710114495", "endTimeUnixNano": "1796073315720052049", "durationMs": 9.937554, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "adadb168145db58722edfb763e46c6e0", "spanId": "913e5d1b03210f9a", "parentSpanId": "9b8f1ece87bf6cf8", "startTimeUnixNano": "1796073315720083026", "endTimeUnixNano": "1796073315720659827", "durationMs": 0.576801, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "adadb168145db58722edfb763e46c6e0", "spanId": "9b8f1ece87bf6cf8", "parentSpanId": "6d3a9ac78fce4da2", "startTimeUnixNano": "1796073315706268844", "endTimeUnixNano": "1796073315720697517", "durationMs": 14.428673, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.575379, "db.connection": "reader", "db.lock_wait_ms": 3.458}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "adadb168145db58722edfb763e46c6e0", "spanId": "6d3a9ac78fce4da2", "parentSpanId": "970949070b114877", "startTimeUnixNano": "1796073315706251842", "endTimeUnixNano": "1796073315720729306", "durationMs": 14.477464, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "adadb168145db58722edfb763e46c6e0", "spanId": "970949070b114877", "parentSpanId": "06acb8f34d72cbad", "startTimeUnixNano": "1796073315706174949", "endTimeUnixNano": "1796073315720743553", "durationMs": 14.568604, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "adadb168145db58722edfb763e46c6e0", "spanId": "06acb8f34d72cbad", "startTimeUnixNano": "1796073315706147348", "endTimeUnixNano": "1796073315720758921", "durationMs": 14.611573, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2f989760ed3a88530ed2379e05dd806b", "spanId": "e0c271cd5e47bc1d", "parentSpanId": "8472299803d18c8e", "startTimeUnixNano": "1796073317514040478", "endTimeUnixNano": "1796073317515073777", "durationMs": 1.033299, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2f989760ed3a88530ed2379e05dd806b", "spanId": "33b0a7b95f9ae6b2", "parentSpanId": "e2e1a0c51b44c99e", "startTimeUnixNano": "1796073317515141663", "endTimeUnixNano": "1796073317516922009", "durationMs": 1.780346, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009247}}
{"type": "effect-span", "name": "sqlite", "traceId": "2f989760ed3a88530ed2379e05dd806b", "spanId": "b8c1087d09d88815", "parentSpanId": "e2e1a0c51b44c99e", "startTimeUnixNano": "1796073317517024018", "endTimeUnixNano": "1796073317518136684", "durationMs": 1.112666, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012814}}
{"type": "effect-span", "name": "sqlite", "traceId": "2f989760ed3a88530ed2379e05dd806b", "spanId": "a07d00a32873a966", "parentSpanId": "e2e1a0c51b44c99e", "startTimeUnixNano": "1796073317518150931", "endTimeUnixNano": "1796073317519507741", "durationMs": 1.35681, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.020889}}
{"type": "effect-span", "name": "sqlite", "traceId": "2f989760ed3a88530ed2379e05dd806b", "spanId": "8a47e4cf8066729b", "parentSpanId": "e2e1a0c51b44c99e", "startTimeUnixNano": "1796073317527158418", "endTimeUnixNano": "1796073317529970350", "durationMs": 2.811932, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019887}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2f989760ed3a88530ed2379e05dd806b", "spanId": "e2e1a0c51b44c99e", "parentSpanId": "8472299803d18c8e", "startTimeUnixNano": "1796073317515130312", "endTimeUnixNano": "1796073317530149803", "durationMs": 15.019491, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2f989760ed3a88530ed2379e05dd806b", "spanId": "fadb81f07d2d2805", "parentSpanId": "8472299803d18c8e", "startTimeUnixNano": "1796073317530177224", "endTimeUnixNano": "1796073317530341499", "durationMs": 0.164275, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2f989760ed3a88530ed2379e05dd806b", "spanId": "8472299803d18c8e", "parentSpanId": "6702e57038036645", "startTimeUnixNano": "1796073317509690770", "endTimeUnixNano": "1796073317530361787", "durationMs": 20.671017, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.342975, "db.connection": "reader", "db.lock_wait_ms": 4.294}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2f989760ed3a88530ed2379e05dd806b", "spanId": "6702e57038036645", "parentSpanId": "d272fca8b7c3e15d", "startTimeUnixNano": "1796073317509679840", "endTimeUnixNano": "1796073317530376604", "durationMs": 20.696764, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2f989760ed3a88530ed2379e05dd806b", "spanId": "d272fca8b7c3e15d", "parentSpanId": "7819895977a7fcd5", "startTimeUnixNano": "1796073317509634736", "endTimeUnixNano": "1796073317530382385", "durationMs": 20.747649, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2f989760ed3a88530ed2379e05dd806b", "spanId": "7819895977a7fcd5", "startTimeUnixNano": "1796073317509608337", "endTimeUnixNano": "1796073317530389418", "durationMs": 20.781081, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9b955c5ec41cce1acb5e16caef0e694f", "spanId": "4d7eba4127d696c8", "parentSpanId": "4e0859795bdeb0d3", "startTimeUnixNano": "1796073317836562158", "endTimeUnixNano": "1796073317837229157", "durationMs": 0.666999, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9b955c5ec41cce1acb5e16caef0e694f", "spanId": "11326c23e7e03be4", "parentSpanId": "06ca8b72128e16f5", "startTimeUnixNano": "1796073317837295841", "endTimeUnixNano": "1796073317839280817", "durationMs": 1.984976, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011752}}
{"type": "effect-span", "name": "sqlite", "traceId": "9b955c5ec41cce1acb5e16caef0e694f", "spanId": "da210a373c4f91bb", "parentSpanId": "06ca8b72128e16f5", "startTimeUnixNano": "1796073317839355646", "endTimeUnixNano": "1796073317840647435", "durationMs": 1.291789, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009968}}
{"type": "effect-span", "name": "sqlite", "traceId": "9b955c5ec41cce1acb5e16caef0e694f", "spanId": "dd32d3e0ea2748cb", "parentSpanId": "06ca8b72128e16f5", "startTimeUnixNano": "1796073317840678793", "endTimeUnixNano": "1796073317841965673", "durationMs": 1.28688, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012433}}
{"type": "effect-span", "name": "sqlite", "traceId": "9b955c5ec41cce1acb5e16caef0e694f", "spanId": "a6b4c4d9da7dab8d", "parentSpanId": "06ca8b72128e16f5", "startTimeUnixNano": "1796073317845264278", "endTimeUnixNano": "1796073317847183944", "durationMs": 1.919666, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.036067}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9b955c5ec41cce1acb5e16caef0e694f", "spanId": "06ca8b72128e16f5", "parentSpanId": "4e0859795bdeb0d3", "startTimeUnixNano": "1796073317837280212", "endTimeUnixNano": "1796073317847416896", "durationMs": 10.136684, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9b955c5ec41cce1acb5e16caef0e694f", "spanId": "892d1166ec8ec132", "parentSpanId": "4e0859795bdeb0d3", "startTimeUnixNano": "1796073317847460928", "endTimeUnixNano": "1796073317851599934", "durationMs": 4.139006, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9b955c5ec41cce1acb5e16caef0e694f", "spanId": "4e0859795bdeb0d3", "parentSpanId": "26c73b3108a417d6", "startTimeUnixNano": "1796073317834163424", "endTimeUnixNano": "1796073317851623628", "durationMs": 17.460204, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.390459, "db.connection": "reader", "db.lock_wait_ms": 2.269}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9b955c5ec41cce1acb5e16caef0e694f", "spanId": "26c73b3108a417d6", "parentSpanId": "3258c222c873c32d", "startTimeUnixNano": "1796073317834139629", "endTimeUnixNano": "1796073317851639728", "durationMs": 17.500099, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9b955c5ec41cce1acb5e16caef0e694f", "spanId": "3258c222c873c32d", "parentSpanId": "621f689fe28fb375", "startTimeUnixNano": "1796073317834068878", "endTimeUnixNano": "1796073317851649977", "durationMs": 17.581099, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9b955c5ec41cce1acb5e16caef0e694f", "spanId": "621f689fe28fb375", "startTimeUnixNano": "1796073317834039513", "endTimeUnixNano": "1796073317851657231", "durationMs": 17.617718, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1210f9a27daf25c34e41104567b30532", "spanId": "cf2d2f32453ba566", "parentSpanId": "c7782a5e3d98b9dd", "startTimeUnixNano": "1796073319728798259", "endTimeUnixNano": "1796073319729053133", "durationMs": 0.254874, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1210f9a27daf25c34e41104567b30532", "spanId": "817a0280b368c1b8", "parentSpanId": "b32ff0f8f304eaf9", "startTimeUnixNano": "1796073319729109637", "endTimeUnixNano": "1796073319730058960", "durationMs": 0.949323, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01569}}
{"type": "effect-span", "name": "sqlite", "traceId": "1210f9a27daf25c34e41104567b30532", "spanId": "87eac1bb42dd1e88", "parentSpanId": "b32ff0f8f304eaf9", "startTimeUnixNano": "1796073319730214249", "endTimeUnixNano": "1796073319731201041", "durationMs": 0.986792, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017793}}
{"type": "effect-span", "name": "sqlite", "traceId": "1210f9a27daf25c34e41104567b30532", "spanId": "1f555926365cab40", "parentSpanId": "b32ff0f8f304eaf9", "startTimeUnixNano": "1796073319731229965", "endTimeUnixNano": "1796073319732645765", "durationMs": 1.4158, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012063}}
{"type": "effect-span", "name": "sqlite", "traceId": "1210f9a27daf25c34e41104567b30532", "spanId": "3489707060e8f82f", "parentSpanId": "b32ff0f8f304eaf9", "startTimeUnixNano": "1796073319739826280", "endTimeUnixNano": "1796073319745886895", "durationMs": 6.060615, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.031108}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1210f9a27daf25c34e41104567b30532", "spanId": "b32ff0f8f304eaf9", "parentSpanId": "c7782a5e3d98b9dd", "startTimeUnixNano": "1796073319729099889", "endTimeUnixNano": "1796073319746241073", "durationMs": 17.141184, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1210f9a27daf25c34e41104567b30532", "spanId": "5ced1d411007e337", "parentSpanId": "c7782a5e3d98b9dd", "startTimeUnixNano": "1796073319746280677", "endTimeUnixNano": "1796073319747201457", "durationMs": 0.92078, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1210f9a27daf25c34e41104567b30532", "spanId": "c7782a5e3d98b9dd", "parentSpanId": "7dcf274f6c8129a1", "startTimeUnixNano": "1796073319724332656", "endTimeUnixNano": "1796073319747245008", "durationMs": 22.912352, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.449173, "db.connection": "reader", "db.lock_wait_ms": 4.378}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1210f9a27daf25c34e41104567b30532", "spanId": "7dcf274f6c8129a1", "parentSpanId": "88a936e2b717a42c", "startTimeUnixNano": "1796073319724316516", "endTimeUnixNano": "1796073319747275564", "durationMs": 22.959048, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1210f9a27daf25c34e41104567b30532", "spanId": "88a936e2b717a42c", "parentSpanId": "75fe8b13b723aeef", "startTimeUnixNano": "1796073319724261333", "endTimeUnixNano": "1796073319747294409", "durationMs": 23.033076, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1210f9a27daf25c34e41104567b30532", "spanId": "75fe8b13b723aeef", "startTimeUnixNano": "1796073319724236076", "endTimeUnixNano": "1796073319747311842", "durationMs": 23.075766, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9348117a2805a598fb18e5e53a7aa6d0", "spanId": "a0a5eb12e104a9fb", "parentSpanId": "dd5cfe79fe299d16", "startTimeUnixNano": "1796073320092150324", "endTimeUnixNano": "1796073320092595271", "durationMs": 0.444947, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9348117a2805a598fb18e5e53a7aa6d0", "spanId": "c8caf3018fca2029", "parentSpanId": "0412afb34dd20c34", "startTimeUnixNano": "1796073320092680289", "endTimeUnixNano": "1796073320092833543", "durationMs": 0.153254, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008105}}
{"type": "effect-span", "name": "sqlite", "traceId": "9348117a2805a598fb18e5e53a7aa6d0", "spanId": "b36b5e1da26c04bb", "parentSpanId": "0412afb34dd20c34", "startTimeUnixNano": "1796073320092951202", "endTimeUnixNano": "1796073320094085048", "durationMs": 1.133846, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011551}}
{"type": "effect-span", "name": "sqlite", "traceId": "9348117a2805a598fb18e5e53a7aa6d0", "spanId": "552295f50e26f11f", "parentSpanId": "0412afb34dd20c34", "startTimeUnixNano": "1796073320094103031", "endTimeUnixNano": "1796073320095551020", "durationMs": 1.447989, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016701}}
{"type": "effect-span", "name": "sqlite", "traceId": "9348117a2805a598fb18e5e53a7aa6d0", "spanId": "b0f2de312bcc8201", "parentSpanId": "0412afb34dd20c34", "startTimeUnixNano": "1796073320101292383", "endTimeUnixNano": "1796073320104672851", "durationMs": 3.380468, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.050894}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9348117a2805a598fb18e5e53a7aa6d0", "spanId": "0412afb34dd20c34", "parentSpanId": "dd5cfe79fe299d16", "startTimeUnixNano": "1796073320092664790", "endTimeUnixNano": "1796073320105019285", "durationMs": 12.354495, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9348117a2805a598fb18e5e53a7aa6d0", "spanId": "828f609ff87cbfb5", "parentSpanId": "dd5cfe79fe299d16", "startTimeUnixNano": "1796073320105056403", "endTimeUnixNano": "1796073320106100943", "durationMs": 1.04454, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9348117a2805a598fb18e5e53a7aa6d0", "spanId": "dd5cfe79fe299d16", "parentSpanId": "7249c6e592b29c16", "startTimeUnixNano": "1796073320089623021", "endTimeUnixNano": "1796073320106152549", "durationMs": 16.529528, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.518988, "db.connection": "reader", "db.lock_wait_ms": 2.48}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9348117a2805a598fb18e5e53a7aa6d0", "spanId": "7249c6e592b29c16", "parentSpanId": "b2040be4d24c8592", "startTimeUnixNano": "1796073320089613643", "endTimeUnixNano": "1796073320106218482", "durationMs": 16.604839, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9348117a2805a598fb18e5e53a7aa6d0", "spanId": "b2040be4d24c8592", "parentSpanId": "bc0fb5c0020cc124", "startTimeUnixNano": "1796073320089568860", "endTimeUnixNano": "1796073320106236505", "durationMs": 16.667645, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9348117a2805a598fb18e5e53a7aa6d0", "spanId": "bc0fb5c0020cc124", "startTimeUnixNano": "1796073320089538013", "endTimeUnixNano": "1796073320106255751", "durationMs": 16.717738, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "982a094d25d2eb45373eaf172b417c2d", "spanId": "b34db680acce955f", "parentSpanId": "fc94a0798ed0a6f9", "startTimeUnixNano": "1796073322088539277", "endTimeUnixNano": "1796073322089551387", "durationMs": 1.01211, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "982a094d25d2eb45373eaf172b417c2d", "spanId": "fd24ba9018005f59", "parentSpanId": "755d98f63a5f7509", "startTimeUnixNano": "1796073322089621266", "endTimeUnixNano": "1796073322090486814", "durationMs": 0.865548, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010279}}
{"type": "effect-span", "name": "sqlite", "traceId": "982a094d25d2eb45373eaf172b417c2d", "spanId": "0d9ff0ee7b7e3ce9", "parentSpanId": "755d98f63a5f7509", "startTimeUnixNano": "1796073322090586018", "endTimeUnixNano": "1796073322091582699", "durationMs": 0.996681, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014176}}
{"type": "effect-span", "name": "sqlite", "traceId": "982a094d25d2eb45373eaf172b417c2d", "spanId": "5e52438130c7cf40", "parentSpanId": "755d98f63a5f7509", "startTimeUnixNano": "1796073322091598619", "endTimeUnixNano": "1796073322092368238", "durationMs": 0.769619, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01097}}
{"type": "effect-span", "name": "sqlite", "traceId": "982a094d25d2eb45373eaf172b417c2d", "spanId": "6790e615144d2ac4", "parentSpanId": "755d98f63a5f7509", "startTimeUnixNano": "1796073322096201858", "endTimeUnixNano": "1796073322099197923", "durationMs": 2.996065, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009899}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "982a094d25d2eb45373eaf172b417c2d", "spanId": "755d98f63a5f7509", "parentSpanId": "fc94a0798ed0a6f9", "startTimeUnixNano": "1796073322089609565", "endTimeUnixNano": "1796073322099406370", "durationMs": 9.796805, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "982a094d25d2eb45373eaf172b417c2d", "spanId": "3b5cddbef3eacf8d", "parentSpanId": "fc94a0798ed0a6f9", "startTimeUnixNano": "1796073322099427690", "endTimeUnixNano": "1796073322100021984", "durationMs": 0.594294, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "982a094d25d2eb45373eaf172b417c2d", "spanId": "fc94a0798ed0a6f9", "parentSpanId": "b8aaf12ef202dde9", "startTimeUnixNano": "1796073322086380838", "endTimeUnixNano": "1796073322100044205", "durationMs": 13.663367, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.150153, "db.connection": "reader", "db.lock_wait_ms": 2.07}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "982a094d25d2eb45373eaf172b417c2d", "spanId": "b8aaf12ef202dde9", "parentSpanId": "b2f26a7f7c781129", "startTimeUnixNano": "1796073322086360981", "endTimeUnixNano": "1796073322100062248", "durationMs": 13.701267, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "982a094d25d2eb45373eaf172b417c2d", "spanId": "b2f26a7f7c781129", "parentSpanId": "227290c71f57869e", "startTimeUnixNano": "1796073322086282655", "endTimeUnixNano": "1796073322100076585", "durationMs": 13.79393, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "982a094d25d2eb45373eaf172b417c2d", "spanId": "227290c71f57869e", "startTimeUnixNano": "1796073322086248382", "endTimeUnixNano": "1796073322100087495", "durationMs": 13.839113, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1a237c21e93633a00265cc36fb0ffc44", "spanId": "80a0725091c826a3", "parentSpanId": "6f4010ade30c0d80", "startTimeUnixNano": "1796073322522094808", "endTimeUnixNano": "1796073322523663391", "durationMs": 1.568583, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1a237c21e93633a00265cc36fb0ffc44", "spanId": "fc31b06c86e6996d", "parentSpanId": "14cf7a14c6d71147", "startTimeUnixNano": "1796073322523836242", "endTimeUnixNano": "1796073322524391724", "durationMs": 0.555482, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013425}}
{"type": "effect-span", "name": "sqlite", "traceId": "1a237c21e93633a00265cc36fb0ffc44", "spanId": "d06b6ad6445497b0", "parentSpanId": "14cf7a14c6d71147", "startTimeUnixNano": "1796073322524645355", "endTimeUnixNano": "1796073322526886518", "durationMs": 2.241163, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.023173}}
{"type": "effect-span", "name": "sqlite", "traceId": "1a237c21e93633a00265cc36fb0ffc44", "spanId": "0a640d50299e50de", "parentSpanId": "14cf7a14c6d71147", "startTimeUnixNano": "1796073322526922054", "endTimeUnixNano": "1796073322528314800", "durationMs": 1.392746, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.022101}}
{"type": "effect-span", "name": "sqlite", "traceId": "1a237c21e93633a00265cc36fb0ffc44", "spanId": "ed183146a9c81e33", "parentSpanId": "14cf7a14c6d71147", "startTimeUnixNano": "1796073322535098520", "endTimeUnixNano": "1796073322564319201", "durationMs": 29.220681, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.099695}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1a237c21e93633a00265cc36fb0ffc44", "spanId": "14cf7a14c6d71147", "parentSpanId": "6f4010ade30c0d80", "startTimeUnixNano": "1796073322523810815", "endTimeUnixNano": "1796073322564829860", "durationMs": 41.019045, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1a237c21e93633a00265cc36fb0ffc44", "spanId": "0296babffea5dcf8", "parentSpanId": "6f4010ade30c0d80", "startTimeUnixNano": "1796073322564879372", "endTimeUnixNano": "1796073322566416787", "durationMs": 1.537415, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1a237c21e93633a00265cc36fb0ffc44", "spanId": "6f4010ade30c0d80", "parentSpanId": "2d320c714b56e19b", "startTimeUnixNano": "1796073322517426097", "endTimeUnixNano": "1796073322566491355", "durationMs": 49.065258, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.648293, "db.connection": "reader", "db.lock_wait_ms": 4.491}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1a237c21e93633a00265cc36fb0ffc44", "spanId": "2d320c714b56e19b", "parentSpanId": "9c1296adf7b3a752", "startTimeUnixNano": "1796073322517402483", "endTimeUnixNano": "1796073322566529967", "durationMs": 49.127484, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1a237c21e93633a00265cc36fb0ffc44", "spanId": "9c1296adf7b3a752", "parentSpanId": "995b972c3c57ad0b", "startTimeUnixNano": "1796073322517340348", "endTimeUnixNano": "1796073322566541769", "durationMs": 49.201421, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1a237c21e93633a00265cc36fb0ffc44", "spanId": "995b972c3c57ad0b", "startTimeUnixNano": "1796073322517312015", "endTimeUnixNano": "1796073322566558360", "durationMs": 49.246345, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0899297cc7e6c48e986e9e6d4fb52cff", "spanId": "da4bed83c005ec4b", "parentSpanId": "a631c5d8295672c2", "startTimeUnixNano": "1796073324410308356", "endTimeUnixNano": "1796073324410757029", "durationMs": 0.448673, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0899297cc7e6c48e986e9e6d4fb52cff", "spanId": "1b7dfa4d8cd86212", "parentSpanId": "8e722dae85623696", "startTimeUnixNano": "1796073324410845474", "endTimeUnixNano": "1796073324411852684", "durationMs": 1.00721, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010679}}
{"type": "effect-span", "name": "sqlite", "traceId": "0899297cc7e6c48e986e9e6d4fb52cff", "spanId": "ea16f40c1119c24f", "parentSpanId": "8e722dae85623696", "startTimeUnixNano": "1796073324411976504", "endTimeUnixNano": "1796073324413650774", "durationMs": 1.67427, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014547}}
{"type": "effect-span", "name": "sqlite", "traceId": "0899297cc7e6c48e986e9e6d4fb52cff", "spanId": "f0574e68fef5d132", "parentSpanId": "8e722dae85623696", "startTimeUnixNano": "1796073324413679367", "endTimeUnixNano": "1796073324415310337", "durationMs": 1.63097, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012283}}
{"type": "effect-span", "name": "sqlite", "traceId": "0899297cc7e6c48e986e9e6d4fb52cff", "spanId": "74a63860173ef3ac", "parentSpanId": "8e722dae85623696", "startTimeUnixNano": "1796073324422130194", "endTimeUnixNano": "1796073324429124535", "durationMs": 6.994341, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017953}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0899297cc7e6c48e986e9e6d4fb52cff", "spanId": "8e722dae85623696", "parentSpanId": "a631c5d8295672c2", "startTimeUnixNano": "1796073324410836006", "endTimeUnixNano": "1796073324429635434", "durationMs": 18.799428, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0899297cc7e6c48e986e9e6d4fb52cff", "spanId": "63c9b495c53a5246", "parentSpanId": "a631c5d8295672c2", "startTimeUnixNano": "1796073324429708109", "endTimeUnixNano": "1796073324430820535", "durationMs": 1.112426, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0899297cc7e6c48e986e9e6d4fb52cff", "spanId": "a631c5d8295672c2", "parentSpanId": "91ed616e5bf849d4", "startTimeUnixNano": "1796073324406860091", "endTimeUnixNano": "1796073324430878413", "durationMs": 24.018322, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.441973, "db.connection": "reader", "db.lock_wait_ms": 3.388}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0899297cc7e6c48e986e9e6d4fb52cff", "spanId": "91ed616e5bf849d4", "parentSpanId": "73fde687c6fb40ca", "startTimeUnixNano": "1796073324406846907", "endTimeUnixNano": "1796073324430922975", "durationMs": 24.076068, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0899297cc7e6c48e986e9e6d4fb52cff", "spanId": "73fde687c6fb40ca", "parentSpanId": "3f261dc9093af6e9", "startTimeUnixNano": "1796073324406787186", "endTimeUnixNano": "1796073324430935829", "durationMs": 24.148643, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0899297cc7e6c48e986e9e6d4fb52cff", "spanId": "3f261dc9093af6e9", "startTimeUnixNano": "1796073324406760396", "endTimeUnixNano": "1796073324430958511", "durationMs": 24.198115, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5cc671c7b673bf25e38ddd0cacb84f00", "spanId": "2690efeeef929c0c", "parentSpanId": "688378aa71a92fa1", "startTimeUnixNano": "1796073324778795962", "endTimeUnixNano": "1796073324780005508", "durationMs": 1.209546, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5cc671c7b673bf25e38ddd0cacb84f00", "spanId": "d79129f75fd7729c", "parentSpanId": "2d363a28f9795273", "startTimeUnixNano": "1796073324780140459", "endTimeUnixNano": "1796073324782038444", "durationMs": 1.897985, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012744}}
{"type": "effect-span", "name": "sqlite", "traceId": "5cc671c7b673bf25e38ddd0cacb84f00", "spanId": "b6955f12d32456d4", "parentSpanId": "2d363a28f9795273", "startTimeUnixNano": "1796073324782249356", "endTimeUnixNano": "1796073324783657391", "durationMs": 1.408035, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.02147}}
{"type": "effect-span", "name": "sqlite", "traceId": "5cc671c7b673bf25e38ddd0cacb84f00", "spanId": "a1cc638fe160c1a6", "parentSpanId": "2d363a28f9795273", "startTimeUnixNano": "1796073324783703657", "endTimeUnixNano": "1796073324784955803", "durationMs": 1.252146, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018555}}
{"type": "effect-span", "name": "sqlite", "traceId": "5cc671c7b673bf25e38ddd0cacb84f00", "spanId": "42cd989a64a4269a", "parentSpanId": "2d363a28f9795273", "startTimeUnixNano": "1796073324791707053", "endTimeUnixNano": "1796073324795782983", "durationMs": 4.07593, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.09739}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5cc671c7b673bf25e38ddd0cacb84f00", "spanId": "2d363a28f9795273", "parentSpanId": "688378aa71a92fa1", "startTimeUnixNano": "1796073324780120913", "endTimeUnixNano": "1796073324796167668", "durationMs": 16.046755, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5cc671c7b673bf25e38ddd0cacb84f00", "spanId": "ff6d7fbd2fc37011", "parentSpanId": "688378aa71a92fa1", "startTimeUnixNano": "1796073324796211218", "endTimeUnixNano": "1796073324796978724", "durationMs": 0.767506, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5cc671c7b673bf25e38ddd0cacb84f00", "spanId": "688378aa71a92fa1", "parentSpanId": "f9e6037fa7d63ef8", "startTimeUnixNano": "1796073324771727453", "endTimeUnixNano": "1796073324797020983", "durationMs": 25.29353, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 7.05872, "db.connection": "reader", "db.lock_wait_ms": 6.969}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5cc671c7b673bf25e38ddd0cacb84f00", "spanId": "f9e6037fa7d63ef8", "parentSpanId": "0a42217a5ec7ebf2", "startTimeUnixNano": "1796073324771704420", "endTimeUnixNano": "1796073324797057981", "durationMs": 25.353561, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5cc671c7b673bf25e38ddd0cacb84f00", "spanId": "0a42217a5ec7ebf2", "parentSpanId": "977a04d157ebee62", "startTimeUnixNano": "1796073324771627226", "endTimeUnixNano": "1796073324797071847", "durationMs": 25.444621, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5cc671c7b673bf25e38ddd0cacb84f00", "spanId": "977a04d157ebee62", "startTimeUnixNano": "1796073324771594275", "endTimeUnixNano": "1796073324797093167", "durationMs": 25.498892, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "57b054299f0d93c805c74d8747eeb246", "spanId": "8e072c3959c9a3c2", "parentSpanId": "c14d65e5be579fd3", "startTimeUnixNano": "1796073326830044517", "endTimeUnixNano": "1796073326830246132", "durationMs": 0.201615, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "57b054299f0d93c805c74d8747eeb246", "spanId": "3afb6ffff9f94629", "parentSpanId": "6b90c53fa681e928", "startTimeUnixNano": "1796073326830330749", "endTimeUnixNano": "1796073326831211275", "durationMs": 0.880526, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008616}}
{"type": "effect-span", "name": "sqlite", "traceId": "57b054299f0d93c805c74d8747eeb246", "spanId": "fdfc8137a9fb1442", "parentSpanId": "6b90c53fa681e928", "startTimeUnixNano": "1796073326831318063", "endTimeUnixNano": "1796073326832459693", "durationMs": 1.14163, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019897}}
{"type": "effect-span", "name": "sqlite", "traceId": "57b054299f0d93c805c74d8747eeb246", "spanId": "e6a8378d4f53882d", "parentSpanId": "6b90c53fa681e928", "startTimeUnixNano": "1796073326832488497", "endTimeUnixNano": "1796073326833714114", "durationMs": 1.225617, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011111}}
{"type": "effect-span", "name": "sqlite", "traceId": "57b054299f0d93c805c74d8747eeb246", "spanId": "ca57fc154df6d0ff", "parentSpanId": "6b90c53fa681e928", "startTimeUnixNano": "1796073326838676732", "endTimeUnixNano": "1796073326841467826", "durationMs": 2.791094, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013324}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "57b054299f0d93c805c74d8747eeb246", "spanId": "6b90c53fa681e928", "parentSpanId": "c14d65e5be579fd3", "startTimeUnixNano": "1796073326830322374", "endTimeUnixNano": "1796073326841693986", "durationMs": 11.371612, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "57b054299f0d93c805c74d8747eeb246", "spanId": "414f6bae21b656f3", "parentSpanId": "c14d65e5be579fd3", "startTimeUnixNano": "1796073326841716859", "endTimeUnixNano": "1796073326842213090", "durationMs": 0.496231, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "57b054299f0d93c805c74d8747eeb246", "spanId": "c14d65e5be579fd3", "parentSpanId": "67322b6919c86267", "startTimeUnixNano": "1796073326827185306", "endTimeUnixNano": "1796073326842238738", "durationMs": 15.053432, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.854092, "db.connection": "reader", "db.lock_wait_ms": 2.807}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "57b054299f0d93c805c74d8747eeb246", "spanId": "67322b6919c86267", "parentSpanId": "89e5ac90067aea97", "startTimeUnixNano": "1796073326827173535", "endTimeUnixNano": "1796073326842256080", "durationMs": 15.082545, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "57b054299f0d93c805c74d8747eeb246", "spanId": "89e5ac90067aea97", "parentSpanId": "357212b2a44446f3", "startTimeUnixNano": "1796073326827118713", "endTimeUnixNano": "1796073326842263334", "durationMs": 15.144621, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "57b054299f0d93c805c74d8747eeb246", "spanId": "357212b2a44446f3", "startTimeUnixNano": "1796073326827094959", "endTimeUnixNano": "1796073326842276007", "durationMs": 15.181048, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "91b7d9845caca5e09c51775b809e5782", "spanId": "4e273f7e0181c2dd", "parentSpanId": "ddcc89ae940a03f1", "startTimeUnixNano": "1796073327205745656", "endTimeUnixNano": "1796073327206377360", "durationMs": 0.631704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "91b7d9845caca5e09c51775b809e5782", "spanId": "94c76eef12a3ce84", "parentSpanId": "4c77d68549b8d000", "startTimeUnixNano": "1796073327206490270", "endTimeUnixNano": "1796073327206928093", "durationMs": 0.437823, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013775}}
{"type": "effect-span", "name": "sqlite", "traceId": "91b7d9845caca5e09c51775b809e5782", "spanId": "44bf0d55f4adcb33", "parentSpanId": "4c77d68549b8d000", "startTimeUnixNano": "1796073327207089292", "endTimeUnixNano": "1796073327208821700", "durationMs": 1.732408, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015148}}
{"type": "effect-span", "name": "sqlite", "traceId": "91b7d9845caca5e09c51775b809e5782", "spanId": "1bd9bbbd2a7d1aae", "parentSpanId": "4c77d68549b8d000", "startTimeUnixNano": "1796073327208856415", "endTimeUnixNano": "1796073327210454263", "durationMs": 1.597848, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019396}}
{"type": "effect-span", "name": "sqlite", "traceId": "91b7d9845caca5e09c51775b809e5782", "spanId": "f4c74aee425c88e1", "parentSpanId": "4c77d68549b8d000", "startTimeUnixNano": "1796073327215388368", "endTimeUnixNano": "1796073327217650400", "durationMs": 2.262032, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.062707}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "91b7d9845caca5e09c51775b809e5782", "spanId": "4c77d68549b8d000", "parentSpanId": "ddcc89ae940a03f1", "startTimeUnixNano": "1796073327206472937", "endTimeUnixNano": "1796073327218010338", "durationMs": 11.537401, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "91b7d9845caca5e09c51775b809e5782", "spanId": "4ff825565510a116", "parentSpanId": "ddcc89ae940a03f1", "startTimeUnixNano": "1796073327218039583", "endTimeUnixNano": "1796073327219562401", "durationMs": 1.522818, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "91b7d9845caca5e09c51775b809e5782", "spanId": "ddcc89ae940a03f1", "parentSpanId": "8cd8d17a521dbc9b", "startTimeUnixNano": "1796073327202398639", "endTimeUnixNano": "1796073327219621241", "durationMs": 17.222602, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.333803, "db.connection": "reader", "db.lock_wait_ms": 3.224}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "91b7d9845caca5e09c51775b809e5782", "spanId": "8cd8d17a521dbc9b", "parentSpanId": "77af82d892d522c7", "startTimeUnixNano": "1796073327202381558", "endTimeUnixNano": "1796073327219678197", "durationMs": 17.296639, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "91b7d9845caca5e09c51775b809e5782", "spanId": "77af82d892d522c7", "parentSpanId": "5516758724e03d95", "startTimeUnixNano": "1796073327202323610", "endTimeUnixNano": "1796073327219692553", "durationMs": 17.368943, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "91b7d9845caca5e09c51775b809e5782", "spanId": "5516758724e03d95", "startTimeUnixNano": "1796073327202292452", "endTimeUnixNano": "1796073327219715175", "durationMs": 17.422723, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "342bdbc1ae5d01adffd964eb352a3837", "spanId": "056b0c8766335406", "parentSpanId": "d6241e27277dae2a", "startTimeUnixNano": "1796073329137060595", "endTimeUnixNano": "1796073329138832336", "durationMs": 1.771741, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "342bdbc1ae5d01adffd964eb352a3837", "spanId": "d03cb25f7b0c6016", "parentSpanId": "6ac46d974a43736e", "startTimeUnixNano": "1796073329138974029", "endTimeUnixNano": "1796073329140619586", "durationMs": 1.645557, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012033}}
{"type": "effect-span", "name": "sqlite", "traceId": "342bdbc1ae5d01adffd964eb352a3837", "spanId": "4a44d7374c1ad38b", "parentSpanId": "6ac46d974a43736e", "startTimeUnixNano": "1796073329140788911", "endTimeUnixNano": "1796073329142585879", "durationMs": 1.796968, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.022972}}
{"type": "effect-span", "name": "sqlite", "traceId": "342bdbc1ae5d01adffd964eb352a3837", "spanId": "c05af65dc92e8488", "parentSpanId": "6ac46d974a43736e", "startTimeUnixNano": "1796073329142618139", "endTimeUnixNano": "1796073329147873351", "durationMs": 5.255212, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.02183}}
{"type": "effect-span", "name": "sqlite", "traceId": "342bdbc1ae5d01adffd964eb352a3837", "spanId": "00942674541f268c", "parentSpanId": "6ac46d974a43736e", "startTimeUnixNano": "1796073329156067202", "endTimeUnixNano": "1796073329162200235", "durationMs": 6.133033, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.03764}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "342bdbc1ae5d01adffd964eb352a3837", "spanId": "6ac46d974a43736e", "parentSpanId": "d6241e27277dae2a", "startTimeUnixNano": "1796073329138959252", "endTimeUnixNano": "1796073329162577626", "durationMs": 23.618374, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "342bdbc1ae5d01adffd964eb352a3837", "spanId": "1b0b2922b9ac8866", "parentSpanId": "d6241e27277dae2a", "startTimeUnixNano": "1796073329162604045", "endTimeUnixNano": "1796073329163585648", "durationMs": 0.981603, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "342bdbc1ae5d01adffd964eb352a3837", "spanId": "d6241e27277dae2a", "parentSpanId": "221f11e5040c2c70", "startTimeUnixNano": "1796073329133813283", "endTimeUnixNano": "1796073329163637314", "durationMs": 29.824031, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.234248, "db.connection": "reader", "db.lock_wait_ms": 3.162}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "342bdbc1ae5d01adffd964eb352a3837", "spanId": "221f11e5040c2c70", "parentSpanId": "d355ac4c9abf6401", "startTimeUnixNano": "1796073329133793907", "endTimeUnixNano": "1796073329163663323", "durationMs": 29.869416, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "342bdbc1ae5d01adffd964eb352a3837", "spanId": "d355ac4c9abf6401", "parentSpanId": "cc7e1aff209749b8", "startTimeUnixNano": "1796073329133718296", "endTimeUnixNano": "1796073329163672730", "durationMs": 29.954434, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "342bdbc1ae5d01adffd964eb352a3837", "spanId": "cc7e1aff209749b8", "startTimeUnixNano": "1796073329133678773", "endTimeUnixNano": "1796073329163686696", "durationMs": 30.007923, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e9913249f38e299df99bf9dfd9876e67", "spanId": "ff2ec45be46b4e1c", "parentSpanId": "3a3ecfc53aa8f3c2", "startTimeUnixNano": "1796073329477067290", "endTimeUnixNano": "1796073329477625016", "durationMs": 0.557726, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e9913249f38e299df99bf9dfd9876e67", "spanId": "dff360f1b9464a0f", "parentSpanId": "87d61078ded8d5e8", "startTimeUnixNano": "1796073329477691960", "endTimeUnixNano": "1796073329477995144", "durationMs": 0.303184, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008747}}
{"type": "effect-span", "name": "sqlite", "traceId": "e9913249f38e299df99bf9dfd9876e67", "spanId": "42e7bd243663f169", "parentSpanId": "87d61078ded8d5e8", "startTimeUnixNano": "1796073329478107773", "endTimeUnixNano": "1796073329479718254", "durationMs": 1.610481, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015268}}
{"type": "effect-span", "name": "sqlite", "traceId": "e9913249f38e299df99bf9dfd9876e67", "spanId": "cb40fa8501b92ab3", "parentSpanId": "87d61078ded8d5e8", "startTimeUnixNano": "1796073329479744694", "endTimeUnixNano": "1796073329481008782", "durationMs": 1.264088, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012132}}
{"type": "effect-span", "name": "sqlite", "traceId": "e9913249f38e299df99bf9dfd9876e67", "spanId": "8fe58613dc947754", "parentSpanId": "87d61078ded8d5e8", "startTimeUnixNano": "1796073329485859583", "endTimeUnixNano": "1796073329489514642", "durationMs": 3.655059, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021119}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e9913249f38e299df99bf9dfd9876e67", "spanId": "87d61078ded8d5e8", "parentSpanId": "3a3ecfc53aa8f3c2", "startTimeUnixNano": "1796073329477677483", "endTimeUnixNano": "1796073329489804882", "durationMs": 12.127399, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e9913249f38e299df99bf9dfd9876e67", "spanId": "354e6d9c1c256b8a", "parentSpanId": "3a3ecfc53aa8f3c2", "startTimeUnixNano": "1796073329489831571", "endTimeUnixNano": "1796073329490910906", "durationMs": 1.079335, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e9913249f38e299df99bf9dfd9876e67", "spanId": "3a3ecfc53aa8f3c2", "parentSpanId": "89eba86ae0ba293b", "startTimeUnixNano": "1796073329474954415", "endTimeUnixNano": "1796073329490955048", "durationMs": 16.000633, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.106533, "db.connection": "reader", "db.lock_wait_ms": 2.064}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e9913249f38e299df99bf9dfd9876e67", "spanId": "89eba86ae0ba293b", "parentSpanId": "d68961f0755c12ef", "startTimeUnixNano": "1796073329474938776", "endTimeUnixNano": "1796073329490981928", "durationMs": 16.043152, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e9913249f38e299df99bf9dfd9876e67", "spanId": "d68961f0755c12ef", "parentSpanId": "1d20413fe22aa06b", "startTimeUnixNano": "1796073329474882511", "endTimeUnixNano": "1796073329490991235", "durationMs": 16.108724, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e9913249f38e299df99bf9dfd9876e67", "spanId": "1d20413fe22aa06b", "startTimeUnixNano": "1796073329474856423", "endTimeUnixNano": "1796073329491006985", "durationMs": 16.150562, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "74fc54852961c8be74dd7381f1293a54", "spanId": "34c2d549e920d8ac", "parentSpanId": "5daf410738551d22", "startTimeUnixNano": "1796073331110651053", "endTimeUnixNano": "1796073331111710020", "durationMs": 1.058967, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "74fc54852961c8be74dd7381f1293a54", "spanId": "2c9ee7fa905ad9b7", "parentSpanId": "0db9b1f047e74a1a", "startTimeUnixNano": "1796073331111781203", "endTimeUnixNano": "1796073331112463730", "durationMs": 0.682527, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005951}}
{"type": "effect-span", "name": "sqlite", "traceId": "74fc54852961c8be74dd7381f1293a54", "spanId": "3dd9140253998e19", "parentSpanId": "0db9b1f047e74a1a", "startTimeUnixNano": "1796073331112559679", "endTimeUnixNano": "1796073331113351971", "durationMs": 0.792292, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010649}}
{"type": "effect-span", "name": "sqlite", "traceId": "74fc54852961c8be74dd7381f1293a54", "spanId": "459adaafd6c28556", "parentSpanId": "0db9b1f047e74a1a", "startTimeUnixNano": "1796073331113367289", "endTimeUnixNano": "1796073331114207069", "durationMs": 0.83978, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010099}}
{"type": "effect-span", "name": "sqlite", "traceId": "74fc54852961c8be74dd7381f1293a54", "spanId": "8c8d215a75168022", "parentSpanId": "0db9b1f047e74a1a", "startTimeUnixNano": "1796073331118146658", "endTimeUnixNano": "1796073331121138776", "durationMs": 2.992118, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.030286}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "74fc54852961c8be74dd7381f1293a54", "spanId": "0db9b1f047e74a1a", "parentSpanId": "5daf410738551d22", "startTimeUnixNano": "1796073331111773619", "endTimeUnixNano": "1796073331121417975", "durationMs": 9.644356, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "74fc54852961c8be74dd7381f1293a54", "spanId": "c1f4bef200abf532", "parentSpanId": "5daf410738551d22", "startTimeUnixNano": "1796073331121467908", "endTimeUnixNano": "1796073331122408014", "durationMs": 0.940106, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "74fc54852961c8be74dd7381f1293a54", "spanId": "5daf410738551d22", "parentSpanId": "c5e8887a97d90cc2", "startTimeUnixNano": "1796073331108643153", "endTimeUnixNano": "1796073331122464239", "durationMs": 13.821086, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.000046, "db.connection": "reader", "db.lock_wait_ms": 1.943}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "74fc54852961c8be74dd7381f1293a54", "spanId": "c5e8887a97d90cc2", "parentSpanId": "2ff11e5777fa004d", "startTimeUnixNano": "1796073331108635288", "endTimeUnixNano": "1796073331122489706", "durationMs": 13.854418, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "74fc54852961c8be74dd7381f1293a54", "spanId": "2ff11e5777fa004d", "parentSpanId": "35c687aaea7bf92d", "startTimeUnixNano": "1796073331108586668", "endTimeUnixNano": "1796073331122497050", "durationMs": 13.910382, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "74fc54852961c8be74dd7381f1293a54", "spanId": "35c687aaea7bf92d", "startTimeUnixNano": "1796073331108565529", "endTimeUnixNano": "1796073331122511086", "durationMs": 13.945557, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "68a854a2a6ebf58b5cd468be6ba05a6b", "spanId": "ddbda4d6ed0db07e", "parentSpanId": "36784ed1dfcff856", "startTimeUnixNano": "1796073331417535869", "endTimeUnixNano": "1796073331417986807", "durationMs": 0.450938, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "68a854a2a6ebf58b5cd468be6ba05a6b", "spanId": "a6b426098b7f72fd", "parentSpanId": "ea3c89a49a5bb7a7", "startTimeUnixNano": "1796073331418043482", "endTimeUnixNano": "1796073331421656033", "durationMs": 3.612551, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008355}}
{"type": "effect-span", "name": "sqlite", "traceId": "68a854a2a6ebf58b5cd468be6ba05a6b", "spanId": "1f83ee98237e6db2", "parentSpanId": "ea3c89a49a5bb7a7", "startTimeUnixNano": "1796073331421851867", "endTimeUnixNano": "1796073331423316297", "durationMs": 1.46443, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01606}}
{"type": "effect-span", "name": "sqlite", "traceId": "68a854a2a6ebf58b5cd468be6ba05a6b", "spanId": "578a9a812b370238", "parentSpanId": "ea3c89a49a5bb7a7", "startTimeUnixNano": "1796073331423340392", "endTimeUnixNano": "1796073331424395141", "durationMs": 1.054749, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01072}}
{"type": "effect-span", "name": "sqlite", "traceId": "68a854a2a6ebf58b5cd468be6ba05a6b", "spanId": "46c4f1f2860d6a69", "parentSpanId": "ea3c89a49a5bb7a7", "startTimeUnixNano": "1796073331428201082", "endTimeUnixNano": "1796073331432291982", "durationMs": 4.0909, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.067475}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "68a854a2a6ebf58b5cd468be6ba05a6b", "spanId": "ea3c89a49a5bb7a7", "parentSpanId": "36784ed1dfcff856", "startTimeUnixNano": "1796073331418033824", "endTimeUnixNano": "1796073331432771021", "durationMs": 14.737197, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "68a854a2a6ebf58b5cd468be6ba05a6b", "spanId": "f042eb9c22ad03ae", "parentSpanId": "36784ed1dfcff856", "startTimeUnixNano": "1796073331432822527", "endTimeUnixNano": "1796073331433809140", "durationMs": 0.986613, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "68a854a2a6ebf58b5cd468be6ba05a6b", "spanId": "36784ed1dfcff856", "parentSpanId": "1c4d16ddaa5ce701", "startTimeUnixNano": "1796073331415100655", "endTimeUnixNano": "1796073331433862098", "durationMs": 18.761443, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.428962, "db.connection": "reader", "db.lock_wait_ms": 2.338}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "68a854a2a6ebf58b5cd468be6ba05a6b", "spanId": "1c4d16ddaa5ce701", "parentSpanId": "44f48563f928e4c0", "startTimeUnixNano": "1796073331415091869", "endTimeUnixNano": "1796073331433927660", "durationMs": 18.835791, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "68a854a2a6ebf58b5cd468be6ba05a6b", "spanId": "44f48563f928e4c0", "parentSpanId": "4b406baa0695fdd3", "startTimeUnixNano": "1796073331415047326", "endTimeUnixNano": "1796073331433943199", "durationMs": 18.895873, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "68a854a2a6ebf58b5cd468be6ba05a6b", "spanId": "4b406baa0695fdd3", "startTimeUnixNano": "1796073331415017110", "endTimeUnixNano": "1796073331433965010", "durationMs": 18.9479, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cc2184840bb1bf8fca44e2d9a78be145", "spanId": "c6bd50f9f7fb8948", "parentSpanId": "53705978e054a0bd", "startTimeUnixNano": "1796073333189757722", "endTimeUnixNano": "1796073333190045657", "durationMs": 0.287935, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cc2184840bb1bf8fca44e2d9a78be145", "spanId": "d06ad21b4a3d7926", "parentSpanId": "b360c2fb35e6c0f4", "startTimeUnixNano": "1796073333190104847", "endTimeUnixNano": "1796073333190897911", "durationMs": 0.793064, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009738}}
{"type": "effect-span", "name": "sqlite", "traceId": "cc2184840bb1bf8fca44e2d9a78be145", "spanId": "2eb6899153da4e57", "parentSpanId": "b360c2fb35e6c0f4", "startTimeUnixNano": "1796073333190980624", "endTimeUnixNano": "1796073333192069427", "durationMs": 1.088803, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010089}}
{"type": "effect-span", "name": "sqlite", "traceId": "cc2184840bb1bf8fca44e2d9a78be145", "spanId": "712e7e8b5cc78795", "parentSpanId": "b360c2fb35e6c0f4", "startTimeUnixNano": "1796073333192099563", "endTimeUnixNano": "1796073333193232498", "durationMs": 1.132935, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012794}}
{"type": "effect-span", "name": "sqlite", "traceId": "cc2184840bb1bf8fca44e2d9a78be145", "spanId": "1d58c3fcafc7ee56", "parentSpanId": "b360c2fb35e6c0f4", "startTimeUnixNano": "1796073333196382149", "endTimeUnixNano": "1796073333198473244", "durationMs": 2.091095, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009638}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cc2184840bb1bf8fca44e2d9a78be145", "spanId": "b360c2fb35e6c0f4", "parentSpanId": "53705978e054a0bd", "startTimeUnixNano": "1796073333190094929", "endTimeUnixNano": "1796073333198654461", "durationMs": 8.559532, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cc2184840bb1bf8fca44e2d9a78be145", "spanId": "3d387b3cc740acb9", "parentSpanId": "53705978e054a0bd", "startTimeUnixNano": "1796073333198665541", "endTimeUnixNano": "1796073333199032403", "durationMs": 0.366862, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cc2184840bb1bf8fca44e2d9a78be145", "spanId": "53705978e054a0bd", "parentSpanId": "8c79e8be942021cc", "startTimeUnixNano": "1796073333187590316", "endTimeUnixNano": "1796073333199055115", "durationMs": 11.464799, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.163279, "db.connection": "reader", "db.lock_wait_ms": 2.116}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cc2184840bb1bf8fca44e2d9a78be145", "spanId": "8c79e8be942021cc", "parentSpanId": "2c693785ee1f15cc", "startTimeUnixNano": "1796073333187580518", "endTimeUnixNano": "1796073333199067318", "durationMs": 11.4868, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cc2184840bb1bf8fca44e2d9a78be145", "spanId": "2c693785ee1f15cc", "parentSpanId": "8e1335649822bfa4", "startTimeUnixNano": "1796073333187536035", "endTimeUnixNano": "1796073333199072327", "durationMs": 11.536292, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cc2184840bb1bf8fca44e2d9a78be145", "spanId": "8e1335649822bfa4", "startTimeUnixNano": "1796073333187518713", "endTimeUnixNano": "1796073333199080031", "durationMs": 11.561318, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cd7cedcc7d3a51f7322244f9847e8d9f", "spanId": "a42248339d016967", "parentSpanId": "8c47944c90524758", "startTimeUnixNano": "1796073333500257121", "endTimeUnixNano": "1796073333500593446", "durationMs": 0.336325, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cd7cedcc7d3a51f7322244f9847e8d9f", "spanId": "e8e883c92795c06e", "parentSpanId": "99e59f4f77e0b410", "startTimeUnixNano": "1796073333500668846", "endTimeUnixNano": "1796073333500897491", "durationMs": 0.228645, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008556}}
{"type": "effect-span", "name": "sqlite", "traceId": "cd7cedcc7d3a51f7322244f9847e8d9f", "spanId": "e366589ea8bf41cb", "parentSpanId": "99e59f4f77e0b410", "startTimeUnixNano": "1796073333500995874", "endTimeUnixNano": "1796073333501831196", "durationMs": 0.835322, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013485}}
{"type": "effect-span", "name": "sqlite", "traceId": "cd7cedcc7d3a51f7322244f9847e8d9f", "spanId": "12662827a699858a", "parentSpanId": "99e59f4f77e0b410", "startTimeUnixNano": "1796073333501873685", "endTimeUnixNano": "1796073333502921632", "durationMs": 1.047947, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012343}}
{"type": "effect-span", "name": "sqlite", "traceId": "cd7cedcc7d3a51f7322244f9847e8d9f", "spanId": "68721f175c48f98a", "parentSpanId": "99e59f4f77e0b410", "startTimeUnixNano": "1796073333506869015", "endTimeUnixNano": "1796073333509273632", "durationMs": 2.404617, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015719}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cd7cedcc7d3a51f7322244f9847e8d9f", "spanId": "99e59f4f77e0b410", "parentSpanId": "8c47944c90524758", "startTimeUnixNano": "1796073333500657636", "endTimeUnixNano": "1796073333509535689", "durationMs": 8.878053, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cd7cedcc7d3a51f7322244f9847e8d9f", "spanId": "d6d490b5d6ac1858", "parentSpanId": "8c47944c90524758", "startTimeUnixNano": "1796073333509558091", "endTimeUnixNano": "1796073333510262680", "durationMs": 0.704589, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cd7cedcc7d3a51f7322244f9847e8d9f", "spanId": "8c47944c90524758", "parentSpanId": "2625a37c481c5fd3", "startTimeUnixNano": "1796073333498276051", "endTimeUnixNano": "1796073333510282327", "durationMs": 12.006276, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.977364, "db.connection": "reader", "db.lock_wait_ms": 1.946}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cd7cedcc7d3a51f7322244f9847e8d9f", "spanId": "2625a37c481c5fd3", "parentSpanId": "95b5b587e5998c2d", "startTimeUnixNano": "1796073333498268868", "endTimeUnixNano": "1796073333510297545", "durationMs": 12.028677, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cd7cedcc7d3a51f7322244f9847e8d9f", "spanId": "95b5b587e5998c2d", "parentSpanId": "37e9461d5389f394", "startTimeUnixNano": "1796073333498239263", "endTimeUnixNano": "1796073333510302925", "durationMs": 12.063662, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cd7cedcc7d3a51f7322244f9847e8d9f", "spanId": "37e9461d5389f394", "startTimeUnixNano": "1796073333498223864", "endTimeUnixNano": "1796073333510310930", "durationMs": 12.087066, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4844462911f6943be0836e0ac37ff416", "spanId": "3b5faebcde898fe8", "parentSpanId": "371caa4b4bca86d5", "startTimeUnixNano": "1796073335156080249", "endTimeUnixNano": "1796073335156881338", "durationMs": 0.801089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4844462911f6943be0836e0ac37ff416", "spanId": "25fe27073b99d977", "parentSpanId": "447b6c26a698037b", "startTimeUnixNano": "1796073335156923286", "endTimeUnixNano": "1796073335157673149", "durationMs": 0.749863, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00572}}
{"type": "effect-span", "name": "sqlite", "traceId": "4844462911f6943be0836e0ac37ff416", "spanId": "c7774cc3ef2ef51c", "parentSpanId": "447b6c26a698037b", "startTimeUnixNano": "1796073335157765681", "endTimeUnixNano": "1796073335158649854", "durationMs": 0.884173, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013645}}
{"type": "effect-span", "name": "sqlite", "traceId": "4844462911f6943be0836e0ac37ff416", "spanId": "aacea2128b5fa1fd", "parentSpanId": "447b6c26a698037b", "startTimeUnixNano": "1796073335158664872", "endTimeUnixNano": "1796073335159769514", "durationMs": 1.104642, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008856}}
{"type": "effect-span", "name": "sqlite", "traceId": "4844462911f6943be0836e0ac37ff416", "spanId": "dca02e215665ba28", "parentSpanId": "447b6c26a698037b", "startTimeUnixNano": "1796073335166063888", "endTimeUnixNano": "1796073335168996777", "durationMs": 2.932889, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012573}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4844462911f6943be0836e0ac37ff416", "spanId": "447b6c26a698037b", "parentSpanId": "371caa4b4bca86d5", "startTimeUnixNano": "1796073335156916934", "endTimeUnixNano": "1796073335169212648", "durationMs": 12.295714, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4844462911f6943be0836e0ac37ff416", "spanId": "9a89b719398f73e0", "parentSpanId": "371caa4b4bca86d5", "startTimeUnixNano": "1796073335169228237", "endTimeUnixNano": "1796073335169412179", "durationMs": 0.183942, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4844462911f6943be0836e0ac37ff416", "spanId": "371caa4b4bca86d5", "parentSpanId": "11595e5c5253b478", "startTimeUnixNano": "1796073335154491758", "endTimeUnixNano": "1796073335169456762", "durationMs": 14.965004, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.583051, "db.connection": "reader", "db.lock_wait_ms": 1.546}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4844462911f6943be0836e0ac37ff416", "spanId": "11595e5c5253b478", "parentSpanId": "ac6dbf517b6c030a", "startTimeUnixNano": "1796073335154483192", "endTimeUnixNano": "1796073335169484583", "durationMs": 15.001391, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4844462911f6943be0836e0ac37ff416", "spanId": "ac6dbf517b6c030a", "parentSpanId": "1afdf6b197d68bab", "startTimeUnixNano": "1796073335154421297", "endTimeUnixNano": "1796073335169494812", "durationMs": 15.073515, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4844462911f6943be0836e0ac37ff416", "spanId": "1afdf6b197d68bab", "startTimeUnixNano": "1796073335154405328", "endTimeUnixNano": "1796073335169503589", "durationMs": 15.098261, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "54e297f21f2552d7bd60be1602958437", "spanId": "f1865b9c4e4f2d84", "parentSpanId": "b0389c73ddf9cfae", "startTimeUnixNano": "1796073335413673313", "endTimeUnixNano": "1796073335413896277", "durationMs": 0.222964, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "54e297f21f2552d7bd60be1602958437", "spanId": "f0f9567f54e6d22d", "parentSpanId": "3231b7536336833f", "startTimeUnixNano": "1796073335413958773", "endTimeUnixNano": "1796073335414297432", "durationMs": 0.338659, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008916}}
{"type": "effect-span", "name": "sqlite", "traceId": "54e297f21f2552d7bd60be1602958437", "spanId": "ef8139702454108f", "parentSpanId": "3231b7536336833f", "startTimeUnixNano": "1796073335414403529", "endTimeUnixNano": "1796073335415182026", "durationMs": 0.778497, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012533}}
{"type": "effect-span", "name": "sqlite", "traceId": "54e297f21f2552d7bd60be1602958437", "spanId": "668508ebcb7e5fe7", "parentSpanId": "3231b7536336833f", "startTimeUnixNano": "1796073335415207733", "endTimeUnixNano": "1796073335416166274", "durationMs": 0.958541, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012153}}
{"type": "effect-span", "name": "sqlite", "traceId": "54e297f21f2552d7bd60be1602958437", "spanId": "d043a7bb46193b06", "parentSpanId": "3231b7536336833f", "startTimeUnixNano": "1796073335424355970", "endTimeUnixNano": "1796073335427081043", "durationMs": 2.725073, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.036538}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "54e297f21f2552d7bd60be1602958437", "spanId": "3231b7536336833f", "parentSpanId": "b0389c73ddf9cfae", "startTimeUnixNano": "1796073335413949987", "endTimeUnixNano": "1796073335427467551", "durationMs": 13.517564, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "54e297f21f2552d7bd60be1602958437", "spanId": "00b505ca9593f866", "parentSpanId": "b0389c73ddf9cfae", "startTimeUnixNano": "1796073335427508176", "endTimeUnixNano": "1796073335428623789", "durationMs": 1.115613, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "54e297f21f2552d7bd60be1602958437", "spanId": "b0389c73ddf9cfae", "parentSpanId": "70e94e3c9b2c0e1b", "startTimeUnixNano": "1796073335411242186", "endTimeUnixNano": "1796073335428675265", "durationMs": 17.433079, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.424514, "db.connection": "reader", "db.lock_wait_ms": 2.382}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "54e297f21f2552d7bd60be1602958437", "spanId": "70e94e3c9b2c0e1b", "parentSpanId": "668939abd0ccc122", "startTimeUnixNano": "1796073335411230093", "endTimeUnixNano": "1796073335428710300", "durationMs": 17.480207, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "54e297f21f2552d7bd60be1602958437", "spanId": "668939abd0ccc122", "parentSpanId": "961e093fa18ffcbd", "startTimeUnixNano": "1796073335411185470", "endTimeUnixNano": "1796073335428723605", "durationMs": 17.538135, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "54e297f21f2552d7bd60be1602958437", "spanId": "961e093fa18ffcbd", "startTimeUnixNano": "1796073335411159953", "endTimeUnixNano": "1796073335428741568", "durationMs": 17.581615, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "594c3de12e7fbfdb48229ae44cb1c879", "spanId": "326eaefc48e99e3d", "parentSpanId": "722195d28307f9ec", "startTimeUnixNano": "1796073337296248659", "endTimeUnixNano": "1796073337297370574", "durationMs": 1.121915, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "594c3de12e7fbfdb48229ae44cb1c879", "spanId": "aa474bf052729cbe", "parentSpanId": "c593a1ad7811daca", "startTimeUnixNano": "1796073337297450362", "endTimeUnixNano": "1796073337298280334", "durationMs": 0.829972, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.015318}}
{"type": "effect-span", "name": "sqlite", "traceId": "594c3de12e7fbfdb48229ae44cb1c879", "spanId": "7d354537f6d2d056", "parentSpanId": "c593a1ad7811daca", "startTimeUnixNano": "1796073337298380540", "endTimeUnixNano": "1796073337299416034", "durationMs": 1.035494, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014718}}
{"type": "effect-span", "name": "sqlite", "traceId": "594c3de12e7fbfdb48229ae44cb1c879", "spanId": "9ca0a3a5e012ebaf", "parentSpanId": "c593a1ad7811daca", "startTimeUnixNano": "1796073337299430120", "endTimeUnixNano": "1796073337300672719", "durationMs": 1.242599, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.028674}}
{"type": "effect-span", "name": "sqlite", "traceId": "594c3de12e7fbfdb48229ae44cb1c879", "spanId": "59ac29f0f2e84118", "parentSpanId": "c593a1ad7811daca", "startTimeUnixNano": "1796073337307044137", "endTimeUnixNano": "1796073337309728485", "durationMs": 2.684348, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.035336}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "594c3de12e7fbfdb48229ae44cb1c879", "spanId": "c593a1ad7811daca", "parentSpanId": "722195d28307f9ec", "startTimeUnixNano": "1796073337297425205", "endTimeUnixNano": "1796073337309923186", "durationMs": 12.497981, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "594c3de12e7fbfdb48229ae44cb1c879", "spanId": "f13d5b4c6fa10751", "parentSpanId": "722195d28307f9ec", "startTimeUnixNano": "1796073337309939386", "endTimeUnixNano": "1796073337310067875", "durationMs": 0.128489, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "594c3de12e7fbfdb48229ae44cb1c879", "spanId": "722195d28307f9ec", "parentSpanId": "8b5041b3147b7477", "startTimeUnixNano": "1796073337294080461", "endTimeUnixNano": "1796073337310088083", "durationMs": 16.007622, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.1585, "db.connection": "reader", "db.lock_wait_ms": 2.108}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "594c3de12e7fbfdb48229ae44cb1c879", "spanId": "8b5041b3147b7477", "parentSpanId": "34211c5fc3e2a437", "startTimeUnixNano": "1796073337294057638", "endTimeUnixNano": "1796073337310103161", "durationMs": 16.045523, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "594c3de12e7fbfdb48229ae44cb1c879", "spanId": "34211c5fc3e2a437", "parentSpanId": "f289a6d93c956b8d", "startTimeUnixNano": "1796073337293999871", "endTimeUnixNano": "1796073337310116445", "durationMs": 16.116574, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "594c3de12e7fbfdb48229ae44cb1c879", "spanId": "f289a6d93c956b8d", "startTimeUnixNano": "1796073337293981196", "endTimeUnixNano": "1796073337310135902", "durationMs": 16.154706, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8fb37735fb8398f0844889f17440263a", "spanId": "116910741bcc4876", "parentSpanId": "db340b5228b3a6a5", "startTimeUnixNano": "1796073337606482062", "endTimeUnixNano": "1796073337606861306", "durationMs": 0.379244, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8fb37735fb8398f0844889f17440263a", "spanId": "0529196219098dd5", "parentSpanId": "27da5efedbe12d6e", "startTimeUnixNano": "1796073337606899838", "endTimeUnixNano": "1796073337607077899", "durationMs": 0.178061, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005119}}
{"type": "effect-span", "name": "sqlite", "traceId": "8fb37735fb8398f0844889f17440263a", "spanId": "c3584425386ab958", "parentSpanId": "27da5efedbe12d6e", "startTimeUnixNano": "1796073337607156354", "endTimeUnixNano": "1796073337608639801", "durationMs": 1.483447, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008106}}
{"type": "effect-span", "name": "sqlite", "traceId": "8fb37735fb8398f0844889f17440263a", "spanId": "5e5568fbcd8d5975", "parentSpanId": "27da5efedbe12d6e", "startTimeUnixNano": "1796073337608663445", "endTimeUnixNano": "1796073337609747348", "durationMs": 1.083903, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013765}}
{"type": "effect-span", "name": "sqlite", "traceId": "8fb37735fb8398f0844889f17440263a", "spanId": "186e848921defbe7", "parentSpanId": "27da5efedbe12d6e", "startTimeUnixNano": "1796073337613261027", "endTimeUnixNano": "1796073337615691623", "durationMs": 2.430596, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.046095}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8fb37735fb8398f0844889f17440263a", "spanId": "27da5efedbe12d6e", "parentSpanId": "db340b5228b3a6a5", "startTimeUnixNano": "1796073337606893716", "endTimeUnixNano": "1796073337615964059", "durationMs": 9.070343, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8fb37735fb8398f0844889f17440263a", "spanId": "fef18972d7198bd2", "parentSpanId": "db340b5228b3a6a5", "startTimeUnixNano": "1796073337615994666", "endTimeUnixNano": "1796073337618841175", "durationMs": 2.846509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8fb37735fb8398f0844889f17440263a", "spanId": "db340b5228b3a6a5", "parentSpanId": "dc764da9204de95a", "startTimeUnixNano": "1796073337604321277", "endTimeUnixNano": "1796073337618892851", "durationMs": 14.571574, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.152499, "db.connection": "reader", "db.lock_wait_ms": 2.12}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8fb37735fb8398f0844889f17440263a", "spanId": "dc764da9204de95a", "parentSpanId": "c79e49cf54bf03fc", "startTimeUnixNano": "1796073337604313693", "endTimeUnixNano": "1796073337618935901", "durationMs": 14.622208, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8fb37735fb8398f0844889f17440263a", "spanId": "c79e49cf54bf03fc", "parentSpanId": "d9d22135fc53d426", "startTimeUnixNano": "1796073337604283386", "endTimeUnixNano": "1796073337618946400", "durationMs": 14.663014, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8fb37735fb8398f0844889f17440263a", "spanId": "d9d22135fc53d426", "startTimeUnixNano": "1796073337604268359", "endTimeUnixNano": "1796073337618959394", "durationMs": 14.691035, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "68a3941ecb0354a9a90e268ee07e23fe", "spanId": "cb20e7d1fda3cbcc", "parentSpanId": "c259ed7dabee2f52", "startTimeUnixNano": "1796073339260468261", "endTimeUnixNano": "1796073339261742278", "durationMs": 1.274017, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "68a3941ecb0354a9a90e268ee07e23fe", "spanId": "58dd6fd211231b18", "parentSpanId": "813647cbf3b6effe", "startTimeUnixNano": "1796073339261788925", "endTimeUnixNano": "1796073339266146301", "durationMs": 4.357376, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005059}}
{"type": "effect-span", "name": "sqlite", "traceId": "68a3941ecb0354a9a90e268ee07e23fe", "spanId": "df32ff0448c8c0fa", "parentSpanId": "813647cbf3b6effe", "startTimeUnixNano": "1796073339266427443", "endTimeUnixNano": "1796073339267386445", "durationMs": 0.959002, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.054472}}
{"type": "effect-span", "name": "sqlite", "traceId": "68a3941ecb0354a9a90e268ee07e23fe", "spanId": "6a15bc20c667c31d", "parentSpanId": "813647cbf3b6effe", "startTimeUnixNano": "1796073339267400211", "endTimeUnixNano": "1796073339268257063", "durationMs": 0.856852, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009698}}
{"type": "effect-span", "name": "sqlite", "traceId": "68a3941ecb0354a9a90e268ee07e23fe", "spanId": "f9351dbedd455ebb", "parentSpanId": "813647cbf3b6effe", "startTimeUnixNano": "1796073339271456598", "endTimeUnixNano": "1796073339272814842", "durationMs": 1.358244, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013716}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "68a3941ecb0354a9a90e268ee07e23fe", "spanId": "813647cbf3b6effe", "parentSpanId": "c259ed7dabee2f52", "startTimeUnixNano": "1796073339261781962", "endTimeUnixNano": "1796073339273019782", "durationMs": 11.23782, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "68a3941ecb0354a9a90e268ee07e23fe", "spanId": "41839f470852fb2f", "parentSpanId": "c259ed7dabee2f52", "startTimeUnixNano": "1796073339273035732", "endTimeUnixNano": "1796073339275130164", "durationMs": 2.094432, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "68a3941ecb0354a9a90e268ee07e23fe", "spanId": "c259ed7dabee2f52", "parentSpanId": "5edf5773dffe198d", "startTimeUnixNano": "1796073339258245901", "endTimeUnixNano": "1796073339275157214", "durationMs": 16.911313, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.213954, "db.connection": "reader", "db.lock_wait_ms": 2.168}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "68a3941ecb0354a9a90e268ee07e23fe", "spanId": "5edf5773dffe198d", "parentSpanId": "616a592b89579ded", "startTimeUnixNano": "1796073339258237826", "endTimeUnixNano": "1796073339275179075", "durationMs": 16.941249, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "68a3941ecb0354a9a90e268ee07e23fe", "spanId": "616a592b89579ded", "parentSpanId": "810dd7b4eaa18e9f", "startTimeUnixNano": "1796073339258193223", "endTimeUnixNano": "1796073339275184345", "durationMs": 16.991122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "68a3941ecb0354a9a90e268ee07e23fe", "spanId": "810dd7b4eaa18e9f", "startTimeUnixNano": "1796073339258174158", "endTimeUnixNano": "1796073339275195635", "durationMs": 17.021477, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1d0f5904d5337974af89f04f905ddb54", "spanId": "54b9a8340422dcd2", "parentSpanId": "6fde1a6b3a57215b", "startTimeUnixNano": "1796073339519842340", "endTimeUnixNano": "1796073339520102073", "durationMs": 0.259733, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d0f5904d5337974af89f04f905ddb54", "spanId": "d9f46549c57485dc", "parentSpanId": "7f6319d3baa107b9", "startTimeUnixNano": "1796073339520138220", "endTimeUnixNano": "1796073339520299570", "durationMs": 0.16135, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00525}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d0f5904d5337974af89f04f905ddb54", "spanId": "29f8cc7a824e3ead", "parentSpanId": "7f6319d3baa107b9", "startTimeUnixNano": "1796073339520380571", "endTimeUnixNano": "1796073339521626796", "durationMs": 1.246225, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010309}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d0f5904d5337974af89f04f905ddb54", "spanId": "b4c2f4129f68ad65", "parentSpanId": "7f6319d3baa107b9", "startTimeUnixNano": "1796073339521643888", "endTimeUnixNano": "1796073339522570259", "durationMs": 0.926371, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010399}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d0f5904d5337974af89f04f905ddb54", "spanId": "fd917537ede2a6b8", "parentSpanId": "7f6319d3baa107b9", "startTimeUnixNano": "1796073339525573359", "endTimeUnixNano": "1796073339528852242", "durationMs": 3.278883, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011061}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1d0f5904d5337974af89f04f905ddb54", "spanId": "7f6319d3baa107b9", "parentSpanId": "6fde1a6b3a57215b", "startTimeUnixNano": "1796073339520131067", "endTimeUnixNano": "1796073339529010997", "durationMs": 8.87993, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1d0f5904d5337974af89f04f905ddb54", "spanId": "57bd13661dea0897", "parentSpanId": "6fde1a6b3a57215b", "startTimeUnixNano": "1796073339529033458", "endTimeUnixNano": "1796073339529721827", "durationMs": 0.688369, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1d0f5904d5337974af89f04f905ddb54", "spanId": "6fde1a6b3a57215b", "parentSpanId": "a1871189c3093612", "startTimeUnixNano": "1796073339518261253", "endTimeUnixNano": "1796073339529745752", "durationMs": 11.484499, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.577721, "db.connection": "reader", "db.lock_wait_ms": 1.548}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1d0f5904d5337974af89f04f905ddb54", "spanId": "a1871189c3093612", "parentSpanId": "a053ce81254591d6", "startTimeUnixNano": "1796073339518253017", "endTimeUnixNano": "1796073339529759958", "durationMs": 11.506941, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1d0f5904d5337974af89f04f905ddb54", "spanId": "a053ce81254591d6", "parentSpanId": "e4d9285f8048235e", "startTimeUnixNano": "1796073339518213033", "endTimeUnixNano": "1796073339529764918", "durationMs": 11.551885, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1d0f5904d5337974af89f04f905ddb54", "spanId": "e4d9285f8048235e", "startTimeUnixNano": "1796073339518195651", "endTimeUnixNano": "1796073339529772361", "durationMs": 11.57671, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5dab383e29ebd4f431b0ae9c7462aee9", "spanId": "1caef08c521cb340", "parentSpanId": "3680d9158ed6c7b7", "startTimeUnixNano": "1796073340925284647", "endTimeUnixNano": "1796073340925460033", "durationMs": 0.175386, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5dab383e29ebd4f431b0ae9c7462aee9", "spanId": "3c904f0d22a9d8ce", "parentSpanId": "01cceaa6c4c46dd6", "startTimeUnixNano": "1796073340925503344", "endTimeUnixNano": "1796073340926089263", "durationMs": 0.585919, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006221}}
{"type": "effect-span", "name": "sqlite", "traceId": "5dab383e29ebd4f431b0ae9c7462aee9", "spanId": "21e48b86d306ec00", "parentSpanId": "01cceaa6c4c46dd6", "startTimeUnixNano": "1796073340926166216", "endTimeUnixNano": "1796073340927192182", "durationMs": 1.025966, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009357}}
{"type": "effect-span", "name": "sqlite", "traceId": "5dab383e29ebd4f431b0ae9c7462aee9", "spanId": "e0627b60b3f213eb", "parentSpanId": "01cceaa6c4c46dd6", "startTimeUnixNano": "1796073340927210055", "endTimeUnixNano": "1796073340928044005", "durationMs": 0.83395, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008276}}
{"type": "effect-span", "name": "sqlite", "traceId": "5dab383e29ebd4f431b0ae9c7462aee9", "spanId": "30b1a5da1758377a", "parentSpanId": "01cceaa6c4c46dd6", "startTimeUnixNano": "1796073340933262872", "endTimeUnixNano": "1796073340935127106", "durationMs": 1.864234, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008927}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5dab383e29ebd4f431b0ae9c7462aee9", "spanId": "01cceaa6c4c46dd6", "parentSpanId": "3680d9158ed6c7b7", "startTimeUnixNano": "1796073340925496591", "endTimeUnixNano": "1796073340935308804", "durationMs": 9.812213, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5dab383e29ebd4f431b0ae9c7462aee9", "spanId": "67668167193494ea", "parentSpanId": "3680d9158ed6c7b7", "startTimeUnixNano": "1796073340935323231", "endTimeUnixNano": "1796073340935598101", "durationMs": 0.27487, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5dab383e29ebd4f431b0ae9c7462aee9", "spanId": "3680d9158ed6c7b7", "parentSpanId": "f749804692d53e2d", "startTimeUnixNano": "1796073340923043213", "endTimeUnixNano": "1796073340935620142", "durationMs": 12.576929, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.237537, "db.connection": "reader", "db.lock_wait_ms": 2.203}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5dab383e29ebd4f431b0ae9c7462aee9", "spanId": "f749804692d53e2d", "parentSpanId": "3f71fe3885e59b94", "startTimeUnixNano": "1796073340923034807", "endTimeUnixNano": "1796073340935633337", "durationMs": 12.59853, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5dab383e29ebd4f431b0ae9c7462aee9", "spanId": "3f71fe3885e59b94", "parentSpanId": "40ad6b02bddca456", "startTimeUnixNano": "1796073340922996165", "endTimeUnixNano": "1796073340935638837", "durationMs": 12.642672, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5dab383e29ebd4f431b0ae9c7462aee9", "spanId": "40ad6b02bddca456", "startTimeUnixNano": "1796073340922979634", "endTimeUnixNano": "1796073340935646632", "durationMs": 12.666998, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "60187bc54ec4d40721eb4a66ad88c953", "spanId": "a3928ac8d01f062f", "parentSpanId": "9fe24d85dd0a5b11", "startTimeUnixNano": "1796073341184843671", "endTimeUnixNano": "1796073341185182982", "durationMs": 0.339311, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "60187bc54ec4d40721eb4a66ad88c953", "spanId": "c792abebfd84dcfc", "parentSpanId": "76a585d14beff648", "startTimeUnixNano": "1796073341185220812", "endTimeUnixNano": "1796073341185371652", "durationMs": 0.15084, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005741}}
{"type": "effect-span", "name": "sqlite", "traceId": "60187bc54ec4d40721eb4a66ad88c953", "spanId": "b7b65d6a9bc9ab56", "parentSpanId": "76a585d14beff648", "startTimeUnixNano": "1796073341185486175", "endTimeUnixNano": "1796073341186453042", "durationMs": 0.966867, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012964}}
{"type": "effect-span", "name": "sqlite", "traceId": "60187bc54ec4d40721eb4a66ad88c953", "spanId": "8a726907d23576c8", "parentSpanId": "76a585d14beff648", "startTimeUnixNano": "1796073341186474101", "endTimeUnixNano": "1796073341187390303", "durationMs": 0.916202, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009127}}
{"type": "effect-span", "name": "sqlite", "traceId": "60187bc54ec4d40721eb4a66ad88c953", "spanId": "eba2301a2b0ca877", "parentSpanId": "76a585d14beff648", "startTimeUnixNano": "1796073341191353578", "endTimeUnixNano": "1796073341193209096", "durationMs": 1.855518, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015268}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "60187bc54ec4d40721eb4a66ad88c953", "spanId": "76a585d14beff648", "parentSpanId": "9fe24d85dd0a5b11", "startTimeUnixNano": "1796073341185214550", "endTimeUnixNano": "1796073341193379623", "durationMs": 8.165073, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "60187bc54ec4d40721eb4a66ad88c953", "spanId": "a6052366b48d8c5e", "parentSpanId": "9fe24d85dd0a5b11", "startTimeUnixNano": "1796073341193389992", "endTimeUnixNano": "1796073341193826072", "durationMs": 0.43608, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "60187bc54ec4d40721eb4a66ad88c953", "spanId": "9fe24d85dd0a5b11", "parentSpanId": "531c86033a927e96", "startTimeUnixNano": "1796073341183232688", "endTimeUnixNano": "1796073341193846430", "durationMs": 10.613742, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.607897, "db.connection": "reader", "db.lock_wait_ms": 1.57}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "60187bc54ec4d40721eb4a66ad88c953", "spanId": "531c86033a927e96", "parentSpanId": "7726d5b7394c70dd", "startTimeUnixNano": "1796073341183220275", "endTimeUnixNano": "1796073341193860005", "durationMs": 10.63973, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "60187bc54ec4d40721eb4a66ad88c953", "spanId": "7726d5b7394c70dd", "parentSpanId": "1017ee620d79e320", "startTimeUnixNano": "1796073341183165874", "endTimeUnixNano": "1796073341193865876", "durationMs": 10.700002, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "60187bc54ec4d40721eb4a66ad88c953", "spanId": "1017ee620d79e320", "startTimeUnixNano": "1796073341183136349", "endTimeUnixNano": "1796073341193873129", "durationMs": 10.73678, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "56c66b4b48292ba362c2633c26467a17", "spanId": "d4ba02bc1ce038c7", "parentSpanId": "ed1c5d78974c8e2b", "startTimeUnixNano": "1796073342604345137", "endTimeUnixNano": "1796073342604539488", "durationMs": 0.194351, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "56c66b4b48292ba362c2633c26467a17", "spanId": "c32f4f53632d9a49", "parentSpanId": "e7b6b73f88ec6e83", "startTimeUnixNano": "1796073342604581576", "endTimeUnixNano": "1796073342605212679", "durationMs": 0.631103, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006753}}
{"type": "effect-span", "name": "sqlite", "traceId": "56c66b4b48292ba362c2633c26467a17", "spanId": "b7e6521944a690b0", "parentSpanId": "e7b6b73f88ec6e83", "startTimeUnixNano": "1796073342605294361", "endTimeUnixNano": "1796073342606258622", "durationMs": 0.964261, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009808}}
{"type": "effect-span", "name": "sqlite", "traceId": "56c66b4b48292ba362c2633c26467a17", "spanId": "08d34b0f00555b5b", "parentSpanId": "e7b6b73f88ec6e83", "startTimeUnixNano": "1796073342606277788", "endTimeUnixNano": "1796073342607184884", "durationMs": 0.907096, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008746}}
{"type": "effect-span", "name": "sqlite", "traceId": "56c66b4b48292ba362c2633c26467a17", "spanId": "a6414b59610cc47a", "parentSpanId": "e7b6b73f88ec6e83", "startTimeUnixNano": "1796073342612826327", "endTimeUnixNano": "1796073342615634856", "durationMs": 2.808529, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01105}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "56c66b4b48292ba362c2633c26467a17", "spanId": "e7b6b73f88ec6e83", "parentSpanId": "ed1c5d78974c8e2b", "startTimeUnixNano": "1796073342604574894", "endTimeUnixNano": "1796073342615893747", "durationMs": 11.318853, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "56c66b4b48292ba362c2633c26467a17", "spanId": "b85109ac9c720ea2", "parentSpanId": "ed1c5d78974c8e2b", "startTimeUnixNano": "1796073342615916860", "endTimeUnixNano": "1796073342616430043", "durationMs": 0.513183, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "56c66b4b48292ba362c2633c26467a17", "spanId": "ed1c5d78974c8e2b", "parentSpanId": "29177ef15a420403", "startTimeUnixNano": "1796073342601874606", "endTimeUnixNano": "1796073342616467703", "durationMs": 14.593097, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.465271, "db.connection": "reader", "db.lock_wait_ms": 2.423}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "56c66b4b48292ba362c2633c26467a17", "spanId": "29177ef15a420403", "parentSpanId": "903047e99ae2f062", "startTimeUnixNano": "1796073342601865749", "endTimeUnixNano": "1796073342616484825", "durationMs": 14.619076, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "56c66b4b48292ba362c2633c26467a17", "spanId": "903047e99ae2f062", "parentSpanId": "23c07aaa9cdc511f", "startTimeUnixNano": "1796073342601818652", "endTimeUnixNano": "1796073342616490225", "durationMs": 14.671573, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "56c66b4b48292ba362c2633c26467a17", "spanId": "23c07aaa9cdc511f", "startTimeUnixNano": "1796073342601799526", "endTimeUnixNano": "1796073342616501226", "durationMs": 14.7017, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a330d22d1cb26e85fc30c0e5292afd6d", "spanId": "fc44127ca1656425", "parentSpanId": "f7f0f8c9b5aa5b6b", "startTimeUnixNano": "1796073342839877619", "endTimeUnixNano": "1796073342840281219", "durationMs": 0.4036, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a330d22d1cb26e85fc30c0e5292afd6d", "spanId": "2c3b517589f3eea3", "parentSpanId": "46f5ae23b0bea53f", "startTimeUnixNano": "1796073342840376085", "endTimeUnixNano": "1796073342840584983", "durationMs": 0.208898, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010169}}
{"type": "effect-span", "name": "sqlite", "traceId": "a330d22d1cb26e85fc30c0e5292afd6d", "spanId": "dade61246767da31", "parentSpanId": "46f5ae23b0bea53f", "startTimeUnixNano": "1796073342840704596", "endTimeUnixNano": "1796073342841491037", "durationMs": 0.786441, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01656}}
{"type": "effect-span", "name": "sqlite", "traceId": "a330d22d1cb26e85fc30c0e5292afd6d", "spanId": "4a8a3e7b3d513ea4", "parentSpanId": "46f5ae23b0bea53f", "startTimeUnixNano": "1796073342841524008", "endTimeUnixNano": "1796073342842295822", "durationMs": 0.771814, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014838}}
{"type": "effect-span", "name": "sqlite", "traceId": "a330d22d1cb26e85fc30c0e5292afd6d", "spanId": "8a139454153645bb", "parentSpanId": "46f5ae23b0bea53f", "startTimeUnixNano": "1796073342847256000", "endTimeUnixNano": "1796073342849228104", "durationMs": 1.972104, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019907}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a330d22d1cb26e85fc30c0e5292afd6d", "spanId": "46f5ae23b0bea53f", "parentSpanId": "f7f0f8c9b5aa5b6b", "startTimeUnixNano": "1796073342840364323", "endTimeUnixNano": "1796073342849429048", "durationMs": 9.064725, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a330d22d1cb26e85fc30c0e5292afd6d", "spanId": "82f43180fcb1317e", "parentSpanId": "f7f0f8c9b5aa5b6b", "startTimeUnixNano": "1796073342849475424", "endTimeUnixNano": "1796073342850049190", "durationMs": 0.573766, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a330d22d1cb26e85fc30c0e5292afd6d", "spanId": "f7f0f8c9b5aa5b6b", "parentSpanId": "d7f0392b6cbdf891", "startTimeUnixNano": "1796073342837766426", "endTimeUnixNano": "1796073342850084916", "durationMs": 12.31849, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.105512, "db.connection": "reader", "db.lock_wait_ms": 2.068}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a330d22d1cb26e85fc30c0e5292afd6d", "spanId": "d7f0392b6cbdf891", "parentSpanId": "62fc867404a0c462", "startTimeUnixNano": "1796073342837752370", "endTimeUnixNano": "1796073342850107759", "durationMs": 12.355389, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a330d22d1cb26e85fc30c0e5292afd6d", "spanId": "62fc867404a0c462", "parentSpanId": "f24a7d762bfc7dad", "startTimeUnixNano": "1796073342837711394", "endTimeUnixNano": "1796073342850116756", "durationMs": 12.405362, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a330d22d1cb26e85fc30c0e5292afd6d", "spanId": "f24a7d762bfc7dad", "startTimeUnixNano": "1796073342837693711", "endTimeUnixNano": "1796073342850126063", "durationMs": 12.432352, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "38129a4a098b516c9367d27440d08282", "spanId": "41ba2e697798b284", "parentSpanId": "e23bf77c95241af3", "startTimeUnixNano": "1796073344267401982", "endTimeUnixNano": "1796073344268103305", "durationMs": 0.701323, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "38129a4a098b516c9367d27440d08282", "spanId": "5d9eb185629b3a1e", "parentSpanId": "b78dbc0a4a5b4d20", "startTimeUnixNano": "1796073344268140925", "endTimeUnixNano": "1796073344268860783", "durationMs": 0.719858, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005009}}
{"type": "effect-span", "name": "sqlite", "traceId": "38129a4a098b516c9367d27440d08282", "spanId": "a642819b7e8a5824", "parentSpanId": "b78dbc0a4a5b4d20", "startTimeUnixNano": "1796073344268931745", "endTimeUnixNano": "1796073344269632587", "durationMs": 0.700842, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009768}}
{"type": "effect-span", "name": "sqlite", "traceId": "38129a4a098b516c9367d27440d08282", "spanId": "7c57ebc6882207db", "parentSpanId": "b78dbc0a4a5b4d20", "startTimeUnixNano": "1796073344269744124", "endTimeUnixNano": "1796073344270632996", "durationMs": 0.888872, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.070081}}
{"type": "effect-span", "name": "sqlite", "traceId": "38129a4a098b516c9367d27440d08282", "spanId": "2e0d3e5ea1c45bb4", "parentSpanId": "b78dbc0a4a5b4d20", "startTimeUnixNano": "1796073344273987560", "endTimeUnixNano": "1796073344275337909", "durationMs": 1.350349, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01635}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "38129a4a098b516c9367d27440d08282", "spanId": "b78dbc0a4a5b4d20", "parentSpanId": "e23bf77c95241af3", "startTimeUnixNano": "1796073344268134824", "endTimeUnixNano": "1796073344275585589", "durationMs": 7.450765, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "38129a4a098b516c9367d27440d08282", "spanId": "2a519cadc0b1d63e", "parentSpanId": "e23bf77c95241af3", "startTimeUnixNano": "1796073344275603112", "endTimeUnixNano": "1796073344277564396", "durationMs": 1.961284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "38129a4a098b516c9367d27440d08282", "spanId": "e23bf77c95241af3", "parentSpanId": "b4522461d6fda6c5", "startTimeUnixNano": "1796073344266053396", "endTimeUnixNano": "1796073344277588621", "durationMs": 11.535225, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.344559, "db.connection": "reader", "db.lock_wait_ms": 1.313}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "38129a4a098b516c9367d27440d08282", "spanId": "b4522461d6fda6c5", "parentSpanId": "d1e63db205bc48d6", "startTimeUnixNano": "1796073344266045331", "endTimeUnixNano": "1796073344277607146", "durationMs": 11.561815, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "38129a4a098b516c9367d27440d08282", "spanId": "d1e63db205bc48d6", "parentSpanId": "9a9ad85ee84f8548", "startTimeUnixNano": "1796073344266008883", "endTimeUnixNano": "1796073344277613157", "durationMs": 11.604274, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "38129a4a098b516c9367d27440d08282", "spanId": "9a9ad85ee84f8548", "startTimeUnixNano": "1796073344265994306", "endTimeUnixNano": "1796073344277628816", "durationMs": 11.63451, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a269374496d2079da0fea4665449606b", "spanId": "c46c7dbf01f7c779", "parentSpanId": "332888d427919b94", "startTimeUnixNano": "1796073344508289294", "endTimeUnixNano": "1796073344508657989", "durationMs": 0.368695, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a269374496d2079da0fea4665449606b", "spanId": "eff447906b038f07", "parentSpanId": "497eb2e700c9eb93", "startTimeUnixNano": "1796073344508691822", "endTimeUnixNano": "1796073344509005936", "durationMs": 0.314114, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004829}}
{"type": "effect-span", "name": "sqlite", "traceId": "a269374496d2079da0fea4665449606b", "spanId": "bf762648eca936ff", "parentSpanId": "497eb2e700c9eb93", "startTimeUnixNano": "1796073344509077749", "endTimeUnixNano": "1796073344509666473", "durationMs": 0.588724, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009488}}
{"type": "effect-span", "name": "sqlite", "traceId": "a269374496d2079da0fea4665449606b", "spanId": "b6794647cd664734", "parentSpanId": "497eb2e700c9eb93", "startTimeUnixNano": "1796073344509701037", "endTimeUnixNano": "1796073344510420144", "durationMs": 0.719107, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006482}}
{"type": "effect-span", "name": "sqlite", "traceId": "a269374496d2079da0fea4665449606b", "spanId": "5b52f40c1d8b2251", "parentSpanId": "497eb2e700c9eb93", "startTimeUnixNano": "1796073344513246746", "endTimeUnixNano": "1796073344514319780", "durationMs": 1.073034, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01037}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a269374496d2079da0fea4665449606b", "spanId": "497eb2e700c9eb93", "parentSpanId": "332888d427919b94", "startTimeUnixNano": "1796073344508686582", "endTimeUnixNano": "1796073344514532676", "durationMs": 5.846094, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a269374496d2079da0fea4665449606b", "spanId": "799aab5441204d0b", "parentSpanId": "332888d427919b94", "startTimeUnixNano": "1796073344514555068", "endTimeUnixNano": "1796073344515284433", "durationMs": 0.729365, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a269374496d2079da0fea4665449606b", "spanId": "332888d427919b94", "parentSpanId": "0879abe9b1fd2a10", "startTimeUnixNano": "1796073344506604233", "endTimeUnixNano": "1796073344515306023", "durationMs": 8.70179, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.679801, "db.connection": "reader", "db.lock_wait_ms": 1.596}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a269374496d2079da0fea4665449606b", "spanId": "0879abe9b1fd2a10", "parentSpanId": "b41eb3fec5cd6f04", "startTimeUnixNano": "1796073344506584035", "endTimeUnixNano": "1796073344515320851", "durationMs": 8.736816, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a269374496d2079da0fea4665449606b", "spanId": "b41eb3fec5cd6f04", "parentSpanId": "b7e9fa22fc6fef63", "startTimeUnixNano": "1796073344506512011", "endTimeUnixNano": "1796073344515325429", "durationMs": 8.813418, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a269374496d2079da0fea4665449606b", "spanId": "b7e9fa22fc6fef63", "startTimeUnixNano": "1796073344506485893", "endTimeUnixNano": "1796073344515333604", "durationMs": 8.847711, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "57acc8a32ffde98c881bb160e341bd0a", "spanId": "7ca9ff76723b9565", "parentSpanId": "eb0beb71e35bc494", "startTimeUnixNano": "1796073345834251978", "endTimeUnixNano": "1796073345835117997", "durationMs": 0.866019, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "57acc8a32ffde98c881bb160e341bd0a", "spanId": "456f0ca90926b567", "parentSpanId": "55fb9df10fb18b97", "startTimeUnixNano": "1796073345835159675", "endTimeUnixNano": "1796073345835687355", "durationMs": 0.52768, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00569}}
{"type": "effect-span", "name": "sqlite", "traceId": "57acc8a32ffde98c881bb160e341bd0a", "spanId": "0f3b75940e41a6fe", "parentSpanId": "55fb9df10fb18b97", "startTimeUnixNano": "1796073345835778134", "endTimeUnixNano": "1796073345836638473", "durationMs": 0.860339, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01071}}
{"type": "effect-span", "name": "sqlite", "traceId": "57acc8a32ffde98c881bb160e341bd0a", "spanId": "d9a5ead1a3fc7e37", "parentSpanId": "55fb9df10fb18b97", "startTimeUnixNano": "1796073345836660975", "endTimeUnixNano": "1796073345837284674", "durationMs": 0.623699, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009217}}
{"type": "effect-span", "name": "sqlite", "traceId": "57acc8a32ffde98c881bb160e341bd0a", "spanId": "7053b7a6d41b851e", "parentSpanId": "55fb9df10fb18b97", "startTimeUnixNano": "1796073345840373995", "endTimeUnixNano": "1796073345842261452", "durationMs": 1.887457, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011822}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "57acc8a32ffde98c881bb160e341bd0a", "spanId": "55fb9df10fb18b97", "parentSpanId": "eb0beb71e35bc494", "startTimeUnixNano": "1796073345835153443", "endTimeUnixNano": "1796073345842459370", "durationMs": 7.305927, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "57acc8a32ffde98c881bb160e341bd0a", "spanId": "1c0b5b438afede54", "parentSpanId": "eb0beb71e35bc494", "startTimeUnixNano": "1796073345842474098", "endTimeUnixNano": "1796073345844619474", "durationMs": 2.145376, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "57acc8a32ffde98c881bb160e341bd0a", "spanId": "eb0beb71e35bc494", "parentSpanId": "a6fe28e158d30e58", "startTimeUnixNano": "1796073345832358830", "endTimeUnixNano": "1796073345844640123", "durationMs": 12.281293, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.886676, "db.connection": "reader", "db.lock_wait_ms": 1.841}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "57acc8a32ffde98c881bb160e341bd0a", "spanId": "a6fe28e158d30e58", "parentSpanId": "6abc73e1c7eec281", "startTimeUnixNano": "1796073345832343651", "endTimeUnixNano": "1796073345844653017", "durationMs": 12.309366, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "57acc8a32ffde98c881bb160e341bd0a", "spanId": "6abc73e1c7eec281", "parentSpanId": "04321222f1e8e714", "startTimeUnixNano": "1796073345832288529", "endTimeUnixNano": "1796073345844657044", "durationMs": 12.368515, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "57acc8a32ffde98c881bb160e341bd0a", "spanId": "04321222f1e8e714", "startTimeUnixNano": "1796073345832267450", "endTimeUnixNano": "1796073345844662735", "durationMs": 12.395285, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "686aeec86839cd2ea5ef015349fcd868", "spanId": "8d02f895279a89c6", "parentSpanId": "660114e533820c02", "startTimeUnixNano": "1796073346057040091", "endTimeUnixNano": "1796073346057244711", "durationMs": 0.20462, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "686aeec86839cd2ea5ef015349fcd868", "spanId": "c4d57258e353994b", "parentSpanId": "66cec5fe87ee2469", "startTimeUnixNano": "1796073346057278845", "endTimeUnixNano": "1796073346057495848", "durationMs": 0.217003, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005039}}
{"type": "effect-span", "name": "sqlite", "traceId": "686aeec86839cd2ea5ef015349fcd868", "spanId": "d693ad777fdb3ad3", "parentSpanId": "66cec5fe87ee2469", "startTimeUnixNano": "1796073346057565137", "endTimeUnixNano": "1796073346058379821", "durationMs": 0.814684, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008035}}
{"type": "effect-span", "name": "sqlite", "traceId": "686aeec86839cd2ea5ef015349fcd868", "spanId": "bb0881baab9c2246", "parentSpanId": "66cec5fe87ee2469", "startTimeUnixNano": "1796073346058393145", "endTimeUnixNano": "1796073346058935042", "durationMs": 0.541897, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005681}}
{"type": "effect-span", "name": "sqlite", "traceId": "686aeec86839cd2ea5ef015349fcd868", "spanId": "c18d86e1f3c2c1f6", "parentSpanId": "66cec5fe87ee2469", "startTimeUnixNano": "1796073346062099654", "endTimeUnixNano": "1796073346063866207", "durationMs": 1.766553, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009758}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "686aeec86839cd2ea5ef015349fcd868", "spanId": "66cec5fe87ee2469", "parentSpanId": "660114e533820c02", "startTimeUnixNano": "1796073346057272884", "endTimeUnixNano": "1796073346064033027", "durationMs": 6.760143, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "686aeec86839cd2ea5ef015349fcd868", "spanId": "e09e500ff9d9c222", "parentSpanId": "660114e533820c02", "startTimeUnixNano": "1796073346064043937", "endTimeUnixNano": "1796073346064211468", "durationMs": 0.167531, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "686aeec86839cd2ea5ef015349fcd868", "spanId": "660114e533820c02", "parentSpanId": "7e0be4ad70ded5ad", "startTimeUnixNano": "1796073346055678911", "endTimeUnixNano": "1796073346064233579", "durationMs": 8.554668, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.358164, "db.connection": "reader", "db.lock_wait_ms": 1.329}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "686aeec86839cd2ea5ef015349fcd868", "spanId": "7e0be4ad70ded5ad", "parentSpanId": "d6b0606a82525e34", "startTimeUnixNano": "1796073346055671818", "endTimeUnixNano": "1796073346064246744", "durationMs": 8.574926, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "686aeec86839cd2ea5ef015349fcd868", "spanId": "d6b0606a82525e34", "parentSpanId": "3b470199b8242903", "startTimeUnixNano": "1796073346055640650", "endTimeUnixNano": "1796073346064251873", "durationMs": 8.611223, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "686aeec86839cd2ea5ef015349fcd868", "spanId": "3b470199b8242903", "startTimeUnixNano": "1796073346055623939", "endTimeUnixNano": "1796073346064258886", "durationMs": 8.634947, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "29767243000fc6f4004515ac065565f3", "spanId": "61eaa21355dd4f7c", "parentSpanId": "1d41ee8be72b1611", "startTimeUnixNano": "1796073347449686633", "endTimeUnixNano": "1796073347450609168", "durationMs": 0.922535, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "29767243000fc6f4004515ac065565f3", "spanId": "87786d76e257456c", "parentSpanId": "9d4289ea5fda52d5", "startTimeUnixNano": "1796073347450662317", "endTimeUnixNano": "1796073347451482621", "durationMs": 0.820304, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007153}}
{"type": "effect-span", "name": "sqlite", "traceId": "29767243000fc6f4004515ac065565f3", "spanId": "4cf4fabd251e21a1", "parentSpanId": "9d4289ea5fda52d5", "startTimeUnixNano": "1796073347451578499", "endTimeUnixNano": "1796073347452236923", "durationMs": 0.658424, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019316}}
{"type": "effect-span", "name": "sqlite", "traceId": "29767243000fc6f4004515ac065565f3", "spanId": "2dfbce74244e23ed", "parentSpanId": "9d4289ea5fda52d5", "startTimeUnixNano": "1796073347452259395", "endTimeUnixNano": "1796073347453017113", "durationMs": 0.757718, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01064}}
{"type": "effect-span", "name": "sqlite", "traceId": "29767243000fc6f4004515ac065565f3", "spanId": "48c0c95751cd1f9e", "parentSpanId": "9d4289ea5fda52d5", "startTimeUnixNano": "1796073347458014500", "endTimeUnixNano": "1796073347459966107", "durationMs": 1.951607, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017864}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "29767243000fc6f4004515ac065565f3", "spanId": "9d4289ea5fda52d5", "parentSpanId": "1d41ee8be72b1611", "startTimeUnixNano": "1796073347450652649", "endTimeUnixNano": "1796073347460214098", "durationMs": 9.561449, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "29767243000fc6f4004515ac065565f3", "spanId": "2760ab237d85e286", "parentSpanId": "1d41ee8be72b1611", "startTimeUnixNano": "1796073347460256307", "endTimeUnixNano": "1796073347462461154", "durationMs": 2.204847, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "29767243000fc6f4004515ac065565f3", "spanId": "1d41ee8be72b1611", "parentSpanId": "27c2dccb1f1a3d7d", "startTimeUnixNano": "1796073347447798084", "endTimeUnixNano": "1796073347462493454", "durationMs": 14.69537, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.880775, "db.connection": "reader", "db.lock_wait_ms": 1.833}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "29767243000fc6f4004515ac065565f3", "spanId": "27c2dccb1f1a3d7d", "parentSpanId": "48fab9594f838ff6", "startTimeUnixNano": "1796073347447789698", "endTimeUnixNano": "1796073347462512319", "durationMs": 14.722621, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "29767243000fc6f4004515ac065565f3", "spanId": "48fab9594f838ff6", "parentSpanId": "90d8f99e9bcfd72c", "startTimeUnixNano": "1796073347447745306", "endTimeUnixNano": "1796073347462518721", "durationMs": 14.773415, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "29767243000fc6f4004515ac065565f3", "spanId": "90d8f99e9bcfd72c", "startTimeUnixNano": "1796073347447729015", "endTimeUnixNano": "1796073347462529521", "durationMs": 14.800506, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2b4f8443cde2f2b166c1cdb7bd8bffd7", "spanId": "01e19fd353dd1e04", "parentSpanId": "efcf70130f109a4b", "startTimeUnixNano": "1796073347708630728", "endTimeUnixNano": "1796073347708992691", "durationMs": 0.361963, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2b4f8443cde2f2b166c1cdb7bd8bffd7", "spanId": "31aaa05f598e28fe", "parentSpanId": "757e4f7b57b17d9e", "startTimeUnixNano": "1796073347709027576", "endTimeUnixNano": "1796073347709190629", "durationMs": 0.163053, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005129}}
{"type": "effect-span", "name": "sqlite", "traceId": "2b4f8443cde2f2b166c1cdb7bd8bffd7", "spanId": "a27c60acf96070c8", "parentSpanId": "757e4f7b57b17d9e", "startTimeUnixNano": "1796073347709255820", "endTimeUnixNano": "1796073347709823214", "durationMs": 0.567394, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008776}}
{"type": "effect-span", "name": "sqlite", "traceId": "2b4f8443cde2f2b166c1cdb7bd8bffd7", "spanId": "e4ffacb9fc8c454c", "parentSpanId": "757e4f7b57b17d9e", "startTimeUnixNano": "1796073347709837521", "endTimeUnixNano": "1796073347710409414", "durationMs": 0.571893, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006202}}
{"type": "effect-span", "name": "sqlite", "traceId": "2b4f8443cde2f2b166c1cdb7bd8bffd7", "spanId": "0f4b23b0ff98423b", "parentSpanId": "757e4f7b57b17d9e", "startTimeUnixNano": "1796073347713171818", "endTimeUnixNano": "1796073347714241956", "durationMs": 1.070138, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021229}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2b4f8443cde2f2b166c1cdb7bd8bffd7", "spanId": "757e4f7b57b17d9e", "parentSpanId": "efcf70130f109a4b", "startTimeUnixNano": "1796073347709022096", "endTimeUnixNano": "1796073347714386215", "durationMs": 5.364119, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2b4f8443cde2f2b166c1cdb7bd8bffd7", "spanId": "28331cfb1c055ba7", "parentSpanId": "efcf70130f109a4b", "startTimeUnixNano": "1796073347714396524", "endTimeUnixNano": "1796073347714488946", "durationMs": 0.092422, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2b4f8443cde2f2b166c1cdb7bd8bffd7", "spanId": "efcf70130f109a4b", "parentSpanId": "d34fbba1bb008954", "startTimeUnixNano": "1796073347706901785", "endTimeUnixNano": "1796073347714506558", "durationMs": 7.604773, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.725367, "db.connection": "reader", "db.lock_wait_ms": 1.685}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2b4f8443cde2f2b166c1cdb7bd8bffd7", "spanId": "d34fbba1bb008954", "parentSpanId": "adc27a4daecdd47c", "startTimeUnixNano": "1796073347706888711", "endTimeUnixNano": "1796073347714517739", "durationMs": 7.629028, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2b4f8443cde2f2b166c1cdb7bd8bffd7", "spanId": "adc27a4daecdd47c", "parentSpanId": "968909f8e6680541", "startTimeUnixNano": "1796073347706848636", "endTimeUnixNano": "1796073347714521336", "durationMs": 7.6727, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2b4f8443cde2f2b166c1cdb7bd8bffd7", "spanId": "968909f8e6680541", "startTimeUnixNano": "1796073347706825473", "endTimeUnixNano": "1796073347714526616", "durationMs": 7.701143, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0ed3e947e2b687d2d5f18c0416a3ca18", "spanId": "a65a1d002e075c40", "parentSpanId": "aa7f4a739d517961", "startTimeUnixNano": "1796073349081822901", "endTimeUnixNano": "1796073349082850922", "durationMs": 1.028021, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ed3e947e2b687d2d5f18c0416a3ca18", "spanId": "6e1a53887fc36765", "parentSpanId": "6de2c0da1f8f386e", "startTimeUnixNano": "1796073349082907687", "endTimeUnixNano": "1796073349083717322", "durationMs": 0.809635, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008476}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ed3e947e2b687d2d5f18c0416a3ca18", "spanId": "f87070c08e635469", "parentSpanId": "6de2c0da1f8f386e", "startTimeUnixNano": "1796073349083828449", "endTimeUnixNano": "1796073349084918565", "durationMs": 1.090116, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015478}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ed3e947e2b687d2d5f18c0416a3ca18", "spanId": "1a25d9f47cb975dd", "parentSpanId": "6de2c0da1f8f386e", "startTimeUnixNano": "1796073349084949602", "endTimeUnixNano": "1796073349085936537", "durationMs": 0.986935, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013145}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ed3e947e2b687d2d5f18c0416a3ca18", "spanId": "22c0f140f4658dd3", "parentSpanId": "6de2c0da1f8f386e", "startTimeUnixNano": "1796073349091209597", "endTimeUnixNano": "1796073349095155280", "durationMs": 3.945683, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016961}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0ed3e947e2b687d2d5f18c0416a3ca18", "spanId": "6de2c0da1f8f386e", "parentSpanId": "aa7f4a739d517961", "startTimeUnixNano": "1796073349082897739", "endTimeUnixNano": "1796073349095382432", "durationMs": 12.484693, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0ed3e947e2b687d2d5f18c0416a3ca18", "spanId": "a93f84355aed337b", "parentSpanId": "aa7f4a739d517961", "startTimeUnixNano": "1796073349095402700", "endTimeUnixNano": "1796073349095878474", "durationMs": 0.475774, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0ed3e947e2b687d2d5f18c0416a3ca18", "spanId": "aa7f4a739d517961", "parentSpanId": "dbe574843f9037d4", "startTimeUnixNano": "1796073349080111400", "endTimeUnixNano": "1796073349095909842", "durationMs": 15.798442, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.704428, "db.connection": "reader", "db.lock_wait_ms": 1.669}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0ed3e947e2b687d2d5f18c0416a3ca18", "spanId": "dbe574843f9037d4", "parentSpanId": "e62f01142a6494a6", "startTimeUnixNano": "1796073349080100520", "endTimeUnixNano": "1796073349095930541", "durationMs": 15.830021, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0ed3e947e2b687d2d5f18c0416a3ca18", "spanId": "e62f01142a6494a6", "parentSpanId": "0a926910450d4897", "startTimeUnixNano": "1796073349080059854", "endTimeUnixNano": "1796073349095938906", "durationMs": 15.879052, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0ed3e947e2b687d2d5f18c0416a3ca18", "spanId": "0a926910450d4897", "startTimeUnixNano": "1796073349080044035", "endTimeUnixNano": "1796073349095948344", "durationMs": 15.904309, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "87d5bb9b87f90ee76b1ef6ca06c7c748", "spanId": "f6604be3c88d9720", "parentSpanId": "b704d9eae59bd474", "startTimeUnixNano": "1796073349310210399", "endTimeUnixNano": "1796073349310639927", "durationMs": 0.429528, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "87d5bb9b87f90ee76b1ef6ca06c7c748", "spanId": "b9e95ddfdbe11fc5", "parentSpanId": "e8f709f97359c4a8", "startTimeUnixNano": "1796073349310673199", "endTimeUnixNano": "1796073349310880704", "durationMs": 0.207505, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004799}}
{"type": "effect-span", "name": "sqlite", "traceId": "87d5bb9b87f90ee76b1ef6ca06c7c748", "spanId": "547b7378970119c3", "parentSpanId": "e8f709f97359c4a8", "startTimeUnixNano": "1796073349310944874", "endTimeUnixNano": "1796073349313032003", "durationMs": 2.087129, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012142}}
{"type": "effect-span", "name": "sqlite", "traceId": "87d5bb9b87f90ee76b1ef6ca06c7c748", "spanId": "bde37cc1a3c04533", "parentSpanId": "e8f709f97359c4a8", "startTimeUnixNano": "1796073349313047642", "endTimeUnixNano": "1796073349313868718", "durationMs": 0.821076, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007223}}
{"type": "effect-span", "name": "sqlite", "traceId": "87d5bb9b87f90ee76b1ef6ca06c7c748", "spanId": "52f3e33188bde74d", "parentSpanId": "e8f709f97359c4a8", "startTimeUnixNano": "1796073349317095585", "endTimeUnixNano": "1796073349319265458", "durationMs": 2.169873, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015829}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "87d5bb9b87f90ee76b1ef6ca06c7c748", "spanId": "e8f709f97359c4a8", "parentSpanId": "b704d9eae59bd474", "startTimeUnixNano": "1796073349310667959", "endTimeUnixNano": "1796073349319492029", "durationMs": 8.82407, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "87d5bb9b87f90ee76b1ef6ca06c7c748", "spanId": "be5fbe4ccf2bd6f4", "parentSpanId": "b704d9eae59bd474", "startTimeUnixNano": "1796073349319512988", "endTimeUnixNano": "1796073349319696409", "durationMs": 0.183421, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "87d5bb9b87f90ee76b1ef6ca06c7c748", "spanId": "b704d9eae59bd474", "parentSpanId": "99bb6468c73b7914", "startTimeUnixNano": "1796073349308848768", "endTimeUnixNano": "1796073349319756480", "durationMs": 10.907712, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.358785, "db.connection": "reader", "db.lock_wait_ms": 1.33}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "87d5bb9b87f90ee76b1ef6ca06c7c748", "spanId": "99bb6468c73b7914", "parentSpanId": "ce78fe5b38aed2e6", "startTimeUnixNano": "1796073349308841074", "endTimeUnixNano": "1796073349319776397", "durationMs": 10.935323, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "87d5bb9b87f90ee76b1ef6ca06c7c748", "spanId": "ce78fe5b38aed2e6", "parentSpanId": "26bd9f077c2296b3", "startTimeUnixNano": "1796073349308814274", "endTimeUnixNano": "1796073349319782369", "durationMs": 10.968095, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "87d5bb9b87f90ee76b1ef6ca06c7c748", "spanId": "26bd9f077c2296b3", "startTimeUnixNano": "1796073349308801550", "endTimeUnixNano": "1796073349319788851", "durationMs": 10.987301, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1d0898fa736e0a75f48962be85441bf7", "spanId": "d6d9edc7fcba71a8", "parentSpanId": "9e8d3ddcc95598b0", "startTimeUnixNano": "1796073350705118384", "endTimeUnixNano": "1796073350705451312", "durationMs": 0.332928, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d0898fa736e0a75f48962be85441bf7", "spanId": "843358f6d4d2616f", "parentSpanId": "d68c4ea1e75a9be6", "startTimeUnixNano": "1796073350705510843", "endTimeUnixNano": "1796073350706377364", "durationMs": 0.866521, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007224}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d0898fa736e0a75f48962be85441bf7", "spanId": "0e9047c736ea60c4", "parentSpanId": "d68c4ea1e75a9be6", "startTimeUnixNano": "1796073350706516162", "endTimeUnixNano": "1796073350707320356", "durationMs": 0.804194, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012503}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d0898fa736e0a75f48962be85441bf7", "spanId": "9b393798c2e681e4", "parentSpanId": "d68c4ea1e75a9be6", "startTimeUnixNano": "1796073350707355341", "endTimeUnixNano": "1796073350708225649", "durationMs": 0.870308, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008697}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d0898fa736e0a75f48962be85441bf7", "spanId": "71fb926554794020", "parentSpanId": "d68c4ea1e75a9be6", "startTimeUnixNano": "1796073350711611622", "endTimeUnixNano": "1796073350712679266", "durationMs": 1.067644, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012112}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1d0898fa736e0a75f48962be85441bf7", "spanId": "d68c4ea1e75a9be6", "parentSpanId": "9e8d3ddcc95598b0", "startTimeUnixNano": "1796073350705501977", "endTimeUnixNano": "1796073350712889417", "durationMs": 7.38744, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1d0898fa736e0a75f48962be85441bf7", "spanId": "65ce73ca02100280", "parentSpanId": "9e8d3ddcc95598b0", "startTimeUnixNano": "1796073350712909033", "endTimeUnixNano": "1796073350713064031", "durationMs": 0.154998, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1d0898fa736e0a75f48962be85441bf7", "spanId": "9e8d3ddcc95598b0", "parentSpanId": "606a7afface48374", "startTimeUnixNano": "1796073350702397547", "endTimeUnixNano": "1796073350713092715", "durationMs": 10.695168, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.713964, "db.connection": "reader", "db.lock_wait_ms": 2.643}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1d0898fa736e0a75f48962be85441bf7", "spanId": "606a7afface48374", "parentSpanId": "2fd028c13e06ce59", "startTimeUnixNano": "1796073350702388901", "endTimeUnixNano": "1796073350713111660", "durationMs": 10.722759, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1d0898fa736e0a75f48962be85441bf7", "spanId": "2fd028c13e06ce59", "parentSpanId": "5649ce4ae4c10274", "startTimeUnixNano": "1796073350702343907", "endTimeUnixNano": "1796073350713117801", "durationMs": 10.773894, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1d0898fa736e0a75f48962be85441bf7", "spanId": "5649ce4ae4c10274", "startTimeUnixNano": "1796073350702324932", "endTimeUnixNano": "1796073350713127800", "durationMs": 10.802868, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1045ce85c9f3b4a7dd7fa5476f90b2c7", "spanId": "640938605fe1e789", "parentSpanId": "4eacba00242e501e", "startTimeUnixNano": "1796073350934373674", "endTimeUnixNano": "1796073350934750956", "durationMs": 0.377282, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1045ce85c9f3b4a7dd7fa5476f90b2c7", "spanId": "066dcf89b1a466c6", "parentSpanId": "247e089bf025ad34", "startTimeUnixNano": "1796073350934794567", "endTimeUnixNano": "1796073350934980823", "durationMs": 0.186256, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004819}}
{"type": "effect-span", "name": "sqlite", "traceId": "1045ce85c9f3b4a7dd7fa5476f90b2c7", "spanId": "bc1dc0d968c4d7e7", "parentSpanId": "247e089bf025ad34", "startTimeUnixNano": "1796073350935061292", "endTimeUnixNano": "1796073350935983256", "durationMs": 0.921964, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.020639}}
{"type": "effect-span", "name": "sqlite", "traceId": "1045ce85c9f3b4a7dd7fa5476f90b2c7", "spanId": "e80ce640db7b8901", "parentSpanId": "247e089bf025ad34", "startTimeUnixNano": "1796073350935996070", "endTimeUnixNano": "1796073350936629918", "durationMs": 0.633848, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006141}}
{"type": "effect-span", "name": "sqlite", "traceId": "1045ce85c9f3b4a7dd7fa5476f90b2c7", "spanId": "0e9690be2bbb4436", "parentSpanId": "247e089bf025ad34", "startTimeUnixNano": "1796073350939631857", "endTimeUnixNano": "1796073350942934485", "durationMs": 3.302628, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.034905}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1045ce85c9f3b4a7dd7fa5476f90b2c7", "spanId": "247e089bf025ad34", "parentSpanId": "4eacba00242e501e", "startTimeUnixNano": "1796073350934788806", "endTimeUnixNano": "1796073350943169412", "durationMs": 8.380606, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1045ce85c9f3b4a7dd7fa5476f90b2c7", "spanId": "d31ac900934327b4", "parentSpanId": "4eacba00242e501e", "startTimeUnixNano": "1796073350943188017", "endTimeUnixNano": "1796073350943951345", "durationMs": 0.763328, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1045ce85c9f3b4a7dd7fa5476f90b2c7", "spanId": "4eacba00242e501e", "parentSpanId": "f134d2eb40c27987", "startTimeUnixNano": "1796073350932806662", "endTimeUnixNano": "1796073350943974007", "durationMs": 11.167345, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.560951, "db.connection": "reader", "db.lock_wait_ms": 1.532}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1045ce85c9f3b4a7dd7fa5476f90b2c7", "spanId": "f134d2eb40c27987", "parentSpanId": "f9016eed1842d8de", "startTimeUnixNano": "1796073350932798857", "endTimeUnixNano": "1796073350943993453", "durationMs": 11.194596, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1045ce85c9f3b4a7dd7fa5476f90b2c7", "spanId": "f9016eed1842d8de", "parentSpanId": "bd5f26e0928a7605", "startTimeUnixNano": "1796073350932768311", "endTimeUnixNano": "1796073350943999685", "durationMs": 11.231374, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1045ce85c9f3b4a7dd7fa5476f90b2c7", "spanId": "bd5f26e0928a7605", "startTimeUnixNano": "1796073350932754004", "endTimeUnixNano": "1796073350944008471", "durationMs": 11.254467, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "97e4ecf2d42765a7bbac150157773edf", "spanId": "de72a734bbb13314", "parentSpanId": "c4f5d763dbbb8a76", "startTimeUnixNano": "1796073352430097278", "endTimeUnixNano": "1796073352430409738", "durationMs": 0.31246, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "97e4ecf2d42765a7bbac150157773edf", "spanId": "abfbac560c7f1565", "parentSpanId": "9bf444b9cce5f408", "startTimeUnixNano": "1796073352430488575", "endTimeUnixNano": "1796073352430773895", "durationMs": 0.28532, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007925}}
{"type": "effect-span", "name": "sqlite", "traceId": "97e4ecf2d42765a7bbac150157773edf", "spanId": "ba80d6364e8622cb", "parentSpanId": "9bf444b9cce5f408", "startTimeUnixNano": "1796073352430888408", "endTimeUnixNano": "1796073352431731906", "durationMs": 0.843498, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011281}}
{"type": "effect-span", "name": "sqlite", "traceId": "97e4ecf2d42765a7bbac150157773edf", "spanId": "0ef3c564d48921c6", "parentSpanId": "9bf444b9cce5f408", "startTimeUnixNano": "1796073352431758635", "endTimeUnixNano": "1796073352432700276", "durationMs": 0.941641, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010861}}
{"type": "effect-span", "name": "sqlite", "traceId": "97e4ecf2d42765a7bbac150157773edf", "spanId": "a29155eca79f32d5", "parentSpanId": "9bf444b9cce5f408", "startTimeUnixNano": "1796073352437680282", "endTimeUnixNano": "1796073352442052849", "durationMs": 4.372567, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014657}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "97e4ecf2d42765a7bbac150157773edf", "spanId": "9bf444b9cce5f408", "parentSpanId": "c4f5d763dbbb8a76", "startTimeUnixNano": "1796073352430475901", "endTimeUnixNano": "1796073352442256628", "durationMs": 11.780727, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "97e4ecf2d42765a7bbac150157773edf", "spanId": "d809975934956172", "parentSpanId": "c4f5d763dbbb8a76", "startTimeUnixNano": "1796073352442269902", "endTimeUnixNano": "1796073352442654307", "durationMs": 0.384405, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "97e4ecf2d42765a7bbac150157773edf", "spanId": "c4f5d763dbbb8a76", "parentSpanId": "2d8590bf24692964", "startTimeUnixNano": "1796073352427988518", "endTimeUnixNano": "1796073352442677921", "durationMs": 14.689403, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.104632, "db.connection": "reader", "db.lock_wait_ms": 2.065}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "97e4ecf2d42765a7bbac150157773edf", "spanId": "2d8590bf24692964", "parentSpanId": "f6f656a50d3608e1", "startTimeUnixNano": "1796073352427978159", "endTimeUnixNano": "1796073352442691476", "durationMs": 14.713317, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "97e4ecf2d42765a7bbac150157773edf", "spanId": "f6f656a50d3608e1", "parentSpanId": "adec23e7c02dd42b", "startTimeUnixNano": "1796073352427930340", "endTimeUnixNano": "1796073352442697337", "durationMs": 14.766997, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "97e4ecf2d42765a7bbac150157773edf", "spanId": "adec23e7c02dd42b", "startTimeUnixNano": "1796073352427911034", "endTimeUnixNano": "1796073352442706905", "durationMs": 14.795871, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0f0b058d7a624d3c44364856c8753e05", "spanId": "4bd38ae6c09ef36f", "parentSpanId": "5c0e9c63b4752312", "startTimeUnixNano": "1796073352680404377", "endTimeUnixNano": "1796073352680603848", "durationMs": 0.199471, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0f0b058d7a624d3c44364856c8753e05", "spanId": "d66e2b2e483645ba", "parentSpanId": "1c7c07186b4790b9", "startTimeUnixNano": "1796073352680642289", "endTimeUnixNano": "1796073352680858551", "durationMs": 0.216262, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004959}}
{"type": "effect-span", "name": "sqlite", "traceId": "0f0b058d7a624d3c44364856c8753e05", "spanId": "7c41f279abf91c7c", "parentSpanId": "1c7c07186b4790b9", "startTimeUnixNano": "1796073352680930876", "endTimeUnixNano": "1796073352682130656", "durationMs": 1.19978, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008796}}
{"type": "effect-span", "name": "sqlite", "traceId": "0f0b058d7a624d3c44364856c8753e05", "spanId": "feaede55c959068a", "parentSpanId": "1c7c07186b4790b9", "startTimeUnixNano": "1796073352682147136", "endTimeUnixNano": "1796073352684506542", "durationMs": 2.359406, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006272}}
{"type": "effect-span", "name": "sqlite", "traceId": "0f0b058d7a624d3c44364856c8753e05", "spanId": "dbf53985814039f2", "parentSpanId": "1c7c07186b4790b9", "startTimeUnixNano": "1796073352687372759", "endTimeUnixNano": "1796073352691099616", "durationMs": 3.726857, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009658}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0f0b058d7a624d3c44364856c8753e05", "spanId": "1c7c07186b4790b9", "parentSpanId": "5c0e9c63b4752312", "startTimeUnixNano": "1796073352680635877", "endTimeUnixNano": "1796073352691298556", "durationMs": 10.662679, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0f0b058d7a624d3c44364856c8753e05", "spanId": "54659036d2826ff9", "parentSpanId": "5c0e9c63b4752312", "startTimeUnixNano": "1796073352691309706", "endTimeUnixNano": "1796073352691867333", "durationMs": 0.557627, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0f0b058d7a624d3c44364856c8753e05", "spanId": "5c0e9c63b4752312", "parentSpanId": "e00c5b680ded59e2", "startTimeUnixNano": "1796073352678623717", "endTimeUnixNano": "1796073352691889234", "durationMs": 13.265517, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.777715, "db.connection": "reader", "db.lock_wait_ms": 1.747}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0f0b058d7a624d3c44364856c8753e05", "spanId": "e00c5b680ded59e2", "parentSpanId": "87e998187fd0767f", "startTimeUnixNano": "1796073352678614410", "endTimeUnixNano": "1796073352691902478", "durationMs": 13.288068, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0f0b058d7a624d3c44364856c8753e05", "spanId": "87e998187fd0767f", "parentSpanId": "41e299711683b051", "startTimeUnixNano": "1796073352678580026", "endTimeUnixNano": "1796073352691906786", "durationMs": 13.32676, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0f0b058d7a624d3c44364856c8753e05", "spanId": "41e299711683b051", "startTimeUnixNano": "1796073352678555260", "endTimeUnixNano": "1796073352691914270", "durationMs": 13.35901, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7adaa207a44041acc699e53a6c58dc8c", "spanId": "7d8dc0c36f82b127", "parentSpanId": "59536f6493f6b23f", "startTimeUnixNano": "1796073354235014829", "endTimeUnixNano": "1796073354235774992", "durationMs": 0.760163, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7adaa207a44041acc699e53a6c58dc8c", "spanId": "4da741d2a3e68f61", "parentSpanId": "ea98eb640b0ea194", "startTimeUnixNano": "1796073354235814215", "endTimeUnixNano": "1796073354236517812", "durationMs": 0.703597, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004959}}
{"type": "effect-span", "name": "sqlite", "traceId": "7adaa207a44041acc699e53a6c58dc8c", "spanId": "04439a2a4963f002", "parentSpanId": "ea98eb640b0ea194", "startTimeUnixNano": "1796073354236591800", "endTimeUnixNano": "1796073354237445206", "durationMs": 0.853406, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008836}}
{"type": "effect-span", "name": "sqlite", "traceId": "7adaa207a44041acc699e53a6c58dc8c", "spanId": "d4f24a1f8ee94a5f", "parentSpanId": "ea98eb640b0ea194", "startTimeUnixNano": "1796073354237459573", "endTimeUnixNano": "1796073354238382639", "durationMs": 0.923066, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008786}}
{"type": "effect-span", "name": "sqlite", "traceId": "7adaa207a44041acc699e53a6c58dc8c", "spanId": "204a1f157bccc869", "parentSpanId": "ea98eb640b0ea194", "startTimeUnixNano": "1796073354243204882", "endTimeUnixNano": "1796073354247404027", "durationMs": 4.199145, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014257}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7adaa207a44041acc699e53a6c58dc8c", "spanId": "ea98eb640b0ea194", "parentSpanId": "59536f6493f6b23f", "startTimeUnixNano": "1796073354235808324", "endTimeUnixNano": "1796073354247613487", "durationMs": 11.805163, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7adaa207a44041acc699e53a6c58dc8c", "spanId": "ba803ed893062d01", "parentSpanId": "59536f6493f6b23f", "startTimeUnixNano": "1796073354247631139", "endTimeUnixNano": "1796073354247780868", "durationMs": 0.149729, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7adaa207a44041acc699e53a6c58dc8c", "spanId": "59536f6493f6b23f", "parentSpanId": "18d30eee23d63843", "startTimeUnixNano": "1796073354233158498", "endTimeUnixNano": "1796073354247805433", "durationMs": 14.646935, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.85058, "db.connection": "reader", "db.lock_wait_ms": 1.809}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7adaa207a44041acc699e53a6c58dc8c", "spanId": "18d30eee23d63843", "parentSpanId": "a1fef41684d8ece1", "startTimeUnixNano": "1796073354233150053", "endTimeUnixNano": "1796073354247822956", "durationMs": 14.672903, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7adaa207a44041acc699e53a6c58dc8c", "spanId": "a1fef41684d8ece1", "parentSpanId": "50fafbf2b080eaf8", "startTimeUnixNano": "1796073354233105289", "endTimeUnixNano": "1796073354247830821", "durationMs": 14.725532, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7adaa207a44041acc699e53a6c58dc8c", "spanId": "50fafbf2b080eaf8", "startTimeUnixNano": "1796073354233086464", "endTimeUnixNano": "1796073354247838665", "durationMs": 14.752201, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "078f3f4ce6505e7003e885b468981b59", "spanId": "455b51394b2129d1", "parentSpanId": "3134076f677bd5ca", "startTimeUnixNano": "1796073354467527895", "endTimeUnixNano": "1796073354467878898", "durationMs": 0.351003, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "078f3f4ce6505e7003e885b468981b59", "spanId": "1f9a9c8e352d35d4", "parentSpanId": "99d6ff39005a2c73", "startTimeUnixNano": "1796073354467915586", "endTimeUnixNano": "1796073354468107773", "durationMs": 0.192187, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004638}}
{"type": "effect-span", "name": "sqlite", "traceId": "078f3f4ce6505e7003e885b468981b59", "spanId": "e0ccf71360fc4073", "parentSpanId": "99d6ff39005a2c73", "startTimeUnixNano": "1796073354468193162", "endTimeUnixNano": "1796073354468877103", "durationMs": 0.683941, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010038}}
{"type": "effect-span", "name": "sqlite", "traceId": "078f3f4ce6505e7003e885b468981b59", "spanId": "3166029353b5daed", "parentSpanId": "99d6ff39005a2c73", "startTimeUnixNano": "1796073354468891780", "endTimeUnixNano": "1796073354469743453", "durationMs": 0.851673, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007765}}
{"type": "effect-span", "name": "sqlite", "traceId": "078f3f4ce6505e7003e885b468981b59", "spanId": "9594d9f0be155047", "parentSpanId": "99d6ff39005a2c73", "startTimeUnixNano": "1796073354472695230", "endTimeUnixNano": "1796073354474476240", "durationMs": 1.78101, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023434}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "078f3f4ce6505e7003e885b468981b59", "spanId": "99d6ff39005a2c73", "parentSpanId": "3134076f677bd5ca", "startTimeUnixNano": "1796073354467909905", "endTimeUnixNano": "1796073354474658179", "durationMs": 6.748274, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "078f3f4ce6505e7003e885b468981b59", "spanId": "aec4fec4faa5cace", "parentSpanId": "3134076f677bd5ca", "startTimeUnixNano": "1796073354474672024", "endTimeUnixNano": "1796073354475270086", "durationMs": 0.598062, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "078f3f4ce6505e7003e885b468981b59", "spanId": "3134076f677bd5ca", "parentSpanId": "2d3c943fa6d48655", "startTimeUnixNano": "1796073354465955943", "endTimeUnixNano": "1796073354475294832", "durationMs": 9.338889, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.56517, "db.connection": "reader", "db.lock_wait_ms": 1.531}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "078f3f4ce6505e7003e885b468981b59", "spanId": "2d3c943fa6d48655", "parentSpanId": "925faea56d236d86", "startTimeUnixNano": "1796073354465947157", "endTimeUnixNano": "1796073354475314098", "durationMs": 9.366941, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "078f3f4ce6505e7003e885b468981b59", "spanId": "925faea56d236d86", "parentSpanId": "6bf8c6b2d94c0275", "startTimeUnixNano": "1796073354465914917", "endTimeUnixNano": "1796073354475319929", "durationMs": 9.405012, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "078f3f4ce6505e7003e885b468981b59", "spanId": "6bf8c6b2d94c0275", "startTimeUnixNano": "1796073354465900510", "endTimeUnixNano": "1796073354475327793", "durationMs": 9.427283, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b60907362d17c704341badbb85c8db01", "spanId": "9fc9b02c93a1c616", "parentSpanId": "27766f888030fb90", "startTimeUnixNano": "1796073355842095379", "endTimeUnixNano": "1796073355843117108", "durationMs": 1.021729, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b60907362d17c704341badbb85c8db01", "spanId": "232e3f29768c9159", "parentSpanId": "5f408eaeddb0dba8", "startTimeUnixNano": "1796073355843184794", "endTimeUnixNano": "1796073355844154377", "durationMs": 0.969583, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008235}}
{"type": "effect-span", "name": "sqlite", "traceId": "b60907362d17c704341badbb85c8db01", "spanId": "350ac092da4a18e6", "parentSpanId": "5f408eaeddb0dba8", "startTimeUnixNano": "1796073355844254713", "endTimeUnixNano": "1796073355845468409", "durationMs": 1.213696, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011531}}
{"type": "effect-span", "name": "sqlite", "traceId": "b60907362d17c704341badbb85c8db01", "spanId": "edbedac694961746", "parentSpanId": "5f408eaeddb0dba8", "startTimeUnixNano": "1796073355845493726", "endTimeUnixNano": "1796073355846509654", "durationMs": 1.015928, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01053}}
{"type": "effect-span", "name": "sqlite", "traceId": "b60907362d17c704341badbb85c8db01", "spanId": "9b0cb35952b57bd6", "parentSpanId": "5f408eaeddb0dba8", "startTimeUnixNano": "1796073355849853931", "endTimeUnixNano": "1796073355852344370", "durationMs": 2.490439, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014417}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b60907362d17c704341badbb85c8db01", "spanId": "5f408eaeddb0dba8", "parentSpanId": "27766f888030fb90", "startTimeUnixNano": "1796073355843174585", "endTimeUnixNano": "1796073355852578635", "durationMs": 9.40405, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b60907362d17c704341badbb85c8db01", "spanId": "08c8f5d772db4db8", "parentSpanId": "27766f888030fb90", "startTimeUnixNano": "1796073355852597180", "endTimeUnixNano": "1796073355853020397", "durationMs": 0.423217, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b60907362d17c704341badbb85c8db01", "spanId": "27766f888030fb90", "parentSpanId": "83ba73bb6fe8869d", "startTimeUnixNano": "1796073355840012227", "endTimeUnixNano": "1796073355853040203", "durationMs": 13.027976, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.077401, "db.connection": "reader", "db.lock_wait_ms": 2.005}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b60907362d17c704341badbb85c8db01", "spanId": "83ba73bb6fe8869d", "parentSpanId": "237b3c643be39355", "startTimeUnixNano": "1796073355840000064", "endTimeUnixNano": "1796073355853053779", "durationMs": 13.053715, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b60907362d17c704341badbb85c8db01", "spanId": "237b3c643be39355", "parentSpanId": "d1d90353ecd72dfb", "startTimeUnixNano": "1796073355839942167", "endTimeUnixNano": "1796073355853059850", "durationMs": 13.117683, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b60907362d17c704341badbb85c8db01", "spanId": "d1d90353ecd72dfb", "startTimeUnixNano": "1796073355839915477", "endTimeUnixNano": "1796073355853069087", "durationMs": 13.15361, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2459f5026e7496de480e06041212a26e", "spanId": "30a9f73bb2543821", "parentSpanId": "1c22f4839544e1bd", "startTimeUnixNano": "1796073356081303755", "endTimeUnixNano": "1796073356081628258", "durationMs": 0.324503, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2459f5026e7496de480e06041212a26e", "spanId": "0820d9a6dfffb1e6", "parentSpanId": "004b20ad34ce127b", "startTimeUnixNano": "1796073356081669205", "endTimeUnixNano": "1796073356081778257", "durationMs": 0.109052, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005139}}
{"type": "effect-span", "name": "sqlite", "traceId": "2459f5026e7496de480e06041212a26e", "spanId": "5b9f465ed9a07dc0", "parentSpanId": "004b20ad34ce127b", "startTimeUnixNano": "1796073356081839331", "endTimeUnixNano": "1796073356082637454", "durationMs": 0.798123, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008886}}
{"type": "effect-span", "name": "sqlite", "traceId": "2459f5026e7496de480e06041212a26e", "spanId": "87da7c9dc0523302", "parentSpanId": "004b20ad34ce127b", "startTimeUnixNano": "1796073356082650869", "endTimeUnixNano": "1796073356083275811", "durationMs": 0.624942, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008446}}
{"type": "effect-span", "name": "sqlite", "traceId": "2459f5026e7496de480e06041212a26e", "spanId": "1034012f94463192", "parentSpanId": "004b20ad34ce127b", "startTimeUnixNano": "1796073356086251663", "endTimeUnixNano": "1796073356088573539", "durationMs": 2.321876, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01095}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2459f5026e7496de480e06041212a26e", "spanId": "004b20ad34ce127b", "parentSpanId": "1c22f4839544e1bd", "startTimeUnixNano": "1796073356081660007", "endTimeUnixNano": "1796073356088731863", "durationMs": 7.071856, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2459f5026e7496de480e06041212a26e", "spanId": "b1f338828304e213", "parentSpanId": "1c22f4839544e1bd", "startTimeUnixNano": "1796073356088742583", "endTimeUnixNano": "1796073356089117029", "durationMs": 0.374446, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2459f5026e7496de480e06041212a26e", "spanId": "1c22f4839544e1bd", "parentSpanId": "e82d3688c5cade8a", "startTimeUnixNano": "1796073356079967141", "endTimeUnixNano": "1796073356089133940", "durationMs": 9.166799, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.333388, "db.connection": "reader", "db.lock_wait_ms": 1.306}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2459f5026e7496de480e06041212a26e", "spanId": "e82d3688c5cade8a", "parentSpanId": "04f0757a64f02114", "startTimeUnixNano": "1796073356079959787", "endTimeUnixNano": "1796073356089145432", "durationMs": 9.185645, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2459f5026e7496de480e06041212a26e", "spanId": "04f0757a64f02114", "parentSpanId": "69141da804ee3781", "startTimeUnixNano": "1796073356079933007", "endTimeUnixNano": "1796073356089150832", "durationMs": 9.217825, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2459f5026e7496de480e06041212a26e", "spanId": "69141da804ee3781", "startTimeUnixNano": "1796073356079920945", "endTimeUnixNano": "1796073356089156683", "durationMs": 9.235738, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "25eb52afa947b236fbdb67314fa2c5f6", "spanId": "be9ccbda52af6ba6", "parentSpanId": "10c4fdff4bef88e7", "startTimeUnixNano": "1796073357494151283", "endTimeUnixNano": "1796073357494286714", "durationMs": 0.135431, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "25eb52afa947b236fbdb67314fa2c5f6", "spanId": "9f37ee33bda2e137", "parentSpanId": "17ce27a70575319c", "startTimeUnixNano": "1796073357494325517", "endTimeUnixNano": "1796073357495661831", "durationMs": 1.336314, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00572}}
{"type": "effect-span", "name": "sqlite", "traceId": "25eb52afa947b236fbdb67314fa2c5f6", "spanId": "f4ad5892439d1a36", "parentSpanId": "17ce27a70575319c", "startTimeUnixNano": "1796073357495751888", "endTimeUnixNano": "1796073357496535455", "durationMs": 0.783567, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01068}}
{"type": "effect-span", "name": "sqlite", "traceId": "25eb52afa947b236fbdb67314fa2c5f6", "spanId": "f3816e2d317bbad7", "parentSpanId": "17ce27a70575319c", "startTimeUnixNano": "1796073357496595807", "endTimeUnixNano": "1796073357497584305", "durationMs": 0.988498, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008446}}
{"type": "effect-span", "name": "sqlite", "traceId": "25eb52afa947b236fbdb67314fa2c5f6", "spanId": "b45a7984ad3fe147", "parentSpanId": "17ce27a70575319c", "startTimeUnixNano": "1796073357502527293", "endTimeUnixNano": "1796073357504241209", "durationMs": 1.713916, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008746}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "25eb52afa947b236fbdb67314fa2c5f6", "spanId": "17ce27a70575319c", "parentSpanId": "10c4fdff4bef88e7", "startTimeUnixNano": "1796073357494319606", "endTimeUnixNano": "1796073357504452842", "durationMs": 10.133236, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "25eb52afa947b236fbdb67314fa2c5f6", "spanId": "2d22f3d797421dee", "parentSpanId": "10c4fdff4bef88e7", "startTimeUnixNano": "1796073357504474914", "endTimeUnixNano": "1796073357504623359", "durationMs": 0.148445, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "25eb52afa947b236fbdb67314fa2c5f6", "spanId": "10c4fdff4bef88e7", "parentSpanId": "20e2db633185a06a", "startTimeUnixNano": "1796073357492247454", "endTimeUnixNano": "1796073357504641653", "durationMs": 12.394199, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.900152, "db.connection": "reader", "db.lock_wait_ms": 1.866}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "25eb52afa947b236fbdb67314fa2c5f6", "spanId": "20e2db633185a06a", "parentSpanId": "5104ebc31d93bd07", "startTimeUnixNano": "1796073357492239078", "endTimeUnixNano": "1796073357504653686", "durationMs": 12.414608, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "25eb52afa947b236fbdb67314fa2c5f6", "spanId": "5104ebc31d93bd07", "parentSpanId": "2af7255279362981", "startTimeUnixNano": "1796073357492199585", "endTimeUnixNano": "1796073357504662041", "durationMs": 12.462456, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "25eb52afa947b236fbdb67314fa2c5f6", "spanId": "2af7255279362981", "startTimeUnixNano": "1796073357492179137", "endTimeUnixNano": "1796073357504667401", "durationMs": 12.488264, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "522d62229f0c07a5e59f854f3dd833ee", "spanId": "36e49758cfa45b4d", "parentSpanId": "6cf9f1df2f9d26e3", "startTimeUnixNano": "1796073357742085898", "endTimeUnixNano": "1796073357742449363", "durationMs": 0.363465, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "522d62229f0c07a5e59f854f3dd833ee", "spanId": "03b14b1e2cfcb8d8", "parentSpanId": "0e06620f82a47999", "startTimeUnixNano": "1796073357742495709", "endTimeUnixNano": "1796073357742770981", "durationMs": 0.275272, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00534}}
{"type": "effect-span", "name": "sqlite", "traceId": "522d62229f0c07a5e59f854f3dd833ee", "spanId": "0e5a0c50b114a6a8", "parentSpanId": "0e06620f82a47999", "startTimeUnixNano": "1796073357742847804", "endTimeUnixNano": "1796073357743821194", "durationMs": 0.97339, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010449}}
{"type": "effect-span", "name": "sqlite", "traceId": "522d62229f0c07a5e59f854f3dd833ee", "spanId": "c3b0690779108148", "parentSpanId": "0e06620f82a47999", "startTimeUnixNano": "1796073357743836793", "endTimeUnixNano": "1796073357744929544", "durationMs": 1.092751, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.00579}}
{"type": "effect-span", "name": "sqlite", "traceId": "522d62229f0c07a5e59f854f3dd833ee", "spanId": "30fc590878c8e4c3", "parentSpanId": "0e06620f82a47999", "startTimeUnixNano": "1796073357748115145", "endTimeUnixNano": "1796073357749602661", "durationMs": 1.487516, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015099}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "522d62229f0c07a5e59f854f3dd833ee", "spanId": "0e06620f82a47999", "parentSpanId": "6cf9f1df2f9d26e3", "startTimeUnixNano": "1796073357742485541", "endTimeUnixNano": "1796073357749782084", "durationMs": 7.296543, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "522d62229f0c07a5e59f854f3dd833ee", "spanId": "a0d0a515af036935", "parentSpanId": "6cf9f1df2f9d26e3", "startTimeUnixNano": "1796073357749791662", "endTimeUnixNano": "1796073357750208467", "durationMs": 0.416805, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "522d62229f0c07a5e59f854f3dd833ee", "spanId": "6cf9f1df2f9d26e3", "parentSpanId": "2e6e81abab7aec76", "startTimeUnixNano": "1796073357740707004", "endTimeUnixNano": "1796073357750226871", "durationMs": 9.519867, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.376139, "db.connection": "reader", "db.lock_wait_ms": 1.348}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "522d62229f0c07a5e59f854f3dd833ee", "spanId": "2e6e81abab7aec76", "parentSpanId": "7fea11aff0fa8e9d", "startTimeUnixNano": "1796073357740700042", "endTimeUnixNano": "1796073357750239605", "durationMs": 9.539563, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "522d62229f0c07a5e59f854f3dd833ee", "spanId": "7fea11aff0fa8e9d", "parentSpanId": "ebab81749c082466", "startTimeUnixNano": "1796073357740663664", "endTimeUnixNano": "1796073357750243672", "durationMs": 9.580008, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "522d62229f0c07a5e59f854f3dd833ee", "spanId": "ebab81749c082466", "startTimeUnixNano": "1796073357740648426", "endTimeUnixNano": "1796073357750249553", "durationMs": 9.601127, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7598ea7f4173cc44519262fa9c476ce7", "spanId": "71a8d2ca8580c807", "parentSpanId": "e3f339042bd371f2", "startTimeUnixNano": "1796073359225512740", "endTimeUnixNano": "1796073359225688126", "durationMs": 0.175386, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7598ea7f4173cc44519262fa9c476ce7", "spanId": "a0e814bf1b541490", "parentSpanId": "fd977dd4fe1974ec", "startTimeUnixNano": "1796073359225740313", "endTimeUnixNano": "1796073359226475560", "durationMs": 0.735247, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007754}}
{"type": "effect-span", "name": "sqlite", "traceId": "7598ea7f4173cc44519262fa9c476ce7", "spanId": "4e3239a247b84a0d", "parentSpanId": "fd977dd4fe1974ec", "startTimeUnixNano": "1796073359226586426", "endTimeUnixNano": "1796073359227274765", "durationMs": 0.688339, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012924}}
{"type": "effect-span", "name": "sqlite", "traceId": "7598ea7f4173cc44519262fa9c476ce7", "spanId": "5cc2e706303477d5", "parentSpanId": "fd977dd4fe1974ec", "startTimeUnixNano": "1796073359227311894", "endTimeUnixNano": "1796073359228308868", "durationMs": 0.996974, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011572}}
{"type": "effect-span", "name": "sqlite", "traceId": "7598ea7f4173cc44519262fa9c476ce7", "spanId": "e628fbc3459cacf2", "parentSpanId": "fd977dd4fe1974ec", "startTimeUnixNano": "1796073359231795890", "endTimeUnixNano": "1796073359234595595", "durationMs": 2.799705, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01077}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7598ea7f4173cc44519262fa9c476ce7", "spanId": "fd977dd4fe1974ec", "parentSpanId": "e3f339042bd371f2", "startTimeUnixNano": "1796073359225732438", "endTimeUnixNano": "1796073359234799323", "durationMs": 9.066885, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7598ea7f4173cc44519262fa9c476ce7", "spanId": "f6e7e09af82ea617", "parentSpanId": "e3f339042bd371f2", "startTimeUnixNano": "1796073359234825903", "endTimeUnixNano": "1796073359236818527", "durationMs": 1.992624, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7598ea7f4173cc44519262fa9c476ce7", "spanId": "e3f339042bd371f2", "parentSpanId": "af43ab7aaedf9420", "startTimeUnixNano": "1796073359222805357", "endTimeUnixNano": "1796073359236839957", "durationMs": 14.0346, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.703135, "db.connection": "reader", "db.lock_wait_ms": 2.662}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7598ea7f4173cc44519262fa9c476ce7", "spanId": "af43ab7aaedf9420", "parentSpanId": "36cb60570292facf", "startTimeUnixNano": "1796073359222793945", "endTimeUnixNano": "1796073359236852039", "durationMs": 14.058094, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7598ea7f4173cc44519262fa9c476ce7", "spanId": "36cb60570292facf", "parentSpanId": "e0e4bc32162decf5", "startTimeUnixNano": "1796073359222740676", "endTimeUnixNano": "1796073359236858481", "durationMs": 14.117805, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7598ea7f4173cc44519262fa9c476ce7", "spanId": "e0e4bc32162decf5", "startTimeUnixNano": "1796073359222720188", "endTimeUnixNano": "1796073359236864522", "durationMs": 14.144334, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "97f4fb0ae5bc919f7467173de23ba8c8", "spanId": "7817be9ce4f99803", "parentSpanId": "875dfcb7d01c8234", "startTimeUnixNano": "1796073359458061835", "endTimeUnixNano": "1796073359458451089", "durationMs": 0.389254, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "97f4fb0ae5bc919f7467173de23ba8c8", "spanId": "f7d180d5b910686e", "parentSpanId": "8ac7f172f745c95c", "startTimeUnixNano": "1796073359458499829", "endTimeUnixNano": "1796073359458668914", "durationMs": 0.169085, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006242}}
{"type": "effect-span", "name": "sqlite", "traceId": "97f4fb0ae5bc919f7467173de23ba8c8", "spanId": "d6b64f8c382a0ac0", "parentSpanId": "8ac7f172f745c95c", "startTimeUnixNano": "1796073359458747059", "endTimeUnixNano": "1796073359459591809", "durationMs": 0.84475, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009548}}
{"type": "effect-span", "name": "sqlite", "traceId": "97f4fb0ae5bc919f7467173de23ba8c8", "spanId": "5484111b40299b39", "parentSpanId": "8ac7f172f745c95c", "startTimeUnixNano": "1796073359459607288", "endTimeUnixNano": "1796073359460308031", "durationMs": 0.700743, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006612}}
{"type": "effect-span", "name": "sqlite", "traceId": "97f4fb0ae5bc919f7467173de23ba8c8", "spanId": "33596463c1f983d4", "parentSpanId": "8ac7f172f745c95c", "startTimeUnixNano": "1796073359463957375", "endTimeUnixNano": "1796073359465473513", "durationMs": 1.516138, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.049692}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "97f4fb0ae5bc919f7467173de23ba8c8", "spanId": "8ac7f172f745c95c", "parentSpanId": "875dfcb7d01c8234", "startTimeUnixNano": "1796073359458492275", "endTimeUnixNano": "1796073359465703851", "durationMs": 7.211576, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "97f4fb0ae5bc919f7467173de23ba8c8", "spanId": "9630ad99336df95c", "parentSpanId": "875dfcb7d01c8234", "startTimeUnixNano": "1796073359465722426", "endTimeUnixNano": "1796073359466543552", "durationMs": 0.821126, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "97f4fb0ae5bc919f7467173de23ba8c8", "spanId": "875dfcb7d01c8234", "parentSpanId": "b1952a6e8d5ba11b", "startTimeUnixNano": "1796073359456603223", "endTimeUnixNano": "1796073359466566685", "durationMs": 9.963462, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.455216, "db.connection": "reader", "db.lock_wait_ms": 1.415}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "97f4fb0ae5bc919f7467173de23ba8c8", "spanId": "b1952a6e8d5ba11b", "parentSpanId": "3009be73086d61ca", "startTimeUnixNano": "1796073359456595509", "endTimeUnixNano": "1796073359466585741", "durationMs": 9.990232, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "97f4fb0ae5bc919f7467173de23ba8c8", "spanId": "3009be73086d61ca", "parentSpanId": "7ffd46bea2eb35f8", "startTimeUnixNano": "1796073359456563530", "endTimeUnixNano": "1796073359466591041", "durationMs": 10.027511, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "97f4fb0ae5bc919f7467173de23ba8c8", "spanId": "7ffd46bea2eb35f8", "startTimeUnixNano": "1796073359456541799", "endTimeUnixNano": "1796073359466600649", "durationMs": 10.05885, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b991d34b6cd7177f45a58d56a4253baa", "spanId": "f22fb3f5259b56bc", "parentSpanId": "6da7091d40420656", "startTimeUnixNano": "1796073360799621860", "endTimeUnixNano": "1796073360800430033", "durationMs": 0.808173, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b991d34b6cd7177f45a58d56a4253baa", "spanId": "393fc7841003ffce", "parentSpanId": "96d7a2d210d91d9a", "startTimeUnixNano": "1796073360800489563", "endTimeUnixNano": "1796073360801242834", "durationMs": 0.753271, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00536}}
{"type": "effect-span", "name": "sqlite", "traceId": "b991d34b6cd7177f45a58d56a4253baa", "spanId": "e8fc7340c5d6213e", "parentSpanId": "96d7a2d210d91d9a", "startTimeUnixNano": "1796073360801324165", "endTimeUnixNano": "1796073360802245017", "durationMs": 0.920852, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010018}}
{"type": "effect-span", "name": "sqlite", "traceId": "b991d34b6cd7177f45a58d56a4253baa", "spanId": "533d60487d3d288d", "parentSpanId": "96d7a2d210d91d9a", "startTimeUnixNano": "1796073360802257991", "endTimeUnixNano": "1796073360803310638", "durationMs": 1.052647, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008816}}
{"type": "effect-span", "name": "sqlite", "traceId": "b991d34b6cd7177f45a58d56a4253baa", "spanId": "a976a2a47223474c", "parentSpanId": "96d7a2d210d91d9a", "startTimeUnixNano": "1796073360808279205", "endTimeUnixNano": "1796073360810812744", "durationMs": 2.533539, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01613}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b991d34b6cd7177f45a58d56a4253baa", "spanId": "96d7a2d210d91d9a", "parentSpanId": "6da7091d40420656", "startTimeUnixNano": "1796073360800481749", "endTimeUnixNano": "1796073360811039506", "durationMs": 10.557757, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b991d34b6cd7177f45a58d56a4253baa", "spanId": "391cb833a757a11f", "parentSpanId": "6da7091d40420656", "startTimeUnixNano": "1796073360811056357", "endTimeUnixNano": "1796073360811188192", "durationMs": 0.131835, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b991d34b6cd7177f45a58d56a4253baa", "spanId": "6da7091d40420656", "parentSpanId": "ab8e4c4668648971", "startTimeUnixNano": "1796073360797904097", "endTimeUnixNano": "1796073360811209101", "durationMs": 13.305004, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.711532, "db.connection": "reader", "db.lock_wait_ms": 1.665}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b991d34b6cd7177f45a58d56a4253baa", "spanId": "ab8e4c4668648971", "parentSpanId": "85b3e252a4d7e086", "startTimeUnixNano": "1796073360797895721", "endTimeUnixNano": "1796073360811227435", "durationMs": 13.331714, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b991d34b6cd7177f45a58d56a4253baa", "spanId": "85b3e252a4d7e086", "parentSpanId": "02fe5ea5097928f7", "startTimeUnixNano": "1796073360797847321", "endTimeUnixNano": "1796073360811233477", "durationMs": 13.386156, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b991d34b6cd7177f45a58d56a4253baa", "spanId": "02fe5ea5097928f7", "startTimeUnixNano": "1796073360797831342", "endTimeUnixNano": "1796073360811241261", "durationMs": 13.409919, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b9ebecfb3ae3bbe9a32a8643b2b50d73", "spanId": "a0f9da70d7524e43", "parentSpanId": "54d1bf019424d52a", "startTimeUnixNano": "1796073361019072706", "endTimeUnixNano": "1796073361019568158", "durationMs": 0.495452, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9ebecfb3ae3bbe9a32a8643b2b50d73", "spanId": "785686aa36c0bb59", "parentSpanId": "db1a47eb84d0fe03", "startTimeUnixNano": "1796073361019622128", "endTimeUnixNano": "1796073361019883073", "durationMs": 0.260945, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004879}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9ebecfb3ae3bbe9a32a8643b2b50d73", "spanId": "91be54bed0a56974", "parentSpanId": "db1a47eb84d0fe03", "startTimeUnixNano": "1796073361019962831", "endTimeUnixNano": "1796073361022166498", "durationMs": 2.203667, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01051}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9ebecfb3ae3bbe9a32a8643b2b50d73", "spanId": "108ebce77a3c79b4", "parentSpanId": "db1a47eb84d0fe03", "startTimeUnixNano": "1796073361022183169", "endTimeUnixNano": "1796073361023007351", "durationMs": 0.824182, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009237}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9ebecfb3ae3bbe9a32a8643b2b50d73", "spanId": "abc97aaa40c76e30", "parentSpanId": "db1a47eb84d0fe03", "startTimeUnixNano": "1796073361025950653", "endTimeUnixNano": "1796073361027582437", "durationMs": 1.631784, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.026569}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b9ebecfb3ae3bbe9a32a8643b2b50d73", "spanId": "db1a47eb84d0fe03", "parentSpanId": "54d1bf019424d52a", "startTimeUnixNano": "1796073361019614103", "endTimeUnixNano": "1796073361027800182", "durationMs": 8.186079, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b9ebecfb3ae3bbe9a32a8643b2b50d73", "spanId": "aaf227901b3a110e", "parentSpanId": "54d1bf019424d52a", "startTimeUnixNano": "1796073361027816312", "endTimeUnixNano": "1796073361028543754", "durationMs": 0.727442, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b9ebecfb3ae3bbe9a32a8643b2b50d73", "spanId": "54d1bf019424d52a", "parentSpanId": "7ec41bdaa710eeac", "startTimeUnixNano": "1796073361017511274", "endTimeUnixNano": "1796073361028563400", "durationMs": 11.052126, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.55473, "db.connection": "reader", "db.lock_wait_ms": 1.524}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b9ebecfb3ae3bbe9a32a8643b2b50d73", "spanId": "7ec41bdaa710eeac", "parentSpanId": "f9b5853414f4082b", "startTimeUnixNano": "1796073361017502037", "endTimeUnixNano": "1796073361028582155", "durationMs": 11.080118, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b9ebecfb3ae3bbe9a32a8643b2b50d73", "spanId": "f9b5853414f4082b", "parentSpanId": "bdbb1166fa8ab8fa", "startTimeUnixNano": "1796073361017468915", "endTimeUnixNano": "1796073361028588106", "durationMs": 11.119191, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b9ebecfb3ae3bbe9a32a8643b2b50d73", "spanId": "bdbb1166fa8ab8fa", "startTimeUnixNano": "1796073361017453376", "endTimeUnixNano": "1796073361028596121", "durationMs": 11.142745, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "61cc97f7dd9807b3b801b879469be447", "spanId": "32b19d8983beef25", "parentSpanId": "9b1d253a905d76f8", "startTimeUnixNano": "1796073362466978119", "endTimeUnixNano": "1796073362467784608", "durationMs": 0.806489, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "61cc97f7dd9807b3b801b879469be447", "spanId": "f02e285b9d3edea4", "parentSpanId": "8241c074a079521b", "startTimeUnixNano": "1796073362467825825", "endTimeUnixNano": "1796073362468577092", "durationMs": 0.751267, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00529}}
{"type": "effect-span", "name": "sqlite", "traceId": "61cc97f7dd9807b3b801b879469be447", "spanId": "fe1a46f6a193b653", "parentSpanId": "8241c074a079521b", "startTimeUnixNano": "1796073362468650538", "endTimeUnixNano": "1796073362469716299", "durationMs": 1.065761, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008806}}
{"type": "effect-span", "name": "sqlite", "traceId": "61cc97f7dd9807b3b801b879469be447", "spanId": "8da7ac31e3619aa4", "parentSpanId": "8241c074a079521b", "startTimeUnixNano": "1796073362469729544", "endTimeUnixNano": "1796073362471003973", "durationMs": 1.274429, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008115}}
{"type": "effect-span", "name": "sqlite", "traceId": "61cc97f7dd9807b3b801b879469be447", "spanId": "c5f87c06dd031def", "parentSpanId": "8241c074a079521b", "startTimeUnixNano": "1796073362478721641", "endTimeUnixNano": "1796073362481385584", "durationMs": 2.663943, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014898}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "61cc97f7dd9807b3b801b879469be447", "spanId": "8241c074a079521b", "parentSpanId": "9b1d253a905d76f8", "startTimeUnixNano": "1796073362467819994", "endTimeUnixNano": "1796073362481648252", "durationMs": 13.828258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "61cc97f7dd9807b3b801b879469be447", "spanId": "8070d8354a2c9172", "parentSpanId": "9b1d253a905d76f8", "startTimeUnixNano": "1796073362481674311", "endTimeUnixNano": "1796073362481908907", "durationMs": 0.234596, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "61cc97f7dd9807b3b801b879469be447", "spanId": "9b1d253a905d76f8", "parentSpanId": "4c1d8b6886a6bc35", "startTimeUnixNano": "1796073362465136555", "endTimeUnixNano": "1796073362481945194", "durationMs": 16.808639, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.837356, "db.connection": "reader", "db.lock_wait_ms": 1.792}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "61cc97f7dd9807b3b801b879469be447", "spanId": "4c1d8b6886a6bc35", "parentSpanId": "cf6ede83f54688e9", "startTimeUnixNano": "1796073362465117019", "endTimeUnixNano": "1796073362481982895", "durationMs": 16.865876, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "61cc97f7dd9807b3b801b879469be447", "spanId": "cf6ede83f54688e9", "parentSpanId": "1783d8216f1636ff", "startTimeUnixNano": "1796073362465050134", "endTimeUnixNano": "1796073362481997682", "durationMs": 16.947548, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "61cc97f7dd9807b3b801b879469be447", "spanId": "1783d8216f1636ff", "startTimeUnixNano": "1796073362465023585", "endTimeUnixNano": "1796073362482011307", "durationMs": 16.987722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8a6660f88941f83614ae4233bde82ca9", "spanId": "2565969490c711aa", "parentSpanId": "2d3f26d7e9965ab6", "startTimeUnixNano": "1796073362720963157", "endTimeUnixNano": "1796073362722708151", "durationMs": 1.744994, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a6660f88941f83614ae4233bde82ca9", "spanId": "c2245f9e93d25eed", "parentSpanId": "ba73fce0c3a79300", "startTimeUnixNano": "1796073362722760749", "endTimeUnixNano": "1796073362723074883", "durationMs": 0.314134, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004999}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a6660f88941f83614ae4233bde82ca9", "spanId": "e171186d4fd51069", "parentSpanId": "ba73fce0c3a79300", "startTimeUnixNano": "1796073362723158127", "endTimeUnixNano": "1796073362723790433", "durationMs": 0.632306, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009097}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a6660f88941f83614ae4233bde82ca9", "spanId": "c26238c4760c23cd", "parentSpanId": "ba73fce0c3a79300", "startTimeUnixNano": "1796073362723805651", "endTimeUnixNano": "1796073362724774112", "durationMs": 0.968461, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007594}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a6660f88941f83614ae4233bde82ca9", "spanId": "1afbdf7f86fc2a06", "parentSpanId": "ba73fce0c3a79300", "startTimeUnixNano": "1796073362728146161", "endTimeUnixNano": "1796073362729220769", "durationMs": 1.074608, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019266}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8a6660f88941f83614ae4233bde82ca9", "spanId": "ba73fce0c3a79300", "parentSpanId": "2d3f26d7e9965ab6", "startTimeUnixNano": "1796073362722754026", "endTimeUnixNano": "1796073362729531426", "durationMs": 6.7774, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8a6660f88941f83614ae4233bde82ca9", "spanId": "792fb941397b1839", "parentSpanId": "2d3f26d7e9965ab6", "startTimeUnixNano": "1796073362729563826", "endTimeUnixNano": "1796073362731106204", "durationMs": 1.542378, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8a6660f88941f83614ae4233bde82ca9", "spanId": "2d3f26d7e9965ab6", "parentSpanId": "8dbf472e274190c5", "startTimeUnixNano": "1796073362716887129", "endTimeUnixNano": "1796073362731139476", "durationMs": 14.252347, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.070207, "db.connection": "reader", "db.lock_wait_ms": 4.042}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8a6660f88941f83614ae4233bde82ca9", "spanId": "8dbf472e274190c5", "parentSpanId": "fc35856318ffa63b", "startTimeUnixNano": "1796073362716879435", "endTimeUnixNano": "1796073362731161717", "durationMs": 14.282282, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8a6660f88941f83614ae4233bde82ca9", "spanId": "fc35856318ffa63b", "parentSpanId": "0e0a7b131d011bcb", "startTimeUnixNano": "1796073362716847115", "endTimeUnixNano": "1796073362731168910", "durationMs": 14.321795, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8a6660f88941f83614ae4233bde82ca9", "spanId": "0e0a7b131d011bcb", "startTimeUnixNano": "1796073362716831355", "endTimeUnixNano": "1796073362731178078", "durationMs": 14.346723, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b3c4d81cacc59f26ecaf01e7bcb598f9", "spanId": "1f5f7d571e127a5e", "parentSpanId": "3976c9550b666f11", "startTimeUnixNano": "1796073364146846016", "endTimeUnixNano": "1796073364148052339", "durationMs": 1.206323, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b3c4d81cacc59f26ecaf01e7bcb598f9", "spanId": "d39496b3b2144bd5", "parentSpanId": "24638ac13e2203a8", "startTimeUnixNano": "1796073364148124724", "endTimeUnixNano": "1796073364149659036", "durationMs": 1.534312, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010579}}
{"type": "effect-span", "name": "sqlite", "traceId": "b3c4d81cacc59f26ecaf01e7bcb598f9", "spanId": "35a6863759b0aa77", "parentSpanId": "24638ac13e2203a8", "startTimeUnixNano": "1796073364149875389", "endTimeUnixNano": "1796073364151283456", "durationMs": 1.408067, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.0163}}
{"type": "effect-span", "name": "sqlite", "traceId": "b3c4d81cacc59f26ecaf01e7bcb598f9", "spanId": "fe895ff770a7ff2d", "parentSpanId": "24638ac13e2203a8", "startTimeUnixNano": "1796073364151299676", "endTimeUnixNano": "1796073364152117747", "durationMs": 0.818071, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011512}}
{"type": "effect-span", "name": "sqlite", "traceId": "b3c4d81cacc59f26ecaf01e7bcb598f9", "spanId": "f590d338d253bfc0", "parentSpanId": "24638ac13e2203a8", "startTimeUnixNano": "1796073364155388318", "endTimeUnixNano": "1796073364158387234", "durationMs": 2.998916, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011451}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b3c4d81cacc59f26ecaf01e7bcb598f9", "spanId": "24638ac13e2203a8", "parentSpanId": "3976c9550b666f11", "startTimeUnixNano": "1796073364148113302", "endTimeUnixNano": "1796073364158687993", "durationMs": 10.574691, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b3c4d81cacc59f26ecaf01e7bcb598f9", "spanId": "d042b0f26861f994", "parentSpanId": "3976c9550b666f11", "startTimeUnixNano": "1796073364158714302", "endTimeUnixNano": "1796073364159306643", "durationMs": 0.592341, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b3c4d81cacc59f26ecaf01e7bcb598f9", "spanId": "3976c9550b666f11", "parentSpanId": "e95cd2ddb7cdbb10", "startTimeUnixNano": "1796073364144603307", "endTimeUnixNano": "1796073364159324967", "durationMs": 14.72166, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.235295, "db.connection": "reader", "db.lock_wait_ms": 2.179}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b3c4d81cacc59f26ecaf01e7bcb598f9", "spanId": "e95cd2ddb7cdbb10", "parentSpanId": "19774b50290a65c9", "startTimeUnixNano": "1796073364144587758", "endTimeUnixNano": "1796073364159342520", "durationMs": 14.754762, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b3c4d81cacc59f26ecaf01e7bcb598f9", "spanId": "19774b50290a65c9", "parentSpanId": "ba3c07e05bf854c3", "startTimeUnixNano": "1796073364144530872", "endTimeUnixNano": "1796073364159348842", "durationMs": 14.81797, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b3c4d81cacc59f26ecaf01e7bcb598f9", "spanId": "ba3c07e05bf854c3", "startTimeUnixNano": "1796073364144503661", "endTimeUnixNano": "1796073364159360864", "durationMs": 14.857203, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3b9dafe876b7526791116fb44da9b5c9", "spanId": "d5f58aabc281cd8a", "parentSpanId": "7090ad755a15170e", "startTimeUnixNano": "1796073364398380610", "endTimeUnixNano": "1796073364398743405", "durationMs": 0.362795, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3b9dafe876b7526791116fb44da9b5c9", "spanId": "6e7110e66cc6a9dc", "parentSpanId": "ed81cd7bf061df15", "startTimeUnixNano": "1796073364398777909", "endTimeUnixNano": "1796073364398868978", "durationMs": 0.091069, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004769}}
{"type": "effect-span", "name": "sqlite", "traceId": "3b9dafe876b7526791116fb44da9b5c9", "spanId": "d391f25622803ae2", "parentSpanId": "ed81cd7bf061df15", "startTimeUnixNano": "1796073364398932116", "endTimeUnixNano": "1796073364400373405", "durationMs": 1.441289, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008866}}
{"type": "effect-span", "name": "sqlite", "traceId": "3b9dafe876b7526791116fb44da9b5c9", "spanId": "1c189b84db82963e", "parentSpanId": "ed81cd7bf061df15", "startTimeUnixNano": "1796073364400387031", "endTimeUnixNano": "1796073364401182139", "durationMs": 0.795108, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009808}}
{"type": "effect-span", "name": "sqlite", "traceId": "3b9dafe876b7526791116fb44da9b5c9", "spanId": "ece6a5e51db96d23", "parentSpanId": "ed81cd7bf061df15", "startTimeUnixNano": "1796073364404170345", "endTimeUnixNano": "1796073364406353333", "durationMs": 2.182988, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01103}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3b9dafe876b7526791116fb44da9b5c9", "spanId": "ed81cd7bf061df15", "parentSpanId": "7090ad755a15170e", "startTimeUnixNano": "1796073364398772539", "endTimeUnixNano": "1796073364406529621", "durationMs": 7.757082, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3b9dafe876b7526791116fb44da9b5c9", "spanId": "eb1dedceda827bf5", "parentSpanId": "7090ad755a15170e", "startTimeUnixNano": "1796073364406541914", "endTimeUnixNano": "1796073364406684649", "durationMs": 0.142735, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3b9dafe876b7526791116fb44da9b5c9", "spanId": "7090ad755a15170e", "parentSpanId": "4278afcf6e531a41", "startTimeUnixNano": "1796073364397095000", "endTimeUnixNano": "1796073364406702222", "durationMs": 9.607222, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.282384, "db.connection": "reader", "db.lock_wait_ms": 1.255}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3b9dafe876b7526791116fb44da9b5c9", "spanId": "4278afcf6e531a41", "parentSpanId": "a6396c252c9a4758", "startTimeUnixNano": "1796073364397088458", "endTimeUnixNano": "1796073364406713964", "durationMs": 9.625506, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3b9dafe876b7526791116fb44da9b5c9", "spanId": "a6396c252c9a4758", "parentSpanId": "e939936218b41267", "startTimeUnixNano": "1796073364397062470", "endTimeUnixNano": "1796073364406718242", "durationMs": 9.655772, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3b9dafe876b7526791116fb44da9b5c9", "spanId": "e939936218b41267", "startTimeUnixNano": "1796073364397049616", "endTimeUnixNano": "1796073364406723712", "durationMs": 9.674096, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7d9d4b72f496d2bd330c5e8786fd225a", "spanId": "0e03f11521410e53", "parentSpanId": "7a2a38a925789482", "startTimeUnixNano": "1796073365894591240", "endTimeUnixNano": "1796073365895674124", "durationMs": 1.082884, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d9d4b72f496d2bd330c5e8786fd225a", "spanId": "fb4951b9738e3645", "parentSpanId": "2ce7ee3facc32d57", "startTimeUnixNano": "1796073365895742791", "endTimeUnixNano": "1796073365896681727", "durationMs": 0.938936, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007484}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d9d4b72f496d2bd330c5e8786fd225a", "spanId": "3e9461e069050cc0", "parentSpanId": "2ce7ee3facc32d57", "startTimeUnixNano": "1796073365896781322", "endTimeUnixNano": "1796073365897804895", "durationMs": 1.023573, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012934}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d9d4b72f496d2bd330c5e8786fd225a", "spanId": "166c146b1fe5619b", "parentSpanId": "2ce7ee3facc32d57", "startTimeUnixNano": "1796073365897818390", "endTimeUnixNano": "1796073365898766263", "durationMs": 0.947873, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008927}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d9d4b72f496d2bd330c5e8786fd225a", "spanId": "016cf87870c3f2c8", "parentSpanId": "2ce7ee3facc32d57", "startTimeUnixNano": "1796073365902015464", "endTimeUnixNano": "1796073365905283600", "durationMs": 3.268136, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013926}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7d9d4b72f496d2bd330c5e8786fd225a", "spanId": "2ce7ee3facc32d57", "parentSpanId": "7a2a38a925789482", "startTimeUnixNano": "1796073365895730989", "endTimeUnixNano": "1796073365905610628", "durationMs": 9.879639, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7d9d4b72f496d2bd330c5e8786fd225a", "spanId": "49bc8f8fb28dbcf3", "parentSpanId": "7a2a38a925789482", "startTimeUnixNano": "1796073365905639101", "endTimeUnixNano": "1796073365906429320", "durationMs": 0.790219, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7d9d4b72f496d2bd330c5e8786fd225a", "spanId": "7a2a38a925789482", "parentSpanId": "fa7c1e4e171902fe", "startTimeUnixNano": "1796073365891968664", "endTimeUnixNano": "1796073365906477700", "durationMs": 14.509036, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.614642, "db.connection": "reader", "db.lock_wait_ms": 2.55}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7d9d4b72f496d2bd330c5e8786fd225a", "spanId": "fa7c1e4e171902fe", "parentSpanId": "c0d6fae27accf081", "startTimeUnixNano": "1796073365891958455", "endTimeUnixNano": "1796073365906505682", "durationMs": 14.547227, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7d9d4b72f496d2bd330c5e8786fd225a", "spanId": "c0d6fae27accf081", "parentSpanId": "5f12ae892658e7f2", "startTimeUnixNano": "1796073365891901529", "endTimeUnixNano": "1796073365906517254", "durationMs": 14.615725, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7d9d4b72f496d2bd330c5e8786fd225a", "spanId": "5f12ae892658e7f2", "startTimeUnixNano": "1796073365891878256", "endTimeUnixNano": "1796073365906533784", "durationMs": 14.655528, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e98df524df47b92d1b9082334d37c02a", "spanId": "a1c094257f2e6ac3", "parentSpanId": "d2345f29ecaa8f82", "startTimeUnixNano": "1796073366122279114", "endTimeUnixNano": "1796073366122457796", "durationMs": 0.178682, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e98df524df47b92d1b9082334d37c02a", "spanId": "6266c4ce7eac66e4", "parentSpanId": "8ad96c516648a39b", "startTimeUnixNano": "1796073366122510214", "endTimeUnixNano": "1796073366124701618", "durationMs": 2.191404, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007734}}
{"type": "effect-span", "name": "sqlite", "traceId": "e98df524df47b92d1b9082334d37c02a", "spanId": "418db4ea0488075c", "parentSpanId": "8ad96c516648a39b", "startTimeUnixNano": "1796073366124778180", "endTimeUnixNano": "1796073366131811838", "durationMs": 7.033658, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009498}}
{"type": "effect-span", "name": "sqlite", "traceId": "e98df524df47b92d1b9082334d37c02a", "spanId": "b28da477b3a562e4", "parentSpanId": "8ad96c516648a39b", "startTimeUnixNano": "1796073366131852674", "endTimeUnixNano": "1796073366132880926", "durationMs": 1.028252, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015198}}
{"type": "effect-span", "name": "sqlite", "traceId": "e98df524df47b92d1b9082334d37c02a", "spanId": "6c05fb2946779af4", "parentSpanId": "8ad96c516648a39b", "startTimeUnixNano": "1796073366137145485", "endTimeUnixNano": "1796073366138473544", "durationMs": 1.328059, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.082924}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e98df524df47b92d1b9082334d37c02a", "spanId": "8ad96c516648a39b", "parentSpanId": "d2345f29ecaa8f82", "startTimeUnixNano": "1796073366122503030", "endTimeUnixNano": "1796073366138720924", "durationMs": 16.217894, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e98df524df47b92d1b9082334d37c02a", "spanId": "54088f0257a9971c", "parentSpanId": "d2345f29ecaa8f82", "startTimeUnixNano": "1796073366138736964", "endTimeUnixNano": "1796073366142306130", "durationMs": 3.569166, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e98df524df47b92d1b9082334d37c02a", "spanId": "d2345f29ecaa8f82", "parentSpanId": "f936514fa00022b7", "startTimeUnixNano": "1796073366120580636", "endTimeUnixNano": "1796073366142395727", "durationMs": 21.815091, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.693559, "db.connection": "reader", "db.lock_wait_ms": 1.658}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e98df524df47b92d1b9082334d37c02a", "spanId": "f936514fa00022b7", "parentSpanId": "0800f59a5cf92f3b", "startTimeUnixNano": "1796073366120554708", "endTimeUnixNano": "1796073366142497856", "durationMs": 21.943148, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e98df524df47b92d1b9082334d37c02a", "spanId": "0800f59a5cf92f3b", "parentSpanId": "65708ca5a0a76433", "startTimeUnixNano": "1796073366120502250", "endTimeUnixNano": "1796073366142522643", "durationMs": 22.020393, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e98df524df47b92d1b9082334d37c02a", "spanId": "65708ca5a0a76433", "startTimeUnixNano": "1796073366120487834", "endTimeUnixNano": "1796073366142558429", "durationMs": 22.070595, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b5d3bba1661f013c708d6280786b5ae3", "spanId": "83a3ebde4b25b2c7", "parentSpanId": "9ea154b9a02ba628", "startTimeUnixNano": "1796073367558864378", "endTimeUnixNano": "1796073367559055233", "durationMs": 0.190855, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b5d3bba1661f013c708d6280786b5ae3", "spanId": "27ed223f00624677", "parentSpanId": "d33e5815dbbbdca5", "startTimeUnixNano": "1796073367559107881", "endTimeUnixNano": "1796073367559832859", "durationMs": 0.724978, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006492}}
{"type": "effect-span", "name": "sqlite", "traceId": "b5d3bba1661f013c708d6280786b5ae3", "spanId": "b3f35f494f12a59f", "parentSpanId": "d33e5815dbbbdca5", "startTimeUnixNano": "1796073367559927335", "endTimeUnixNano": "1796073367560739555", "durationMs": 0.81222, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011992}}
{"type": "effect-span", "name": "sqlite", "traceId": "b5d3bba1661f013c708d6280786b5ae3", "spanId": "8f7562723be12e5b", "parentSpanId": "d33e5815dbbbdca5", "startTimeUnixNano": "1796073367560761015", "endTimeUnixNano": "1796073367561787714", "durationMs": 1.026699, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010529}}
{"type": "effect-span", "name": "sqlite", "traceId": "b5d3bba1661f013c708d6280786b5ae3", "spanId": "d26c36738ffc4e63", "parentSpanId": "d33e5815dbbbdca5", "startTimeUnixNano": "1796073367568535440", "endTimeUnixNano": "1796073367573259754", "durationMs": 4.724314, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.064139}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b5d3bba1661f013c708d6280786b5ae3", "spanId": "d33e5815dbbbdca5", "parentSpanId": "9ea154b9a02ba628", "startTimeUnixNano": "1796073367559100748", "endTimeUnixNano": "1796073367573522603", "durationMs": 14.421855, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b5d3bba1661f013c708d6280786b5ae3", "spanId": "1cb96233b4ee133e", "parentSpanId": "9ea154b9a02ba628", "startTimeUnixNano": "1796073367573538843", "endTimeUnixNano": "1796073367573852847", "durationMs": 0.314004, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b5d3bba1661f013c708d6280786b5ae3", "spanId": "9ea154b9a02ba628", "parentSpanId": "593a3d2f2a8b9969", "startTimeUnixNano": "1796073367556175439", "endTimeUnixNano": "1796073367573873505", "durationMs": 17.698066, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.685513, "db.connection": "reader", "db.lock_wait_ms": 2.639}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b5d3bba1661f013c708d6280786b5ae3", "spanId": "593a3d2f2a8b9969", "parentSpanId": "1833079e51ef105b", "startTimeUnixNano": "1796073367556166081", "endTimeUnixNano": "1796073367573887682", "durationMs": 17.721601, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b5d3bba1661f013c708d6280786b5ae3", "spanId": "1833079e51ef105b", "parentSpanId": "486143d12dc13d13", "startTimeUnixNano": "1796073367556123041", "endTimeUnixNano": "1796073367573895196", "durationMs": 17.772155, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b5d3bba1661f013c708d6280786b5ae3", "spanId": "486143d12dc13d13", "startTimeUnixNano": "1796073367556105789", "endTimeUnixNano": "1796073367573909122", "durationMs": 17.803333, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cb7f2e328f677b433f6984f76c641578", "spanId": "49c6c33e06def313", "parentSpanId": "f2ca35c1ef6de614", "startTimeUnixNano": "1796073367833273336", "endTimeUnixNano": "1796073367833520045", "durationMs": 0.246709, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cb7f2e328f677b433f6984f76c641578", "spanId": "52e11c89ec5279dd", "parentSpanId": "8212037711d5b802", "startTimeUnixNano": "1796073367833556072", "endTimeUnixNano": "1796073367833861831", "durationMs": 0.305759, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00526}}
{"type": "effect-span", "name": "sqlite", "traceId": "cb7f2e328f677b433f6984f76c641578", "spanId": "ff4962d9c87e41a4", "parentSpanId": "8212037711d5b802", "startTimeUnixNano": "1796073367833968729", "endTimeUnixNano": "1796073367835553426", "durationMs": 1.584697, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014918}}
{"type": "effect-span", "name": "sqlite", "traceId": "cb7f2e328f677b433f6984f76c641578", "spanId": "c6a397ff8f2eedfb", "parentSpanId": "8212037711d5b802", "startTimeUnixNano": "1796073367835576579", "endTimeUnixNano": "1796073367836864043", "durationMs": 1.287464, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009157}}
{"type": "effect-span", "name": "sqlite", "traceId": "cb7f2e328f677b433f6984f76c641578", "spanId": "44e1f12eb24da51f", "parentSpanId": "8212037711d5b802", "startTimeUnixNano": "1796073367842942374", "endTimeUnixNano": "1796073367845513144", "durationMs": 2.57077, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013175}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cb7f2e328f677b433f6984f76c641578", "spanId": "8212037711d5b802", "parentSpanId": "f2ca35c1ef6de614", "startTimeUnixNano": "1796073367833550021", "endTimeUnixNano": "1796073367845718206", "durationMs": 12.168185, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cb7f2e328f677b433f6984f76c641578", "spanId": "1927046a9aa7714b", "parentSpanId": "f2ca35c1ef6de614", "startTimeUnixNano": "1796073367845731961", "endTimeUnixNano": "1796073367847399311", "durationMs": 1.66735, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cb7f2e328f677b433f6984f76c641578", "spanId": "f2ca35c1ef6de614", "parentSpanId": "22f2d90af57876eb", "startTimeUnixNano": "1796073367831711492", "endTimeUnixNano": "1796073367847591218", "durationMs": 15.879726, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.556504, "db.connection": "reader", "db.lock_wait_ms": 1.526}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cb7f2e328f677b433f6984f76c641578", "spanId": "22f2d90af57876eb", "parentSpanId": "07db12a904cbbb4d", "startTimeUnixNano": "1796073367831703618", "endTimeUnixNano": "1796073367847631633", "durationMs": 15.928015, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cb7f2e328f677b433f6984f76c641578", "spanId": "07db12a904cbbb4d", "parentSpanId": "fac85368dd30bcdd", "startTimeUnixNano": "1796073367831672009", "endTimeUnixNano": "1796073367847642063", "durationMs": 15.970054, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cb7f2e328f677b433f6984f76c641578", "spanId": "fac85368dd30bcdd", "startTimeUnixNano": "1796073367831654857", "endTimeUnixNano": "1796073367847655798", "durationMs": 16.000941, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9ee9c91fb8c92368ca92165d1c002bf3", "spanId": "41f9a7f88251e530", "parentSpanId": "378089843a63a61f", "startTimeUnixNano": "1796073369779089891", "endTimeUnixNano": "1796073369779448177", "durationMs": 0.358286, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9ee9c91fb8c92368ca92165d1c002bf3", "spanId": "4c8219ae01b9c31b", "parentSpanId": "37a484069ce8664e", "startTimeUnixNano": "1796073369779495715", "endTimeUnixNano": "1796073369780126769", "durationMs": 0.631054, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006683}}
{"type": "effect-span", "name": "sqlite", "traceId": "9ee9c91fb8c92368ca92165d1c002bf3", "spanId": "cc6793d294ae6165", "parentSpanId": "37a484069ce8664e", "startTimeUnixNano": "1796073369780214772", "endTimeUnixNano": "1796073369784570071", "durationMs": 4.355299, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011331}}
{"type": "effect-span", "name": "sqlite", "traceId": "9ee9c91fb8c92368ca92165d1c002bf3", "spanId": "da066727ee2e3e20", "parentSpanId": "37a484069ce8664e", "startTimeUnixNano": "1796073369784596189", "endTimeUnixNano": "1796073369786319203", "durationMs": 1.723014, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01047}}
{"type": "effect-span", "name": "sqlite", "traceId": "9ee9c91fb8c92368ca92165d1c002bf3", "spanId": "a34a2fc471c6e2e6", "parentSpanId": "37a484069ce8664e", "startTimeUnixNano": "1796073369791474389", "endTimeUnixNano": "1796073369793702943", "durationMs": 2.228554, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017593}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9ee9c91fb8c92368ca92165d1c002bf3", "spanId": "37a484069ce8664e", "parentSpanId": "378089843a63a61f", "startTimeUnixNano": "1796073369779486739", "endTimeUnixNano": "1796073369793924665", "durationMs": 14.437926, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9ee9c91fb8c92368ca92165d1c002bf3", "spanId": "6f21b62e0f2af825", "parentSpanId": "378089843a63a61f", "startTimeUnixNano": "1796073369793953519", "endTimeUnixNano": "1796073369794407523", "durationMs": 0.454004, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9ee9c91fb8c92368ca92165d1c002bf3", "spanId": "378089843a63a61f", "parentSpanId": "0029feb6ec83f0d7", "startTimeUnixNano": "1796073369776662818", "endTimeUnixNano": "1796073369794456243", "durationMs": 17.793425, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.421122, "db.connection": "reader", "db.lock_wait_ms": 2.384}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9ee9c91fb8c92368ca92165d1c002bf3", "spanId": "0029feb6ec83f0d7", "parentSpanId": "0abd077d9cfe2764", "startTimeUnixNano": "1796073369776650305", "endTimeUnixNano": "1796073369794479867", "durationMs": 17.829562, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9ee9c91fb8c92368ca92165d1c002bf3", "spanId": "0abd077d9cfe2764", "parentSpanId": "4d69bb185c0ec324", "startTimeUnixNano": "1796073369776603147", "endTimeUnixNano": "1796073369794489846", "durationMs": 17.886699, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9ee9c91fb8c92368ca92165d1c002bf3", "spanId": "4d69bb185c0ec324", "startTimeUnixNano": "1796073369776587207", "endTimeUnixNano": "1796073369794499223", "durationMs": 17.912016, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "350aa40fb46bbe42a1df86497ca2a2fa", "spanId": "66a0822a30a7ecdc", "parentSpanId": "a30c35ded3d4d884", "startTimeUnixNano": "1796073370014114481", "endTimeUnixNano": "1796073370014901034", "durationMs": 0.786553, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "350aa40fb46bbe42a1df86497ca2a2fa", "spanId": "78ac52b098120165", "parentSpanId": "fc967fcf1cef12e7", "startTimeUnixNano": "1796073370014949394", "endTimeUnixNano": "1796073370015423856", "durationMs": 0.474462, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007333}}
{"type": "effect-span", "name": "sqlite", "traceId": "350aa40fb46bbe42a1df86497ca2a2fa", "spanId": "90da1621262674a4", "parentSpanId": "fc967fcf1cef12e7", "startTimeUnixNano": "1796073370015519223", "endTimeUnixNano": "1796073370016498534", "durationMs": 0.979311, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011331}}
{"type": "effect-span", "name": "sqlite", "traceId": "350aa40fb46bbe42a1df86497ca2a2fa", "spanId": "1fb0d641193315c6", "parentSpanId": "fc967fcf1cef12e7", "startTimeUnixNano": "1796073370016526216", "endTimeUnixNano": "1796073370017211530", "durationMs": 0.685314, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014727}}
{"type": "effect-span", "name": "sqlite", "traceId": "350aa40fb46bbe42a1df86497ca2a2fa", "spanId": "3462daae1edc36af", "parentSpanId": "fc967fcf1cef12e7", "startTimeUnixNano": "1796073370020485688", "endTimeUnixNano": "1796073370021636167", "durationMs": 1.150479, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019586}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "350aa40fb46bbe42a1df86497ca2a2fa", "spanId": "fc967fcf1cef12e7", "parentSpanId": "a30c35ded3d4d884", "startTimeUnixNano": "1796073370014942891", "endTimeUnixNano": "1796073370021843743", "durationMs": 6.900852, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "350aa40fb46bbe42a1df86497ca2a2fa", "spanId": "19946455a4a9fe66", "parentSpanId": "a30c35ded3d4d884", "startTimeUnixNano": "1796073370021870042", "endTimeUnixNano": "1796073370022250680", "durationMs": 0.380638, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "350aa40fb46bbe42a1df86497ca2a2fa", "spanId": "a30c35ded3d4d884", "parentSpanId": "4152812a11542def", "startTimeUnixNano": "1796073370012784678", "endTimeUnixNano": "1796073370022271829", "durationMs": 9.487151, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.324774, "db.connection": "reader", "db.lock_wait_ms": 1.26}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "350aa40fb46bbe42a1df86497ca2a2fa", "spanId": "4152812a11542def", "parentSpanId": "bb367241b75bb0f1", "startTimeUnixNano": "1796073370012776884", "endTimeUnixNano": "1796073370022290274", "durationMs": 9.51339, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "350aa40fb46bbe42a1df86497ca2a2fa", "spanId": "bb367241b75bb0f1", "parentSpanId": "a1ff18e19d40bcc9", "startTimeUnixNano": "1796073370012737500", "endTimeUnixNano": "1796073370022296996", "durationMs": 9.559496, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "350aa40fb46bbe42a1df86497ca2a2fa", "spanId": "a1ff18e19d40bcc9", "startTimeUnixNano": "1796073370012722002", "endTimeUnixNano": "1796073370022306955", "durationMs": 9.584953, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "22feb8172e647924583d9ca8aefb6f14", "spanId": "50b5b0445913938e", "parentSpanId": "b908049758a3b8c7", "startTimeUnixNano": "1796073371481028306", "endTimeUnixNano": "1796073371481241883", "durationMs": 0.213577, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "22feb8172e647924583d9ca8aefb6f14", "spanId": "bf4dcef8177e274d", "parentSpanId": "43fe92887e8862e8", "startTimeUnixNano": "1796073371481287017", "endTimeUnixNano": "1796073371482053743", "durationMs": 0.766726, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006061}}
{"type": "effect-span", "name": "sqlite", "traceId": "22feb8172e647924583d9ca8aefb6f14", "spanId": "7b11a9468cb873ad", "parentSpanId": "43fe92887e8862e8", "startTimeUnixNano": "1796073371482142558", "endTimeUnixNano": "1796073371483425303", "durationMs": 1.282745, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01097}}
{"type": "effect-span", "name": "sqlite", "traceId": "22feb8172e647924583d9ca8aefb6f14", "spanId": "e8566b8f460a87df", "parentSpanId": "43fe92887e8862e8", "startTimeUnixNano": "1796073371483458695", "endTimeUnixNano": "1796073371484352136", "durationMs": 0.893441, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008877}}
{"type": "effect-span", "name": "sqlite", "traceId": "22feb8172e647924583d9ca8aefb6f14", "spanId": "73a6e52ed26c4d0d", "parentSpanId": "43fe92887e8862e8", "startTimeUnixNano": "1796073371490033130", "endTimeUnixNano": "1796073371493140428", "durationMs": 3.107298, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014076}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "22feb8172e647924583d9ca8aefb6f14", "spanId": "43fe92887e8862e8", "parentSpanId": "b908049758a3b8c7", "startTimeUnixNano": "1796073371481280445", "endTimeUnixNano": "1796073371493335391", "durationMs": 12.054946, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "22feb8172e647924583d9ca8aefb6f14", "spanId": "118df3be0cd54731", "parentSpanId": "b908049758a3b8c7", "startTimeUnixNano": "1796073371493351040", "endTimeUnixNano": "1796073371495033709", "durationMs": 1.682669, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "22feb8172e647924583d9ca8aefb6f14", "spanId": "b908049758a3b8c7", "parentSpanId": "fff426b30cb726ef", "startTimeUnixNano": "1796073371477678016", "endTimeUnixNano": "1796073371495072140", "durationMs": 17.394124, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.342646, "db.connection": "reader", "db.lock_wait_ms": 3.287}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "22feb8172e647924583d9ca8aefb6f14", "spanId": "fff426b30cb726ef", "parentSpanId": "801e06f5c4da1e1f", "startTimeUnixNano": "1796073371477667486", "endTimeUnixNano": "1796073371495094271", "durationMs": 17.426785, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "22feb8172e647924583d9ca8aefb6f14", "spanId": "801e06f5c4da1e1f", "parentSpanId": "ab689f039a62740c", "startTimeUnixNano": "1796073371477611101", "endTimeUnixNano": "1796073371495102968", "durationMs": 17.491867, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "22feb8172e647924583d9ca8aefb6f14", "spanId": "ab689f039a62740c", "startTimeUnixNano": "1796073371477584001", "endTimeUnixNano": "1796073371495120701", "durationMs": 17.5367, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "452ddeaa5c412c7c0efea190285b7ad8", "spanId": "5406eba9de55b52e", "parentSpanId": "fb0d8ca528f534b3", "startTimeUnixNano": "1796073371730614313", "endTimeUnixNano": "1796073371731154748", "durationMs": 0.540435, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "452ddeaa5c412c7c0efea190285b7ad8", "spanId": "dcdc8d86ea6cf2dc", "parentSpanId": "2e84c1bb4474bb9f", "startTimeUnixNano": "1796073371731190003", "endTimeUnixNano": "1796073371731462259", "durationMs": 0.272256, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004629}}
{"type": "effect-span", "name": "sqlite", "traceId": "452ddeaa5c412c7c0efea190285b7ad8", "spanId": "8f02e2b25fbc91b7", "parentSpanId": "2e84c1bb4474bb9f", "startTimeUnixNano": "1796073371731550273", "endTimeUnixNano": "1796073371733718665", "durationMs": 2.168392, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.0105}}
{"type": "effect-span", "name": "sqlite", "traceId": "452ddeaa5c412c7c0efea190285b7ad8", "spanId": "471c9ed5aad8859d", "parentSpanId": "2e84c1bb4474bb9f", "startTimeUnixNano": "1796073371733737260", "endTimeUnixNano": "1796073371734663452", "durationMs": 0.926192, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013264}}
{"type": "effect-span", "name": "sqlite", "traceId": "452ddeaa5c412c7c0efea190285b7ad8", "spanId": "c6a44261c0be2a7c", "parentSpanId": "2e84c1bb4474bb9f", "startTimeUnixNano": "1796073371738168029", "endTimeUnixNano": "1796073371739902735", "durationMs": 1.734706, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015579}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "452ddeaa5c412c7c0efea190285b7ad8", "spanId": "2e84c1bb4474bb9f", "parentSpanId": "fb0d8ca528f534b3", "startTimeUnixNano": "1796073371731184513", "endTimeUnixNano": "1796073371740131650", "durationMs": 8.947137, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "452ddeaa5c412c7c0efea190285b7ad8", "spanId": "b8122b85087374ed", "parentSpanId": "fb0d8ca528f534b3", "startTimeUnixNano": "1796073371740146578", "endTimeUnixNano": "1796073371740531674", "durationMs": 0.385096, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "452ddeaa5c412c7c0efea190285b7ad8", "spanId": "fb0d8ca528f534b3", "parentSpanId": "39ca609867d1e39f", "startTimeUnixNano": "1796073371728967430", "endTimeUnixNano": "1796073371740557141", "durationMs": 11.589711, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.643456, "db.connection": "reader", "db.lock_wait_ms": 1.616}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "452ddeaa5c412c7c0efea190285b7ad8", "spanId": "39ca609867d1e39f", "parentSpanId": "da0b515dc22179e7", "startTimeUnixNano": "1796073371728959766", "endTimeUnixNano": "1796073371740572500", "durationMs": 11.612734, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "452ddeaa5c412c7c0efea190285b7ad8", "spanId": "da0b515dc22179e7", "parentSpanId": "1359653d232bc771", "startTimeUnixNano": "1796073371728927636", "endTimeUnixNano": "1796073371740580976", "durationMs": 11.65334, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "452ddeaa5c412c7c0efea190285b7ad8", "spanId": "1359653d232bc771", "startTimeUnixNano": "1796073371728909092", "endTimeUnixNano": "1796073371740589261", "durationMs": 11.680169, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "610220dfc883761f75c4abe57365fe7b", "spanId": "fe0947e46092169b", "parentSpanId": "7ff4ad85d5c584b3", "startTimeUnixNano": "1796073373240130562", "endTimeUnixNano": "1796073373240320816", "durationMs": 0.190254, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "610220dfc883761f75c4abe57365fe7b", "spanId": "32753eb1726a4546", "parentSpanId": "2bb1efed05afbe85", "startTimeUnixNano": "1796073373240369106", "endTimeUnixNano": "1796073373241056043", "durationMs": 0.686937, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006672}}
{"type": "effect-span", "name": "sqlite", "traceId": "610220dfc883761f75c4abe57365fe7b", "spanId": "92995fbd4bce4d07", "parentSpanId": "2bb1efed05afbe85", "startTimeUnixNano": "1796073373241152713", "endTimeUnixNano": "1796073373242367973", "durationMs": 1.21526, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011411}}
{"type": "effect-span", "name": "sqlite", "traceId": "610220dfc883761f75c4abe57365fe7b", "spanId": "fd9d2ce633ed9db2", "parentSpanId": "2bb1efed05afbe85", "startTimeUnixNano": "1796073373242389002", "endTimeUnixNano": "1796073373243745495", "durationMs": 1.356493, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009468}}
{"type": "effect-span", "name": "sqlite", "traceId": "610220dfc883761f75c4abe57365fe7b", "spanId": "dbf8146472c09080", "parentSpanId": "2bb1efed05afbe85", "startTimeUnixNano": "1796073373250148251", "endTimeUnixNano": "1796073373253854934", "durationMs": 3.706683, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021681}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "610220dfc883761f75c4abe57365fe7b", "spanId": "2bb1efed05afbe85", "parentSpanId": "7ff4ad85d5c584b3", "startTimeUnixNano": "1796073373240362333", "endTimeUnixNano": "1796073373254250920", "durationMs": 13.888587, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "610220dfc883761f75c4abe57365fe7b", "spanId": "db35edf9aa1d87cd", "parentSpanId": "7ff4ad85d5c584b3", "startTimeUnixNano": "1796073373254293850", "endTimeUnixNano": "1796073373255030220", "durationMs": 0.73637, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "610220dfc883761f75c4abe57365fe7b", "spanId": "7ff4ad85d5c584b3", "parentSpanId": "93820ff85099c035", "startTimeUnixNano": "1796073373237339061", "endTimeUnixNano": "1796073373255080754", "durationMs": 17.741693, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.785931, "db.connection": "reader", "db.lock_wait_ms": 2.746}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "610220dfc883761f75c4abe57365fe7b", "spanId": "93820ff85099c035", "parentSpanId": "7525fecf8259baff", "startTimeUnixNano": "1796073373237331207", "endTimeUnixNano": "1796073373255125106", "durationMs": 17.793899, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "610220dfc883761f75c4abe57365fe7b", "spanId": "7525fecf8259baff", "parentSpanId": "1a1dcd408aeeb914", "startTimeUnixNano": "1796073373237287505", "endTimeUnixNano": "1796073373255141757", "durationMs": 17.854252, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "610220dfc883761f75c4abe57365fe7b", "spanId": "1a1dcd408aeeb914", "startTimeUnixNano": "1796073373237264653", "endTimeUnixNano": "1796073373255165591", "durationMs": 17.900938, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "38c78b8a6c0c567ce13342a4be42416a", "spanId": "be10929f9d29f268", "parentSpanId": "676c97eb12befb40", "startTimeUnixNano": "1796073373485979932", "endTimeUnixNano": "1796073373486716011", "durationMs": 0.736079, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "38c78b8a6c0c567ce13342a4be42416a", "spanId": "a80880576bc2ae76", "parentSpanId": "2c85b2c400dc420b", "startTimeUnixNano": "1796073373486793395", "endTimeUnixNano": "1796073373487417585", "durationMs": 0.62419, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007173}}
{"type": "effect-span", "name": "sqlite", "traceId": "38c78b8a6c0c567ce13342a4be42416a", "spanId": "7c080264940b6bed", "parentSpanId": "2c85b2c400dc420b", "startTimeUnixNano": "1796073373487520497", "endTimeUnixNano": "1796073373489954413", "durationMs": 2.433916, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011101}}
{"type": "effect-span", "name": "sqlite", "traceId": "38c78b8a6c0c567ce13342a4be42416a", "spanId": "ba366e02f64ebfa4", "parentSpanId": "2c85b2c400dc420b", "startTimeUnixNano": "1796073373489985381", "endTimeUnixNano": "1796073373491001570", "durationMs": 1.016189, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014827}}
{"type": "effect-span", "name": "sqlite", "traceId": "38c78b8a6c0c567ce13342a4be42416a", "spanId": "3fcf253ff4e04823", "parentSpanId": "2c85b2c400dc420b", "startTimeUnixNano": "1796073373494516266", "endTimeUnixNano": "1796073373496304281", "durationMs": 1.788015, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.034825}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "38c78b8a6c0c567ce13342a4be42416a", "spanId": "2c85b2c400dc420b", "parentSpanId": "676c97eb12befb40", "startTimeUnixNano": "1796073373486784348", "endTimeUnixNano": "1796073373496565307", "durationMs": 9.780959, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "38c78b8a6c0c567ce13342a4be42416a", "spanId": "ebff0d7588aa83cd", "parentSpanId": "676c97eb12befb40", "startTimeUnixNano": "1796073373496582859", "endTimeUnixNano": "1796073373497280547", "durationMs": 0.697688, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "38c78b8a6c0c567ce13342a4be42416a", "spanId": "676c97eb12befb40", "parentSpanId": "ca3f463ff462bdac", "startTimeUnixNano": "1796073373484780301", "endTimeUnixNano": "1796073373497298440", "durationMs": 12.518139, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.196485, "db.connection": "reader", "db.lock_wait_ms": 1.16}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "38c78b8a6c0c567ce13342a4be42416a", "spanId": "ca3f463ff462bdac", "parentSpanId": "f0ec65d848611848", "startTimeUnixNano": "1796073373484761506", "endTimeUnixNano": "1796073373497316433", "durationMs": 12.554927, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "38c78b8a6c0c567ce13342a4be42416a", "spanId": "f0ec65d848611848", "parentSpanId": "52f23376caa1086f", "startTimeUnixNano": "1796073373484697107", "endTimeUnixNano": "1796073373497321463", "durationMs": 12.624356, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "38c78b8a6c0c567ce13342a4be42416a", "spanId": "52f23376caa1086f", "startTimeUnixNano": "1796073373484679955", "endTimeUnixNano": "1796073373497330289", "durationMs": 12.650334, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7f8ff3164a0b1c236d98fb42b58fc8d3", "spanId": "7965896549ba3375", "parentSpanId": "9b2186999d6f6738", "startTimeUnixNano": "1796073374898646686", "endTimeUnixNano": "1796073374898828554", "durationMs": 0.181868, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f8ff3164a0b1c236d98fb42b58fc8d3", "spanId": "9a50c3866cf32931", "parentSpanId": "267546d083e3a4d5", "startTimeUnixNano": "1796073374898888125", "endTimeUnixNano": "1796073374899551378", "durationMs": 0.663253, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006352}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f8ff3164a0b1c236d98fb42b58fc8d3", "spanId": "9457e76f6ac05d81", "parentSpanId": "267546d083e3a4d5", "startTimeUnixNano": "1796073374899646976", "endTimeUnixNano": "1796073374900698862", "durationMs": 1.051886, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011221}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f8ff3164a0b1c236d98fb42b58fc8d3", "spanId": "1d3c63d74320db1c", "parentSpanId": "267546d083e3a4d5", "startTimeUnixNano": "1796073374900723388", "endTimeUnixNano": "1796073374901638760", "durationMs": 0.915372, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009638}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f8ff3164a0b1c236d98fb42b58fc8d3", "spanId": "64c96ba4cea4f500", "parentSpanId": "267546d083e3a4d5", "startTimeUnixNano": "1796073374907170787", "endTimeUnixNano": "1796073374909038350", "durationMs": 1.867563, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012484}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7f8ff3164a0b1c236d98fb42b58fc8d3", "spanId": "267546d083e3a4d5", "parentSpanId": "9b2186999d6f6738", "startTimeUnixNano": "1796073374898879990", "endTimeUnixNano": "1796073374909237130", "durationMs": 10.35714, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7f8ff3164a0b1c236d98fb42b58fc8d3", "spanId": "4a3b7f1739878305", "parentSpanId": "9b2186999d6f6738", "startTimeUnixNano": "1796073374909250996", "endTimeUnixNano": "1796073374909455396", "durationMs": 0.2044, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7f8ff3164a0b1c236d98fb42b58fc8d3", "spanId": "9b2186999d6f6738", "parentSpanId": "ccf456cb9aeead14", "startTimeUnixNano": "1796073374896349223", "endTimeUnixNano": "1796073374909490321", "durationMs": 13.141098, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.293906, "db.connection": "reader", "db.lock_wait_ms": 2.259}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7f8ff3164a0b1c236d98fb42b58fc8d3", "spanId": "ccf456cb9aeead14", "parentSpanId": "516a20e32f439761", "startTimeUnixNano": "1796073374896340898", "endTimeUnixNano": "1796073374909512853", "durationMs": 13.171955, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7f8ff3164a0b1c236d98fb42b58fc8d3", "spanId": "516a20e32f439761", "parentSpanId": "1436b6171f016ae1", "startTimeUnixNano": "1796073374896301745", "endTimeUnixNano": "1796073374909521859", "durationMs": 13.220114, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7f8ff3164a0b1c236d98fb42b58fc8d3", "spanId": "1436b6171f016ae1", "startTimeUnixNano": "1796073374896285705", "endTimeUnixNano": "1796073374909530325", "durationMs": 13.24462, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0ce47223d5376873511d781187d0f127", "spanId": "eddd9320f6845e10", "parentSpanId": "9100951f66d0f3dd", "startTimeUnixNano": "1796073375113353146", "endTimeUnixNano": "1796073375113590377", "durationMs": 0.237231, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ce47223d5376873511d781187d0f127", "spanId": "8a0d30913446b857", "parentSpanId": "1f7bd56e01f7199b", "startTimeUnixNano": "1796073375113639529", "endTimeUnixNano": "1796073375113858646", "durationMs": 0.219117, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004518}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ce47223d5376873511d781187d0f127", "spanId": "0c0075d50bd96e60", "parentSpanId": "1f7bd56e01f7199b", "startTimeUnixNano": "1796073375113937253", "endTimeUnixNano": "1796073375115121916", "durationMs": 1.184663, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007453}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ce47223d5376873511d781187d0f127", "spanId": "5cb94f10061d2e0a", "parentSpanId": "1f7bd56e01f7199b", "startTimeUnixNano": "1796073375115137895", "endTimeUnixNano": "1796073375116185433", "durationMs": 1.047538, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006633}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ce47223d5376873511d781187d0f127", "spanId": "f4be0cd146973ae3", "parentSpanId": "1f7bd56e01f7199b", "startTimeUnixNano": "1796073375120655887", "endTimeUnixNano": "1796073375122712392", "durationMs": 2.056505, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020027}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0ce47223d5376873511d781187d0f127", "spanId": "1f7bd56e01f7199b", "parentSpanId": "9100951f66d0f3dd", "startTimeUnixNano": "1796073375113634059", "endTimeUnixNano": "1796073375122933583", "durationMs": 9.299524, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0ce47223d5376873511d781187d0f127", "spanId": "2f3dc06db826871f", "parentSpanId": "9100951f66d0f3dd", "startTimeUnixNano": "1796073375122948090", "endTimeUnixNano": "1796073375123331393", "durationMs": 0.383303, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0ce47223d5376873511d781187d0f127", "spanId": "9100951f66d0f3dd", "parentSpanId": "5cd515a35d5a0b8b", "startTimeUnixNano": "1796073375111807412", "endTimeUnixNano": "1796073375123350448", "durationMs": 11.543036, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.540945, "db.connection": "reader", "db.lock_wait_ms": 1.45}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0ce47223d5376873511d781187d0f127", "spanId": "5cd515a35d5a0b8b", "parentSpanId": "b588f701470dbeb5", "startTimeUnixNano": "1796073375111799477", "endTimeUnixNano": "1796073375123365837", "durationMs": 11.56636, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0ce47223d5376873511d781187d0f127", "spanId": "b588f701470dbeb5", "parentSpanId": "671f3e8281ec4a43", "startTimeUnixNano": "1796073375111753532", "endTimeUnixNano": "1796073375123371788", "durationMs": 11.618256, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0ce47223d5376873511d781187d0f127", "spanId": "671f3e8281ec4a43", "startTimeUnixNano": "1796073375111737271", "endTimeUnixNano": "1796073375123380364", "durationMs": 11.643093, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "24f9134188d356d049b498b86097093f", "spanId": "b3e985cdddf64224", "parentSpanId": "038a93a87ae08bec", "startTimeUnixNano": "1796073376499943047", "endTimeUnixNano": "1796073376500088828", "durationMs": 0.145781, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "24f9134188d356d049b498b86097093f", "spanId": "56c9b01329868983", "parentSpanId": "6b785c7cebb8173d", "startTimeUnixNano": "1796073376500127450", "endTimeUnixNano": "1796073376500743275", "durationMs": 0.615825, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00555}}
{"type": "effect-span", "name": "sqlite", "traceId": "24f9134188d356d049b498b86097093f", "spanId": "e45041a08c2f0ad5", "parentSpanId": "6b785c7cebb8173d", "startTimeUnixNano": "1796073376500818034", "endTimeUnixNano": "1796073376502045517", "durationMs": 1.227483, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014808}}
{"type": "effect-span", "name": "sqlite", "traceId": "24f9134188d356d049b498b86097093f", "spanId": "c47b8ef5ff3d42f7", "parentSpanId": "6b785c7cebb8173d", "startTimeUnixNano": "1796073376502064432", "endTimeUnixNano": "1796073376502920835", "durationMs": 0.856403, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007965}}
{"type": "effect-span", "name": "sqlite", "traceId": "24f9134188d356d049b498b86097093f", "spanId": "784dd44cf9e45406", "parentSpanId": "6b785c7cebb8173d", "startTimeUnixNano": "1796073376507994120", "endTimeUnixNano": "1796073376509846645", "durationMs": 1.852525, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008786}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "24f9134188d356d049b498b86097093f", "spanId": "6b785c7cebb8173d", "parentSpanId": "038a93a87ae08bec", "startTimeUnixNano": "1796073376500121449", "endTimeUnixNano": "1796073376510010760", "durationMs": 9.889311, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "24f9134188d356d049b498b86097093f", "spanId": "d50e1854c6ea5eb8", "parentSpanId": "038a93a87ae08bec", "startTimeUnixNano": "1796073376510030307", "endTimeUnixNano": "1796073376510754944", "durationMs": 0.724637, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "24f9134188d356d049b498b86097093f", "spanId": "038a93a87ae08bec", "parentSpanId": "b900fc778f7829a7", "startTimeUnixNano": "1796073376498176862", "endTimeUnixNano": "1796073376510786914", "durationMs": 12.610052, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.762799, "db.connection": "reader", "db.lock_wait_ms": 1.731}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "24f9134188d356d049b498b86097093f", "spanId": "b900fc778f7829a7", "parentSpanId": "0f67be11988531f3", "startTimeUnixNano": "1796073376498169058", "endTimeUnixNano": "1796073376510810969", "durationMs": 12.641911, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "24f9134188d356d049b498b86097093f", "spanId": "0f67be11988531f3", "parentSpanId": "62d0a66075da2d89", "startTimeUnixNano": "1796073376498132860", "endTimeUnixNano": "1796073376510819655", "durationMs": 12.686795, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "24f9134188d356d049b498b86097093f", "spanId": "62d0a66075da2d89", "startTimeUnixNano": "1796073376498117983", "endTimeUnixNano": "1796073376510828892", "durationMs": 12.710909, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5db3417d374eaddffc09323cc17de7f6", "spanId": "4ab73d87035a74e8", "parentSpanId": "efc7792f2ee6d09d", "startTimeUnixNano": "1796073376727414953", "endTimeUnixNano": "1796073376727768140", "durationMs": 0.353187, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5db3417d374eaddffc09323cc17de7f6", "spanId": "8d81ae964cc915b7", "parentSpanId": "c25f8dc1a5164a11", "startTimeUnixNano": "1796073376727805640", "endTimeUnixNano": "1796073376728070963", "durationMs": 0.265323, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007273}}
{"type": "effect-span", "name": "sqlite", "traceId": "5db3417d374eaddffc09323cc17de7f6", "spanId": "8a1ef972c103ea8e", "parentSpanId": "c25f8dc1a5164a11", "startTimeUnixNano": "1796073376728144931", "endTimeUnixNano": "1796073376728833912", "durationMs": 0.688981, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009267}}
{"type": "effect-span", "name": "sqlite", "traceId": "5db3417d374eaddffc09323cc17de7f6", "spanId": "22c73e105d3dc072", "parentSpanId": "c25f8dc1a5164a11", "startTimeUnixNano": "1796073376728851395", "endTimeUnixNano": "1796073376729651342", "durationMs": 0.799947, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006091}}
{"type": "effect-span", "name": "sqlite", "traceId": "5db3417d374eaddffc09323cc17de7f6", "spanId": "5c8daa09dcb7354c", "parentSpanId": "c25f8dc1a5164a11", "startTimeUnixNano": "1796073376732839321", "endTimeUnixNano": "1796073376735092592", "durationMs": 2.253271, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013836}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5db3417d374eaddffc09323cc17de7f6", "spanId": "c25f8dc1a5164a11", "parentSpanId": "efc7792f2ee6d09d", "startTimeUnixNano": "1796073376727797014", "endTimeUnixNano": "1796073376735245797", "durationMs": 7.448783, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5db3417d374eaddffc09323cc17de7f6", "spanId": "9dc45d50cf408972", "parentSpanId": "efc7792f2ee6d09d", "startTimeUnixNano": "1796073376735255765", "endTimeUnixNano": "1796073376735705752", "durationMs": 0.449987, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5db3417d374eaddffc09323cc17de7f6", "spanId": "efc7792f2ee6d09d", "parentSpanId": "89bac8cf11d3d4a7", "startTimeUnixNano": "1796073376725912670", "endTimeUnixNano": "1796073376735722122", "durationMs": 9.809452, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.497514, "db.connection": "reader", "db.lock_wait_ms": 1.468}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5db3417d374eaddffc09323cc17de7f6", "spanId": "89bac8cf11d3d4a7", "parentSpanId": "3ce4df0f26d8f5ac", "startTimeUnixNano": "1796073376725904845", "endTimeUnixNano": "1796073376735733644", "durationMs": 9.828799, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5db3417d374eaddffc09323cc17de7f6", "spanId": "3ce4df0f26d8f5ac", "parentSpanId": "96bf033132d93e57", "startTimeUnixNano": "1796073376725869950", "endTimeUnixNano": "1796073376735738202", "durationMs": 9.868252, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5db3417d374eaddffc09323cc17de7f6", "spanId": "96bf033132d93e57", "startTimeUnixNano": "1796073376725849923", "endTimeUnixNano": "1796073376735744825", "durationMs": 9.894902, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e270f59eac3e15e43b7cb7632b2e7fd8", "spanId": "79bf310c0f3e5274", "parentSpanId": "8a49b799c5cfe565", "startTimeUnixNano": "1796073378088820569", "endTimeUnixNano": "1796073378090597694", "durationMs": 1.777125, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e270f59eac3e15e43b7cb7632b2e7fd8", "spanId": "cdf1f581e951aaf9", "parentSpanId": "61bbbc687043623b", "startTimeUnixNano": "1796073378090687992", "endTimeUnixNano": "1796073378091912840", "durationMs": 1.224848, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01075}}
{"type": "effect-span", "name": "sqlite", "traceId": "e270f59eac3e15e43b7cb7632b2e7fd8", "spanId": "2cc2a68660c9781a", "parentSpanId": "61bbbc687043623b", "startTimeUnixNano": "1796073378092037702", "endTimeUnixNano": "1796073378092772999", "durationMs": 0.735297, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011932}}
{"type": "effect-span", "name": "sqlite", "traceId": "e270f59eac3e15e43b7cb7632b2e7fd8", "spanId": "35d41b956d6efa24", "parentSpanId": "61bbbc687043623b", "startTimeUnixNano": "1796073378092794089", "endTimeUnixNano": "1796073378093607852", "durationMs": 0.813763, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008736}}
{"type": "effect-span", "name": "sqlite", "traceId": "e270f59eac3e15e43b7cb7632b2e7fd8", "spanId": "7558151bb0ad7e03", "parentSpanId": "61bbbc687043623b", "startTimeUnixNano": "1796073378097710753", "endTimeUnixNano": "1796073378100114022", "durationMs": 2.403269, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012854}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e270f59eac3e15e43b7cb7632b2e7fd8", "spanId": "61bbbc687043623b", "parentSpanId": "8a49b799c5cfe565", "startTimeUnixNano": "1796073378090672603", "endTimeUnixNano": "1796073378100364538", "durationMs": 9.691935, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e270f59eac3e15e43b7cb7632b2e7fd8", "spanId": "069ed2f6d3c9d0ab", "parentSpanId": "8a49b799c5cfe565", "startTimeUnixNano": "1796073378100388412", "endTimeUnixNano": "1796073378101105706", "durationMs": 0.717294, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e270f59eac3e15e43b7cb7632b2e7fd8", "spanId": "8a49b799c5cfe565", "parentSpanId": "5f08ecb7326d569b", "startTimeUnixNano": "1796073378084802776", "endTimeUnixNano": "1796073378101141934", "durationMs": 16.339158, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.007944, "db.connection": "reader", "db.lock_wait_ms": 3.964}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e270f59eac3e15e43b7cb7632b2e7fd8", "spanId": "5f08ecb7326d569b", "parentSpanId": "a485d369852037d8", "startTimeUnixNano": "1796073378084791485", "endTimeUnixNano": "1796073378101165578", "durationMs": 16.374093, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e270f59eac3e15e43b7cb7632b2e7fd8", "spanId": "a485d369852037d8", "parentSpanId": "da1d9774840b1527", "startTimeUnixNano": "1796073378084739959", "endTimeUnixNano": "1796073378101172741", "durationMs": 16.432782, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e270f59eac3e15e43b7cb7632b2e7fd8", "spanId": "da1d9774840b1527", "startTimeUnixNano": "1796073378084717087", "endTimeUnixNano": "1796073378101185535", "durationMs": 16.468448, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "25fc8593e0f5d39ad08da35ccf3ec5c0", "spanId": "071d665e2bf98d01", "parentSpanId": "e045134e62de2c2e", "startTimeUnixNano": "1796073378322149605", "endTimeUnixNano": "1796073378322293954", "durationMs": 0.144349, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "25fc8593e0f5d39ad08da35ccf3ec5c0", "spanId": "696ddbdef6def7ba", "parentSpanId": "293176d925ac0704", "startTimeUnixNano": "1796073378322334229", "endTimeUnixNano": "1796073378322575077", "durationMs": 0.240848, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006111}}
{"type": "effect-span", "name": "sqlite", "traceId": "25fc8593e0f5d39ad08da35ccf3ec5c0", "spanId": "f060fef4b24ea841", "parentSpanId": "293176d925ac0704", "startTimeUnixNano": "1796073378322651419", "endTimeUnixNano": "1796073378323277683", "durationMs": 0.626264, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007864}}
{"type": "effect-span", "name": "sqlite", "traceId": "25fc8593e0f5d39ad08da35ccf3ec5c0", "spanId": "708897408ec1e624", "parentSpanId": "293176d925ac0704", "startTimeUnixNano": "1796073378323294074", "endTimeUnixNano": "1796073378326021516", "durationMs": 2.727442, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007153}}
{"type": "effect-span", "name": "sqlite", "traceId": "25fc8593e0f5d39ad08da35ccf3ec5c0", "spanId": "d1f39b872cbc0898", "parentSpanId": "293176d925ac0704", "startTimeUnixNano": "1796073378330157328", "endTimeUnixNano": "1796073378331682715", "durationMs": 1.525387, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014076}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "25fc8593e0f5d39ad08da35ccf3ec5c0", "spanId": "293176d925ac0704", "parentSpanId": "e045134e62de2c2e", "startTimeUnixNano": "1796073378322328288", "endTimeUnixNano": "1796073378331929885", "durationMs": 9.601597, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "25fc8593e0f5d39ad08da35ccf3ec5c0", "spanId": "b02e8aab99e71359", "parentSpanId": "e045134e62de2c2e", "startTimeUnixNano": "1796073378331946676", "endTimeUnixNano": "1796073378333589431", "durationMs": 1.642755, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "25fc8593e0f5d39ad08da35ccf3ec5c0", "spanId": "e045134e62de2c2e", "parentSpanId": "d36122da28f86d79", "startTimeUnixNano": "1796073378320125761", "endTimeUnixNano": "1796073378333615139", "durationMs": 13.489378, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.020027, "db.connection": "reader", "db.lock_wait_ms": 1.989}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "25fc8593e0f5d39ad08da35ccf3ec5c0", "spanId": "d36122da28f86d79", "parentSpanId": "769136cf8af5d9d8", "startTimeUnixNano": "1796073378320117696", "endTimeUnixNano": "1796073378333633143", "durationMs": 13.515447, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "25fc8593e0f5d39ad08da35ccf3ec5c0", "spanId": "769136cf8af5d9d8", "parentSpanId": "1fc850f50fd98966", "startTimeUnixNano": "1796073378320081950", "endTimeUnixNano": "1796073378333639364", "durationMs": 13.557414, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "25fc8593e0f5d39ad08da35ccf3ec5c0", "spanId": "1fc850f50fd98966", "startTimeUnixNano": "1796073378320063005", "endTimeUnixNano": "1796073378333647068", "durationMs": 13.584063, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9c8b8e56feadaf23de99fb00ca3f4ea4", "spanId": "de8bcd09c2fcbeec", "parentSpanId": "3a0295c5804ef6c8", "startTimeUnixNano": "1796073379670791305", "endTimeUnixNano": "1796073379671486709", "durationMs": 0.695404, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9c8b8e56feadaf23de99fb00ca3f4ea4", "spanId": "6a79277d2a73c271", "parentSpanId": "b04aab54580ad3a2", "startTimeUnixNano": "1796073379671533366", "endTimeUnixNano": "1796073379672170651", "durationMs": 0.637285, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004989}}
{"type": "effect-span", "name": "sqlite", "traceId": "9c8b8e56feadaf23de99fb00ca3f4ea4", "spanId": "3e2a16535ef76757", "parentSpanId": "b04aab54580ad3a2", "startTimeUnixNano": "1796073379672242725", "endTimeUnixNano": "1796073379673026663", "durationMs": 0.783938, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010239}}
{"type": "effect-span", "name": "sqlite", "traceId": "9c8b8e56feadaf23de99fb00ca3f4ea4", "spanId": "b93908974fdae0c5", "parentSpanId": "b04aab54580ad3a2", "startTimeUnixNano": "1796073379673040378", "endTimeUnixNano": "1796073379674069002", "durationMs": 1.028624, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008166}}
{"type": "effect-span", "name": "sqlite", "traceId": "9c8b8e56feadaf23de99fb00ca3f4ea4", "spanId": "7ad872a6ddecaf28", "parentSpanId": "b04aab54580ad3a2", "startTimeUnixNano": "1796073379679089749", "endTimeUnixNano": "1796073379681333262", "durationMs": 2.243513, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013746}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9c8b8e56feadaf23de99fb00ca3f4ea4", "spanId": "b04aab54580ad3a2", "parentSpanId": "3a0295c5804ef6c8", "startTimeUnixNano": "1796073379671526813", "endTimeUnixNano": "1796073379681543102", "durationMs": 10.016289, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9c8b8e56feadaf23de99fb00ca3f4ea4", "spanId": "6a588d8c10fefc6f", "parentSpanId": "3a0295c5804ef6c8", "startTimeUnixNano": "1796073379681565694", "endTimeUnixNano": "1796073379681826359", "durationMs": 0.260665, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9c8b8e56feadaf23de99fb00ca3f4ea4", "spanId": "3a0295c5804ef6c8", "parentSpanId": "fdaafb4c5d6ec218", "startTimeUnixNano": "1796073379669509111", "endTimeUnixNano": "1796073379681844934", "durationMs": 12.335823, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.278237, "db.connection": "reader", "db.lock_wait_ms": 1.245}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9c8b8e56feadaf23de99fb00ca3f4ea4", "spanId": "fdaafb4c5d6ec218", "parentSpanId": "42f98b2e98624899", "startTimeUnixNano": "1796073379669500385", "endTimeUnixNano": "1796073379681861815", "durationMs": 12.36143, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9c8b8e56feadaf23de99fb00ca3f4ea4", "spanId": "42f98b2e98624899", "parentSpanId": "8695997eef760056", "startTimeUnixNano": "1796073379669458557", "endTimeUnixNano": "1796073379681868928", "durationMs": 12.410371, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9c8b8e56feadaf23de99fb00ca3f4ea4", "spanId": "8695997eef760056", "startTimeUnixNano": "1796073379669419865", "endTimeUnixNano": "1796073379681875500", "durationMs": 12.455635, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b0421ad2afc4500bbec92d80a2c259d8", "spanId": "1c386d85506b4df7", "parentSpanId": "bafcc436370332d1", "startTimeUnixNano": "1796073379893698279", "endTimeUnixNano": "1796073379894360210", "durationMs": 0.661931, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b0421ad2afc4500bbec92d80a2c259d8", "spanId": "a285aa5560a8fc5c", "parentSpanId": "60941f6250775d91", "startTimeUnixNano": "1796073379894419390", "endTimeUnixNano": "1796073379894812912", "durationMs": 0.393522, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007003}}
{"type": "effect-span", "name": "sqlite", "traceId": "b0421ad2afc4500bbec92d80a2c259d8", "spanId": "a81315a58a89dd37", "parentSpanId": "60941f6250775d91", "startTimeUnixNano": "1796073379894896567", "endTimeUnixNano": "1796073379895644388", "durationMs": 0.747821, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009157}}
{"type": "effect-span", "name": "sqlite", "traceId": "b0421ad2afc4500bbec92d80a2c259d8", "spanId": "18bedc1a7f2a6ece", "parentSpanId": "60941f6250775d91", "startTimeUnixNano": "1796073379895665377", "endTimeUnixNano": "1796073379896411735", "durationMs": 0.746358, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010209}}
{"type": "effect-span", "name": "sqlite", "traceId": "b0421ad2afc4500bbec92d80a2c259d8", "spanId": "27a4221c18f11c33", "parentSpanId": "60941f6250775d91", "startTimeUnixNano": "1796073379900616826", "endTimeUnixNano": "1796073379902416563", "durationMs": 1.799737, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01596}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b0421ad2afc4500bbec92d80a2c259d8", "spanId": "60941f6250775d91", "parentSpanId": "bafcc436370332d1", "startTimeUnixNano": "1796073379894411405", "endTimeUnixNano": "1796073379902722572", "durationMs": 8.311167, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b0421ad2afc4500bbec92d80a2c259d8", "spanId": "d4d0977034a05540", "parentSpanId": "bafcc436370332d1", "startTimeUnixNano": "1796073379902754111", "endTimeUnixNano": "1796073379904561042", "durationMs": 1.806931, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b0421ad2afc4500bbec92d80a2c259d8", "spanId": "bafcc436370332d1", "parentSpanId": "88ce2e7f1d112c4b", "startTimeUnixNano": "1796073379892180165", "endTimeUnixNano": "1796073379904592350", "durationMs": 12.412185, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.513415, "db.connection": "reader", "db.lock_wait_ms": 1.457}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b0421ad2afc4500bbec92d80a2c259d8", "spanId": "88ce2e7f1d112c4b", "parentSpanId": "fcb1902f911db58f", "startTimeUnixNano": "1796073379892172070", "endTimeUnixNano": "1796073379904624530", "durationMs": 12.45246, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b0421ad2afc4500bbec92d80a2c259d8", "spanId": "fcb1902f911db58f", "parentSpanId": "0b67b00f5a9918b6", "startTimeUnixNano": "1796073379892136715", "endTimeUnixNano": "1796073379904630681", "durationMs": 12.493966, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b0421ad2afc4500bbec92d80a2c259d8", "spanId": "0b67b00f5a9918b6", "startTimeUnixNano": "1796073379892120875", "endTimeUnixNano": "1796073379904640800", "durationMs": 12.519925, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c57511f7defba5553bd55a23334ce842", "spanId": "b6a60b2cd17c51e3", "parentSpanId": "18bfc5bf3d20ca39", "startTimeUnixNano": "1796073381204517543", "endTimeUnixNano": "1796073381205273149", "durationMs": 0.755606, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c57511f7defba5553bd55a23334ce842", "spanId": "351240ac41c659ff", "parentSpanId": "39971d2f4053b01c", "startTimeUnixNano": "1796073381205332930", "endTimeUnixNano": "1796073381205936813", "durationMs": 0.603883, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006352}}
{"type": "effect-span", "name": "sqlite", "traceId": "c57511f7defba5553bd55a23334ce842", "spanId": "73b37fdec9b73a7d", "parentSpanId": "39971d2f4053b01c", "startTimeUnixNano": "1796073381206010771", "endTimeUnixNano": "1796073381206859870", "durationMs": 0.849099, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009057}}
{"type": "effect-span", "name": "sqlite", "traceId": "c57511f7defba5553bd55a23334ce842", "spanId": "a36d4bdc310c7bc6", "parentSpanId": "39971d2f4053b01c", "startTimeUnixNano": "1796073381206879597", "endTimeUnixNano": "1796073381207709370", "durationMs": 0.829773, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009307}}
{"type": "effect-span", "name": "sqlite", "traceId": "c57511f7defba5553bd55a23334ce842", "spanId": "0dc8f5ee8f919c27", "parentSpanId": "39971d2f4053b01c", "startTimeUnixNano": "1796073381213089887", "endTimeUnixNano": "1796073381214600277", "durationMs": 1.51039, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.028373}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c57511f7defba5553bd55a23334ce842", "spanId": "39971d2f4053b01c", "parentSpanId": "18bfc5bf3d20ca39", "startTimeUnixNano": "1796073381205323673", "endTimeUnixNano": "1796073381214818553", "durationMs": 9.49488, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c57511f7defba5553bd55a23334ce842", "spanId": "f5d9beb587137906", "parentSpanId": "18bfc5bf3d20ca39", "startTimeUnixNano": "1796073381214832529", "endTimeUnixNano": "1796073381216371050", "durationMs": 1.538521, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c57511f7defba5553bd55a23334ce842", "spanId": "18bfc5bf3d20ca39", "parentSpanId": "05da4c3efe4cc118", "startTimeUnixNano": "1796073381203004249", "endTimeUnixNano": "1796073381216393472", "durationMs": 13.389223, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.508205, "db.connection": "reader", "db.lock_wait_ms": 1.467}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c57511f7defba5553bd55a23334ce842", "spanId": "05da4c3efe4cc118", "parentSpanId": "cd061c2376c5f8b9", "startTimeUnixNano": "1796073381202996224", "endTimeUnixNano": "1796073381216411646", "durationMs": 13.415422, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c57511f7defba5553bd55a23334ce842", "spanId": "cd061c2376c5f8b9", "parentSpanId": "eb5a6894b4a9f531", "startTimeUnixNano": "1796073381202951501", "endTimeUnixNano": "1796073381216418288", "durationMs": 13.466787, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c57511f7defba5553bd55a23334ce842", "spanId": "eb5a6894b4a9f531", "startTimeUnixNano": "1796073381202925282", "endTimeUnixNano": "1796073381216426583", "durationMs": 13.501301, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "69e475d76b1771352cfda167fe3f5697", "spanId": "e0eda00b9a702e31", "parentSpanId": "fb51b3d918cb188e", "startTimeUnixNano": "1796073381428335820", "endTimeUnixNano": "1796073381428968868", "durationMs": 0.633048, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "69e475d76b1771352cfda167fe3f5697", "spanId": "e50f74e37a6d332e", "parentSpanId": "81c7e2a202fff2d6", "startTimeUnixNano": "1796073381429023770", "endTimeUnixNano": "1796073381429363943", "durationMs": 0.340173, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006652}}
{"type": "effect-span", "name": "sqlite", "traceId": "69e475d76b1771352cfda167fe3f5697", "spanId": "08bee3bce341c275", "parentSpanId": "81c7e2a202fff2d6", "startTimeUnixNano": "1796073381429452778", "endTimeUnixNano": "1796073381430445354", "durationMs": 0.992576, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010249}}
{"type": "effect-span", "name": "sqlite", "traceId": "69e475d76b1771352cfda167fe3f5697", "spanId": "d09708d98d9bb5ca", "parentSpanId": "81c7e2a202fff2d6", "startTimeUnixNano": "1796073381430462185", "endTimeUnixNano": "1796073381431382407", "durationMs": 0.920222, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007254}}
{"type": "effect-span", "name": "sqlite", "traceId": "69e475d76b1771352cfda167fe3f5697", "spanId": "d87d303858e71678", "parentSpanId": "81c7e2a202fff2d6", "startTimeUnixNano": "1796073381438665293", "endTimeUnixNano": "1796073381441270538", "durationMs": 2.605245, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.03803}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "69e475d76b1771352cfda167fe3f5697", "spanId": "81c7e2a202fff2d6", "parentSpanId": "fb51b3d918cb188e", "startTimeUnixNano": "1796073381429015975", "endTimeUnixNano": "1796073381441506487", "durationMs": 12.490512, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "69e475d76b1771352cfda167fe3f5697", "spanId": "699811fcb15e1ef4", "parentSpanId": "fb51b3d918cb188e", "startTimeUnixNano": "1796073381441525302", "endTimeUnixNano": "1796073381441815913", "durationMs": 0.290611, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "69e475d76b1771352cfda167fe3f5697", "spanId": "fb51b3d918cb188e", "parentSpanId": "bd9bf998aa15bf02", "startTimeUnixNano": "1796073381426871036", "endTimeUnixNano": "1796073381441843334", "durationMs": 14.972298, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.460005, "db.connection": "reader", "db.lock_wait_ms": 1.422}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "69e475d76b1771352cfda167fe3f5697", "spanId": "bd9bf998aa15bf02", "parentSpanId": "0170df9eab7ef1cc", "startTimeUnixNano": "1796073381426862170", "endTimeUnixNano": "1796073381441883318", "durationMs": 15.021148, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "69e475d76b1771352cfda167fe3f5697", "spanId": "0170df9eab7ef1cc", "parentSpanId": "b5d727fe53cb0dfb", "startTimeUnixNano": "1796073381426822355", "endTimeUnixNano": "1796073381441888117", "durationMs": 15.065762, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "69e475d76b1771352cfda167fe3f5697", "spanId": "b5d727fe53cb0dfb", "startTimeUnixNano": "1796073381426800575", "endTimeUnixNano": "1796073381441896102", "durationMs": 15.095527, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "650a00ddbe444a799fbc887b96a05299", "spanId": "dbc45016e75a431e", "parentSpanId": "8b44a6d563fabeba", "startTimeUnixNano": "1796073382834531235", "endTimeUnixNano": "1796073382834780749", "durationMs": 0.249514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "650a00ddbe444a799fbc887b96a05299", "spanId": "df62dfa4ece9f963", "parentSpanId": "135f4c10c07226b4", "startTimeUnixNano": "1796073382834850258", "endTimeUnixNano": "1796073382835696382", "durationMs": 0.846124, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008295}}
{"type": "effect-span", "name": "sqlite", "traceId": "650a00ddbe444a799fbc887b96a05299", "spanId": "47810e99fcdc5633", "parentSpanId": "135f4c10c07226b4", "startTimeUnixNano": "1796073382835797029", "endTimeUnixNano": "1796073382837314822", "durationMs": 1.517793, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009989}}
{"type": "effect-span", "name": "sqlite", "traceId": "650a00ddbe444a799fbc887b96a05299", "spanId": "95e6de85aea5d327", "parentSpanId": "135f4c10c07226b4", "startTimeUnixNano": "1796073382837333637", "endTimeUnixNano": "1796073382838501489", "durationMs": 1.167852, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009347}}
{"type": "effect-span", "name": "sqlite", "traceId": "650a00ddbe444a799fbc887b96a05299", "spanId": "cc2de21feb4f9f73", "parentSpanId": "135f4c10c07226b4", "startTimeUnixNano": "1796073382844350378", "endTimeUnixNano": "1796073382847169742", "durationMs": 2.819364, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019436}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "650a00ddbe444a799fbc887b96a05299", "spanId": "135f4c10c07226b4", "parentSpanId": "8b44a6d563fabeba", "startTimeUnixNano": "1796073382834841792", "endTimeUnixNano": "1796073382847445775", "durationMs": 12.603983, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "650a00ddbe444a799fbc887b96a05299", "spanId": "129ef4d89a2f15c3", "parentSpanId": "8b44a6d563fabeba", "startTimeUnixNano": "1796073382847479738", "endTimeUnixNano": "1796073382847982784", "durationMs": 0.503046, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "650a00ddbe444a799fbc887b96a05299", "spanId": "8b44a6d563fabeba", "parentSpanId": "c13fd7eec1c02977", "startTimeUnixNano": "1796073382831383780", "endTimeUnixNano": "1796073382848015735", "durationMs": 16.631955, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.138398, "db.connection": "reader", "db.lock_wait_ms": 3.097}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "650a00ddbe444a799fbc887b96a05299", "spanId": "c13fd7eec1c02977", "parentSpanId": "f9827c046e296fe5", "startTimeUnixNano": "1796073382831374794", "endTimeUnixNano": "1796073382848045170", "durationMs": 16.670376, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "650a00ddbe444a799fbc887b96a05299", "spanId": "f9827c046e296fe5", "parentSpanId": "8bb3f8f160260480", "startTimeUnixNano": "1796073382831331333", "endTimeUnixNano": "1796073382848054367", "durationMs": 16.723034, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "650a00ddbe444a799fbc887b96a05299", "spanId": "8bb3f8f160260480", "startTimeUnixNano": "1796073382831313369", "endTimeUnixNano": "1796073382848065097", "durationMs": 16.751728, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1139d7cb76e9be7820d8a48634923d17", "spanId": "f26a9c30d5e7e7e0", "parentSpanId": "5c852e3636879790", "startTimeUnixNano": "1796073383065614487", "endTimeUnixNano": "1796073383067388386", "durationMs": 1.773899, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1139d7cb76e9be7820d8a48634923d17", "spanId": "f2bfc80da14dfd56", "parentSpanId": "be60d5dfbaa39b8c", "startTimeUnixNano": "1796073383067456693", "endTimeUnixNano": "1796073383067840848", "durationMs": 0.384155, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007254}}
{"type": "effect-span", "name": "sqlite", "traceId": "1139d7cb76e9be7820d8a48634923d17", "spanId": "023ddf69d677dc05", "parentSpanId": "be60d5dfbaa39b8c", "startTimeUnixNano": "1796073383067962374", "endTimeUnixNano": "1796073383069359562", "durationMs": 1.397188, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017061}}
{"type": "effect-span", "name": "sqlite", "traceId": "1139d7cb76e9be7820d8a48634923d17", "spanId": "a47f6c4133b10be5", "parentSpanId": "be60d5dfbaa39b8c", "startTimeUnixNano": "1796073383069377476", "endTimeUnixNano": "1796073383070498030", "durationMs": 1.120554, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006953}}
{"type": "effect-span", "name": "sqlite", "traceId": "1139d7cb76e9be7820d8a48634923d17", "spanId": "91e1c7fa52bb763e", "parentSpanId": "be60d5dfbaa39b8c", "startTimeUnixNano": "1796073383074427479", "endTimeUnixNano": "1796073383076048915", "durationMs": 1.621436, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.044974}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1139d7cb76e9be7820d8a48634923d17", "spanId": "be60d5dfbaa39b8c", "parentSpanId": "5c852e3636879790", "startTimeUnixNano": "1796073383067447626", "endTimeUnixNano": "1796073383076270888", "durationMs": 8.823262, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1139d7cb76e9be7820d8a48634923d17", "spanId": "bfd93dbbfb7ac7c6", "parentSpanId": "5c852e3636879790", "startTimeUnixNano": "1796073383076287729", "endTimeUnixNano": "1796073383077172445", "durationMs": 0.884716, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1139d7cb76e9be7820d8a48634923d17", "spanId": "5c852e3636879790", "parentSpanId": "abf4ca46ded03ab9", "startTimeUnixNano": "1796073383064003089", "endTimeUnixNano": "1796073383077192672", "durationMs": 13.189583, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.604475, "db.connection": "reader", "db.lock_wait_ms": 1.575}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1139d7cb76e9be7820d8a48634923d17", "spanId": "abf4ca46ded03ab9", "parentSpanId": "003323e9e3d719d0", "startTimeUnixNano": "1796073383063994994", "endTimeUnixNano": "1796073383077211097", "durationMs": 13.216103, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1139d7cb76e9be7820d8a48634923d17", "spanId": "003323e9e3d719d0", "parentSpanId": "3095f3a9579bdbc0", "startTimeUnixNano": "1796073383063953898", "endTimeUnixNano": "1796073383077216196", "durationMs": 13.262298, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1139d7cb76e9be7820d8a48634923d17", "spanId": "3095f3a9579bdbc0", "startTimeUnixNano": "1796073383063937547", "endTimeUnixNano": "1796073383077224081", "durationMs": 13.286534, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "368ed7b102002d1205a773734d00694e", "spanId": "9a93adaf2993cc1d", "parentSpanId": "80cb4ee5c9c061cf", "startTimeUnixNano": "1796073384327222433", "endTimeUnixNano": "1796073384327883893", "durationMs": 0.66146, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "368ed7b102002d1205a773734d00694e", "spanId": "42e3140492d37829", "parentSpanId": "df1beee524c5fb27", "startTimeUnixNano": "1796073384327924919", "endTimeUnixNano": "1796073384328465846", "durationMs": 0.540927, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004659}}
{"type": "effect-span", "name": "sqlite", "traceId": "368ed7b102002d1205a773734d00694e", "spanId": "8dd92c4ec5fcfd59", "parentSpanId": "df1beee524c5fb27", "startTimeUnixNano": "1796073384328534754", "endTimeUnixNano": "1796073384329564299", "durationMs": 1.029545, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008315}}
{"type": "effect-span", "name": "sqlite", "traceId": "368ed7b102002d1205a773734d00694e", "spanId": "a37221e2331e8fb3", "parentSpanId": "df1beee524c5fb27", "startTimeUnixNano": "1796073384329585769", "endTimeUnixNano": "1796073384330411745", "durationMs": 0.825976, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006923}}
{"type": "effect-span", "name": "sqlite", "traceId": "368ed7b102002d1205a773734d00694e", "spanId": "e7657b86c1969afe", "parentSpanId": "df1beee524c5fb27", "startTimeUnixNano": "1796073384335175867", "endTimeUnixNano": "1796073384337318923", "durationMs": 2.143056, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009097}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "368ed7b102002d1205a773734d00694e", "spanId": "df1beee524c5fb27", "parentSpanId": "80cb4ee5c9c061cf", "startTimeUnixNano": "1796073384327919650", "endTimeUnixNano": "1796073384337508666", "durationMs": 9.589016, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "368ed7b102002d1205a773734d00694e", "spanId": "9c3b99ce1bd3cb54", "parentSpanId": "80cb4ee5c9c061cf", "startTimeUnixNano": "1796073384337528102", "endTimeUnixNano": "1796073384337813373", "durationMs": 0.285271, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "368ed7b102002d1205a773734d00694e", "spanId": "80cb4ee5c9c061cf", "parentSpanId": "d99138afcf32484b", "startTimeUnixNano": "1796073384324269761", "endTimeUnixNano": "1796073384337835694", "durationMs": 13.565933, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.947462, "db.connection": "reader", "db.lock_wait_ms": 2.913}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "368ed7b102002d1205a773734d00694e", "spanId": "d99138afcf32484b", "parentSpanId": "0243335619e21536", "startTimeUnixNano": "1796073384324262447", "endTimeUnixNano": "1796073384337849269", "durationMs": 13.586822, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "368ed7b102002d1205a773734d00694e", "spanId": "0243335619e21536", "parentSpanId": "d1c9177e258d1e04", "startTimeUnixNano": "1796073384324224957", "endTimeUnixNano": "1796073384337854579", "durationMs": 13.629622, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "368ed7b102002d1205a773734d00694e", "spanId": "d1c9177e258d1e04", "startTimeUnixNano": "1796073384324209198", "endTimeUnixNano": "1796073384337861943", "durationMs": 13.652745, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ec7fa03a85ceb03ca9e68bd9cddd184c", "spanId": "e47479fb2a99452a", "parentSpanId": "32b234ad6fd80d14", "startTimeUnixNano": "1796073384526741911", "endTimeUnixNano": "1796073384528296452", "durationMs": 1.554541, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec7fa03a85ceb03ca9e68bd9cddd184c", "spanId": "ddbcffca22f54d62", "parentSpanId": "e87f6360b8fdb6fd", "startTimeUnixNano": "1796073384528330185", "endTimeUnixNano": "1796073384528602181", "durationMs": 0.271996, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01067}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec7fa03a85ceb03ca9e68bd9cddd184c", "spanId": "d5f15645f6781399", "parentSpanId": "e87f6360b8fdb6fd", "startTimeUnixNano": "1796073384528676048", "endTimeUnixNano": "1796073384529391459", "durationMs": 0.715411, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009378}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec7fa03a85ceb03ca9e68bd9cddd184c", "spanId": "bc1e0b2dbc684e3a", "parentSpanId": "e87f6360b8fdb6fd", "startTimeUnixNano": "1796073384529428849", "endTimeUnixNano": "1796073384531253372", "durationMs": 1.824523, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.025267}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec7fa03a85ceb03ca9e68bd9cddd184c", "spanId": "f9ab7e18bda21362", "parentSpanId": "e87f6360b8fdb6fd", "startTimeUnixNano": "1796073384534256378", "endTimeUnixNano": "1796073384536716484", "durationMs": 2.460106, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017242}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ec7fa03a85ceb03ca9e68bd9cddd184c", "spanId": "e87f6360b8fdb6fd", "parentSpanId": "32b234ad6fd80d14", "startTimeUnixNano": "1796073384528324905", "endTimeUnixNano": "1796073384536864008", "durationMs": 8.539103, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ec7fa03a85ceb03ca9e68bd9cddd184c", "spanId": "80b0605aca371b5e", "parentSpanId": "32b234ad6fd80d14", "startTimeUnixNano": "1796073384536885528", "endTimeUnixNano": "1796073384538490344", "durationMs": 1.604816, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ec7fa03a85ceb03ca9e68bd9cddd184c", "spanId": "32b234ad6fd80d14", "parentSpanId": "afd85e1f4da30ad1", "startTimeUnixNano": "1796073384525469915", "endTimeUnixNano": "1796073384538516993", "durationMs": 13.047078, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.26891, "db.connection": "reader", "db.lock_wait_ms": 1.241}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ec7fa03a85ceb03ca9e68bd9cddd184c", "spanId": "afd85e1f4da30ad1", "parentSpanId": "a1a9c4f4822d931d", "startTimeUnixNano": "1796073384525460487", "endTimeUnixNano": "1796073384538531310", "durationMs": 13.070823, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ec7fa03a85ceb03ca9e68bd9cddd184c", "spanId": "a1a9c4f4822d931d", "parentSpanId": "b265971489345fcc", "startTimeUnixNano": "1796073384525412208", "endTimeUnixNano": "1796073384538537582", "durationMs": 13.125374, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ec7fa03a85ceb03ca9e68bd9cddd184c", "spanId": "b265971489345fcc", "startTimeUnixNano": "1796073384525394314", "endTimeUnixNano": "1796073384538548853", "durationMs": 13.154539, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "52b6463f4453066a1a6a96af22816c97", "spanId": "1d81d193b15b2249", "parentSpanId": "51557b44fbc93bda", "startTimeUnixNano": "1796073385718154498", "endTimeUnixNano": "1796073385718298196", "durationMs": 0.143698, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "52b6463f4453066a1a6a96af22816c97", "spanId": "4e963b3c58b0c0fc", "parentSpanId": "8b4bcfd677cf1ebb", "startTimeUnixNano": "1796073385718336086", "endTimeUnixNano": "1796073385718832189", "durationMs": 0.496103, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005561}}
{"type": "effect-span", "name": "sqlite", "traceId": "52b6463f4453066a1a6a96af22816c97", "spanId": "d73ea83f03b441a6", "parentSpanId": "8b4bcfd677cf1ebb", "startTimeUnixNano": "1796073385718914192", "endTimeUnixNano": "1796073385719630895", "durationMs": 0.716703, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009287}}
{"type": "effect-span", "name": "sqlite", "traceId": "52b6463f4453066a1a6a96af22816c97", "spanId": "d9dea5e949e8f7e8", "parentSpanId": "8b4bcfd677cf1ebb", "startTimeUnixNano": "1796073385719648507", "endTimeUnixNano": "1796073385720510521", "durationMs": 0.862014, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007354}}
{"type": "effect-span", "name": "sqlite", "traceId": "52b6463f4453066a1a6a96af22816c97", "spanId": "fa6e76c900b182d7", "parentSpanId": "8b4bcfd677cf1ebb", "startTimeUnixNano": "1796073385725725712", "endTimeUnixNano": "1796073385728006254", "durationMs": 2.280542, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008946}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "52b6463f4453066a1a6a96af22816c97", "spanId": "8b4bcfd677cf1ebb", "parentSpanId": "51557b44fbc93bda", "startTimeUnixNano": "1796073385718330506", "endTimeUnixNano": "1796073385728170369", "durationMs": 9.839863, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "52b6463f4453066a1a6a96af22816c97", "spanId": "e79452169b136830", "parentSpanId": "51557b44fbc93bda", "startTimeUnixNano": "1796073385728184095", "endTimeUnixNano": "1796073385728504491", "durationMs": 0.320396, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "52b6463f4453066a1a6a96af22816c97", "spanId": "51557b44fbc93bda", "parentSpanId": "d6aecd67c634fc7a", "startTimeUnixNano": "1796073385715977509", "endTimeUnixNano": "1796073385728522033", "durationMs": 12.544524, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.172812, "db.connection": "reader", "db.lock_wait_ms": 2.141}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "52b6463f4453066a1a6a96af22816c97", "spanId": "d6aecd67c634fc7a", "parentSpanId": "132565f90a8f3593", "startTimeUnixNano": "1796073385715966659", "endTimeUnixNano": "1796073385728537161", "durationMs": 12.570502, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "52b6463f4453066a1a6a96af22816c97", "spanId": "132565f90a8f3593", "parentSpanId": "6ef97ac059d27da8", "startTimeUnixNano": "1796073385715930802", "endTimeUnixNano": "1796073385728541489", "durationMs": 12.610687, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "52b6463f4453066a1a6a96af22816c97", "spanId": "6ef97ac059d27da8", "startTimeUnixNano": "1796073385715914241", "endTimeUnixNano": "1796073385728548222", "durationMs": 12.633981, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9bac37203b7c157266ba734e4254002e", "spanId": "d125c2cbc34c4a11", "parentSpanId": "50562f79e3137c4c", "startTimeUnixNano": "1796073385926243034", "endTimeUnixNano": "1796073385926496335", "durationMs": 0.253301, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9bac37203b7c157266ba734e4254002e", "spanId": "1323b1b16b6d9b5e", "parentSpanId": "2dd81d0015d3ad67", "startTimeUnixNano": "1796073385926532943", "endTimeUnixNano": "1796073385926620075", "durationMs": 0.087132, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004589}}
{"type": "effect-span", "name": "sqlite", "traceId": "9bac37203b7c157266ba734e4254002e", "spanId": "494df6eb1e306ae0", "parentSpanId": "2dd81d0015d3ad67", "startTimeUnixNano": "1796073385926685377", "endTimeUnixNano": "1796073385927480817", "durationMs": 0.79544, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007784}}
{"type": "effect-span", "name": "sqlite", "traceId": "9bac37203b7c157266ba734e4254002e", "spanId": "6326d8183b8d4c2e", "parentSpanId": "2dd81d0015d3ad67", "startTimeUnixNano": "1796073385927498339", "endTimeUnixNano": "1796073385928233707", "durationMs": 0.735368, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007845}}
{"type": "effect-span", "name": "sqlite", "traceId": "9bac37203b7c157266ba734e4254002e", "spanId": "3da9ad4335c43ba4", "parentSpanId": "2dd81d0015d3ad67", "startTimeUnixNano": "1796073385931415054", "endTimeUnixNano": "1796073385932976669", "durationMs": 1.561615, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013195}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9bac37203b7c157266ba734e4254002e", "spanId": "2dd81d0015d3ad67", "parentSpanId": "50562f79e3137c4c", "startTimeUnixNano": "1796073385926527583", "endTimeUnixNano": "1796073385933148158", "durationMs": 6.620575, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9bac37203b7c157266ba734e4254002e", "spanId": "223a4b8d26750cb3", "parentSpanId": "50562f79e3137c4c", "startTimeUnixNano": "1796073385933158357", "endTimeUnixNano": "1796073385933597745", "durationMs": 0.439388, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9bac37203b7c157266ba734e4254002e", "spanId": "50562f79e3137c4c", "parentSpanId": "9bf8ab84274239ca", "startTimeUnixNano": "1796073385924910425", "endTimeUnixNano": "1796073385933612412", "durationMs": 8.701987, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.329784, "db.connection": "reader", "db.lock_wait_ms": 1.302}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9bac37203b7c157266ba734e4254002e", "spanId": "9bf8ab84274239ca", "parentSpanId": "b7b750385435c44a", "startTimeUnixNano": "1796073385924892502", "endTimeUnixNano": "1796073385933625356", "durationMs": 8.732854, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9bac37203b7c157266ba734e4254002e", "spanId": "b7b750385435c44a", "parentSpanId": "6e8495639979b36e", "startTimeUnixNano": "1796073385924844403", "endTimeUnixNano": "1796073385933629834", "durationMs": 8.785431, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9bac37203b7c157266ba734e4254002e", "spanId": "6e8495639979b36e", "startTimeUnixNano": "1796073385924832340", "endTimeUnixNano": "1796073385933637328", "durationMs": 8.804988, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ddc13ba880b66432b2c471e3851b72a2", "spanId": "b7dc13d8ec50123e", "parentSpanId": "a6d49c779bebbc90", "startTimeUnixNano": "1796073387143797833", "endTimeUnixNano": "1796073387143978228", "durationMs": 0.180395, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ddc13ba880b66432b2c471e3851b72a2", "spanId": "cacc9dc5bede43c2", "parentSpanId": "9079fd376831a388", "startTimeUnixNano": "1796073387144020918", "endTimeUnixNano": "1796073387144697256", "durationMs": 0.676338, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.0056}}
{"type": "effect-span", "name": "sqlite", "traceId": "ddc13ba880b66432b2c471e3851b72a2", "spanId": "e14a9c858e85e4fd", "parentSpanId": "9079fd376831a388", "startTimeUnixNano": "1796073387144773407", "endTimeUnixNano": "1796073387145520287", "durationMs": 0.74688, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009127}}
{"type": "effect-span", "name": "sqlite", "traceId": "ddc13ba880b66432b2c471e3851b72a2", "spanId": "d06374e7f7d37c6a", "parentSpanId": "9079fd376831a388", "startTimeUnixNano": "1796073387145539202", "endTimeUnixNano": "1796073387146464142", "durationMs": 0.92494, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008816}}
{"type": "effect-span", "name": "sqlite", "traceId": "ddc13ba880b66432b2c471e3851b72a2", "spanId": "c1f18404fdb03bf1", "parentSpanId": "9079fd376831a388", "startTimeUnixNano": "1796073387152241830", "endTimeUnixNano": "1796073387154570822", "durationMs": 2.328992, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013846}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ddc13ba880b66432b2c471e3851b72a2", "spanId": "9079fd376831a388", "parentSpanId": "a6d49c779bebbc90", "startTimeUnixNano": "1796073387144015047", "endTimeUnixNano": "1796073387154765865", "durationMs": 10.750818, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ddc13ba880b66432b2c471e3851b72a2", "spanId": "18b4c4c5dca52388", "parentSpanId": "a6d49c779bebbc90", "startTimeUnixNano": "1796073387154779871", "endTimeUnixNano": "1796073387155092914", "durationMs": 0.313043, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ddc13ba880b66432b2c471e3851b72a2", "spanId": "a6d49c779bebbc90", "parentSpanId": "87457aa5f347d5b3", "startTimeUnixNano": "1796073387141319272", "endTimeUnixNano": "1796073387155109535", "durationMs": 13.790263, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.473611, "db.connection": "reader", "db.lock_wait_ms": 2.438}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ddc13ba880b66432b2c471e3851b72a2", "spanId": "87457aa5f347d5b3", "parentSpanId": "c6a5f82768e2b8ad", "startTimeUnixNano": "1796073387141310876", "endTimeUnixNano": "1796073387155121637", "durationMs": 13.810761, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ddc13ba880b66432b2c471e3851b72a2", "spanId": "c6a5f82768e2b8ad", "parentSpanId": "b8480f9d42304628", "startTimeUnixNano": "1796073387141272144", "endTimeUnixNano": "1796073387155127177", "durationMs": 13.855033, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ddc13ba880b66432b2c471e3851b72a2", "spanId": "b8480f9d42304628", "startTimeUnixNano": "1796073387141255042", "endTimeUnixNano": "1796073387155137266", "durationMs": 13.882224, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "98cd5a6645886e09bec4a7e367326c25", "spanId": "680bd6af69f9bc03", "parentSpanId": "cd8bd43a19088579", "startTimeUnixNano": "1796073387346659182", "endTimeUnixNano": "1796073387347024642", "durationMs": 0.36546, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "98cd5a6645886e09bec4a7e367326c25", "spanId": "a99e4b2700b62508", "parentSpanId": "5069b2582d3e3b73", "startTimeUnixNano": "1796073387347068574", "endTimeUnixNano": "1796073387347190921", "durationMs": 0.122347, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004578}}
{"type": "effect-span", "name": "sqlite", "traceId": "98cd5a6645886e09bec4a7e367326c25", "spanId": "06274f9f7b0e9b7a", "parentSpanId": "5069b2582d3e3b73", "startTimeUnixNano": "1796073387347254459", "endTimeUnixNano": "1796073387348193576", "durationMs": 0.939117, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008005}}
{"type": "effect-span", "name": "sqlite", "traceId": "98cd5a6645886e09bec4a7e367326c25", "spanId": "a689f43fb8e3229d", "parentSpanId": "5069b2582d3e3b73", "startTimeUnixNano": "1796073387348206140", "endTimeUnixNano": "1796073387349017960", "durationMs": 0.81182, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007684}}
{"type": "effect-span", "name": "sqlite", "traceId": "98cd5a6645886e09bec4a7e367326c25", "spanId": "eded796af7f528ee", "parentSpanId": "5069b2582d3e3b73", "startTimeUnixNano": "1796073387352080657", "endTimeUnixNano": "1796073387354571040", "durationMs": 2.490383, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019356}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "98cd5a6645886e09bec4a7e367326c25", "spanId": "5069b2582d3e3b73", "parentSpanId": "cd8bd43a19088579", "startTimeUnixNano": "1796073387347062082", "endTimeUnixNano": "1796073387354764149", "durationMs": 7.702067, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "98cd5a6645886e09bec4a7e367326c25", "spanId": "f3470942569af62d", "parentSpanId": "cd8bd43a19088579", "startTimeUnixNano": "1796073387354775310", "endTimeUnixNano": "1796073387355159765", "durationMs": 0.384455, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "98cd5a6645886e09bec4a7e367326c25", "spanId": "cd8bd43a19088579", "parentSpanId": "bcc1f9f3777c7a02", "startTimeUnixNano": "1796073387345229743", "endTimeUnixNano": "1796073387355175223", "durationMs": 9.94548, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.425652, "db.connection": "reader", "db.lock_wait_ms": 1.394}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "98cd5a6645886e09bec4a7e367326c25", "spanId": "bcc1f9f3777c7a02", "parentSpanId": "502206d04d942bb7", "startTimeUnixNano": "1796073387345222730", "endTimeUnixNano": "1796073387355187216", "durationMs": 9.964486, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "98cd5a6645886e09bec4a7e367326c25", "spanId": "502206d04d942bb7", "parentSpanId": "f80c828b5ba70d8a", "startTimeUnixNano": "1796073387345194908", "endTimeUnixNano": "1796073387355191394", "durationMs": 9.996486, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "98cd5a6645886e09bec4a7e367326c25", "spanId": "f80c828b5ba70d8a", "startTimeUnixNano": "1796073387345182265", "endTimeUnixNano": "1796073387355196533", "durationMs": 10.014268, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9170e268299019b7342aff3719cbc1e2", "spanId": "19171fdb50e73649", "parentSpanId": "ce8e9f31d847d34f", "startTimeUnixNano": "1796073388563083048", "endTimeUnixNano": "1796073388563722387", "durationMs": 0.639339, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9170e268299019b7342aff3719cbc1e2", "spanId": "9e1cb5018b5e7a43", "parentSpanId": "1beff7a3354cd67b", "startTimeUnixNano": "1796073388563756911", "endTimeUnixNano": "1796073388564413733", "durationMs": 0.656822, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004469}}
{"type": "effect-span", "name": "sqlite", "traceId": "9170e268299019b7342aff3719cbc1e2", "spanId": "8a67efc40777a9eb", "parentSpanId": "1beff7a3354cd67b", "startTimeUnixNano": "1796073388564496237", "endTimeUnixNano": "1796073388565620227", "durationMs": 1.12399, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009357}}
{"type": "effect-span", "name": "sqlite", "traceId": "9170e268299019b7342aff3719cbc1e2", "spanId": "a48e86cca1f75eda", "parentSpanId": "1beff7a3354cd67b", "startTimeUnixNano": "1796073388565633412", "endTimeUnixNano": "1796073388567713952", "durationMs": 2.08054, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009017}}
{"type": "effect-span", "name": "sqlite", "traceId": "9170e268299019b7342aff3719cbc1e2", "spanId": "8dd9496af1964c09", "parentSpanId": "1beff7a3354cd67b", "startTimeUnixNano": "1796073388571032035", "endTimeUnixNano": "1796073388574262795", "durationMs": 3.23076, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013956}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9170e268299019b7342aff3719cbc1e2", "spanId": "1beff7a3354cd67b", "parentSpanId": "ce8e9f31d847d34f", "startTimeUnixNano": "1796073388563751100", "endTimeUnixNano": "1796073388574474639", "durationMs": 10.723539, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9170e268299019b7342aff3719cbc1e2", "spanId": "56793a570efd1069", "parentSpanId": "ce8e9f31d847d34f", "startTimeUnixNano": "1796073388574488485", "endTimeUnixNano": "1796073388574820392", "durationMs": 0.331907, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9170e268299019b7342aff3719cbc1e2", "spanId": "ce8e9f31d847d34f", "parentSpanId": "4721f3ff8e48e64d", "startTimeUnixNano": "1796073388561701618", "endTimeUnixNano": "1796073388574839618", "durationMs": 13.138, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.376501, "db.connection": "reader", "db.lock_wait_ms": 1.342}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9170e268299019b7342aff3719cbc1e2", "spanId": "4721f3ff8e48e64d", "parentSpanId": "6d3ff6cf8fd48e77", "startTimeUnixNano": "1796073388561692431", "endTimeUnixNano": "1796073388574851941", "durationMs": 13.15951, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9170e268299019b7342aff3719cbc1e2", "spanId": "6d3ff6cf8fd48e77", "parentSpanId": "c49ea66f8398cf92", "startTimeUnixNano": "1796073388561651194", "endTimeUnixNano": "1796073388574857160", "durationMs": 13.205966, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9170e268299019b7342aff3719cbc1e2", "spanId": "c49ea66f8398cf92", "startTimeUnixNano": "1796073388561633491", "endTimeUnixNano": "1796073388574864755", "durationMs": 13.231264, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "754d4d14890e78d68cfc4cf54202805b", "spanId": "189cf6cb7c23b6d7", "parentSpanId": "8652e8431210e120", "startTimeUnixNano": "1796073388760313702", "endTimeUnixNano": "1796073388761791671", "durationMs": 1.477969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "754d4d14890e78d68cfc4cf54202805b", "spanId": "1f825c5d14ce1b9f", "parentSpanId": "68325796bad24950", "startTimeUnixNano": "1796073388761832447", "endTimeUnixNano": "1796073388762055402", "durationMs": 0.222955, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004659}}
{"type": "effect-span", "name": "sqlite", "traceId": "754d4d14890e78d68cfc4cf54202805b", "spanId": "09f18c125e63dee2", "parentSpanId": "68325796bad24950", "startTimeUnixNano": "1796073388762124981", "endTimeUnixNano": "1796073388762969472", "durationMs": 0.844491, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007865}}
{"type": "effect-span", "name": "sqlite", "traceId": "754d4d14890e78d68cfc4cf54202805b", "spanId": "100585b945508a77", "parentSpanId": "68325796bad24950", "startTimeUnixNano": "1796073388762981965", "endTimeUnixNano": "1796073388763879545", "durationMs": 0.89758, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006152}}
{"type": "effect-span", "name": "sqlite", "traceId": "754d4d14890e78d68cfc4cf54202805b", "spanId": "cd069bc11384548d", "parentSpanId": "68325796bad24950", "startTimeUnixNano": "1796073388767100216", "endTimeUnixNano": "1796073388770356904", "durationMs": 3.256688, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014317}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "754d4d14890e78d68cfc4cf54202805b", "spanId": "68325796bad24950", "parentSpanId": "8652e8431210e120", "startTimeUnixNano": "1796073388761827027", "endTimeUnixNano": "1796073388770549643", "durationMs": 8.722616, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "754d4d14890e78d68cfc4cf54202805b", "spanId": "0f665ebb12385dab", "parentSpanId": "8652e8431210e120", "startTimeUnixNano": "1796073388770562517", "endTimeUnixNano": "1796073388771153817", "durationMs": 0.5913, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "754d4d14890e78d68cfc4cf54202805b", "spanId": "8652e8431210e120", "parentSpanId": "4f96788c04554c3a", "startTimeUnixNano": "1796073388758903839", "endTimeUnixNano": "1796073388771178703", "durationMs": 12.274864, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.406286, "db.connection": "reader", "db.lock_wait_ms": 1.379}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "754d4d14890e78d68cfc4cf54202805b", "spanId": "4f96788c04554c3a", "parentSpanId": "550fc5bf5f2a1713", "startTimeUnixNano": "1796073388758896445", "endTimeUnixNano": "1796073388771195414", "durationMs": 12.298969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "754d4d14890e78d68cfc4cf54202805b", "spanId": "550fc5bf5f2a1713", "parentSpanId": "aa12e5bc65778cca", "startTimeUnixNano": "1796073388758862532", "endTimeUnixNano": "1796073388771200353", "durationMs": 12.337821, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "754d4d14890e78d68cfc4cf54202805b", "spanId": "aa12e5bc65778cca", "startTimeUnixNano": "1796073388758848667", "endTimeUnixNano": "1796073388771207066", "durationMs": 12.358399, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "86dc1e41cfa9e5c02c1a6846e8008708", "spanId": "b680b8ccb226b6da", "parentSpanId": "4fff97ea678c110f", "startTimeUnixNano": "1796073389957502915", "endTimeUnixNano": "1796073389957703678", "durationMs": 0.200763, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "86dc1e41cfa9e5c02c1a6846e8008708", "spanId": "4f7723cc73beaaf2", "parentSpanId": "8915c7a6428adec7", "startTimeUnixNano": "1796073389957736099", "endTimeUnixNano": "1796073389958276304", "durationMs": 0.540205, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00546}}
{"type": "effect-span", "name": "sqlite", "traceId": "86dc1e41cfa9e5c02c1a6846e8008708", "spanId": "192237bfdd5865fd", "parentSpanId": "8915c7a6428adec7", "startTimeUnixNano": "1796073389958349420", "endTimeUnixNano": "1796073389959006352", "durationMs": 0.656932, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008385}}
{"type": "effect-span", "name": "sqlite", "traceId": "86dc1e41cfa9e5c02c1a6846e8008708", "spanId": "a9e7907b349d60f6", "parentSpanId": "8915c7a6428adec7", "startTimeUnixNano": "1796073389959029825", "endTimeUnixNano": "1796073389959695874", "durationMs": 0.666049, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01036}}
{"type": "effect-span", "name": "sqlite", "traceId": "86dc1e41cfa9e5c02c1a6846e8008708", "spanId": "b26f652e42d9457f", "parentSpanId": "8915c7a6428adec7", "startTimeUnixNano": "1796073389962948044", "endTimeUnixNano": "1796073389965170639", "durationMs": 2.222595, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008957}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "86dc1e41cfa9e5c02c1a6846e8008708", "spanId": "8915c7a6428adec7", "parentSpanId": "4fff97ea678c110f", "startTimeUnixNano": "1796073389957730348", "endTimeUnixNano": "1796073389965369348", "durationMs": 7.639, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "86dc1e41cfa9e5c02c1a6846e8008708", "spanId": "c5cb6e1f599658f9", "parentSpanId": "4fff97ea678c110f", "startTimeUnixNano": "1796073389965381030", "endTimeUnixNano": "1796073389965850213", "durationMs": 0.469183, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "86dc1e41cfa9e5c02c1a6846e8008708", "spanId": "4fff97ea678c110f", "parentSpanId": "39374a33809f08d8", "startTimeUnixNano": "1796073389955654466", "endTimeUnixNano": "1796073389965871943", "durationMs": 10.217477, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.844652, "db.connection": "reader", "db.lock_wait_ms": 1.814}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "86dc1e41cfa9e5c02c1a6846e8008708", "spanId": "39374a33809f08d8", "parentSpanId": "e8f0ed4535cd1932", "startTimeUnixNano": "1796073389955646762", "endTimeUnixNano": "1796073389965883896", "durationMs": 10.237134, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "86dc1e41cfa9e5c02c1a6846e8008708", "spanId": "e8f0ed4535cd1932", "parentSpanId": "7351c25fd8bb31cd", "startTimeUnixNano": "1796073389955611486", "endTimeUnixNano": "1796073389965889185", "durationMs": 10.277699, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "86dc1e41cfa9e5c02c1a6846e8008708", "spanId": "7351c25fd8bb31cd", "startTimeUnixNano": "1796073389955598963", "endTimeUnixNano": "1796073389965897521", "durationMs": 10.298558, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8200f3521ee5dcded2624e951ad4e6ad", "spanId": "2d2daf7d4c4a2e10", "parentSpanId": "f8630d80b3da0f26", "startTimeUnixNano": "1796073390157245986", "endTimeUnixNano": "1796073390157475383", "durationMs": 0.229397, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8200f3521ee5dcded2624e951ad4e6ad", "spanId": "9b092de68b91547c", "parentSpanId": "67d6150d4df9bf49", "startTimeUnixNano": "1796073390157508545", "endTimeUnixNano": "1796073390157784488", "durationMs": 0.275943, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004618}}
{"type": "effect-span", "name": "sqlite", "traceId": "8200f3521ee5dcded2624e951ad4e6ad", "spanId": "6814b2c6db23e28f", "parentSpanId": "67d6150d4df9bf49", "startTimeUnixNano": "1796073390157848507", "endTimeUnixNano": "1796073390158833950", "durationMs": 0.985443, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007584}}
{"type": "effect-span", "name": "sqlite", "traceId": "8200f3521ee5dcded2624e951ad4e6ad", "spanId": "404112a3c39f4b38", "parentSpanId": "67d6150d4df9bf49", "startTimeUnixNano": "1796073390158847686", "endTimeUnixNano": "1796073390160334342", "durationMs": 1.486656, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006412}}
{"type": "effect-span", "name": "sqlite", "traceId": "8200f3521ee5dcded2624e951ad4e6ad", "spanId": "167b2ccdce504643", "parentSpanId": "67d6150d4df9bf49", "startTimeUnixNano": "1796073390163759824", "endTimeUnixNano": "1796073390164873856", "durationMs": 1.114032, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016441}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8200f3521ee5dcded2624e951ad4e6ad", "spanId": "67d6150d4df9bf49", "parentSpanId": "f8630d80b3da0f26", "startTimeUnixNano": "1796073390157503165", "endTimeUnixNano": "1796073390165091221", "durationMs": 7.588056, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8200f3521ee5dcded2624e951ad4e6ad", "spanId": "aee484b2a2d50ad7", "parentSpanId": "f8630d80b3da0f26", "startTimeUnixNano": "1796073390165115556", "endTimeUnixNano": "1796073390165865331", "durationMs": 0.749775, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8200f3521ee5dcded2624e951ad4e6ad", "spanId": "f8630d80b3da0f26", "parentSpanId": "e4b540591cf3c5bc", "startTimeUnixNano": "1796073390156069227", "endTimeUnixNano": "1796073390165886981", "durationMs": 9.817754, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.173774, "db.connection": "reader", "db.lock_wait_ms": 1.147}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8200f3521ee5dcded2624e951ad4e6ad", "spanId": "e4b540591cf3c5bc", "parentSpanId": "f198695a25781b20", "startTimeUnixNano": "1796073390156060952", "endTimeUnixNano": "1796073390165901107", "durationMs": 9.840155, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8200f3521ee5dcded2624e951ad4e6ad", "spanId": "f198695a25781b20", "parentSpanId": "e49251ddefae8d68", "startTimeUnixNano": "1796073390156032068", "endTimeUnixNano": "1796073390165906147", "durationMs": 9.874079, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8200f3521ee5dcded2624e951ad4e6ad", "spanId": "e49251ddefae8d68", "startTimeUnixNano": "1796073390156018743", "endTimeUnixNano": "1796073390165914182", "durationMs": 9.895439, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2a8117ddc22dc0309ba03c0779b3353f", "spanId": "4af5fb470194d69c", "parentSpanId": "f5ca2dbf2f3df07b", "startTimeUnixNano": "1796073391307866418", "endTimeUnixNano": "1796073391308030604", "durationMs": 0.164186, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2a8117ddc22dc0309ba03c0779b3353f", "spanId": "9b65a210c4c7e32f", "parentSpanId": "ab8363e94e4b5f69", "startTimeUnixNano": "1796073391308078824", "endTimeUnixNano": "1796073391308671386", "durationMs": 0.592562, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006281}}
{"type": "effect-span", "name": "sqlite", "traceId": "2a8117ddc22dc0309ba03c0779b3353f", "spanId": "b13b349e7c22ec25", "parentSpanId": "ab8363e94e4b5f69", "startTimeUnixNano": "1796073391308765441", "endTimeUnixNano": "1796073391309404921", "durationMs": 0.63948, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011161}}
{"type": "effect-span", "name": "sqlite", "traceId": "2a8117ddc22dc0309ba03c0779b3353f", "spanId": "4213e73d86ce29d6", "parentSpanId": "ab8363e94e4b5f69", "startTimeUnixNano": "1796073391309424036", "endTimeUnixNano": "1796073391310099242", "durationMs": 0.675206, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007103}}
{"type": "effect-span", "name": "sqlite", "traceId": "2a8117ddc22dc0309ba03c0779b3353f", "spanId": "9458120447216f9b", "parentSpanId": "ab8363e94e4b5f69", "startTimeUnixNano": "1796073391313710601", "endTimeUnixNano": "1796073391314763920", "durationMs": 1.053319, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01083}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2a8117ddc22dc0309ba03c0779b3353f", "spanId": "ab8363e94e4b5f69", "parentSpanId": "f5ca2dbf2f3df07b", "startTimeUnixNano": "1796073391308072051", "endTimeUnixNano": "1796073391314940058", "durationMs": 6.868007, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2a8117ddc22dc0309ba03c0779b3353f", "spanId": "2939ccfc05ffd85e", "parentSpanId": "f5ca2dbf2f3df07b", "startTimeUnixNano": "1796073391314951098", "endTimeUnixNano": "1796073391316957291", "durationMs": 2.006193, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2a8117ddc22dc0309ba03c0779b3353f", "spanId": "f5ca2dbf2f3df07b", "parentSpanId": "afcb897a85466629", "startTimeUnixNano": "1796073391305724484", "endTimeUnixNano": "1796073391316974763", "durationMs": 11.250279, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.138208, "db.connection": "reader", "db.lock_wait_ms": 2.1}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2a8117ddc22dc0309ba03c0779b3353f", "spanId": "afcb897a85466629", "parentSpanId": "0ae67f88f79ff6bc", "startTimeUnixNano": "1796073391305717100", "endTimeUnixNano": "1796073391316988609", "durationMs": 11.271509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2a8117ddc22dc0309ba03c0779b3353f", "spanId": "0ae67f88f79ff6bc", "parentSpanId": "e79f9d5300da8928", "startTimeUnixNano": "1796073391305680081", "endTimeUnixNano": "1796073391316993187", "durationMs": 11.313106, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2a8117ddc22dc0309ba03c0779b3353f", "spanId": "e79f9d5300da8928", "startTimeUnixNano": "1796073391305665394", "endTimeUnixNano": "1796073391316999910", "durationMs": 11.334516, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4d817fa8450a3496e272174afe974ebc", "spanId": "014f409ee516f6de", "parentSpanId": "ddf6878d7c9b17b0", "startTimeUnixNano": "1796073391499403965", "endTimeUnixNano": "1796073391500007388", "durationMs": 0.603423, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4d817fa8450a3496e272174afe974ebc", "spanId": "d5170eb54efd1341", "parentSpanId": "fa272bae623bc643", "startTimeUnixNano": "1796073391500064043", "endTimeUnixNano": "1796073391500274705", "durationMs": 0.210662, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005861}}
{"type": "effect-span", "name": "sqlite", "traceId": "4d817fa8450a3496e272174afe974ebc", "spanId": "93079f39a4a47642", "parentSpanId": "fa272bae623bc643", "startTimeUnixNano": "1796073391500348232", "endTimeUnixNano": "1796073391501033808", "durationMs": 0.685576, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008386}}
{"type": "effect-span", "name": "sqlite", "traceId": "4d817fa8450a3496e272174afe974ebc", "spanId": "f596487c524704f1", "parentSpanId": "fa272bae623bc643", "startTimeUnixNano": "1796073391501054155", "endTimeUnixNano": "1796073391501809200", "durationMs": 0.755045, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006282}}
{"type": "effect-span", "name": "sqlite", "traceId": "4d817fa8450a3496e272174afe974ebc", "spanId": "3917035632ca2bec", "parentSpanId": "fa272bae623bc643", "startTimeUnixNano": "1796073391504959170", "endTimeUnixNano": "1796073391506186654", "durationMs": 1.227484, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018545}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4d817fa8450a3496e272174afe974ebc", "spanId": "fa272bae623bc643", "parentSpanId": "ddf6878d7c9b17b0", "startTimeUnixNano": "1796073391500056730", "endTimeUnixNano": "1796073391506367129", "durationMs": 6.310399, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4d817fa8450a3496e272174afe974ebc", "spanId": "f72c593987b5e055", "parentSpanId": "ddf6878d7c9b17b0", "startTimeUnixNano": "1796073391506378250", "endTimeUnixNano": "1796073391508217572", "durationMs": 1.839322, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4d817fa8450a3496e272174afe974ebc", "spanId": "ddf6878d7c9b17b0", "parentSpanId": "c812ced74f2cbc4d", "startTimeUnixNano": "1796073391498070575", "endTimeUnixNano": "1796073391508236958", "durationMs": 10.166383, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.329032, "db.connection": "reader", "db.lock_wait_ms": 1.303}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4d817fa8450a3496e272174afe974ebc", "spanId": "c812ced74f2cbc4d", "parentSpanId": "9749f4f20ea442eb", "startTimeUnixNano": "1796073391498064073", "endTimeUnixNano": "1796073391508249702", "durationMs": 10.185629, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4d817fa8450a3496e272174afe974ebc", "spanId": "9749f4f20ea442eb", "parentSpanId": "9a09ca9c546a4634", "startTimeUnixNano": "1796073391498038375", "endTimeUnixNano": "1796073391508254621", "durationMs": 10.216246, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4d817fa8450a3496e272174afe974ebc", "spanId": "9a09ca9c546a4634", "startTimeUnixNano": "1796073391498026202", "endTimeUnixNano": "1796073391508262676", "durationMs": 10.236474, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fd13d7883ccc07decc85fbda1df0fd1b", "spanId": "6bdc308db65696cd", "parentSpanId": "a287c980de08f490", "startTimeUnixNano": "1796073392700967033", "endTimeUnixNano": "1796073392701658229", "durationMs": 0.691196, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fd13d7883ccc07decc85fbda1df0fd1b", "spanId": "239d4775e1e94291", "parentSpanId": "1bcf0801fa23ce1d", "startTimeUnixNano": "1796073392701695979", "endTimeUnixNano": "1796073392702362980", "durationMs": 0.667001, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00536}}
{"type": "effect-span", "name": "sqlite", "traceId": "fd13d7883ccc07decc85fbda1df0fd1b", "spanId": "38abbae21d120fc0", "parentSpanId": "1bcf0801fa23ce1d", "startTimeUnixNano": "1796073392702428502", "endTimeUnixNano": "1796073392703206529", "durationMs": 0.778027, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.0217}}
{"type": "effect-span", "name": "sqlite", "traceId": "fd13d7883ccc07decc85fbda1df0fd1b", "spanId": "37b3c426fe86425a", "parentSpanId": "1bcf0801fa23ce1d", "startTimeUnixNano": "1796073392703217129", "endTimeUnixNano": "1796073392704589332", "durationMs": 1.372203, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007033}}
{"type": "effect-span", "name": "sqlite", "traceId": "fd13d7883ccc07decc85fbda1df0fd1b", "spanId": "2bc974cb68363c77", "parentSpanId": "1bcf0801fa23ce1d", "startTimeUnixNano": "1796073392709744362", "endTimeUnixNano": "1796073392711644417", "durationMs": 1.900055, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.0105}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fd13d7883ccc07decc85fbda1df0fd1b", "spanId": "1bcf0801fa23ce1d", "parentSpanId": "a287c980de08f490", "startTimeUnixNano": "1796073392701690048", "endTimeUnixNano": "1796073392711838478", "durationMs": 10.14843, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fd13d7883ccc07decc85fbda1df0fd1b", "spanId": "da292191e7b43a84", "parentSpanId": "a287c980de08f490", "startTimeUnixNano": "1796073392711852384", "endTimeUnixNano": "1796073392711967047", "durationMs": 0.114663, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fd13d7883ccc07decc85fbda1df0fd1b", "spanId": "a287c980de08f490", "parentSpanId": "9a5a570afc45d03b", "startTimeUnixNano": "1796073392699501366", "endTimeUnixNano": "1796073392711984720", "durationMs": 12.483354, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.460848, "db.connection": "reader", "db.lock_wait_ms": 1.426}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fd13d7883ccc07decc85fbda1df0fd1b", "spanId": "9a5a570afc45d03b", "parentSpanId": "0b0575957166d4db", "startTimeUnixNano": "1796073392699492219", "endTimeUnixNano": "1796073392712001652", "durationMs": 12.509433, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fd13d7883ccc07decc85fbda1df0fd1b", "spanId": "0b0575957166d4db", "parentSpanId": "0ae55ac1cf77f06d", "startTimeUnixNano": "1796073392699450421", "endTimeUnixNano": "1796073392712008865", "durationMs": 12.558444, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fd13d7883ccc07decc85fbda1df0fd1b", "spanId": "0ae55ac1cf77f06d", "startTimeUnixNano": "1796073392699417470", "endTimeUnixNano": "1796073392712018002", "durationMs": 12.600532, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9f786c257050b0a42b8ed745ad321ddb", "spanId": "c5a6b1608e9fe575", "parentSpanId": "ee1ae6663f35a551", "startTimeUnixNano": "1796073392906366526", "endTimeUnixNano": "1796073392906775567", "durationMs": 0.409041, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f786c257050b0a42b8ed745ad321ddb", "spanId": "142604f370604d40", "parentSpanId": "a7655e0c43e022d5", "startTimeUnixNano": "1796073392906827233", "endTimeUnixNano": "1796073392907027797", "durationMs": 0.200564, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006713}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f786c257050b0a42b8ed745ad321ddb", "spanId": "1f78ca4df4e779e7", "parentSpanId": "a7655e0c43e022d5", "startTimeUnixNano": "1796073392907118175", "endTimeUnixNano": "1796073392908007118", "durationMs": 0.888943, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015929}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f786c257050b0a42b8ed745ad321ddb", "spanId": "68370b5a670e60cb", "parentSpanId": "a7655e0c43e022d5", "startTimeUnixNano": "1796073392908024120", "endTimeUnixNano": "1796073392908809231", "durationMs": 0.785111, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006182}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f786c257050b0a42b8ed745ad321ddb", "spanId": "a06c8851b99145cc", "parentSpanId": "a7655e0c43e022d5", "startTimeUnixNano": "1796073392911972716", "endTimeUnixNano": "1796073392913041655", "durationMs": 1.068939, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014517}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9f786c257050b0a42b8ed745ad321ddb", "spanId": "a7655e0c43e022d5", "parentSpanId": "ee1ae6663f35a551", "startTimeUnixNano": "1796073392906818527", "endTimeUnixNano": "1796073392913231107", "durationMs": 6.41258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9f786c257050b0a42b8ed745ad321ddb", "spanId": "8cc04dd7d9e4b47c", "parentSpanId": "ee1ae6663f35a551", "startTimeUnixNano": "1796073392913242398", "endTimeUnixNano": "1796073392913843366", "durationMs": 0.600968, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9f786c257050b0a42b8ed745ad321ddb", "spanId": "ee1ae6663f35a551", "parentSpanId": "45f393af274f675e", "startTimeUnixNano": "1796073392905148951", "endTimeUnixNano": "1796073392913863844", "durationMs": 8.714893, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.21497, "db.connection": "reader", "db.lock_wait_ms": 1.191}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9f786c257050b0a42b8ed745ad321ddb", "spanId": "45f393af274f675e", "parentSpanId": "a1bceabfacb56790", "startTimeUnixNano": "1796073392905142329", "endTimeUnixNano": "1796073392913875897", "durationMs": 8.733568, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9f786c257050b0a42b8ed745ad321ddb", "spanId": "a1bceabfacb56790", "parentSpanId": "32c30ff5dcfc3f02", "startTimeUnixNano": "1796073392905117423", "endTimeUnixNano": "1796073392913880305", "durationMs": 8.762882, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9f786c257050b0a42b8ed745ad321ddb", "spanId": "32c30ff5dcfc3f02", "startTimeUnixNano": "1796073392905104849", "endTimeUnixNano": "1796073392913887458", "durationMs": 8.782609, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "357be46760fe2b4b454328542e0e2777", "spanId": "964e96d4950c08b2", "parentSpanId": "0448d5e016e2ccff", "startTimeUnixNano": "1796073394046628595", "endTimeUnixNano": "1796073394046786198", "durationMs": 0.157603, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "357be46760fe2b4b454328542e0e2777", "spanId": "7e93a8ee6f4f0d7c", "parentSpanId": "a6f5d1508d55d524", "startTimeUnixNano": "1796073394046826483", "endTimeUnixNano": "1796073394047410179", "durationMs": 0.583696, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005551}}
{"type": "effect-span", "name": "sqlite", "traceId": "357be46760fe2b4b454328542e0e2777", "spanId": "4606d3efb0672dfa", "parentSpanId": "a6f5d1508d55d524", "startTimeUnixNano": "1796073394047500026", "endTimeUnixNano": "1796073394048378090", "durationMs": 0.878064, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009027}}
{"type": "effect-span", "name": "sqlite", "traceId": "357be46760fe2b4b454328542e0e2777", "spanId": "762a559ed2f04e8a", "parentSpanId": "a6f5d1508d55d524", "startTimeUnixNano": "1796073394048396334", "endTimeUnixNano": "1796073394049490760", "durationMs": 1.094426, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007224}}
{"type": "effect-span", "name": "sqlite", "traceId": "357be46760fe2b4b454328542e0e2777", "spanId": "b73af8de27c319cf", "parentSpanId": "a6f5d1508d55d524", "startTimeUnixNano": "1796073394054549362", "endTimeUnixNano": "1796073394056355893", "durationMs": 1.806531, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010419}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "357be46760fe2b4b454328542e0e2777", "spanId": "a6f5d1508d55d524", "parentSpanId": "0448d5e016e2ccff", "startTimeUnixNano": "1796073394046820122", "endTimeUnixNano": "1796073394056582113", "durationMs": 9.761991, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "357be46760fe2b4b454328542e0e2777", "spanId": "aa5878416df533dc", "parentSpanId": "0448d5e016e2ccff", "startTimeUnixNano": "1796073394056598153", "endTimeUnixNano": "1796073394056898672", "durationMs": 0.300519, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "357be46760fe2b4b454328542e0e2777", "spanId": "0448d5e016e2ccff", "parentSpanId": "989ef4d86d37f63d", "startTimeUnixNano": "1796073394044411019", "endTimeUnixNano": "1796073394056919431", "durationMs": 12.508412, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.212867, "db.connection": "reader", "db.lock_wait_ms": 2.157}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "357be46760fe2b4b454328542e0e2777", "spanId": "989ef4d86d37f63d", "parentSpanId": "26ce38fb31cab48e", "startTimeUnixNano": "1796073394044394639", "endTimeUnixNano": "1796073394056934950", "durationMs": 12.540311, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "357be46760fe2b4b454328542e0e2777", "spanId": "26ce38fb31cab48e", "parentSpanId": "d08575af3a00ef33", "startTimeUnixNano": "1796073394044347571", "endTimeUnixNano": "1796073394056941482", "durationMs": 12.593911, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "357be46760fe2b4b454328542e0e2777", "spanId": "d08575af3a00ef33", "startTimeUnixNano": "1796073394044333104", "endTimeUnixNano": "1796073394056950298", "durationMs": 12.617194, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "450f396b2d8a7ed4c2ccb7830a1de20a", "spanId": "7b86cc6b5f0a0900", "parentSpanId": "78b2acd6bec48875", "startTimeUnixNano": "1796073394238897226", "endTimeUnixNano": "1796073394239102207", "durationMs": 0.204981, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "450f396b2d8a7ed4c2ccb7830a1de20a", "spanId": "6b3b0d22211b2951", "parentSpanId": "c866f839c6c7c149", "startTimeUnixNano": "1796073394239134567", "endTimeUnixNano": "1796073394239215288", "durationMs": 0.080721, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004268}}
{"type": "effect-span", "name": "sqlite", "traceId": "450f396b2d8a7ed4c2ccb7830a1de20a", "spanId": "10c0a3c113118cbe", "parentSpanId": "c866f839c6c7c149", "startTimeUnixNano": "1796073394239273626", "endTimeUnixNano": "1796073394239837445", "durationMs": 0.563819, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007424}}
{"type": "effect-span", "name": "sqlite", "traceId": "450f396b2d8a7ed4c2ccb7830a1de20a", "spanId": "183a7582c17678af", "parentSpanId": "c866f839c6c7c149", "startTimeUnixNano": "1796073394239847574", "endTimeUnixNano": "1796073394240590676", "durationMs": 0.743102, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.00545}}
{"type": "effect-span", "name": "sqlite", "traceId": "450f396b2d8a7ed4c2ccb7830a1de20a", "spanId": "6f682222214538a3", "parentSpanId": "c866f839c6c7c149", "startTimeUnixNano": "1796073394243775953", "endTimeUnixNano": "1796073394244907839", "durationMs": 1.131886, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012553}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "450f396b2d8a7ed4c2ccb7830a1de20a", "spanId": "c866f839c6c7c149", "parentSpanId": "78b2acd6bec48875", "startTimeUnixNano": "1796073394239129478", "endTimeUnixNano": "1796073394245098313", "durationMs": 5.968835, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "450f396b2d8a7ed4c2ccb7830a1de20a", "spanId": "89793c8ab1b9b918", "parentSpanId": "78b2acd6bec48875", "startTimeUnixNano": "1796073394245110546", "endTimeUnixNano": "1796073394245481496", "durationMs": 0.37095, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "450f396b2d8a7ed4c2ccb7830a1de20a", "spanId": "78b2acd6bec48875", "parentSpanId": "9f6087ea811de41b", "startTimeUnixNano": "1796073394237740574", "endTimeUnixNano": "1796073394245504048", "durationMs": 7.763474, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.153727, "db.connection": "reader", "db.lock_wait_ms": 1.129}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "450f396b2d8a7ed4c2ccb7830a1de20a", "spanId": "9f6087ea811de41b", "parentSpanId": "63750bb89194348f", "startTimeUnixNano": "1796073394237733781", "endTimeUnixNano": "1796073394245518865", "durationMs": 7.785084, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "450f396b2d8a7ed4c2ccb7830a1de20a", "spanId": "63750bb89194348f", "parentSpanId": "3a0fc2c2a950b3df", "startTimeUnixNano": "1796073394237697444", "endTimeUnixNano": "1796073394245523795", "durationMs": 7.826351, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "450f396b2d8a7ed4c2ccb7830a1de20a", "spanId": "3a0fc2c2a950b3df", "startTimeUnixNano": "1796073394237683899", "endTimeUnixNano": "1796073394245531339", "durationMs": 7.84744, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ec1778a0ee06915e60d68cc2bb673c51", "spanId": "a814123e5d0a8661", "parentSpanId": "8b00f8ef2af9c111", "startTimeUnixNano": "1796073395452953325", "endTimeUnixNano": "1796073395453090800", "durationMs": 0.137475, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec1778a0ee06915e60d68cc2bb673c51", "spanId": "d3f163d9736dbeef", "parentSpanId": "e87e8599d0c7ad6b", "startTimeUnixNano": "1796073395453128210", "endTimeUnixNano": "1796073395453637718", "durationMs": 0.509508, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00538}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec1778a0ee06915e60d68cc2bb673c51", "spanId": "ba34997e6a293774", "parentSpanId": "e87e8599d0c7ad6b", "startTimeUnixNano": "1796073395453721784", "endTimeUnixNano": "1796073395454594498", "durationMs": 0.872714, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008977}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec1778a0ee06915e60d68cc2bb673c51", "spanId": "b3b93f0b40694121", "parentSpanId": "e87e8599d0c7ad6b", "startTimeUnixNano": "1796073395454612662", "endTimeUnixNano": "1796073395455524258", "durationMs": 0.911596, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007123}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec1778a0ee06915e60d68cc2bb673c51", "spanId": "859e6749cb51b974", "parentSpanId": "e87e8599d0c7ad6b", "startTimeUnixNano": "1796073395461079914", "endTimeUnixNano": "1796073395469703539", "durationMs": 8.623625, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012283}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ec1778a0ee06915e60d68cc2bb673c51", "spanId": "e87e8599d0c7ad6b", "parentSpanId": "8b00f8ef2af9c111", "startTimeUnixNano": "1796073395453122549", "endTimeUnixNano": "1796073395470017573", "durationMs": 16.895024, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ec1778a0ee06915e60d68cc2bb673c51", "spanId": "2f1f44c0a18e6a54", "parentSpanId": "8b00f8ef2af9c111", "startTimeUnixNano": "1796073395470048581", "endTimeUnixNano": "1796073395473477440", "durationMs": 3.428859, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ec1778a0ee06915e60d68cc2bb673c51", "spanId": "8b00f8ef2af9c111", "parentSpanId": "f61a1c8be9311c03", "startTimeUnixNano": "1796073395450765234", "endTimeUnixNano": "1796073395473505202", "durationMs": 22.739968, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.184123, "db.connection": "reader", "db.lock_wait_ms": 2.15}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ec1778a0ee06915e60d68cc2bb673c51", "spanId": "f61a1c8be9311c03", "parentSpanId": "08b934a47402c1d0", "startTimeUnixNano": "1796073395450757439", "endTimeUnixNano": "1796073395473524508", "durationMs": 22.767069, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ec1778a0ee06915e60d68cc2bb673c51", "spanId": "08b934a47402c1d0", "parentSpanId": "8b3b847fa6f70fe9", "startTimeUnixNano": "1796073395450714800", "endTimeUnixNano": "1796073395473529547", "durationMs": 22.814747, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ec1778a0ee06915e60d68cc2bb673c51", "spanId": "8b3b847fa6f70fe9", "startTimeUnixNano": "1796073395450695815", "endTimeUnixNano": "1796073395473536630", "durationMs": 22.840815, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9f5e22684a75ce9711394f0da7ad93be", "spanId": "9ee2a6b09e0ff36c", "parentSpanId": "b9fcc915aa1974af", "startTimeUnixNano": "1796073395678182848", "endTimeUnixNano": "1796073395678506570", "durationMs": 0.323722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f5e22684a75ce9711394f0da7ad93be", "spanId": "fc60cf883ede4b7b", "parentSpanId": "4980351e03b9f27c", "startTimeUnixNano": "1796073395678565339", "endTimeUnixNano": "1796073395678855639", "durationMs": 0.2903, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006653}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f5e22684a75ce9711394f0da7ad93be", "spanId": "af166c45ea3b4465", "parentSpanId": "4980351e03b9f27c", "startTimeUnixNano": "1796073395678952029", "endTimeUnixNano": "1796073395679927884", "durationMs": 0.975855, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011391}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f5e22684a75ce9711394f0da7ad93be", "spanId": "7b82f5130c0839f8", "parentSpanId": "4980351e03b9f27c", "startTimeUnixNano": "1796073395679955937", "endTimeUnixNano": "1796073395680884043", "durationMs": 0.928106, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011441}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f5e22684a75ce9711394f0da7ad93be", "spanId": "b79605e348523eb4", "parentSpanId": "4980351e03b9f27c", "startTimeUnixNano": "1796073395686937185", "endTimeUnixNano": "1796073395689406670", "durationMs": 2.469485, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012944}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9f5e22684a75ce9711394f0da7ad93be", "spanId": "4980351e03b9f27c", "parentSpanId": "b9fcc915aa1974af", "startTimeUnixNano": "1796073395678556894", "endTimeUnixNano": "1796073395689661975", "durationMs": 11.105081, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9f5e22684a75ce9711394f0da7ad93be", "spanId": "5c99842c910aeb87", "parentSpanId": "b9fcc915aa1974af", "startTimeUnixNano": "1796073395689687111", "endTimeUnixNano": "1796073395690369531", "durationMs": 0.68242, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9f5e22684a75ce9711394f0da7ad93be", "spanId": "b9fcc915aa1974af", "parentSpanId": "0328a25da8152df1", "startTimeUnixNano": "1796073395676536324", "endTimeUnixNano": "1796073395690397343", "durationMs": 13.861019, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.641354, "db.connection": "reader", "db.lock_wait_ms": 1.606}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9f5e22684a75ce9711394f0da7ad93be", "spanId": "0328a25da8152df1", "parentSpanId": "5f9cbd8eb6c09e9f", "startTimeUnixNano": "1796073395676523460", "endTimeUnixNano": "1796073395690420827", "durationMs": 13.897367, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9f5e22684a75ce9711394f0da7ad93be", "spanId": "5f9cbd8eb6c09e9f", "parentSpanId": "1d21732688355d80", "startTimeUnixNano": "1796073395676480280", "endTimeUnixNano": "1796073395690430084", "durationMs": 13.949804, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9f5e22684a75ce9711394f0da7ad93be", "spanId": "1d21732688355d80", "startTimeUnixNano": "1796073395676461405", "endTimeUnixNano": "1796073395690454189", "durationMs": 13.992784, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8c1073b7578c3288c7168ce8138491b7", "spanId": "e280f4f103f12b44", "parentSpanId": "3364be873b5bb205", "startTimeUnixNano": "1796073397009448730", "endTimeUnixNano": "1796073397019319776", "durationMs": 9.871046, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8c1073b7578c3288c7168ce8138491b7", "spanId": "505053f61ecc9953", "parentSpanId": "ce095c2e2749edde", "startTimeUnixNano": "1796073397019398171", "endTimeUnixNano": "1796073397022022975", "durationMs": 2.624804, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007284}}
{"type": "effect-span", "name": "sqlite", "traceId": "8c1073b7578c3288c7168ce8138491b7", "spanId": "d9071de3fa27a109", "parentSpanId": "ce095c2e2749edde", "startTimeUnixNano": "1796073397022167304", "endTimeUnixNano": "1796073397022877786", "durationMs": 0.710482, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011461}}
{"type": "effect-span", "name": "sqlite", "traceId": "8c1073b7578c3288c7168ce8138491b7", "spanId": "3bd60187af1e6947", "parentSpanId": "ce095c2e2749edde", "startTimeUnixNano": "1796073397022893886", "endTimeUnixNano": "1796073397025128363", "durationMs": 2.234477, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008125}}
{"type": "effect-span", "name": "sqlite", "traceId": "8c1073b7578c3288c7168ce8138491b7", "spanId": "4c72d730a2ab2f42", "parentSpanId": "ce095c2e2749edde", "startTimeUnixNano": "1796073397028580125", "endTimeUnixNano": "1796073397029935056", "durationMs": 1.354931, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014998}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8c1073b7578c3288c7168ce8138491b7", "spanId": "ce095c2e2749edde", "parentSpanId": "3364be873b5bb205", "startTimeUnixNano": "1796073397019384095", "endTimeUnixNano": "1796073397030116995", "durationMs": 10.7329, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8c1073b7578c3288c7168ce8138491b7", "spanId": "24e762590b866f77", "parentSpanId": "3364be873b5bb205", "startTimeUnixNano": "1796073397030130580", "endTimeUnixNano": "1796073397032348567", "durationMs": 2.217987, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8c1073b7578c3288c7168ce8138491b7", "spanId": "3364be873b5bb205", "parentSpanId": "84038577f500e897", "startTimeUnixNano": "1796073397007557421", "endTimeUnixNano": "1796073397032391326", "durationMs": 24.833905, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.872564, "db.connection": "reader", "db.lock_wait_ms": 1.832}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8c1073b7578c3288c7168ce8138491b7", "spanId": "84038577f500e897", "parentSpanId": "8a71737b81304212", "startTimeUnixNano": "1796073397007548775", "endTimeUnixNano": "1796073397032410332", "durationMs": 24.861557, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8c1073b7578c3288c7168ce8138491b7", "spanId": "8a71737b81304212", "parentSpanId": "50d2766ef894adad", "startTimeUnixNano": "1796073397007503921", "endTimeUnixNano": "1796073397032421002", "durationMs": 24.917081, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8c1073b7578c3288c7168ce8138491b7", "spanId": "50d2766ef894adad", "startTimeUnixNano": "1796073397007479265", "endTimeUnixNano": "1796073397032427784", "durationMs": 24.948519, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e7087fe45c2d29c25519273f0115d77d", "spanId": "59aec0011346f4c2", "parentSpanId": "2972544c38ef7926", "startTimeUnixNano": "1796073397233177098", "endTimeUnixNano": "1796073397233569348", "durationMs": 0.39225, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7087fe45c2d29c25519273f0115d77d", "spanId": "ea52f392eb021ec9", "parentSpanId": "867725516a082564", "startTimeUnixNano": "1796073397233602069", "endTimeUnixNano": "1796073397233824292", "durationMs": 0.222223, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009878}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7087fe45c2d29c25519273f0115d77d", "spanId": "82288946399a7fbd", "parentSpanId": "867725516a082564", "startTimeUnixNano": "1796073397233892840", "endTimeUnixNano": "1796073397236267147", "durationMs": 2.374307, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008275}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7087fe45c2d29c25519273f0115d77d", "spanId": "8972b8bd261651f7", "parentSpanId": "867725516a082564", "startTimeUnixNano": "1796073397236292985", "endTimeUnixNano": "1796073397237638529", "durationMs": 1.345544, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008065}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7087fe45c2d29c25519273f0115d77d", "spanId": "5472ac0af0ae401f", "parentSpanId": "867725516a082564", "startTimeUnixNano": "1796073397241416779", "endTimeUnixNano": "1796073397245069886", "durationMs": 3.653107, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.031709}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e7087fe45c2d29c25519273f0115d77d", "spanId": "867725516a082564", "parentSpanId": "2972544c38ef7926", "startTimeUnixNano": "1796073397233596969", "endTimeUnixNano": "1796073397245506738", "durationMs": 11.909769, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e7087fe45c2d29c25519273f0115d77d", "spanId": "08d3e381cbe86dff", "parentSpanId": "2972544c38ef7926", "startTimeUnixNano": "1796073397245553856", "endTimeUnixNano": "1796073397247461135", "durationMs": 1.907279, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e7087fe45c2d29c25519273f0115d77d", "spanId": "2972544c38ef7926", "parentSpanId": "34e9ca8f7f9c3c7a", "startTimeUnixNano": "1796073397231924467", "endTimeUnixNano": "1796073397247514424", "durationMs": 15.589957, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.249705, "db.connection": "reader", "db.lock_wait_ms": 1.22}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e7087fe45c2d29c25519273f0115d77d", "spanId": "34e9ca8f7f9c3c7a", "parentSpanId": "7f87119b56dffe4c", "startTimeUnixNano": "1796073397231916322", "endTimeUnixNano": "1796073397247544430", "durationMs": 15.628108, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e7087fe45c2d29c25519273f0115d77d", "spanId": "7f87119b56dffe4c", "parentSpanId": "b42e1ef7697388c2", "startTimeUnixNano": "1796073397231883631", "endTimeUnixNano": "1796073397247581218", "durationMs": 15.697587, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e7087fe45c2d29c25519273f0115d77d", "spanId": "b42e1ef7697388c2", "startTimeUnixNano": "1796073397231864706", "endTimeUnixNano": "1796073397247619990", "durationMs": 15.755284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f480a931d8e284e01e2174eb9f5f0f34", "spanId": "f15f6dd82c35295a", "parentSpanId": "318d72f7f39cda06", "startTimeUnixNano": "1796073398553474593", "endTimeUnixNano": "1796073398554210943", "durationMs": 0.73635, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f480a931d8e284e01e2174eb9f5f0f34", "spanId": "e9052e1685385dbd", "parentSpanId": "68980e2d46d82de5", "startTimeUnixNano": "1796073398554254003", "endTimeUnixNano": "1796073398554841786", "durationMs": 0.587783, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004428}}
{"type": "effect-span", "name": "sqlite", "traceId": "f480a931d8e284e01e2174eb9f5f0f34", "spanId": "008480bd3a04fcfe", "parentSpanId": "68980e2d46d82de5", "startTimeUnixNano": "1796073398554910344", "endTimeUnixNano": "1796073398555721052", "durationMs": 0.810708, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008275}}
{"type": "effect-span", "name": "sqlite", "traceId": "f480a931d8e284e01e2174eb9f5f0f34", "spanId": "e64d8c9e4e6e929f", "parentSpanId": "68980e2d46d82de5", "startTimeUnixNano": "1796073398555743204", "endTimeUnixNano": "1796073398556472230", "durationMs": 0.729026, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008295}}
{"type": "effect-span", "name": "sqlite", "traceId": "f480a931d8e284e01e2174eb9f5f0f34", "spanId": "ffcd2efce3909cd9", "parentSpanId": "68980e2d46d82de5", "startTimeUnixNano": "1796073398562029360", "endTimeUnixNano": "1796073398563309121", "durationMs": 1.279761, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013445}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f480a931d8e284e01e2174eb9f5f0f34", "spanId": "68980e2d46d82de5", "parentSpanId": "318d72f7f39cda06", "startTimeUnixNano": "1796073398554244545", "endTimeUnixNano": "1796073398563573733", "durationMs": 9.329188, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f480a931d8e284e01e2174eb9f5f0f34", "spanId": "1e52d6619f608a38", "parentSpanId": "318d72f7f39cda06", "startTimeUnixNano": "1796073398563590945", "endTimeUnixNano": "1796073398565151679", "durationMs": 1.560734, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f480a931d8e284e01e2174eb9f5f0f34", "spanId": "318d72f7f39cda06", "parentSpanId": "8c1b20b740db028c", "startTimeUnixNano": "1796073398552052857", "endTimeUnixNano": "1796073398565175463", "durationMs": 13.122606, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.417127, "db.connection": "reader", "db.lock_wait_ms": 1.377}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f480a931d8e284e01e2174eb9f5f0f34", "spanId": "8c1b20b740db028c", "parentSpanId": "bb1f4a0f3d29aabd", "startTimeUnixNano": "1796073398552038621", "endTimeUnixNano": "1796073398565196182", "durationMs": 13.157561, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f480a931d8e284e01e2174eb9f5f0f34", "spanId": "bb1f4a0f3d29aabd", "parentSpanId": "7eea9adf0c324eea", "startTimeUnixNano": "1796073398551996172", "endTimeUnixNano": "1796073398565202824", "durationMs": 13.206652, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f480a931d8e284e01e2174eb9f5f0f34", "spanId": "7eea9adf0c324eea", "startTimeUnixNano": "1796073398551976214", "endTimeUnixNano": "1796073398565212352", "durationMs": 13.236138, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d33347b379a85c509fdbe7f2f5d011df", "spanId": "43f1d0a7f9a16a09", "parentSpanId": "4035237c93b5f37b", "startTimeUnixNano": "1796073398769546234", "endTimeUnixNano": "1796073398769973919", "durationMs": 0.427685, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d33347b379a85c509fdbe7f2f5d011df", "spanId": "03a9cb51fa73eda0", "parentSpanId": "1e9a138c39a9e8f5", "startTimeUnixNano": "1796073398770038229", "endTimeUnixNano": "1796073398770660637", "durationMs": 0.622408, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00545}}
{"type": "effect-span", "name": "sqlite", "traceId": "d33347b379a85c509fdbe7f2f5d011df", "spanId": "ca9603c45e53fe36", "parentSpanId": "1e9a138c39a9e8f5", "startTimeUnixNano": "1796073398770783936", "endTimeUnixNano": "1796073398771825695", "durationMs": 1.041759, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013105}}
{"type": "effect-span", "name": "sqlite", "traceId": "d33347b379a85c509fdbe7f2f5d011df", "spanId": "60e03144f0ae26b4", "parentSpanId": "1e9a138c39a9e8f5", "startTimeUnixNano": "1796073398771843107", "endTimeUnixNano": "1796073398772881299", "durationMs": 1.038192, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009287}}
{"type": "effect-span", "name": "sqlite", "traceId": "d33347b379a85c509fdbe7f2f5d011df", "spanId": "c6a8402211b1a90a", "parentSpanId": "1e9a138c39a9e8f5", "startTimeUnixNano": "1796073398776036940", "endTimeUnixNano": "1796073398777656063", "durationMs": 1.619123, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010861}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d33347b379a85c509fdbe7f2f5d011df", "spanId": "1e9a138c39a9e8f5", "parentSpanId": "4035237c93b5f37b", "startTimeUnixNano": "1796073398770028331", "endTimeUnixNano": "1796073398777848812", "durationMs": 7.820481, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d33347b379a85c509fdbe7f2f5d011df", "spanId": "d0361f8880accd36", "parentSpanId": "4035237c93b5f37b", "startTimeUnixNano": "1796073398777864230", "endTimeUnixNano": "1796073398778492690", "durationMs": 0.62846, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d33347b379a85c509fdbe7f2f5d011df", "spanId": "4035237c93b5f37b", "parentSpanId": "946f1d626e6cb924", "startTimeUnixNano": "1796073398767702994", "endTimeUnixNano": "1796073398778518077", "durationMs": 10.815083, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.837649, "db.connection": "reader", "db.lock_wait_ms": 1.758}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d33347b379a85c509fdbe7f2f5d011df", "spanId": "946f1d626e6cb924", "parentSpanId": "d22277383c00f5c1", "startTimeUnixNano": "1796073398767692805", "endTimeUnixNano": "1796073398778530831", "durationMs": 10.838026, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d33347b379a85c509fdbe7f2f5d011df", "spanId": "d22277383c00f5c1", "parentSpanId": "25e3947311a5b5df", "startTimeUnixNano": "1796073398767652119", "endTimeUnixNano": "1796073398778535760", "durationMs": 10.883641, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d33347b379a85c509fdbe7f2f5d011df", "spanId": "25e3947311a5b5df", "startTimeUnixNano": "1796073398767634156", "endTimeUnixNano": "1796073398778543715", "durationMs": 10.909559, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "91331ad8f2c4c8e9832de233194a7af2", "spanId": "6d63a8c46cf5506e", "parentSpanId": "c3e133730b5975e7", "startTimeUnixNano": "1796073399943505014", "endTimeUnixNano": "1796073399944101173", "durationMs": 0.596159, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "91331ad8f2c4c8e9832de233194a7af2", "spanId": "85b7dd76848e99f1", "parentSpanId": "c51a5c6c06089fb2", "startTimeUnixNano": "1796073399944138793", "endTimeUnixNano": "1796073399944531123", "durationMs": 0.39233, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004899}}
{"type": "effect-span", "name": "sqlite", "traceId": "91331ad8f2c4c8e9832de233194a7af2", "spanId": "b6f796a6d72dfe13", "parentSpanId": "c51a5c6c06089fb2", "startTimeUnixNano": "1796073399944597166", "endTimeUnixNano": "1796073399945475711", "durationMs": 0.878545, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013445}}
{"type": "effect-span", "name": "sqlite", "traceId": "91331ad8f2c4c8e9832de233194a7af2", "spanId": "9288efd45e67ab9c", "parentSpanId": "c51a5c6c06089fb2", "startTimeUnixNano": "1796073399945489847", "endTimeUnixNano": "1796073399946255962", "durationMs": 0.766115, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005871}}
{"type": "effect-span", "name": "sqlite", "traceId": "91331ad8f2c4c8e9832de233194a7af2", "spanId": "dcc9364678dffc4d", "parentSpanId": "c51a5c6c06089fb2", "startTimeUnixNano": "1796073399949541315", "endTimeUnixNano": "1796073399951761467", "durationMs": 2.220152, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009168}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "91331ad8f2c4c8e9832de233194a7af2", "spanId": "c51a5c6c06089fb2", "parentSpanId": "c3e133730b5975e7", "startTimeUnixNano": "1796073399944132331", "endTimeUnixNano": "1796073399951958473", "durationMs": 7.826142, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "91331ad8f2c4c8e9832de233194a7af2", "spanId": "54602de11fb39eaa", "parentSpanId": "c3e133730b5975e7", "startTimeUnixNano": "1796073399951969263", "endTimeUnixNano": "1796073399952281083", "durationMs": 0.31182, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "91331ad8f2c4c8e9832de233194a7af2", "spanId": "c3e133730b5975e7", "parentSpanId": "e6276488ec8d726f", "startTimeUnixNano": "1796073399942307255", "endTimeUnixNano": "1796073399952300750", "durationMs": 9.993495, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.194222, "db.connection": "reader", "db.lock_wait_ms": 1.164}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "91331ad8f2c4c8e9832de233194a7af2", "spanId": "e6276488ec8d726f", "parentSpanId": "fa219ac80620bb8a", "startTimeUnixNano": "1796073399942299501", "endTimeUnixNano": "1796073399952312071", "durationMs": 10.01257, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "91331ad8f2c4c8e9832de233194a7af2", "spanId": "fa219ac80620bb8a", "parentSpanId": "1aca8b432812dcbb", "startTimeUnixNano": "1796073399942263704", "endTimeUnixNano": "1796073399952321869", "durationMs": 10.058165, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "91331ad8f2c4c8e9832de233194a7af2", "spanId": "1aca8b432812dcbb", "startTimeUnixNano": "1796073399942243907", "endTimeUnixNano": "1796073399952329834", "durationMs": 10.085927, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8da74573b0c41c51704a7a9c6ec6785e", "spanId": "a6a1c17ab2449118", "parentSpanId": "0bce3cf18453dfff", "startTimeUnixNano": "1796073400139550016", "endTimeUnixNano": "1796073400139757412", "durationMs": 0.207396, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8da74573b0c41c51704a7a9c6ec6785e", "spanId": "f4a213dc7a325329", "parentSpanId": "312e3cf8d358943a", "startTimeUnixNano": "1796073400139791526", "endTimeUnixNano": "1796073400139985426", "durationMs": 0.1939, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009026}}
{"type": "effect-span", "name": "sqlite", "traceId": "8da74573b0c41c51704a7a9c6ec6785e", "spanId": "8684f3f47a9566fc", "parentSpanId": "312e3cf8d358943a", "startTimeUnixNano": "1796073400140055968", "endTimeUnixNano": "1796073400141076717", "durationMs": 1.020749, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011581}}
{"type": "effect-span", "name": "sqlite", "traceId": "8da74573b0c41c51704a7a9c6ec6785e", "spanId": "a5f9cb9077a4f01e", "parentSpanId": "312e3cf8d358943a", "startTimeUnixNano": "1796073400141089721", "endTimeUnixNano": "1796073400141876806", "durationMs": 0.787085, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.00545}}
{"type": "effect-span", "name": "sqlite", "traceId": "8da74573b0c41c51704a7a9c6ec6785e", "spanId": "e1dea8d0864f7dfe", "parentSpanId": "312e3cf8d358943a", "startTimeUnixNano": "1796073400145629579", "endTimeUnixNano": "1796073400147116836", "durationMs": 1.487257, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014667}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8da74573b0c41c51704a7a9c6ec6785e", "spanId": "312e3cf8d358943a", "parentSpanId": "0bce3cf18453dfff", "startTimeUnixNano": "1796073400139786646", "endTimeUnixNano": "1796073400147280571", "durationMs": 7.493925, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8da74573b0c41c51704a7a9c6ec6785e", "spanId": "99b4eb184c628654", "parentSpanId": "0bce3cf18453dfff", "startTimeUnixNano": "1796073400147292823", "endTimeUnixNano": "1796073400148605155", "durationMs": 1.312332, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8da74573b0c41c51704a7a9c6ec6785e", "spanId": "0bce3cf18453dfff", "parentSpanId": "14925e9287477a5b", "startTimeUnixNano": "1796073400138266428", "endTimeUnixNano": "1796073400148640020", "durationMs": 10.373592, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.280262, "db.connection": "reader", "db.lock_wait_ms": 1.253}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8da74573b0c41c51704a7a9c6ec6785e", "spanId": "14925e9287477a5b", "parentSpanId": "eb3019e1f71942f5", "startTimeUnixNano": "1796073400138258663", "endTimeUnixNano": "1796073400148654908", "durationMs": 10.396245, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8da74573b0c41c51704a7a9c6ec6785e", "spanId": "eb3019e1f71942f5", "parentSpanId": "0c4e4fecd482c76a", "startTimeUnixNano": "1796073400138222937", "endTimeUnixNano": "1796073400148660649", "durationMs": 10.437712, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8da74573b0c41c51704a7a9c6ec6785e", "spanId": "0c4e4fecd482c76a", "startTimeUnixNano": "1796073400138209161", "endTimeUnixNano": "1796073400148667702", "durationMs": 10.458541, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e11c63e52a71a21bb8adbf1f4f054581", "spanId": "8c68798eb92c029c", "parentSpanId": "e8b79b5341b53521", "startTimeUnixNano": "1796073401355222356", "endTimeUnixNano": "1796073401355350054", "durationMs": 0.127698, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e11c63e52a71a21bb8adbf1f4f054581", "spanId": "6cedfce5f9a103db", "parentSpanId": "7f89e49e9d71025e", "startTimeUnixNano": "1796073401355389647", "endTimeUnixNano": "1796073401355949860", "durationMs": 0.560213, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006162}}
{"type": "effect-span", "name": "sqlite", "traceId": "e11c63e52a71a21bb8adbf1f4f054581", "spanId": "8f670e32716cfbef", "parentSpanId": "7f89e49e9d71025e", "startTimeUnixNano": "1796073401356027224", "endTimeUnixNano": "1796073401356823004", "durationMs": 0.79578, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008996}}
{"type": "effect-span", "name": "sqlite", "traceId": "e11c63e52a71a21bb8adbf1f4f054581", "spanId": "1f0338f164f918d8", "parentSpanId": "7f89e49e9d71025e", "startTimeUnixNano": "1796073401356840727", "endTimeUnixNano": "1796073401357711147", "durationMs": 0.87042, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006513}}
{"type": "effect-span", "name": "sqlite", "traceId": "e11c63e52a71a21bb8adbf1f4f054581", "spanId": "51520cb9806a8e46", "parentSpanId": "7f89e49e9d71025e", "startTimeUnixNano": "1796073401364635522", "endTimeUnixNano": "1796073401366882402", "durationMs": 2.24688, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01124}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e11c63e52a71a21bb8adbf1f4f054581", "spanId": "7f89e49e9d71025e", "parentSpanId": "e8b79b5341b53521", "startTimeUnixNano": "1796073401355383766", "endTimeUnixNano": "1796073401367063159", "durationMs": 11.679393, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e11c63e52a71a21bb8adbf1f4f054581", "spanId": "f3bb992c6e59da7e", "parentSpanId": "e8b79b5341b53521", "startTimeUnixNano": "1796073401367075572", "endTimeUnixNano": "1796073401368492288", "durationMs": 1.416716, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e11c63e52a71a21bb8adbf1f4f054581", "spanId": "e8b79b5341b53521", "parentSpanId": "588c59c157c20ead", "startTimeUnixNano": "1796073401353339152", "endTimeUnixNano": "1796073401368525269", "durationMs": 15.186117, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.879307, "db.connection": "reader", "db.lock_wait_ms": 1.848}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e11c63e52a71a21bb8adbf1f4f054581", "spanId": "588c59c157c20ead", "parentSpanId": "cb1ae26ae9723eed", "startTimeUnixNano": "1796073401353331307", "endTimeUnixNano": "1796073401368544505", "durationMs": 15.213198, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e11c63e52a71a21bb8adbf1f4f054581", "spanId": "cb1ae26ae9723eed", "parentSpanId": "7d7aec74a43d4763", "startTimeUnixNano": "1796073401353290982", "endTimeUnixNano": "1796073401368551719", "durationMs": 15.260737, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e11c63e52a71a21bb8adbf1f4f054581", "spanId": "7d7aec74a43d4763", "startTimeUnixNano": "1796073401353276275", "endTimeUnixNano": "1796073401368561046", "durationMs": 15.284771, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8b1967369f98d62aa404755ecf9670d9", "spanId": "803d186e5ec1c662", "parentSpanId": "aaf67cb5e7a1a38f", "startTimeUnixNano": "1796073401563644930", "endTimeUnixNano": "1796073401564630324", "durationMs": 0.985394, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8b1967369f98d62aa404755ecf9670d9", "spanId": "f72f6da8f3298113", "parentSpanId": "5e56677c792de76c", "startTimeUnixNano": "1796073401564664297", "endTimeUnixNano": "1796073401564921355", "durationMs": 0.257058, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004598}}
{"type": "effect-span", "name": "sqlite", "traceId": "8b1967369f98d62aa404755ecf9670d9", "spanId": "3b0303a109780b97", "parentSpanId": "5e56677c792de76c", "startTimeUnixNano": "1796073401564986937", "endTimeUnixNano": "1796073401566123632", "durationMs": 1.136695, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008376}}
{"type": "effect-span", "name": "sqlite", "traceId": "8b1967369f98d62aa404755ecf9670d9", "spanId": "8fbae7ce4b67839e", "parentSpanId": "5e56677c792de76c", "startTimeUnixNano": "1796073401566137799", "endTimeUnixNano": "1796073401566780835", "durationMs": 0.643036, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.00564}}
{"type": "effect-span", "name": "sqlite", "traceId": "8b1967369f98d62aa404755ecf9670d9", "spanId": "49085122d95cf9b2", "parentSpanId": "5e56677c792de76c", "startTimeUnixNano": "1796073401570359524", "endTimeUnixNano": "1796073401572914829", "durationMs": 2.555305, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015329}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8b1967369f98d62aa404755ecf9670d9", "spanId": "5e56677c792de76c", "parentSpanId": "aaf67cb5e7a1a38f", "startTimeUnixNano": "1796073401564658787", "endTimeUnixNano": "1796073401573055250", "durationMs": 8.396463, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8b1967369f98d62aa404755ecf9670d9", "spanId": "a35c218ad1e1badd", "parentSpanId": "aaf67cb5e7a1a38f", "startTimeUnixNano": "1796073401573071170", "endTimeUnixNano": "1796073401574309244", "durationMs": 1.238074, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8b1967369f98d62aa404755ecf9670d9", "spanId": "aaf67cb5e7a1a38f", "parentSpanId": "b941e4ca8b252654", "startTimeUnixNano": "1796073401562412256", "endTimeUnixNano": "1796073401574332256", "durationMs": 11.92, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.229328, "db.connection": "reader", "db.lock_wait_ms": 1.181}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8b1967369f98d62aa404755ecf9670d9", "spanId": "b941e4ca8b252654", "parentSpanId": "1648d5ed3671a421", "startTimeUnixNano": "1796073401562405213", "endTimeUnixNano": "1796073401574349028", "durationMs": 11.943815, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8b1967369f98d62aa404755ecf9670d9", "spanId": "1648d5ed3671a421", "parentSpanId": "dc7bcd6900718377", "startTimeUnixNano": "1796073401562371981", "endTimeUnixNano": "1796073401574353296", "durationMs": 11.981315, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8b1967369f98d62aa404755ecf9670d9", "spanId": "dc7bcd6900718377", "startTimeUnixNano": "1796073401562360360", "endTimeUnixNano": "1796073401574358085", "durationMs": 11.997725, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8231ee3eef0c4616d810312586afa744", "spanId": "99f7fb3d68162150", "parentSpanId": "dfbc2db773e2f476", "startTimeUnixNano": "1796073402824878256", "endTimeUnixNano": "1796073402825668296", "durationMs": 0.79004, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8231ee3eef0c4616d810312586afa744", "spanId": "8bbee888cd479535", "parentSpanId": "f42c69493bc90aae", "startTimeUnixNano": "1796073402825718830", "endTimeUnixNano": "1796073402826552341", "durationMs": 0.833511, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007063}}
{"type": "effect-span", "name": "sqlite", "traceId": "8231ee3eef0c4616d810312586afa744", "spanId": "04c8708cb0e20f94", "parentSpanId": "f42c69493bc90aae", "startTimeUnixNano": "1796073402826655333", "endTimeUnixNano": "1796073402827677144", "durationMs": 1.021811, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012884}}
{"type": "effect-span", "name": "sqlite", "traceId": "8231ee3eef0c4616d810312586afa744", "spanId": "943c80f6f704b4a6", "parentSpanId": "f42c69493bc90aae", "startTimeUnixNano": "1796073402827694957", "endTimeUnixNano": "1796073402828671965", "durationMs": 0.977008, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011411}}
{"type": "effect-span", "name": "sqlite", "traceId": "8231ee3eef0c4616d810312586afa744", "spanId": "4f3bdc24e9dd1284", "parentSpanId": "f42c69493bc90aae", "startTimeUnixNano": "1796073402834154277", "endTimeUnixNano": "1796073402837762391", "durationMs": 3.608114, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013735}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8231ee3eef0c4616d810312586afa744", "spanId": "f42c69493bc90aae", "parentSpanId": "dfbc2db773e2f476", "startTimeUnixNano": "1796073402825710124", "endTimeUnixNano": "1796073402838025470", "durationMs": 12.315346, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8231ee3eef0c4616d810312586afa744", "spanId": "2f489898566a90cf", "parentSpanId": "dfbc2db773e2f476", "startTimeUnixNano": "1796073402838043784", "endTimeUnixNano": "1796073402838722868", "durationMs": 0.679084, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8231ee3eef0c4616d810312586afa744", "spanId": "dfbc2db773e2f476", "parentSpanId": "f45e90a031326895", "startTimeUnixNano": "1796073402823221824", "endTimeUnixNano": "1796073402838764876", "durationMs": 15.543052, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.65015, "db.connection": "reader", "db.lock_wait_ms": 1.612}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8231ee3eef0c4616d810312586afa744", "spanId": "f45e90a031326895", "parentSpanId": "e178bdbdaae083df", "startTimeUnixNano": "1796073402823212216", "endTimeUnixNano": "1796073402838782088", "durationMs": 15.569872, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8231ee3eef0c4616d810312586afa744", "spanId": "e178bdbdaae083df", "parentSpanId": "de4762937fc6571c", "startTimeUnixNano": "1796073402823166140", "endTimeUnixNano": "1796073402838788250", "durationMs": 15.62211, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8231ee3eef0c4616d810312586afa744", "spanId": "de4762937fc6571c", "startTimeUnixNano": "1796073402823149309", "endTimeUnixNano": "1796073402838799240", "durationMs": 15.649931, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2972f5f0372c64559692cb0df9625933", "spanId": "feed5e3d9677ffc9", "parentSpanId": "21bc765147a1695f", "startTimeUnixNano": "1796073403032152633", "endTimeUnixNano": "1796073403032311239", "durationMs": 0.158606, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2972f5f0372c64559692cb0df9625933", "spanId": "23dca03788aae2bb", "parentSpanId": "753fad89750d668c", "startTimeUnixNano": "1796073403032347727", "endTimeUnixNano": "1796073403032570581", "durationMs": 0.222854, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005931}}
{"type": "effect-span", "name": "sqlite", "traceId": "2972f5f0372c64559692cb0df9625933", "spanId": "b5b8174f5509fa65", "parentSpanId": "753fad89750d668c", "startTimeUnixNano": "1796073403032646442", "endTimeUnixNano": "1796073403033626205", "durationMs": 0.979763, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009909}}
{"type": "effect-span", "name": "sqlite", "traceId": "2972f5f0372c64559692cb0df9625933", "spanId": "c6b801c663ea00c3", "parentSpanId": "753fad89750d668c", "startTimeUnixNano": "1796073403033645511", "endTimeUnixNano": "1796073403037399807", "durationMs": 3.754296, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008907}}
{"type": "effect-span", "name": "sqlite", "traceId": "2972f5f0372c64559692cb0df9625933", "spanId": "c8a12aad9bab4316", "parentSpanId": "753fad89750d668c", "startTimeUnixNano": "1796073403040661717", "endTimeUnixNano": "1796073403042159404", "durationMs": 1.497687, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015048}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2972f5f0372c64559692cb0df9625933", "spanId": "753fad89750d668c", "parentSpanId": "21bc765147a1695f", "startTimeUnixNano": "1796073403032341445", "endTimeUnixNano": "1796073403042335372", "durationMs": 9.993927, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2972f5f0372c64559692cb0df9625933", "spanId": "2b2d084ecf3fb5c5", "parentSpanId": "21bc765147a1695f", "startTimeUnixNano": "1796073403042349598", "endTimeUnixNano": "1796073403042628016", "durationMs": 0.278418, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2972f5f0372c64559692cb0df9625933", "spanId": "21bc765147a1695f", "parentSpanId": "330a567f29eba32f", "startTimeUnixNano": "1796073403030729625", "endTimeUnixNano": "1796073403042651079", "durationMs": 11.921454, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.419422, "db.connection": "reader", "db.lock_wait_ms": 1.392}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2972f5f0372c64559692cb0df9625933", "spanId": "330a567f29eba32f", "parentSpanId": "406645c48a44f67b", "startTimeUnixNano": "1796073403030721370", "endTimeUnixNano": "1796073403042667149", "durationMs": 11.945779, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2972f5f0372c64559692cb0df9625933", "spanId": "406645c48a44f67b", "parentSpanId": "25de7a5246ca7674", "startTimeUnixNano": "1796073403030684511", "endTimeUnixNano": "1796073403042672279", "durationMs": 11.987768, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2972f5f0372c64559692cb0df9625933", "spanId": "25de7a5246ca7674", "startTimeUnixNano": "1796073403030669013", "endTimeUnixNano": "1796073403042679943", "durationMs": 12.01093, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "18cef5d007db0d252cb33385103047f7", "spanId": "d01710151d8384e5", "parentSpanId": "7b91e1cbbec83de1", "startTimeUnixNano": "1796073404258507034", "endTimeUnixNano": "1796073404259155450", "durationMs": 0.648416, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "18cef5d007db0d252cb33385103047f7", "spanId": "7a05cae075639d0e", "parentSpanId": "4290c5e94d6168fc", "startTimeUnixNano": "1796073404259193221", "endTimeUnixNano": "1796073404259819276", "durationMs": 0.626055, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004398}}
{"type": "effect-span", "name": "sqlite", "traceId": "18cef5d007db0d252cb33385103047f7", "spanId": "db77b1407272893f", "parentSpanId": "4290c5e94d6168fc", "startTimeUnixNano": "1796073404259889346", "endTimeUnixNano": "1796073404260668466", "durationMs": 0.77912, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011311}}
{"type": "effect-span", "name": "sqlite", "traceId": "18cef5d007db0d252cb33385103047f7", "spanId": "c6db292de5c459df", "parentSpanId": "4290c5e94d6168fc", "startTimeUnixNano": "1796073404260680438", "endTimeUnixNano": "1796073404261423611", "durationMs": 0.743173, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008336}}
{"type": "effect-span", "name": "sqlite", "traceId": "18cef5d007db0d252cb33385103047f7", "spanId": "edcf2a32411f0c97", "parentSpanId": "4290c5e94d6168fc", "startTimeUnixNano": "1796073404264696913", "endTimeUnixNano": "1796073404267007272", "durationMs": 2.310359, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008816}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "18cef5d007db0d252cb33385103047f7", "spanId": "4290c5e94d6168fc", "parentSpanId": "7b91e1cbbec83de1", "startTimeUnixNano": "1796073404259187480", "endTimeUnixNano": "1796073404267190362", "durationMs": 8.002882, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "18cef5d007db0d252cb33385103047f7", "spanId": "e742a9c64116e2f3", "parentSpanId": "7b91e1cbbec83de1", "startTimeUnixNano": "1796073404267200762", "endTimeUnixNano": "1796073404267569528", "durationMs": 0.368766, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "18cef5d007db0d252cb33385103047f7", "spanId": "7b91e1cbbec83de1", "parentSpanId": "429ec107cbbd86aa", "startTimeUnixNano": "1796073404257223776", "endTimeUnixNano": "1796073404267589155", "durationMs": 10.365379, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.27887, "db.connection": "reader", "db.lock_wait_ms": 1.248}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "18cef5d007db0d252cb33385103047f7", "spanId": "429ec107cbbd86aa", "parentSpanId": "cb52fc7070c0b7ea", "startTimeUnixNano": "1796073404257215971", "endTimeUnixNano": "1796073404267601968", "durationMs": 10.385997, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "18cef5d007db0d252cb33385103047f7", "spanId": "cb52fc7070c0b7ea", "parentSpanId": "3a8d74223bbf324b", "startTimeUnixNano": "1796073404257177470", "endTimeUnixNano": "1796073404267607238", "durationMs": 10.429768, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "18cef5d007db0d252cb33385103047f7", "spanId": "3a8d74223bbf324b", "startTimeUnixNano": "1796073404257161069", "endTimeUnixNano": "1796073404267614121", "durationMs": 10.453052, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "79a694489e90cec2f1e90dfe4fdaa406", "spanId": "ecee2c193e2a6bd3", "parentSpanId": "5103156852907090", "startTimeUnixNano": "1796073404455585834", "endTimeUnixNano": "1796073404455829998", "durationMs": 0.244164, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "79a694489e90cec2f1e90dfe4fdaa406", "spanId": "03037c56ef7259c4", "parentSpanId": "886f3319314b7eb2", "startTimeUnixNano": "1796073404455862599", "endTimeUnixNano": "1796073404455986199", "durationMs": 0.1236, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004438}}
{"type": "effect-span", "name": "sqlite", "traceId": "79a694489e90cec2f1e90dfe4fdaa406", "spanId": "e8c3ee3fff8e444d", "parentSpanId": "886f3319314b7eb2", "startTimeUnixNano": "1796073404456044698", "endTimeUnixNano": "1796073404457011267", "durationMs": 0.966569, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007334}}
{"type": "effect-span", "name": "sqlite", "traceId": "79a694489e90cec2f1e90dfe4fdaa406", "spanId": "781914f5bb238bae", "parentSpanId": "886f3319314b7eb2", "startTimeUnixNano": "1796073404457026856", "endTimeUnixNano": "1796073404457881536", "durationMs": 0.85468, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007313}}
{"type": "effect-span", "name": "sqlite", "traceId": "79a694489e90cec2f1e90dfe4fdaa406", "spanId": "c2b3555fcb0af83c", "parentSpanId": "886f3319314b7eb2", "startTimeUnixNano": "1796073404461011901", "endTimeUnixNano": "1796073404462093384", "durationMs": 1.081483, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01071}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "79a694489e90cec2f1e90dfe4fdaa406", "spanId": "886f3319314b7eb2", "parentSpanId": "5103156852907090", "startTimeUnixNano": "1796073404455857520", "endTimeUnixNano": "1796073404462257299", "durationMs": 6.399779, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "79a694489e90cec2f1e90dfe4fdaa406", "spanId": "492d5773a4eee0dc", "parentSpanId": "5103156852907090", "startTimeUnixNano": "1796073404462267608", "endTimeUnixNano": "1796073404462741330", "durationMs": 0.473722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "79a694489e90cec2f1e90dfe4fdaa406", "spanId": "5103156852907090", "parentSpanId": "b8efe823b62e890b", "startTimeUnixNano": "1796073404454456252", "endTimeUnixNano": "1796073404462759403", "durationMs": 8.303151, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.126887, "db.connection": "reader", "db.lock_wait_ms": 1.101}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "79a694489e90cec2f1e90dfe4fdaa406", "spanId": "b8efe823b62e890b", "parentSpanId": "839a6035fd40a053", "startTimeUnixNano": "1796073404454448518", "endTimeUnixNano": "1796073404462771716", "durationMs": 8.323198, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "79a694489e90cec2f1e90dfe4fdaa406", "spanId": "839a6035fd40a053", "parentSpanId": "c60089bf7c540a25", "startTimeUnixNano": "1796073404454408323", "endTimeUnixNano": "1796073404462776515", "durationMs": 8.368192, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "79a694489e90cec2f1e90dfe4fdaa406", "spanId": "c60089bf7c540a25", "startTimeUnixNano": "1796073404454395599", "endTimeUnixNano": "1796073404462782857", "durationMs": 8.387258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "04fd4f02cd4a6adb59d40badc7bb3572", "spanId": "70b07fd1578ea63a", "parentSpanId": "6432f4b8d561691d", "startTimeUnixNano": "1796073405641462896", "endTimeUnixNano": "1796073405642114078", "durationMs": 0.651182, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "04fd4f02cd4a6adb59d40badc7bb3572", "spanId": "ab6ec41444094def", "parentSpanId": "a9fc450f5f5c7047", "startTimeUnixNano": "1796073405642156126", "endTimeUnixNano": "1796073405642811065", "durationMs": 0.654939, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004208}}
{"type": "effect-span", "name": "sqlite", "traceId": "04fd4f02cd4a6adb59d40badc7bb3572", "spanId": "d89a66fb6ae0c037", "parentSpanId": "a9fc450f5f5c7047", "startTimeUnixNano": "1796073405642876116", "endTimeUnixNano": "1796073405643651479", "durationMs": 0.775363, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008526}}
{"type": "effect-span", "name": "sqlite", "traceId": "04fd4f02cd4a6adb59d40badc7bb3572", "spanId": "c85b56c4d95451e1", "parentSpanId": "a9fc450f5f5c7047", "startTimeUnixNano": "1796073405643665535", "endTimeUnixNano": "1796073405644495940", "durationMs": 0.830405, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007674}}
{"type": "effect-span", "name": "sqlite", "traceId": "04fd4f02cd4a6adb59d40badc7bb3572", "spanId": "3e4fe657f9a53647", "parentSpanId": "a9fc450f5f5c7047", "startTimeUnixNano": "1796073405649883586", "endTimeUnixNano": "1796073405652336501", "durationMs": 2.452915, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017883}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "04fd4f02cd4a6adb59d40badc7bb3572", "spanId": "a9fc450f5f5c7047", "parentSpanId": "6432f4b8d561691d", "startTimeUnixNano": "1796073405642150566", "endTimeUnixNano": "1796073405652621131", "durationMs": 10.470565, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "04fd4f02cd4a6adb59d40badc7bb3572", "spanId": "bcae988a6f244b3f", "parentSpanId": "6432f4b8d561691d", "startTimeUnixNano": "1796073405652647810", "endTimeUnixNano": "1796073405653195429", "durationMs": 0.547619, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "04fd4f02cd4a6adb59d40badc7bb3572", "spanId": "6432f4b8d561691d", "parentSpanId": "f57bcc6d3de88781", "startTimeUnixNano": "1796073405640041411", "endTimeUnixNano": "1796073405653218622", "durationMs": 13.177211, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.417317, "db.connection": "reader", "db.lock_wait_ms": 1.383}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "04fd4f02cd4a6adb59d40badc7bb3572", "spanId": "f57bcc6d3de88781", "parentSpanId": "52f96bb5165cba25", "startTimeUnixNano": "1796073405640032704", "endTimeUnixNano": "1796073405653233781", "durationMs": 13.201077, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "04fd4f02cd4a6adb59d40badc7bb3572", "spanId": "52f96bb5165cba25", "parentSpanId": "4f8ec5b4d20cdd0d", "startTimeUnixNano": "1796073405639995024", "endTimeUnixNano": "1796073405653239201", "durationMs": 13.244177, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "04fd4f02cd4a6adb59d40badc7bb3572", "spanId": "4f8ec5b4d20cdd0d", "startTimeUnixNano": "1796073405639979656", "endTimeUnixNano": "1796073405653247146", "durationMs": 13.26749, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0f3ff6e596444dea4a83fe83d7589ac2", "spanId": "dd2341fd955a89c6", "parentSpanId": "eb4270fba98722c7", "startTimeUnixNano": "1796073405875690645", "endTimeUnixNano": "1796073405876067226", "durationMs": 0.376581, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0f3ff6e596444dea4a83fe83d7589ac2", "spanId": "bb6024a66a3ff53e", "parentSpanId": "dd96ed8aebf31440", "startTimeUnixNano": "1796073405876100708", "endTimeUnixNano": "1796073405876214891", "durationMs": 0.114183, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004198}}
{"type": "effect-span", "name": "sqlite", "traceId": "0f3ff6e596444dea4a83fe83d7589ac2", "spanId": "bc8840ce7db4ec37", "parentSpanId": "dd96ed8aebf31440", "startTimeUnixNano": "1796073405876288879", "endTimeUnixNano": "1796073405877808657", "durationMs": 1.519778, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012914}}
{"type": "effect-span", "name": "sqlite", "traceId": "0f3ff6e596444dea4a83fe83d7589ac2", "spanId": "fea475652c8484eb", "parentSpanId": "dd96ed8aebf31440", "startTimeUnixNano": "1796073405877820970", "endTimeUnixNano": "1796073405878748195", "durationMs": 0.927225, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008145}}
{"type": "effect-span", "name": "sqlite", "traceId": "0f3ff6e596444dea4a83fe83d7589ac2", "spanId": "0241d285a09be4d1", "parentSpanId": "dd96ed8aebf31440", "startTimeUnixNano": "1796073405882649706", "endTimeUnixNano": "1796073405884176417", "durationMs": 1.526711, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022942}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0f3ff6e596444dea4a83fe83d7589ac2", "spanId": "dd96ed8aebf31440", "parentSpanId": "eb4270fba98722c7", "startTimeUnixNano": "1796073405876095228", "endTimeUnixNano": "1796073405884383001", "durationMs": 8.287773, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0f3ff6e596444dea4a83fe83d7589ac2", "spanId": "12f2ccc1a9950ed3", "parentSpanId": "eb4270fba98722c7", "startTimeUnixNano": "1796073405884396597", "endTimeUnixNano": "1796073405885384605", "durationMs": 0.988008, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0f3ff6e596444dea4a83fe83d7589ac2", "spanId": "eb4270fba98722c7", "parentSpanId": "405585caa596665a", "startTimeUnixNano": "1796073405873785610", "endTimeUnixNano": "1796073405885417196", "durationMs": 11.631586, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.901168, "db.connection": "reader", "db.lock_wait_ms": 1.868}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0f3ff6e596444dea4a83fe83d7589ac2", "spanId": "405585caa596665a", "parentSpanId": "4ee77a8333466ae3", "startTimeUnixNano": "1796073405873776253", "endTimeUnixNano": "1796073405885461518", "durationMs": 11.685265, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0f3ff6e596444dea4a83fe83d7589ac2", "spanId": "4ee77a8333466ae3", "parentSpanId": "136eaa288df5d87e", "startTimeUnixNano": "1796073405873739054", "endTimeUnixNano": "1796073405885469112", "durationMs": 11.730058, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0f3ff6e596444dea4a83fe83d7589ac2", "spanId": "136eaa288df5d87e", "startTimeUnixNano": "1796073405873721381", "endTimeUnixNano": "1796073405885478730", "durationMs": 11.757349, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5524837c405a8eeb566ff42a36927241", "spanId": "6dc3cb7fb436c3ac", "parentSpanId": "0fcf8cb3ce39b49f", "startTimeUnixNano": "1796073407148138524", "endTimeUnixNano": "1796073407148777373", "durationMs": 0.638849, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5524837c405a8eeb566ff42a36927241", "spanId": "83858365b480f47b", "parentSpanId": "778687bb8c721d6e", "startTimeUnixNano": "1796073407148813250", "endTimeUnixNano": "1796073407149443192", "durationMs": 0.629942, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004758}}
{"type": "effect-span", "name": "sqlite", "traceId": "5524837c405a8eeb566ff42a36927241", "spanId": "f7820bf825f06f38", "parentSpanId": "778687bb8c721d6e", "startTimeUnixNano": "1796073407149517350", "endTimeUnixNano": "1796073407151626866", "durationMs": 2.109516, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008546}}
{"type": "effect-span", "name": "sqlite", "traceId": "5524837c405a8eeb566ff42a36927241", "spanId": "f01a383c64ed6a71", "parentSpanId": "778687bb8c721d6e", "startTimeUnixNano": "1796073407151664185", "endTimeUnixNano": "1796073407159642192", "durationMs": 7.978007, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.022602}}
{"type": "effect-span", "name": "sqlite", "traceId": "5524837c405a8eeb566ff42a36927241", "spanId": "4b7b93e8f447c122", "parentSpanId": "778687bb8c721d6e", "startTimeUnixNano": "1796073407164269604", "endTimeUnixNano": "1796073407165691971", "durationMs": 1.422367, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018775}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5524837c405a8eeb566ff42a36927241", "spanId": "778687bb8c721d6e", "parentSpanId": "0fcf8cb3ce39b49f", "startTimeUnixNano": "1796073407148807830", "endTimeUnixNano": "1796073407165906540", "durationMs": 17.09871, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5524837c405a8eeb566ff42a36927241", "spanId": "bfd44434253ad260", "parentSpanId": "0fcf8cb3ce39b49f", "startTimeUnixNano": "1796073407165925465", "endTimeUnixNano": "1796073407166179899", "durationMs": 0.254434, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5524837c405a8eeb566ff42a36927241", "spanId": "0fcf8cb3ce39b49f", "parentSpanId": "e45f826a11e8d95a", "startTimeUnixNano": "1796073407146925436", "endTimeUnixNano": "1796073407166210045", "durationMs": 19.284609, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.209581, "db.connection": "reader", "db.lock_wait_ms": 1.178}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5524837c405a8eeb566ff42a36927241", "spanId": "e45f826a11e8d95a", "parentSpanId": "991f856d2e242564", "startTimeUnixNano": "1796073407146917632", "endTimeUnixNano": "1796073407166230503", "durationMs": 19.312871, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5524837c405a8eeb566ff42a36927241", "spanId": "991f856d2e242564", "parentSpanId": "7484391e8a81218a", "startTimeUnixNano": "1796073407146879611", "endTimeUnixNano": "1796073407166235082", "durationMs": 19.355471, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5524837c405a8eeb566ff42a36927241", "spanId": "7484391e8a81218a", "startTimeUnixNano": "1796073407146862680", "endTimeUnixNano": "1796073407166242355", "durationMs": 19.379675, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4174a3076bb44a67f68f0498937953ce", "spanId": "742aa65a87c013b2", "parentSpanId": "01809b8fee8b07b3", "startTimeUnixNano": "1796073407348621563", "endTimeUnixNano": "1796073407349347574", "durationMs": 0.726011, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4174a3076bb44a67f68f0498937953ce", "spanId": "70fbb33f49a4d986", "parentSpanId": "90c60fd66223282b", "startTimeUnixNano": "1796073407349383240", "endTimeUnixNano": "1796073407349752157", "durationMs": 0.368917, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004529}}
{"type": "effect-span", "name": "sqlite", "traceId": "4174a3076bb44a67f68f0498937953ce", "spanId": "c971fa7fba0a6736", "parentSpanId": "90c60fd66223282b", "startTimeUnixNano": "1796073407349816476", "endTimeUnixNano": "1796073407350553298", "durationMs": 0.736822, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008076}}
{"type": "effect-span", "name": "sqlite", "traceId": "4174a3076bb44a67f68f0498937953ce", "spanId": "c92101bf8eaf52e6", "parentSpanId": "90c60fd66223282b", "startTimeUnixNano": "1796073407350571732", "endTimeUnixNano": "1796073407352046757", "durationMs": 1.475025, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006923}}
{"type": "effect-span", "name": "sqlite", "traceId": "4174a3076bb44a67f68f0498937953ce", "spanId": "87facca180c243ae", "parentSpanId": "90c60fd66223282b", "startTimeUnixNano": "1796073407355531141", "endTimeUnixNano": "1796073407357594341", "durationMs": 2.0632, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012644}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4174a3076bb44a67f68f0498937953ce", "spanId": "90c60fd66223282b", "parentSpanId": "01809b8fee8b07b3", "startTimeUnixNano": "1796073407349377960", "endTimeUnixNano": "1796073407357760691", "durationMs": 8.382731, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4174a3076bb44a67f68f0498937953ce", "spanId": "dbf57b3baab684c7", "parentSpanId": "01809b8fee8b07b3", "startTimeUnixNano": "1796073407357785787", "endTimeUnixNano": "1796073407357970561", "durationMs": 0.184774, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4174a3076bb44a67f68f0498937953ce", "spanId": "01809b8fee8b07b3", "parentSpanId": "007064b4383f2c6c", "startTimeUnixNano": "1796073407347352080", "endTimeUnixNano": "1796073407357989116", "durationMs": 10.637036, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.266046, "db.connection": "reader", "db.lock_wait_ms": 1.238}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4174a3076bb44a67f68f0498937953ce", "spanId": "007064b4383f2c6c", "parentSpanId": "2686e2524c1abd6d", "startTimeUnixNano": "1796073407347345568", "endTimeUnixNano": "1796073407358001338", "durationMs": 10.65577, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4174a3076bb44a67f68f0498937953ce", "spanId": "2686e2524c1abd6d", "parentSpanId": "0d6b5d2a9f04a17e", "startTimeUnixNano": "1796073407347318919", "endTimeUnixNano": "1796073407358005827", "durationMs": 10.686908, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4174a3076bb44a67f68f0498937953ce", "spanId": "0d6b5d2a9f04a17e", "startTimeUnixNano": "1796073407347306866", "endTimeUnixNano": "1796073407358011157", "durationMs": 10.704291, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e6485e65b0db72256229d70fb2c2de02", "spanId": "fe34b8360fde0f83", "parentSpanId": "e3156323918a8306", "startTimeUnixNano": "1796073408517979120", "endTimeUnixNano": "1796073408518105495", "durationMs": 0.126375, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e6485e65b0db72256229d70fb2c2de02", "spanId": "6b8caa043aaa41c7", "parentSpanId": "2722edd78c4ceaf9", "startTimeUnixNano": "1796073408518141262", "endTimeUnixNano": "1796073408518742651", "durationMs": 0.601389, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005139}}
{"type": "effect-span", "name": "sqlite", "traceId": "e6485e65b0db72256229d70fb2c2de02", "spanId": "7d2a5efd5f554698", "parentSpanId": "2722edd78c4ceaf9", "startTimeUnixNano": "1796073408518816769", "endTimeUnixNano": "1796073408519951150", "durationMs": 1.134381, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008105}}
{"type": "effect-span", "name": "sqlite", "traceId": "e6485e65b0db72256229d70fb2c2de02", "spanId": "4c6c3f5063f9a957", "parentSpanId": "2722edd78c4ceaf9", "startTimeUnixNano": "1796073408519968222", "endTimeUnixNano": "1796073408520697940", "durationMs": 0.729718, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007053}}
{"type": "effect-span", "name": "sqlite", "traceId": "e6485e65b0db72256229d70fb2c2de02", "spanId": "9e646ae9c247575a", "parentSpanId": "2722edd78c4ceaf9", "startTimeUnixNano": "1796073408525979899", "endTimeUnixNano": "1796073408527620803", "durationMs": 1.640904, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.007925}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e6485e65b0db72256229d70fb2c2de02", "spanId": "2722edd78c4ceaf9", "parentSpanId": "e3156323918a8306", "startTimeUnixNano": "1796073408518135992", "endTimeUnixNano": "1796073408527815095", "durationMs": 9.679103, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e6485e65b0db72256229d70fb2c2de02", "spanId": "9a5035be67095cd4", "parentSpanId": "e3156323918a8306", "startTimeUnixNano": "1796073408527829121", "endTimeUnixNano": "1796073408528105896", "durationMs": 0.276775, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e6485e65b0db72256229d70fb2c2de02", "spanId": "e3156323918a8306", "parentSpanId": "3fd9a486d49664a6", "startTimeUnixNano": "1796073408516080507", "endTimeUnixNano": "1796073408528123889", "durationMs": 12.043382, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.895026, "db.connection": "reader", "db.lock_wait_ms": 1.862}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e6485e65b0db72256229d70fb2c2de02", "spanId": "3fd9a486d49664a6", "parentSpanId": "55cd0c28a6310e7a", "startTimeUnixNano": "1796073408516072682", "endTimeUnixNano": "1796073408528138396", "durationMs": 12.065714, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e6485e65b0db72256229d70fb2c2de02", "spanId": "55cd0c28a6310e7a", "parentSpanId": "b479ce54500d07cf", "startTimeUnixNano": "1796073408516034240", "endTimeUnixNano": "1796073408528145540", "durationMs": 12.1113, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e6485e65b0db72256229d70fb2c2de02", "spanId": "b479ce54500d07cf", "startTimeUnixNano": "1796073408516017780", "endTimeUnixNano": "1796073408528153244", "durationMs": 12.135464, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "124c7d5ef8ee938e45dd854230dc98c7", "spanId": "39b3fbc7f8d86ded", "parentSpanId": "1be5b4702e94ccaa", "startTimeUnixNano": "1796073408719017379", "endTimeUnixNano": "1796073408719360207", "durationMs": 0.342828, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "124c7d5ef8ee938e45dd854230dc98c7", "spanId": "e9670255f6a39f98", "parentSpanId": "332ffdefb66bcfe7", "startTimeUnixNano": "1796073408719408517", "endTimeUnixNano": "1796073408719670124", "durationMs": 0.261607, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00498}}
{"type": "effect-span", "name": "sqlite", "traceId": "124c7d5ef8ee938e45dd854230dc98c7", "spanId": "77c481630a89e9d8", "parentSpanId": "332ffdefb66bcfe7", "startTimeUnixNano": "1796073408719739463", "endTimeUnixNano": "1796073408720644407", "durationMs": 0.904944, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007965}}
{"type": "effect-span", "name": "sqlite", "traceId": "124c7d5ef8ee938e45dd854230dc98c7", "spanId": "d5cbddc9af385ab3", "parentSpanId": "332ffdefb66bcfe7", "startTimeUnixNano": "1796073408720658073", "endTimeUnixNano": "1796073408721523664", "durationMs": 0.865591, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006191}}
{"type": "effect-span", "name": "sqlite", "traceId": "124c7d5ef8ee938e45dd854230dc98c7", "spanId": "f2bf8b3c8403e582", "parentSpanId": "332ffdefb66bcfe7", "startTimeUnixNano": "1796073408727104660", "endTimeUnixNano": "1796073408729333067", "durationMs": 2.228407, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009438}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "124c7d5ef8ee938e45dd854230dc98c7", "spanId": "332ffdefb66bcfe7", "parentSpanId": "1be5b4702e94ccaa", "startTimeUnixNano": "1796073408719401985", "endTimeUnixNano": "1796073408729517150", "durationMs": 10.115165, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "124c7d5ef8ee938e45dd854230dc98c7", "spanId": "045eee45a9c42ab3", "parentSpanId": "1be5b4702e94ccaa", "startTimeUnixNano": "1796073408729531727", "endTimeUnixNano": "1796073408730073676", "durationMs": 0.541949, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "124c7d5ef8ee938e45dd854230dc98c7", "spanId": "1be5b4702e94ccaa", "parentSpanId": "4cb4c33fa0761c39", "startTimeUnixNano": "1796073408717692724", "endTimeUnixNano": "1796073408730091359", "durationMs": 12.398635, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.320377, "db.connection": "reader", "db.lock_wait_ms": 1.29}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "124c7d5ef8ee938e45dd854230dc98c7", "spanId": "4cb4c33fa0761c39", "parentSpanId": "ceddd23b108f66e5", "startTimeUnixNano": "1796073408717685411", "endTimeUnixNano": "1796073408730106016", "durationMs": 12.420605, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "124c7d5ef8ee938e45dd854230dc98c7", "spanId": "ceddd23b108f66e5", "parentSpanId": "2fe5845a4e6786bc", "startTimeUnixNano": "1796073408717650546", "endTimeUnixNano": "1796073408730112207", "durationMs": 12.461661, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "124c7d5ef8ee938e45dd854230dc98c7", "spanId": "2fe5845a4e6786bc", "startTimeUnixNano": "1796073408717633995", "endTimeUnixNano": "1796073408730119561", "durationMs": 12.485566, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bca2cc4dc2eece37830f291d64ee6cc6", "spanId": "fb652895ee0c7e2f", "parentSpanId": "a5fbeffd1875bce6", "startTimeUnixNano": "1796073409950161157", "endTimeUnixNano": "1796073409950299204", "durationMs": 0.138047, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bca2cc4dc2eece37830f291d64ee6cc6", "spanId": "698c1ec34e834688", "parentSpanId": "3336257eff7b4bbc", "startTimeUnixNano": "1796073409950342134", "endTimeUnixNano": "1796073409950935609", "durationMs": 0.593475, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00553}}
{"type": "effect-span", "name": "sqlite", "traceId": "bca2cc4dc2eece37830f291d64ee6cc6", "spanId": "821c04fff41ea01d", "parentSpanId": "3336257eff7b4bbc", "startTimeUnixNano": "1796073409951014996", "endTimeUnixNano": "1796073409951982457", "durationMs": 0.967461, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011131}}
{"type": "effect-span", "name": "sqlite", "traceId": "bca2cc4dc2eece37830f291d64ee6cc6", "spanId": "ec72c3c3d3806d51", "parentSpanId": "3336257eff7b4bbc", "startTimeUnixNano": "1796073409952001052", "endTimeUnixNano": "1796073409952837488", "durationMs": 0.836436, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007884}}
{"type": "effect-span", "name": "sqlite", "traceId": "bca2cc4dc2eece37830f291d64ee6cc6", "spanId": "071d18130b5b6ea1", "parentSpanId": "3336257eff7b4bbc", "startTimeUnixNano": "1796073409961069228", "endTimeUnixNano": "1796073409962698170", "durationMs": 1.628942, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014187}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bca2cc4dc2eece37830f291d64ee6cc6", "spanId": "3336257eff7b4bbc", "parentSpanId": "a5fbeffd1875bce6", "startTimeUnixNano": "1796073409950333678", "endTimeUnixNano": "1796073409962874818", "durationMs": 12.54114, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bca2cc4dc2eece37830f291d64ee6cc6", "spanId": "135950bb489cb329", "parentSpanId": "a5fbeffd1875bce6", "startTimeUnixNano": "1796073409962889736", "endTimeUnixNano": "1796073409963124924", "durationMs": 0.235188, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bca2cc4dc2eece37830f291d64ee6cc6", "spanId": "a5fbeffd1875bce6", "parentSpanId": "6d388ec9124e2cfc", "startTimeUnixNano": "1796073409947849565", "endTimeUnixNano": "1796073409963145622", "durationMs": 15.296057, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.307775, "db.connection": "reader", "db.lock_wait_ms": 2.272}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bca2cc4dc2eece37830f291d64ee6cc6", "spanId": "6d388ec9124e2cfc", "parentSpanId": "c8aeceaa8d823e8b", "startTimeUnixNano": "1796073409947839827", "endTimeUnixNano": "1796073409963159398", "durationMs": 15.319571, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bca2cc4dc2eece37830f291d64ee6cc6", "spanId": "c8aeceaa8d823e8b", "parentSpanId": "d29a792275fcd7b0", "startTimeUnixNano": "1796073409947795465", "endTimeUnixNano": "1796073409963164447", "durationMs": 15.368982, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bca2cc4dc2eece37830f291d64ee6cc6", "spanId": "d29a792275fcd7b0", "startTimeUnixNano": "1796073409947779585", "endTimeUnixNano": "1796073409963170258", "durationMs": 15.390673, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4358e03a6b3327b4e9e0417c3142cb13", "spanId": "1b3fc56b056a8df4", "parentSpanId": "b448f538d0a9f614", "startTimeUnixNano": "1796073410148458801", "endTimeUnixNano": "1796073410148652181", "durationMs": 0.19338, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4358e03a6b3327b4e9e0417c3142cb13", "spanId": "4d3b6c2b74c211aa", "parentSpanId": "b307ea86d9afa2a0", "startTimeUnixNano": "1796073410148694139", "endTimeUnixNano": "1796073410148935989", "durationMs": 0.24185, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004529}}
{"type": "effect-span", "name": "sqlite", "traceId": "4358e03a6b3327b4e9e0417c3142cb13", "spanId": "c77198d3bff843e4", "parentSpanId": "b307ea86d9afa2a0", "startTimeUnixNano": "1796073410149019825", "endTimeUnixNano": "1796073410149788877", "durationMs": 0.769052, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009328}}
{"type": "effect-span", "name": "sqlite", "traceId": "4358e03a6b3327b4e9e0417c3142cb13", "spanId": "75147fe13037d3a5", "parentSpanId": "b307ea86d9afa2a0", "startTimeUnixNano": "1796073410149807581", "endTimeUnixNano": "1796073410150569790", "durationMs": 0.762209, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01064}}
{"type": "effect-span", "name": "sqlite", "traceId": "4358e03a6b3327b4e9e0417c3142cb13", "spanId": "72ad7665e2d651f9", "parentSpanId": "b307ea86d9afa2a0", "startTimeUnixNano": "1796073410154644223", "endTimeUnixNano": "1796073410156689419", "durationMs": 2.045196, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013686}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4358e03a6b3327b4e9e0417c3142cb13", "spanId": "b307ea86d9afa2a0", "parentSpanId": "b448f538d0a9f614", "startTimeUnixNano": "1796073410148689150", "endTimeUnixNano": "1796073410156986432", "durationMs": 8.297282, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4358e03a6b3327b4e9e0417c3142cb13", "spanId": "85c95a6e4fe63a9b", "parentSpanId": "b448f538d0a9f614", "startTimeUnixNano": "1796073410157011178", "endTimeUnixNano": "1796073410157802922", "durationMs": 0.791744, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4358e03a6b3327b4e9e0417c3142cb13", "spanId": "b448f538d0a9f614", "parentSpanId": "a51f42d2e609df9f", "startTimeUnixNano": "1796073410147094853", "endTimeUnixNano": "1796073410157822839", "durationMs": 10.727986, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.357917, "db.connection": "reader", "db.lock_wait_ms": 1.329}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4358e03a6b3327b4e9e0417c3142cb13", "spanId": "a51f42d2e609df9f", "parentSpanId": "fafb8857f65fc59a", "startTimeUnixNano": "1796073410147086517", "endTimeUnixNano": "1796073410157838167", "durationMs": 10.75165, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4358e03a6b3327b4e9e0417c3142cb13", "spanId": "fafb8857f65fc59a", "parentSpanId": "adaf8aff05796e16", "startTimeUnixNano": "1796073410147053957", "endTimeUnixNano": "1796073410157843547", "durationMs": 10.78959, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4358e03a6b3327b4e9e0417c3142cb13", "spanId": "adaf8aff05796e16", "startTimeUnixNano": "1796073410147038368", "endTimeUnixNano": "1796073410157849358", "durationMs": 10.81099, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6ea9c1397eb3e57f967caaed82245cd5", "spanId": "ab3f71dc1e31976f", "parentSpanId": "8d409d694b13a287", "startTimeUnixNano": "1796073411456798338", "endTimeUnixNano": "1796073411457113675", "durationMs": 0.315337, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6ea9c1397eb3e57f967caaed82245cd5", "spanId": "89a604f02c5e0df2", "parentSpanId": "4316a06054bffe60", "startTimeUnixNano": "1796073411457156004", "endTimeUnixNano": "1796073411457896863", "durationMs": 0.740859, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007133}}
{"type": "effect-span", "name": "sqlite", "traceId": "6ea9c1397eb3e57f967caaed82245cd5", "spanId": "7924f5bcb43bf2e9", "parentSpanId": "4316a06054bffe60", "startTimeUnixNano": "1796073411457979126", "endTimeUnixNano": "1796073411459095594", "durationMs": 1.116468, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012172}}
{"type": "effect-span", "name": "sqlite", "traceId": "6ea9c1397eb3e57f967caaed82245cd5", "spanId": "0b1e8eb15b97dab2", "parentSpanId": "4316a06054bffe60", "startTimeUnixNano": "1796073411459113938", "endTimeUnixNano": "1796073411460050972", "durationMs": 0.937034, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007874}}
{"type": "effect-span", "name": "sqlite", "traceId": "6ea9c1397eb3e57f967caaed82245cd5", "spanId": "1a0534cd993e667c", "parentSpanId": "4316a06054bffe60", "startTimeUnixNano": "1796073411466528938", "endTimeUnixNano": "1796073411468724054", "durationMs": 2.195116, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013025}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6ea9c1397eb3e57f967caaed82245cd5", "spanId": "4316a06054bffe60", "parentSpanId": "8d409d694b13a287", "startTimeUnixNano": "1796073411457148971", "endTimeUnixNano": "1796073411468956156", "durationMs": 11.807185, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6ea9c1397eb3e57f967caaed82245cd5", "spanId": "10a318537994fa6b", "parentSpanId": "8d409d694b13a287", "startTimeUnixNano": "1796073411468975372", "endTimeUnixNano": "1796073411469385956", "durationMs": 0.410584, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6ea9c1397eb3e57f967caaed82245cd5", "spanId": "8d409d694b13a287", "parentSpanId": "bb37912ef59aebc3", "startTimeUnixNano": "1796073411454130603", "endTimeUnixNano": "1796073411469421642", "durationMs": 15.291039, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.657726, "db.connection": "reader", "db.lock_wait_ms": 2.627}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6ea9c1397eb3e57f967caaed82245cd5", "spanId": "bb37912ef59aebc3", "parentSpanId": "ffea47d8005dc541", "startTimeUnixNano": "1796073411454123139", "endTimeUnixNano": "1796073411469455856", "durationMs": 15.332717, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6ea9c1397eb3e57f967caaed82245cd5", "spanId": "ffea47d8005dc541", "parentSpanId": "e4e22e3cb01f6a00", "startTimeUnixNano": "1796073411454088214", "endTimeUnixNano": "1796073411469463360", "durationMs": 15.375146, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6ea9c1397eb3e57f967caaed82245cd5", "spanId": "e4e22e3cb01f6a00", "startTimeUnixNano": "1796073411454075190", "endTimeUnixNano": "1796073411469471405", "durationMs": 15.396215, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f80d30054ac370122f5077453f3a6892", "spanId": "982a27f28d41cbc2", "parentSpanId": "e3d4ed58b4c9bdc7", "startTimeUnixNano": "1796073411683010145", "endTimeUnixNano": "1796073411684459803", "durationMs": 1.449658, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f80d30054ac370122f5077453f3a6892", "spanId": "557db835b3071243", "parentSpanId": "794e7b3dc3838d88", "startTimeUnixNano": "1796073411684531426", "endTimeUnixNano": "1796073411684830573", "durationMs": 0.299147, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.016982}}
{"type": "effect-span", "name": "sqlite", "traceId": "f80d30054ac370122f5077453f3a6892", "spanId": "b074a20066c9d361", "parentSpanId": "794e7b3dc3838d88", "startTimeUnixNano": "1796073411684915250", "endTimeUnixNano": "1796073411685779289", "durationMs": 0.864039, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01042}}
{"type": "effect-span", "name": "sqlite", "traceId": "f80d30054ac370122f5077453f3a6892", "spanId": "5fc77403fca2a530", "parentSpanId": "794e7b3dc3838d88", "startTimeUnixNano": "1796073411685792994", "endTimeUnixNano": "1796073411686680075", "durationMs": 0.887081, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011822}}
{"type": "effect-span", "name": "sqlite", "traceId": "f80d30054ac370122f5077453f3a6892", "spanId": "cc07261897ebb44f", "parentSpanId": "794e7b3dc3838d88", "startTimeUnixNano": "1796073411690451674", "endTimeUnixNano": "1796073411691790927", "durationMs": 1.339253, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022462}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f80d30054ac370122f5077453f3a6892", "spanId": "794e7b3dc3838d88", "parentSpanId": "e3d4ed58b4c9bdc7", "startTimeUnixNano": "1796073411684520856", "endTimeUnixNano": "1796073411692003423", "durationMs": 7.482567, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f80d30054ac370122f5077453f3a6892", "spanId": "c7a9d73810b71d76", "parentSpanId": "e3d4ed58b4c9bdc7", "startTimeUnixNano": "1796073411692018721", "endTimeUnixNano": "1796073411692253979", "durationMs": 0.235258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f80d30054ac370122f5077453f3a6892", "spanId": "e3d4ed58b4c9bdc7", "parentSpanId": "082bb67813acf602", "startTimeUnixNano": "1796073411681746302", "endTimeUnixNano": "1796073411692271211", "durationMs": 10.524909, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.261027, "db.connection": "reader", "db.lock_wait_ms": 1.235}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f80d30054ac370122f5077453f3a6892", "spanId": "082bb67813acf602", "parentSpanId": "03d2e307fa2a6365", "startTimeUnixNano": "1796073411681738889", "endTimeUnixNano": "1796073411692287481", "durationMs": 10.548592, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f80d30054ac370122f5077453f3a6892", "spanId": "03d2e307fa2a6365", "parentSpanId": "c30373cdb42742ce", "startTimeUnixNano": "1796073411681711427", "endTimeUnixNano": "1796073411692293012", "durationMs": 10.581585, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f80d30054ac370122f5077453f3a6892", "spanId": "c30373cdb42742ce", "startTimeUnixNano": "1796073411681698083", "endTimeUnixNano": "1796073411692301177", "durationMs": 10.603094, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "201b83af87b11562a2422969d877777c", "spanId": "6daf52a89e536ac8", "parentSpanId": "f5e3f0a27d992f7b", "startTimeUnixNano": "1796073412927804084", "endTimeUnixNano": "1796073412928409020", "durationMs": 0.604936, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "201b83af87b11562a2422969d877777c", "spanId": "0dd42aed48dad23b", "parentSpanId": "1216791fa6821755", "startTimeUnixNano": "1796073412928458071", "endTimeUnixNano": "1796073412929096780", "durationMs": 0.638709, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007013}}
{"type": "effect-span", "name": "sqlite", "traceId": "201b83af87b11562a2422969d877777c", "spanId": "f3095706bf923da2", "parentSpanId": "1216791fa6821755", "startTimeUnixNano": "1796073412929163424", "endTimeUnixNano": "1796073412930051927", "durationMs": 0.888503, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008526}}
{"type": "effect-span", "name": "sqlite", "traceId": "201b83af87b11562a2422969d877777c", "spanId": "8a0855cd5374c4c2", "parentSpanId": "1216791fa6821755", "startTimeUnixNano": "1796073412930069380", "endTimeUnixNano": "1796073412930984613", "durationMs": 0.915233, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008957}}
{"type": "effect-span", "name": "sqlite", "traceId": "201b83af87b11562a2422969d877777c", "spanId": "01f9cbc081c8d921", "parentSpanId": "1216791fa6821755", "startTimeUnixNano": "1796073412934553195", "endTimeUnixNano": "1796073412937298154", "durationMs": 2.744959, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013024}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "201b83af87b11562a2422969d877777c", "spanId": "1216791fa6821755", "parentSpanId": "f5e3f0a27d992f7b", "startTimeUnixNano": "1796073412928451939", "endTimeUnixNano": "1796073412937537870", "durationMs": 9.085931, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "201b83af87b11562a2422969d877777c", "spanId": "9706193e61e3756e", "parentSpanId": "f5e3f0a27d992f7b", "startTimeUnixNano": "1796073412937551946", "endTimeUnixNano": "1796073412937875939", "durationMs": 0.323993, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "201b83af87b11562a2422969d877777c", "spanId": "f5e3f0a27d992f7b", "parentSpanId": "1205ff07b668d359", "startTimeUnixNano": "1796073412926532136", "endTimeUnixNano": "1796073412937901156", "durationMs": 11.36902, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.268151, "db.connection": "reader", "db.lock_wait_ms": 1.237}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "201b83af87b11562a2422969d877777c", "spanId": "1205ff07b668d359", "parentSpanId": "8eac8f712d76d8da", "startTimeUnixNano": "1796073412926524722", "endTimeUnixNano": "1796073412937915132", "durationMs": 11.39041, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "201b83af87b11562a2422969d877777c", "spanId": "8eac8f712d76d8da", "parentSpanId": "9c8a15f5e578e9de", "startTimeUnixNano": "1796073412926487974", "endTimeUnixNano": "1796073412937920602", "durationMs": 11.432628, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "201b83af87b11562a2422969d877777c", "spanId": "9c8a15f5e578e9de", "startTimeUnixNano": "1796073412926470982", "endTimeUnixNano": "1796073412937929399", "durationMs": 11.458417, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9e8ea2ea5a8d695b6e81cda5a6239115", "spanId": "aa305fc26450a4ce", "parentSpanId": "22360f297e3fd522", "startTimeUnixNano": "1796073413122933403", "endTimeUnixNano": "1796073413123242659", "durationMs": 0.309256, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e8ea2ea5a8d695b6e81cda5a6239115", "spanId": "952edd5daaca2e03", "parentSpanId": "4d4dc07835e448ab", "startTimeUnixNano": "1796073413123277534", "endTimeUnixNano": "1796073413123541675", "durationMs": 0.264141, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004248}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e8ea2ea5a8d695b6e81cda5a6239115", "spanId": "94b53020d4328a82", "parentSpanId": "4d4dc07835e448ab", "startTimeUnixNano": "1796073413123619621", "endTimeUnixNano": "1796073413124732672", "durationMs": 1.113051, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010539}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e8ea2ea5a8d695b6e81cda5a6239115", "spanId": "dabed49d71f1de4b", "parentSpanId": "4d4dc07835e448ab", "startTimeUnixNano": "1796073413124764582", "endTimeUnixNano": "1796073413125785772", "durationMs": 1.02119, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.039112}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e8ea2ea5a8d695b6e81cda5a6239115", "spanId": "3c08f1bab7e48220", "parentSpanId": "4d4dc07835e448ab", "startTimeUnixNano": "1796073413129222930", "endTimeUnixNano": "1796073413131155126", "durationMs": 1.932196, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018524}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9e8ea2ea5a8d695b6e81cda5a6239115", "spanId": "4d4dc07835e448ab", "parentSpanId": "22360f297e3fd522", "startTimeUnixNano": "1796073413123271853", "endTimeUnixNano": "1796073413131351772", "durationMs": 8.079919, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9e8ea2ea5a8d695b6e81cda5a6239115", "spanId": "eec9f65fbfb1b274", "parentSpanId": "22360f297e3fd522", "startTimeUnixNano": "1796073413131366720", "endTimeUnixNano": "1796073413131859808", "durationMs": 0.493088, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9e8ea2ea5a8d695b6e81cda5a6239115", "spanId": "22360f297e3fd522", "parentSpanId": "862cf97cd4db5bad", "startTimeUnixNano": "1796073413121399939", "endTimeUnixNano": "1796073413131877561", "durationMs": 10.477622, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.528776, "db.connection": "reader", "db.lock_wait_ms": 1.501}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9e8ea2ea5a8d695b6e81cda5a6239115", "spanId": "862cf97cd4db5bad", "parentSpanId": "307dd7f1fa9e5ee1", "startTimeUnixNano": "1796073413121392796", "endTimeUnixNano": "1796073413131891066", "durationMs": 10.49827, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9e8ea2ea5a8d695b6e81cda5a6239115", "spanId": "307dd7f1fa9e5ee1", "parentSpanId": "ba2a9006d2310392", "startTimeUnixNano": "1796073413121360446", "endTimeUnixNano": "1796073413131895825", "durationMs": 10.535379, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9e8ea2ea5a8d695b6e81cda5a6239115", "spanId": "ba2a9006d2310392", "startTimeUnixNano": "1796073413121348333", "endTimeUnixNano": "1796073413131903238", "durationMs": 10.554905, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4d53fa5940789df52562029b25f6207d", "spanId": "30006fab179c6bfb", "parentSpanId": "1f901fd3274e7cd0", "startTimeUnixNano": "1796073414361998416", "endTimeUnixNano": "1796073414362621025", "durationMs": 0.622609, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4d53fa5940789df52562029b25f6207d", "spanId": "1b99902e259573f4", "parentSpanId": "b595d813f8176aff", "startTimeUnixNano": "1796073414362657703", "endTimeUnixNano": "1796073414364884758", "durationMs": 2.227055, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004408}}
{"type": "effect-span", "name": "sqlite", "traceId": "4d53fa5940789df52562029b25f6207d", "spanId": "c0e6504bfbdcb592", "parentSpanId": "b595d813f8176aff", "startTimeUnixNano": "1796073414364964376", "endTimeUnixNano": "1796073414366146687", "durationMs": 1.182311, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.022733}}
{"type": "effect-span", "name": "sqlite", "traceId": "4d53fa5940789df52562029b25f6207d", "spanId": "67179fd41a839054", "parentSpanId": "b595d813f8176aff", "startTimeUnixNano": "1796073414366168007", "endTimeUnixNano": "1796073414367287009", "durationMs": 1.119002, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009217}}
{"type": "effect-span", "name": "sqlite", "traceId": "4d53fa5940789df52562029b25f6207d", "spanId": "f2dfcc9e30429b7e", "parentSpanId": "b595d813f8176aff", "startTimeUnixNano": "1796073414372616950", "endTimeUnixNano": "1796073414374622272", "durationMs": 2.005322, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01093}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4d53fa5940789df52562029b25f6207d", "spanId": "b595d813f8176aff", "parentSpanId": "1f901fd3274e7cd0", "startTimeUnixNano": "1796073414362651792", "endTimeUnixNano": "1796073414374845368", "durationMs": 12.193576, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4d53fa5940789df52562029b25f6207d", "spanId": "cf5eccb9ff3fec0c", "parentSpanId": "1f901fd3274e7cd0", "startTimeUnixNano": "1796073414374859945", "endTimeUnixNano": "1796073414375044148", "durationMs": 0.184203, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4d53fa5940789df52562029b25f6207d", "spanId": "1f901fd3274e7cd0", "parentSpanId": "86c1cc5ad05eaca5", "startTimeUnixNano": "1796073414360613097", "endTimeUnixNano": "1796073414375064045", "durationMs": 14.450948, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.382113, "db.connection": "reader", "db.lock_wait_ms": 1.339}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4d53fa5940789df52562029b25f6207d", "spanId": "86c1cc5ad05eaca5", "parentSpanId": "bb9d7b82286eb9e5", "startTimeUnixNano": "1796073414360600794", "endTimeUnixNano": "1796073414375078241", "durationMs": 14.477447, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4d53fa5940789df52562029b25f6207d", "spanId": "bb9d7b82286eb9e5", "parentSpanId": "94232cb202636365", "startTimeUnixNano": "1796073414360547866", "endTimeUnixNano": "1796073414375082850", "durationMs": 14.534984, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4d53fa5940789df52562029b25f6207d", "spanId": "94232cb202636365", "startTimeUnixNano": "1796073414360519623", "endTimeUnixNano": "1796073414375089903", "durationMs": 14.57028, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d2e277597072d1c0016ccfb750e76a7f", "spanId": "a3e821365e212e9f", "parentSpanId": "44566e070cb439ba", "startTimeUnixNano": "1796073414576721235", "endTimeUnixNano": "1796073414577386603", "durationMs": 0.665368, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d2e277597072d1c0016ccfb750e76a7f", "spanId": "f127e17c2367afb7", "parentSpanId": "477934e2fa36adac", "startTimeUnixNano": "1796073414577467484", "endTimeUnixNano": "1796073414577809871", "durationMs": 0.342387, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006432}}
{"type": "effect-span", "name": "sqlite", "traceId": "d2e277597072d1c0016ccfb750e76a7f", "spanId": "3f2d054299315671", "parentSpanId": "477934e2fa36adac", "startTimeUnixNano": "1796073414577891002", "endTimeUnixNano": "1796073414578713914", "durationMs": 0.822912, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01038}}
{"type": "effect-span", "name": "sqlite", "traceId": "d2e277597072d1c0016ccfb750e76a7f", "spanId": "99ff653c6644fd70", "parentSpanId": "477934e2fa36adac", "startTimeUnixNano": "1796073414578733701", "endTimeUnixNano": "1796073414579380896", "durationMs": 0.647195, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007303}}
{"type": "effect-span", "name": "sqlite", "traceId": "d2e277597072d1c0016ccfb750e76a7f", "spanId": "fa8e14a18781309a", "parentSpanId": "477934e2fa36adac", "startTimeUnixNano": "1796073414584086474", "endTimeUnixNano": "1796073414585819189", "durationMs": 1.732715, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012012}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d2e277597072d1c0016ccfb750e76a7f", "spanId": "477934e2fa36adac", "parentSpanId": "44566e070cb439ba", "startTimeUnixNano": "1796073414577458808", "endTimeUnixNano": "1796073414586032526", "durationMs": 8.573718, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d2e277597072d1c0016ccfb750e76a7f", "spanId": "e527cf632e110c3e", "parentSpanId": "44566e070cb439ba", "startTimeUnixNano": "1796073414586051601", "endTimeUnixNano": "1796073414586322526", "durationMs": 0.270925, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d2e277597072d1c0016ccfb750e76a7f", "spanId": "44566e070cb439ba", "parentSpanId": "11467bcc5119f41b", "startTimeUnixNano": "1796073414575527072", "endTimeUnixNano": "1796073414586345909", "durationMs": 10.818837, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.190867, "db.connection": "reader", "db.lock_wait_ms": 1.163}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d2e277597072d1c0016ccfb750e76a7f", "spanId": "11467bcc5119f41b", "parentSpanId": "d68c10eeaa3fa238", "startTimeUnixNano": "1796073414575520490", "endTimeUnixNano": "1796073414586369774", "durationMs": 10.849284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d2e277597072d1c0016ccfb750e76a7f", "spanId": "d68c10eeaa3fa238", "parentSpanId": "8f12e60503cb1eaf", "startTimeUnixNano": "1796073414575495013", "endTimeUnixNano": "1796073414586377778", "durationMs": 10.882765, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d2e277597072d1c0016ccfb750e76a7f", "spanId": "8f12e60503cb1eaf", "startTimeUnixNano": "1796073414575481938", "endTimeUnixNano": "1796073414586387497", "durationMs": 10.905559, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "16644fd9c6d94c3f07db975054a7b219", "spanId": "f0c8afa9f85ff799", "parentSpanId": "d6e603e020f6dc97", "startTimeUnixNano": "1796073415789222932", "endTimeUnixNano": "1796073415789454433", "durationMs": 0.231501, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "16644fd9c6d94c3f07db975054a7b219", "spanId": "fdd53e288a55b34f", "parentSpanId": "3965385b1b7a6aad", "startTimeUnixNano": "1796073415789505919", "endTimeUnixNano": "1796073415790078705", "durationMs": 0.572786, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007294}}
{"type": "effect-span", "name": "sqlite", "traceId": "16644fd9c6d94c3f07db975054a7b219", "spanId": "c7c1744401106bd1", "parentSpanId": "3965385b1b7a6aad", "startTimeUnixNano": "1796073415790157612", "endTimeUnixNano": "1796073415790985453", "durationMs": 0.827841, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008736}}
{"type": "effect-span", "name": "sqlite", "traceId": "16644fd9c6d94c3f07db975054a7b219", "spanId": "a1b6559686619495", "parentSpanId": "3965385b1b7a6aad", "startTimeUnixNano": "1796073415791001523", "endTimeUnixNano": "1796073415791721192", "durationMs": 0.719669, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007133}}
{"type": "effect-span", "name": "sqlite", "traceId": "16644fd9c6d94c3f07db975054a7b219", "spanId": "ba9608643dfacc80", "parentSpanId": "3965385b1b7a6aad", "startTimeUnixNano": "1796073415797468379", "endTimeUnixNano": "1796073415799113932", "durationMs": 1.645553, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008847}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "16644fd9c6d94c3f07db975054a7b219", "spanId": "3965385b1b7a6aad", "parentSpanId": "d6e603e020f6dc97", "startTimeUnixNano": "1796073415789496842", "endTimeUnixNano": "1796073415799311560", "durationMs": 9.814718, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "16644fd9c6d94c3f07db975054a7b219", "spanId": "84d4b9fcc03918d4", "parentSpanId": "d6e603e020f6dc97", "startTimeUnixNano": "1796073415799324694", "endTimeUnixNano": "1796073415799478400", "durationMs": 0.153706, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "16644fd9c6d94c3f07db975054a7b219", "spanId": "d6e603e020f6dc97", "parentSpanId": "c2bc80df89e817de", "startTimeUnixNano": "1796073415786907643", "endTimeUnixNano": "1796073415799498217", "durationMs": 12.590574, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.311192, "db.connection": "reader", "db.lock_wait_ms": 2.277}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "16644fd9c6d94c3f07db975054a7b219", "spanId": "c2bc80df89e817de", "parentSpanId": "d462deff191ce9bc", "startTimeUnixNano": "1796073415786900109", "endTimeUnixNano": "1796073415799513616", "durationMs": 12.613507, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "16644fd9c6d94c3f07db975054a7b219", "spanId": "d462deff191ce9bc", "parentSpanId": "0bf338e22f2f4d6e", "startTimeUnixNano": "1796073415786860756", "endTimeUnixNano": "1796073415799520779", "durationMs": 12.660023, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "16644fd9c6d94c3f07db975054a7b219", "spanId": "0bf338e22f2f4d6e", "startTimeUnixNano": "1796073415786845177", "endTimeUnixNano": "1796073415799527862", "durationMs": 12.682685, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "be0584353be69dddf881471bb368c62e", "spanId": "8afc02cfc6b5764b", "parentSpanId": "7f20aa027f8bf5d5", "startTimeUnixNano": "1796073416004974705", "endTimeUnixNano": "1796073416005119845", "durationMs": 0.14514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "be0584353be69dddf881471bb368c62e", "spanId": "9debbc17914599da", "parentSpanId": "b09f7a953b716b71", "startTimeUnixNano": "1796073416005154309", "endTimeUnixNano": "1796073416005313435", "durationMs": 0.159126, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004729}}
{"type": "effect-span", "name": "sqlite", "traceId": "be0584353be69dddf881471bb368c62e", "spanId": "94026bc0552ccc9a", "parentSpanId": "b09f7a953b716b71", "startTimeUnixNano": "1796073416005384197", "endTimeUnixNano": "1796073416006298659", "durationMs": 0.914462, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01069}}
{"type": "effect-span", "name": "sqlite", "traceId": "be0584353be69dddf881471bb368c62e", "spanId": "d152287733799a42", "parentSpanId": "b09f7a953b716b71", "startTimeUnixNano": "1796073416006317965", "endTimeUnixNano": "1796073416007095973", "durationMs": 0.778008, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007885}}
{"type": "effect-span", "name": "sqlite", "traceId": "be0584353be69dddf881471bb368c62e", "spanId": "d7f5e0e97aebc337", "parentSpanId": "b09f7a953b716b71", "startTimeUnixNano": "1796073416010476565", "endTimeUnixNano": "1796073416011509438", "durationMs": 1.032873, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009198}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "be0584353be69dddf881471bb368c62e", "spanId": "b09f7a953b716b71", "parentSpanId": "7f20aa027f8bf5d5", "startTimeUnixNano": "1796073416005148749", "endTimeUnixNano": "1796073416011668554", "durationMs": 6.519805, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "be0584353be69dddf881471bb368c62e", "spanId": "7884f84c714db1ed", "parentSpanId": "7f20aa027f8bf5d5", "startTimeUnixNano": "1796073416011679064", "endTimeUnixNano": "1796073416012111739", "durationMs": 0.432675, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "be0584353be69dddf881471bb368c62e", "spanId": "7f20aa027f8bf5d5", "parentSpanId": "992b45c316e71644", "startTimeUnixNano": "1796073416003785561", "endTimeUnixNano": "1796073416012128771", "durationMs": 8.34321, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.185657, "db.connection": "reader", "db.lock_wait_ms": 1.158}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "be0584353be69dddf881471bb368c62e", "spanId": "992b45c316e71644", "parentSpanId": "208b16e35beb8d9e", "startTimeUnixNano": "1796073416003777777", "endTimeUnixNano": "1796073416012140372", "durationMs": 8.362595, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "be0584353be69dddf881471bb368c62e", "spanId": "208b16e35beb8d9e", "parentSpanId": "9014d94497618226", "startTimeUnixNano": "1796073416003750376", "endTimeUnixNano": "1796073416012144781", "durationMs": 8.394405, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "be0584353be69dddf881471bb368c62e", "spanId": "9014d94497618226", "startTimeUnixNano": "1796073416003736780", "endTimeUnixNano": "1796073416012150862", "durationMs": 8.414082, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a6114b232fed9da2eb0a3242a46277d1", "spanId": "db4872ed71b0ab04", "parentSpanId": "bac5b31da4713026", "startTimeUnixNano": "1796073417263419964", "endTimeUnixNano": "1796073417267048018", "durationMs": 3.628054, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a6114b232fed9da2eb0a3242a46277d1", "spanId": "c67511f9dd68bfa4", "parentSpanId": "d106c1879b988239", "startTimeUnixNano": "1796073417267090757", "endTimeUnixNano": "1796073417267825084", "durationMs": 0.734327, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004949}}
{"type": "effect-span", "name": "sqlite", "traceId": "a6114b232fed9da2eb0a3242a46277d1", "spanId": "44652a7ba2e5d73b", "parentSpanId": "d106c1879b988239", "startTimeUnixNano": "1796073417267897609", "endTimeUnixNano": "1796073417268806541", "durationMs": 0.908932, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008335}}
{"type": "effect-span", "name": "sqlite", "traceId": "a6114b232fed9da2eb0a3242a46277d1", "spanId": "498702c1486d2f5e", "parentSpanId": "d106c1879b988239", "startTimeUnixNano": "1796073417268821278", "endTimeUnixNano": "1796073417269591923", "durationMs": 0.770645, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009708}}
{"type": "effect-span", "name": "sqlite", "traceId": "a6114b232fed9da2eb0a3242a46277d1", "spanId": "798a7b6522360334", "parentSpanId": "d106c1879b988239", "startTimeUnixNano": "1796073417273100183", "endTimeUnixNano": "1796073417276661071", "durationMs": 3.560888, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012704}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a6114b232fed9da2eb0a3242a46277d1", "spanId": "d106c1879b988239", "parentSpanId": "bac5b31da4713026", "startTimeUnixNano": "1796073417267083974", "endTimeUnixNano": "1796073417276844503", "durationMs": 9.760529, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a6114b232fed9da2eb0a3242a46277d1", "spanId": "f15df96c649652d2", "parentSpanId": "bac5b31da4713026", "startTimeUnixNano": "1796073417276856325", "endTimeUnixNano": "1796073417277201678", "durationMs": 0.345353, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a6114b232fed9da2eb0a3242a46277d1", "spanId": "bac5b31da4713026", "parentSpanId": "dee475bd22c6f3de", "startTimeUnixNano": "1796073417261618852", "endTimeUnixNano": "1796073417277220232", "durationMs": 15.60138, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.79423, "db.connection": "reader", "db.lock_wait_ms": 1.752}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a6114b232fed9da2eb0a3242a46277d1", "spanId": "dee475bd22c6f3de", "parentSpanId": "00de1c87e290e0f7", "startTimeUnixNano": "1796073417261606509", "endTimeUnixNano": "1796073417277233266", "durationMs": 15.626757, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a6114b232fed9da2eb0a3242a46277d1", "spanId": "00de1c87e290e0f7", "parentSpanId": "74e2c295a8e2d854", "startTimeUnixNano": "1796073417261553480", "endTimeUnixNano": "1796073417277238917", "durationMs": 15.685437, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a6114b232fed9da2eb0a3242a46277d1", "spanId": "74e2c295a8e2d854", "startTimeUnixNano": "1796073417261534445", "endTimeUnixNano": "1796073417277246130", "durationMs": 15.711685, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9537b93df2babddd7023fc15feeff8fc", "spanId": "c38aa35296a16fcc", "parentSpanId": "db0abdc6043ec8c0", "startTimeUnixNano": "1796073417474749693", "endTimeUnixNano": "1796073417475183430", "durationMs": 0.433737, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9537b93df2babddd7023fc15feeff8fc", "spanId": "5f423ed760c2da32", "parentSpanId": "3bd214912790a9aa", "startTimeUnixNano": "1796073417475230668", "endTimeUnixNano": "1796073417476795942", "durationMs": 1.565274, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00539}}
{"type": "effect-span", "name": "sqlite", "traceId": "9537b93df2babddd7023fc15feeff8fc", "spanId": "a597351449ed402b", "parentSpanId": "3bd214912790a9aa", "startTimeUnixNano": "1796073417476863438", "endTimeUnixNano": "1796073417477662154", "durationMs": 0.798716, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008576}}
{"type": "effect-span", "name": "sqlite", "traceId": "9537b93df2babddd7023fc15feeff8fc", "spanId": "e0322858174dfea7", "parentSpanId": "3bd214912790a9aa", "startTimeUnixNano": "1796073417477676000", "endTimeUnixNano": "1796073417478534789", "durationMs": 0.858789, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006202}}
{"type": "effect-span", "name": "sqlite", "traceId": "9537b93df2babddd7023fc15feeff8fc", "spanId": "6c1be036bc9565d6", "parentSpanId": "3bd214912790a9aa", "startTimeUnixNano": "1796073417481792863", "endTimeUnixNano": "1796073417483201064", "durationMs": 1.408201, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014267}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9537b93df2babddd7023fc15feeff8fc", "spanId": "3bd214912790a9aa", "parentSpanId": "db0abdc6043ec8c0", "startTimeUnixNano": "1796073417475223926", "endTimeUnixNano": "1796073417483406437", "durationMs": 8.182511, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9537b93df2babddd7023fc15feeff8fc", "spanId": "491bbdce5e825ff8", "parentSpanId": "db0abdc6043ec8c0", "startTimeUnixNano": "1796073417483420152", "endTimeUnixNano": "1796073417484275044", "durationMs": 0.854892, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9537b93df2babddd7023fc15feeff8fc", "spanId": "db0abdc6043ec8c0", "parentSpanId": "86b2a31cb640c6e2", "startTimeUnixNano": "1796073417473334218", "endTimeUnixNano": "1796073417484293418", "durationMs": 10.9592, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.41268, "db.connection": "reader", "db.lock_wait_ms": 1.385}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9537b93df2babddd7023fc15feeff8fc", "spanId": "86b2a31cb640c6e2", "parentSpanId": "c081db9ce5b60eb7", "startTimeUnixNano": "1796073417473324410", "endTimeUnixNano": "1796073417484312243", "durationMs": 10.987833, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9537b93df2babddd7023fc15feeff8fc", "spanId": "c081db9ce5b60eb7", "parentSpanId": "a0081f91d4084b6d", "startTimeUnixNano": "1796073417473286880", "endTimeUnixNano": "1796073417484318004", "durationMs": 11.031124, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9537b93df2babddd7023fc15feeff8fc", "spanId": "a0081f91d4084b6d", "startTimeUnixNano": "1796073417473270911", "endTimeUnixNano": "1796073417484326920", "durationMs": 11.056009, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "23f0f583d2c8a82a0bbb5e3ab87d5901", "spanId": "c74670e2bc3413e8", "parentSpanId": "79b1d94a7bc86854", "startTimeUnixNano": "1796073418673060934", "endTimeUnixNano": "1796073418673705885", "durationMs": 0.644951, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "23f0f583d2c8a82a0bbb5e3ab87d5901", "spanId": "6e7ec0b4e2868231", "parentSpanId": "23b86e5cb017644d", "startTimeUnixNano": "1796073418673743084", "endTimeUnixNano": "1796073418674366925", "durationMs": 0.623841, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004959}}
{"type": "effect-span", "name": "sqlite", "traceId": "23f0f583d2c8a82a0bbb5e3ab87d5901", "spanId": "dbfe9a0adde7e496", "parentSpanId": "23b86e5cb017644d", "startTimeUnixNano": "1796073418674446433", "endTimeUnixNano": "1796073418675126208", "durationMs": 0.679775, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009418}}
{"type": "effect-span", "name": "sqlite", "traceId": "23f0f583d2c8a82a0bbb5e3ab87d5901", "spanId": "86e1306174d9962e", "parentSpanId": "23b86e5cb017644d", "startTimeUnixNano": "1796073418675139032", "endTimeUnixNano": "1796073418676173949", "durationMs": 1.034917, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006352}}
{"type": "effect-span", "name": "sqlite", "traceId": "23f0f583d2c8a82a0bbb5e3ab87d5901", "spanId": "0320143b6b125b87", "parentSpanId": "23b86e5cb017644d", "startTimeUnixNano": "1796073418679617990", "endTimeUnixNano": "1796073418681910767", "durationMs": 2.292777, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008756}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "23f0f583d2c8a82a0bbb5e3ab87d5901", "spanId": "23b86e5cb017644d", "parentSpanId": "79b1d94a7bc86854", "startTimeUnixNano": "1796073418673736952", "endTimeUnixNano": "1796073418682110539", "durationMs": 8.373587, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "23f0f583d2c8a82a0bbb5e3ab87d5901", "spanId": "074351331ded3ca8", "parentSpanId": "79b1d94a7bc86854", "startTimeUnixNano": "1796073418682125878", "endTimeUnixNano": "1796073418682524289", "durationMs": 0.398411, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "23f0f583d2c8a82a0bbb5e3ab87d5901", "spanId": "79b1d94a7bc86854", "parentSpanId": "e6a3231bca901e27", "startTimeUnixNano": "1796073418671783116", "endTimeUnixNano": "1796073418682545840", "durationMs": 10.762724, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.274011, "db.connection": "reader", "db.lock_wait_ms": 1.242}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "23f0f583d2c8a82a0bbb5e3ab87d5901", "spanId": "e6a3231bca901e27", "parentSpanId": "3351c30caf9d0691", "startTimeUnixNano": "1796073418671774289", "endTimeUnixNano": "1796073418682558263", "durationMs": 10.783974, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "23f0f583d2c8a82a0bbb5e3ab87d5901", "spanId": "3351c30caf9d0691", "parentSpanId": "1e246479ec3bc913", "startTimeUnixNano": "1796073418671737390", "endTimeUnixNano": "1796073418682563773", "durationMs": 10.826383, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "23f0f583d2c8a82a0bbb5e3ab87d5901", "spanId": "1e246479ec3bc913", "startTimeUnixNano": "1796073418671721711", "endTimeUnixNano": "1796073418682571858", "durationMs": 10.850147, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e255aa959947553eb0607812e3e31ba1", "spanId": "eb46a498c0c9ea33", "parentSpanId": "00bac604f395e2c0", "startTimeUnixNano": "1796073418862354282", "endTimeUnixNano": "1796073418862922960", "durationMs": 0.568678, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e255aa959947553eb0607812e3e31ba1", "spanId": "6734236473316146", "parentSpanId": "15cf7ee24f2cb724", "startTimeUnixNano": "1796073418862984054", "endTimeUnixNano": "1796073418864443922", "durationMs": 1.459868, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006432}}
{"type": "effect-span", "name": "sqlite", "traceId": "e255aa959947553eb0607812e3e31ba1", "spanId": "fffe38f72f87100a", "parentSpanId": "15cf7ee24f2cb724", "startTimeUnixNano": "1796073418864542625", "endTimeUnixNano": "1796073418866044481", "durationMs": 1.501856, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016771}}
{"type": "effect-span", "name": "sqlite", "traceId": "e255aa959947553eb0607812e3e31ba1", "spanId": "a44392cd89bee9ae", "parentSpanId": "15cf7ee24f2cb724", "startTimeUnixNano": "1796073418866069087", "endTimeUnixNano": "1796073418867137245", "durationMs": 1.068158, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014867}}
{"type": "effect-span", "name": "sqlite", "traceId": "e255aa959947553eb0607812e3e31ba1", "spanId": "5733ac5e9115fb7c", "parentSpanId": "15cf7ee24f2cb724", "startTimeUnixNano": "1796073418871105081", "endTimeUnixNano": "1796073418873418477", "durationMs": 2.313396, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014727}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e255aa959947553eb0607812e3e31ba1", "spanId": "15cf7ee24f2cb724", "parentSpanId": "00bac604f395e2c0", "startTimeUnixNano": "1796073418862973545", "endTimeUnixNano": "1796073418873595046", "durationMs": 10.621501, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e255aa959947553eb0607812e3e31ba1", "spanId": "41775332d0e943e1", "parentSpanId": "00bac604f395e2c0", "startTimeUnixNano": "1796073418873607930", "endTimeUnixNano": "1796073418873881329", "durationMs": 0.273399, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e255aa959947553eb0607812e3e31ba1", "spanId": "00bac604f395e2c0", "parentSpanId": "a6b4e2a0ad93508f", "startTimeUnixNano": "1796073418860363716", "endTimeUnixNano": "1796073418873903630", "durationMs": 13.539914, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.984955, "db.connection": "reader", "db.lock_wait_ms": 1.953}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e255aa959947553eb0607812e3e31ba1", "spanId": "a6b4e2a0ad93508f", "parentSpanId": "af8bcef712771176", "startTimeUnixNano": "1796073418860353077", "endTimeUnixNano": "1796073418873917175", "durationMs": 13.564098, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e255aa959947553eb0607812e3e31ba1", "spanId": "af8bcef712771176", "parentSpanId": "471e3d3b63ea38c8", "startTimeUnixNano": "1796073418860323922", "endTimeUnixNano": "1796073418873925842", "durationMs": 13.60192, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e255aa959947553eb0607812e3e31ba1", "spanId": "471e3d3b63ea38c8", "startTimeUnixNano": "1796073418860306660", "endTimeUnixNano": "1796073418873931222", "durationMs": 13.624562, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e1bb990f98a415f59bef69d1ae83375a", "spanId": "db086a5fc6615a3c", "parentSpanId": "a182d30a9f6d862e", "startTimeUnixNano": "1796073420185712785", "endTimeUnixNano": "1796073420186429289", "durationMs": 0.716504, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e1bb990f98a415f59bef69d1ae83375a", "spanId": "574c95a2cb251f16", "parentSpanId": "0605abba0f1c4fcd", "startTimeUnixNano": "1796073420186486896", "endTimeUnixNano": "1796073420187120956", "durationMs": 0.63406, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005109}}
{"type": "effect-span", "name": "sqlite", "traceId": "e1bb990f98a415f59bef69d1ae83375a", "spanId": "679919a26c256acf", "parentSpanId": "0605abba0f1c4fcd", "startTimeUnixNano": "1796073420187193842", "endTimeUnixNano": "1796073420188044856", "durationMs": 0.851014, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009738}}
{"type": "effect-span", "name": "sqlite", "traceId": "e1bb990f98a415f59bef69d1ae83375a", "spanId": "82c3550af1e76d30", "parentSpanId": "0605abba0f1c4fcd", "startTimeUnixNano": "1796073420188059413", "endTimeUnixNano": "1796073420188941585", "durationMs": 0.882172, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008947}}
{"type": "effect-span", "name": "sqlite", "traceId": "e1bb990f98a415f59bef69d1ae83375a", "spanId": "877438a455468b5a", "parentSpanId": "0605abba0f1c4fcd", "startTimeUnixNano": "1796073420192615805", "endTimeUnixNano": "1796073420195257312", "durationMs": 2.641507, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01055}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e1bb990f98a415f59bef69d1ae83375a", "spanId": "0605abba0f1c4fcd", "parentSpanId": "a182d30a9f6d862e", "startTimeUnixNano": "1796073420186480103", "endTimeUnixNano": "1796073420195476330", "durationMs": 8.996227, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e1bb990f98a415f59bef69d1ae83375a", "spanId": "482effdf883b331f", "parentSpanId": "a182d30a9f6d862e", "startTimeUnixNano": "1796073420195489525", "endTimeUnixNano": "1796073420195956955", "durationMs": 0.46743, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e1bb990f98a415f59bef69d1ae83375a", "spanId": "a182d30a9f6d862e", "parentSpanId": "f260c32a26fb6bc8", "startTimeUnixNano": "1796073420184418666", "endTimeUnixNano": "1796073420195988544", "durationMs": 11.569878, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.290512, "db.connection": "reader", "db.lock_wait_ms": 1.239}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e1bb990f98a415f59bef69d1ae83375a", "spanId": "f260c32a26fb6bc8", "parentSpanId": "8569a0e2fc897752", "startTimeUnixNano": "1796073420184410821", "endTimeUnixNano": "1796073420196007960", "durationMs": 11.597139, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e1bb990f98a415f59bef69d1ae83375a", "spanId": "8569a0e2fc897752", "parentSpanId": "cb6b859725ab327c", "startTimeUnixNano": "1796073420184372811", "endTimeUnixNano": "1796073420196014712", "durationMs": 11.641901, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e1bb990f98a415f59bef69d1ae83375a", "spanId": "cb6b859725ab327c", "startTimeUnixNano": "1796073420184352853", "endTimeUnixNano": "1796073420196025793", "durationMs": 11.67294, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bc5b9686dc804507342062ab7031a44e", "spanId": "6bf2e704850ea96e", "parentSpanId": "91a5e3e8ccef3bba", "startTimeUnixNano": "1796073420416102740", "endTimeUnixNano": "1796073420416881720", "durationMs": 0.77898, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bc5b9686dc804507342062ab7031a44e", "spanId": "adb0ef437bc7b622", "parentSpanId": "d7e75d386324f423", "startTimeUnixNano": "1796073420416944016", "endTimeUnixNano": "1796073420417984783", "durationMs": 1.040767, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007193}}
{"type": "effect-span", "name": "sqlite", "traceId": "bc5b9686dc804507342062ab7031a44e", "spanId": "ceac25c1998e0599", "parentSpanId": "d7e75d386324f423", "startTimeUnixNano": "1796073420418091862", "endTimeUnixNano": "1796073420419367397", "durationMs": 1.275535, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01608}}
{"type": "effect-span", "name": "sqlite", "traceId": "bc5b9686dc804507342062ab7031a44e", "spanId": "5beec9c8e823784e", "parentSpanId": "d7e75d386324f423", "startTimeUnixNano": "1796073420419400038", "endTimeUnixNano": "1796073420420168668", "durationMs": 0.76863, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012453}}
{"type": "effect-span", "name": "sqlite", "traceId": "bc5b9686dc804507342062ab7031a44e", "spanId": "dc1e1f63e95c7d32", "parentSpanId": "d7e75d386324f423", "startTimeUnixNano": "1796073420427155274", "endTimeUnixNano": "1796073420429251065", "durationMs": 2.095791, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.073136}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bc5b9686dc804507342062ab7031a44e", "spanId": "d7e75d386324f423", "parentSpanId": "91a5e3e8ccef3bba", "startTimeUnixNano": "1796073420416933837", "endTimeUnixNano": "1796073420429608351", "durationMs": 12.674514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bc5b9686dc804507342062ab7031a44e", "spanId": "1139cec72c682965", "parentSpanId": "91a5e3e8ccef3bba", "startTimeUnixNano": "1796073420429637365", "endTimeUnixNano": "1796073420431169487", "durationMs": 1.532122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bc5b9686dc804507342062ab7031a44e", "spanId": "91a5e3e8ccef3bba", "parentSpanId": "14177de0a676e7bb", "startTimeUnixNano": "1796073420411997227", "endTimeUnixNano": "1796073420431206415", "durationMs": 19.209188, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.09886, "db.connection": "reader", "db.lock_wait_ms": 4.061}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bc5b9686dc804507342062ab7031a44e", "spanId": "14177de0a676e7bb", "parentSpanId": "2918c1e568d9f160", "startTimeUnixNano": "1796073420411984393", "endTimeUnixNano": "1796073420431238736", "durationMs": 19.254343, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bc5b9686dc804507342062ab7031a44e", "spanId": "2918c1e568d9f160", "parentSpanId": "f9b2e063f278f394", "startTimeUnixNano": "1796073420411945110", "endTimeUnixNano": "1796073420431247782", "durationMs": 19.302672, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bc5b9686dc804507342062ab7031a44e", "spanId": "f9b2e063f278f394", "startTimeUnixNano": "1796073420411924692", "endTimeUnixNano": "1796073420431267549", "durationMs": 19.342857, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "249dbc4728723dd6d48b43a2558c8c95", "spanId": "ac7e2da65c473a9b", "parentSpanId": "e7ca83b0d4a8c9a6", "startTimeUnixNano": "1796073421756022842", "endTimeUnixNano": "1796073421756905104", "durationMs": 0.882262, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "249dbc4728723dd6d48b43a2558c8c95", "spanId": "52a40c5ff34e5227", "parentSpanId": "cf8d2d096dbfa0db", "startTimeUnixNano": "1796073421756960187", "endTimeUnixNano": "1796073421757844553", "durationMs": 0.884366, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007343}}
{"type": "effect-span", "name": "sqlite", "traceId": "249dbc4728723dd6d48b43a2558c8c95", "spanId": "78997fb283d0601b", "parentSpanId": "cf8d2d096dbfa0db", "startTimeUnixNano": "1796073421757943948", "endTimeUnixNano": "1796073421759065325", "durationMs": 1.121377, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012774}}
{"type": "effect-span", "name": "sqlite", "traceId": "249dbc4728723dd6d48b43a2558c8c95", "spanId": "038ff6862b5acb40", "parentSpanId": "cf8d2d096dbfa0db", "startTimeUnixNano": "1796073421759086274", "endTimeUnixNano": "1796073421760168249", "durationMs": 1.081975, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011652}}
{"type": "effect-span", "name": "sqlite", "traceId": "249dbc4728723dd6d48b43a2558c8c95", "spanId": "cd230c7e0ec1823a", "parentSpanId": "cf8d2d096dbfa0db", "startTimeUnixNano": "1796073421766314560", "endTimeUnixNano": "1796073421768594024", "durationMs": 2.279464, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013936}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "249dbc4728723dd6d48b43a2558c8c95", "spanId": "cf8d2d096dbfa0db", "parentSpanId": "e7ca83b0d4a8c9a6", "startTimeUnixNano": "1796073421756951561", "endTimeUnixNano": "1796073421768822940", "durationMs": 11.871379, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "249dbc4728723dd6d48b43a2558c8c95", "spanId": "e56da7b5a8d64162", "parentSpanId": "e7ca83b0d4a8c9a6", "startTimeUnixNano": "1796073421768841835", "endTimeUnixNano": "1796073421772753908", "durationMs": 3.912073, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "249dbc4728723dd6d48b43a2558c8c95", "spanId": "e7ca83b0d4a8c9a6", "parentSpanId": "5360e59f2272cc28", "startTimeUnixNano": "1796073421754312808", "endTimeUnixNano": "1796073421772801747", "durationMs": 18.488939, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.704564, "db.connection": "reader", "db.lock_wait_ms": 1.66}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "249dbc4728723dd6d48b43a2558c8c95", "spanId": "5360e59f2272cc28", "parentSpanId": "bce48b77e8a144f9", "startTimeUnixNano": "1796073421754300646", "endTimeUnixNano": "1796073421772829538", "durationMs": 18.528892, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "249dbc4728723dd6d48b43a2558c8c95", "spanId": "bce48b77e8a144f9", "parentSpanId": "eed06ad8c71632c0", "startTimeUnixNano": "1796073421754245233", "endTimeUnixNano": "1796073421772841541", "durationMs": 18.596308, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "249dbc4728723dd6d48b43a2558c8c95", "spanId": "eed06ad8c71632c0", "startTimeUnixNano": "1796073421754216369", "endTimeUnixNano": "1796073421772848574", "durationMs": 18.632205, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8acf981ef8194a13d70ce313a5a29251", "spanId": "32307f4e55efbbf0", "parentSpanId": "0be5c02508e94c27", "startTimeUnixNano": "1796073421986059528", "endTimeUnixNano": "1796073421986832156", "durationMs": 0.772628, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8acf981ef8194a13d70ce313a5a29251", "spanId": "fb7851a5d47d8f6d", "parentSpanId": "a86dec9777283e5a", "startTimeUnixNano": "1796073421986895374", "endTimeUnixNano": "1796073421987241899", "durationMs": 0.346525, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007253}}
{"type": "effect-span", "name": "sqlite", "traceId": "8acf981ef8194a13d70ce313a5a29251", "spanId": "c4a4af713d0009e0", "parentSpanId": "a86dec9777283e5a", "startTimeUnixNano": "1796073421987354519", "endTimeUnixNano": "1796073421988729648", "durationMs": 1.375129, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014807}}
{"type": "effect-span", "name": "sqlite", "traceId": "8acf981ef8194a13d70ce313a5a29251", "spanId": "9a9d23bf13c3ee2d", "parentSpanId": "a86dec9777283e5a", "startTimeUnixNano": "1796073421988755737", "endTimeUnixNano": "1796073421989660932", "durationMs": 0.905195, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01104}}
{"type": "effect-span", "name": "sqlite", "traceId": "8acf981ef8194a13d70ce313a5a29251", "spanId": "f141e4fab9b1b282", "parentSpanId": "a86dec9777283e5a", "startTimeUnixNano": "1796073421995232874", "endTimeUnixNano": "1796073421997578190", "durationMs": 2.345316, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016882}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8acf981ef8194a13d70ce313a5a29251", "spanId": "a86dec9777283e5a", "parentSpanId": "0be5c02508e94c27", "startTimeUnixNano": "1796073421986885806", "endTimeUnixNano": "1796073421997861287", "durationMs": 10.975481, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8acf981ef8194a13d70ce313a5a29251", "spanId": "0b5a82602e2d9082", "parentSpanId": "0be5c02508e94c27", "startTimeUnixNano": "1796073421997879050", "endTimeUnixNano": "1796073421998571209", "durationMs": 0.692159, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8acf981ef8194a13d70ce313a5a29251", "spanId": "0be5c02508e94c27", "parentSpanId": "f94dce2e169f005a", "startTimeUnixNano": "1796073421984315852", "endTimeUnixNano": "1796073421998585796", "durationMs": 14.269944, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.738386, "db.connection": "reader", "db.lock_wait_ms": 1.701}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8acf981ef8194a13d70ce313a5a29251", "spanId": "f94dce2e169f005a", "parentSpanId": "b7037dd698e778d0", "startTimeUnixNano": "1796073421984304881", "endTimeUnixNano": "1796073421998599802", "durationMs": 14.294921, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8acf981ef8194a13d70ce313a5a29251", "spanId": "b7037dd698e778d0", "parentSpanId": "fd32cf8d5886a3b4", "startTimeUnixNano": "1796073421984263534", "endTimeUnixNano": "1796073421998603599", "durationMs": 14.340065, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8acf981ef8194a13d70ce313a5a29251", "spanId": "fd32cf8d5886a3b4", "startTimeUnixNano": "1796073421984242565", "endTimeUnixNano": "1796073421998609921", "durationMs": 14.367356, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "69a929d821fa1f5c8f83c7b2508f4839", "spanId": "110ac22d86c344d6", "parentSpanId": "34854c4ae8c8511f", "startTimeUnixNano": "1796073423443103068", "endTimeUnixNano": "1796073423443253518", "durationMs": 0.15045, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "69a929d821fa1f5c8f83c7b2508f4839", "spanId": "ee1dfe1f6dc96b0f", "parentSpanId": "06474ae0fc165b0e", "startTimeUnixNano": "1796073423443291939", "endTimeUnixNano": "1796073423443887037", "durationMs": 0.595098, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00524}}
{"type": "effect-span", "name": "sqlite", "traceId": "69a929d821fa1f5c8f83c7b2508f4839", "spanId": "d430cf0d571c6a75", "parentSpanId": "06474ae0fc165b0e", "startTimeUnixNano": "1796073423443965233", "endTimeUnixNano": "1796073423444946029", "durationMs": 0.980796, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009047}}
{"type": "effect-span", "name": "sqlite", "traceId": "69a929d821fa1f5c8f83c7b2508f4839", "spanId": "0ec77baef522b879", "parentSpanId": "06474ae0fc165b0e", "startTimeUnixNano": "1796073423444968571", "endTimeUnixNano": "1796073423445950609", "durationMs": 0.982038, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010088}}
{"type": "effect-span", "name": "sqlite", "traceId": "69a929d821fa1f5c8f83c7b2508f4839", "spanId": "acdeda8e71b9af98", "parentSpanId": "06474ae0fc165b0e", "startTimeUnixNano": "1796073423451863567", "endTimeUnixNano": "1796073423465086793", "durationMs": 13.223226, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010569}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "69a929d821fa1f5c8f83c7b2508f4839", "spanId": "06474ae0fc165b0e", "parentSpanId": "34854c4ae8c8511f", "startTimeUnixNano": "1796073423443285668", "endTimeUnixNano": "1796073423465449479", "durationMs": 22.163811, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "69a929d821fa1f5c8f83c7b2508f4839", "spanId": "a2a8787a3028289a", "parentSpanId": "34854c4ae8c8511f", "startTimeUnixNano": "1796073423465480356", "endTimeUnixNano": "1796073423466525081", "durationMs": 1.044725, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "69a929d821fa1f5c8f83c7b2508f4839", "spanId": "34854c4ae8c8511f", "parentSpanId": "8a780f041c6ed621", "startTimeUnixNano": "1796073423440566265", "endTimeUnixNano": "1796073423466573661", "durationMs": 26.007396, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.531733, "db.connection": "reader", "db.lock_wait_ms": 2.493}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "69a929d821fa1f5c8f83c7b2508f4839", "spanId": "8a780f041c6ed621", "parentSpanId": "3c7159060fdef6c8", "startTimeUnixNano": "1796073423440557198", "endTimeUnixNano": "1796073423466600892", "durationMs": 26.043694, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "69a929d821fa1f5c8f83c7b2508f4839", "spanId": "3c7159060fdef6c8", "parentSpanId": "705b92bfb5d2e54a", "startTimeUnixNano": "1796073423440509038", "endTimeUnixNano": "1796073423466611912", "durationMs": 26.102874, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "69a929d821fa1f5c8f83c7b2508f4839", "spanId": "705b92bfb5d2e54a", "startTimeUnixNano": "1796073423440488590", "endTimeUnixNano": "1796073423466622743", "durationMs": 26.134153, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5f5595b0fb953143b80f2bb8dde5c2bd", "spanId": "523f98b7704e1a5a", "parentSpanId": "2e28b0d5bc66962d", "startTimeUnixNano": "1796073423662037493", "endTimeUnixNano": "1796073423662801436", "durationMs": 0.763943, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5f5595b0fb953143b80f2bb8dde5c2bd", "spanId": "2fb78a590e24b8ab", "parentSpanId": "d8194f32cb528de0", "startTimeUnixNano": "1796073423662848473", "endTimeUnixNano": "1796073423663421780", "durationMs": 0.573307, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004619}}
{"type": "effect-span", "name": "sqlite", "traceId": "5f5595b0fb953143b80f2bb8dde5c2bd", "spanId": "562080d3d83dd8ca", "parentSpanId": "d8194f32cb528de0", "startTimeUnixNano": "1796073423663543677", "endTimeUnixNano": "1796073423664400643", "durationMs": 0.856966, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011041}}
{"type": "effect-span", "name": "sqlite", "traceId": "5f5595b0fb953143b80f2bb8dde5c2bd", "spanId": "e80273561fcd4c4d", "parentSpanId": "d8194f32cb528de0", "startTimeUnixNano": "1796073423664417574", "endTimeUnixNano": "1796073423665988208", "durationMs": 1.570634, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008606}}
{"type": "effect-span", "name": "sqlite", "traceId": "5f5595b0fb953143b80f2bb8dde5c2bd", "spanId": "ef028dab858f26e5", "parentSpanId": "d8194f32cb528de0", "startTimeUnixNano": "1796073423669539810", "endTimeUnixNano": "1796073423670747107", "durationMs": 1.207297, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01091}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5f5595b0fb953143b80f2bb8dde5c2bd", "spanId": "d8194f32cb528de0", "parentSpanId": "2e28b0d5bc66962d", "startTimeUnixNano": "1796073423662841139", "endTimeUnixNano": "1796073423670996492", "durationMs": 8.155353, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5f5595b0fb953143b80f2bb8dde5c2bd", "spanId": "03be4f4cc5984c38", "parentSpanId": "2e28b0d5bc66962d", "startTimeUnixNano": "1796073423671032549", "endTimeUnixNano": "1796073423671850922", "durationMs": 0.818373, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5f5595b0fb953143b80f2bb8dde5c2bd", "spanId": "2e28b0d5bc66962d", "parentSpanId": "9c862ac7587ed2ad", "startTimeUnixNano": "1796073423660024836", "endTimeUnixNano": "1796073423671872242", "durationMs": 11.847406, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.007357, "db.connection": "reader", "db.lock_wait_ms": 1.98}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5f5595b0fb953143b80f2bb8dde5c2bd", "spanId": "9c862ac7587ed2ad", "parentSpanId": "d5ff38a060d73ace", "startTimeUnixNano": "1796073423660018284", "endTimeUnixNano": "1796073423671893071", "durationMs": 11.874787, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5f5595b0fb953143b80f2bb8dde5c2bd", "spanId": "d5ff38a060d73ace", "parentSpanId": "bc8c0d3e016cc6f9", "startTimeUnixNano": "1796073423659992446", "endTimeUnixNano": "1796073423671897960", "durationMs": 11.905514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5f5595b0fb953143b80f2bb8dde5c2bd", "spanId": "bc8c0d3e016cc6f9", "startTimeUnixNano": "1796073423659980905", "endTimeUnixNano": "1796073423671906025", "durationMs": 11.92512, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3a1ee6eb3af5f5a1e5bba60a488b64bb", "spanId": "21a4cd58606c275d", "parentSpanId": "405049cda8f39d7f", "startTimeUnixNano": "1796073424936671520", "endTimeUnixNano": "1796073424936816670", "durationMs": 0.14515, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3a1ee6eb3af5f5a1e5bba60a488b64bb", "spanId": "94b944c59fa82fc6", "parentSpanId": "e2e1e138ea7d48af", "startTimeUnixNano": "1796073424936857136", "endTimeUnixNano": "1796073424937474786", "durationMs": 0.61765, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005179}}
{"type": "effect-span", "name": "sqlite", "traceId": "3a1ee6eb3af5f5a1e5bba60a488b64bb", "spanId": "59c786ac6fcef15b", "parentSpanId": "e2e1e138ea7d48af", "startTimeUnixNano": "1796073424937588918", "endTimeUnixNano": "1796073424938768574", "durationMs": 1.179656, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014838}}
{"type": "effect-span", "name": "sqlite", "traceId": "3a1ee6eb3af5f5a1e5bba60a488b64bb", "spanId": "f5b96ca42d245b6b", "parentSpanId": "e2e1e138ea7d48af", "startTimeUnixNano": "1796073424938799983", "endTimeUnixNano": "1796073424939891164", "durationMs": 1.091181, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013735}}
{"type": "effect-span", "name": "sqlite", "traceId": "3a1ee6eb3af5f5a1e5bba60a488b64bb", "spanId": "af719bd63b3b4719", "parentSpanId": "e2e1e138ea7d48af", "startTimeUnixNano": "1796073424943754797", "endTimeUnixNano": "1796073424946291980", "durationMs": 2.537183, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013154}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3a1ee6eb3af5f5a1e5bba60a488b64bb", "spanId": "e2e1e138ea7d48af", "parentSpanId": "405049cda8f39d7f", "startTimeUnixNano": "1796073424936851255", "endTimeUnixNano": "1796073424946614581", "durationMs": 9.763326, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3a1ee6eb3af5f5a1e5bba60a488b64bb", "spanId": "b2f621409a8325fd", "parentSpanId": "405049cda8f39d7f", "startTimeUnixNano": "1796073424946649215", "endTimeUnixNano": "1796073424947145259", "durationMs": 0.496044, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3a1ee6eb3af5f5a1e5bba60a488b64bb", "spanId": "405049cda8f39d7f", "parentSpanId": "ff2e06af5744d2d6", "startTimeUnixNano": "1796073424934241015", "endTimeUnixNano": "1796073424947174353", "durationMs": 12.933338, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.424925, "db.connection": "reader", "db.lock_wait_ms": 2.388}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3a1ee6eb3af5f5a1e5bba60a488b64bb", "spanId": "ff2e06af5744d2d6", "parentSpanId": "ce8f28f687cbfd3a", "startTimeUnixNano": "1796073424934232590", "endTimeUnixNano": "1796073424947211472", "durationMs": 12.978882, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3a1ee6eb3af5f5a1e5bba60a488b64bb", "spanId": "ce8f28f687cbfd3a", "parentSpanId": "9de8ed8bb1d4ebeb", "startTimeUnixNano": "1796073424934182106", "endTimeUnixNano": "1796073424947307020", "durationMs": 13.124914, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3a1ee6eb3af5f5a1e5bba60a488b64bb", "spanId": "9de8ed8bb1d4ebeb", "startTimeUnixNano": "1796073424934165154", "endTimeUnixNano": "1796073424947358997", "durationMs": 13.193843, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "752792888742dfd3106f9a04fbb4971a", "spanId": "b037ab4b32024ff2", "parentSpanId": "f74183e047e68d51", "startTimeUnixNano": "1796073425170992075", "endTimeUnixNano": "1796073425171602321", "durationMs": 0.610246, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "752792888742dfd3106f9a04fbb4971a", "spanId": "b6f3c70b0d72fe96", "parentSpanId": "256db3f85dfe4a75", "startTimeUnixNano": "1796073425171642826", "endTimeUnixNano": "1796073425171974474", "durationMs": 0.331648, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004469}}
{"type": "effect-span", "name": "sqlite", "traceId": "752792888742dfd3106f9a04fbb4971a", "spanId": "dca1e13adfa143b2", "parentSpanId": "256db3f85dfe4a75", "startTimeUnixNano": "1796073425172037892", "endTimeUnixNano": "1796073425173222958", "durationMs": 1.185066, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007744}}
{"type": "effect-span", "name": "sqlite", "traceId": "752792888742dfd3106f9a04fbb4971a", "spanId": "48d36666a2571733", "parentSpanId": "256db3f85dfe4a75", "startTimeUnixNano": "1796073425173236934", "endTimeUnixNano": "1796073425174150054", "durationMs": 0.91312, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006141}}
{"type": "effect-span", "name": "sqlite", "traceId": "752792888742dfd3106f9a04fbb4971a", "spanId": "865aa3d82735b7e5", "parentSpanId": "256db3f85dfe4a75", "startTimeUnixNano": "1796073425178180908", "endTimeUnixNano": "1796073425180036893", "durationMs": 1.855985, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.067256}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "752792888742dfd3106f9a04fbb4971a", "spanId": "256db3f85dfe4a75", "parentSpanId": "f74183e047e68d51", "startTimeUnixNano": "1796073425171636835", "endTimeUnixNano": "1796073425180305944", "durationMs": 8.669109, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "752792888742dfd3106f9a04fbb4971a", "spanId": "2f15fd2aa341bef3", "parentSpanId": "f74183e047e68d51", "startTimeUnixNano": "1796073425180323998", "endTimeUnixNano": "1796073425186670042", "durationMs": 6.346044, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "752792888742dfd3106f9a04fbb4971a", "spanId": "f74183e047e68d51", "parentSpanId": "113b58f2f857cfdf", "startTimeUnixNano": "1796073425167230852", "endTimeUnixNano": "1796073425186715597", "durationMs": 19.484745, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.755622, "db.connection": "reader", "db.lock_wait_ms": 3.728}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "752792888742dfd3106f9a04fbb4971a", "spanId": "113b58f2f857cfdf", "parentSpanId": "8496f6d1d6eaf5a4", "startTimeUnixNano": "1796073425167223689", "endTimeUnixNano": "1796073425186753167", "durationMs": 19.529478, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "752792888742dfd3106f9a04fbb4971a", "spanId": "8496f6d1d6eaf5a4", "parentSpanId": "3ddbaf3df6c62703", "startTimeUnixNano": "1796073425167181510", "endTimeUnixNano": "1796073425186761312", "durationMs": 19.579802, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "752792888742dfd3106f9a04fbb4971a", "spanId": "3ddbaf3df6c62703", "startTimeUnixNano": "1796073425167165340", "endTimeUnixNano": "1796073425186774277", "durationMs": 19.608937, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8cbf004d8cefb4ce4822aab0583d9e46", "spanId": "a5d1eacf9d067a55", "parentSpanId": "58026213c0ca1e92", "startTimeUnixNano": "1796073426622190129", "endTimeUnixNano": "1796073426622404448", "durationMs": 0.214319, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8cbf004d8cefb4ce4822aab0583d9e46", "spanId": "04268493394b4ae9", "parentSpanId": "0dc2d24d5f631186", "startTimeUnixNano": "1796073426622489106", "endTimeUnixNano": "1796073426623328869", "durationMs": 0.839763, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008676}}
{"type": "effect-span", "name": "sqlite", "traceId": "8cbf004d8cefb4ce4822aab0583d9e46", "spanId": "d39b9c3704ac5609", "parentSpanId": "0dc2d24d5f631186", "startTimeUnixNano": "1796073426623419408", "endTimeUnixNano": "1796073426624427715", "durationMs": 1.008307, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009838}}
{"type": "effect-span", "name": "sqlite", "traceId": "8cbf004d8cefb4ce4822aab0583d9e46", "spanId": "bf224a2ed69eb615", "parentSpanId": "0dc2d24d5f631186", "startTimeUnixNano": "1796073426624465826", "endTimeUnixNano": "1796073426625592804", "durationMs": 1.126978, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009658}}
{"type": "effect-span", "name": "sqlite", "traceId": "8cbf004d8cefb4ce4822aab0583d9e46", "spanId": "47183a39d1fc9866", "parentSpanId": "0dc2d24d5f631186", "startTimeUnixNano": "1796073426632811894", "endTimeUnixNano": "1796073426635948163", "durationMs": 3.136269, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.02657}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8cbf004d8cefb4ce4822aab0583d9e46", "spanId": "0dc2d24d5f631186", "parentSpanId": "58026213c0ca1e92", "startTimeUnixNano": "1796073426622475781", "endTimeUnixNano": "1796073426636301341", "durationMs": 13.82556, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8cbf004d8cefb4ce4822aab0583d9e46", "spanId": "dada56ff52332171", "parentSpanId": "58026213c0ca1e92", "startTimeUnixNano": "1796073426636338921", "endTimeUnixNano": "1796073426636954687", "durationMs": 0.615766, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8cbf004d8cefb4ce4822aab0583d9e46", "spanId": "58026213c0ca1e92", "parentSpanId": "80457b2b9dea41bc", "startTimeUnixNano": "1796073426619503227", "endTimeUnixNano": "1796073426636988901", "durationMs": 17.485674, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.679749, "db.connection": "reader", "db.lock_wait_ms": 2.628}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8cbf004d8cefb4ce4822aab0583d9e46", "spanId": "80457b2b9dea41bc", "parentSpanId": "706058c07f4fc8f2", "startTimeUnixNano": "1796073426619495633", "endTimeUnixNano": "1796073426637012335", "durationMs": 17.516702, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8cbf004d8cefb4ce4822aab0583d9e46", "spanId": "706058c07f4fc8f2", "parentSpanId": "6d2c513a52e529e8", "startTimeUnixNano": "1796073426619451711", "endTimeUnixNano": "1796073426637018226", "durationMs": 17.566515, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8cbf004d8cefb4ce4822aab0583d9e46", "spanId": "6d2c513a52e529e8", "startTimeUnixNano": "1796073426619414051", "endTimeUnixNano": "1796073426637028465", "durationMs": 17.614414, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "21a834f0a5de2c48a69ae233a29ca533", "spanId": "504727c214c200e2", "parentSpanId": "ca7be5a176c10cc4", "startTimeUnixNano": "1796073426873930036", "endTimeUnixNano": "1796073426874264158", "durationMs": 0.334122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "21a834f0a5de2c48a69ae233a29ca533", "spanId": "153178c578a8a99c", "parentSpanId": "f6f8aa04aa952d58", "startTimeUnixNano": "1796073426874302429", "endTimeUnixNano": "1796073426874557684", "durationMs": 0.255255, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004939}}
{"type": "effect-span", "name": "sqlite", "traceId": "21a834f0a5de2c48a69ae233a29ca533", "spanId": "b08e1a5907267b71", "parentSpanId": "f6f8aa04aa952d58", "startTimeUnixNano": "1796073426874622565", "endTimeUnixNano": "1796073426876237412", "durationMs": 1.614847, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008175}}
{"type": "effect-span", "name": "sqlite", "traceId": "21a834f0a5de2c48a69ae233a29ca533", "spanId": "3dbdd55298679c99", "parentSpanId": "f6f8aa04aa952d58", "startTimeUnixNano": "1796073426876267988", "endTimeUnixNano": "1796073426879324048", "durationMs": 3.05606, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01565}}
{"type": "effect-span", "name": "sqlite", "traceId": "21a834f0a5de2c48a69ae233a29ca533", "spanId": "87ccbe326be539e8", "parentSpanId": "f6f8aa04aa952d58", "startTimeUnixNano": "1796073426884457475", "endTimeUnixNano": "1796073426887557176", "durationMs": 3.099701, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014547}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "21a834f0a5de2c48a69ae233a29ca533", "spanId": "f6f8aa04aa952d58", "parentSpanId": "ca7be5a176c10cc4", "startTimeUnixNano": "1796073426874292701", "endTimeUnixNano": "1796073426887768920", "durationMs": 13.476219, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "21a834f0a5de2c48a69ae233a29ca533", "spanId": "b0e3e54681df7635", "parentSpanId": "ca7be5a176c10cc4", "startTimeUnixNano": "1796073426887786343", "endTimeUnixNano": "1796073426889672264", "durationMs": 1.885921, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "21a834f0a5de2c48a69ae233a29ca533", "spanId": "ca7be5a176c10cc4", "parentSpanId": "f635475571a9abd6", "startTimeUnixNano": "1796073426872411388", "endTimeUnixNano": "1796073426889701057", "durationMs": 17.289669, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.515041, "db.connection": "reader", "db.lock_wait_ms": 1.472}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "21a834f0a5de2c48a69ae233a29ca533", "spanId": "f635475571a9abd6", "parentSpanId": "90018f477a94a6e5", "startTimeUnixNano": "1796073426872403794", "endTimeUnixNano": "1796073426889724581", "durationMs": 17.320787, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "21a834f0a5de2c48a69ae233a29ca533", "spanId": "90018f477a94a6e5", "parentSpanId": "f6176c928fc17651", "startTimeUnixNano": "1796073426872373959", "endTimeUnixNano": "1796073426889733287", "durationMs": 17.359328, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "21a834f0a5de2c48a69ae233a29ca533", "spanId": "f6176c928fc17651", "startTimeUnixNano": "1796073426872359893", "endTimeUnixNano": "1796073426889743406", "durationMs": 17.383513, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6c15b0a218b07b5f012e42b9b7c92c61", "spanId": "052fdf9cfc79c29b", "parentSpanId": "b82a26b9031810b3", "startTimeUnixNano": "1796073428216870449", "endTimeUnixNano": "1796073428217537271", "durationMs": 0.666822, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6c15b0a218b07b5f012e42b9b7c92c61", "spanId": "6e6b447daaf78d47", "parentSpanId": "2ffc56e85f35acc9", "startTimeUnixNano": "1796073428217575051", "endTimeUnixNano": "1796073428218403894", "durationMs": 0.828843, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004919}}
{"type": "effect-span", "name": "sqlite", "traceId": "6c15b0a218b07b5f012e42b9b7c92c61", "spanId": "30c5396b22738b49", "parentSpanId": "2ffc56e85f35acc9", "startTimeUnixNano": "1796073428218488722", "endTimeUnixNano": "1796073428219632341", "durationMs": 1.143619, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010109}}
{"type": "effect-span", "name": "sqlite", "traceId": "6c15b0a218b07b5f012e42b9b7c92c61", "spanId": "42607a7ed35e50db", "parentSpanId": "2ffc56e85f35acc9", "startTimeUnixNano": "1796073428219652399", "endTimeUnixNano": "1796073428220669923", "durationMs": 1.017524, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007724}}
{"type": "effect-span", "name": "sqlite", "traceId": "6c15b0a218b07b5f012e42b9b7c92c61", "spanId": "766c5e4a1f9f0c70", "parentSpanId": "2ffc56e85f35acc9", "startTimeUnixNano": "1796073428226397526", "endTimeUnixNano": "1796073428228584708", "durationMs": 2.187182, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014217}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6c15b0a218b07b5f012e42b9b7c92c61", "spanId": "2ffc56e85f35acc9", "parentSpanId": "b82a26b9031810b3", "startTimeUnixNano": "1796073428217569411", "endTimeUnixNano": "1796073428228805249", "durationMs": 11.235838, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6c15b0a218b07b5f012e42b9b7c92c61", "spanId": "ed9816fef54ab443", "parentSpanId": "b82a26b9031810b3", "startTimeUnixNano": "1796073428228837780", "endTimeUnixNano": "1796073428229047199", "durationMs": 0.209419, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6c15b0a218b07b5f012e42b9b7c92c61", "spanId": "b82a26b9031810b3", "parentSpanId": "0674207b5b8c8493", "startTimeUnixNano": "1796073428215537077", "endTimeUnixNano": "1796073428229066886", "durationMs": 13.529809, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.329655, "db.connection": "reader", "db.lock_wait_ms": 1.292}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6c15b0a218b07b5f012e42b9b7c92c61", "spanId": "0674207b5b8c8493", "parentSpanId": "9caee534518d5e97", "startTimeUnixNano": "1796073428215528531", "endTimeUnixNano": "1796073428229082104", "durationMs": 13.553573, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6c15b0a218b07b5f012e42b9b7c92c61", "spanId": "9caee534518d5e97", "parentSpanId": "68539a4b8389f7f8", "startTimeUnixNano": "1796073428215489989", "endTimeUnixNano": "1796073428229088647", "durationMs": 13.598658, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6c15b0a218b07b5f012e42b9b7c92c61", "spanId": "68539a4b8389f7f8", "startTimeUnixNano": "1796073428215472968", "endTimeUnixNano": "1796073428229095549", "durationMs": 13.622581, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ec692e844d722929f2f26f036608ca7a", "spanId": "8cafc9f4a15adfe8", "parentSpanId": "0d9d25e0316869af", "startTimeUnixNano": "1796073428432703051", "endTimeUnixNano": "1796073428433199506", "durationMs": 0.496455, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec692e844d722929f2f26f036608ca7a", "spanId": "35a1d2c3ba63a6f0", "parentSpanId": "3c7a94951406fb36", "startTimeUnixNano": "1796073428433238859", "endTimeUnixNano": "1796073428433493743", "durationMs": 0.254884, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004438}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec692e844d722929f2f26f036608ca7a", "spanId": "c103993931bbd668", "parentSpanId": "3c7a94951406fb36", "startTimeUnixNano": "1796073428433559987", "endTimeUnixNano": "1796073428435443043", "durationMs": 1.883056, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008235}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec692e844d722929f2f26f036608ca7a", "spanId": "42abb04b661c023b", "parentSpanId": "3c7a94951406fb36", "startTimeUnixNano": "1796073428435459964", "endTimeUnixNano": "1796073428436321188", "durationMs": 0.861224, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01061}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec692e844d722929f2f26f036608ca7a", "spanId": "e1597149ae469209", "parentSpanId": "3c7a94951406fb36", "startTimeUnixNano": "1796073428440375927", "endTimeUnixNano": "1796073428442648568", "durationMs": 2.272641, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012663}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ec692e844d722929f2f26f036608ca7a", "spanId": "3c7a94951406fb36", "parentSpanId": "0d9d25e0316869af", "startTimeUnixNano": "1796073428433229461", "endTimeUnixNano": "1796073428442905897", "durationMs": 9.676436, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ec692e844d722929f2f26f036608ca7a", "spanId": "cf8212cd8c684bf3", "parentSpanId": "0d9d25e0316869af", "startTimeUnixNano": "1796073428442922969", "endTimeUnixNano": "1796073428444266721", "durationMs": 1.343752, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ec692e844d722929f2f26f036608ca7a", "spanId": "0d9d25e0316869af", "parentSpanId": "8648fd8da41f95f6", "startTimeUnixNano": "1796073428431254003", "endTimeUnixNano": "1796073428444286397", "durationMs": 13.032394, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.446193, "db.connection": "reader", "db.lock_wait_ms": 1.417}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ec692e844d722929f2f26f036608ca7a", "spanId": "8648fd8da41f95f6", "parentSpanId": "a5c6229d4d74ca5c", "startTimeUnixNano": "1796073428431245057", "endTimeUnixNano": "1796073428444303780", "durationMs": 13.058723, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ec692e844d722929f2f26f036608ca7a", "spanId": "a5c6229d4d74ca5c", "parentSpanId": "d71aeb6c01eb450c", "startTimeUnixNano": "1796073428431201486", "endTimeUnixNano": "1796073428444310382", "durationMs": 13.108896, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ec692e844d722929f2f26f036608ca7a", "spanId": "d71aeb6c01eb450c", "startTimeUnixNano": "1796073428431150811", "endTimeUnixNano": "1796073428444319709", "durationMs": 13.168898, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8015b81a1b31c2fee69ab99792e8db6e", "spanId": "0f357c6b7bf8cf1d", "parentSpanId": "cccb549d900cee5b", "startTimeUnixNano": "1796073429710140254", "endTimeUnixNano": "1796073429710305382", "durationMs": 0.165128, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8015b81a1b31c2fee69ab99792e8db6e", "spanId": "ff35a4471ff2abca", "parentSpanId": "ea6dc5040575b529", "startTimeUnixNano": "1796073429710363941", "endTimeUnixNano": "1796073429710979346", "durationMs": 0.615405, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006472}}
{"type": "effect-span", "name": "sqlite", "traceId": "8015b81a1b31c2fee69ab99792e8db6e", "spanId": "5bb16587b83925c7", "parentSpanId": "ea6dc5040575b529", "startTimeUnixNano": "1796073429711064936", "endTimeUnixNano": "1796073429711705488", "durationMs": 0.640552, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01059}}
{"type": "effect-span", "name": "sqlite", "traceId": "8015b81a1b31c2fee69ab99792e8db6e", "spanId": "f97b51d7bce0743c", "parentSpanId": "ea6dc5040575b529", "startTimeUnixNano": "1796073429711724855", "endTimeUnixNano": "1796073429712499817", "durationMs": 0.774962, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008024}}
{"type": "effect-span", "name": "sqlite", "traceId": "8015b81a1b31c2fee69ab99792e8db6e", "spanId": "37edc9ebdc2f1c5d", "parentSpanId": "ea6dc5040575b529", "startTimeUnixNano": "1796073429716326863", "endTimeUnixNano": "1796073429718936071", "durationMs": 2.609208, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015098}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8015b81a1b31c2fee69ab99792e8db6e", "spanId": "ea6dc5040575b529", "parentSpanId": "cccb549d900cee5b", "startTimeUnixNano": "1796073429710355154", "endTimeUnixNano": "1796073429719102411", "durationMs": 8.747257, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8015b81a1b31c2fee69ab99792e8db6e", "spanId": "2ccb03498481d619", "parentSpanId": "cccb549d900cee5b", "startTimeUnixNano": "1796073429719119172", "endTimeUnixNano": "1796073429719517173", "durationMs": 0.398001, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8015b81a1b31c2fee69ab99792e8db6e", "spanId": "cccb549d900cee5b", "parentSpanId": "30d9b6ff6eee9dd6", "startTimeUnixNano": "1796073429708510921", "endTimeUnixNano": "1796073429719539905", "durationMs": 11.028984, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.625957, "db.connection": "reader", "db.lock_wait_ms": 1.595}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8015b81a1b31c2fee69ab99792e8db6e", "spanId": "30d9b6ff6eee9dd6", "parentSpanId": "7c0e141fd5100238", "startTimeUnixNano": "1796073429708503397", "endTimeUnixNano": "1796073429719552108", "durationMs": 11.048711, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8015b81a1b31c2fee69ab99792e8db6e", "spanId": "7c0e141fd5100238", "parentSpanId": "7197cd86e42505bc", "startTimeUnixNano": "1796073429708468061", "endTimeUnixNano": "1796073429719561235", "durationMs": 11.093174, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8015b81a1b31c2fee69ab99792e8db6e", "spanId": "7197cd86e42505bc", "startTimeUnixNano": "1796073429708448024", "endTimeUnixNano": "1796073429719566384", "durationMs": 11.11836, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "afc783a84cb6e20a6257a7520f83ca93", "spanId": "96562967eddae838", "parentSpanId": "8c65f74ee23641df", "startTimeUnixNano": "1796073429916342405", "endTimeUnixNano": "1796073429916515527", "durationMs": 0.173122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "afc783a84cb6e20a6257a7520f83ca93", "spanId": "c408b2f572ce4efa", "parentSpanId": "8ee04574cc23a362", "startTimeUnixNano": "1796073429916552536", "endTimeUnixNano": "1796073429916715169", "durationMs": 0.162633, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004659}}
{"type": "effect-span", "name": "sqlite", "traceId": "afc783a84cb6e20a6257a7520f83ca93", "spanId": "83571506d133f196", "parentSpanId": "8ee04574cc23a362", "startTimeUnixNano": "1796073429916779388", "endTimeUnixNano": "1796073429918018625", "durationMs": 1.239237, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008486}}
{"type": "effect-span", "name": "sqlite", "traceId": "afc783a84cb6e20a6257a7520f83ca93", "spanId": "e581cd63d810be3f", "parentSpanId": "8ee04574cc23a362", "startTimeUnixNano": "1796073429918031459", "endTimeUnixNano": "1796073429919026232", "durationMs": 0.994773, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010931}}
{"type": "effect-span", "name": "sqlite", "traceId": "afc783a84cb6e20a6257a7520f83ca93", "spanId": "6bda54ccec31b07b", "parentSpanId": "8ee04574cc23a362", "startTimeUnixNano": "1796073429922583705", "endTimeUnixNano": "1796073429924429221", "durationMs": 1.845516, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010239}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "afc783a84cb6e20a6257a7520f83ca93", "spanId": "8ee04574cc23a362", "parentSpanId": "8c65f74ee23641df", "startTimeUnixNano": "1796073429916546976", "endTimeUnixNano": "1796073429924621088", "durationMs": 8.074112, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "afc783a84cb6e20a6257a7520f83ca93", "spanId": "2620d8ad57fd972f", "parentSpanId": "8c65f74ee23641df", "startTimeUnixNano": "1796073429924639182", "endTimeUnixNano": "1796073429924856928", "durationMs": 0.217746, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "afc783a84cb6e20a6257a7520f83ca93", "spanId": "8c65f74ee23641df", "parentSpanId": "a2512f8b99c84105", "startTimeUnixNano": "1796073429915094692", "endTimeUnixNano": "1796073429924873579", "durationMs": 9.778887, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.244677, "db.connection": "reader", "db.lock_wait_ms": 1.21}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "afc783a84cb6e20a6257a7520f83ca93", "spanId": "a2512f8b99c84105", "parentSpanId": "c679c591c95df5e3", "startTimeUnixNano": "1796073429915086927", "endTimeUnixNano": "1796073429924885841", "durationMs": 9.798914, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "afc783a84cb6e20a6257a7520f83ca93", "spanId": "c679c591c95df5e3", "parentSpanId": "793ce69efc9605a8", "startTimeUnixNano": "1796073429915060678", "endTimeUnixNano": "1796073429924890700", "durationMs": 9.830022, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "afc783a84cb6e20a6257a7520f83ca93", "spanId": "793ce69efc9605a8", "startTimeUnixNano": "1796073429915048726", "endTimeUnixNano": "1796073429924897273", "durationMs": 9.848547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a776b960774fd4aec66c69f126999c2f", "spanId": "e1eea7bd605f32d0", "parentSpanId": "3169604406ba9ee4", "startTimeUnixNano": "1796073431212698809", "endTimeUnixNano": "1796073431213810719", "durationMs": 1.11191, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a776b960774fd4aec66c69f126999c2f", "spanId": "ced1c19d641927b3", "parentSpanId": "3131c767311ba387", "startTimeUnixNano": "1796073431213874899", "endTimeUnixNano": "1796073431214379178", "durationMs": 0.504279, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00564}}
{"type": "effect-span", "name": "sqlite", "traceId": "a776b960774fd4aec66c69f126999c2f", "spanId": "7af3bf0d2b1fd79c", "parentSpanId": "3131c767311ba387", "startTimeUnixNano": "1796073431214469686", "endTimeUnixNano": "1796073431215415157", "durationMs": 0.945471, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012113}}
{"type": "effect-span", "name": "sqlite", "traceId": "a776b960774fd4aec66c69f126999c2f", "spanId": "4e2d4e27da034ce2", "parentSpanId": "3131c767311ba387", "startTimeUnixNano": "1796073431215448378", "endTimeUnixNano": "1796073431216466995", "durationMs": 1.018617, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009198}}
{"type": "effect-span", "name": "sqlite", "traceId": "a776b960774fd4aec66c69f126999c2f", "spanId": "4baf227b031db3f2", "parentSpanId": "3131c767311ba387", "startTimeUnixNano": "1796073431220660734", "endTimeUnixNano": "1796073431225780576", "durationMs": 5.119842, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014256}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a776b960774fd4aec66c69f126999c2f", "spanId": "3131c767311ba387", "parentSpanId": "3169604406ba9ee4", "startTimeUnixNano": "1796073431213866543", "endTimeUnixNano": "1796073431226063694", "durationMs": 12.197151, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a776b960774fd4aec66c69f126999c2f", "spanId": "6af4abdf427afeec", "parentSpanId": "3169604406ba9ee4", "startTimeUnixNano": "1796073431226101975", "endTimeUnixNano": "1796073431226951727", "durationMs": 0.849752, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a776b960774fd4aec66c69f126999c2f", "spanId": "3169604406ba9ee4", "parentSpanId": "ba20b90fb5ff5f14", "startTimeUnixNano": "1796073431210938381", "endTimeUnixNano": "1796073431226974760", "durationMs": 16.036379, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.749638, "db.connection": "reader", "db.lock_wait_ms": 1.709}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a776b960774fd4aec66c69f126999c2f", "spanId": "ba20b90fb5ff5f14", "parentSpanId": "7239a214362449d3", "startTimeUnixNano": "1796073431210930246", "endTimeUnixNano": "1796073431226988335", "durationMs": 16.058089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a776b960774fd4aec66c69f126999c2f", "spanId": "7239a214362449d3", "parentSpanId": "d0f29db2c9081a7a", "startTimeUnixNano": "1796073431210885052", "endTimeUnixNano": "1796073431226993815", "durationMs": 16.108763, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a776b960774fd4aec66c69f126999c2f", "spanId": "d0f29db2c9081a7a", "startTimeUnixNano": "1796073431210860125", "endTimeUnixNano": "1796073431227002973", "durationMs": 16.142848, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9bd9a5503329040ef80dcbc2fc222271", "spanId": "181cf629e50b214d", "parentSpanId": "bf0e33aa82b727c3", "startTimeUnixNano": "1796073431418909461", "endTimeUnixNano": "1796073431419224478", "durationMs": 0.315017, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9bd9a5503329040ef80dcbc2fc222271", "spanId": "6c8d667f1d7bb03d", "parentSpanId": "2c5caf9b595982e4", "startTimeUnixNano": "1796073431419260395", "endTimeUnixNano": "1796073431419484973", "durationMs": 0.224578, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005269}}
{"type": "effect-span", "name": "sqlite", "traceId": "9bd9a5503329040ef80dcbc2fc222271", "spanId": "9556f9ba6c473174", "parentSpanId": "2c5caf9b595982e4", "startTimeUnixNano": "1796073431419565573", "endTimeUnixNano": "1796073431420673616", "durationMs": 1.108043, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015378}}
{"type": "effect-span", "name": "sqlite", "traceId": "9bd9a5503329040ef80dcbc2fc222271", "spanId": "2289f5c3c8f4a1ea", "parentSpanId": "2c5caf9b595982e4", "startTimeUnixNano": "1796073431420693914", "endTimeUnixNano": "1796073431421768144", "durationMs": 1.07423, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008475}}
{"type": "effect-span", "name": "sqlite", "traceId": "9bd9a5503329040ef80dcbc2fc222271", "spanId": "088842b799689be6", "parentSpanId": "2c5caf9b595982e4", "startTimeUnixNano": "1796073431426156024", "endTimeUnixNano": "1796073431427809703", "durationMs": 1.653679, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014767}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9bd9a5503329040ef80dcbc2fc222271", "spanId": "2c5caf9b595982e4", "parentSpanId": "bf0e33aa82b727c3", "startTimeUnixNano": "1796073431419255025", "endTimeUnixNano": "1796073431428004095", "durationMs": 8.74907, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9bd9a5503329040ef80dcbc2fc222271", "spanId": "5f9bab7b13032284", "parentSpanId": "bf0e33aa82b727c3", "startTimeUnixNano": "1796073431428019784", "endTimeUnixNano": "1796073431428930319", "durationMs": 0.910535, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9bd9a5503329040ef80dcbc2fc222271", "spanId": "bf0e33aa82b727c3", "parentSpanId": "9500393c5ec33fda", "startTimeUnixNano": "1796073431417305394", "endTimeUnixNano": "1796073431428950437", "durationMs": 11.645043, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.60032, "db.connection": "reader", "db.lock_wait_ms": 1.572}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9bd9a5503329040ef80dcbc2fc222271", "spanId": "9500393c5ec33fda", "parentSpanId": "e1d36843f82da822", "startTimeUnixNano": "1796073431417297700", "endTimeUnixNano": "1796073431428964273", "durationMs": 11.666573, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9bd9a5503329040ef80dcbc2fc222271", "spanId": "e1d36843f82da822", "parentSpanId": "b40f1a3269f71c38", "startTimeUnixNano": "1796073431417269157", "endTimeUnixNano": "1796073431428968871", "durationMs": 11.699714, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9bd9a5503329040ef80dcbc2fc222271", "spanId": "b40f1a3269f71c38", "startTimeUnixNano": "1796073431417255531", "endTimeUnixNano": "1796073431428975774", "durationMs": 11.720243, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0b0bc0644910e15ab3049309f3e4acdc", "spanId": "5f2b8baf9a8a0d72", "parentSpanId": "d7ec60b44f10ba36", "startTimeUnixNano": "1796073432723940268", "endTimeUnixNano": "1796073432724664998", "durationMs": 0.72473, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b0bc0644910e15ab3049309f3e4acdc", "spanId": "65e423a589e94176", "parentSpanId": "68ef6c6ca092d117", "startTimeUnixNano": "1796073432724734156", "endTimeUnixNano": "1796073432725412720", "durationMs": 0.678564, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008586}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b0bc0644910e15ab3049309f3e4acdc", "spanId": "7259baeaa687418b", "parentSpanId": "68ef6c6ca092d117", "startTimeUnixNano": "1796073432725519218", "endTimeUnixNano": "1796073432726732277", "durationMs": 1.213059, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012063}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b0bc0644910e15ab3049309f3e4acdc", "spanId": "bfe0ae018caa8249", "parentSpanId": "68ef6c6ca092d117", "startTimeUnixNano": "1796073432726750160", "endTimeUnixNano": "1796073432727981383", "durationMs": 1.231223, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009808}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b0bc0644910e15ab3049309f3e4acdc", "spanId": "521f3557c8ba9309", "parentSpanId": "68ef6c6ca092d117", "startTimeUnixNano": "1796073432733937072", "endTimeUnixNano": "1796073432736453127", "durationMs": 2.516055, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013766}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0b0bc0644910e15ab3049309f3e4acdc", "spanId": "68ef6c6ca092d117", "parentSpanId": "d7ec60b44f10ba36", "startTimeUnixNano": "1796073432724716754", "endTimeUnixNano": "1796073432736683396", "durationMs": 11.966642, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0b0bc0644910e15ab3049309f3e4acdc", "spanId": "9ccef6e39480f337", "parentSpanId": "d7ec60b44f10ba36", "startTimeUnixNano": "1796073432736702521", "endTimeUnixNano": "1796073432736867649", "durationMs": 0.165128, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0b0bc0644910e15ab3049309f3e4acdc", "spanId": "d7ec60b44f10ba36", "parentSpanId": "2625f17117924347", "startTimeUnixNano": "1796073432722538738", "endTimeUnixNano": "1796073432736918824", "durationMs": 14.380086, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.397583, "db.connection": "reader", "db.lock_wait_ms": 1.365}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0b0bc0644910e15ab3049309f3e4acdc", "spanId": "2625f17117924347", "parentSpanId": "c5e1ced52d71c749", "startTimeUnixNano": "1796073432722530523", "endTimeUnixNano": "1796073432736953298", "durationMs": 14.422775, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0b0bc0644910e15ab3049309f3e4acdc", "spanId": "c5e1ced52d71c749", "parentSpanId": "cd5b45652adb7cac", "startTimeUnixNano": "1796073432722489597", "endTimeUnixNano": "1796073432736963618", "durationMs": 14.474021, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0b0bc0644910e15ab3049309f3e4acdc", "spanId": "cd5b45652adb7cac", "startTimeUnixNano": "1796073432722466955", "endTimeUnixNano": "1796073432736980890", "durationMs": 14.513935, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c1daa4c08ec8b37f31c1cf39616e3e7a", "spanId": "95980e8a169cefbb", "parentSpanId": "414055f319ef6496", "startTimeUnixNano": "1796073432946803526", "endTimeUnixNano": "1796073432946914632", "durationMs": 0.111106, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c1daa4c08ec8b37f31c1cf39616e3e7a", "spanId": "cdfa9bf4e039924a", "parentSpanId": "d4f58757ac9d29e3", "startTimeUnixNano": "1796073432946961099", "endTimeUnixNano": "1796073432947179516", "durationMs": 0.218417, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006492}}
{"type": "effect-span", "name": "sqlite", "traceId": "c1daa4c08ec8b37f31c1cf39616e3e7a", "spanId": "4d550c0b1dcd6339", "parentSpanId": "d4f58757ac9d29e3", "startTimeUnixNano": "1796073432947295662", "endTimeUnixNano": "1796073432948353692", "durationMs": 1.05803, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009608}}
{"type": "effect-span", "name": "sqlite", "traceId": "c1daa4c08ec8b37f31c1cf39616e3e7a", "spanId": "30cda754e1605d3c", "parentSpanId": "d4f58757ac9d29e3", "startTimeUnixNano": "1796073432948380442", "endTimeUnixNano": "1796073432949244982", "durationMs": 0.86454, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013355}}
{"type": "effect-span", "name": "sqlite", "traceId": "c1daa4c08ec8b37f31c1cf39616e3e7a", "spanId": "c52fbb005b77efb3", "parentSpanId": "d4f58757ac9d29e3", "startTimeUnixNano": "1796073432955191143", "endTimeUnixNano": "1796073432956678703", "durationMs": 1.48756, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011562}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c1daa4c08ec8b37f31c1cf39616e3e7a", "spanId": "d4f58757ac9d29e3", "parentSpanId": "414055f319ef6496", "startTimeUnixNano": "1796073432946954417", "endTimeUnixNano": "1796073432956909132", "durationMs": 9.954715, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c1daa4c08ec8b37f31c1cf39616e3e7a", "spanId": "1dae3c755623f987", "parentSpanId": "414055f319ef6496", "startTimeUnixNano": "1796073432956925042", "endTimeUnixNano": "1796073432958899358", "durationMs": 1.974316, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c1daa4c08ec8b37f31c1cf39616e3e7a", "spanId": "414055f319ef6496", "parentSpanId": "97443147da92ec80", "startTimeUnixNano": "1796073432944657820", "endTimeUnixNano": "1796073432958928803", "durationMs": 14.270983, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.138582, "db.connection": "reader", "db.lock_wait_ms": 2.082}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c1daa4c08ec8b37f31c1cf39616e3e7a", "spanId": "97443147da92ec80", "parentSpanId": "b40e32f1fe3ea2a9", "startTimeUnixNano": "1796073432944645197", "endTimeUnixNano": "1796073432958948990", "durationMs": 14.303793, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c1daa4c08ec8b37f31c1cf39616e3e7a", "spanId": "b40e32f1fe3ea2a9", "parentSpanId": "d277fd0cf2e82ec8", "startTimeUnixNano": "1796073432944606335", "endTimeUnixNano": "1796073432958957556", "durationMs": 14.351221, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c1daa4c08ec8b37f31c1cf39616e3e7a", "spanId": "d277fd0cf2e82ec8", "startTimeUnixNano": "1796073432944584284", "endTimeUnixNano": "1796073432958969869", "durationMs": 14.385585, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "28301729fbeefd87ec2a8db09768fcc2", "spanId": "a5f43f6a852cc777", "parentSpanId": "1c4a191042cba11b", "startTimeUnixNano": "1796073434362763881", "endTimeUnixNano": "1796073434362928708", "durationMs": 0.164827, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "28301729fbeefd87ec2a8db09768fcc2", "spanId": "729a14f757367591", "parentSpanId": "6bfc2d21622d3af9", "startTimeUnixNano": "1796073434362976316", "endTimeUnixNano": "1796073434363666712", "durationMs": 0.690396, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006422}}
{"type": "effect-span", "name": "sqlite", "traceId": "28301729fbeefd87ec2a8db09768fcc2", "spanId": "f0c399382ceb26d0", "parentSpanId": "6bfc2d21622d3af9", "startTimeUnixNano": "1796073434363758483", "endTimeUnixNano": "1796073434365619217", "durationMs": 1.860734, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011762}}
{"type": "effect-span", "name": "sqlite", "traceId": "28301729fbeefd87ec2a8db09768fcc2", "spanId": "6c13fd2942ea4102", "parentSpanId": "6bfc2d21622d3af9", "startTimeUnixNano": "1796073434365635087", "endTimeUnixNano": "1796073434366632985", "durationMs": 0.997898, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006532}}
{"type": "effect-span", "name": "sqlite", "traceId": "28301729fbeefd87ec2a8db09768fcc2", "spanId": "be00f9e5c01fa36f", "parentSpanId": "6bfc2d21622d3af9", "startTimeUnixNano": "1796073434370481611", "endTimeUnixNano": "1796073434371623447", "durationMs": 1.141836, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012614}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "28301729fbeefd87ec2a8db09768fcc2", "spanId": "6bfc2d21622d3af9", "parentSpanId": "1c4a191042cba11b", "startTimeUnixNano": "1796073434362966187", "endTimeUnixNano": "1796073434371839410", "durationMs": 8.873223, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "28301729fbeefd87ec2a8db09768fcc2", "spanId": "cc62e40016de9509", "parentSpanId": "1c4a191042cba11b", "startTimeUnixNano": "1796073434371884123", "endTimeUnixNano": "1796073434382110595", "durationMs": 10.226472, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "28301729fbeefd87ec2a8db09768fcc2", "spanId": "1c4a191042cba11b", "parentSpanId": "bf59016623e35878", "startTimeUnixNano": "1796073434360787591", "endTimeUnixNano": "1796073434382144678", "durationMs": 21.357087, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.97126, "db.connection": "reader", "db.lock_wait_ms": 1.934}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "28301729fbeefd87ec2a8db09768fcc2", "spanId": "bf59016623e35878", "parentSpanId": "f15d68ac93a65ea1", "startTimeUnixNano": "1796073434360779335", "endTimeUnixNano": "1796073434382160288", "durationMs": 21.380953, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "28301729fbeefd87ec2a8db09768fcc2", "spanId": "f15d68ac93a65ea1", "parentSpanId": "2b827b1bf8cf73db", "startTimeUnixNano": "1796073434360742627", "endTimeUnixNano": "1796073434382165227", "durationMs": 21.4226, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "28301729fbeefd87ec2a8db09768fcc2", "spanId": "2b827b1bf8cf73db", "startTimeUnixNano": "1796073434360728651", "endTimeUnixNano": "1796073434382171438", "durationMs": 21.442787, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3e004932c99fd27ea138160a502834ef", "spanId": "8afba71ce6282523", "parentSpanId": "93cac94e06e667ed", "startTimeUnixNano": "1796073434597565073", "endTimeUnixNano": "1796073434597887173", "durationMs": 0.3221, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3e004932c99fd27ea138160a502834ef", "spanId": "990841cfd4adfae2", "parentSpanId": "d3f807d1751f2a57", "startTimeUnixNano": "1796073434597943197", "endTimeUnixNano": "1796073434598207259", "durationMs": 0.264062, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007224}}
{"type": "effect-span", "name": "sqlite", "traceId": "3e004932c99fd27ea138160a502834ef", "spanId": "3a59057e223b8057", "parentSpanId": "d3f807d1751f2a57", "startTimeUnixNano": "1796073434598298779", "endTimeUnixNano": "1796073434599542125", "durationMs": 1.243346, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012223}}
{"type": "effect-span", "name": "sqlite", "traceId": "3e004932c99fd27ea138160a502834ef", "spanId": "82bc8c741036975e", "parentSpanId": "d3f807d1751f2a57", "startTimeUnixNano": "1796073434599559537", "endTimeUnixNano": "1796073434600299795", "durationMs": 0.740258, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007073}}
{"type": "effect-span", "name": "sqlite", "traceId": "3e004932c99fd27ea138160a502834ef", "spanId": "3af2ee51bd568c1e", "parentSpanId": "d3f807d1751f2a57", "startTimeUnixNano": "1796073434603949632", "endTimeUnixNano": "1796073434605817359", "durationMs": 1.867727, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014026}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3e004932c99fd27ea138160a502834ef", "spanId": "d3f807d1751f2a57", "parentSpanId": "93cac94e06e667ed", "startTimeUnixNano": "1796073434597933469", "endTimeUnixNano": "1796073434606044512", "durationMs": 8.111043, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3e004932c99fd27ea138160a502834ef", "spanId": "7a3167fccaa7e49a", "parentSpanId": "93cac94e06e667ed", "startTimeUnixNano": "1796073434606055934", "endTimeUnixNano": "1796073434607410506", "durationMs": 1.354572, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3e004932c99fd27ea138160a502834ef", "spanId": "93cac94e06e667ed", "parentSpanId": "364974bc6dae3f4c", "startTimeUnixNano": "1796073434594055138", "endTimeUnixNano": "1796073434607463334", "durationMs": 13.408196, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.506569, "db.connection": "reader", "db.lock_wait_ms": 3.478}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3e004932c99fd27ea138160a502834ef", "spanId": "364974bc6dae3f4c", "parentSpanId": "097b7c4a2b3a6f7c", "startTimeUnixNano": "1796073434594045950", "endTimeUnixNano": "1796073434607489854", "durationMs": 13.443904, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3e004932c99fd27ea138160a502834ef", "spanId": "097b7c4a2b3a6f7c", "parentSpanId": "fd8b72fdb53529a7", "startTimeUnixNano": "1796073434594011897", "endTimeUnixNano": "1796073434607496927", "durationMs": 13.48503, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3e004932c99fd27ea138160a502834ef", "spanId": "fd8b72fdb53529a7", "startTimeUnixNano": "1796073434593998161", "endTimeUnixNano": "1796073434607507306", "durationMs": 13.509145, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b7a0b41e259bf45bdabfc99edde28033", "spanId": "ebf8ca3796f917ee", "parentSpanId": "93d4e3c5c779fd86", "startTimeUnixNano": "1796073435924377938", "endTimeUnixNano": "1796073435925052374", "durationMs": 0.674436, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b7a0b41e259bf45bdabfc99edde28033", "spanId": "00e70cb6cb797a5d", "parentSpanId": "6d3ab93ad3046d9e", "startTimeUnixNano": "1796073435925092037", "endTimeUnixNano": "1796073435925776612", "durationMs": 0.684575, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004849}}
{"type": "effect-span", "name": "sqlite", "traceId": "b7a0b41e259bf45bdabfc99edde28033", "spanId": "819664e9b8b403ae", "parentSpanId": "6d3ab93ad3046d9e", "startTimeUnixNano": "1796073435925843106", "endTimeUnixNano": "1796073435926870729", "durationMs": 1.027623, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008305}}
{"type": "effect-span", "name": "sqlite", "traceId": "b7a0b41e259bf45bdabfc99edde28033", "spanId": "94287a6330000354", "parentSpanId": "6d3ab93ad3046d9e", "startTimeUnixNano": "1796073435926884195", "endTimeUnixNano": "1796073435928086594", "durationMs": 1.202399, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008445}}
{"type": "effect-span", "name": "sqlite", "traceId": "b7a0b41e259bf45bdabfc99edde28033", "spanId": "0fc845248d08fe02", "parentSpanId": "6d3ab93ad3046d9e", "startTimeUnixNano": "1796073435933706729", "endTimeUnixNano": "1796073435936521921", "durationMs": 2.815192, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010539}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b7a0b41e259bf45bdabfc99edde28033", "spanId": "6d3ab93ad3046d9e", "parentSpanId": "93d4e3c5c779fd86", "startTimeUnixNano": "1796073435925084533", "endTimeUnixNano": "1796073435936792495", "durationMs": 11.707962, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b7a0b41e259bf45bdabfc99edde28033", "spanId": "a7a68507379c65cc", "parentSpanId": "93d4e3c5c779fd86", "startTimeUnixNano": "1796073435936814175", "endTimeUnixNano": "1796073435938899919", "durationMs": 2.085744, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b7a0b41e259bf45bdabfc99edde28033", "spanId": "93d4e3c5c779fd86", "parentSpanId": "9689843608d4b565", "startTimeUnixNano": "1796073435923054203", "endTimeUnixNano": "1796073435938923873", "durationMs": 15.86967, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.319497, "db.connection": "reader", "db.lock_wait_ms": 1.285}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b7a0b41e259bf45bdabfc99edde28033", "spanId": "9689843608d4b565", "parentSpanId": "1e62f0493580f409", "startTimeUnixNano": "1796073435923045957", "endTimeUnixNano": "1796073435938939813", "durationMs": 15.893856, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b7a0b41e259bf45bdabfc99edde28033", "spanId": "1e62f0493580f409", "parentSpanId": "fce19df34359926f", "startTimeUnixNano": "1796073435922999691", "endTimeUnixNano": "1796073435938946325", "durationMs": 15.946634, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b7a0b41e259bf45bdabfc99edde28033", "spanId": "fce19df34359926f", "startTimeUnixNano": "1796073435922983792", "endTimeUnixNano": "1796073435938953629", "durationMs": 15.969837, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f523544beda6cedc91ef5954ee0bb1b4", "spanId": "2fdef1c299226076", "parentSpanId": "3319a73da1408d50", "startTimeUnixNano": "1796073436133721289", "endTimeUnixNano": "1796073436133952921", "durationMs": 0.231632, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f523544beda6cedc91ef5954ee0bb1b4", "spanId": "2a88592612036622", "parentSpanId": "8d650f5e6a1712b1", "startTimeUnixNano": "1796073436134016960", "endTimeUnixNano": "1796073436134302772", "durationMs": 0.285812, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007404}}
{"type": "effect-span", "name": "sqlite", "traceId": "f523544beda6cedc91ef5954ee0bb1b4", "spanId": "8eec56be9cf88394", "parentSpanId": "8d650f5e6a1712b1", "startTimeUnixNano": "1796073436134402087", "endTimeUnixNano": "1796073436141034478", "durationMs": 6.632391, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013365}}
{"type": "effect-span", "name": "sqlite", "traceId": "f523544beda6cedc91ef5954ee0bb1b4", "spanId": "209de58b4a74b952", "parentSpanId": "8d650f5e6a1712b1", "startTimeUnixNano": "1796073436141062610", "endTimeUnixNano": "1796073436142304112", "durationMs": 1.241502, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011742}}
{"type": "effect-span", "name": "sqlite", "traceId": "f523544beda6cedc91ef5954ee0bb1b4", "spanId": "6abb2bc0e076beab", "parentSpanId": "8d650f5e6a1712b1", "startTimeUnixNano": "1796073436146708433", "endTimeUnixNano": "1796073436148334451", "durationMs": 1.626018, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.0106}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f523544beda6cedc91ef5954ee0bb1b4", "spanId": "8d650f5e6a1712b1", "parentSpanId": "3319a73da1408d50", "startTimeUnixNano": "1796073436134001982", "endTimeUnixNano": "1796073436148568758", "durationMs": 14.566776, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f523544beda6cedc91ef5954ee0bb1b4", "spanId": "cc5775976d1a1ac5", "parentSpanId": "3319a73da1408d50", "startTimeUnixNano": "1796073436148584367", "endTimeUnixNano": "1796073436148996734", "durationMs": 0.412367, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f523544beda6cedc91ef5954ee0bb1b4", "spanId": "3319a73da1408d50", "parentSpanId": "9525ad1469a100fb", "startTimeUnixNano": "1796073436131694766", "endTimeUnixNano": "1796073436149031760", "durationMs": 17.336994, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.01926, "db.connection": "reader", "db.lock_wait_ms": 1.988}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f523544beda6cedc91ef5954ee0bb1b4", "spanId": "9525ad1469a100fb", "parentSpanId": "23903f917dd83171", "startTimeUnixNano": "1796073436131687422", "endTimeUnixNano": "1796073436149061044", "durationMs": 17.373622, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f523544beda6cedc91ef5954ee0bb1b4", "spanId": "23903f917dd83171", "parentSpanId": "6661931d95d0805e", "startTimeUnixNano": "1796073436131657516", "endTimeUnixNano": "1796073436149070331", "durationMs": 17.412815, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f523544beda6cedc91ef5954ee0bb1b4", "spanId": "6661931d95d0805e", "startTimeUnixNano": "1796073436131644382", "endTimeUnixNano": "1796073436149082464", "durationMs": 17.438082, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fb816306660838404a06c5c12863c087", "spanId": "11bdb8f2d4a0c21d", "parentSpanId": "cc86db022d819b90", "startTimeUnixNano": "1796073437403075028", "endTimeUnixNano": "1796073437403297182", "durationMs": 0.222154, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fb816306660838404a06c5c12863c087", "spanId": "0f5651fe3824af54", "parentSpanId": "5ea604b86d36d9aa", "startTimeUnixNano": "1796073437403329973", "endTimeUnixNano": "1796073437403905695", "durationMs": 0.575722, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.0054}}
{"type": "effect-span", "name": "sqlite", "traceId": "fb816306660838404a06c5c12863c087", "spanId": "3e01230e58150a69", "parentSpanId": "5ea604b86d36d9aa", "startTimeUnixNano": "1796073437403980454", "endTimeUnixNano": "1796073437405179026", "durationMs": 1.198572, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014637}}
{"type": "effect-span", "name": "sqlite", "traceId": "fb816306660838404a06c5c12863c087", "spanId": "06d09989f832203e", "parentSpanId": "5ea604b86d36d9aa", "startTimeUnixNano": "1796073437405196769", "endTimeUnixNano": "1796073437406181743", "durationMs": 0.984974, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008175}}
{"type": "effect-span", "name": "sqlite", "traceId": "fb816306660838404a06c5c12863c087", "spanId": "08e0ebda65600032", "parentSpanId": "5ea604b86d36d9aa", "startTimeUnixNano": "1796073437411839629", "endTimeUnixNano": "1796073437414245730", "durationMs": 2.406101, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009398}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fb816306660838404a06c5c12863c087", "spanId": "5ea604b86d36d9aa", "parentSpanId": "cc86db022d819b90", "startTimeUnixNano": "1796073437403324022", "endTimeUnixNano": "1796073437414530731", "durationMs": 11.206709, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fb816306660838404a06c5c12863c087", "spanId": "c0d293b1b20ac4dc", "parentSpanId": "cc86db022d819b90", "startTimeUnixNano": "1796073437414546921", "endTimeUnixNano": "1796073437414869241", "durationMs": 0.32232, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fb816306660838404a06c5c12863c087", "spanId": "cc86db022d819b90", "parentSpanId": "2bbddb807755e40b", "startTimeUnixNano": "1796073437401071607", "endTimeUnixNano": "1796073437414891042", "durationMs": 13.819435, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.998672, "db.connection": "reader", "db.lock_wait_ms": 1.965}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fb816306660838404a06c5c12863c087", "spanId": "2bbddb807755e40b", "parentSpanId": "c42215933744c9b8", "startTimeUnixNano": "1796073437401064394", "endTimeUnixNano": "1796073437414909606", "durationMs": 13.845212, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fb816306660838404a06c5c12863c087", "spanId": "c42215933744c9b8", "parentSpanId": "ff4f4afb764faf03", "startTimeUnixNano": "1796073437401026533", "endTimeUnixNano": "1796073437414917511", "durationMs": 13.890978, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fb816306660838404a06c5c12863c087", "spanId": "ff4f4afb764faf03", "startTimeUnixNano": "1796073437401009301", "endTimeUnixNano": "1796073437414924864", "durationMs": 13.915563, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c7a439a1ddd04c49cdcc7191cc02afc8", "spanId": "4c6360a7f83073eb", "parentSpanId": "d8244aca2cf0e3a7", "startTimeUnixNano": "1796073437615219066", "endTimeUnixNano": "1796073437615563938", "durationMs": 0.344872, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c7a439a1ddd04c49cdcc7191cc02afc8", "spanId": "a031042f4e338629", "parentSpanId": "ce18374676a5cdc7", "startTimeUnixNano": "1796073437615597701", "endTimeUnixNano": "1796073437615749805", "durationMs": 0.152104, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004408}}
{"type": "effect-span", "name": "sqlite", "traceId": "c7a439a1ddd04c49cdcc7191cc02afc8", "spanId": "8c168b4359fd085b", "parentSpanId": "ce18374676a5cdc7", "startTimeUnixNano": "1796073437615816779", "endTimeUnixNano": "1796073437616941263", "durationMs": 1.124484, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009207}}
{"type": "effect-span", "name": "sqlite", "traceId": "c7a439a1ddd04c49cdcc7191cc02afc8", "spanId": "1c718c941ded0b4b", "parentSpanId": "ce18374676a5cdc7", "startTimeUnixNano": "1796073437616953576", "endTimeUnixNano": "1796073437618633665", "durationMs": 1.680089, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005591}}
{"type": "effect-span", "name": "sqlite", "traceId": "c7a439a1ddd04c49cdcc7191cc02afc8", "spanId": "b1466a067e86863a", "parentSpanId": "ce18374676a5cdc7", "startTimeUnixNano": "1796073437622172885", "endTimeUnixNano": "1796073437623695731", "durationMs": 1.522846, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012123}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c7a439a1ddd04c49cdcc7191cc02afc8", "spanId": "ce18374676a5cdc7", "parentSpanId": "d8244aca2cf0e3a7", "startTimeUnixNano": "1796073437615592492", "endTimeUnixNano": "1796073437623913757", "durationMs": 8.321265, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c7a439a1ddd04c49cdcc7191cc02afc8", "spanId": "6ceefd60311289ad", "parentSpanId": "d8244aca2cf0e3a7", "startTimeUnixNano": "1796073437623924788", "endTimeUnixNano": "1796073437624079336", "durationMs": 0.154548, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c7a439a1ddd04c49cdcc7191cc02afc8", "spanId": "d8244aca2cf0e3a7", "parentSpanId": "d9990fad570a477f", "startTimeUnixNano": "1796073437613842032", "endTimeUnixNano": "1796073437624094414", "durationMs": 10.252382, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.372896, "db.connection": "reader", "db.lock_wait_ms": 1.343}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c7a439a1ddd04c49cdcc7191cc02afc8", "spanId": "d9990fad570a477f", "parentSpanId": "9aecef56ad832cbb", "startTimeUnixNano": "1796073437613835329", "endTimeUnixNano": "1796073437624106466", "durationMs": 10.271137, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c7a439a1ddd04c49cdcc7191cc02afc8", "spanId": "9aecef56ad832cbb", "parentSpanId": "3da0ca0d34c1e407", "startTimeUnixNano": "1796073437613806636", "endTimeUnixNano": "1796073437624111545", "durationMs": 10.304909, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c7a439a1ddd04c49cdcc7191cc02afc8", "spanId": "3da0ca0d34c1e407", "startTimeUnixNano": "1796073437613794063", "endTimeUnixNano": "1796073437624118659", "durationMs": 10.324596, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a404cfdfa6009ef24d60054921b3ecc4", "spanId": "855c1b0d3c638956", "parentSpanId": "b23807eb18367e74", "startTimeUnixNano": "1796073438843270868", "endTimeUnixNano": "1796073438843933292", "durationMs": 0.662424, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a404cfdfa6009ef24d60054921b3ecc4", "spanId": "6626ee18de75b2f9", "parentSpanId": "909a11980b6da7ca", "startTimeUnixNano": "1796073438843976041", "endTimeUnixNano": "1796073438844665696", "durationMs": 0.689655, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00494}}
{"type": "effect-span", "name": "sqlite", "traceId": "a404cfdfa6009ef24d60054921b3ecc4", "spanId": "a357f9491e7f2d4c", "parentSpanId": "909a11980b6da7ca", "startTimeUnixNano": "1796073438844733372", "endTimeUnixNano": "1796073438845532560", "durationMs": 0.799188, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008515}}
{"type": "effect-span", "name": "sqlite", "traceId": "a404cfdfa6009ef24d60054921b3ecc4", "spanId": "806f9b7d1edd9b47", "parentSpanId": "909a11980b6da7ca", "startTimeUnixNano": "1796073438845546075", "endTimeUnixNano": "1796073438846471989", "durationMs": 0.925914, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008496}}
{"type": "effect-span", "name": "sqlite", "traceId": "a404cfdfa6009ef24d60054921b3ecc4", "spanId": "c7103e90880eb82b", "parentSpanId": "909a11980b6da7ca", "startTimeUnixNano": "1796073438852448889", "endTimeUnixNano": "1796073438855081222", "durationMs": 2.632333, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019467}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a404cfdfa6009ef24d60054921b3ecc4", "spanId": "909a11980b6da7ca", "parentSpanId": "b23807eb18367e74", "startTimeUnixNano": "1796073438843964680", "endTimeUnixNano": "1796073438855390578", "durationMs": 11.425898, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a404cfdfa6009ef24d60054921b3ecc4", "spanId": "a6e410ca9008be5d", "parentSpanId": "b23807eb18367e74", "startTimeUnixNano": "1796073438855425493", "endTimeUnixNano": "1796073438855641415", "durationMs": 0.215922, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a404cfdfa6009ef24d60054921b3ecc4", "spanId": "b23807eb18367e74", "parentSpanId": "12dd61afd3a0b812", "startTimeUnixNano": "1796073438841836066", "endTimeUnixNano": "1796073438855669527", "durationMs": 13.833461, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.430645, "db.connection": "reader", "db.lock_wait_ms": 1.397}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a404cfdfa6009ef24d60054921b3ecc4", "spanId": "12dd61afd3a0b812", "parentSpanId": "ac90054db3f7ee1a", "startTimeUnixNano": "1796073438841828292", "endTimeUnixNano": "1796073438855694323", "durationMs": 13.866031, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a404cfdfa6009ef24d60054921b3ecc4", "spanId": "ac90054db3f7ee1a", "parentSpanId": "f174f96184fbe4a5", "startTimeUnixNano": "1796073438841788548", "endTimeUnixNano": "1796073438855703360", "durationMs": 13.914812, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a404cfdfa6009ef24d60054921b3ecc4", "spanId": "f174f96184fbe4a5", "startTimeUnixNano": "1796073438841771747", "endTimeUnixNano": "1796073438855715222", "durationMs": 13.943475, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "020e49cd3fa56b3972e35c959da754cc", "spanId": "0f9208909a950e44", "parentSpanId": "0160e1534299dd65", "startTimeUnixNano": "1796073439077073360", "endTimeUnixNano": "1796073439077263684", "durationMs": 0.190324, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "020e49cd3fa56b3972e35c959da754cc", "spanId": "4dd4e25ce0293987", "parentSpanId": "f9a42e2811ec94a3", "startTimeUnixNano": "1796073439077304630", "endTimeUnixNano": "1796073439077528678", "durationMs": 0.224048, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004849}}
{"type": "effect-span", "name": "sqlite", "traceId": "020e49cd3fa56b3972e35c959da754cc", "spanId": "671e8aaa96e109b9", "parentSpanId": "f9a42e2811ec94a3", "startTimeUnixNano": "1796073439077596774", "endTimeUnixNano": "1796073439078212591", "durationMs": 0.615817, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007695}}
{"type": "effect-span", "name": "sqlite", "traceId": "020e49cd3fa56b3972e35c959da754cc", "spanId": "331ab9f3db7c2eea", "parentSpanId": "f9a42e2811ec94a3", "startTimeUnixNano": "1796073439078228611", "endTimeUnixNano": "1796073439078933413", "durationMs": 0.704802, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008005}}
{"type": "effect-span", "name": "sqlite", "traceId": "020e49cd3fa56b3972e35c959da754cc", "spanId": "f306d0eb2e858091", "parentSpanId": "f9a42e2811ec94a3", "startTimeUnixNano": "1796073439083426320", "endTimeUnixNano": "1796073439084691877", "durationMs": 1.265557, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.030998}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "020e49cd3fa56b3972e35c959da754cc", "spanId": "f9a42e2811ec94a3", "parentSpanId": "0160e1534299dd65", "startTimeUnixNano": "1796073439077299571", "endTimeUnixNano": "1796073439084898442", "durationMs": 7.598871, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "020e49cd3fa56b3972e35c959da754cc", "spanId": "94b23b297045f0ee", "parentSpanId": "0160e1534299dd65", "startTimeUnixNano": "1796073439084920032", "endTimeUnixNano": "1796073439085503038", "durationMs": 0.583006, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "020e49cd3fa56b3972e35c959da754cc", "spanId": "0160e1534299dd65", "parentSpanId": "39561c890ccf1d53", "startTimeUnixNano": "1796073439075776755", "endTimeUnixNano": "1796073439085527463", "durationMs": 9.750708, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.294, "db.connection": "reader", "db.lock_wait_ms": 1.222}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "020e49cd3fa56b3972e35c959da754cc", "spanId": "39561c890ccf1d53", "parentSpanId": "0075db4a627f37fe", "startTimeUnixNano": "1796073439075767107", "endTimeUnixNano": "1796073439085541620", "durationMs": 9.774513, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "020e49cd3fa56b3972e35c959da754cc", "spanId": "0075db4a627f37fe", "parentSpanId": "ecdcd90e25e1f307", "startTimeUnixNano": "1796073439075707276", "endTimeUnixNano": "1796073439085546980", "durationMs": 9.839704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "020e49cd3fa56b3972e35c959da754cc", "spanId": "ecdcd90e25e1f307", "startTimeUnixNano": "1796073439075693590", "endTimeUnixNano": "1796073439085554223", "durationMs": 9.860633, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "809e87396345c55f0fe9d69a4e0e473c", "spanId": "76b1ca03afd9c45e", "parentSpanId": "c45bd713e96e8ccc", "startTimeUnixNano": "1796073440407536964", "endTimeUnixNano": "1796073440412295576", "durationMs": 4.758612, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "809e87396345c55f0fe9d69a4e0e473c", "spanId": "b802575f6e3e9edb", "parentSpanId": "dc62e532bd5a3d55", "startTimeUnixNano": "1796073440412394811", "endTimeUnixNano": "1796073440413583675", "durationMs": 1.188864, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007163}}
{"type": "effect-span", "name": "sqlite", "traceId": "809e87396345c55f0fe9d69a4e0e473c", "spanId": "4843f39769ed7986", "parentSpanId": "dc62e532bd5a3d55", "startTimeUnixNano": "1796073440413717854", "endTimeUnixNano": "1796073440415116719", "durationMs": 1.398865, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016341}}
{"type": "effect-span", "name": "sqlite", "traceId": "809e87396345c55f0fe9d69a4e0e473c", "spanId": "953d8c7562f7943c", "parentSpanId": "dc62e532bd5a3d55", "startTimeUnixNano": "1796073440415138760", "endTimeUnixNano": "1796073440416397755", "durationMs": 1.258995, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.019046}}
{"type": "effect-span", "name": "sqlite", "traceId": "809e87396345c55f0fe9d69a4e0e473c", "spanId": "15345d6e7b1d96ca", "parentSpanId": "dc62e532bd5a3d55", "startTimeUnixNano": "1796073440421292000", "endTimeUnixNano": "1796073440426233422", "durationMs": 4.941422, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 2.562201}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "809e87396345c55f0fe9d69a4e0e473c", "spanId": "dc62e532bd5a3d55", "parentSpanId": "c45bd713e96e8ccc", "startTimeUnixNano": "1796073440412382357", "endTimeUnixNano": "1796073440426525887", "durationMs": 14.14353, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "809e87396345c55f0fe9d69a4e0e473c", "spanId": "d1cdbff6c4f4d8df", "parentSpanId": "c45bd713e96e8ccc", "startTimeUnixNano": "1796073440426550052", "endTimeUnixNano": "1796073440426757698", "durationMs": 0.207646, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "809e87396345c55f0fe9d69a4e0e473c", "spanId": "c45bd713e96e8ccc", "parentSpanId": "0db87f765c30a63f", "startTimeUnixNano": "1796073440405063497", "endTimeUnixNano": "1796073440426784077", "durationMs": 21.72058, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.457878, "db.connection": "reader", "db.lock_wait_ms": 2.416}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "809e87396345c55f0fe9d69a4e0e473c", "spanId": "0db87f765c30a63f", "parentSpanId": "899f50b18351f38f", "startTimeUnixNano": "1796073440405042428", "endTimeUnixNano": "1796073440426808603", "durationMs": 21.766175, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "809e87396345c55f0fe9d69a4e0e473c", "spanId": "899f50b18351f38f", "parentSpanId": "50dd00726d5fa24b", "startTimeUnixNano": "1796073440404965555", "endTimeUnixNano": "1796073440426819253", "durationMs": 21.853698, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "809e87396345c55f0fe9d69a4e0e473c", "spanId": "50dd00726d5fa24b", "startTimeUnixNano": "1796073440404931492", "endTimeUnixNano": "1796073440426830283", "durationMs": 21.898791, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "eb32eb61ea0ce7aeab4bf027cb46be14", "spanId": "e19077916430eb4b", "parentSpanId": "26f15d72112830c9", "startTimeUnixNano": "1796073440624526710", "endTimeUnixNano": "1796073440625088426", "durationMs": 0.561716, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb32eb61ea0ce7aeab4bf027cb46be14", "spanId": "051f7d80832ce60b", "parentSpanId": "b16ea0dc7666856f", "startTimeUnixNano": "1796073440625121267", "endTimeUnixNano": "1796073440625512906", "durationMs": 0.391639, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007484}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb32eb61ea0ce7aeab4bf027cb46be14", "spanId": "85bbc1280cb9b7b9", "parentSpanId": "b16ea0dc7666856f", "startTimeUnixNano": "1796073440625577226", "endTimeUnixNano": "1796073440627472476", "durationMs": 1.89525, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008085}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb32eb61ea0ce7aeab4bf027cb46be14", "spanId": "d5c4b911737bf2f1", "parentSpanId": "b16ea0dc7666856f", "startTimeUnixNano": "1796073440627489708", "endTimeUnixNano": "1796073440630033235", "durationMs": 2.543527, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008536}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb32eb61ea0ce7aeab4bf027cb46be14", "spanId": "b4e014869f32134c", "parentSpanId": "b16ea0dc7666856f", "startTimeUnixNano": "1796073440635793873", "endTimeUnixNano": "1796073440637782436", "durationMs": 1.988563, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.501914}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "eb32eb61ea0ce7aeab4bf027cb46be14", "spanId": "b16ea0dc7666856f", "parentSpanId": "26f15d72112830c9", "startTimeUnixNano": "1796073440625115186", "endTimeUnixNano": "1796073440638093044", "durationMs": 12.977858, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "eb32eb61ea0ce7aeab4bf027cb46be14", "spanId": "583400fd0c67f1b7", "parentSpanId": "26f15d72112830c9", "startTimeUnixNano": "1796073440638124413", "endTimeUnixNano": "1796073440639865655", "durationMs": 1.741242, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "eb32eb61ea0ce7aeab4bf027cb46be14", "spanId": "26f15d72112830c9", "parentSpanId": "8cdef3697b16973a", "startTimeUnixNano": "1796073440623557144", "endTimeUnixNano": "1796073440639908565", "durationMs": 16.351421, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 0.965939, "db.connection": "reader", "db.lock_wait_ms": 0.939}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "eb32eb61ea0ce7aeab4bf027cb46be14", "spanId": "8cdef3697b16973a", "parentSpanId": "e8b0818fe650618d", "startTimeUnixNano": "1796073440623548719", "endTimeUnixNano": "1796073440639935215", "durationMs": 16.386496, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "eb32eb61ea0ce7aeab4bf027cb46be14", "spanId": "e8b0818fe650618d", "parentSpanId": "2f6730d6ea0ab710", "startTimeUnixNano": "1796073440623520726", "endTimeUnixNano": "1796073440639952497", "durationMs": 16.431771, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "eb32eb61ea0ce7aeab4bf027cb46be14", "spanId": "2f6730d6ea0ab710", "startTimeUnixNano": "1796073440623507011", "endTimeUnixNano": "1796073440639968517", "durationMs": 16.461506, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ed5616881029afbd938640dd4ee6d097", "spanId": "70a865d3cdeb2188", "parentSpanId": "5927881ee82a682c", "startTimeUnixNano": "1796073441967313855", "endTimeUnixNano": "1796073441967476798", "durationMs": 0.162943, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ed5616881029afbd938640dd4ee6d097", "spanId": "515a067e475bb637", "parentSpanId": "9eb5ac84aec95a3c", "startTimeUnixNano": "1796073441967520239", "endTimeUnixNano": "1796073441968108445", "durationMs": 0.588206, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005731}}
{"type": "effect-span", "name": "sqlite", "traceId": "ed5616881029afbd938640dd4ee6d097", "spanId": "c1879712075d3eb1", "parentSpanId": "9eb5ac84aec95a3c", "startTimeUnixNano": "1796073441968185298", "endTimeUnixNano": "1796073441969021275", "durationMs": 0.835977, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011401}}
{"type": "effect-span", "name": "sqlite", "traceId": "ed5616881029afbd938640dd4ee6d097", "spanId": "241daf7d0c50261f", "parentSpanId": "9eb5ac84aec95a3c", "startTimeUnixNano": "1796073441969039478", "endTimeUnixNano": "1796073441969827977", "durationMs": 0.788499, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009067}}
{"type": "effect-span", "name": "sqlite", "traceId": "ed5616881029afbd938640dd4ee6d097", "spanId": "8975d071275023f9", "parentSpanId": "9eb5ac84aec95a3c", "startTimeUnixNano": "1796073441976733357", "endTimeUnixNano": "1796073441981495195", "durationMs": 4.761838, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012663}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ed5616881029afbd938640dd4ee6d097", "spanId": "9eb5ac84aec95a3c", "parentSpanId": "5927881ee82a682c", "startTimeUnixNano": "1796073441967513937", "endTimeUnixNano": "1796073441981726395", "durationMs": 14.212458, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ed5616881029afbd938640dd4ee6d097", "spanId": "a5637cef2d45cf03", "parentSpanId": "5927881ee82a682c", "startTimeUnixNano": "1796073441981746924", "endTimeUnixNano": "1796073441981931648", "durationMs": 0.184724, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ed5616881029afbd938640dd4ee6d097", "spanId": "5927881ee82a682c", "parentSpanId": "bcca5c6e06b22fd3", "startTimeUnixNano": "1796073441965165103", "endTimeUnixNano": "1796073441981963146", "durationMs": 16.798043, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.144424, "db.connection": "reader", "db.lock_wait_ms": 2.107}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ed5616881029afbd938640dd4ee6d097", "spanId": "bcca5c6e06b22fd3", "parentSpanId": "d41e1e0fd2a29495", "startTimeUnixNano": "1796073441965156768", "endTimeUnixNano": "1796073441981981170", "durationMs": 16.824402, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ed5616881029afbd938640dd4ee6d097", "spanId": "d41e1e0fd2a29495", "parentSpanId": "c1b1df16fa728e57", "startTimeUnixNano": "1796073441965112726", "endTimeUnixNano": "1796073441981986911", "durationMs": 16.874185, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ed5616881029afbd938640dd4ee6d097", "spanId": "c1b1df16fa728e57", "startTimeUnixNano": "1796073441965096766", "endTimeUnixNano": "1796073441981994485", "durationMs": 16.897719, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "da320b8593d9a0b2e6fe5d626f2745a7", "spanId": "8cba637bbd857c74", "parentSpanId": "b02e83732ccdc9ac", "startTimeUnixNano": "1796073442164243938", "endTimeUnixNano": "1796073442164564374", "durationMs": 0.320436, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "da320b8593d9a0b2e6fe5d626f2745a7", "spanId": "6e2bac20eb0f7ef3", "parentSpanId": "8b41e40f09a3ae45", "startTimeUnixNano": "1796073442164595723", "endTimeUnixNano": "1796073442164738469", "durationMs": 0.142746, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004528}}
{"type": "effect-span", "name": "sqlite", "traceId": "da320b8593d9a0b2e6fe5d626f2745a7", "spanId": "f26db01d2c6f833f", "parentSpanId": "8b41e40f09a3ae45", "startTimeUnixNano": "1796073442164800614", "endTimeUnixNano": "1796073442165419477", "durationMs": 0.618863, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007584}}
{"type": "effect-span", "name": "sqlite", "traceId": "da320b8593d9a0b2e6fe5d626f2745a7", "spanId": "06ad7cb9354512b8", "parentSpanId": "8b41e40f09a3ae45", "startTimeUnixNano": "1796073442165446116", "endTimeUnixNano": "1796073442166352234", "durationMs": 0.906118, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008717}}
{"type": "effect-span", "name": "sqlite", "traceId": "da320b8593d9a0b2e6fe5d626f2745a7", "spanId": "b820acebf46755ef", "parentSpanId": "8b41e40f09a3ae45", "startTimeUnixNano": "1796073442172814589", "endTimeUnixNano": "1796073442175225589", "durationMs": 2.411, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.024486}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "da320b8593d9a0b2e6fe5d626f2745a7", "spanId": "8b41e40f09a3ae45", "parentSpanId": "b02e83732ccdc9ac", "startTimeUnixNano": "1796073442164590713", "endTimeUnixNano": "1796073442175418689", "durationMs": 10.827976, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "da320b8593d9a0b2e6fe5d626f2745a7", "spanId": "11a6fc04d0aa8a76", "parentSpanId": "b02e83732ccdc9ac", "startTimeUnixNano": "1796073442175430110", "endTimeUnixNano": "1796073442175950750", "durationMs": 0.52064, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "da320b8593d9a0b2e6fe5d626f2745a7", "spanId": "b02e83732ccdc9ac", "parentSpanId": "f12e103aeb8aa273", "startTimeUnixNano": "1796073442163095509", "endTimeUnixNano": "1796073442175967491", "durationMs": 12.871982, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.145673, "db.connection": "reader", "db.lock_wait_ms": 1.12}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "da320b8593d9a0b2e6fe5d626f2745a7", "spanId": "f12e103aeb8aa273", "parentSpanId": "754c99e63a4e018c", "startTimeUnixNano": "1796073442163089377", "endTimeUnixNano": "1796073442175981497", "durationMs": 12.89212, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "da320b8593d9a0b2e6fe5d626f2745a7", "spanId": "754c99e63a4e018c", "parentSpanId": "026baecda12c5d92", "startTimeUnixNano": "1796073442163063669", "endTimeUnixNano": "1796073442175986617", "durationMs": 12.922948, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "da320b8593d9a0b2e6fe5d626f2745a7", "spanId": "026baecda12c5d92", "startTimeUnixNano": "1796073442163047810", "endTimeUnixNano": "1796073442175994161", "durationMs": 12.946351, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ec64a97bb317c5e7aad57fc8cccdf409", "spanId": "92bb8e0d1f2d23e0", "parentSpanId": "1d44ce8f4edb2d0b", "startTimeUnixNano": "1796073443387991006", "endTimeUnixNano": "1796073443388131287", "durationMs": 0.140281, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec64a97bb317c5e7aad57fc8cccdf409", "spanId": "4babc794b250ddba", "parentSpanId": "65d8e1f073f8edb5", "startTimeUnixNano": "1796073443388167866", "endTimeUnixNano": "1796073443388836120", "durationMs": 0.668254, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005359}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec64a97bb317c5e7aad57fc8cccdf409", "spanId": "96886e56d5418036", "parentSpanId": "65d8e1f073f8edb5", "startTimeUnixNano": "1796073443388915969", "endTimeUnixNano": "1796073443389562182", "durationMs": 0.646213, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010089}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec64a97bb317c5e7aad57fc8cccdf409", "spanId": "7282ac589c6355d2", "parentSpanId": "65d8e1f073f8edb5", "startTimeUnixNano": "1796073443389582129", "endTimeUnixNano": "1796073443390191875", "durationMs": 0.609746, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008697}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec64a97bb317c5e7aad57fc8cccdf409", "spanId": "610c61a590354445", "parentSpanId": "65d8e1f073f8edb5", "startTimeUnixNano": "1796073443397089862", "endTimeUnixNano": "1796073443399228134", "durationMs": 2.138272, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014276}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ec64a97bb317c5e7aad57fc8cccdf409", "spanId": "65d8e1f073f8edb5", "parentSpanId": "1d44ce8f4edb2d0b", "startTimeUnixNano": "1796073443388162445", "endTimeUnixNano": "1796073443399491865", "durationMs": 11.32942, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ec64a97bb317c5e7aad57fc8cccdf409", "spanId": "04dabb86de5499d6", "parentSpanId": "1d44ce8f4edb2d0b", "startTimeUnixNano": "1796073443399512684", "endTimeUnixNano": "1796073443399688020", "durationMs": 0.175336, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ec64a97bb317c5e7aad57fc8cccdf409", "spanId": "1d44ce8f4edb2d0b", "parentSpanId": "834b46b758133f2e", "startTimeUnixNano": "1796073443385796990", "endTimeUnixNano": "1796073443399721553", "durationMs": 13.924563, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.188586, "db.connection": "reader", "db.lock_wait_ms": 2.15}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ec64a97bb317c5e7aad57fc8cccdf409", "spanId": "834b46b758133f2e", "parentSpanId": "3f65fa42f58623fd", "startTimeUnixNano": "1796073443385788765", "endTimeUnixNano": "1796073443399745097", "durationMs": 13.956332, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ec64a97bb317c5e7aad57fc8cccdf409", "spanId": "3f65fa42f58623fd", "parentSpanId": "0eb1e6053d2f508b", "startTimeUnixNano": "1796073443385747888", "endTimeUnixNano": "1796073443399752581", "durationMs": 14.004693, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ec64a97bb317c5e7aad57fc8cccdf409", "spanId": "0eb1e6053d2f508b", "startTimeUnixNano": "1796073443385730556", "endTimeUnixNano": "1796073443399760405", "durationMs": 14.029849, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "46996dc5bb59ff91eb5e00f2c1df252b", "spanId": "97f3bbd00ceb1114", "parentSpanId": "4ba7db3b8484da67", "startTimeUnixNano": "1796073443609804711", "endTimeUnixNano": "1796073443610061108", "durationMs": 0.256397, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "46996dc5bb59ff91eb5e00f2c1df252b", "spanId": "9879241c54752863", "parentSpanId": "2b055ec0f220ffe0", "startTimeUnixNano": "1796073443610094671", "endTimeUnixNano": "1796073443610279124", "durationMs": 0.184453, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004398}}
{"type": "effect-span", "name": "sqlite", "traceId": "46996dc5bb59ff91eb5e00f2c1df252b", "spanId": "d190966ef9aee806", "parentSpanId": "2b055ec0f220ffe0", "startTimeUnixNano": "1796073443610338254", "endTimeUnixNano": "1796073443611346893", "durationMs": 1.008639, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008116}}
{"type": "effect-span", "name": "sqlite", "traceId": "46996dc5bb59ff91eb5e00f2c1df252b", "spanId": "2f716dfee72b8420", "parentSpanId": "2b055ec0f220ffe0", "startTimeUnixNano": "1796073443611365628", "endTimeUnixNano": "1796073443612292845", "durationMs": 0.927217, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007323}}
{"type": "effect-span", "name": "sqlite", "traceId": "46996dc5bb59ff91eb5e00f2c1df252b", "spanId": "8651fd554f23391c", "parentSpanId": "2b055ec0f220ffe0", "startTimeUnixNano": "1796073443617028204", "endTimeUnixNano": "1796073443618539949", "durationMs": 1.511745, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009167}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "46996dc5bb59ff91eb5e00f2c1df252b", "spanId": "2b055ec0f220ffe0", "parentSpanId": "4ba7db3b8484da67", "startTimeUnixNano": "1796073443610089551", "endTimeUnixNano": "1796073443618777582", "durationMs": 8.688031, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "46996dc5bb59ff91eb5e00f2c1df252b", "spanId": "dccb9ff2edca8785", "parentSpanId": "4ba7db3b8484da67", "startTimeUnixNano": "1796073443618792049", "endTimeUnixNano": "1796073443619154644", "durationMs": 0.362595, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "46996dc5bb59ff91eb5e00f2c1df252b", "spanId": "4ba7db3b8484da67", "parentSpanId": "00640f34aab3beaf", "startTimeUnixNano": "1796073443608583386", "endTimeUnixNano": "1796073443619173629", "durationMs": 10.590243, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.218419, "db.connection": "reader", "db.lock_wait_ms": 1.193}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "46996dc5bb59ff91eb5e00f2c1df252b", "spanId": "00640f34aab3beaf", "parentSpanId": "73f14ddccd95c9d8", "startTimeUnixNano": "1796073443608576563", "endTimeUnixNano": "1796073443619187936", "durationMs": 10.611373, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "46996dc5bb59ff91eb5e00f2c1df252b", "spanId": "73f14ddccd95c9d8", "parentSpanId": "f2483e575434e50b", "startTimeUnixNano": "1796073443608547399", "endTimeUnixNano": "1796073443619193526", "durationMs": 10.646127, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "46996dc5bb59ff91eb5e00f2c1df252b", "spanId": "f2483e575434e50b", "startTimeUnixNano": "1796073443608532311", "endTimeUnixNano": "1796073443619201822", "durationMs": 10.669511, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7880242e4cd3fb1170f83d3bccadbe52", "spanId": "afc56c6b380d2770", "parentSpanId": "626ccf286d127ea7", "startTimeUnixNano": "1796073444888550864", "endTimeUnixNano": "1796073444889214480", "durationMs": 0.663616, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7880242e4cd3fb1170f83d3bccadbe52", "spanId": "74d03b88e13d0503", "parentSpanId": "4402449e153af030", "startTimeUnixNano": "1796073444889250737", "endTimeUnixNano": "1796073444889898363", "durationMs": 0.647626, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004629}}
{"type": "effect-span", "name": "sqlite", "traceId": "7880242e4cd3fb1170f83d3bccadbe52", "spanId": "4df86ac7494a0d2f", "parentSpanId": "4402449e153af030", "startTimeUnixNano": "1796073444889967282", "endTimeUnixNano": "1796073444891224413", "durationMs": 1.257131, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008425}}
{"type": "effect-span", "name": "sqlite", "traceId": "7880242e4cd3fb1170f83d3bccadbe52", "spanId": "e58024436123b089", "parentSpanId": "4402449e153af030", "startTimeUnixNano": "1796073444891242797", "endTimeUnixNano": "1796073444892100775", "durationMs": 0.857978, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008356}}
{"type": "effect-span", "name": "sqlite", "traceId": "7880242e4cd3fb1170f83d3bccadbe52", "spanId": "b8a51cd486acb7fa", "parentSpanId": "4402449e153af030", "startTimeUnixNano": "1796073444898210214", "endTimeUnixNano": "1796073444909527131", "durationMs": 11.316917, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008135}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7880242e4cd3fb1170f83d3bccadbe52", "spanId": "4402449e153af030", "parentSpanId": "626ccf286d127ea7", "startTimeUnixNano": "1796073444889244596", "endTimeUnixNano": "1796073444909823372", "durationMs": 20.578776, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7880242e4cd3fb1170f83d3bccadbe52", "spanId": "885ff6f62b16b204", "parentSpanId": "626ccf286d127ea7", "startTimeUnixNano": "1796073444909847036", "endTimeUnixNano": "1796073444910032061", "durationMs": 0.185025, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7880242e4cd3fb1170f83d3bccadbe52", "spanId": "626ccf286d127ea7", "parentSpanId": "ffca0e030e750638", "startTimeUnixNano": "1796073444887153221", "endTimeUnixNano": "1796073444910055164", "durationMs": 22.901943, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.393766, "db.connection": "reader", "db.lock_wait_ms": 1.36}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7880242e4cd3fb1170f83d3bccadbe52", "spanId": "ffca0e030e750638", "parentSpanId": "06ff8d6630d1b7ef", "startTimeUnixNano": "1796073444887145977", "endTimeUnixNano": "1796073444910076363", "durationMs": 22.930386, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7880242e4cd3fb1170f83d3bccadbe52", "spanId": "06ff8d6630d1b7ef", "parentSpanId": "cc0de8c2b403d4cb", "startTimeUnixNano": "1796073444887107335", "endTimeUnixNano": "1796073444910087013", "durationMs": 22.979678, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7880242e4cd3fb1170f83d3bccadbe52", "spanId": "cc0de8c2b403d4cb", "startTimeUnixNano": "1796073444887090113", "endTimeUnixNano": "1796073444910096431", "durationMs": 23.006318, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0162c46bddf20cdcc68cc4236b08d9d0", "spanId": "b9a3b02affffc2fe", "parentSpanId": "fde9eedcef716777", "startTimeUnixNano": "1796073445089605728", "endTimeUnixNano": "1796073445089825788", "durationMs": 0.22006, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0162c46bddf20cdcc68cc4236b08d9d0", "spanId": "428d79260d5eef5e", "parentSpanId": "28d41f5404bbf3a5", "startTimeUnixNano": "1796073445089859430", "endTimeUnixNano": "1796073445089963574", "durationMs": 0.104144, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004509}}
{"type": "effect-span", "name": "sqlite", "traceId": "0162c46bddf20cdcc68cc4236b08d9d0", "spanId": "c50729960008cd8a", "parentSpanId": "28d41f5404bbf3a5", "startTimeUnixNano": "1796073445090022494", "endTimeUnixNano": "1796073445091333526", "durationMs": 1.311032, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007775}}
{"type": "effect-span", "name": "sqlite", "traceId": "0162c46bddf20cdcc68cc4236b08d9d0", "spanId": "e1aa9799152e210a", "parentSpanId": "28d41f5404bbf3a5", "startTimeUnixNano": "1796073445091346189", "endTimeUnixNano": "1796073445092302110", "durationMs": 0.955921, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005972}}
{"type": "effect-span", "name": "sqlite", "traceId": "0162c46bddf20cdcc68cc4236b08d9d0", "spanId": "8bf6297dac976433", "parentSpanId": "28d41f5404bbf3a5", "startTimeUnixNano": "1796073445096823922", "endTimeUnixNano": "1796073445100332997", "durationMs": 3.509075, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008025}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0162c46bddf20cdcc68cc4236b08d9d0", "spanId": "28d41f5404bbf3a5", "parentSpanId": "fde9eedcef716777", "startTimeUnixNano": "1796073445089854351", "endTimeUnixNano": "1796073445100533971", "durationMs": 10.67962, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0162c46bddf20cdcc68cc4236b08d9d0", "spanId": "d45608bdf900093b", "parentSpanId": "fde9eedcef716777", "startTimeUnixNano": "1796073445100546485", "endTimeUnixNano": "1796073445102070874", "durationMs": 1.524389, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0162c46bddf20cdcc68cc4236b08d9d0", "spanId": "fde9eedcef716777", "parentSpanId": "acb474f45ae2a2d0", "startTimeUnixNano": "1796073445088426231", "endTimeUnixNano": "1796073445102092134", "durationMs": 13.665903, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.176341, "db.connection": "reader", "db.lock_wait_ms": 1.133}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0162c46bddf20cdcc68cc4236b08d9d0", "spanId": "acb474f45ae2a2d0", "parentSpanId": "ca803fab66e49bef", "startTimeUnixNano": "1796073445088419318", "endTimeUnixNano": "1796073445102108284", "durationMs": 13.688966, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0162c46bddf20cdcc68cc4236b08d9d0", "spanId": "ca803fab66e49bef", "parentSpanId": "c6187f2c91bf3780", "startTimeUnixNano": "1796073445088393971", "endTimeUnixNano": "1796073445102113173", "durationMs": 13.719202, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0162c46bddf20cdcc68cc4236b08d9d0", "spanId": "c6187f2c91bf3780", "startTimeUnixNano": "1796073445088377731", "endTimeUnixNano": "1796073445102119695", "durationMs": 13.741964, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ca53151aae5d10d9c7c27ff82d810638", "spanId": "1cb8dc6f4d2913fc", "parentSpanId": "a101ff5fabbbdb8c", "startTimeUnixNano": "1796073446372765718", "endTimeUnixNano": "1796073446372931216", "durationMs": 0.165498, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ca53151aae5d10d9c7c27ff82d810638", "spanId": "8df874c4bc6911b5", "parentSpanId": "2261a1dc0eaf9b13", "startTimeUnixNano": "1796073446372970659", "endTimeUnixNano": "1796073446373671725", "durationMs": 0.701066, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006092}}
{"type": "effect-span", "name": "sqlite", "traceId": "ca53151aae5d10d9c7c27ff82d810638", "spanId": "d7391d7723d7f832", "parentSpanId": "2261a1dc0eaf9b13", "startTimeUnixNano": "1796073446373748398", "endTimeUnixNano": "1796073446374573505", "durationMs": 0.825107, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008906}}
{"type": "effect-span", "name": "sqlite", "traceId": "ca53151aae5d10d9c7c27ff82d810638", "spanId": "4d0ec8beefb7e6d3", "parentSpanId": "2261a1dc0eaf9b13", "startTimeUnixNano": "1796073446374591909", "endTimeUnixNano": "1796073446375414161", "durationMs": 0.822252, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007624}}
{"type": "effect-span", "name": "sqlite", "traceId": "ca53151aae5d10d9c7c27ff82d810638", "spanId": "21168027b8bbc69c", "parentSpanId": "2261a1dc0eaf9b13", "startTimeUnixNano": "1796073446381994817", "endTimeUnixNano": "1796073446384048141", "durationMs": 2.053324, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009207}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ca53151aae5d10d9c7c27ff82d810638", "spanId": "2261a1dc0eaf9b13", "parentSpanId": "a101ff5fabbbdb8c", "startTimeUnixNano": "1796073446372964678", "endTimeUnixNano": "1796073446384267881", "durationMs": 11.303203, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ca53151aae5d10d9c7c27ff82d810638", "spanId": "4e6c0872111b1e56", "parentSpanId": "a101ff5fabbbdb8c", "startTimeUnixNano": "1796073446384288118", "endTimeUnixNano": "1796073446384648790", "durationMs": 0.360672, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ca53151aae5d10d9c7c27ff82d810638", "spanId": "a101ff5fabbbdb8c", "parentSpanId": "801e8d3e31087b8d", "startTimeUnixNano": "1796073446370278425", "endTimeUnixNano": "1796073446384668286", "durationMs": 14.389861, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.481402, "db.connection": "reader", "db.lock_wait_ms": 2.442}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ca53151aae5d10d9c7c27ff82d810638", "spanId": "801e8d3e31087b8d", "parentSpanId": "eaf926af7b407074", "startTimeUnixNano": "1796073446370266142", "endTimeUnixNano": "1796073446384685779", "durationMs": 14.419637, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ca53151aae5d10d9c7c27ff82d810638", "spanId": "eaf926af7b407074", "parentSpanId": "af1a0b3ff6f3638f", "startTimeUnixNano": "1796073446370222761", "endTimeUnixNano": "1796073446384692161", "durationMs": 14.4694, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ca53151aae5d10d9c7c27ff82d810638", "spanId": "af1a0b3ff6f3638f", "startTimeUnixNano": "1796073446370204137", "endTimeUnixNano": "1796073446384700667", "durationMs": 14.49653, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c07d487fa2ce768cd9873e0e2e2e19fb", "spanId": "e3aab4e3def46e2b", "parentSpanId": "f08456b82dfd5fc8", "startTimeUnixNano": "1796073446556512708", "endTimeUnixNano": "1796073446556950633", "durationMs": 0.437925, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c07d487fa2ce768cd9873e0e2e2e19fb", "spanId": "e37a344b4e4f90ac", "parentSpanId": "7dae059d6af3f5d6", "startTimeUnixNano": "1796073446556984877", "endTimeUnixNano": "1796073446557168559", "durationMs": 0.183682, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004298}}
{"type": "effect-span", "name": "sqlite", "traceId": "c07d487fa2ce768cd9873e0e2e2e19fb", "spanId": "61c5558a3a568fea", "parentSpanId": "7dae059d6af3f5d6", "startTimeUnixNano": "1796073446557233039", "endTimeUnixNano": "1796073446558100375", "durationMs": 0.867336, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008596}}
{"type": "effect-span", "name": "sqlite", "traceId": "c07d487fa2ce768cd9873e0e2e2e19fb", "spanId": "d7f6369f5e51a2d2", "parentSpanId": "7dae059d6af3f5d6", "startTimeUnixNano": "1796073446558113249", "endTimeUnixNano": "1796073446559002565", "durationMs": 0.889316, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.00573}}
{"type": "effect-span", "name": "sqlite", "traceId": "c07d487fa2ce768cd9873e0e2e2e19fb", "spanId": "3c9fb7de9a77c935", "parentSpanId": "7dae059d6af3f5d6", "startTimeUnixNano": "1796073446563532903", "endTimeUnixNano": "1796073446564775918", "durationMs": 1.243015, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009838}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c07d487fa2ce768cd9873e0e2e2e19fb", "spanId": "7dae059d6af3f5d6", "parentSpanId": "f08456b82dfd5fc8", "startTimeUnixNano": "1796073446556979487", "endTimeUnixNano": "1796073446564943861", "durationMs": 7.964374, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c07d487fa2ce768cd9873e0e2e2e19fb", "spanId": "9fb6dd16e721bdcb", "parentSpanId": "f08456b82dfd5fc8", "startTimeUnixNano": "1796073446564955553", "endTimeUnixNano": "1796073446565180441", "durationMs": 0.224888, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c07d487fa2ce768cd9873e0e2e2e19fb", "spanId": "f08456b82dfd5fc8", "parentSpanId": "1a6021cb9e5edc1f", "startTimeUnixNano": "1796073446554164714", "endTimeUnixNano": "1796073446565196331", "durationMs": 11.031617, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.345359, "db.connection": "reader", "db.lock_wait_ms": 2.318}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c07d487fa2ce768cd9873e0e2e2e19fb", "spanId": "1a6021cb9e5edc1f", "parentSpanId": "2f9b8212f1e82be0", "startTimeUnixNano": "1796073446554157932", "endTimeUnixNano": "1796073446565208494", "durationMs": 11.050562, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c07d487fa2ce768cd9873e0e2e2e19fb", "spanId": "2f9b8212f1e82be0", "parentSpanId": "da868f6a576938ef", "startTimeUnixNano": "1796073446554132464", "endTimeUnixNano": "1796073446565212842", "durationMs": 11.080378, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c07d487fa2ce768cd9873e0e2e2e19fb", "spanId": "da868f6a576938ef", "startTimeUnixNano": "1796073446554120813", "endTimeUnixNano": "1796073446565218663", "durationMs": 11.09785, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "dff07b471da1634460d36a3a9e0a24b5", "spanId": "5cd08d87feb884e7", "parentSpanId": "8052a14a2a3109d5", "startTimeUnixNano": "1796073447976505700", "endTimeUnixNano": "1796073447976676117", "durationMs": 0.170417, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "dff07b471da1634460d36a3a9e0a24b5", "spanId": "570e29ca929e5aea", "parentSpanId": "9682180950f8bc72", "startTimeUnixNano": "1796073447976721181", "endTimeUnixNano": "1796073447977323443", "durationMs": 0.602262, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006392}}
{"type": "effect-span", "name": "sqlite", "traceId": "dff07b471da1634460d36a3a9e0a24b5", "spanId": "7269f38308fcf731", "parentSpanId": "9682180950f8bc72", "startTimeUnixNano": "1796073447977401278", "endTimeUnixNano": "1796073447978394427", "durationMs": 0.993149, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010129}}
{"type": "effect-span", "name": "sqlite", "traceId": "dff07b471da1634460d36a3a9e0a24b5", "spanId": "af4f7322b0e30e14", "parentSpanId": "9682180950f8bc72", "startTimeUnixNano": "1796073447978412752", "endTimeUnixNano": "1796073447979595244", "durationMs": 1.182492, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007734}}
{"type": "effect-span", "name": "sqlite", "traceId": "dff07b471da1634460d36a3a9e0a24b5", "spanId": "da0714dd96a2bd9d", "parentSpanId": "9682180950f8bc72", "startTimeUnixNano": "1796073447985795713", "endTimeUnixNano": "1796073447987798413", "durationMs": 2.0027, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.007504}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "dff07b471da1634460d36a3a9e0a24b5", "spanId": "9682180950f8bc72", "parentSpanId": "8052a14a2a3109d5", "startTimeUnixNano": "1796073447976712835", "endTimeUnixNano": "1796073447988022500", "durationMs": 11.309665, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "dff07b471da1634460d36a3a9e0a24b5", "spanId": "1e61c48e69413629", "parentSpanId": "8052a14a2a3109d5", "startTimeUnixNano": "1796073447988039812", "endTimeUnixNano": "1796073447988224777", "durationMs": 0.184965, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "dff07b471da1634460d36a3a9e0a24b5", "spanId": "8052a14a2a3109d5", "parentSpanId": "5110808e6c95431d", "startTimeUnixNano": "1796073447974344044", "endTimeUnixNano": "1796073447988245546", "durationMs": 13.901502, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.157969, "db.connection": "reader", "db.lock_wait_ms": 2.125}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "dff07b471da1634460d36a3a9e0a24b5", "spanId": "5110808e6c95431d", "parentSpanId": "c8ef36e7cfd8fb91", "startTimeUnixNano": "1796073447974336279", "endTimeUnixNano": "1796073447988273347", "durationMs": 13.937068, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "dff07b471da1634460d36a3a9e0a24b5", "spanId": "c8ef36e7cfd8fb91", "parentSpanId": "1c1903fbdffffdca", "startTimeUnixNano": "1796073447974296766", "endTimeUnixNano": "1796073447988284929", "durationMs": 13.988163, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "dff07b471da1634460d36a3a9e0a24b5", "spanId": "1c1903fbdffffdca", "startTimeUnixNano": "1796073447974282990", "endTimeUnixNano": "1796073447988295378", "durationMs": 14.012388, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4c2837fd945e470cc85443001cfb7711", "spanId": "94a21b633557caf5", "parentSpanId": "f8b5950b45417732", "startTimeUnixNano": "1796073448225309666", "endTimeUnixNano": "1796073448225849121", "durationMs": 0.539455, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4c2837fd945e470cc85443001cfb7711", "spanId": "8c77b583dcf2c1bb", "parentSpanId": "be3abb5991ad4bac", "startTimeUnixNano": "1796073448225897571", "endTimeUnixNano": "1796073448226194634", "durationMs": 0.297063, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006412}}
{"type": "effect-span", "name": "sqlite", "traceId": "4c2837fd945e470cc85443001cfb7711", "spanId": "746df06a418a5df6", "parentSpanId": "be3abb5991ad4bac", "startTimeUnixNano": "1796073448226265537", "endTimeUnixNano": "1796073448227166965", "durationMs": 0.901428, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008235}}
{"type": "effect-span", "name": "sqlite", "traceId": "4c2837fd945e470cc85443001cfb7711", "spanId": "cac21738203bed1f", "parentSpanId": "be3abb5991ad4bac", "startTimeUnixNano": "1796073448227181122", "endTimeUnixNano": "1796073448228193568", "durationMs": 1.012446, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005941}}
{"type": "effect-span", "name": "sqlite", "traceId": "4c2837fd945e470cc85443001cfb7711", "spanId": "55df08a5df3dfb64", "parentSpanId": "be3abb5991ad4bac", "startTimeUnixNano": "1796073448234187943", "endTimeUnixNano": "1796073448235698676", "durationMs": 1.510733, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010139}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4c2837fd945e470cc85443001cfb7711", "spanId": "be3abb5991ad4bac", "parentSpanId": "f8b5950b45417732", "startTimeUnixNano": "1796073448225890027", "endTimeUnixNano": "1796073448235945847", "durationMs": 10.05582, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4c2837fd945e470cc85443001cfb7711", "spanId": "cbbdb013ab4d1839", "parentSpanId": "f8b5950b45417732", "startTimeUnixNano": "1796073448235960023", "endTimeUnixNano": "1796073448236254051", "durationMs": 0.294028, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4c2837fd945e470cc85443001cfb7711", "spanId": "f8b5950b45417732", "parentSpanId": "d61596834c395e30", "startTimeUnixNano": "1796073448223993925", "endTimeUnixNano": "1796073448236283656", "durationMs": 12.289731, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.312405, "db.connection": "reader", "db.lock_wait_ms": 1.284}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4c2837fd945e470cc85443001cfb7711", "spanId": "d61596834c395e30", "parentSpanId": "4588cda206126d32", "startTimeUnixNano": "1796073448223986431", "endTimeUnixNano": "1796073448236298163", "durationMs": 12.311732, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4c2837fd945e470cc85443001cfb7711", "spanId": "4588cda206126d32", "parentSpanId": "e43611d539d479ee", "startTimeUnixNano": "1796073448223956726", "endTimeUnixNano": "1796073448236303483", "durationMs": 12.346757, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4c2837fd945e470cc85443001cfb7711", "spanId": "e43611d539d479ee", "startTimeUnixNano": "1796073448223941277", "endTimeUnixNano": "1796073448236310396", "durationMs": 12.369119, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9d3981b6ed150a18d7d8a42ff59731eb", "spanId": "d3aee07cc29b8247", "parentSpanId": "ed250b8833be2ae9", "startTimeUnixNano": "1796073449543363517", "endTimeUnixNano": "1796073449544038525", "durationMs": 0.675008, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9d3981b6ed150a18d7d8a42ff59731eb", "spanId": "ded92bfb24a70f81", "parentSpanId": "199f931cfad9e8ce", "startTimeUnixNano": "1796073449544073961", "endTimeUnixNano": "1796073449544698574", "durationMs": 0.624613, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004528}}
{"type": "effect-span", "name": "sqlite", "traceId": "9d3981b6ed150a18d7d8a42ff59731eb", "spanId": "3feb1ef926f34d0d", "parentSpanId": "199f931cfad9e8ce", "startTimeUnixNano": "1796073449544765739", "endTimeUnixNano": "1796073449545537026", "durationMs": 0.771287, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007885}}
{"type": "effect-span", "name": "sqlite", "traceId": "9d3981b6ed150a18d7d8a42ff59731eb", "spanId": "b400c2e59937087d", "parentSpanId": "199f931cfad9e8ce", "startTimeUnixNano": "1796073449545549419", "endTimeUnixNano": "1796073449546273367", "durationMs": 0.723948, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007203}}
{"type": "effect-span", "name": "sqlite", "traceId": "9d3981b6ed150a18d7d8a42ff59731eb", "spanId": "64dd3a43d1f0e2f0", "parentSpanId": "199f931cfad9e8ce", "startTimeUnixNano": "1796073449552554266", "endTimeUnixNano": "1796073449554766987", "durationMs": 2.212721, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01046}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9d3981b6ed150a18d7d8a42ff59731eb", "spanId": "199f931cfad9e8ce", "parentSpanId": "ed250b8833be2ae9", "startTimeUnixNano": "1796073449544068180", "endTimeUnixNano": "1796073449554976678", "durationMs": 10.908498, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9d3981b6ed150a18d7d8a42ff59731eb", "spanId": "49470e349f7e07f1", "parentSpanId": "ed250b8833be2ae9", "startTimeUnixNano": "1796073449554994712", "endTimeUnixNano": "1796073449555117530", "durationMs": 0.122818, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9d3981b6ed150a18d7d8a42ff59731eb", "spanId": "ed250b8833be2ae9", "parentSpanId": "f400dc17248e8e8b", "startTimeUnixNano": "1796073449542061352", "endTimeUnixNano": "1796073449555137868", "durationMs": 13.076516, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.297667, "db.connection": "reader", "db.lock_wait_ms": 1.267}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9d3981b6ed150a18d7d8a42ff59731eb", "spanId": "f400dc17248e8e8b", "parentSpanId": "2ef60beb10a2f9dd", "startTimeUnixNano": "1796073449542054179", "endTimeUnixNano": "1796073449555153638", "durationMs": 13.099459, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9d3981b6ed150a18d7d8a42ff59731eb", "spanId": "2ef60beb10a2f9dd", "parentSpanId": "2bde77c3e35c7934", "startTimeUnixNano": "1796073449542012351", "endTimeUnixNano": "1796073449555160651", "durationMs": 13.1483, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9d3981b6ed150a18d7d8a42ff59731eb", "spanId": "2bde77c3e35c7934", "startTimeUnixNano": "1796073449541998165", "endTimeUnixNano": "1796073449555169597", "durationMs": 13.171432, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6b8cdd4780711f08a0c266e8ac884ee8", "spanId": "5cc54b0b9ec65341", "parentSpanId": "0efbec5b47967824", "startTimeUnixNano": "1796073449768088123", "endTimeUnixNano": "1796073449768400124", "durationMs": 0.312001, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6b8cdd4780711f08a0c266e8ac884ee8", "spanId": "92cd2cabcba8c78b", "parentSpanId": "73d4d4f220d3fb05", "startTimeUnixNano": "1796073449768449106", "endTimeUnixNano": "1796073449768599386", "durationMs": 0.15028, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004939}}
{"type": "effect-span", "name": "sqlite", "traceId": "6b8cdd4780711f08a0c266e8ac884ee8", "spanId": "2c0097d9182798ec", "parentSpanId": "73d4d4f220d3fb05", "startTimeUnixNano": "1796073449768662423", "endTimeUnixNano": "1796073449769518207", "durationMs": 0.855784, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008556}}
{"type": "effect-span", "name": "sqlite", "traceId": "6b8cdd4780711f08a0c266e8ac884ee8", "spanId": "f59e18298c2c40c5", "parentSpanId": "73d4d4f220d3fb05", "startTimeUnixNano": "1796073449769532784", "endTimeUnixNano": "1796073449770296877", "durationMs": 0.764093, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006642}}
{"type": "effect-span", "name": "sqlite", "traceId": "6b8cdd4780711f08a0c266e8ac884ee8", "spanId": "86fdf4d0c5044c58", "parentSpanId": "73d4d4f220d3fb05", "startTimeUnixNano": "1796073449774723282", "endTimeUnixNano": "1796073449775947051", "durationMs": 1.223769, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010139}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6b8cdd4780711f08a0c266e8ac884ee8", "spanId": "73d4d4f220d3fb05", "parentSpanId": "0efbec5b47967824", "startTimeUnixNano": "1796073449768443605", "endTimeUnixNano": "1796073449776122037", "durationMs": 7.678432, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6b8cdd4780711f08a0c266e8ac884ee8", "spanId": "57973c404107eb3e", "parentSpanId": "0efbec5b47967824", "startTimeUnixNano": "1796073449776131335", "endTimeUnixNano": "1796073449776535878", "durationMs": 0.404543, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6b8cdd4780711f08a0c266e8ac884ee8", "spanId": "0efbec5b47967824", "parentSpanId": "6c466a90d5003d97", "startTimeUnixNano": "1796073449766910610", "endTimeUnixNano": "1796073449776554383", "durationMs": 9.643773, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.174628, "db.connection": "reader", "db.lock_wait_ms": 1.149}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6b8cdd4780711f08a0c266e8ac884ee8", "spanId": "6c466a90d5003d97", "parentSpanId": "91c0170b0b6c43bc", "startTimeUnixNano": "1796073449766903687", "endTimeUnixNano": "1796073449776566365", "durationMs": 9.662678, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6b8cdd4780711f08a0c266e8ac884ee8", "spanId": "91c0170b0b6c43bc", "parentSpanId": "9fd9050e6f62f46d", "startTimeUnixNano": "1796073449766873912", "endTimeUnixNano": "1796073449776571545", "durationMs": 9.697633, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6b8cdd4780711f08a0c266e8ac884ee8", "spanId": "9fd9050e6f62f46d", "startTimeUnixNano": "1796073449766861629", "endTimeUnixNano": "1796073449776577927", "durationMs": 9.716298, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0ac478ddffa0f9c4182845fac6ec7ea3", "spanId": "bcf669418318f0e6", "parentSpanId": "4af9d631050d9001", "startTimeUnixNano": "1796073451060307454", "endTimeUnixNano": "1796073451060520841", "durationMs": 0.213387, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ac478ddffa0f9c4182845fac6ec7ea3", "spanId": "54e71a0f8c2a0a24", "parentSpanId": "0275dd765f3dee3e", "startTimeUnixNano": "1796073451060565685", "endTimeUnixNano": "1796073451061386424", "durationMs": 0.820739, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007584}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ac478ddffa0f9c4182845fac6ec7ea3", "spanId": "d193ceeee4771497", "parentSpanId": "0275dd765f3dee3e", "startTimeUnixNano": "1796073451061499414", "endTimeUnixNano": "1796073451062162409", "durationMs": 0.662995, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011151}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ac478ddffa0f9c4182845fac6ec7ea3", "spanId": "f9b53597b3f16c7a", "parentSpanId": "0275dd765f3dee3e", "startTimeUnixNano": "1796073451062181475", "endTimeUnixNano": "1796073451063053589", "durationMs": 0.872114, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008295}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ac478ddffa0f9c4182845fac6ec7ea3", "spanId": "cb054a22757ff47a", "parentSpanId": "0275dd765f3dee3e", "startTimeUnixNano": "1796073451069894402", "endTimeUnixNano": "1796073451072011836", "durationMs": 2.117434, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009568}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0ac478ddffa0f9c4182845fac6ec7ea3", "spanId": "0275dd765f3dee3e", "parentSpanId": "4af9d631050d9001", "startTimeUnixNano": "1796073451060558281", "endTimeUnixNano": "1796073451072303439", "durationMs": 11.745158, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0ac478ddffa0f9c4182845fac6ec7ea3", "spanId": "59b46df9bc695533", "parentSpanId": "4af9d631050d9001", "startTimeUnixNano": "1796073451072328075", "endTimeUnixNano": "1796073451072530933", "durationMs": 0.202858, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0ac478ddffa0f9c4182845fac6ec7ea3", "spanId": "4af9d631050d9001", "parentSpanId": "52fe790245507d29", "startTimeUnixNano": "1796073451058084844", "endTimeUnixNano": "1796073451072552473", "durationMs": 14.467629, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.217981, "db.connection": "reader", "db.lock_wait_ms": 2.184}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0ac478ddffa0f9c4182845fac6ec7ea3", "spanId": "52fe790245507d29", "parentSpanId": "c0447e254444926d", "startTimeUnixNano": "1796073451058077149", "endTimeUnixNano": "1796073451072572270", "durationMs": 14.495121, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0ac478ddffa0f9c4182845fac6ec7ea3", "spanId": "c0447e254444926d", "parentSpanId": "423460483d917ff8", "startTimeUnixNano": "1796073451058036804", "endTimeUnixNano": "1796073451072581698", "durationMs": 14.544894, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0ac478ddffa0f9c4182845fac6ec7ea3", "spanId": "423460483d917ff8", "startTimeUnixNano": "1796073451058021035", "endTimeUnixNano": "1796073451072589833", "durationMs": 14.568798, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4d8e4433a371877f9268ab78fbf5c81e", "spanId": "e5ad8f673723ded1", "parentSpanId": "c97f8c18a0c1d924", "startTimeUnixNano": "1796073451278308052", "endTimeUnixNano": "1796073451278603603", "durationMs": 0.295551, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4d8e4433a371877f9268ab78fbf5c81e", "spanId": "f45eb28fb0a11bde", "parentSpanId": "77bfbae03402230a", "startTimeUnixNano": "1796073451278636454", "endTimeUnixNano": "1796073451278819004", "durationMs": 0.18255, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004188}}
{"type": "effect-span", "name": "sqlite", "traceId": "4d8e4433a371877f9268ab78fbf5c81e", "spanId": "7ffd0ce9c2f63819", "parentSpanId": "77bfbae03402230a", "startTimeUnixNano": "1796073451278881290", "endTimeUnixNano": "1796073451280534760", "durationMs": 1.65347, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008696}}
{"type": "effect-span", "name": "sqlite", "traceId": "4d8e4433a371877f9268ab78fbf5c81e", "spanId": "bf17ee43a683c876", "parentSpanId": "77bfbae03402230a", "startTimeUnixNano": "1796073451280555368", "endTimeUnixNano": "1796073451282771787", "durationMs": 2.216419, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009488}}
{"type": "effect-span", "name": "sqlite", "traceId": "4d8e4433a371877f9268ab78fbf5c81e", "spanId": "e732891f1f6bebd2", "parentSpanId": "77bfbae03402230a", "startTimeUnixNano": "1796073451287381754", "endTimeUnixNano": "1796073451289166508", "durationMs": 1.784754, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008215}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4d8e4433a371877f9268ab78fbf5c81e", "spanId": "77bfbae03402230a", "parentSpanId": "c97f8c18a0c1d924", "startTimeUnixNano": "1796073451278631535", "endTimeUnixNano": "1796073451289342526", "durationMs": 10.710991, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4d8e4433a371877f9268ab78fbf5c81e", "spanId": "8eb871253d3bdc6f", "parentSpanId": "c97f8c18a0c1d924", "startTimeUnixNano": "1796073451289352995", "endTimeUnixNano": "1796073451289532009", "durationMs": 0.179014, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4d8e4433a371877f9268ab78fbf5c81e", "spanId": "c97f8c18a0c1d924", "parentSpanId": "1e2bd36dfb45cac2", "startTimeUnixNano": "1796073451277054607", "endTimeUnixNano": "1796073451289547878", "durationMs": 12.493271, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.250129, "db.connection": "reader", "db.lock_wait_ms": 1.224}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4d8e4433a371877f9268ab78fbf5c81e", "spanId": "1e2bd36dfb45cac2", "parentSpanId": "7a2469de49cd7271", "startTimeUnixNano": "1796073451277046803", "endTimeUnixNano": "1796073451289558769", "durationMs": 12.511966, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4d8e4433a371877f9268ab78fbf5c81e", "spanId": "7a2469de49cd7271", "parentSpanId": "252955886984aea9", "startTimeUnixNano": "1796073451277019983", "endTimeUnixNano": "1796073451289563217", "durationMs": 12.543234, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4d8e4433a371877f9268ab78fbf5c81e", "spanId": "252955886984aea9", "startTimeUnixNano": "1796073451277008131", "endTimeUnixNano": "1796073451289568878", "durationMs": 12.560747, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6ea0803e09bf4fd4932a442ff2e890d0", "spanId": "4ff719a2674e91c6", "parentSpanId": "8d5473219e1c7f10", "startTimeUnixNano": "1796073452634962674", "endTimeUnixNano": "1796073452635109868", "durationMs": 0.147194, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6ea0803e09bf4fd4932a442ff2e890d0", "spanId": "705c195693482d2e", "parentSpanId": "a2d4f35624671a32", "startTimeUnixNano": "1796073452635148540", "endTimeUnixNano": "1796073452635801015", "durationMs": 0.652475, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006722}}
{"type": "effect-span", "name": "sqlite", "traceId": "6ea0803e09bf4fd4932a442ff2e890d0", "spanId": "080bc08479321a37", "parentSpanId": "a2d4f35624671a32", "startTimeUnixNano": "1796073452635877518", "endTimeUnixNano": "1796073452636632945", "durationMs": 0.755427, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008886}}
{"type": "effect-span", "name": "sqlite", "traceId": "6ea0803e09bf4fd4932a442ff2e890d0", "spanId": "77dcabae980504df", "parentSpanId": "a2d4f35624671a32", "startTimeUnixNano": "1796073452636651910", "endTimeUnixNano": "1796073452637722775", "durationMs": 1.070865, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007494}}
{"type": "effect-span", "name": "sqlite", "traceId": "6ea0803e09bf4fd4932a442ff2e890d0", "spanId": "979d7dfe6077873c", "parentSpanId": "a2d4f35624671a32", "startTimeUnixNano": "1796073452645141324", "endTimeUnixNano": "1796073452647501701", "durationMs": 2.360377, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009337}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6ea0803e09bf4fd4932a442ff2e890d0", "spanId": "a2d4f35624671a32", "parentSpanId": "8d5473219e1c7f10", "startTimeUnixNano": "1796073452635141677", "endTimeUnixNano": "1796073452647718444", "durationMs": 12.576767, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6ea0803e09bf4fd4932a442ff2e890d0", "spanId": "bcc548cbcb3c953f", "parentSpanId": "8d5473219e1c7f10", "startTimeUnixNano": "1796073452647738582", "endTimeUnixNano": "1796073452647885405", "durationMs": 0.146823, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6ea0803e09bf4fd4932a442ff2e890d0", "spanId": "8d5473219e1c7f10", "parentSpanId": "6a847150688ff333", "startTimeUnixNano": "1796073452632552745", "endTimeUnixNano": "1796073452647905052", "durationMs": 15.352307, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.405761, "db.connection": "reader", "db.lock_wait_ms": 2.361}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6ea0803e09bf4fd4932a442ff2e890d0", "spanId": "6a847150688ff333", "parentSpanId": "77ed25b082036bfa", "startTimeUnixNano": "1796073452632538248", "endTimeUnixNano": "1796073452647925350", "durationMs": 15.387102, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6ea0803e09bf4fd4932a442ff2e890d0", "spanId": "77ed25b082036bfa", "parentSpanId": "5e8386d2ce664477", "startTimeUnixNano": "1796073452632478076", "endTimeUnixNano": "1796073452647932253", "durationMs": 15.454177, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6ea0803e09bf4fd4932a442ff2e890d0", "spanId": "5e8386d2ce664477", "startTimeUnixNano": "1796073452632425317", "endTimeUnixNano": "1796073452647940227", "durationMs": 15.51491, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2ffbe8b104af7cc03e39171a5dcc4bb7", "spanId": "2a951d8b3ad0c086", "parentSpanId": "26d29f7bf841b5c3", "startTimeUnixNano": "1796073452854303245", "endTimeUnixNano": "1796073452854668025", "durationMs": 0.36478, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2ffbe8b104af7cc03e39171a5dcc4bb7", "spanId": "ebb5fc0107d0e216", "parentSpanId": "149ae85000df04fc", "startTimeUnixNano": "1796073452854702629", "endTimeUnixNano": "1796073452854844103", "durationMs": 0.141474, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004459}}
{"type": "effect-span", "name": "sqlite", "traceId": "2ffbe8b104af7cc03e39171a5dcc4bb7", "spanId": "d69a8f6acc727a75", "parentSpanId": "149ae85000df04fc", "startTimeUnixNano": "1796073452854906990", "endTimeUnixNano": "1796073452856108478", "durationMs": 1.201488, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007424}}
{"type": "effect-span", "name": "sqlite", "traceId": "2ffbe8b104af7cc03e39171a5dcc4bb7", "spanId": "196cdf8158962333", "parentSpanId": "149ae85000df04fc", "startTimeUnixNano": "1796073452856123045", "endTimeUnixNano": "1796073452857061634", "durationMs": 0.938589, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006302}}
{"type": "effect-span", "name": "sqlite", "traceId": "2ffbe8b104af7cc03e39171a5dcc4bb7", "spanId": "1dca3a7d8e465b5a", "parentSpanId": "149ae85000df04fc", "startTimeUnixNano": "1796073452862010181", "endTimeUnixNano": "1796073452863740835", "durationMs": 1.730654, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009147}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2ffbe8b104af7cc03e39171a5dcc4bb7", "spanId": "149ae85000df04fc", "parentSpanId": "26d29f7bf841b5c3", "startTimeUnixNano": "1796073452854696778", "endTimeUnixNano": "1796073452863967077", "durationMs": 9.270299, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2ffbe8b104af7cc03e39171a5dcc4bb7", "spanId": "eebf3bdd09e34e82", "parentSpanId": "26d29f7bf841b5c3", "startTimeUnixNano": "1796073452863980652", "endTimeUnixNano": "1796073452864355961", "durationMs": 0.375309, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2ffbe8b104af7cc03e39171a5dcc4bb7", "spanId": "26d29f7bf841b5c3", "parentSpanId": "dc7194f7405f510c", "startTimeUnixNano": "1796073452852935668", "endTimeUnixNano": "1796073452864381418", "durationMs": 11.44575, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.362989, "db.connection": "reader", "db.lock_wait_ms": 1.337}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2ffbe8b104af7cc03e39171a5dcc4bb7", "spanId": "dc7194f7405f510c", "parentSpanId": "cb790da72696e390", "startTimeUnixNano": "1796073452852929256", "endTimeUnixNano": "1796073452864396857", "durationMs": 11.467601, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2ffbe8b104af7cc03e39171a5dcc4bb7", "spanId": "cb790da72696e390", "parentSpanId": "340849218b0a70ab", "startTimeUnixNano": "1796073452852901124", "endTimeUnixNano": "1796073452864404942", "durationMs": 11.503818, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2ffbe8b104af7cc03e39171a5dcc4bb7", "spanId": "340849218b0a70ab", "startTimeUnixNano": "1796073452852886787", "endTimeUnixNano": "1796073452864413979", "durationMs": 11.527192, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e87eb92eb57a75dd4e641903b675ae3f", "spanId": "9e045d7998213c50", "parentSpanId": "cf11ddb89ed29a6d", "startTimeUnixNano": "1796073454197971044", "endTimeUnixNano": "1796073454198635882", "durationMs": 0.664838, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e87eb92eb57a75dd4e641903b675ae3f", "spanId": "b71d97163fe0254b", "parentSpanId": "1a0959ed6386cdc8", "startTimeUnixNano": "1796073454198670777", "endTimeUnixNano": "1796073454199266266", "durationMs": 0.595489, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004589}}
{"type": "effect-span", "name": "sqlite", "traceId": "e87eb92eb57a75dd4e641903b675ae3f", "spanId": "a5dc8024c1de1a7b", "parentSpanId": "1a0959ed6386cdc8", "startTimeUnixNano": "1796073454199333141", "endTimeUnixNano": "1796073454200155072", "durationMs": 0.821931, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008486}}
{"type": "effect-span", "name": "sqlite", "traceId": "e87eb92eb57a75dd4e641903b675ae3f", "spanId": "b1edd56a3b073360", "parentSpanId": "1a0959ed6386cdc8", "startTimeUnixNano": "1796073454200165952", "endTimeUnixNano": "1796073454200907484", "durationMs": 0.741532, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007404}}
{"type": "effect-span", "name": "sqlite", "traceId": "e87eb92eb57a75dd4e641903b675ae3f", "spanId": "b79bb0302d66b99c", "parentSpanId": "1a0959ed6386cdc8", "startTimeUnixNano": "1796073454207279333", "endTimeUnixNano": "1796073454209680666", "durationMs": 2.401333, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012483}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e87eb92eb57a75dd4e641903b675ae3f", "spanId": "1a0959ed6386cdc8", "parentSpanId": "cf11ddb89ed29a6d", "startTimeUnixNano": "1796073454198664295", "endTimeUnixNano": "1796073454209988229", "durationMs": 11.323934, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e87eb92eb57a75dd4e641903b675ae3f", "spanId": "12e7c7f29ed424b6", "parentSpanId": "cf11ddb89ed29a6d", "startTimeUnixNano": "1796073454210009679", "endTimeUnixNano": "1796073454210138409", "durationMs": 0.12873, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e87eb92eb57a75dd4e641903b675ae3f", "spanId": "cf11ddb89ed29a6d", "parentSpanId": "aa29142ad5147a0b", "startTimeUnixNano": "1796073454196650654", "endTimeUnixNano": "1796073454210159098", "durationMs": 13.508444, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.316533, "db.connection": "reader", "db.lock_wait_ms": 1.284}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e87eb92eb57a75dd4e641903b675ae3f", "spanId": "aa29142ad5147a0b", "parentSpanId": "3a8074144c77cd91", "startTimeUnixNano": "1796073454196643461", "endTimeUnixNano": "1796073454210181399", "durationMs": 13.537938, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e87eb92eb57a75dd4e641903b675ae3f", "spanId": "3a8074144c77cd91", "parentSpanId": "e4177e40242b357d", "startTimeUnixNano": "1796073454196604558", "endTimeUnixNano": "1796073454210187981", "durationMs": 13.583423, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e87eb92eb57a75dd4e641903b675ae3f", "spanId": "e4177e40242b357d", "startTimeUnixNano": "1796073454196588158", "endTimeUnixNano": "1796073454210196117", "durationMs": 13.607959, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "63b8c45ab45a8c6f910e397eac8f96a0", "spanId": "41afaeffc79641ea", "parentSpanId": "2420457fd8fa6de6", "startTimeUnixNano": "1796073454417929172", "endTimeUnixNano": "1796073454418150725", "durationMs": 0.221553, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "63b8c45ab45a8c6f910e397eac8f96a0", "spanId": "c8ca5e514f1edc81", "parentSpanId": "5623fb47ba7a15df", "startTimeUnixNano": "1796073454418196249", "endTimeUnixNano": "1796073454418868692", "durationMs": 0.672443, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.0051}}
{"type": "effect-span", "name": "sqlite", "traceId": "63b8c45ab45a8c6f910e397eac8f96a0", "spanId": "e3513031cfa167a0", "parentSpanId": "5623fb47ba7a15df", "startTimeUnixNano": "1796073454418944103", "endTimeUnixNano": "1796073454419837096", "durationMs": 0.892993, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008696}}
{"type": "effect-span", "name": "sqlite", "traceId": "63b8c45ab45a8c6f910e397eac8f96a0", "spanId": "5c2008aaecd77736", "parentSpanId": "5623fb47ba7a15df", "startTimeUnixNano": "1796073454419861722", "endTimeUnixNano": "1796073454420909894", "durationMs": 1.048172, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012123}}
{"type": "effect-span", "name": "sqlite", "traceId": "63b8c45ab45a8c6f910e397eac8f96a0", "spanId": "be2dae6b722bc718", "parentSpanId": "5623fb47ba7a15df", "startTimeUnixNano": "1796073454427028051", "endTimeUnixNano": "1796073454428455490", "durationMs": 1.427439, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011211}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "63b8c45ab45a8c6f910e397eac8f96a0", "spanId": "5623fb47ba7a15df", "parentSpanId": "2420457fd8fa6de6", "startTimeUnixNano": "1796073454418189958", "endTimeUnixNano": "1796073454428682493", "durationMs": 10.492535, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "63b8c45ab45a8c6f910e397eac8f96a0", "spanId": "e4ea02ab5908b6ab", "parentSpanId": "2420457fd8fa6de6", "startTimeUnixNano": "1796073454428696189", "endTimeUnixNano": "1796073454428921659", "durationMs": 0.22547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "63b8c45ab45a8c6f910e397eac8f96a0", "spanId": "2420457fd8fa6de6", "parentSpanId": "eb7e373a4f60ea1b", "startTimeUnixNano": "1796073454416622728", "endTimeUnixNano": "1796073454428940634", "durationMs": 12.317906, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.302837, "db.connection": "reader", "db.lock_wait_ms": 1.275}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "63b8c45ab45a8c6f910e397eac8f96a0", "spanId": "eb7e373a4f60ea1b", "parentSpanId": "f0c167a9443f95ff", "startTimeUnixNano": "1796073454416615916", "endTimeUnixNano": "1796073454428954841", "durationMs": 12.338925, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "63b8c45ab45a8c6f910e397eac8f96a0", "spanId": "f0c167a9443f95ff", "parentSpanId": "8adeb376f93247f2", "startTimeUnixNano": "1796073454416585108", "endTimeUnixNano": "1796073454428959840", "durationMs": 12.374732, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "63b8c45ab45a8c6f910e397eac8f96a0", "spanId": "8adeb376f93247f2", "startTimeUnixNano": "1796073454416570771", "endTimeUnixNano": "1796073454428968256", "durationMs": 12.397485, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "859ae9835c58e90b38bfadbc7780c5a5", "spanId": "5e5c888d3631c508", "parentSpanId": "2a93eba03b988212", "startTimeUnixNano": "1796073455747504764", "endTimeUnixNano": "1796073455748492945", "durationMs": 0.988181, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "859ae9835c58e90b38bfadbc7780c5a5", "spanId": "88001f1f410aef67", "parentSpanId": "5d8cf829733cd137", "startTimeUnixNano": "1796073455748560731", "endTimeUnixNano": "1796073455749429820", "durationMs": 0.869089, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007694}}
{"type": "effect-span", "name": "sqlite", "traceId": "859ae9835c58e90b38bfadbc7780c5a5", "spanId": "79a8903a0c8b65c3", "parentSpanId": "5d8cf829733cd137", "startTimeUnixNano": "1796073455749554051", "endTimeUnixNano": "1796073455750564924", "durationMs": 1.010873, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013185}}
{"type": "effect-span", "name": "sqlite", "traceId": "859ae9835c58e90b38bfadbc7780c5a5", "spanId": "4a6df4537beea880", "parentSpanId": "5d8cf829733cd137", "startTimeUnixNano": "1796073455750584351", "endTimeUnixNano": "1796073455751553316", "durationMs": 0.968965, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011271}}
{"type": "effect-span", "name": "sqlite", "traceId": "859ae9835c58e90b38bfadbc7780c5a5", "spanId": "71041e4c88f7c2fd", "parentSpanId": "5d8cf829733cd137", "startTimeUnixNano": "1796073455755928486", "endTimeUnixNano": "1796073455759002512", "durationMs": 3.074026, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008325}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "859ae9835c58e90b38bfadbc7780c5a5", "spanId": "5d8cf829733cd137", "parentSpanId": "2a93eba03b988212", "startTimeUnixNano": "1796073455748550402", "endTimeUnixNano": "1796073455759252097", "durationMs": 10.701695, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "859ae9835c58e90b38bfadbc7780c5a5", "spanId": "cfac6296a333ba81", "parentSpanId": "2a93eba03b988212", "startTimeUnixNano": "1796073455759267215", "endTimeUnixNano": "1796073455759597210", "durationMs": 0.329995, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "859ae9835c58e90b38bfadbc7780c5a5", "spanId": "2a93eba03b988212", "parentSpanId": "8d404815e82181e3", "startTimeUnixNano": "1796073455745879807", "endTimeUnixNano": "1796073455759615795", "durationMs": 13.735988, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.617864, "db.connection": "reader", "db.lock_wait_ms": 1.581}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "859ae9835c58e90b38bfadbc7780c5a5", "spanId": "8d404815e82181e3", "parentSpanId": "2b563e44da7d5651", "startTimeUnixNano": "1796073455745871972", "endTimeUnixNano": "1796073455759638066", "durationMs": 13.766094, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "859ae9835c58e90b38bfadbc7780c5a5", "spanId": "2b563e44da7d5651", "parentSpanId": "5802c79ca37b166f", "startTimeUnixNano": "1796073455745833641", "endTimeUnixNano": "1796073455759649147", "durationMs": 13.815506, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "859ae9835c58e90b38bfadbc7780c5a5", "spanId": "5802c79ca37b166f", "startTimeUnixNano": "1796073455745812652", "endTimeUnixNano": "1796073455759660548", "durationMs": 13.847896, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "81d840f3f2a8e37bac780297de0efa47", "spanId": "adbf5d6dc0f36338", "parentSpanId": "ec47c7f96a43cb42", "startTimeUnixNano": "1796073455973052423", "endTimeUnixNano": "1796073455973362160", "durationMs": 0.309737, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "81d840f3f2a8e37bac780297de0efa47", "spanId": "9db9e4376ad29936", "parentSpanId": "dcda3914ddf65c61", "startTimeUnixNano": "1796073455973398848", "endTimeUnixNano": "1796073455973529612", "durationMs": 0.130764, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004739}}
{"type": "effect-span", "name": "sqlite", "traceId": "81d840f3f2a8e37bac780297de0efa47", "spanId": "bb7aa03d16e8d9dd", "parentSpanId": "dcda3914ddf65c61", "startTimeUnixNano": "1796073455973596857", "endTimeUnixNano": "1796073455979092244", "durationMs": 5.495387, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007874}}
{"type": "effect-span", "name": "sqlite", "traceId": "81d840f3f2a8e37bac780297de0efa47", "spanId": "107a143ab566ca98", "parentSpanId": "dcda3914ddf65c61", "startTimeUnixNano": "1796073455979120687", "endTimeUnixNano": "1796073455982111468", "durationMs": 2.990781, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010409}}
{"type": "effect-span", "name": "sqlite", "traceId": "81d840f3f2a8e37bac780297de0efa47", "spanId": "6db197099499f367", "parentSpanId": "dcda3914ddf65c61", "startTimeUnixNano": "1796073455986997861", "endTimeUnixNano": "1796073455988574337", "durationMs": 1.576476, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018424}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "81d840f3f2a8e37bac780297de0efa47", "spanId": "dcda3914ddf65c61", "parentSpanId": "ec47c7f96a43cb42", "startTimeUnixNano": "1796073455973388619", "endTimeUnixNano": "1796073455988801080", "durationMs": 15.412461, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "81d840f3f2a8e37bac780297de0efa47", "spanId": "642334fcd98a473c", "parentSpanId": "ec47c7f96a43cb42", "startTimeUnixNano": "1796073455988815647", "endTimeUnixNano": "1796073455990514021", "durationMs": 1.698374, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "81d840f3f2a8e37bac780297de0efa47", "spanId": "ec47c7f96a43cb42", "parentSpanId": "418f595d2196a872", "startTimeUnixNano": "1796073455971840705", "endTimeUnixNano": "1796073455990533367", "durationMs": 18.692662, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.208562, "db.connection": "reader", "db.lock_wait_ms": 1.18}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "81d840f3f2a8e37bac780297de0efa47", "spanId": "418f595d2196a872", "parentSpanId": "0d9771b86a24eb75", "startTimeUnixNano": "1796073455971833291", "endTimeUnixNano": "1796073455990551130", "durationMs": 18.717839, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "81d840f3f2a8e37bac780297de0efa47", "spanId": "0d9771b86a24eb75", "parentSpanId": "cefc9382cd14645d", "startTimeUnixNano": "1796073455971801112", "endTimeUnixNano": "1796073455990556670", "durationMs": 18.755558, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "81d840f3f2a8e37bac780297de0efa47", "spanId": "cefc9382cd14645d", "startTimeUnixNano": "1796073455971786584", "endTimeUnixNano": "1796073455990570726", "durationMs": 18.784142, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d340d3209124b96dce91a022b3a9230c", "spanId": "3886b8fb29f8ca94", "parentSpanId": "802b8339396dc323", "startTimeUnixNano": "1796073457275672739", "endTimeUnixNano": "1796073457275823399", "durationMs": 0.15066, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d340d3209124b96dce91a022b3a9230c", "spanId": "94ccbcd4cf93e451", "parentSpanId": "f40369f2ef024f66", "startTimeUnixNano": "1796073457275881327", "endTimeUnixNano": "1796073457276536548", "durationMs": 0.655221, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006152}}
{"type": "effect-span", "name": "sqlite", "traceId": "d340d3209124b96dce91a022b3a9230c", "spanId": "12ab1a1dbe47815f", "parentSpanId": "f40369f2ef024f66", "startTimeUnixNano": "1796073457276615795", "endTimeUnixNano": "1796073457277375821", "durationMs": 0.760026, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009278}}
{"type": "effect-span", "name": "sqlite", "traceId": "d340d3209124b96dce91a022b3a9230c", "spanId": "02e793f60fb0dd9c", "parentSpanId": "f40369f2ef024f66", "startTimeUnixNano": "1796073457277393885", "endTimeUnixNano": "1796073457278249569", "durationMs": 0.855684, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007865}}
{"type": "effect-span", "name": "sqlite", "traceId": "d340d3209124b96dce91a022b3a9230c", "spanId": "cd6a4046a6b3b2bd", "parentSpanId": "f40369f2ef024f66", "startTimeUnixNano": "1796073457284955201", "endTimeUnixNano": "1796073457286862915", "durationMs": 1.907714, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.007494}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d340d3209124b96dce91a022b3a9230c", "spanId": "f40369f2ef024f66", "parentSpanId": "802b8339396dc323", "startTimeUnixNano": "1796073457275874154", "endTimeUnixNano": "1796073457287100347", "durationMs": 11.226193, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d340d3209124b96dce91a022b3a9230c", "spanId": "fe840be1bd4e54a8", "parentSpanId": "802b8339396dc323", "startTimeUnixNano": "1796073457287115606", "endTimeUnixNano": "1796073457287376181", "durationMs": 0.260575, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d340d3209124b96dce91a022b3a9230c", "spanId": "802b8339396dc323", "parentSpanId": "0eef594ab4b8b4c8", "startTimeUnixNano": "1796073457273500792", "endTimeUnixNano": "1796073457287395557", "durationMs": 13.894765, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.167569, "db.connection": "reader", "db.lock_wait_ms": 2.129}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d340d3209124b96dce91a022b3a9230c", "spanId": "0eef594ab4b8b4c8", "parentSpanId": "98cd99a802f2843d", "startTimeUnixNano": "1796073457273492928", "endTimeUnixNano": "1796073457287416687", "durationMs": 13.923759, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d340d3209124b96dce91a022b3a9230c", "spanId": "98cd99a802f2843d", "parentSpanId": "a79a925508e6f3d7", "startTimeUnixNano": "1796073457273452192", "endTimeUnixNano": "1796073457287423139", "durationMs": 13.970947, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d340d3209124b96dce91a022b3a9230c", "spanId": "a79a925508e6f3d7", "startTimeUnixNano": "1796073457273420914", "endTimeUnixNano": "1796073457287430222", "durationMs": 14.009308, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "89aa2014fab9dc9669a3de0e191ff8d5", "spanId": "b7fb8082be9e3838", "parentSpanId": "d90c5bed7182cb1f", "startTimeUnixNano": "1796073457482837197", "endTimeUnixNano": "1796073457483101710", "durationMs": 0.264513, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "89aa2014fab9dc9669a3de0e191ff8d5", "spanId": "592f709561d65ef9", "parentSpanId": "cf7568177a50914e", "startTimeUnixNano": "1796073457483133900", "endTimeUnixNano": "1796073457483208138", "durationMs": 0.074238, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004278}}
{"type": "effect-span", "name": "sqlite", "traceId": "89aa2014fab9dc9669a3de0e191ff8d5", "spanId": "ccc9e1e1d2f05c22", "parentSpanId": "cf7568177a50914e", "startTimeUnixNano": "1796073457483267289", "endTimeUnixNano": "1796073457484135135", "durationMs": 0.867846, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007644}}
{"type": "effect-span", "name": "sqlite", "traceId": "89aa2014fab9dc9669a3de0e191ff8d5", "spanId": "ee4e69530070516f", "parentSpanId": "cf7568177a50914e", "startTimeUnixNano": "1796073457484149061", "endTimeUnixNano": "1796073457485215709", "durationMs": 1.066648, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009187}}
{"type": "effect-span", "name": "sqlite", "traceId": "89aa2014fab9dc9669a3de0e191ff8d5", "spanId": "dd579f6c3e0eaec1", "parentSpanId": "cf7568177a50914e", "startTimeUnixNano": "1796073457489108520", "endTimeUnixNano": "1796073457490516904", "durationMs": 1.408384, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.007755}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "89aa2014fab9dc9669a3de0e191ff8d5", "spanId": "cf7568177a50914e", "parentSpanId": "d90c5bed7182cb1f", "startTimeUnixNano": "1796073457483129041", "endTimeUnixNano": "1796073457490691760", "durationMs": 7.562719, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "89aa2014fab9dc9669a3de0e191ff8d5", "spanId": "1c45b742d6ed5550", "parentSpanId": "d90c5bed7182cb1f", "startTimeUnixNano": "1796073457490702119", "endTimeUnixNano": "1796073457491192723", "durationMs": 0.490604, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "89aa2014fab9dc9669a3de0e191ff8d5", "spanId": "d90c5bed7182cb1f", "parentSpanId": "f9339c14d7a720b2", "startTimeUnixNano": "1796073457481679240", "endTimeUnixNano": "1796073457491213001", "durationMs": 9.533761, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.154992, "db.connection": "reader", "db.lock_wait_ms": 1.12}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "89aa2014fab9dc9669a3de0e191ff8d5", "spanId": "f9339c14d7a720b2", "parentSpanId": "147bc9296c0c2720", "startTimeUnixNano": "1796073457481672087", "endTimeUnixNano": "1796073457491224542", "durationMs": 9.552455, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "89aa2014fab9dc9669a3de0e191ff8d5", "spanId": "147bc9296c0c2720", "parentSpanId": "bbe3534d3345afdf", "startTimeUnixNano": "1796073457481640678", "endTimeUnixNano": "1796073457491229071", "durationMs": 9.588393, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "89aa2014fab9dc9669a3de0e191ff8d5", "spanId": "bbe3534d3345afdf", "startTimeUnixNano": "1796073457481627494", "endTimeUnixNano": "1796073457491234200", "durationMs": 9.606706, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6c1fce912ef20b0ce850122a96f85dc4", "spanId": "371bec420162f605", "parentSpanId": "27234a173f3d3c18", "startTimeUnixNano": "1796073458778332637", "endTimeUnixNano": "1796073458778487686", "durationMs": 0.155049, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6c1fce912ef20b0ce850122a96f85dc4", "spanId": "2d359efaf1b59f00", "parentSpanId": "098fbb7ebbf1d547", "startTimeUnixNano": "1796073458778527801", "endTimeUnixNano": "1796073458779086642", "durationMs": 0.558841, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005721}}
{"type": "effect-span", "name": "sqlite", "traceId": "6c1fce912ef20b0ce850122a96f85dc4", "spanId": "e4831e56d8e29962", "parentSpanId": "098fbb7ebbf1d547", "startTimeUnixNano": "1796073458779165930", "endTimeUnixNano": "1796073458780310672", "durationMs": 1.144742, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009598}}
{"type": "effect-span", "name": "sqlite", "traceId": "6c1fce912ef20b0ce850122a96f85dc4", "spanId": "8536489996872758", "parentSpanId": "098fbb7ebbf1d547", "startTimeUnixNano": "1796073458780336029", "endTimeUnixNano": "1796073458781132914", "durationMs": 0.796885, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008346}}
{"type": "effect-span", "name": "sqlite", "traceId": "6c1fce912ef20b0ce850122a96f85dc4", "spanId": "8d12391297722b0a", "parentSpanId": "098fbb7ebbf1d547", "startTimeUnixNano": "1796073458787845870", "endTimeUnixNano": "1796073458789540497", "durationMs": 1.694627, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008085}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6c1fce912ef20b0ce850122a96f85dc4", "spanId": "098fbb7ebbf1d547", "parentSpanId": "27234a173f3d3c18", "startTimeUnixNano": "1796073458778522120", "endTimeUnixNano": "1796073458789766678", "durationMs": 11.244558, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6c1fce912ef20b0ce850122a96f85dc4", "spanId": "ed4b1c7d8cb5785c", "parentSpanId": "27234a173f3d3c18", "startTimeUnixNano": "1796073458789783129", "endTimeUnixNano": "1796073458789929682", "durationMs": 0.146553, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6c1fce912ef20b0ce850122a96f85dc4", "spanId": "27234a173f3d3c18", "parentSpanId": "ba0f1896db44b980", "startTimeUnixNano": "1796073458776485957", "endTimeUnixNano": "1796073458789947124", "durationMs": 13.461167, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.843274, "db.connection": "reader", "db.lock_wait_ms": 1.809}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6c1fce912ef20b0ce850122a96f85dc4", "spanId": "ba0f1896db44b980", "parentSpanId": "a57c9ff6a2e73969", "startTimeUnixNano": "1796073458776476589", "endTimeUnixNano": "1796073458789962092", "durationMs": 13.485503, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6c1fce912ef20b0ce850122a96f85dc4", "spanId": "a57c9ff6a2e73969", "parentSpanId": "b44a1f12d7138d47", "startTimeUnixNano": "1796073458776410877", "endTimeUnixNano": "1796073458789972742", "durationMs": 13.561865, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6c1fce912ef20b0ce850122a96f85dc4", "spanId": "b44a1f12d7138d47", "startTimeUnixNano": "1796073458776395218", "endTimeUnixNano": "1796073458789979385", "durationMs": 13.584167, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "97a6bd7cc55b9255b826e4d4df45a946", "spanId": "ba5e9234ff645eb6", "parentSpanId": "78424deddc68d84c", "startTimeUnixNano": "1796073458978036585", "endTimeUnixNano": "1796073458978155116", "durationMs": 0.118531, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "97a6bd7cc55b9255b826e4d4df45a946", "spanId": "1b267efc27f5756e", "parentSpanId": "8a52c5c02b90e9e2", "startTimeUnixNano": "1796073458978191974", "endTimeUnixNano": "1796073458978389953", "durationMs": 0.197979, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00534}}
{"type": "effect-span", "name": "sqlite", "traceId": "97a6bd7cc55b9255b826e4d4df45a946", "spanId": "835a9c834b2770b8", "parentSpanId": "8a52c5c02b90e9e2", "startTimeUnixNano": "1796073458978472617", "endTimeUnixNano": "1796073458979216553", "durationMs": 0.743936, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009147}}
{"type": "effect-span", "name": "sqlite", "traceId": "97a6bd7cc55b9255b826e4d4df45a946", "spanId": "7de31a1e71dc68fe", "parentSpanId": "8a52c5c02b90e9e2", "startTimeUnixNano": "1796073458979228455", "endTimeUnixNano": "1796073458979948367", "durationMs": 0.719912, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005511}}
{"type": "effect-span", "name": "sqlite", "traceId": "97a6bd7cc55b9255b826e4d4df45a946", "spanId": "bacaae1761c592a3", "parentSpanId": "8a52c5c02b90e9e2", "startTimeUnixNano": "1796073458985603111", "endTimeUnixNano": "1796073458986909996", "durationMs": 1.306885, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011862}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "97a6bd7cc55b9255b826e4d4df45a946", "spanId": "8a52c5c02b90e9e2", "parentSpanId": "78424deddc68d84c", "startTimeUnixNano": "1796073458978186574", "endTimeUnixNano": "1796073458987124505", "durationMs": 8.937931, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "97a6bd7cc55b9255b826e4d4df45a946", "spanId": "406885f03c77351c", "parentSpanId": "78424deddc68d84c", "startTimeUnixNano": "1796073458987138542", "endTimeUnixNano": "1796073458987365084", "durationMs": 0.226542, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "97a6bd7cc55b9255b826e4d4df45a946", "spanId": "78424deddc68d84c", "parentSpanId": "6392969385eacd69", "startTimeUnixNano": "1796073458976291524", "endTimeUnixNano": "1796073458987387796", "durationMs": 11.096272, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.740513, "db.connection": "reader", "db.lock_wait_ms": 1.709}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "97a6bd7cc55b9255b826e4d4df45a946", "spanId": "6392969385eacd69", "parentSpanId": "615864938b7e0df0", "startTimeUnixNano": "1796073458976283509", "endTimeUnixNano": "1796073458987401181", "durationMs": 11.117672, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "97a6bd7cc55b9255b826e4d4df45a946", "spanId": "615864938b7e0df0", "parentSpanId": "11ac18dc67241380", "startTimeUnixNano": "1796073458976246871", "endTimeUnixNano": "1796073458987406601", "durationMs": 11.15973, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "97a6bd7cc55b9255b826e4d4df45a946", "spanId": "11ac18dc67241380", "startTimeUnixNano": "1796073458976227114", "endTimeUnixNano": "1796073458987414235", "durationMs": 11.187121, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b5b283b39ba0a9530b37c7c1db8f8357", "spanId": "d98b51bb03b1754b", "parentSpanId": "4def7c6668192a6a", "startTimeUnixNano": "1796073460272448461", "endTimeUnixNano": "1796073460272590706", "durationMs": 0.142245, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b5b283b39ba0a9530b37c7c1db8f8357", "spanId": "d2b94ef970010bd2", "parentSpanId": "a30de0fef3284c27", "startTimeUnixNano": "1796073460272632624", "endTimeUnixNano": "1796073460273179723", "durationMs": 0.547099, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005671}}
{"type": "effect-span", "name": "sqlite", "traceId": "b5b283b39ba0a9530b37c7c1db8f8357", "spanId": "b6acafc562e002bc", "parentSpanId": "a30de0fef3284c27", "startTimeUnixNano": "1796073460273260233", "endTimeUnixNano": "1796073460274207699", "durationMs": 0.947466, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010089}}
{"type": "effect-span", "name": "sqlite", "traceId": "b5b283b39ba0a9530b37c7c1db8f8357", "spanId": "bb0207f9923ee700", "parentSpanId": "a30de0fef3284c27", "startTimeUnixNano": "1796073460274224971", "endTimeUnixNano": "1796073460275059245", "durationMs": 0.834274, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007704}}
{"type": "effect-span", "name": "sqlite", "traceId": "b5b283b39ba0a9530b37c7c1db8f8357", "spanId": "4423299a7fc2de06", "parentSpanId": "a30de0fef3284c27", "startTimeUnixNano": "1796073460282739303", "endTimeUnixNano": "1796073460284215483", "durationMs": 1.47618, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011762}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b5b283b39ba0a9530b37c7c1db8f8357", "spanId": "a30de0fef3284c27", "parentSpanId": "4def7c6668192a6a", "startTimeUnixNano": "1796073460272626643", "endTimeUnixNano": "1796073460284445863", "durationMs": 11.81922, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b5b283b39ba0a9530b37c7c1db8f8357", "spanId": "bf2aee728d5e0806", "parentSpanId": "4def7c6668192a6a", "startTimeUnixNano": "1796073460284469206", "endTimeUnixNano": "1796073460284723340", "durationMs": 0.254134, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b5b283b39ba0a9530b37c7c1db8f8357", "spanId": "4def7c6668192a6a", "parentSpanId": "5e64cd253877328d", "startTimeUnixNano": "1796073460270230219", "endTimeUnixNano": "1796073460284746333", "durationMs": 14.516114, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.214876, "db.connection": "reader", "db.lock_wait_ms": 2.164}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b5b283b39ba0a9530b37c7c1db8f8357", "spanId": "5e64cd253877328d", "parentSpanId": "0f699a82884d1394", "startTimeUnixNano": "1796073460270222374", "endTimeUnixNano": "1796073460284761962", "durationMs": 14.539588, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b5b283b39ba0a9530b37c7c1db8f8357", "spanId": "0f699a82884d1394", "parentSpanId": "ccabcc75543da3db", "startTimeUnixNano": "1796073460270184654", "endTimeUnixNano": "1796073460284768193", "durationMs": 14.583539, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b5b283b39ba0a9530b37c7c1db8f8357", "spanId": "ccabcc75543da3db", "startTimeUnixNano": "1796073460270168433", "endTimeUnixNano": "1796073460284775106", "durationMs": 14.606673, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "aa04c46aff9213de30625e4ea2aac2df", "spanId": "ba0971cdbe7b7da1", "parentSpanId": "6884febe5d9d16e8", "startTimeUnixNano": "1796073460497113015", "endTimeUnixNano": "1796073460497321474", "durationMs": 0.208459, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa04c46aff9213de30625e4ea2aac2df", "spanId": "63b9862467432e4d", "parentSpanId": "0eb110c3a3aee94e", "startTimeUnixNano": "1796073460497357401", "endTimeUnixNano": "1796073460497581418", "durationMs": 0.224017, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004578}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa04c46aff9213de30625e4ea2aac2df", "spanId": "8031c9e2c0985310", "parentSpanId": "0eb110c3a3aee94e", "startTimeUnixNano": "1796073460497653653", "endTimeUnixNano": "1796073460498821669", "durationMs": 1.168016, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009317}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa04c46aff9213de30625e4ea2aac2df", "spanId": "39d9e81863f3b8dc", "parentSpanId": "0eb110c3a3aee94e", "startTimeUnixNano": "1796073460498835444", "endTimeUnixNano": "1796073460499946715", "durationMs": 1.111271, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005581}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa04c46aff9213de30625e4ea2aac2df", "spanId": "0aed629978a30d15", "parentSpanId": "0eb110c3a3aee94e", "startTimeUnixNano": "1796073460505558900", "endTimeUnixNano": "1796073460507340279", "durationMs": 1.781379, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.028824}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "aa04c46aff9213de30625e4ea2aac2df", "spanId": "0eb110c3a3aee94e", "parentSpanId": "6884febe5d9d16e8", "startTimeUnixNano": "1796073460497352161", "endTimeUnixNano": "1796073460507583993", "durationMs": 10.231832, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "aa04c46aff9213de30625e4ea2aac2df", "spanId": "dc7f924d14cb5074", "parentSpanId": "6884febe5d9d16e8", "startTimeUnixNano": "1796073460507606816", "endTimeUnixNano": "1796073460508019274", "durationMs": 0.412458, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "aa04c46aff9213de30625e4ea2aac2df", "spanId": "6884febe5d9d16e8", "parentSpanId": "bdecdbfb8778ef8d", "startTimeUnixNano": "1796073460495876953", "endTimeUnixNano": "1796073460508037147", "durationMs": 12.160194, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.233267, "db.connection": "reader", "db.lock_wait_ms": 1.203}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "aa04c46aff9213de30625e4ea2aac2df", "spanId": "bdecdbfb8778ef8d", "parentSpanId": "b5d4476b23bf8021", "startTimeUnixNano": "1796073460495869779", "endTimeUnixNano": "1796073460508049340", "durationMs": 12.179561, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "aa04c46aff9213de30625e4ea2aac2df", "spanId": "b5d4476b23bf8021", "parentSpanId": "67a6dfe6daf72a29", "startTimeUnixNano": "1796073460495842268", "endTimeUnixNano": "1796073460508058567", "durationMs": 12.216299, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "aa04c46aff9213de30625e4ea2aac2df", "spanId": "67a6dfe6daf72a29", "startTimeUnixNano": "1796073460495828001", "endTimeUnixNano": "1796073460508064198", "durationMs": 12.236197, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "95d3422285cf52892d94777bf2577468", "spanId": "14a119088002a0b8", "parentSpanId": "f94459347031f2b5", "startTimeUnixNano": "1796073461765048681", "endTimeUnixNano": "1796073461765662956", "durationMs": 0.614275, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "95d3422285cf52892d94777bf2577468", "spanId": "e8ea9f6ba22076d0", "parentSpanId": "72959679ad10bcc2", "startTimeUnixNano": "1796073461765701237", "endTimeUnixNano": "1796073461766292789", "durationMs": 0.591552, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008987}}
{"type": "effect-span", "name": "sqlite", "traceId": "95d3422285cf52892d94777bf2577468", "spanId": "acc96bafef14cb00", "parentSpanId": "72959679ad10bcc2", "startTimeUnixNano": "1796073461766366867", "endTimeUnixNano": "1796073461768346886", "durationMs": 1.980019, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008666}}
{"type": "effect-span", "name": "sqlite", "traceId": "95d3422285cf52892d94777bf2577468", "spanId": "f58cf97398909d39", "parentSpanId": "72959679ad10bcc2", "startTimeUnixNano": "1796073461768366623", "endTimeUnixNano": "1796073461771936183", "durationMs": 3.56956, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006863}}
{"type": "effect-span", "name": "sqlite", "traceId": "95d3422285cf52892d94777bf2577468", "spanId": "c20290e21d1c9e65", "parentSpanId": "72959679ad10bcc2", "startTimeUnixNano": "1796073461785085551", "endTimeUnixNano": "1796073461787888824", "durationMs": 2.803273, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014868}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "95d3422285cf52892d94777bf2577468", "spanId": "72959679ad10bcc2", "parentSpanId": "f94459347031f2b5", "startTimeUnixNano": "1796073461765695496", "endTimeUnixNano": "1796073461788068028", "durationMs": 22.372532, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "95d3422285cf52892d94777bf2577468", "spanId": "4fb7914954ac15a7", "parentSpanId": "f94459347031f2b5", "startTimeUnixNano": "1796073461788081493", "endTimeUnixNano": "1796073461788344773", "durationMs": 0.26328, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "95d3422285cf52892d94777bf2577468", "spanId": "f94459347031f2b5", "parentSpanId": "50a2b7932f969ef8", "startTimeUnixNano": "1796073461763913737", "endTimeUnixNano": "1796073461788365272", "durationMs": 24.451535, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.132149, "db.connection": "reader", "db.lock_wait_ms": 1.099}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "95d3422285cf52892d94777bf2577468", "spanId": "50a2b7932f969ef8", "parentSpanId": "83f13c8570147c43", "startTimeUnixNano": "1796073461763906764", "endTimeUnixNano": "1796073461788380350", "durationMs": 24.473586, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "95d3422285cf52892d94777bf2577468", "spanId": "83f13c8570147c43", "parentSpanId": "5a76a174d6917878", "startTimeUnixNano": "1796073461763871508", "endTimeUnixNano": "1796073461788386902", "durationMs": 24.515394, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "95d3422285cf52892d94777bf2577468", "spanId": "5a76a174d6917878", "startTimeUnixNano": "1796073461763852974", "endTimeUnixNano": "1796073461788397762", "durationMs": 24.544788, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ec159ef5263db9fb3abc47fe4bdce48e", "spanId": "0fa5de6e9761e11c", "parentSpanId": "b8e663d507b0c350", "startTimeUnixNano": "1796073461971236871", "endTimeUnixNano": "1796073461971780825", "durationMs": 0.543954, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec159ef5263db9fb3abc47fe4bdce48e", "spanId": "1a592bc486cb2b77", "parentSpanId": "a0341bcddfa49189", "startTimeUnixNano": "1796073461971825508", "endTimeUnixNano": "1796073461973422714", "durationMs": 1.597206, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004849}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec159ef5263db9fb3abc47fe4bdce48e", "spanId": "73580d2a69b70e86", "parentSpanId": "a0341bcddfa49189", "startTimeUnixNano": "1796073461973515687", "endTimeUnixNano": "1796073461975365884", "durationMs": 1.850197, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01085}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec159ef5263db9fb3abc47fe4bdce48e", "spanId": "3c0a5bee059d1f5c", "parentSpanId": "a0341bcddfa49189", "startTimeUnixNano": "1796073461975387695", "endTimeUnixNano": "1796073461976571951", "durationMs": 1.184256, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016981}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec159ef5263db9fb3abc47fe4bdce48e", "spanId": "124cc96699d910a1", "parentSpanId": "a0341bcddfa49189", "startTimeUnixNano": "1796073461982213031", "endTimeUnixNano": "1796073461983992676", "durationMs": 1.779645, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011842}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ec159ef5263db9fb3abc47fe4bdce48e", "spanId": "a0341bcddfa49189", "parentSpanId": "b8e663d507b0c350", "startTimeUnixNano": "1796073461971819357", "endTimeUnixNano": "1796073461984223807", "durationMs": 12.40445, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ec159ef5263db9fb3abc47fe4bdce48e", "spanId": "e1044978192034d9", "parentSpanId": "b8e663d507b0c350", "startTimeUnixNano": "1796073461984238314", "endTimeUnixNano": "1796073461984502456", "durationMs": 0.264142, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ec159ef5263db9fb3abc47fe4bdce48e", "spanId": "b8e663d507b0c350", "parentSpanId": "56e153eb18a355e5", "startTimeUnixNano": "1796073461969228810", "endTimeUnixNano": "1796073461984532432", "durationMs": 15.303622, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.00169, "db.connection": "reader", "db.lock_wait_ms": 1.971}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ec159ef5263db9fb3abc47fe4bdce48e", "spanId": "56e153eb18a355e5", "parentSpanId": "f06d334237fa7717", "startTimeUnixNano": "1796073461969219603", "endTimeUnixNano": "1796073461984553481", "durationMs": 15.333878, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ec159ef5263db9fb3abc47fe4bdce48e", "spanId": "f06d334237fa7717", "parentSpanId": "d94f20c1c0c571e4", "startTimeUnixNano": "1796073461969190499", "endTimeUnixNano": "1796073461984560334", "durationMs": 15.369835, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ec159ef5263db9fb3abc47fe4bdce48e", "spanId": "d94f20c1c0c571e4", "startTimeUnixNano": "1796073461969168768", "endTimeUnixNano": "1796073461984569391", "durationMs": 15.400623, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b9c6f811969f127e8cf7baa026cfda5f", "spanId": "04e85bc265bc26f7", "parentSpanId": "3269f7a60cc09806", "startTimeUnixNano": "1796073463264881808", "endTimeUnixNano": "1796073463265276072", "durationMs": 0.394264, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9c6f811969f127e8cf7baa026cfda5f", "spanId": "e99685e90cabeb9a", "parentSpanId": "320a1a6a2f24b6c2", "startTimeUnixNano": "1796073463265330083", "endTimeUnixNano": "1796073463266198280", "durationMs": 0.868197, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006292}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9c6f811969f127e8cf7baa026cfda5f", "spanId": "c55a104a4ee08b92", "parentSpanId": "320a1a6a2f24b6c2", "startTimeUnixNano": "1796073463266331088", "endTimeUnixNano": "1796073463267227799", "durationMs": 0.896711, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013435}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9c6f811969f127e8cf7baa026cfda5f", "spanId": "8e8e6f63d9f68046", "parentSpanId": "320a1a6a2f24b6c2", "startTimeUnixNano": "1796073463267247956", "endTimeUnixNano": "1796073463268042937", "durationMs": 0.794981, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009037}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9c6f811969f127e8cf7baa026cfda5f", "spanId": "12d068e0ab4ebcfb", "parentSpanId": "320a1a6a2f24b6c2", "startTimeUnixNano": "1796073463274938966", "endTimeUnixNano": "1796073463278143275", "durationMs": 3.204309, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013164}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b9c6f811969f127e8cf7baa026cfda5f", "spanId": "320a1a6a2f24b6c2", "parentSpanId": "3269f7a60cc09806", "startTimeUnixNano": "1796073463265323330", "endTimeUnixNano": "1796073463278381650", "durationMs": 13.05832, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b9c6f811969f127e8cf7baa026cfda5f", "spanId": "eebf6f488c618c36", "parentSpanId": "3269f7a60cc09806", "startTimeUnixNano": "1796073463278399633", "endTimeUnixNano": "1796073463279998021", "durationMs": 1.598388, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b9c6f811969f127e8cf7baa026cfda5f", "spanId": "3269f7a60cc09806", "parentSpanId": "bb956ab242e66719", "startTimeUnixNano": "1796073463262590629", "endTimeUnixNano": "1796073463280026234", "durationMs": 17.435605, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.287762, "db.connection": "reader", "db.lock_wait_ms": 2.219}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b9c6f811969f127e8cf7baa026cfda5f", "spanId": "bb956ab242e66719", "parentSpanId": "4ff66a7065dd4a46", "startTimeUnixNano": "1796073463262576082", "endTimeUnixNano": "1796073463280043406", "durationMs": 17.467324, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b9c6f811969f127e8cf7baa026cfda5f", "spanId": "4ff66a7065dd4a46", "parentSpanId": "9ddd7584602576a1", "startTimeUnixNano": "1796073463262514277", "endTimeUnixNano": "1796073463280047824", "durationMs": 17.533547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b9c6f811969f127e8cf7baa026cfda5f", "spanId": "9ddd7584602576a1", "startTimeUnixNano": "1796073463262493749", "endTimeUnixNano": "1796073463280055388", "durationMs": 17.561639, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "91181348b3381b1b52287960e8009e65", "spanId": "eb02976073969388", "parentSpanId": "85a073f3d3fa5209", "startTimeUnixNano": "1796073463473452902", "endTimeUnixNano": "1796073463473781945", "durationMs": 0.329043, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "91181348b3381b1b52287960e8009e65", "spanId": "fcdedd84098a42be", "parentSpanId": "5da44f07943d2718", "startTimeUnixNano": "1796073463473825316", "endTimeUnixNano": "1796073463473972069", "durationMs": 0.146753, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004819}}
{"type": "effect-span", "name": "sqlite", "traceId": "91181348b3381b1b52287960e8009e65", "spanId": "b3048d60c87dcfe2", "parentSpanId": "5da44f07943d2718", "startTimeUnixNano": "1796073463474040276", "endTimeUnixNano": "1796073463475016375", "durationMs": 0.976099, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008266}}
{"type": "effect-span", "name": "sqlite", "traceId": "91181348b3381b1b52287960e8009e65", "spanId": "da05df5eebec550f", "parentSpanId": "5da44f07943d2718", "startTimeUnixNano": "1796073463475029660", "endTimeUnixNano": "1796073463476107338", "durationMs": 1.077678, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006742}}
{"type": "effect-span", "name": "sqlite", "traceId": "91181348b3381b1b52287960e8009e65", "spanId": "813c4987315f765f", "parentSpanId": "5da44f07943d2718", "startTimeUnixNano": "1796073463481269516", "endTimeUnixNano": "1796073463483154007", "durationMs": 1.884491, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011801}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "91181348b3381b1b52287960e8009e65", "spanId": "5da44f07943d2718", "parentSpanId": "85a073f3d3fa5209", "startTimeUnixNano": "1796073463473819635", "endTimeUnixNano": "1796073463483427987", "durationMs": 9.608352, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "91181348b3381b1b52287960e8009e65", "spanId": "009581afa6877b32", "parentSpanId": "85a073f3d3fa5209", "startTimeUnixNano": "1796073463483457141", "endTimeUnixNano": "1796073463485080496", "durationMs": 1.623355, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "91181348b3381b1b52287960e8009e65", "spanId": "85a073f3d3fa5209", "parentSpanId": "2af1d9f0adc78567", "startTimeUnixNano": "1796073463471718541", "endTimeUnixNano": "1796073463485107145", "durationMs": 13.388604, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.730133, "db.connection": "reader", "db.lock_wait_ms": 1.69}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "91181348b3381b1b52287960e8009e65", "spanId": "2af1d9f0adc78567", "parentSpanId": "24f026e16fc82826", "startTimeUnixNano": "1796073463471708131", "endTimeUnixNano": "1796073463485131831", "durationMs": 13.4237, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "91181348b3381b1b52287960e8009e65", "spanId": "24f026e16fc82826", "parentSpanId": "6e0cf5dd5aa09a5a", "startTimeUnixNano": "1796073463471670131", "endTimeUnixNano": "1796073463485139676", "durationMs": 13.469545, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "91181348b3381b1b52287960e8009e65", "spanId": "6e0cf5dd5aa09a5a", "startTimeUnixNano": "1796073463471648570", "endTimeUnixNano": "1796073463485148873", "durationMs": 13.500303, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "563fe95090ba858310c788d25a898ccb", "spanId": "7baca99d055f4d5d", "parentSpanId": "d4bd65ddbea7e392", "startTimeUnixNano": "1796073464814525220", "endTimeUnixNano": "1796073464814696399", "durationMs": 0.171179, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "563fe95090ba858310c788d25a898ccb", "spanId": "a906a24a355a5a26", "parentSpanId": "4e9c54699e45f911", "startTimeUnixNano": "1796073464814739339", "endTimeUnixNano": "1796073464815341280", "durationMs": 0.601941, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007193}}
{"type": "effect-span", "name": "sqlite", "traceId": "563fe95090ba858310c788d25a898ccb", "spanId": "51303c1cb73c2f98", "parentSpanId": "4e9c54699e45f911", "startTimeUnixNano": "1796073464815451105", "endTimeUnixNano": "1796073464816532209", "durationMs": 1.081104, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015148}}
{"type": "effect-span", "name": "sqlite", "traceId": "563fe95090ba858310c788d25a898ccb", "spanId": "4c6e68f3705a0b29", "parentSpanId": "4e9c54699e45f911", "startTimeUnixNano": "1796073464816552136", "endTimeUnixNano": "1796073464817476308", "durationMs": 0.924172, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008947}}
{"type": "effect-span", "name": "sqlite", "traceId": "563fe95090ba858310c788d25a898ccb", "spanId": "be4fb582e74821d5", "parentSpanId": "4e9c54699e45f911", "startTimeUnixNano": "1796073464824618625", "endTimeUnixNano": "1796073464826961240", "durationMs": 2.342615, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01084}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "563fe95090ba858310c788d25a898ccb", "spanId": "4e9c54699e45f911", "parentSpanId": "d4bd65ddbea7e392", "startTimeUnixNano": "1796073464814732676", "endTimeUnixNano": "1796073464827200305", "durationMs": 12.467629, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "563fe95090ba858310c788d25a898ccb", "spanId": "c4fe1d37c9bc7bfa", "parentSpanId": "d4bd65ddbea7e392", "startTimeUnixNano": "1796073464827222477", "endTimeUnixNano": "1796073464827430624", "durationMs": 0.208147, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "563fe95090ba858310c788d25a898ccb", "spanId": "d4bd65ddbea7e392", "parentSpanId": "5751fea85d118df2", "startTimeUnixNano": "1796073464812273584", "endTimeUnixNano": "1796073464827469367", "durationMs": 15.195783, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.247087, "db.connection": "reader", "db.lock_wait_ms": 2.211}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "563fe95090ba858310c788d25a898ccb", "spanId": "5751fea85d118df2", "parentSpanId": "0d65df8896d3cbf8", "startTimeUnixNano": "1796073464812262644", "endTimeUnixNano": "1796073464827487641", "durationMs": 15.224997, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "563fe95090ba858310c788d25a898ccb", "spanId": "0d65df8896d3cbf8", "parentSpanId": "594c82e787375b8c", "startTimeUnixNano": "1796073464812216909", "endTimeUnixNano": "1796073464827494423", "durationMs": 15.277514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "563fe95090ba858310c788d25a898ccb", "spanId": "594c82e787375b8c", "startTimeUnixNano": "1796073464812192283", "endTimeUnixNano": "1796073464827504061", "durationMs": 15.311778, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2fbe81cc313b02f4f8f8bdceac10f1d4", "spanId": "72d5d572be32758f", "parentSpanId": "43aa42eebc53af15", "startTimeUnixNano": "1796073465058721820", "endTimeUnixNano": "1796073465058857392", "durationMs": 0.135572, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2fbe81cc313b02f4f8f8bdceac10f1d4", "spanId": "a9d4598fa0f75af3", "parentSpanId": "ed1a4063937480cd", "startTimeUnixNano": "1796073465058894351", "endTimeUnixNano": "1796073465059552417", "durationMs": 0.658066, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005621}}
{"type": "effect-span", "name": "sqlite", "traceId": "2fbe81cc313b02f4f8f8bdceac10f1d4", "spanId": "0b7a48d58d0ff8d6", "parentSpanId": "ed1a4063937480cd", "startTimeUnixNano": "1796073465059639650", "endTimeUnixNano": "1796073465060613364", "durationMs": 0.973714, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012062}}
{"type": "effect-span", "name": "sqlite", "traceId": "2fbe81cc313b02f4f8f8bdceac10f1d4", "spanId": "599c2c7a2052d2f8", "parentSpanId": "ed1a4063937480cd", "startTimeUnixNano": "1796073465060647287", "endTimeUnixNano": "1796073465061640067", "durationMs": 0.99278, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017202}}
{"type": "effect-span", "name": "sqlite", "traceId": "2fbe81cc313b02f4f8f8bdceac10f1d4", "spanId": "96ef3f1ea07a6ebe", "parentSpanId": "ed1a4063937480cd", "startTimeUnixNano": "1796073465068372521", "endTimeUnixNano": "1796073465069978263", "durationMs": 1.605742, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011561}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2fbe81cc313b02f4f8f8bdceac10f1d4", "spanId": "ed1a4063937480cd", "parentSpanId": "43aa42eebc53af15", "startTimeUnixNano": "1796073465058888530", "endTimeUnixNano": "1796073465070232607", "durationMs": 11.344077, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2fbe81cc313b02f4f8f8bdceac10f1d4", "spanId": "df7771072000f582", "parentSpanId": "43aa42eebc53af15", "startTimeUnixNano": "1796073465070251021", "endTimeUnixNano": "1796073465070823067", "durationMs": 0.572046, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2fbe81cc313b02f4f8f8bdceac10f1d4", "spanId": "43aa42eebc53af15", "parentSpanId": "48a21e5f04816e97", "startTimeUnixNano": "1796073465057362637", "endTimeUnixNano": "1796073465070847582", "durationMs": 13.484945, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.355165, "db.connection": "reader", "db.lock_wait_ms": 1.324}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2fbe81cc313b02f4f8f8bdceac10f1d4", "spanId": "48a21e5f04816e97", "parentSpanId": "ec610c4d7da0b51a", "startTimeUnixNano": "1796073465057354121", "endTimeUnixNano": "1796073465070868972", "durationMs": 13.514851, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2fbe81cc313b02f4f8f8bdceac10f1d4", "spanId": "ec610c4d7da0b51a", "parentSpanId": "72ae77da847d37ac", "startTimeUnixNano": "1796073465057312734", "endTimeUnixNano": "1796073465070874272", "durationMs": 13.561538, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2fbe81cc313b02f4f8f8bdceac10f1d4", "spanId": "72ae77da847d37ac", "startTimeUnixNano": "1796073465057289281", "endTimeUnixNano": "1796073465070882037", "durationMs": 13.592756, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0e9abba83d1be226faa1d178b243dbfc", "spanId": "1a330f3f30a39599", "parentSpanId": "12f59f3aea20fd6b", "startTimeUnixNano": "1796073466406621589", "endTimeUnixNano": "1796073466406832382", "durationMs": 0.210793, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e9abba83d1be226faa1d178b243dbfc", "spanId": "5293ba8e51dd0b14", "parentSpanId": "172043fc9aa696c7", "startTimeUnixNano": "1796073466406867467", "endTimeUnixNano": "1796073466407481582", "durationMs": 0.614115, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005491}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e9abba83d1be226faa1d178b243dbfc", "spanId": "79eac892b87857b1", "parentSpanId": "172043fc9aa696c7", "startTimeUnixNano": "1796073466407571729", "endTimeUnixNano": "1796073466408678602", "durationMs": 1.106873, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011943}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e9abba83d1be226faa1d178b243dbfc", "spanId": "8b9cbe39c3cdc8a9", "parentSpanId": "172043fc9aa696c7", "startTimeUnixNano": "1796073466408696435", "endTimeUnixNano": "1796073466409605098", "durationMs": 0.908663, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007364}}
{"type": "effect-span", "name": "sqlite", "traceId": "0e9abba83d1be226faa1d178b243dbfc", "spanId": "c3bd2b9a06bf1f47", "parentSpanId": "172043fc9aa696c7", "startTimeUnixNano": "1796073466416492451", "endTimeUnixNano": "1796073466418225771", "durationMs": 1.73332, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008726}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0e9abba83d1be226faa1d178b243dbfc", "spanId": "172043fc9aa696c7", "parentSpanId": "12f59f3aea20fd6b", "startTimeUnixNano": "1796073466406861346", "endTimeUnixNano": "1796073466418449137", "durationMs": 11.587791, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0e9abba83d1be226faa1d178b243dbfc", "spanId": "16df1fb615f8d303", "parentSpanId": "12f59f3aea20fd6b", "startTimeUnixNano": "1796073466418464716", "endTimeUnixNano": "1796073466418727716", "durationMs": 0.263, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0e9abba83d1be226faa1d178b243dbfc", "spanId": "12f59f3aea20fd6b", "parentSpanId": "00c788de56fa0396", "startTimeUnixNano": "1796073466404746115", "endTimeUnixNano": "1796073466418751079", "durationMs": 14.004964, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.871817, "db.connection": "reader", "db.lock_wait_ms": 1.831}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0e9abba83d1be226faa1d178b243dbfc", "spanId": "00c788de56fa0396", "parentSpanId": "e08e5ab6cdbcd74e", "startTimeUnixNano": "1796073466404735275", "endTimeUnixNano": "1796073466418766228", "durationMs": 14.030953, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0e9abba83d1be226faa1d178b243dbfc", "spanId": "e08e5ab6cdbcd74e", "parentSpanId": "7a394eba9c2d7ffb", "startTimeUnixNano": "1796073466404690101", "endTimeUnixNano": "1796073466418771778", "durationMs": 14.081677, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0e9abba83d1be226faa1d178b243dbfc", "spanId": "7a394eba9c2d7ffb", "startTimeUnixNano": "1796073466404671857", "endTimeUnixNano": "1796073466418777579", "durationMs": 14.105722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f9c4ae5951595b72d9948efcf3caebb1", "spanId": "9a7cd74720bcf2a0", "parentSpanId": "135e9b51a50fe5f8", "startTimeUnixNano": "1796073466598694807", "endTimeUnixNano": "1796073466599139776", "durationMs": 0.444969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f9c4ae5951595b72d9948efcf3caebb1", "spanId": "44374be711086b8e", "parentSpanId": "3ba0ac4f7c11031d", "startTimeUnixNano": "1796073466599182465", "endTimeUnixNano": "1796073466599425198", "durationMs": 0.242733, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004018}}
{"type": "effect-span", "name": "sqlite", "traceId": "f9c4ae5951595b72d9948efcf3caebb1", "spanId": "c733c53dd02f3059", "parentSpanId": "3ba0ac4f7c11031d", "startTimeUnixNano": "1796073466599507571", "endTimeUnixNano": "1796073466604830739", "durationMs": 5.323168, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008125}}
{"type": "effect-span", "name": "sqlite", "traceId": "f9c4ae5951595b72d9948efcf3caebb1", "spanId": "ab8e391966b4fe35", "parentSpanId": "3ba0ac4f7c11031d", "startTimeUnixNano": "1796073466604850436", "endTimeUnixNano": "1796073466607695958", "durationMs": 2.845522, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012513}}
{"type": "effect-span", "name": "sqlite", "traceId": "f9c4ae5951595b72d9948efcf3caebb1", "spanId": "ddaa6fffd3c3df78", "parentSpanId": "3ba0ac4f7c11031d", "startTimeUnixNano": "1796073466612454985", "endTimeUnixNano": "1796073466615384073", "durationMs": 2.929088, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012594}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f9c4ae5951595b72d9948efcf3caebb1", "spanId": "3ba0ac4f7c11031d", "parentSpanId": "135e9b51a50fe5f8", "startTimeUnixNano": "1796073466599176695", "endTimeUnixNano": "1796073466615692147", "durationMs": 16.515452, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f9c4ae5951595b72d9948efcf3caebb1", "spanId": "36c6c4b3b4655860", "parentSpanId": "135e9b51a50fe5f8", "startTimeUnixNano": "1796073466615711823", "endTimeUnixNano": "1796073466616921137", "durationMs": 1.209314, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f9c4ae5951595b72d9948efcf3caebb1", "spanId": "135e9b51a50fe5f8", "parentSpanId": "bf6d06b86a3a49a8", "startTimeUnixNano": "1796073466597231430", "endTimeUnixNano": "1796073466616943689", "durationMs": 19.712259, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.459519, "db.connection": "reader", "db.lock_wait_ms": 1.432}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f9c4ae5951595b72d9948efcf3caebb1", "spanId": "bf6d06b86a3a49a8", "parentSpanId": "9f2e990565363674", "startTimeUnixNano": "1796073466597223615", "endTimeUnixNano": "1796073466616962584", "durationMs": 19.738969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f9c4ae5951595b72d9948efcf3caebb1", "spanId": "9f2e990565363674", "parentSpanId": "bd0acb8a61b8e374", "startTimeUnixNano": "1796073466597194882", "endTimeUnixNano": "1796073466616968865", "durationMs": 19.773983, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f9c4ae5951595b72d9948efcf3caebb1", "spanId": "bd0acb8a61b8e374", "startTimeUnixNano": "1796073466597180455", "endTimeUnixNano": "1796073466616978804", "durationMs": 19.798349, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2001c1c80a15fa6a3642cf38ad17f716", "spanId": "dc810cdc753dea9c", "parentSpanId": "9eda0aeded559257", "startTimeUnixNano": "1796073467963174899", "endTimeUnixNano": "1796073467963384840", "durationMs": 0.209941, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2001c1c80a15fa6a3642cf38ad17f716", "spanId": "531337d8c80d77b4", "parentSpanId": "dd86338a24c20078", "startTimeUnixNano": "1796073467963417250", "endTimeUnixNano": "1796073467964009794", "durationMs": 0.592544, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005641}}
{"type": "effect-span", "name": "sqlite", "traceId": "2001c1c80a15fa6a3642cf38ad17f716", "spanId": "7f3c53d91c5e89bd", "parentSpanId": "dd86338a24c20078", "startTimeUnixNano": "1796073467964085716", "endTimeUnixNano": "1796073467964996813", "durationMs": 0.911097, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008706}}
{"type": "effect-span", "name": "sqlite", "traceId": "2001c1c80a15fa6a3642cf38ad17f716", "spanId": "e56483364adecd2e", "parentSpanId": "dd86338a24c20078", "startTimeUnixNano": "1796073467965012983", "endTimeUnixNano": "1796073467965834664", "durationMs": 0.821681, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007474}}
{"type": "effect-span", "name": "sqlite", "traceId": "2001c1c80a15fa6a3642cf38ad17f716", "spanId": "c9035949bce4eef3", "parentSpanId": "dd86338a24c20078", "startTimeUnixNano": "1796073467974454806", "endTimeUnixNano": "1796073467976249981", "durationMs": 1.795175, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008656}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2001c1c80a15fa6a3642cf38ad17f716", "spanId": "dd86338a24c20078", "parentSpanId": "9eda0aeded559257", "startTimeUnixNano": "1796073467963411319", "endTimeUnixNano": "1796073467976536535", "durationMs": 13.125216, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2001c1c80a15fa6a3642cf38ad17f716", "spanId": "afd5ae79b48a8198", "parentSpanId": "9eda0aeded559257", "startTimeUnixNano": "1796073467976557985", "endTimeUnixNano": "1796073467976936019", "durationMs": 0.378034, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2001c1c80a15fa6a3642cf38ad17f716", "spanId": "9eda0aeded559257", "parentSpanId": "a2e00fd5c81ab94a", "startTimeUnixNano": "1796073467961237859", "endTimeUnixNano": "1796073467976961106", "durationMs": 15.723247, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.933523, "db.connection": "reader", "db.lock_wait_ms": 1.901}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2001c1c80a15fa6a3642cf38ad17f716", "spanId": "a2e00fd5c81ab94a", "parentSpanId": "40db4ba46a70fc2b", "startTimeUnixNano": "1796073467961229855", "endTimeUnixNano": "1796073467976978438", "durationMs": 15.748583, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2001c1c80a15fa6a3642cf38ad17f716", "spanId": "40db4ba46a70fc2b", "parentSpanId": "1ca52e9d60bd666c", "startTimeUnixNano": "1796073467961191864", "endTimeUnixNano": "1796073467976984058", "durationMs": 15.792194, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2001c1c80a15fa6a3642cf38ad17f716", "spanId": "1ca52e9d60bd666c", "startTimeUnixNano": "1796073467961175393", "endTimeUnixNano": "1796073467976990841", "durationMs": 15.815448, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1156a61481fa6883bb2cd3636132daaf", "spanId": "cee9745556e42e2f", "parentSpanId": "f1a08b3687aab03d", "startTimeUnixNano": "1796073468190206005", "endTimeUnixNano": "1796073468190584841", "durationMs": 0.378836, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1156a61481fa6883bb2cd3636132daaf", "spanId": "cd8f35324d33fd2d", "parentSpanId": "cfc7f9da0860e57b", "startTimeUnixNano": "1796073468190647888", "endTimeUnixNano": "1796073468190792227", "durationMs": 0.144339, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007734}}
{"type": "effect-span", "name": "sqlite", "traceId": "1156a61481fa6883bb2cd3636132daaf", "spanId": "c3d84e9c9217d349", "parentSpanId": "cfc7f9da0860e57b", "startTimeUnixNano": "1796073468190898966", "endTimeUnixNano": "1796073468192070559", "durationMs": 1.171593, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012914}}
{"type": "effect-span", "name": "sqlite", "traceId": "1156a61481fa6883bb2cd3636132daaf", "spanId": "f4ceefad7e4616e8", "parentSpanId": "cfc7f9da0860e57b", "startTimeUnixNano": "1796073468192089995", "endTimeUnixNano": "1796073468192942414", "durationMs": 0.852419, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007013}}
{"type": "effect-span", "name": "sqlite", "traceId": "1156a61481fa6883bb2cd3636132daaf", "spanId": "c65a4a6796a626b1", "parentSpanId": "cfc7f9da0860e57b", "startTimeUnixNano": "1796073468197570196", "endTimeUnixNano": "1796073468199560395", "durationMs": 1.990199, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009057}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1156a61481fa6883bb2cd3636132daaf", "spanId": "cfc7f9da0860e57b", "parentSpanId": "f1a08b3687aab03d", "startTimeUnixNano": "1796073468190638340", "endTimeUnixNano": "1796073468199753444", "durationMs": 9.115104, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1156a61481fa6883bb2cd3636132daaf", "spanId": "48b01d815dbc6b84", "parentSpanId": "f1a08b3687aab03d", "startTimeUnixNano": "1796073468199764655", "endTimeUnixNano": "1796073468200097055", "durationMs": 0.3324, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1156a61481fa6883bb2cd3636132daaf", "spanId": "f1a08b3687aab03d", "parentSpanId": "343899a448f4fc3f", "startTimeUnixNano": "1796073468188688527", "endTimeUnixNano": "1796073468200117172", "durationMs": 11.428645, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.512008, "db.connection": "reader", "db.lock_wait_ms": 1.485}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1156a61481fa6883bb2cd3636132daaf", "spanId": "343899a448f4fc3f", "parentSpanId": "92233418e797c16b", "startTimeUnixNano": "1796073468188680723", "endTimeUnixNano": "1796073468200128283", "durationMs": 11.44756, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1156a61481fa6883bb2cd3636132daaf", "spanId": "92233418e797c16b", "parentSpanId": "5b2db6cd4cf88a8b", "startTimeUnixNano": "1796073468188646669", "endTimeUnixNano": "1796073468200132681", "durationMs": 11.486012, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1156a61481fa6883bb2cd3636132daaf", "spanId": "5b2db6cd4cf88a8b", "startTimeUnixNano": "1796073468188631902", "endTimeUnixNano": "1796073468200143461", "durationMs": 11.511559, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "41d07d33892c1c4153d8fa26b31a41f0", "spanId": "e9f02bd52f410ba6", "parentSpanId": "b424dcdd5f61dcc1", "startTimeUnixNano": "1796073469637533371", "endTimeUnixNano": "1796073469637784338", "durationMs": 0.250967, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "41d07d33892c1c4153d8fa26b31a41f0", "spanId": "ee009c8dd5aafd7b", "parentSpanId": "2d7ae930d6b7bdb0", "startTimeUnixNano": "1796073469637860761", "endTimeUnixNano": "1796073469638870733", "durationMs": 1.009972, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007774}}
{"type": "effect-span", "name": "sqlite", "traceId": "41d07d33892c1c4153d8fa26b31a41f0", "spanId": "8dd8b787a9bb703f", "parentSpanId": "2d7ae930d6b7bdb0", "startTimeUnixNano": "1796073469638988993", "endTimeUnixNano": "1796073469640150237", "durationMs": 1.161244, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012403}}
{"type": "effect-span", "name": "sqlite", "traceId": "41d07d33892c1c4153d8fa26b31a41f0", "spanId": "953e921210e7163c", "parentSpanId": "2d7ae930d6b7bdb0", "startTimeUnixNano": "1796073469640173470", "endTimeUnixNano": "1796073469641774002", "durationMs": 1.600532, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009267}}
{"type": "effect-span", "name": "sqlite", "traceId": "41d07d33892c1c4153d8fa26b31a41f0", "spanId": "b1274034baa87961", "parentSpanId": "2d7ae930d6b7bdb0", "startTimeUnixNano": "1796073469650963976", "endTimeUnixNano": "1796073469653757933", "durationMs": 2.793957, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013295}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "41d07d33892c1c4153d8fa26b31a41f0", "spanId": "2d7ae930d6b7bdb0", "parentSpanId": "b424dcdd5f61dcc1", "startTimeUnixNano": "1796073469637850522", "endTimeUnixNano": "1796073469654048233", "durationMs": 16.197711, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "41d07d33892c1c4153d8fa26b31a41f0", "spanId": "284ed406d0282b84", "parentSpanId": "b424dcdd5f61dcc1", "startTimeUnixNano": "1796073469654074062", "endTimeUnixNano": "1796073469654330760", "durationMs": 0.256698, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "41d07d33892c1c4153d8fa26b31a41f0", "spanId": "b424dcdd5f61dcc1", "parentSpanId": "ae9fd3b3f5bc7b4e", "startTimeUnixNano": "1796073469632034785", "endTimeUnixNano": "1796073469654352050", "durationMs": 22.317265, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.486323, "db.connection": "reader", "db.lock_wait_ms": 5.434}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "41d07d33892c1c4153d8fa26b31a41f0", "spanId": "ae9fd3b3f5bc7b4e", "parentSpanId": "03ad39b794a95f68", "startTimeUnixNano": "1796073469632026550", "endTimeUnixNano": "1796073469654369582", "durationMs": 22.343032, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "41d07d33892c1c4153d8fa26b31a41f0", "spanId": "03ad39b794a95f68", "parentSpanId": "80c4a8d65c986d6a", "startTimeUnixNano": "1796073469631979632", "endTimeUnixNano": "1796073469654375633", "durationMs": 22.396001, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "41d07d33892c1c4153d8fa26b31a41f0", "spanId": "80c4a8d65c986d6a", "startTimeUnixNano": "1796073469631960016", "endTimeUnixNano": "1796073469654384059", "durationMs": 22.424043, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4577dfbd6a32f5ba405c6c3b9b5d9577", "spanId": "529ac2ea2264bb20", "parentSpanId": "ef99384595c794ab", "startTimeUnixNano": "1796073469860637119", "endTimeUnixNano": "1796073469861095874", "durationMs": 0.458755, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4577dfbd6a32f5ba405c6c3b9b5d9577", "spanId": "94ca4d99d3911aca", "parentSpanId": "abe2ddb92e6ea69e", "startTimeUnixNano": "1796073469861134626", "endTimeUnixNano": "1796073469861414798", "durationMs": 0.280172, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004789}}
{"type": "effect-span", "name": "sqlite", "traceId": "4577dfbd6a32f5ba405c6c3b9b5d9577", "spanId": "d43d624ff9abce5e", "parentSpanId": "abe2ddb92e6ea69e", "startTimeUnixNano": "1796073469861508743", "endTimeUnixNano": "1796073469863759748", "durationMs": 2.251005, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010941}}
{"type": "effect-span", "name": "sqlite", "traceId": "4577dfbd6a32f5ba405c6c3b9b5d9577", "spanId": "ed23f51ed500be2a", "parentSpanId": "abe2ddb92e6ea69e", "startTimeUnixNano": "1796073469863775667", "endTimeUnixNano": "1796073469864691133", "durationMs": 0.915466, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006392}}
{"type": "effect-span", "name": "sqlite", "traceId": "4577dfbd6a32f5ba405c6c3b9b5d9577", "spanId": "38d571696b7e1b71", "parentSpanId": "abe2ddb92e6ea69e", "startTimeUnixNano": "1796073469869532855", "endTimeUnixNano": "1796073469871186045", "durationMs": 1.65319, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009027}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4577dfbd6a32f5ba405c6c3b9b5d9577", "spanId": "abe2ddb92e6ea69e", "parentSpanId": "ef99384595c794ab", "startTimeUnixNano": "1796073469861129006", "endTimeUnixNano": "1796073469871409071", "durationMs": 10.280065, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4577dfbd6a32f5ba405c6c3b9b5d9577", "spanId": "8f95cce1cbbf867e", "parentSpanId": "ef99384595c794ab", "startTimeUnixNano": "1796073469871421875", "endTimeUnixNano": "1796073469872712800", "durationMs": 1.290925, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4577dfbd6a32f5ba405c6c3b9b5d9577", "spanId": "ef99384595c794ab", "parentSpanId": "d1d55a7a2422a887", "startTimeUnixNano": "1796073469857025279", "endTimeUnixNano": "1796073469872736124", "durationMs": 15.710845, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.608274, "db.connection": "reader", "db.lock_wait_ms": 3.574}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4577dfbd6a32f5ba405c6c3b9b5d9577", "spanId": "d1d55a7a2422a887", "parentSpanId": "d0bf0114ac69c2ee", "startTimeUnixNano": "1796073469857017755", "endTimeUnixNano": "1796073469872752825", "durationMs": 15.73507, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4577dfbd6a32f5ba405c6c3b9b5d9577", "spanId": "d0bf0114ac69c2ee", "parentSpanId": "5c17a94e80b4c0b8", "startTimeUnixNano": "1796073469856985004", "endTimeUnixNano": "1796073469872758746", "durationMs": 15.773742, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4577dfbd6a32f5ba405c6c3b9b5d9577", "spanId": "5c17a94e80b4c0b8", "startTimeUnixNano": "1796073469856963354", "endTimeUnixNano": "1796073469872766581", "durationMs": 15.803227, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "41590834a1133db38c7a2faa0d62323c", "spanId": "db94f5a98f60b24a", "parentSpanId": "f22e17606c94f369", "startTimeUnixNano": "1796073471197735599", "endTimeUnixNano": "1796073471197876782", "durationMs": 0.141183, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "41590834a1133db38c7a2faa0d62323c", "spanId": "fd9c497ca6709f00", "parentSpanId": "1b6024eed70068d9", "startTimeUnixNano": "1796073471197918149", "endTimeUnixNano": "1796073471198525751", "durationMs": 0.607602, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006392}}
{"type": "effect-span", "name": "sqlite", "traceId": "41590834a1133db38c7a2faa0d62323c", "spanId": "02418dce896b2ea4", "parentSpanId": "1b6024eed70068d9", "startTimeUnixNano": "1796073471198611301", "endTimeUnixNano": "1796073471199612997", "durationMs": 1.001696, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011311}}
{"type": "effect-span", "name": "sqlite", "traceId": "41590834a1133db38c7a2faa0d62323c", "spanId": "4bd8fc9f97adb02e", "parentSpanId": "1b6024eed70068d9", "startTimeUnixNano": "1796073471199633495", "endTimeUnixNano": "1796073471200632747", "durationMs": 0.999252, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009027}}
{"type": "effect-span", "name": "sqlite", "traceId": "41590834a1133db38c7a2faa0d62323c", "spanId": "f1c7faf4d15498aa", "parentSpanId": "1b6024eed70068d9", "startTimeUnixNano": "1796073471208529682", "endTimeUnixNano": "1796073471211259750", "durationMs": 2.730068, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013636}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "41590834a1133db38c7a2faa0d62323c", "spanId": "1b6024eed70068d9", "parentSpanId": "f22e17606c94f369", "startTimeUnixNano": "1796073471197911677", "endTimeUnixNano": "1796073471211598962", "durationMs": 13.687285, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "41590834a1133db38c7a2faa0d62323c", "spanId": "3f01cfc1a300ebad", "parentSpanId": "f22e17606c94f369", "startTimeUnixNano": "1796073471211622646", "endTimeUnixNano": "1796073471211865949", "durationMs": 0.243303, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "41590834a1133db38c7a2faa0d62323c", "spanId": "f22e17606c94f369", "parentSpanId": "3af67748dcc3d26d", "startTimeUnixNano": "1796073471195729841", "endTimeUnixNano": "1796073471211885927", "durationMs": 16.156086, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.002111, "db.connection": "reader", "db.lock_wait_ms": 1.969}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "41590834a1133db38c7a2faa0d62323c", "spanId": "3af67748dcc3d26d", "parentSpanId": "033ad9233a21ff8a", "startTimeUnixNano": "1796073471195722638", "endTimeUnixNano": "1796073471211904832", "durationMs": 16.182194, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "41590834a1133db38c7a2faa0d62323c", "spanId": "033ad9233a21ff8a", "parentSpanId": "1e5c1bba45d44aca", "startTimeUnixNano": "1796073471195684897", "endTimeUnixNano": "1796073471211911304", "durationMs": 16.226407, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "41590834a1133db38c7a2faa0d62323c", "spanId": "1e5c1bba45d44aca", "startTimeUnixNano": "1796073471195670170", "endTimeUnixNano": "1796073471211919579", "durationMs": 16.249409, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "944e763e486eaf6cbe5a15ecc7b4725f", "spanId": "f6163ad5ff6096f7", "parentSpanId": "07af8a6325595bcc", "startTimeUnixNano": "1796073471418677294", "endTimeUnixNano": "1796073471419246946", "durationMs": 0.569652, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "944e763e486eaf6cbe5a15ecc7b4725f", "spanId": "b318e50df4f5cf76", "parentSpanId": "3748c2da63982a6e", "startTimeUnixNano": "1796073471419294655", "endTimeUnixNano": "1796073471419513763", "durationMs": 0.219108, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005851}}
{"type": "effect-span", "name": "sqlite", "traceId": "944e763e486eaf6cbe5a15ecc7b4725f", "spanId": "b2a1a90486a37ed5", "parentSpanId": "3748c2da63982a6e", "startTimeUnixNano": "1796073471419587580", "endTimeUnixNano": "1796073471420656713", "durationMs": 1.069133, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009328}}
{"type": "effect-span", "name": "sqlite", "traceId": "944e763e486eaf6cbe5a15ecc7b4725f", "spanId": "22da6d4584bb32c9", "parentSpanId": "3748c2da63982a6e", "startTimeUnixNano": "1796073471420670929", "endTimeUnixNano": "1796073471421694657", "durationMs": 1.023728, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006432}}
{"type": "effect-span", "name": "sqlite", "traceId": "944e763e486eaf6cbe5a15ecc7b4725f", "spanId": "ff45e41cc727a531", "parentSpanId": "3748c2da63982a6e", "startTimeUnixNano": "1796073471428000036", "endTimeUnixNano": "1796073471429630504", "durationMs": 1.630468, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012644}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "944e763e486eaf6cbe5a15ecc7b4725f", "spanId": "3748c2da63982a6e", "parentSpanId": "07af8a6325595bcc", "startTimeUnixNano": "1796073471419287591", "endTimeUnixNano": "1796073471429824867", "durationMs": 10.537276, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "944e763e486eaf6cbe5a15ecc7b4725f", "spanId": "8daba2bc31c95482", "parentSpanId": "07af8a6325595bcc", "startTimeUnixNano": "1796073471429836328", "endTimeUnixNano": "1796073471430057630", "durationMs": 0.221302, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "944e763e486eaf6cbe5a15ecc7b4725f", "spanId": "07af8a6325595bcc", "parentSpanId": "bf402f52f0da1031", "startTimeUnixNano": "1796073471417549523", "endTimeUnixNano": "1796073471430074512", "durationMs": 12.524989, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.124826, "db.connection": "reader", "db.lock_wait_ms": 1.097}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "944e763e486eaf6cbe5a15ecc7b4725f", "spanId": "bf402f52f0da1031", "parentSpanId": "93f477059223c2ab", "startTimeUnixNano": "1796073471417541187", "endTimeUnixNano": "1796073471430086654", "durationMs": 12.545467, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "944e763e486eaf6cbe5a15ecc7b4725f", "spanId": "93f477059223c2ab", "parentSpanId": "cfd837b87d25f5c4", "startTimeUnixNano": "1796073471417508406", "endTimeUnixNano": "1796073471430091704", "durationMs": 12.583298, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "944e763e486eaf6cbe5a15ecc7b4725f", "spanId": "cfd837b87d25f5c4", "startTimeUnixNano": "1796073471417488910", "endTimeUnixNano": "1796073471430097555", "durationMs": 12.608645, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "07786a228e4e79ca608ccc0cdb088de3", "spanId": "f1c23042dd7abf68", "parentSpanId": "69b2fc3c203e7335", "startTimeUnixNano": "1796073472805150253", "endTimeUnixNano": "1796073472805287008", "durationMs": 0.136755, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "07786a228e4e79ca608ccc0cdb088de3", "spanId": "a3fbaa242063141a", "parentSpanId": "f4f38a75ae8755e0", "startTimeUnixNano": "1796073472805323766", "endTimeUnixNano": "1796073472805979508", "durationMs": 0.655742, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00529}}
{"type": "effect-span", "name": "sqlite", "traceId": "07786a228e4e79ca608ccc0cdb088de3", "spanId": "3511386af303e7d6", "parentSpanId": "f4f38a75ae8755e0", "startTimeUnixNano": "1796073472806053085", "endTimeUnixNano": "1796073472807251488", "durationMs": 1.198403, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008195}}
{"type": "effect-span", "name": "sqlite", "traceId": "07786a228e4e79ca608ccc0cdb088de3", "spanId": "41258703113ca28b", "parentSpanId": "f4f38a75ae8755e0", "startTimeUnixNano": "1796073472807272467", "endTimeUnixNano": "1796073472808253876", "durationMs": 0.981409, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007394}}
{"type": "effect-span", "name": "sqlite", "traceId": "07786a228e4e79ca608ccc0cdb088de3", "spanId": "569fd138375ef240", "parentSpanId": "f4f38a75ae8755e0", "startTimeUnixNano": "1796073472814827095", "endTimeUnixNano": "1796073472826561592", "durationMs": 11.734497, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008095}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "07786a228e4e79ca608ccc0cdb088de3", "spanId": "f4f38a75ae8755e0", "parentSpanId": "69b2fc3c203e7335", "startTimeUnixNano": "1796073472805317625", "endTimeUnixNano": "1796073472826969362", "durationMs": 21.651737, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "07786a228e4e79ca608ccc0cdb088de3", "spanId": "ec12253742cfd0a2", "parentSpanId": "69b2fc3c203e7335", "startTimeUnixNano": "1796073472827013454", "endTimeUnixNano": "1796073472827699522", "durationMs": 0.686068, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "07786a228e4e79ca608ccc0cdb088de3", "spanId": "69b2fc3c203e7335", "parentSpanId": "9e70e23fe2777ad7", "startTimeUnixNano": "1796073472803087068", "endTimeUnixNano": "1796073472827736631", "durationMs": 24.649563, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.057574, "db.connection": "reader", "db.lock_wait_ms": 2.022}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "07786a228e4e79ca608ccc0cdb088de3", "spanId": "9e70e23fe2777ad7", "parentSpanId": "9e5c514842c0e700", "startTimeUnixNano": "1796073472803079634", "endTimeUnixNano": "1796073472827762089", "durationMs": 24.682455, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "07786a228e4e79ca608ccc0cdb088de3", "spanId": "9e5c514842c0e700", "parentSpanId": "64b80f188295f1eb", "startTimeUnixNano": "1796073472803040231", "endTimeUnixNano": "1796073472827769833", "durationMs": 24.729602, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "07786a228e4e79ca608ccc0cdb088de3", "spanId": "64b80f188295f1eb", "startTimeUnixNano": "1796073472803021005", "endTimeUnixNano": "1796073472827777878", "durationMs": 24.756873, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6145fb68e5367d592fc5fed9af75c4f5", "spanId": "d867e922b2648713", "parentSpanId": "a10810b48068115f", "startTimeUnixNano": "1796073473058446749", "endTimeUnixNano": "1796073473058744875", "durationMs": 0.298126, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6145fb68e5367d592fc5fed9af75c4f5", "spanId": "a2535d443d19b71a", "parentSpanId": "1a8a837f1a6296d5", "startTimeUnixNano": "1796073473058786342", "endTimeUnixNano": "1796073473058918719", "durationMs": 0.132377, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005531}}
{"type": "effect-span", "name": "sqlite", "traceId": "6145fb68e5367d592fc5fed9af75c4f5", "spanId": "db35642f0d36fdd1", "parentSpanId": "1a8a837f1a6296d5", "startTimeUnixNano": "1796073473059028894", "endTimeUnixNano": "1796073473060296326", "durationMs": 1.267432, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012363}}
{"type": "effect-span", "name": "sqlite", "traceId": "6145fb68e5367d592fc5fed9af75c4f5", "spanId": "71f759d6355a82ed", "parentSpanId": "1a8a837f1a6296d5", "startTimeUnixNano": "1796073473060319489", "endTimeUnixNano": "1796073473061517872", "durationMs": 1.198383, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.020869}}
{"type": "effect-span", "name": "sqlite", "traceId": "6145fb68e5367d592fc5fed9af75c4f5", "spanId": "226b696ef5d37c06", "parentSpanId": "1a8a837f1a6296d5", "startTimeUnixNano": "1796073473067618400", "endTimeUnixNano": "1796073473069243148", "durationMs": 1.624748, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012935}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6145fb68e5367d592fc5fed9af75c4f5", "spanId": "1a8a837f1a6296d5", "parentSpanId": "a10810b48068115f", "startTimeUnixNano": "1796073473058780121", "endTimeUnixNano": "1796073473069518862", "durationMs": 10.738741, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6145fb68e5367d592fc5fed9af75c4f5", "spanId": "07b9142f1ee73172", "parentSpanId": "a10810b48068115f", "startTimeUnixNano": "1796073473069535834", "endTimeUnixNano": "1796073473069761204", "durationMs": 0.22537, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6145fb68e5367d592fc5fed9af75c4f5", "spanId": "a10810b48068115f", "parentSpanId": "15ddbac470ec6866", "startTimeUnixNano": "1796073473056820319", "endTimeUnixNano": "1796073473069784086", "durationMs": 12.963767, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.609158, "db.connection": "reader", "db.lock_wait_ms": 1.577}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6145fb68e5367d592fc5fed9af75c4f5", "spanId": "15ddbac470ec6866", "parentSpanId": "c42e8434028237db", "startTimeUnixNano": "1796073473056812274", "endTimeUnixNano": "1796073473069804905", "durationMs": 12.992631, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6145fb68e5367d592fc5fed9af75c4f5", "spanId": "c42e8434028237db", "parentSpanId": "cbb64ef31127a52d", "startTimeUnixNano": "1796073473056776557", "endTimeUnixNano": "1796073473069811227", "durationMs": 13.03467, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6145fb68e5367d592fc5fed9af75c4f5", "spanId": "cbb64ef31127a52d", "startTimeUnixNano": "1796073473056759435", "endTimeUnixNano": "1796073473069819332", "durationMs": 13.059897, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d5b39642e2d5926002b9c00bac9234f9", "spanId": "b52297f1b3eb034e", "parentSpanId": "05998dcf9ab07b16", "startTimeUnixNano": "1796073474439043974", "endTimeUnixNano": "1796073474439199985", "durationMs": 0.156011, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d5b39642e2d5926002b9c00bac9234f9", "spanId": "c4e7c728ec89419c", "parentSpanId": "1e775e3f869543c8", "startTimeUnixNano": "1796073474439242694", "endTimeUnixNano": "1796073474439851960", "durationMs": 0.609266, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006222}}
{"type": "effect-span", "name": "sqlite", "traceId": "d5b39642e2d5926002b9c00bac9234f9", "spanId": "9c2bb66a8ca3ca4a", "parentSpanId": "1e775e3f869543c8", "startTimeUnixNano": "1796073474439945925", "endTimeUnixNano": "1796073474440959914", "durationMs": 1.013989, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017633}}
{"type": "effect-span", "name": "sqlite", "traceId": "d5b39642e2d5926002b9c00bac9234f9", "spanId": "e9e28fabe08d28f1", "parentSpanId": "1e775e3f869543c8", "startTimeUnixNano": "1796073474440977728", "endTimeUnixNano": "1796073474441974034", "durationMs": 0.996306, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008165}}
{"type": "effect-span", "name": "sqlite", "traceId": "d5b39642e2d5926002b9c00bac9234f9", "spanId": "ad84b7ac846da912", "parentSpanId": "1e775e3f869543c8", "startTimeUnixNano": "1796073474449026727", "endTimeUnixNano": "1796073474451704497", "durationMs": 2.67777, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010089}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d5b39642e2d5926002b9c00bac9234f9", "spanId": "1e775e3f869543c8", "parentSpanId": "05998dcf9ab07b16", "startTimeUnixNano": "1796073474439235691", "endTimeUnixNano": "1796073474452031086", "durationMs": 12.795395, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d5b39642e2d5926002b9c00bac9234f9", "spanId": "5dca112680811e8c", "parentSpanId": "05998dcf9ab07b16", "startTimeUnixNano": "1796073474452066742", "endTimeUnixNano": "1796073474452399312", "durationMs": 0.33257, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d5b39642e2d5926002b9c00bac9234f9", "spanId": "05998dcf9ab07b16", "parentSpanId": "b56302eab32f82b8", "startTimeUnixNano": "1796073474436690038", "endTimeUnixNano": "1796073474452428597", "durationMs": 15.738559, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.348396, "db.connection": "reader", "db.lock_wait_ms": 2.314}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d5b39642e2d5926002b9c00bac9234f9", "spanId": "b56302eab32f82b8", "parentSpanId": "3d56a8e7e49a00a7", "startTimeUnixNano": "1796073474436682323", "endTimeUnixNano": "1796073474452482577", "durationMs": 15.800254, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d5b39642e2d5926002b9c00bac9234f9", "spanId": "3d56a8e7e49a00a7", "parentSpanId": "6ed14e472332fb3c", "startTimeUnixNano": "1796073474436642950", "endTimeUnixNano": "1796073474452492947", "durationMs": 15.849997, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d5b39642e2d5926002b9c00bac9234f9", "spanId": "6ed14e472332fb3c", "startTimeUnixNano": "1796073474436620488", "endTimeUnixNano": "1796073474452503947", "durationMs": 15.883459, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1027bd3aa51894215d29199055256b3a", "spanId": "618110f57c8dfbfd", "parentSpanId": "5cf3dc74e0b01c8a", "startTimeUnixNano": "1796073474658334586", "endTimeUnixNano": "1796073474658609779", "durationMs": 0.275193, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1027bd3aa51894215d29199055256b3a", "spanId": "8dadb1ed2c6e2820", "parentSpanId": "ce91bff27121c180", "startTimeUnixNano": "1796073474658647539", "endTimeUnixNano": "1796073474658895752", "durationMs": 0.248213, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004519}}
{"type": "effect-span", "name": "sqlite", "traceId": "1027bd3aa51894215d29199055256b3a", "spanId": "57d0d5a231c72481", "parentSpanId": "ce91bff27121c180", "startTimeUnixNano": "1796073474658967596", "endTimeUnixNano": "1796073474660385608", "durationMs": 1.418012, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007554}}
{"type": "effect-span", "name": "sqlite", "traceId": "1027bd3aa51894215d29199055256b3a", "spanId": "b4a8e007a9469e47", "parentSpanId": "ce91bff27121c180", "startTimeUnixNano": "1796073474660399364", "endTimeUnixNano": "1796073474661655935", "durationMs": 1.256571, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006472}}
{"type": "effect-span", "name": "sqlite", "traceId": "1027bd3aa51894215d29199055256b3a", "spanId": "2bb2e36f65478a83", "parentSpanId": "ce91bff27121c180", "startTimeUnixNano": "1796073474667590705", "endTimeUnixNano": "1796073474670127923", "durationMs": 2.537218, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011832}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1027bd3aa51894215d29199055256b3a", "spanId": "ce91bff27121c180", "parentSpanId": "5cf3dc74e0b01c8a", "startTimeUnixNano": "1796073474658641989", "endTimeUnixNano": "1796073474670427732", "durationMs": 11.785743, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1027bd3aa51894215d29199055256b3a", "spanId": "9d024353118fcc5d", "parentSpanId": "5cf3dc74e0b01c8a", "startTimeUnixNano": "1796073474670473397", "endTimeUnixNano": "1796073474671149838", "durationMs": 0.676441, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1027bd3aa51894215d29199055256b3a", "spanId": "5cf3dc74e0b01c8a", "parentSpanId": "a9196776baa8c25b", "startTimeUnixNano": "1796073474656941059", "endTimeUnixNano": "1796073474671179914", "durationMs": 14.238855, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.390331, "db.connection": "reader", "db.lock_wait_ms": 1.361}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1027bd3aa51894215d29199055256b3a", "spanId": "a9196776baa8c25b", "parentSpanId": "57f73e40b0f974e3", "startTimeUnixNano": "1796073474656933535", "endTimeUnixNano": "1796073474671216632", "durationMs": 14.283097, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1027bd3aa51894215d29199055256b3a", "spanId": "57f73e40b0f974e3", "parentSpanId": "c79dcba57a4bdae0", "startTimeUnixNano": "1796073474656896576", "endTimeUnixNano": "1796073474671228785", "durationMs": 14.332209, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1027bd3aa51894215d29199055256b3a", "spanId": "c79dcba57a4bdae0", "startTimeUnixNano": "1796073474656881458", "endTimeUnixNano": "1796073474671242460", "durationMs": 14.361002, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "eee5c767994c4451800d43b3115831aa", "spanId": "69852c7e5a10a95b", "parentSpanId": "b7b7dc0536b10e8d", "startTimeUnixNano": "1796073476056786024", "endTimeUnixNano": "1796073476056931425", "durationMs": 0.145401, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "eee5c767994c4451800d43b3115831aa", "spanId": "f51fb0160bb757a7", "parentSpanId": "ee473bfcce274984", "startTimeUnixNano": "1796073476056969236", "endTimeUnixNano": "1796073476057543055", "durationMs": 0.573819, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00551}}
{"type": "effect-span", "name": "sqlite", "traceId": "eee5c767994c4451800d43b3115831aa", "spanId": "f77719d34821dd96", "parentSpanId": "ee473bfcce274984", "startTimeUnixNano": "1796073476057617003", "endTimeUnixNano": "1796073476058641733", "durationMs": 1.02473, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009428}}
{"type": "effect-span", "name": "sqlite", "traceId": "eee5c767994c4451800d43b3115831aa", "spanId": "b209832db34b7629", "parentSpanId": "ee473bfcce274984", "startTimeUnixNano": "1796073476058661119", "endTimeUnixNano": "1796073476059714251", "durationMs": 1.053132, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008336}}
{"type": "effect-span", "name": "sqlite", "traceId": "eee5c767994c4451800d43b3115831aa", "spanId": "a51df612d8c30619", "parentSpanId": "ee473bfcce274984", "startTimeUnixNano": "1796073476068398165", "endTimeUnixNano": "1796073476070891732", "durationMs": 2.493567, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008616}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "eee5c767994c4451800d43b3115831aa", "spanId": "ee473bfcce274984", "parentSpanId": "b7b7dc0536b10e8d", "startTimeUnixNano": "1796073476056963706", "endTimeUnixNano": "1796073476071167275", "durationMs": 14.203569, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "eee5c767994c4451800d43b3115831aa", "spanId": "cdce467968009861", "parentSpanId": "b7b7dc0536b10e8d", "startTimeUnixNano": "1796073476071188264", "endTimeUnixNano": "1796073476071427540", "durationMs": 0.239276, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "eee5c767994c4451800d43b3115831aa", "spanId": "b7b7dc0536b10e8d", "parentSpanId": "0e27268dc857cc00", "startTimeUnixNano": "1796073476054454009", "endTimeUnixNano": "1796073476071462175", "durationMs": 17.008166, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.327898, "db.connection": "reader", "db.lock_wait_ms": 2.292}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "eee5c767994c4451800d43b3115831aa", "spanId": "0e27268dc857cc00", "parentSpanId": "381d34ad42153249", "startTimeUnixNano": "1796073476054429563", "endTimeUnixNano": "1796073476071478946", "durationMs": 17.049383, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "eee5c767994c4451800d43b3115831aa", "spanId": "381d34ad42153249", "parentSpanId": "646701c30e9d9bf7", "startTimeUnixNano": "1796073476054380932", "endTimeUnixNano": "1796073476071484246", "durationMs": 17.103314, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "eee5c767994c4451800d43b3115831aa", "spanId": "646701c30e9d9bf7", "startTimeUnixNano": "1796073476054359743", "endTimeUnixNano": "1796073476071492321", "durationMs": 17.132578, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b191fec570d61bfa326d8ed5358d2cc7", "spanId": "8eebda8ba775921b", "parentSpanId": "ab0ef1c78e70425d", "startTimeUnixNano": "1796073476253283585", "endTimeUnixNano": "1796073476253622457", "durationMs": 0.338872, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b191fec570d61bfa326d8ed5358d2cc7", "spanId": "7abfe2e94fcdcc60", "parentSpanId": "035813a1fb080003", "startTimeUnixNano": "1796073476253658323", "endTimeUnixNano": "1796073476253887931", "durationMs": 0.229608, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004769}}
{"type": "effect-span", "name": "sqlite", "traceId": "b191fec570d61bfa326d8ed5358d2cc7", "spanId": "fafb9da86a9b24b6", "parentSpanId": "035813a1fb080003", "startTimeUnixNano": "1796073476253956549", "endTimeUnixNano": "1796073476255483354", "durationMs": 1.526805, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009117}}
{"type": "effect-span", "name": "sqlite", "traceId": "b191fec570d61bfa326d8ed5358d2cc7", "spanId": "312ee0955a11bb4f", "parentSpanId": "035813a1fb080003", "startTimeUnixNano": "1796073476255504784", "endTimeUnixNano": "1796073476259845654", "durationMs": 4.34087, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007013}}
{"type": "effect-span", "name": "sqlite", "traceId": "b191fec570d61bfa326d8ed5358d2cc7", "spanId": "47dc9dfb44c43001", "parentSpanId": "035813a1fb080003", "startTimeUnixNano": "1796073476264218273", "endTimeUnixNano": "1796073476266527336", "durationMs": 2.309063, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01102}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b191fec570d61bfa326d8ed5358d2cc7", "spanId": "035813a1fb080003", "parentSpanId": "ab0ef1c78e70425d", "startTimeUnixNano": "1796073476253652863", "endTimeUnixNano": "1796073476266711960", "durationMs": 13.059097, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b191fec570d61bfa326d8ed5358d2cc7", "spanId": "c4e035838f4d8acd", "parentSpanId": "ab0ef1c78e70425d", "startTimeUnixNano": "1796073476266727810", "endTimeUnixNano": "1796073476267315966", "durationMs": 0.588156, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b191fec570d61bfa326d8ed5358d2cc7", "spanId": "ab0ef1c78e70425d", "parentSpanId": "495ec68958105d3a", "startTimeUnixNano": "1796073476251774252", "endTimeUnixNano": "1796073476267337416", "durationMs": 15.563164, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.506277, "db.connection": "reader", "db.lock_wait_ms": 1.478}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b191fec570d61bfa326d8ed5358d2cc7", "spanId": "495ec68958105d3a", "parentSpanId": "962033159c7949e7", "startTimeUnixNano": "1796073476251767189", "endTimeUnixNano": "1796073476267351231", "durationMs": 15.584042, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b191fec570d61bfa326d8ed5358d2cc7", "spanId": "962033159c7949e7", "parentSpanId": "aba85d8d4060a17e", "startTimeUnixNano": "1796073476251740559", "endTimeUnixNano": "1796073476267356191", "durationMs": 15.615632, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b191fec570d61bfa326d8ed5358d2cc7", "spanId": "aba85d8d4060a17e", "startTimeUnixNano": "1796073476251728437", "endTimeUnixNano": "1796073476267363073", "durationMs": 15.634636, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0bd3c4861a519c48e28cbb78fd5cd99d", "spanId": "e7ba51db601edca6", "parentSpanId": "f518eac80bacb137", "startTimeUnixNano": "1796073477558246117", "endTimeUnixNano": "1796073477559403614", "durationMs": 1.157497, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0bd3c4861a519c48e28cbb78fd5cd99d", "spanId": "6ab06625a80b9dae", "parentSpanId": "911eb230b9db1707", "startTimeUnixNano": "1796073477559503009", "endTimeUnixNano": "1796073477560572502", "durationMs": 1.069493, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009347}}
{"type": "effect-span", "name": "sqlite", "traceId": "0bd3c4861a519c48e28cbb78fd5cd99d", "spanId": "c9110a0a8fe2ddcc", "parentSpanId": "911eb230b9db1707", "startTimeUnixNano": "1796073477560693818", "endTimeUnixNano": "1796073477562111601", "durationMs": 1.417783, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01615}}
{"type": "effect-span", "name": "sqlite", "traceId": "0bd3c4861a519c48e28cbb78fd5cd99d", "spanId": "502fc1b6bb2d77a0", "parentSpanId": "911eb230b9db1707", "startTimeUnixNano": "1796073477562135846", "endTimeUnixNano": "1796073477563131661", "durationMs": 0.995815, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012473}}
{"type": "effect-span", "name": "sqlite", "traceId": "0bd3c4861a519c48e28cbb78fd5cd99d", "spanId": "4f1aee3e78432894", "parentSpanId": "911eb230b9db1707", "startTimeUnixNano": "1796073477571132592", "endTimeUnixNano": "1796073477573528397", "durationMs": 2.395805, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011071}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0bd3c4861a519c48e28cbb78fd5cd99d", "spanId": "911eb230b9db1707", "parentSpanId": "f518eac80bacb137", "startTimeUnixNano": "1796073477559491778", "endTimeUnixNano": "1796073477573849616", "durationMs": 14.357838, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0bd3c4861a519c48e28cbb78fd5cd99d", "spanId": "9eba162e18369cbd", "parentSpanId": "f518eac80bacb137", "startTimeUnixNano": "1796073477573890422", "endTimeUnixNano": "1796073477574184820", "durationMs": 0.294398, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0bd3c4861a519c48e28cbb78fd5cd99d", "spanId": "f518eac80bacb137", "parentSpanId": "42e421e553c52b0c", "startTimeUnixNano": "1796073477555822480", "endTimeUnixNano": "1796073477574210098", "durationMs": 18.387618, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.416113, "db.connection": "reader", "db.lock_wait_ms": 2.35}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0bd3c4861a519c48e28cbb78fd5cd99d", "spanId": "42e421e553c52b0c", "parentSpanId": "820a334e8c3f0ff0", "startTimeUnixNano": "1796073477555808424", "endTimeUnixNano": "1796073477574239823", "durationMs": 18.431399, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0bd3c4861a519c48e28cbb78fd5cd99d", "spanId": "820a334e8c3f0ff0", "parentSpanId": "0b3c8368d5a8b5fe", "startTimeUnixNano": "1796073477555744525", "endTimeUnixNano": "1796073477574248199", "durationMs": 18.503674, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0bd3c4861a519c48e28cbb78fd5cd99d", "spanId": "0b3c8368d5a8b5fe", "startTimeUnixNano": "1796073477555708678", "endTimeUnixNano": "1796073477574259991", "durationMs": 18.551313, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9639cba7215e805bf6af63a43a18b0c4", "spanId": "66c09ef259a2e701", "parentSpanId": "503cef3c88a44173", "startTimeUnixNano": "1796073477799517886", "endTimeUnixNano": "1796073477799717318", "durationMs": 0.199432, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9639cba7215e805bf6af63a43a18b0c4", "spanId": "1a8502059867d641", "parentSpanId": "8a6b116aa22edd78", "startTimeUnixNano": "1796073477799765047", "endTimeUnixNano": "1796073477799961764", "durationMs": 0.196717, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004178}}
{"type": "effect-span", "name": "sqlite", "traceId": "9639cba7215e805bf6af63a43a18b0c4", "spanId": "0270de62d4d2a202", "parentSpanId": "8a6b116aa22edd78", "startTimeUnixNano": "1796073477800029350", "endTimeUnixNano": "1796073477800938865", "durationMs": 0.909515, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01092}}
{"type": "effect-span", "name": "sqlite", "traceId": "9639cba7215e805bf6af63a43a18b0c4", "spanId": "c471753bad7991d9", "parentSpanId": "8a6b116aa22edd78", "startTimeUnixNano": "1796073477800957710", "endTimeUnixNano": "1796073477801896549", "durationMs": 0.938839, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008976}}
{"type": "effect-span", "name": "sqlite", "traceId": "9639cba7215e805bf6af63a43a18b0c4", "spanId": "92143115dd97d41d", "parentSpanId": "8a6b116aa22edd78", "startTimeUnixNano": "1796073477808197221", "endTimeUnixNano": "1796073477810665702", "durationMs": 2.468481, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011862}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9639cba7215e805bf6af63a43a18b0c4", "spanId": "8a6b116aa22edd78", "parentSpanId": "503cef3c88a44173", "startTimeUnixNano": "1796073477799759677", "endTimeUnixNano": "1796073477810958437", "durationMs": 11.19876, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9639cba7215e805bf6af63a43a18b0c4", "spanId": "df5ef02f92bc6302", "parentSpanId": "503cef3c88a44173", "startTimeUnixNano": "1796073477810985047", "endTimeUnixNano": "1796073477811410730", "durationMs": 0.425683, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9639cba7215e805bf6af63a43a18b0c4", "spanId": "503cef3c88a44173", "parentSpanId": "7be5528f2e199b5a", "startTimeUnixNano": "1796073477798156109", "endTimeUnixNano": "1796073477811451566", "durationMs": 13.295457, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.358341, "db.connection": "reader", "db.lock_wait_ms": 1.327}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9639cba7215e805bf6af63a43a18b0c4", "spanId": "7be5528f2e199b5a", "parentSpanId": "4b220219ef32e54c", "startTimeUnixNano": "1796073477798148585", "endTimeUnixNano": "1796073477811471133", "durationMs": 13.322548, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9639cba7215e805bf6af63a43a18b0c4", "spanId": "4b220219ef32e54c", "parentSpanId": "3908141d9af00d33", "startTimeUnixNano": "1796073477798116425", "endTimeUnixNano": "1796073477811478627", "durationMs": 13.362202, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9639cba7215e805bf6af63a43a18b0c4", "spanId": "3908141d9af00d33", "startTimeUnixNano": "1796073477798101747", "endTimeUnixNano": "1796073477811487653", "durationMs": 13.385906, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2737de91aec89615feea70ccfa9ac6aa", "spanId": "898e4d729efcba45", "parentSpanId": "ffc31f0546741808", "startTimeUnixNano": "1796073479225564870", "endTimeUnixNano": "1796073479225820196", "durationMs": 0.255326, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2737de91aec89615feea70ccfa9ac6aa", "spanId": "5b0ea9b58547b00a", "parentSpanId": "7314dd5de2bebc2e", "startTimeUnixNano": "1796073479225857425", "endTimeUnixNano": "1796073479226507908", "durationMs": 0.650483, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005841}}
{"type": "effect-span", "name": "sqlite", "traceId": "2737de91aec89615feea70ccfa9ac6aa", "spanId": "31d7865a2f17ed09", "parentSpanId": "7314dd5de2bebc2e", "startTimeUnixNano": "1796073479226587877", "endTimeUnixNano": "1796073479227760893", "durationMs": 1.173016, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009728}}
{"type": "effect-span", "name": "sqlite", "traceId": "2737de91aec89615feea70ccfa9ac6aa", "spanId": "c71933eb08645de3", "parentSpanId": "7314dd5de2bebc2e", "startTimeUnixNano": "1796073479227783535", "endTimeUnixNano": "1796073479228866964", "durationMs": 1.083429, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008055}}
{"type": "effect-span", "name": "sqlite", "traceId": "2737de91aec89615feea70ccfa9ac6aa", "spanId": "d16e69da88edd729", "parentSpanId": "7314dd5de2bebc2e", "startTimeUnixNano": "1796073479236223174", "endTimeUnixNano": "1796073479238144735", "durationMs": 1.921561, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018023}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2737de91aec89615feea70ccfa9ac6aa", "spanId": "7314dd5de2bebc2e", "parentSpanId": "ffc31f0546741808", "startTimeUnixNano": "1796073479225851144", "endTimeUnixNano": "1796073479238377850", "durationMs": 12.526706, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2737de91aec89615feea70ccfa9ac6aa", "spanId": "e3b33a3d36b7ca3a", "parentSpanId": "ffc31f0546741808", "startTimeUnixNano": "1796073479238393970", "endTimeUnixNano": "1796073479238701984", "durationMs": 0.308014, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2737de91aec89615feea70ccfa9ac6aa", "spanId": "ffc31f0546741808", "parentSpanId": "38c9ab51b3e5f2c9", "startTimeUnixNano": "1796073479223657726", "endTimeUnixNano": "1796073479238724215", "durationMs": 15.066489, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.902325, "db.connection": "reader", "db.lock_wait_ms": 1.868}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2737de91aec89615feea70ccfa9ac6aa", "spanId": "38c9ab51b3e5f2c9", "parentSpanId": "157e33b4cc65ec6a", "startTimeUnixNano": "1796073479223649711", "endTimeUnixNano": "1796073479238738612", "durationMs": 15.088901, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2737de91aec89615feea70ccfa9ac6aa", "spanId": "157e33b4cc65ec6a", "parentSpanId": "6c99e9c09b4b66c6", "startTimeUnixNano": "1796073479223611680", "endTimeUnixNano": "1796073479238745745", "durationMs": 15.134065, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2737de91aec89615feea70ccfa9ac6aa", "spanId": "6c99e9c09b4b66c6", "startTimeUnixNano": "1796073479223592114", "endTimeUnixNano": "1796073479238752788", "durationMs": 15.160674, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ad99dc4f7c7cbe7867ec7cd2915e4914", "spanId": "390ee8eb5c9a0472", "parentSpanId": "14d55ffab9de076a", "startTimeUnixNano": "1796073479461204440", "endTimeUnixNano": "1796073479461623631", "durationMs": 0.419191, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ad99dc4f7c7cbe7867ec7cd2915e4914", "spanId": "c18e6ab7e3abb97e", "parentSpanId": "78eb8bed9ce47790", "startTimeUnixNano": "1796073479461670478", "endTimeUnixNano": "1796073479461888445", "durationMs": 0.217967, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005771}}
{"type": "effect-span", "name": "sqlite", "traceId": "ad99dc4f7c7cbe7867ec7cd2915e4914", "spanId": "309999725de86786", "parentSpanId": "78eb8bed9ce47790", "startTimeUnixNano": "1796073479461988231", "endTimeUnixNano": "1796073479463054718", "durationMs": 1.066487, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012513}}
{"type": "effect-span", "name": "sqlite", "traceId": "ad99dc4f7c7cbe7867ec7cd2915e4914", "spanId": "173974ca8df4cdc9", "parentSpanId": "78eb8bed9ce47790", "startTimeUnixNano": "1796073479463070638", "endTimeUnixNano": "1796073479464031288", "durationMs": 0.96065, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006712}}
{"type": "effect-span", "name": "sqlite", "traceId": "ad99dc4f7c7cbe7867ec7cd2915e4914", "spanId": "0e8a41ac1edabf9b", "parentSpanId": "78eb8bed9ce47790", "startTimeUnixNano": "1796073479468686645", "endTimeUnixNano": "1796073479476177525", "durationMs": 7.49088, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014527}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ad99dc4f7c7cbe7867ec7cd2915e4914", "spanId": "78eb8bed9ce47790", "parentSpanId": "14d55ffab9de076a", "startTimeUnixNano": "1796073479461663265", "endTimeUnixNano": "1796073479476399549", "durationMs": 14.736284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ad99dc4f7c7cbe7867ec7cd2915e4914", "spanId": "6fdd1a0559b1d9f4", "parentSpanId": "14d55ffab9de076a", "startTimeUnixNano": "1796073479476418594", "endTimeUnixNano": "1796073479480870632", "durationMs": 4.452038, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ad99dc4f7c7cbe7867ec7cd2915e4914", "spanId": "14d55ffab9de076a", "parentSpanId": "fdec238e0fca517b", "startTimeUnixNano": "1796073479459632370", "endTimeUnixNano": "1796073479480896690", "durationMs": 21.26432, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.567161, "db.connection": "reader", "db.lock_wait_ms": 1.538}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ad99dc4f7c7cbe7867ec7cd2915e4914", "spanId": "fdec238e0fca517b", "parentSpanId": "09c69438b7b9f379", "startTimeUnixNano": "1796073479459625477", "endTimeUnixNano": "1796073479480921316", "durationMs": 21.295839, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ad99dc4f7c7cbe7867ec7cd2915e4914", "spanId": "09c69438b7b9f379", "parentSpanId": "56331f126d2a2c68", "startTimeUnixNano": "1796073479459599469", "endTimeUnixNano": "1796073479480934461", "durationMs": 21.334992, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ad99dc4f7c7cbe7867ec7cd2915e4914", "spanId": "56331f126d2a2c68", "startTimeUnixNano": "1796073479459585383", "endTimeUnixNano": "1796073479480946463", "durationMs": 21.36108, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4c4be30aac367d6e7b6526b63e2e1322", "spanId": "77a38a9fcd59b651", "parentSpanId": "48adf1dcea3b3de1", "startTimeUnixNano": "1796073480861787856", "endTimeUnixNano": "1796073480862804391", "durationMs": 1.016535, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4c4be30aac367d6e7b6526b63e2e1322", "spanId": "e943a8d76b1eaa27", "parentSpanId": "4343850f8179870d", "startTimeUnixNano": "1796073480862864202", "endTimeUnixNano": "1796073480863126892", "durationMs": 0.26269, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008196}}
{"type": "effect-span", "name": "sqlite", "traceId": "4c4be30aac367d6e7b6526b63e2e1322", "spanId": "dec9750e57d3c4d7", "parentSpanId": "4343850f8179870d", "startTimeUnixNano": "1796073480863202002", "endTimeUnixNano": "1796073480864789350", "durationMs": 1.587348, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01098}}
{"type": "effect-span", "name": "sqlite", "traceId": "4c4be30aac367d6e7b6526b63e2e1322", "spanId": "f255061c0e145af7", "parentSpanId": "4343850f8179870d", "startTimeUnixNano": "1796073480864813165", "endTimeUnixNano": "1796073480865896123", "durationMs": 1.082958, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01095}}
{"type": "effect-span", "name": "sqlite", "traceId": "4c4be30aac367d6e7b6526b63e2e1322", "spanId": "40b764418b50b047", "parentSpanId": "4343850f8179870d", "startTimeUnixNano": "1796073480873516155", "endTimeUnixNano": "1796073480875311992", "durationMs": 1.795837, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012874}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4c4be30aac367d6e7b6526b63e2e1322", "spanId": "4343850f8179870d", "parentSpanId": "48adf1dcea3b3de1", "startTimeUnixNano": "1796073480862855877", "endTimeUnixNano": "1796073480875550496", "durationMs": 12.694619, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4c4be30aac367d6e7b6526b63e2e1322", "spanId": "4094fd5a37de1b65", "parentSpanId": "48adf1dcea3b3de1", "startTimeUnixNano": "1796073480875571285", "endTimeUnixNano": "1796073480875855114", "durationMs": 0.283829, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4c4be30aac367d6e7b6526b63e2e1322", "spanId": "48adf1dcea3b3de1", "parentSpanId": "f896f69e0f42839d", "startTimeUnixNano": "1796073480859510312", "endTimeUnixNano": "1796073480875878908", "durationMs": 16.368596, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.272134, "db.connection": "reader", "db.lock_wait_ms": 2.236}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4c4be30aac367d6e7b6526b63e2e1322", "spanId": "f896f69e0f42839d", "parentSpanId": "15ff52585eb1b70a", "startTimeUnixNano": "1796073480859499832", "endTimeUnixNano": "1796073480875895620", "durationMs": 16.395788, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4c4be30aac367d6e7b6526b63e2e1322", "spanId": "15ff52585eb1b70a", "parentSpanId": "03b3d9aee6dc3b16", "startTimeUnixNano": "1796073480859449128", "endTimeUnixNano": "1796073480875902242", "durationMs": 16.453114, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4c4be30aac367d6e7b6526b63e2e1322", "spanId": "03b3d9aee6dc3b16", "startTimeUnixNano": "1796073480859417048", "endTimeUnixNano": "1796073480875909375", "durationMs": 16.492327, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "771616fcf59070233e563b8090709a6f", "spanId": "8ee701f30c97e145", "parentSpanId": "c5a3ae039ff8592f", "startTimeUnixNano": "1796073481103933073", "endTimeUnixNano": "1796073481104374035", "durationMs": 0.440962, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "771616fcf59070233e563b8090709a6f", "spanId": "bbed57d3082f272d", "parentSpanId": "3116d485455224fc", "startTimeUnixNano": "1796073481104408650", "endTimeUnixNano": "1796073481104738645", "durationMs": 0.329995, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004448}}
{"type": "effect-span", "name": "sqlite", "traceId": "771616fcf59070233e563b8090709a6f", "spanId": "defb21a870ac2016", "parentSpanId": "3116d485455224fc", "startTimeUnixNano": "1796073481104804828", "endTimeUnixNano": "1796073481105517376", "durationMs": 0.712548, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01047}}
{"type": "effect-span", "name": "sqlite", "traceId": "771616fcf59070233e563b8090709a6f", "spanId": "a1dbb16a224474d6", "parentSpanId": "3116d485455224fc", "startTimeUnixNano": "1796073481105531643", "endTimeUnixNano": "1796073481106263026", "durationMs": 0.731383, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007093}}
{"type": "effect-span", "name": "sqlite", "traceId": "771616fcf59070233e563b8090709a6f", "spanId": "024bdc5b58201c01", "parentSpanId": "3116d485455224fc", "startTimeUnixNano": "1796073481110965721", "endTimeUnixNano": "1796073481112325896", "durationMs": 1.360175, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008185}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "771616fcf59070233e563b8090709a6f", "spanId": "3116d485455224fc", "parentSpanId": "c5a3ae039ff8592f", "startTimeUnixNano": "1796073481104402869", "endTimeUnixNano": "1796073481112535877", "durationMs": 8.133008, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "771616fcf59070233e563b8090709a6f", "spanId": "ab6fbeda355ed67c", "parentSpanId": "c5a3ae039ff8592f", "startTimeUnixNano": "1796073481112550354", "endTimeUnixNano": "1796073481112891650", "durationMs": 0.341296, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "771616fcf59070233e563b8090709a6f", "spanId": "c5a3ae039ff8592f", "parentSpanId": "be1c1b8e82da42e5", "startTimeUnixNano": "1796073481102529568", "endTimeUnixNano": "1796073481112909814", "durationMs": 10.380246, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.400299, "db.connection": "reader", "db.lock_wait_ms": 1.366}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "771616fcf59070233e563b8090709a6f", "spanId": "be1c1b8e82da42e5", "parentSpanId": "7258a63f5c59270b", "startTimeUnixNano": "1796073481102519960", "endTimeUnixNano": "1796073481112921626", "durationMs": 10.401666, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "771616fcf59070233e563b8090709a6f", "spanId": "7258a63f5c59270b", "parentSpanId": "a30b5dd39b9bf94a", "startTimeUnixNano": "1796073481102485445", "endTimeUnixNano": "1796073481112926275", "durationMs": 10.44083, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "771616fcf59070233e563b8090709a6f", "spanId": "a30b5dd39b9bf94a", "startTimeUnixNano": "1796073481102467141", "endTimeUnixNano": "1796073481112932065", "durationMs": 10.464924, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "422626183bac9a40dc87673a92ee11d9", "spanId": "0ed47a824da06556", "parentSpanId": "7b44a9685ae9b268", "startTimeUnixNano": "1796073482563194689", "endTimeUnixNano": "1796073482563905755", "durationMs": 0.711066, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "422626183bac9a40dc87673a92ee11d9", "spanId": "8e2ad4b5f7059f50", "parentSpanId": "d5c2fbd93f53fd6f", "startTimeUnixNano": "1796073482563945629", "endTimeUnixNano": "1796073482564645643", "durationMs": 0.700014, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004528}}
{"type": "effect-span", "name": "sqlite", "traceId": "422626183bac9a40dc87673a92ee11d9", "spanId": "8b0804f288b602ac", "parentSpanId": "d5c2fbd93f53fd6f", "startTimeUnixNano": "1796073482564715854", "endTimeUnixNano": "1796073482565638554", "durationMs": 0.9227, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008697}}
{"type": "effect-span", "name": "sqlite", "traceId": "422626183bac9a40dc87673a92ee11d9", "spanId": "6f64979b7a043c79", "parentSpanId": "d5c2fbd93f53fd6f", "startTimeUnixNano": "1796073482565695630", "endTimeUnixNano": "1796073482566576853", "durationMs": 0.881223, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008166}}
{"type": "effect-span", "name": "sqlite", "traceId": "422626183bac9a40dc87673a92ee11d9", "spanId": "302d297841393ad0", "parentSpanId": "d5c2fbd93f53fd6f", "startTimeUnixNano": "1796073482576630892", "endTimeUnixNano": "1796073482579030664", "durationMs": 2.399772, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023524}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "422626183bac9a40dc87673a92ee11d9", "spanId": "d5c2fbd93f53fd6f", "parentSpanId": "7b44a9685ae9b268", "startTimeUnixNano": "1796073482563939938", "endTimeUnixNano": "1796073482579255954", "durationMs": 15.316016, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "422626183bac9a40dc87673a92ee11d9", "spanId": "86dbf1c16bcf2531", "parentSpanId": "7b44a9685ae9b268", "startTimeUnixNano": "1796073482579272956", "endTimeUnixNano": "1796073482579413528", "durationMs": 0.140572, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "422626183bac9a40dc87673a92ee11d9", "spanId": "7b44a9685ae9b268", "parentSpanId": "a5307f1bec4d903e", "startTimeUnixNano": "1796073482561776045", "endTimeUnixNano": "1796073482579445447", "durationMs": 17.669402, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.414607, "db.connection": "reader", "db.lock_wait_ms": 1.38}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "422626183bac9a40dc87673a92ee11d9", "spanId": "a5307f1bec4d903e", "parentSpanId": "6fffc84106528dad", "startTimeUnixNano": "1796073482561768181", "endTimeUnixNano": "1796073482579462990", "durationMs": 17.694809, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "422626183bac9a40dc87673a92ee11d9", "spanId": "6fffc84106528dad", "parentSpanId": "30629f5766a67afe", "startTimeUnixNano": "1796073482561725631", "endTimeUnixNano": "1796073482579471857", "durationMs": 17.746226, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "422626183bac9a40dc87673a92ee11d9", "spanId": "30629f5766a67afe", "startTimeUnixNano": "1796073482561709391", "endTimeUnixNano": "1796073482579479350", "durationMs": 17.769959, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "15fc3db9aacb13aaf15248caa8a2e4c3", "spanId": "826faa92b4351481", "parentSpanId": "368102aeab06172c", "startTimeUnixNano": "1796073482776839730", "endTimeUnixNano": "1796073482777042789", "durationMs": 0.203059, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "15fc3db9aacb13aaf15248caa8a2e4c3", "spanId": "60c55bc129f4a976", "parentSpanId": "3b5a41e77c40b501", "startTimeUnixNano": "1796073482777083865", "endTimeUnixNano": "1796073482777314505", "durationMs": 0.23064, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004549}}
{"type": "effect-span", "name": "sqlite", "traceId": "15fc3db9aacb13aaf15248caa8a2e4c3", "spanId": "c1a8629b2029d180", "parentSpanId": "3b5a41e77c40b501", "startTimeUnixNano": "1796073482777393622", "endTimeUnixNano": "1796073482778581296", "durationMs": 1.187674, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007975}}
{"type": "effect-span", "name": "sqlite", "traceId": "15fc3db9aacb13aaf15248caa8a2e4c3", "spanId": "01c11203631f837f", "parentSpanId": "3b5a41e77c40b501", "startTimeUnixNano": "1796073482778599881", "endTimeUnixNano": "1796073482779487375", "durationMs": 0.887494, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011361}}
{"type": "effect-span", "name": "sqlite", "traceId": "15fc3db9aacb13aaf15248caa8a2e4c3", "spanId": "4b661beba40fb0e9", "parentSpanId": "3b5a41e77c40b501", "startTimeUnixNano": "1796073482786666846", "endTimeUnixNano": "1796073482788982742", "durationMs": 2.315896, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016721}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "15fc3db9aacb13aaf15248caa8a2e4c3", "spanId": "3b5a41e77c40b501", "parentSpanId": "368102aeab06172c", "startTimeUnixNano": "1796073482777078435", "endTimeUnixNano": "1796073482789230304", "durationMs": 12.151869, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "15fc3db9aacb13aaf15248caa8a2e4c3", "spanId": "a877898078d101c3", "parentSpanId": "368102aeab06172c", "startTimeUnixNano": "1796073482789248908", "endTimeUnixNano": "1796073482791480708", "durationMs": 2.2318, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "15fc3db9aacb13aaf15248caa8a2e4c3", "spanId": "368102aeab06172c", "parentSpanId": "6ccb07f2261dcad2", "startTimeUnixNano": "1796073482775569613", "endTimeUnixNano": "1796073482791628824", "durationMs": 16.059211, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.267061, "db.connection": "reader", "db.lock_wait_ms": 1.239}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "15fc3db9aacb13aaf15248caa8a2e4c3", "spanId": "6ccb07f2261dcad2", "parentSpanId": "e0d270521356a9c6", "startTimeUnixNano": "1796073482775561177", "endTimeUnixNano": "1796073482791650364", "durationMs": 16.089187, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "15fc3db9aacb13aaf15248caa8a2e4c3", "spanId": "e0d270521356a9c6", "parentSpanId": "d3cc1d89421c1f28", "startTimeUnixNano": "1796073482775525561", "endTimeUnixNano": "1796073482791668799", "durationMs": 16.143238, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "15fc3db9aacb13aaf15248caa8a2e4c3", "spanId": "d3cc1d89421c1f28", "startTimeUnixNano": "1796073482775509932", "endTimeUnixNano": "1796073482791677505", "durationMs": 16.167573, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ccc7c7b8f04ab66f65d41db885a4f420", "spanId": "c5502f13b03aedec", "parentSpanId": "9e6796c358690a2b", "startTimeUnixNano": "1796073484232628335", "endTimeUnixNano": "1796073484233249763", "durationMs": 0.621428, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ccc7c7b8f04ab66f65d41db885a4f420", "spanId": "ce3fd603812877d6", "parentSpanId": "ddf9af27a9e9fd7a", "startTimeUnixNano": "1796073484233286592", "endTimeUnixNano": "1796073484233916506", "durationMs": 0.629914, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004568}}
{"type": "effect-span", "name": "sqlite", "traceId": "ccc7c7b8f04ab66f65d41db885a4f420", "spanId": "a96833993b673ed8", "parentSpanId": "ddf9af27a9e9fd7a", "startTimeUnixNano": "1796073484233985505", "endTimeUnixNano": "1796073484234796706", "durationMs": 0.811201, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008796}}
{"type": "effect-span", "name": "sqlite", "traceId": "ccc7c7b8f04ab66f65d41db885a4f420", "spanId": "c3817062308b1518", "parentSpanId": "ddf9af27a9e9fd7a", "startTimeUnixNano": "1796073484234808769", "endTimeUnixNano": "1796073484235680323", "durationMs": 0.871554, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008315}}
{"type": "effect-span", "name": "sqlite", "traceId": "ccc7c7b8f04ab66f65d41db885a4f420", "spanId": "fb8cb76dae72a6c4", "parentSpanId": "ddf9af27a9e9fd7a", "startTimeUnixNano": "1796073484243775732", "endTimeUnixNano": "1796073484245668690", "durationMs": 1.892958, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011702}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ccc7c7b8f04ab66f65d41db885a4f420", "spanId": "ddf9af27a9e9fd7a", "parentSpanId": "9e6796c358690a2b", "startTimeUnixNano": "1796073484233281032", "endTimeUnixNano": "1796073484245961216", "durationMs": 12.680184, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ccc7c7b8f04ab66f65d41db885a4f420", "spanId": "fd79eb11b7ab8fd2", "parentSpanId": "9e6796c358690a2b", "startTimeUnixNano": "1796073484245981343", "endTimeUnixNano": "1796073484246124310", "durationMs": 0.142967, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ccc7c7b8f04ab66f65d41db885a4f420", "spanId": "9e6796c358690a2b", "parentSpanId": "e2a6d5b65b4da5fa", "startTimeUnixNano": "1796073484231209400", "endTimeUnixNano": "1796073484246143395", "durationMs": 14.933995, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.414467, "db.connection": "reader", "db.lock_wait_ms": 1.382}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ccc7c7b8f04ab66f65d41db885a4f420", "spanId": "e2a6d5b65b4da5fa", "parentSpanId": "e5ae9c8cfae23f3a", "startTimeUnixNano": "1796073484231201335", "endTimeUnixNano": "1796073484246161499", "durationMs": 14.960164, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ccc7c7b8f04ab66f65d41db885a4f420", "spanId": "e5ae9c8cfae23f3a", "parentSpanId": "9b82bce4c44f8522", "startTimeUnixNano": "1796073484231162823", "endTimeUnixNano": "1796073484246168191", "durationMs": 15.005368, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ccc7c7b8f04ab66f65d41db885a4f420", "spanId": "9b82bce4c44f8522", "startTimeUnixNano": "1796073484231145251", "endTimeUnixNano": "1796073484246179513", "durationMs": 15.034262, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6d2105f32c8c76ac149cbdd51da9fc37", "spanId": "c2311edc2bda9897", "parentSpanId": "fb3ef1827fcb853d", "startTimeUnixNano": "1796073484446753576", "endTimeUnixNano": "1796073484447154503", "durationMs": 0.400927, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6d2105f32c8c76ac149cbdd51da9fc37", "spanId": "cd583bde16837dbf", "parentSpanId": "abb4637796cbcb20", "startTimeUnixNano": "1796073484447226537", "endTimeUnixNano": "1796073484447560880", "durationMs": 0.334343, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008526}}
{"type": "effect-span", "name": "sqlite", "traceId": "6d2105f32c8c76ac149cbdd51da9fc37", "spanId": "edad9fc7905c44ce", "parentSpanId": "abb4637796cbcb20", "startTimeUnixNano": "1796073484447644125", "endTimeUnixNano": "1796073484448597493", "durationMs": 0.953368, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01026}}
{"type": "effect-span", "name": "sqlite", "traceId": "6d2105f32c8c76ac149cbdd51da9fc37", "spanId": "fde0a8f63fd80059", "parentSpanId": "abb4637796cbcb20", "startTimeUnixNano": "1796073484448644260", "endTimeUnixNano": "1796073484449513800", "durationMs": 0.86954, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013886}}
{"type": "effect-span", "name": "sqlite", "traceId": "6d2105f32c8c76ac149cbdd51da9fc37", "spanId": "997ea495079e8b93", "parentSpanId": "abb4637796cbcb20", "startTimeUnixNano": "1796073484454966093", "endTimeUnixNano": "1796073484456571906", "durationMs": 1.605813, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015118}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6d2105f32c8c76ac149cbdd51da9fc37", "spanId": "abb4637796cbcb20", "parentSpanId": "fb3ef1827fcb853d", "startTimeUnixNano": "1796073484447215937", "endTimeUnixNano": "1796073484456899015", "durationMs": 9.683078, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6d2105f32c8c76ac149cbdd51da9fc37", "spanId": "261b8c8302470799", "parentSpanId": "fb3ef1827fcb853d", "startTimeUnixNano": "1796073484456931175", "endTimeUnixNano": "1796073484457140906", "durationMs": 0.209731, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6d2105f32c8c76ac149cbdd51da9fc37", "spanId": "fb3ef1827fcb853d", "parentSpanId": "2554badedb4a1266", "startTimeUnixNano": "1796073484445259300", "endTimeUnixNano": "1796073484457160703", "durationMs": 11.901403, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.490729, "db.connection": "reader", "db.lock_wait_ms": 1.457}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6d2105f32c8c76ac149cbdd51da9fc37", "spanId": "2554badedb4a1266", "parentSpanId": "b91ad12054758e71", "startTimeUnixNano": "1796073484445248300", "endTimeUnixNano": "1796073484457176523", "durationMs": 11.928223, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6d2105f32c8c76ac149cbdd51da9fc37", "spanId": "b91ad12054758e71", "parentSpanId": "28d0e4848fd3c667", "startTimeUnixNano": "1796073484445212293", "endTimeUnixNano": "1796073484457182103", "durationMs": 11.96981, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6d2105f32c8c76ac149cbdd51da9fc37", "spanId": "28d0e4848fd3c667", "startTimeUnixNano": "1796073484445193318", "endTimeUnixNano": "1796073484457191360", "durationMs": 11.998042, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8d07a37fc0539fb2765c947ad40d43d4", "spanId": "56daa7f40a9ccc16", "parentSpanId": "693a23bbe2d6f3ea", "startTimeUnixNano": "1796073485885062451", "endTimeUnixNano": "1796073485885210156", "durationMs": 0.147705, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8d07a37fc0539fb2765c947ad40d43d4", "spanId": "2085cedbf45c5f80", "parentSpanId": "7dfbbc68ebecd90e", "startTimeUnixNano": "1796073485885279656", "endTimeUnixNano": "1796073485886113790", "durationMs": 0.834134, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007003}}
{"type": "effect-span", "name": "sqlite", "traceId": "8d07a37fc0539fb2765c947ad40d43d4", "spanId": "079f28db6b11018e", "parentSpanId": "7dfbbc68ebecd90e", "startTimeUnixNano": "1796073485886195723", "endTimeUnixNano": "1796073485887669620", "durationMs": 1.473897, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009638}}
{"type": "effect-span", "name": "sqlite", "traceId": "8d07a37fc0539fb2765c947ad40d43d4", "spanId": "dc1dbaa97954d92f", "parentSpanId": "7dfbbc68ebecd90e", "startTimeUnixNano": "1796073485887692403", "endTimeUnixNano": "1796073485888965856", "durationMs": 1.273453, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010119}}
{"type": "effect-span", "name": "sqlite", "traceId": "8d07a37fc0539fb2765c947ad40d43d4", "spanId": "e44b0f72728ead7d", "parentSpanId": "7dfbbc68ebecd90e", "startTimeUnixNano": "1796073485899912800", "endTimeUnixNano": "1796073485902913954", "durationMs": 3.001154, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010079}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8d07a37fc0539fb2765c947ad40d43d4", "spanId": "7dfbbc68ebecd90e", "parentSpanId": "693a23bbe2d6f3ea", "startTimeUnixNano": "1796073485885262904", "endTimeUnixNano": "1796073485903315122", "durationMs": 18.052218, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8d07a37fc0539fb2765c947ad40d43d4", "spanId": "c410137e345daaed", "parentSpanId": "693a23bbe2d6f3ea", "startTimeUnixNano": "1796073485903341080", "endTimeUnixNano": "1796073485903839179", "durationMs": 0.498099, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8d07a37fc0539fb2765c947ad40d43d4", "spanId": "693a23bbe2d6f3ea", "parentSpanId": "38e4a4558004181b", "startTimeUnixNano": "1796073485882267622", "endTimeUnixNano": "1796073485903865368", "durationMs": 21.597746, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.788587, "db.connection": "reader", "db.lock_wait_ms": 2.723}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8d07a37fc0539fb2765c947ad40d43d4", "spanId": "38e4a4558004181b", "parentSpanId": "9612e273ed034c39", "startTimeUnixNano": "1796073485882258955", "endTimeUnixNano": "1796073485903884453", "durationMs": 21.625498, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8d07a37fc0539fb2765c947ad40d43d4", "spanId": "9612e273ed034c39", "parentSpanId": "e65812b3b5dbf023", "startTimeUnixNano": "1796073485882212348", "endTimeUnixNano": "1796073485903890264", "durationMs": 21.677916, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8d07a37fc0539fb2765c947ad40d43d4", "spanId": "e65812b3b5dbf023", "startTimeUnixNano": "1796073485882191570", "endTimeUnixNano": "1796073485903899662", "durationMs": 21.708092, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "341413a48a00c08aae9fd7ae0dd67bf2", "spanId": "560f49c9f08881ec", "parentSpanId": "82d4447827b79c45", "startTimeUnixNano": "1796073486112584703", "endTimeUnixNano": "1796073486112882779", "durationMs": 0.298076, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "341413a48a00c08aae9fd7ae0dd67bf2", "spanId": "a7a577b495b900e7", "parentSpanId": "434593553d9eb565", "startTimeUnixNano": "1796073486112923034", "endTimeUnixNano": "1796073486113342656", "durationMs": 0.419622, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005671}}
{"type": "effect-span", "name": "sqlite", "traceId": "341413a48a00c08aae9fd7ae0dd67bf2", "spanId": "1e505c0ed1ef816e", "parentSpanId": "434593553d9eb565", "startTimeUnixNano": "1796073486113423156", "endTimeUnixNano": "1796073486114541581", "durationMs": 1.118425, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.029716}}
{"type": "effect-span", "name": "sqlite", "traceId": "341413a48a00c08aae9fd7ae0dd67bf2", "spanId": "99f66a7c692dbb64", "parentSpanId": "434593553d9eb565", "startTimeUnixNano": "1796073486114557460", "endTimeUnixNano": "1796073486116022621", "durationMs": 1.465161, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006703}}
{"type": "effect-span", "name": "sqlite", "traceId": "341413a48a00c08aae9fd7ae0dd67bf2", "spanId": "7c7c1795dfdef8d5", "parentSpanId": "434593553d9eb565", "startTimeUnixNano": "1796073486122696451", "endTimeUnixNano": "1796073486124133950", "durationMs": 1.437499, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010269}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "341413a48a00c08aae9fd7ae0dd67bf2", "spanId": "434593553d9eb565", "parentSpanId": "82d4447827b79c45", "startTimeUnixNano": "1796073486112916803", "endTimeUnixNano": "1796073486124504381", "durationMs": 11.587578, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "341413a48a00c08aae9fd7ae0dd67bf2", "spanId": "a6a365bc594abcde", "parentSpanId": "82d4447827b79c45", "startTimeUnixNano": "1796073486124548062", "endTimeUnixNano": "1796073486125903198", "durationMs": 1.355136, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "341413a48a00c08aae9fd7ae0dd67bf2", "spanId": "82d4447827b79c45", "parentSpanId": "fa759faa3dbc1bc3", "startTimeUnixNano": "1796073486111026459", "endTimeUnixNano": "1796073486125928946", "durationMs": 14.902487, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.552654, "db.connection": "reader", "db.lock_wait_ms": 1.521}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "341413a48a00c08aae9fd7ae0dd67bf2", "spanId": "fa759faa3dbc1bc3", "parentSpanId": "2070987d9f9ddae5", "startTimeUnixNano": "1796073486111016360", "endTimeUnixNano": "1796073486125947771", "durationMs": 14.931411, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "341413a48a00c08aae9fd7ae0dd67bf2", "spanId": "2070987d9f9ddae5", "parentSpanId": "a72caeade520a096", "startTimeUnixNano": "1796073486110980994", "endTimeUnixNano": "1796073486125953472", "durationMs": 14.972478, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "341413a48a00c08aae9fd7ae0dd67bf2", "spanId": "a72caeade520a096", "startTimeUnixNano": "1796073486110965044", "endTimeUnixNano": "1796073486125962018", "durationMs": 14.996974, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1e7f54fa3f2d72dfcf1d8edbe892ba6f", "spanId": "f3fdaef4dd7b2d89", "parentSpanId": "0aa4e20632806121", "startTimeUnixNano": "1796073487531719165", "endTimeUnixNano": "1796073487531918547", "durationMs": 0.199382, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1e7f54fa3f2d72dfcf1d8edbe892ba6f", "spanId": "e98381c1c7aefe12", "parentSpanId": "f844ba6c42de73cf", "startTimeUnixNano": "1796073487531981404", "endTimeUnixNano": "1796073487532959657", "durationMs": 0.978253, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007354}}
{"type": "effect-span", "name": "sqlite", "traceId": "1e7f54fa3f2d72dfcf1d8edbe892ba6f", "spanId": "00c864c86c006211", "parentSpanId": "f844ba6c42de73cf", "startTimeUnixNano": "1796073487533068781", "endTimeUnixNano": "1796073487534258939", "durationMs": 1.190158, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013235}}
{"type": "effect-span", "name": "sqlite", "traceId": "1e7f54fa3f2d72dfcf1d8edbe892ba6f", "spanId": "4689e16124a0c909", "parentSpanId": "f844ba6c42de73cf", "startTimeUnixNano": "1796073487534314954", "endTimeUnixNano": "1796073487547868707", "durationMs": 13.553753, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018133}}
{"type": "effect-span", "name": "sqlite", "traceId": "1e7f54fa3f2d72dfcf1d8edbe892ba6f", "spanId": "a7dd55fda1d4a9ce", "parentSpanId": "f844ba6c42de73cf", "startTimeUnixNano": "1796073487559311777", "endTimeUnixNano": "1796073487562739166", "durationMs": 3.427389, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017352}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1e7f54fa3f2d72dfcf1d8edbe892ba6f", "spanId": "f844ba6c42de73cf", "parentSpanId": "0aa4e20632806121", "startTimeUnixNano": "1796073487531969823", "endTimeUnixNano": "1796073487563067237", "durationMs": 31.097414, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1e7f54fa3f2d72dfcf1d8edbe892ba6f", "spanId": "5cc75495bb0fe258", "parentSpanId": "0aa4e20632806121", "startTimeUnixNano": "1796073487563104627", "endTimeUnixNano": "1796073487563364121", "durationMs": 0.259494, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1e7f54fa3f2d72dfcf1d8edbe892ba6f", "spanId": "0aa4e20632806121", "parentSpanId": "4a11a88f47f4c25e", "startTimeUnixNano": "1796073487528776520", "endTimeUnixNano": "1796073487563389688", "durationMs": 34.613168, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.935702, "db.connection": "reader", "db.lock_wait_ms": 2.873}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1e7f54fa3f2d72dfcf1d8edbe892ba6f", "spanId": "4a11a88f47f4c25e", "parentSpanId": "34dc38677b8b0bce", "startTimeUnixNano": "1796073487528766802", "endTimeUnixNano": "1796073487563417610", "durationMs": 34.650808, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1e7f54fa3f2d72dfcf1d8edbe892ba6f", "spanId": "34dc38677b8b0bce", "parentSpanId": "b567adef4eaf155b", "startTimeUnixNano": "1796073487528713894", "endTimeUnixNano": "1796073487563430454", "durationMs": 34.71656, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1e7f54fa3f2d72dfcf1d8edbe892ba6f", "spanId": "b567adef4eaf155b", "startTimeUnixNano": "1796073487528688306", "endTimeUnixNano": "1796073487563461512", "durationMs": 34.773206, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8a963345c7ca846fb37a4b0c60a25eda", "spanId": "fca358cc6929d8db", "parentSpanId": "d6fb49d01615706c", "startTimeUnixNano": "1796073487787617261", "endTimeUnixNano": "1796073487787945543", "durationMs": 0.328282, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a963345c7ca846fb37a4b0c60a25eda", "spanId": "ec285df0d98c1292", "parentSpanId": "cabd8c71d0fa70a1", "startTimeUnixNano": "1796073487787976130", "endTimeUnixNano": "1796073487788171785", "durationMs": 0.195655, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004669}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a963345c7ca846fb37a4b0c60a25eda", "spanId": "fc194ae3a6ba4392", "parentSpanId": "cabd8c71d0fa70a1", "startTimeUnixNano": "1796073487788242998", "endTimeUnixNano": "1796073487789138527", "durationMs": 0.895529, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014878}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a963345c7ca846fb37a4b0c60a25eda", "spanId": "c394f41ddef6ac94", "parentSpanId": "cabd8c71d0fa70a1", "startTimeUnixNano": "1796073487789153265", "endTimeUnixNano": "1796073487789984163", "durationMs": 0.830898, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006331}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a963345c7ca846fb37a4b0c60a25eda", "spanId": "0b79fb5915b558e1", "parentSpanId": "cabd8c71d0fa70a1", "startTimeUnixNano": "1796073487794757821", "endTimeUnixNano": "1796073487796525276", "durationMs": 1.767455, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01583}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8a963345c7ca846fb37a4b0c60a25eda", "spanId": "cabd8c71d0fa70a1", "parentSpanId": "d6fb49d01615706c", "startTimeUnixNano": "1796073487787970991", "endTimeUnixNano": "1796073487796761837", "durationMs": 8.790846, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8a963345c7ca846fb37a4b0c60a25eda", "spanId": "b3da78ce6b754e9c", "parentSpanId": "d6fb49d01615706c", "startTimeUnixNano": "1796073487796780361", "endTimeUnixNano": "1796073487797286314", "durationMs": 0.505953, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8a963345c7ca846fb37a4b0c60a25eda", "spanId": "d6fb49d01615706c", "parentSpanId": "c7afe7b1b6bd68e9", "startTimeUnixNano": "1796073487786410863", "endTimeUnixNano": "1796073487797305059", "durationMs": 10.894196, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.203062, "db.connection": "reader", "db.lock_wait_ms": 1.15}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8a963345c7ca846fb37a4b0c60a25eda", "spanId": "c7afe7b1b6bd68e9", "parentSpanId": "915b5fb887c0f3c9", "startTimeUnixNano": "1796073487786401615", "endTimeUnixNano": "1796073487797321840", "durationMs": 10.920225, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8a963345c7ca846fb37a4b0c60a25eda", "spanId": "915b5fb887c0f3c9", "parentSpanId": "d877558dfc725521", "startTimeUnixNano": "1796073487786371730", "endTimeUnixNano": "1796073487797327341", "durationMs": 10.955611, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8a963345c7ca846fb37a4b0c60a25eda", "spanId": "d877558dfc725521", "startTimeUnixNano": "1796073487786358144", "endTimeUnixNano": "1796073487797334935", "durationMs": 10.976791, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "699d8ad51cc6ec292a341d0e311d14e9", "spanId": "3d5451702178887c", "parentSpanId": "5182e26b53cef20b", "startTimeUnixNano": "1796073489273585122", "endTimeUnixNano": "1796073489273743047", "durationMs": 0.157925, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "699d8ad51cc6ec292a341d0e311d14e9", "spanId": "918dee80ba1e4696", "parentSpanId": "bf5aa5c28c71a821", "startTimeUnixNano": "1796073489273785947", "endTimeUnixNano": "1796073489274547967", "durationMs": 0.76202, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006993}}
{"type": "effect-span", "name": "sqlite", "traceId": "699d8ad51cc6ec292a341d0e311d14e9", "spanId": "1aede33f86088415", "parentSpanId": "bf5aa5c28c71a821", "startTimeUnixNano": "1796073489274634979", "endTimeUnixNano": "1796073489275608304", "durationMs": 0.973325, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009929}}
{"type": "effect-span", "name": "sqlite", "traceId": "699d8ad51cc6ec292a341d0e311d14e9", "spanId": "5691d865056964a7", "parentSpanId": "bf5aa5c28c71a821", "startTimeUnixNano": "1796073489275633881", "endTimeUnixNano": "1796073489276747627", "durationMs": 1.113746, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011021}}
{"type": "effect-span", "name": "sqlite", "traceId": "699d8ad51cc6ec292a341d0e311d14e9", "spanId": "121f21bde3ecae36", "parentSpanId": "bf5aa5c28c71a821", "startTimeUnixNano": "1796073489285030978", "endTimeUnixNano": "1796073489289048376", "durationMs": 4.017398, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01596}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "699d8ad51cc6ec292a341d0e311d14e9", "spanId": "bf5aa5c28c71a821", "parentSpanId": "5182e26b53cef20b", "startTimeUnixNano": "1796073489273776980", "endTimeUnixNano": "1796073489289291209", "durationMs": 15.514229, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "699d8ad51cc6ec292a341d0e311d14e9", "spanId": "ccfc00f2b346d762", "parentSpanId": "5182e26b53cef20b", "startTimeUnixNano": "1796073489289304414", "endTimeUnixNano": "1796073489290776718", "durationMs": 1.472304, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "699d8ad51cc6ec292a341d0e311d14e9", "spanId": "5182e26b53cef20b", "parentSpanId": "7d0a677f13d7bb8a", "startTimeUnixNano": "1796073489271086295", "endTimeUnixNano": "1796073489290798809", "durationMs": 19.712514, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.492305, "db.connection": "reader", "db.lock_wait_ms": 2.447}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "699d8ad51cc6ec292a341d0e311d14e9", "spanId": "7d0a677f13d7bb8a", "parentSpanId": "f2159816b900a9ef", "startTimeUnixNano": "1796073489271078189", "endTimeUnixNano": "1796073489290812856", "durationMs": 19.734667, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "699d8ad51cc6ec292a341d0e311d14e9", "spanId": "f2159816b900a9ef", "parentSpanId": "06f1d0ebe384d3ef", "startTimeUnixNano": "1796073489271033316", "endTimeUnixNano": "1796073489290818677", "durationMs": 19.785361, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "699d8ad51cc6ec292a341d0e311d14e9", "spanId": "06f1d0ebe384d3ef", "startTimeUnixNano": "1796073489271018538", "endTimeUnixNano": "1796073489290827914", "durationMs": 19.809376, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8852df1688f35eb9666decd48ea58663", "spanId": "bbe3512cf874c083", "parentSpanId": "4de428c265c8983f", "startTimeUnixNano": "1796073489510492737", "endTimeUnixNano": "1796073489511024258", "durationMs": 0.531521, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8852df1688f35eb9666decd48ea58663", "spanId": "4b019e5aed083f7f", "parentSpanId": "a626b6a91e14e47e", "startTimeUnixNano": "1796073489511080643", "endTimeUnixNano": "1796073489511351408", "durationMs": 0.270765, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008366}}
{"type": "effect-span", "name": "sqlite", "traceId": "8852df1688f35eb9666decd48ea58663", "spanId": "3f3de72aeb4961b5", "parentSpanId": "a626b6a91e14e47e", "startTimeUnixNano": "1796073489511478525", "endTimeUnixNano": "1796073489512944938", "durationMs": 1.466413, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013986}}
{"type": "effect-span", "name": "sqlite", "traceId": "8852df1688f35eb9666decd48ea58663", "spanId": "8047312262f8f64c", "parentSpanId": "a626b6a91e14e47e", "startTimeUnixNano": "1796073489512972600", "endTimeUnixNano": "1796073489514660696", "durationMs": 1.688096, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012984}}
{"type": "effect-span", "name": "sqlite", "traceId": "8852df1688f35eb9666decd48ea58663", "spanId": "bc47c1b5c3a054d9", "parentSpanId": "a626b6a91e14e47e", "startTimeUnixNano": "1796073489523799542", "endTimeUnixNano": "1796073489526237586", "durationMs": 2.438044, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01084}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8852df1688f35eb9666decd48ea58663", "spanId": "a626b6a91e14e47e", "parentSpanId": "4de428c265c8983f", "startTimeUnixNano": "1796073489511072167", "endTimeUnixNano": "1796073489526491750", "durationMs": 15.419583, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8852df1688f35eb9666decd48ea58663", "spanId": "d3b63890986fe8d5", "parentSpanId": "4de428c265c8983f", "startTimeUnixNano": "1796073489526514462", "endTimeUnixNano": "1796073489527309594", "durationMs": 0.795132, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8852df1688f35eb9666decd48ea58663", "spanId": "4de428c265c8983f", "parentSpanId": "a91b0874c86e86de", "startTimeUnixNano": "1796073489507498065", "endTimeUnixNano": "1796073489527348968", "durationMs": 19.850903, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.984022, "db.connection": "reader", "db.lock_wait_ms": 2.954}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8852df1688f35eb9666decd48ea58663", "spanId": "a91b0874c86e86de", "parentSpanId": "e4d99b876b2c974a", "startTimeUnixNano": "1796073489507489309", "endTimeUnixNano": "1796073489527372452", "durationMs": 19.883143, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8852df1688f35eb9666decd48ea58663", "spanId": "e4d99b876b2c974a", "parentSpanId": "c727a87ce42bcc11", "startTimeUnixNano": "1796073489507455275", "endTimeUnixNano": "1796073489527378894", "durationMs": 19.923619, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8852df1688f35eb9666decd48ea58663", "spanId": "c727a87ce42bcc11", "startTimeUnixNano": "1796073489507419559", "endTimeUnixNano": "1796073489527388872", "durationMs": 19.969313, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "246566bccfaaea9b3a6c19a6f69216db", "spanId": "f8408080edd7b324", "parentSpanId": "4af1b73a9fde4e4d", "startTimeUnixNano": "1796073490970315314", "endTimeUnixNano": "1796073490970537258", "durationMs": 0.221944, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "246566bccfaaea9b3a6c19a6f69216db", "spanId": "14c11058aecb7f53", "parentSpanId": "254e8d580d97ee23", "startTimeUnixNano": "1796073490970584105", "endTimeUnixNano": "1796073490971362657", "durationMs": 0.778552, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007735}}
{"type": "effect-span", "name": "sqlite", "traceId": "246566bccfaaea9b3a6c19a6f69216db", "spanId": "3ff0f5951134d124", "parentSpanId": "254e8d580d97ee23", "startTimeUnixNano": "1796073490971457433", "endTimeUnixNano": "1796073490972827477", "durationMs": 1.370044, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01045}}
{"type": "effect-span", "name": "sqlite", "traceId": "246566bccfaaea9b3a6c19a6f69216db", "spanId": "fe79576e8a9aca20", "parentSpanId": "254e8d580d97ee23", "startTimeUnixNano": "1796073490972843257", "endTimeUnixNano": "1796073490974069503", "durationMs": 1.226246, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007734}}
{"type": "effect-span", "name": "sqlite", "traceId": "246566bccfaaea9b3a6c19a6f69216db", "spanId": "ce7d487e3754a866", "parentSpanId": "254e8d580d97ee23", "startTimeUnixNano": "1796073490982667109", "endTimeUnixNano": "1796073490986382876", "durationMs": 3.715767, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017392}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "246566bccfaaea9b3a6c19a6f69216db", "spanId": "254e8d580d97ee23", "parentSpanId": "4af1b73a9fde4e4d", "startTimeUnixNano": "1796073490970574608", "endTimeUnixNano": "1796073490986838525", "durationMs": 16.263917, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "246566bccfaaea9b3a6c19a6f69216db", "spanId": "36f39803198ea482", "parentSpanId": "4af1b73a9fde4e4d", "startTimeUnixNano": "1796073490986880663", "endTimeUnixNano": "1796073490987519705", "durationMs": 0.639042, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "246566bccfaaea9b3a6c19a6f69216db", "spanId": "4af1b73a9fde4e4d", "parentSpanId": "466225f1f46b8a19", "startTimeUnixNano": "1796073490967418054", "endTimeUnixNano": "1796073490987554329", "durationMs": 20.136275, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.890828, "db.connection": "reader", "db.lock_wait_ms": 2.825}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "246566bccfaaea9b3a6c19a6f69216db", "spanId": "466225f1f46b8a19", "parentSpanId": "d5a9cfa78afc1f87", "startTimeUnixNano": "1796073490967406943", "endTimeUnixNano": "1796073490987583323", "durationMs": 20.17638, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "246566bccfaaea9b3a6c19a6f69216db", "spanId": "d5a9cfa78afc1f87", "parentSpanId": "c112c67abf5566c9", "startTimeUnixNano": "1796073490967354976", "endTimeUnixNano": "1796073490987595065", "durationMs": 20.240089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "246566bccfaaea9b3a6c19a6f69216db", "spanId": "c112c67abf5566c9", "startTimeUnixNano": "1796073490967331212", "endTimeUnixNano": "1796073490987603601", "durationMs": 20.272389, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3d7c02bebecf56ef5efc2c49f961b1d1", "spanId": "f46b1241beb8f3e2", "parentSpanId": "693b65a972b71479", "startTimeUnixNano": "1796073491236169934", "endTimeUnixNano": "1796073491236722003", "durationMs": 0.552069, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d7c02bebecf56ef5efc2c49f961b1d1", "spanId": "7291b8e2740f566a", "parentSpanId": "b02544b73422013f", "startTimeUnixNano": "1796073491236783137", "endTimeUnixNano": "1796073491237050065", "durationMs": 0.266928, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004579}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d7c02bebecf56ef5efc2c49f961b1d1", "spanId": "4bb2ad8f64bcc286", "parentSpanId": "b02544b73422013f", "startTimeUnixNano": "1796073491237148929", "endTimeUnixNano": "1796073491238544681", "durationMs": 1.395752, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012183}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d7c02bebecf56ef5efc2c49f961b1d1", "spanId": "e9fce11c3cb8a54d", "parentSpanId": "b02544b73422013f", "startTimeUnixNano": "1796073491238569477", "endTimeUnixNano": "1796073491239872356", "durationMs": 1.302879, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012714}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d7c02bebecf56ef5efc2c49f961b1d1", "spanId": "c137c6718aac2da8", "parentSpanId": "b02544b73422013f", "startTimeUnixNano": "1796073491246535818", "endTimeUnixNano": "1796073491248883864", "durationMs": 2.348046, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012162}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3d7c02bebecf56ef5efc2c49f961b1d1", "spanId": "b02544b73422013f", "parentSpanId": "693b65a972b71479", "startTimeUnixNano": "1796073491236776856", "endTimeUnixNano": "1796073491249211565", "durationMs": 12.434709, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3d7c02bebecf56ef5efc2c49f961b1d1", "spanId": "f0fc9c76c359930d", "parentSpanId": "693b65a972b71479", "startTimeUnixNano": "1796073491249228417", "endTimeUnixNano": "1796073491249665131", "durationMs": 0.436714, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3d7c02bebecf56ef5efc2c49f961b1d1", "spanId": "693b65a972b71479", "parentSpanId": "e36e7c89b39b02b8", "startTimeUnixNano": "1796073491234648017", "endTimeUnixNano": "1796073491249685689", "durationMs": 15.037672, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.51808, "db.connection": "reader", "db.lock_wait_ms": 1.49}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3d7c02bebecf56ef5efc2c49f961b1d1", "spanId": "e36e7c89b39b02b8", "parentSpanId": "008883561f823fcf", "startTimeUnixNano": "1796073491234640894", "endTimeUnixNano": "1796073491249699755", "durationMs": 15.058861, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3d7c02bebecf56ef5efc2c49f961b1d1", "spanId": "008883561f823fcf", "parentSpanId": "78fbdc31161c9ac6", "startTimeUnixNano": "1796073491234613453", "endTimeUnixNano": "1796073491249705055", "durationMs": 15.091602, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3d7c02bebecf56ef5efc2c49f961b1d1", "spanId": "78fbdc31161c9ac6", "startTimeUnixNano": "1796073491234598936", "endTimeUnixNano": "1796073491249715094", "durationMs": 15.116158, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bb75dcffff1ec9c14748d2073a1c1c23", "spanId": "5659b621ebb00ba1", "parentSpanId": "a969a4af224348a6", "startTimeUnixNano": "1796073492780362668", "endTimeUnixNano": "1796073492780615169", "durationMs": 0.252501, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb75dcffff1ec9c14748d2073a1c1c23", "spanId": "e83880bd6c4bff3f", "parentSpanId": "1fbdfed51d7564b3", "startTimeUnixNano": "1796073492780649323", "endTimeUnixNano": "1796073492781304804", "durationMs": 0.655481, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006011}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb75dcffff1ec9c14748d2073a1c1c23", "spanId": "2e852349b5b26fef", "parentSpanId": "1fbdfed51d7564b3", "startTimeUnixNano": "1796073492781377139", "endTimeUnixNano": "1796073492782534577", "durationMs": 1.157438, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008937}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb75dcffff1ec9c14748d2073a1c1c23", "spanId": "16d0ced965a8d8f2", "parentSpanId": "1fbdfed51d7564b3", "startTimeUnixNano": "1796073492782552500", "endTimeUnixNano": "1796073492783500307", "durationMs": 0.947807, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008326}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb75dcffff1ec9c14748d2073a1c1c23", "spanId": "c526296d59e9c869", "parentSpanId": "1fbdfed51d7564b3", "startTimeUnixNano": "1796073492792628093", "endTimeUnixNano": "1796073492794258873", "durationMs": 1.63078, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009517}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bb75dcffff1ec9c14748d2073a1c1c23", "spanId": "1fbdfed51d7564b3", "parentSpanId": "a969a4af224348a6", "startTimeUnixNano": "1796073492780643381", "endTimeUnixNano": "1796073492794555355", "durationMs": 13.911974, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bb75dcffff1ec9c14748d2073a1c1c23", "spanId": "1eb0a6b1922ca518", "parentSpanId": "a969a4af224348a6", "startTimeUnixNano": "1796073492794582947", "endTimeUnixNano": "1796073492794799060", "durationMs": 0.216113, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bb75dcffff1ec9c14748d2073a1c1c23", "spanId": "a969a4af224348a6", "parentSpanId": "086a092b5a8345bd", "startTimeUnixNano": "1796073492778480570", "endTimeUnixNano": "1796073492794816592", "durationMs": 16.336022, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.87786, "db.connection": "reader", "db.lock_wait_ms": 1.842}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bb75dcffff1ec9c14748d2073a1c1c23", "spanId": "086a092b5a8345bd", "parentSpanId": "6ef1d6e64961a396", "startTimeUnixNano": "1796073492778471863", "endTimeUnixNano": "1796073492794830097", "durationMs": 16.358234, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bb75dcffff1ec9c14748d2073a1c1c23", "spanId": "6ef1d6e64961a396", "parentSpanId": "2191c3ed5d2057af", "startTimeUnixNano": "1796073492778411741", "endTimeUnixNano": "1796073492794835558", "durationMs": 16.423817, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bb75dcffff1ec9c14748d2073a1c1c23", "spanId": "2191c3ed5d2057af", "startTimeUnixNano": "1796073492778394169", "endTimeUnixNano": "1796073492794842671", "durationMs": 16.448502, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "91186b0763bfd80bdc26d7ec830a8bc1", "spanId": "5b4e4c19a584de2f", "parentSpanId": "52f3aac4d3fba4a4", "startTimeUnixNano": "1796073492981493795", "endTimeUnixNano": "1796073492981703375", "durationMs": 0.20958, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "91186b0763bfd80bdc26d7ec830a8bc1", "spanId": "57e29e256b396013", "parentSpanId": "aa46b501f2ccda93", "startTimeUnixNano": "1796073492981734533", "endTimeUnixNano": "1796073492981820844", "durationMs": 0.086311, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004188}}
{"type": "effect-span", "name": "sqlite", "traceId": "91186b0763bfd80bdc26d7ec830a8bc1", "spanId": "d293a48e4a84865a", "parentSpanId": "aa46b501f2ccda93", "startTimeUnixNano": "1796073492981884904", "endTimeUnixNano": "1796073492983201418", "durationMs": 1.316514, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008325}}
{"type": "effect-span", "name": "sqlite", "traceId": "91186b0763bfd80bdc26d7ec830a8bc1", "spanId": "296af243705e26ea", "parentSpanId": "aa46b501f2ccda93", "startTimeUnixNano": "1796073492983219181", "endTimeUnixNano": "1796073492984303342", "durationMs": 1.084161, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008466}}
{"type": "effect-span", "name": "sqlite", "traceId": "91186b0763bfd80bdc26d7ec830a8bc1", "spanId": "efb0e4a967da2243", "parentSpanId": "aa46b501f2ccda93", "startTimeUnixNano": "1796073492989273176", "endTimeUnixNano": "1796073492990701750", "durationMs": 1.428574, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011231}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "91186b0763bfd80bdc26d7ec830a8bc1", "spanId": "aa46b501f2ccda93", "parentSpanId": "52f3aac4d3fba4a4", "startTimeUnixNano": "1796073492981729324", "endTimeUnixNano": "1796073492991003372", "durationMs": 9.274048, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "91186b0763bfd80bdc26d7ec830a8bc1", "spanId": "606ca8aeebaa49da", "parentSpanId": "52f3aac4d3fba4a4", "startTimeUnixNano": "1796073492991014483", "endTimeUnixNano": "1796073492991221569", "durationMs": 0.207086, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "91186b0763bfd80bdc26d7ec830a8bc1", "spanId": "52f3aac4d3fba4a4", "parentSpanId": "a4689acad6cfa8da", "startTimeUnixNano": "1796073492980152434", "endTimeUnixNano": "1796073492991238811", "durationMs": 11.086377, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.337353, "db.connection": "reader", "db.lock_wait_ms": 1.299}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "91186b0763bfd80bdc26d7ec830a8bc1", "spanId": "a4689acad6cfa8da", "parentSpanId": "4c2f46a54a5446ec", "startTimeUnixNano": "1796073492980144650", "endTimeUnixNano": "1796073492991252106", "durationMs": 11.107456, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "91186b0763bfd80bdc26d7ec830a8bc1", "spanId": "4c2f46a54a5446ec", "parentSpanId": "16e35bd6237b144c", "startTimeUnixNano": "1796073492980112299", "endTimeUnixNano": "1796073492991256734", "durationMs": 11.144435, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "91186b0763bfd80bdc26d7ec830a8bc1", "spanId": "16e35bd6237b144c", "startTimeUnixNano": "1796073492980097933", "endTimeUnixNano": "1796073492991263357", "durationMs": 11.165424, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "86320a9dbe43549c981c033f2db58859", "spanId": "06e7a7ef3667c041", "parentSpanId": "cf70fc463e107064", "startTimeUnixNano": "1796073494348506654", "endTimeUnixNano": "1796073494348722356", "durationMs": 0.215702, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "86320a9dbe43549c981c033f2db58859", "spanId": "7d3c8608f7a82562", "parentSpanId": "6358d059dc24f426", "startTimeUnixNano": "1796073494348776818", "endTimeUnixNano": "1796073494349536835", "durationMs": 0.760017, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008756}}
{"type": "effect-span", "name": "sqlite", "traceId": "86320a9dbe43549c981c033f2db58859", "spanId": "f0c20b2e908d4740", "parentSpanId": "6358d059dc24f426", "startTimeUnixNano": "1796073494349628075", "endTimeUnixNano": "1796073494350850995", "durationMs": 1.22292, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009427}}
{"type": "effect-span", "name": "sqlite", "traceId": "86320a9dbe43549c981c033f2db58859", "spanId": "28ec2e7d62882e02", "parentSpanId": "6358d059dc24f426", "startTimeUnixNano": "1796073494350880159", "endTimeUnixNano": "1796073494352019693", "durationMs": 1.139534, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010399}}
{"type": "effect-span", "name": "sqlite", "traceId": "86320a9dbe43549c981c033f2db58859", "spanId": "811a87882e1e1e08", "parentSpanId": "6358d059dc24f426", "startTimeUnixNano": "1796073494359624811", "endTimeUnixNano": "1796073494361769749", "durationMs": 2.144938, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017813}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "86320a9dbe43549c981c033f2db58859", "spanId": "6358d059dc24f426", "parentSpanId": "cf70fc463e107064", "startTimeUnixNano": "1796073494348764355", "endTimeUnixNano": "1796073494362002393", "durationMs": 13.238038, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "86320a9dbe43549c981c033f2db58859", "spanId": "c4fefef8ab143160", "parentSpanId": "cf70fc463e107064", "startTimeUnixNano": "1796073494362019465", "endTimeUnixNano": "1796073494362351824", "durationMs": 0.332359, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "86320a9dbe43549c981c033f2db58859", "spanId": "cf70fc463e107064", "parentSpanId": "6c7afa7edf5d5264", "startTimeUnixNano": "1796073494345498827", "endTimeUnixNano": "1796073494362374266", "durationMs": 16.875439, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.996055, "db.connection": "reader", "db.lock_wait_ms": 2.955}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "86320a9dbe43549c981c033f2db58859", "spanId": "6c7afa7edf5d5264", "parentSpanId": "65243f9fddb10444", "startTimeUnixNano": "1796073494345487686", "endTimeUnixNano": "1796073494362391869", "durationMs": 16.904183, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "86320a9dbe43549c981c033f2db58859", "spanId": "65243f9fddb10444", "parentSpanId": "bde25b867597188c", "startTimeUnixNano": "1796073494345419229", "endTimeUnixNano": "1796073494362399263", "durationMs": 16.980034, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "86320a9dbe43549c981c033f2db58859", "spanId": "bde25b867597188c", "startTimeUnixNano": "1796073494345396186", "endTimeUnixNano": "1796073494362408059", "durationMs": 17.011873, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e7bf6fd5092127e00ad2064a69b67350", "spanId": "050179a31486eab2", "parentSpanId": "4673a558c27177d8", "startTimeUnixNano": "1796073494569373696", "endTimeUnixNano": "1796073494571025055", "durationMs": 1.651359, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7bf6fd5092127e00ad2064a69b67350", "spanId": "b8cb09a8eb53ad4b", "parentSpanId": "0e3d257c73691aa2", "startTimeUnixNano": "1796073494571061823", "endTimeUnixNano": "1796073494571292654", "durationMs": 0.230831, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004539}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7bf6fd5092127e00ad2064a69b67350", "spanId": "d805f65d917c64b3", "parentSpanId": "0e3d257c73691aa2", "startTimeUnixNano": "1796073494571367723", "endTimeUnixNano": "1796073494572814671", "durationMs": 1.446948, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009658}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7bf6fd5092127e00ad2064a69b67350", "spanId": "1ddd1aa8fedb5b9b", "parentSpanId": "0e3d257c73691aa2", "startTimeUnixNano": "1796073494572839878", "endTimeUnixNano": "1796073494574369189", "durationMs": 1.529311, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005831}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7bf6fd5092127e00ad2064a69b67350", "spanId": "91a268e92909bd34", "parentSpanId": "0e3d257c73691aa2", "startTimeUnixNano": "1796073494580315163", "endTimeUnixNano": "1796073494582492653", "durationMs": 2.17749, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021971}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e7bf6fd5092127e00ad2064a69b67350", "spanId": "0e3d257c73691aa2", "parentSpanId": "4673a558c27177d8", "startTimeUnixNano": "1796073494571056002", "endTimeUnixNano": "1796073494582717993", "durationMs": 11.661991, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e7bf6fd5092127e00ad2064a69b67350", "spanId": "fca20c55f804d094", "parentSpanId": "4673a558c27177d8", "startTimeUnixNano": "1796073494582732690", "endTimeUnixNano": "1796073494587470753", "durationMs": 4.738063, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e7bf6fd5092127e00ad2064a69b67350", "spanId": "4673a558c27177d8", "parentSpanId": "81bbea541386b401", "startTimeUnixNano": "1796073494567871105", "endTimeUnixNano": "1796073494587496441", "durationMs": 19.625336, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.497882, "db.connection": "reader", "db.lock_wait_ms": 1.463}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e7bf6fd5092127e00ad2064a69b67350", "spanId": "81bbea541386b401", "parentSpanId": "2d63108c4cc7db12", "startTimeUnixNano": "1796073494567862870", "endTimeUnixNano": "1796073494587515596", "durationMs": 19.652726, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e7bf6fd5092127e00ad2064a69b67350", "spanId": "2d63108c4cc7db12", "parentSpanId": "fdbb89032eeb06c6", "startTimeUnixNano": "1796073494567832703", "endTimeUnixNano": "1796073494587522980", "durationMs": 19.690277, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e7bf6fd5092127e00ad2064a69b67350", "spanId": "fdbb89032eeb06c6", "startTimeUnixNano": "1796073494567814860", "endTimeUnixNano": "1796073494587531897", "durationMs": 19.717037, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "efc038472f7640728c09c3a77c2285c0", "spanId": "4ceb0ece74baf3fc", "parentSpanId": "328fac9e9d78a1e4", "startTimeUnixNano": "1796073495973608313", "endTimeUnixNano": "1796073495974258305", "durationMs": 0.649992, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "efc038472f7640728c09c3a77c2285c0", "spanId": "c04090dc9c2d9aa9", "parentSpanId": "8554f83fd13a427d", "startTimeUnixNano": "1796073495974299081", "endTimeUnixNano": "1796073495974956406", "durationMs": 0.657325, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005951}}
{"type": "effect-span", "name": "sqlite", "traceId": "efc038472f7640728c09c3a77c2285c0", "spanId": "d21e47f624b323fd", "parentSpanId": "8554f83fd13a427d", "startTimeUnixNano": "1796073495975029883", "endTimeUnixNano": "1796073495976045166", "durationMs": 1.015283, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008566}}
{"type": "effect-span", "name": "sqlite", "traceId": "efc038472f7640728c09c3a77c2285c0", "spanId": "0eec1f6bac6f22f9", "parentSpanId": "8554f83fd13a427d", "startTimeUnixNano": "1796073495976061446", "endTimeUnixNano": "1796073495977270220", "durationMs": 1.208774, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006693}}
{"type": "effect-span", "name": "sqlite", "traceId": "efc038472f7640728c09c3a77c2285c0", "spanId": "d1fcc60ec367913b", "parentSpanId": "8554f83fd13a427d", "startTimeUnixNano": "1796073495986112374", "endTimeUnixNano": "1796073495987902821", "durationMs": 1.790447, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010159}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "efc038472f7640728c09c3a77c2285c0", "spanId": "8554f83fd13a427d", "parentSpanId": "328fac9e9d78a1e4", "startTimeUnixNano": "1796073495974289683", "endTimeUnixNano": "1796073495988154180", "durationMs": 13.864497, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "efc038472f7640728c09c3a77c2285c0", "spanId": "055fc76294b4e283", "parentSpanId": "328fac9e9d78a1e4", "startTimeUnixNano": "1796073495988167685", "endTimeUnixNano": "1796073495988363160", "durationMs": 0.195475, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "efc038472f7640728c09c3a77c2285c0", "spanId": "328fac9e9d78a1e4", "parentSpanId": "23f98dac85cf2341", "startTimeUnixNano": "1796073495972326904", "endTimeUnixNano": "1796073495988382906", "durationMs": 16.056002, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.277712, "db.connection": "reader", "db.lock_wait_ms": 1.246}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "efc038472f7640728c09c3a77c2285c0", "spanId": "23f98dac85cf2341", "parentSpanId": "4e997533a7ad41aa", "startTimeUnixNano": "1796073495972318569", "endTimeUnixNano": "1796073495988397143", "durationMs": 16.078574, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "efc038472f7640728c09c3a77c2285c0", "spanId": "4e997533a7ad41aa", "parentSpanId": "ea1d0f8405a5e652", "startTimeUnixNano": "1796073495972280097", "endTimeUnixNano": "1796073495988402022", "durationMs": 16.121925, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "efc038472f7640728c09c3a77c2285c0", "spanId": "ea1d0f8405a5e652", "startTimeUnixNano": "1796073495972261091", "endTimeUnixNano": "1796073495988412201", "durationMs": 16.15111, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d3a466f656d99e6205e83af291b47632", "spanId": "5e8c5d6743382691", "parentSpanId": "d22295387c41f51b", "startTimeUnixNano": "1796073496174922317", "endTimeUnixNano": "1796073496175310440", "durationMs": 0.388123, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d3a466f656d99e6205e83af291b47632", "spanId": "99e47e564944e0fe", "parentSpanId": "0a081fa8d117ac4f", "startTimeUnixNano": "1796073496175345396", "endTimeUnixNano": "1796073496176775091", "durationMs": 1.429695, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004468}}
{"type": "effect-span", "name": "sqlite", "traceId": "d3a466f656d99e6205e83af291b47632", "spanId": "b43a8c2e5fd3fe37", "parentSpanId": "0a081fa8d117ac4f", "startTimeUnixNano": "1796073496176844210", "endTimeUnixNano": "1796073496177883828", "durationMs": 1.039618, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009037}}
{"type": "effect-span", "name": "sqlite", "traceId": "d3a466f656d99e6205e83af291b47632", "spanId": "f1c0a806000c7f60", "parentSpanId": "0a081fa8d117ac4f", "startTimeUnixNano": "1796073496177900599", "endTimeUnixNano": "1796073496179052066", "durationMs": 1.151467, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006783}}
{"type": "effect-span", "name": "sqlite", "traceId": "d3a466f656d99e6205e83af291b47632", "spanId": "c76a9ba05c131f8e", "parentSpanId": "0a081fa8d117ac4f", "startTimeUnixNano": "1796073496185205457", "endTimeUnixNano": "1796073496187107834", "durationMs": 1.902377, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008787}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d3a466f656d99e6205e83af291b47632", "spanId": "0a081fa8d117ac4f", "parentSpanId": "d22295387c41f51b", "startTimeUnixNano": "1796073496175339976", "endTimeUnixNano": "1796073496187304230", "durationMs": 11.964254, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d3a466f656d99e6205e83af291b47632", "spanId": "643b0636a55e71cb", "parentSpanId": "d22295387c41f51b", "startTimeUnixNano": "1796073496187319198", "endTimeUnixNano": "1796073496187820633", "durationMs": 0.501435, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d3a466f656d99e6205e83af291b47632", "spanId": "d22295387c41f51b", "parentSpanId": "8db43d56d4085695", "startTimeUnixNano": "1796073496173613557", "endTimeUnixNano": "1796073496187846070", "durationMs": 14.232513, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.305484, "db.connection": "reader", "db.lock_wait_ms": 1.276}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d3a466f656d99e6205e83af291b47632", "spanId": "8db43d56d4085695", "parentSpanId": "b22261ec1b792e19", "startTimeUnixNano": "1796073496173606694", "endTimeUnixNano": "1796073496187864675", "durationMs": 14.257981, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d3a466f656d99e6205e83af291b47632", "spanId": "b22261ec1b792e19", "parentSpanId": "cfe271a51e4e025d", "startTimeUnixNano": "1796073496173578241", "endTimeUnixNano": "1796073496187869514", "durationMs": 14.291273, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d3a466f656d99e6205e83af291b47632", "spanId": "cfe271a51e4e025d", "startTimeUnixNano": "1796073496173564766", "endTimeUnixNano": "1796073496187874413", "durationMs": 14.309647, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "29a3b26809c6a3e9c70c02520e66f89e", "spanId": "2d9613104aaf4aa8", "parentSpanId": "53e21905b1a66f39", "startTimeUnixNano": "1796073497483869731", "endTimeUnixNano": "1796073497484543256", "durationMs": 0.673525, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "29a3b26809c6a3e9c70c02520e66f89e", "spanId": "3528714a621562f5", "parentSpanId": "cc4edf0d5eb1eef6", "startTimeUnixNano": "1796073497484584253", "endTimeUnixNano": "1796073497485228664", "durationMs": 0.644411, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004358}}
{"type": "effect-span", "name": "sqlite", "traceId": "29a3b26809c6a3e9c70c02520e66f89e", "spanId": "49762667d692d020", "parentSpanId": "cc4edf0d5eb1eef6", "startTimeUnixNano": "1796073497485295669", "endTimeUnixNano": "1796073497486665192", "durationMs": 1.369523, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008265}}
{"type": "effect-span", "name": "sqlite", "traceId": "29a3b26809c6a3e9c70c02520e66f89e", "spanId": "2da09d9949fdad3c", "parentSpanId": "cc4edf0d5eb1eef6", "startTimeUnixNano": "1796073497486679008", "endTimeUnixNano": "1796073497490121365", "durationMs": 3.442357, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005971}}
{"type": "effect-span", "name": "sqlite", "traceId": "29a3b26809c6a3e9c70c02520e66f89e", "spanId": "31a7edf1fa956947", "parentSpanId": "cc4edf0d5eb1eef6", "startTimeUnixNano": "1796073497494993198", "endTimeUnixNano": "1796073497496343245", "durationMs": 1.350047, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008867}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "29a3b26809c6a3e9c70c02520e66f89e", "spanId": "cc4edf0d5eb1eef6", "parentSpanId": "53e21905b1a66f39", "startTimeUnixNano": "1796073497484578923", "endTimeUnixNano": "1796073497496594193", "durationMs": 12.01527, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "29a3b26809c6a3e9c70c02520e66f89e", "spanId": "e316a48c0b70c804", "parentSpanId": "53e21905b1a66f39", "startTimeUnixNano": "1796073497496618138", "endTimeUnixNano": "1796073497497122838", "durationMs": 0.5047, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "29a3b26809c6a3e9c70c02520e66f89e", "spanId": "53e21905b1a66f39", "parentSpanId": "3771e02b05a87ca4", "startTimeUnixNano": "1796073497482608980", "endTimeUnixNano": "1796073497497140451", "durationMs": 14.531471, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.256883, "db.connection": "reader", "db.lock_wait_ms": 1.224}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "29a3b26809c6a3e9c70c02520e66f89e", "spanId": "3771e02b05a87ca4", "parentSpanId": "740e5dea1b5e3374", "startTimeUnixNano": "1796073497482601636", "endTimeUnixNano": "1796073497497161260", "durationMs": 14.559624, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "29a3b26809c6a3e9c70c02520e66f89e", "spanId": "740e5dea1b5e3374", "parentSpanId": "d5fa23ea0bfec611", "startTimeUnixNano": "1796073497482564377", "endTimeUnixNano": "1796073497497167512", "durationMs": 14.603135, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "29a3b26809c6a3e9c70c02520e66f89e", "spanId": "d5fa23ea0bfec611", "startTimeUnixNano": "1796073497482549970", "endTimeUnixNano": "1796073497497175527", "durationMs": 14.625557, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "150d4f9ecc4916a2271c595f59c3e006", "spanId": "c0ed9c2ff9568c05", "parentSpanId": "46a16d63fc96379b", "startTimeUnixNano": "1796073497693989599", "endTimeUnixNano": "1796073497694492346", "durationMs": 0.502747, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "150d4f9ecc4916a2271c595f59c3e006", "spanId": "a82fc7597e62ea91", "parentSpanId": "dee1c71672540f8c", "startTimeUnixNano": "1796073497694536198", "endTimeUnixNano": "1796073497694836698", "durationMs": 0.3005, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006652}}
{"type": "effect-span", "name": "sqlite", "traceId": "150d4f9ecc4916a2271c595f59c3e006", "spanId": "15073e8c6f90c694", "parentSpanId": "dee1c71672540f8c", "startTimeUnixNano": "1796073497694904434", "endTimeUnixNano": "1796073497695950535", "durationMs": 1.046101, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007965}}
{"type": "effect-span", "name": "sqlite", "traceId": "150d4f9ecc4916a2271c595f59c3e006", "spanId": "69ed5d54463aed3b", "parentSpanId": "dee1c71672540f8c", "startTimeUnixNano": "1796073497695965422", "endTimeUnixNano": "1796073497696915494", "durationMs": 0.950072, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009749}}
{"type": "effect-span", "name": "sqlite", "traceId": "150d4f9ecc4916a2271c595f59c3e006", "spanId": "a9a2530ca2c13a49", "parentSpanId": "dee1c71672540f8c", "startTimeUnixNano": "1796073497704456593", "endTimeUnixNano": "1796073497706493249", "durationMs": 2.036656, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025126}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "150d4f9ecc4916a2271c595f59c3e006", "spanId": "dee1c71672540f8c", "parentSpanId": "46a16d63fc96379b", "startTimeUnixNano": "1796073497694529585", "endTimeUnixNano": "1796073497706834446", "durationMs": 12.304861, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "150d4f9ecc4916a2271c595f59c3e006", "spanId": "06fbb2947f3600e1", "parentSpanId": "46a16d63fc96379b", "startTimeUnixNano": "1796073497706855645", "endTimeUnixNano": "1796073497707094440", "durationMs": 0.238795, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "150d4f9ecc4916a2271c595f59c3e006", "spanId": "46a16d63fc96379b", "parentSpanId": "d7a6a696f015d447", "startTimeUnixNano": "1796073497692630124", "endTimeUnixNano": "1796073497707128023", "durationMs": 14.497899, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.355608, "db.connection": "reader", "db.lock_wait_ms": 1.327}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "150d4f9ecc4916a2271c595f59c3e006", "spanId": "d7a6a696f015d447", "parentSpanId": "f580a85a2a179ee1", "startTimeUnixNano": "1796073497692623432", "endTimeUnixNano": "1796073497707148992", "durationMs": 14.52556, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "150d4f9ecc4916a2271c595f59c3e006", "spanId": "f580a85a2a179ee1", "parentSpanId": "51afc17e15c4e463", "startTimeUnixNano": "1796073497692595139", "endTimeUnixNano": "1796073497707156296", "durationMs": 14.561157, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "150d4f9ecc4916a2271c595f59c3e006", "spanId": "51afc17e15c4e463", "startTimeUnixNano": "1796073497692580732", "endTimeUnixNano": "1796073497707165212", "durationMs": 14.58448, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "60118e4402536a426850626b427dd7a9", "spanId": "59924d3d699d529e", "parentSpanId": "1c05a30ca75c8820", "startTimeUnixNano": "1796073499010480298", "endTimeUnixNano": "1796073499013459923", "durationMs": 2.979625, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "60118e4402536a426850626b427dd7a9", "spanId": "684d38aaea7db996", "parentSpanId": "90a629c3c2abd382", "startTimeUnixNano": "1796073499013541315", "endTimeUnixNano": "1796073499014474675", "durationMs": 0.93336, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013365}}
{"type": "effect-span", "name": "sqlite", "traceId": "60118e4402536a426850626b427dd7a9", "spanId": "b208bf533f80e5a4", "parentSpanId": "90a629c3c2abd382", "startTimeUnixNano": "1796073499014551398", "endTimeUnixNano": "1796073499015963541", "durationMs": 1.412143, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008466}}
{"type": "effect-span", "name": "sqlite", "traceId": "60118e4402536a426850626b427dd7a9", "spanId": "b01e16ff00f362e2", "parentSpanId": "90a629c3c2abd382", "startTimeUnixNano": "1796073499015977387", "endTimeUnixNano": "1796073499017006976", "durationMs": 1.029589, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008886}}
{"type": "effect-span", "name": "sqlite", "traceId": "60118e4402536a426850626b427dd7a9", "spanId": "dbd279909732c1a2", "parentSpanId": "90a629c3c2abd382", "startTimeUnixNano": "1796073499024326883", "endTimeUnixNano": "1796073499026144532", "durationMs": 1.817649, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009688}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "60118e4402536a426850626b427dd7a9", "spanId": "90a629c3c2abd382", "parentSpanId": "1c05a30ca75c8820", "startTimeUnixNano": "1796073499013529553", "endTimeUnixNano": "1796073499026389919", "durationMs": 12.860366, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "60118e4402536a426850626b427dd7a9", "spanId": "3d51dad2d4fb8cc8", "parentSpanId": "1c05a30ca75c8820", "startTimeUnixNano": "1796073499026416008", "endTimeUnixNano": "1796073499026612555", "durationMs": 0.196547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "60118e4402536a426850626b427dd7a9", "spanId": "1c05a30ca75c8820", "parentSpanId": "e8bfe6378476c5c8", "startTimeUnixNano": "1796073499008986904", "endTimeUnixNano": "1796073499026630288", "durationMs": 17.643384, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.488274, "db.connection": "reader", "db.lock_wait_ms": 1.455}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "60118e4402536a426850626b427dd7a9", "spanId": "e8bfe6378476c5c8", "parentSpanId": "3b8bd23fecf25e28", "startTimeUnixNano": "1796073499008979600", "endTimeUnixNano": "1796073499026653170", "durationMs": 17.67357, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "60118e4402536a426850626b427dd7a9", "spanId": "3b8bd23fecf25e28", "parentSpanId": "024af0537c440f1a", "startTimeUnixNano": "1796073499008943142", "endTimeUnixNano": "1796073499026659021", "durationMs": 17.715879, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "60118e4402536a426850626b427dd7a9", "spanId": "024af0537c440f1a", "startTimeUnixNano": "1796073499008923806", "endTimeUnixNano": "1796073499026667537", "durationMs": 17.743731, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ff31233c059da53c53070f59288abc16", "spanId": "50a4ab3142671150", "parentSpanId": "d996970976281044", "startTimeUnixNano": "1796073499247782218", "endTimeUnixNano": "1796073499248130918", "durationMs": 0.3487, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ff31233c059da53c53070f59288abc16", "spanId": "b7f7d858f94f0297", "parentSpanId": "1762454be35104f1", "startTimeUnixNano": "1796073499248169730", "endTimeUnixNano": "1796073499248402895", "durationMs": 0.233165, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004318}}
{"type": "effect-span", "name": "sqlite", "traceId": "ff31233c059da53c53070f59288abc16", "spanId": "da4969a4d4df34c6", "parentSpanId": "1762454be35104f1", "startTimeUnixNano": "1796073499248485439", "endTimeUnixNano": "1796073499250065986", "durationMs": 1.580547, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009307}}
{"type": "effect-span", "name": "sqlite", "traceId": "ff31233c059da53c53070f59288abc16", "spanId": "3ff08f98a3b7d272", "parentSpanId": "1762454be35104f1", "startTimeUnixNano": "1796073499250085933", "endTimeUnixNano": "1796073499251025665", "durationMs": 0.939732, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013385}}
{"type": "effect-span", "name": "sqlite", "traceId": "ff31233c059da53c53070f59288abc16", "spanId": "99e8aa4fe1a18e45", "parentSpanId": "1762454be35104f1", "startTimeUnixNano": "1796073499257949303", "endTimeUnixNano": "1796073499259868040", "durationMs": 1.918737, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011832}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ff31233c059da53c53070f59288abc16", "spanId": "1762454be35104f1", "parentSpanId": "d996970976281044", "startTimeUnixNano": "1796073499248164280", "endTimeUnixNano": "1796073499260142792", "durationMs": 11.978512, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ff31233c059da53c53070f59288abc16", "spanId": "f6c9ab06e53d3856", "parentSpanId": "d996970976281044", "startTimeUnixNano": "1796073499260176435", "endTimeUnixNano": "1796073499260501581", "durationMs": 0.325146, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ff31233c059da53c53070f59288abc16", "spanId": "d996970976281044", "parentSpanId": "301932558632de23", "startTimeUnixNano": "1796073499246322066", "endTimeUnixNano": "1796073499260533200", "durationMs": 14.211134, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.457066, "db.connection": "reader", "db.lock_wait_ms": 1.423}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ff31233c059da53c53070f59288abc16", "spanId": "301932558632de23", "parentSpanId": "7a6efd49022360df", "startTimeUnixNano": "1796073499246310284", "endTimeUnixNano": "1796073499260565501", "durationMs": 14.255217, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ff31233c059da53c53070f59288abc16", "spanId": "7a6efd49022360df", "parentSpanId": "fe2bb9765b4b5b02", "startTimeUnixNano": "1796073499246269067", "endTimeUnixNano": "1796073499260575880", "durationMs": 14.306813, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ff31233c059da53c53070f59288abc16", "spanId": "fe2bb9765b4b5b02", "startTimeUnixNano": "1796073499246242397", "endTimeUnixNano": "1796073499260587912", "durationMs": 14.345515, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "388a56981ab80281b27a2a60c75fcb5e", "spanId": "611da2adabd451de", "parentSpanId": "31060d4e661354a6", "startTimeUnixNano": "1796073500590092268", "endTimeUnixNano": "1796073500590241636", "durationMs": 0.149368, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "388a56981ab80281b27a2a60c75fcb5e", "spanId": "45dd5b312f879929", "parentSpanId": "948b429b7d3b7328", "startTimeUnixNano": "1796073500590296128", "endTimeUnixNano": "1796073500591039223", "durationMs": 0.743095, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006452}}
{"type": "effect-span", "name": "sqlite", "traceId": "388a56981ab80281b27a2a60c75fcb5e", "spanId": "c9e29e9d777a3836", "parentSpanId": "948b429b7d3b7328", "startTimeUnixNano": "1796073500591144930", "endTimeUnixNano": "1796073500592053394", "durationMs": 0.908464, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015399}}
{"type": "effect-span", "name": "sqlite", "traceId": "388a56981ab80281b27a2a60c75fcb5e", "spanId": "70a894ed468199a4", "parentSpanId": "948b429b7d3b7328", "startTimeUnixNano": "1796073500592096044", "endTimeUnixNano": "1796073500593064880", "durationMs": 0.968836, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009998}}
{"type": "effect-span", "name": "sqlite", "traceId": "388a56981ab80281b27a2a60c75fcb5e", "spanId": "a50a72d16c0b751d", "parentSpanId": "948b429b7d3b7328", "startTimeUnixNano": "1796073500600949570", "endTimeUnixNano": "1796073500603922192", "durationMs": 2.972622, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012904}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "388a56981ab80281b27a2a60c75fcb5e", "spanId": "948b429b7d3b7328", "parentSpanId": "31060d4e661354a6", "startTimeUnixNano": "1796073500590287812", "endTimeUnixNano": "1796073500604212323", "durationMs": 13.924511, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "388a56981ab80281b27a2a60c75fcb5e", "spanId": "b3a4fb0d799f29bc", "parentSpanId": "31060d4e661354a6", "startTimeUnixNano": "1796073500604252208", "endTimeUnixNano": "1796073500604525086", "durationMs": 0.272878, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "388a56981ab80281b27a2a60c75fcb5e", "spanId": "31060d4e661354a6", "parentSpanId": "912f23991db36bab", "startTimeUnixNano": "1796073500587723992", "endTimeUnixNano": "1796073500604544883", "durationMs": 16.820891, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.364579, "db.connection": "reader", "db.lock_wait_ms": 2.327}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "388a56981ab80281b27a2a60c75fcb5e", "spanId": "912f23991db36bab", "parentSpanId": "9293c103e78ad247", "startTimeUnixNano": "1796073500587716178", "endTimeUnixNano": "1796073500604561655", "durationMs": 16.845477, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "388a56981ab80281b27a2a60c75fcb5e", "spanId": "9293c103e78ad247", "parentSpanId": "d0a5769b5caa09e2", "startTimeUnixNano": "1796073500587675492", "endTimeUnixNano": "1796073500604568768", "durationMs": 16.893276, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "388a56981ab80281b27a2a60c75fcb5e", "spanId": "d0a5769b5caa09e2", "startTimeUnixNano": "1796073500587658480", "endTimeUnixNano": "1796073500604577504", "durationMs": 16.919024, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6430ea7a476f2f5a6c3ae90e368bdb9b", "spanId": "b10979a136d7653a", "parentSpanId": "a5f5c13f6c7a9639", "startTimeUnixNano": "1796073500803410781", "endTimeUnixNano": "1796073500803862172", "durationMs": 0.451391, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6430ea7a476f2f5a6c3ae90e368bdb9b", "spanId": "8f1d90e21bce02be", "parentSpanId": "b40ae8a7d42ee79a", "startTimeUnixNano": "1796073500803902407", "endTimeUnixNano": "1796073500804140160", "durationMs": 0.237753, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004839}}
{"type": "effect-span", "name": "sqlite", "traceId": "6430ea7a476f2f5a6c3ae90e368bdb9b", "spanId": "aa095234e93c940a", "parentSpanId": "b40ae8a7d42ee79a", "startTimeUnixNano": "1796073500804215271", "endTimeUnixNano": "1796073500806060551", "durationMs": 1.84528, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010349}}
{"type": "effect-span", "name": "sqlite", "traceId": "6430ea7a476f2f5a6c3ae90e368bdb9b", "spanId": "58202ab92fc94200", "parentSpanId": "b40ae8a7d42ee79a", "startTimeUnixNano": "1796073500806087010", "endTimeUnixNano": "1796073500807028836", "durationMs": 0.941826, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007154}}
{"type": "effect-span", "name": "sqlite", "traceId": "6430ea7a476f2f5a6c3ae90e368bdb9b", "spanId": "2c947f1c9a624621", "parentSpanId": "b40ae8a7d42ee79a", "startTimeUnixNano": "1796073500812232708", "endTimeUnixNano": "1796073500817749634", "durationMs": 5.516926, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010159}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6430ea7a476f2f5a6c3ae90e368bdb9b", "spanId": "b40ae8a7d42ee79a", "parentSpanId": "a5f5c13f6c7a9639", "startTimeUnixNano": "1796073500803896546", "endTimeUnixNano": "1796073500818029396", "durationMs": 14.13285, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6430ea7a476f2f5a6c3ae90e368bdb9b", "spanId": "a33c3548381e5682", "parentSpanId": "a5f5c13f6c7a9639", "startTimeUnixNano": "1796073500818047720", "endTimeUnixNano": "1796073500820903554", "durationMs": 2.855834, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6430ea7a476f2f5a6c3ae90e368bdb9b", "spanId": "a5f5c13f6c7a9639", "parentSpanId": "5d451ebe64ec9f29", "startTimeUnixNano": "1796073500802044904", "endTimeUnixNano": "1796073500820941004", "durationMs": 18.8961, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.3625, "db.connection": "reader", "db.lock_wait_ms": 1.325}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6430ea7a476f2f5a6c3ae90e368bdb9b", "spanId": "5d451ebe64ec9f29", "parentSpanId": "5e1374a60c17deec", "startTimeUnixNano": "1796073500802035346", "endTimeUnixNano": "1796073500820972222", "durationMs": 18.936876, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6430ea7a476f2f5a6c3ae90e368bdb9b", "spanId": "5e1374a60c17deec", "parentSpanId": "985b4cda460128bf", "startTimeUnixNano": "1796073500802007985", "endTimeUnixNano": "1796073500820982441", "durationMs": 18.974456, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6430ea7a476f2f5a6c3ae90e368bdb9b", "spanId": "985b4cda460128bf", "startTimeUnixNano": "1796073500801993628", "endTimeUnixNano": "1796073500820994664", "durationMs": 19.001036, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b9f7090d73be132275ec387770fb814a", "spanId": "6fd3e7d4867cc619", "parentSpanId": "d94de3c7496d78db", "startTimeUnixNano": "1796073502129362038", "endTimeUnixNano": "1796073502129504513", "durationMs": 0.142475, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9f7090d73be132275ec387770fb814a", "spanId": "9fe01a676ae4a3c6", "parentSpanId": "a62126df11a0a434", "startTimeUnixNano": "1796073502129541522", "endTimeUnixNano": "1796073502130129418", "durationMs": 0.587896, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005581}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9f7090d73be132275ec387770fb814a", "spanId": "23adf4d039fdd294", "parentSpanId": "a62126df11a0a434", "startTimeUnixNano": "1796073502130222101", "endTimeUnixNano": "1796073502131177853", "durationMs": 0.955752, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014277}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9f7090d73be132275ec387770fb814a", "spanId": "358af6fb5ead415e", "parentSpanId": "a62126df11a0a434", "startTimeUnixNano": "1796073502131198852", "endTimeUnixNano": "1796073502132243590", "durationMs": 1.044738, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007595}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9f7090d73be132275ec387770fb814a", "spanId": "256f3582533b071d", "parentSpanId": "a62126df11a0a434", "startTimeUnixNano": "1796073502139392960", "endTimeUnixNano": "1796073502140902264", "durationMs": 1.509304, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008245}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b9f7090d73be132275ec387770fb814a", "spanId": "a62126df11a0a434", "parentSpanId": "d94de3c7496d78db", "startTimeUnixNano": "1796073502129535732", "endTimeUnixNano": "1796073502141158271", "durationMs": 11.622539, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b9f7090d73be132275ec387770fb814a", "spanId": "86b9a1fc802440f7", "parentSpanId": "d94de3c7496d78db", "startTimeUnixNano": "1796073502141176876", "endTimeUnixNano": "1796073502141305175", "durationMs": 0.128299, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b9f7090d73be132275ec387770fb814a", "spanId": "d94de3c7496d78db", "parentSpanId": "3fab9989055eedc3", "startTimeUnixNano": "1796073502127430336", "endTimeUnixNano": "1796073502141322558", "durationMs": 13.892222, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.928045, "db.connection": "reader", "db.lock_wait_ms": 1.879}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b9f7090d73be132275ec387770fb814a", "spanId": "3fab9989055eedc3", "parentSpanId": "b9ba527e0ecc3f0b", "startTimeUnixNano": "1796073502127423333", "endTimeUnixNano": "1796073502141338477", "durationMs": 13.915144, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b9f7090d73be132275ec387770fb814a", "spanId": "b9ba527e0ecc3f0b", "parentSpanId": "5e2c81fcdf8ccff9", "startTimeUnixNano": "1796073502127385112", "endTimeUnixNano": "1796073502141344719", "durationMs": 13.959607, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b9f7090d73be132275ec387770fb814a", "spanId": "5e2c81fcdf8ccff9", "startTimeUnixNano": "1796073502127370274", "endTimeUnixNano": "1796073502141351943", "durationMs": 13.981669, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ec81d1365ac89dd689eb08b6558c7fc8", "spanId": "157daa40867ac466", "parentSpanId": "3239781a265eb8b1", "startTimeUnixNano": "1796073502336577255", "endTimeUnixNano": "1796073502336759415", "durationMs": 0.18216, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec81d1365ac89dd689eb08b6558c7fc8", "spanId": "40266c288a9d6362", "parentSpanId": "1eea7ed48b80205c", "startTimeUnixNano": "1796073502336792927", "endTimeUnixNano": "1796073502336987069", "durationMs": 0.194142, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005801}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec81d1365ac89dd689eb08b6558c7fc8", "spanId": "f1c7bc7e518bd4fd", "parentSpanId": "1eea7ed48b80205c", "startTimeUnixNano": "1796073502337057240", "endTimeUnixNano": "1796073502337879624", "durationMs": 0.822384, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008366}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec81d1365ac89dd689eb08b6558c7fc8", "spanId": "6582564eab994c8e", "parentSpanId": "1eea7ed48b80205c", "startTimeUnixNano": "1796073502337903338", "endTimeUnixNano": "1796073502338848841", "durationMs": 0.945503, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007594}}
{"type": "effect-span", "name": "sqlite", "traceId": "ec81d1365ac89dd689eb08b6558c7fc8", "spanId": "34c0441302c4c674", "parentSpanId": "1eea7ed48b80205c", "startTimeUnixNano": "1796073502344777996", "endTimeUnixNano": "1796073502346215125", "durationMs": 1.437129, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011501}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ec81d1365ac89dd689eb08b6558c7fc8", "spanId": "1eea7ed48b80205c", "parentSpanId": "3239781a265eb8b1", "startTimeUnixNano": "1796073502336787838", "endTimeUnixNano": "1796073502346405039", "durationMs": 9.617201, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ec81d1365ac89dd689eb08b6558c7fc8", "spanId": "ce1833227cf16344", "parentSpanId": "3239781a265eb8b1", "startTimeUnixNano": "1796073502346416861", "endTimeUnixNano": "1796073502346550320", "durationMs": 0.133459, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ec81d1365ac89dd689eb08b6558c7fc8", "spanId": "3239781a265eb8b1", "parentSpanId": "7ab5afeca0eaaccf", "startTimeUnixNano": "1796073502335405992", "endTimeUnixNano": "1796073502346572231", "durationMs": 11.166239, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.167677, "db.connection": "reader", "db.lock_wait_ms": 1.122}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ec81d1365ac89dd689eb08b6558c7fc8", "spanId": "7ab5afeca0eaaccf", "parentSpanId": "41bc4deb3d3bbb66", "startTimeUnixNano": "1796073502335398838", "endTimeUnixNano": "1796073502346584925", "durationMs": 11.186087, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ec81d1365ac89dd689eb08b6558c7fc8", "spanId": "41bc4deb3d3bbb66", "parentSpanId": "ac86d45bfd695e9c", "startTimeUnixNano": "1796073502335368993", "endTimeUnixNano": "1796073502346595384", "durationMs": 11.226391, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ec81d1365ac89dd689eb08b6558c7fc8", "spanId": "ac86d45bfd695e9c", "startTimeUnixNano": "1796073502335350518", "endTimeUnixNano": "1796073502346606495", "durationMs": 11.255977, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2a9bdce04fdc6a1b597a375747a8444a", "spanId": "45cf3078d79f49e9", "parentSpanId": "9e767d8c12652dfb", "startTimeUnixNano": "1796073503649889366", "endTimeUnixNano": "1796073503650151806", "durationMs": 0.26244, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2a9bdce04fdc6a1b597a375747a8444a", "spanId": "6a0f87bd3a479fee", "parentSpanId": "224a07601efaf0d7", "startTimeUnixNano": "1796073503650193443", "endTimeUnixNano": "1796073503650826754", "durationMs": 0.633311, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005621}}
{"type": "effect-span", "name": "sqlite", "traceId": "2a9bdce04fdc6a1b597a375747a8444a", "spanId": "5bb0c6cd041dd582", "parentSpanId": "224a07601efaf0d7", "startTimeUnixNano": "1796073503650904138", "endTimeUnixNano": "1796073503651985485", "durationMs": 1.081347, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009007}}
{"type": "effect-span", "name": "sqlite", "traceId": "2a9bdce04fdc6a1b597a375747a8444a", "spanId": "c462180882023e5e", "parentSpanId": "224a07601efaf0d7", "startTimeUnixNano": "1796073503652012906", "endTimeUnixNano": "1796073503654377535", "durationMs": 2.364629, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009608}}
{"type": "effect-span", "name": "sqlite", "traceId": "2a9bdce04fdc6a1b597a375747a8444a", "spanId": "2a2e5b32e6c1b3c1", "parentSpanId": "224a07601efaf0d7", "startTimeUnixNano": "1796073503661542894", "endTimeUnixNano": "1796073503664250603", "durationMs": 2.707709, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014437}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2a9bdce04fdc6a1b597a375747a8444a", "spanId": "224a07601efaf0d7", "parentSpanId": "9e767d8c12652dfb", "startTimeUnixNano": "1796073503650186781", "endTimeUnixNano": "1796073503664538369", "durationMs": 14.351588, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2a9bdce04fdc6a1b597a375747a8444a", "spanId": "bf3ab6df5c7be03d", "parentSpanId": "9e767d8c12652dfb", "startTimeUnixNano": "1796073503664555922", "endTimeUnixNano": "1796073503664760714", "durationMs": 0.204792, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2a9bdce04fdc6a1b597a375747a8444a", "spanId": "9e767d8c12652dfb", "parentSpanId": "40ce3fdc895bdc72", "startTimeUnixNano": "1796073503647592524", "endTimeUnixNano": "1796073503664780000", "durationMs": 17.187476, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.292104, "db.connection": "reader", "db.lock_wait_ms": 2.259}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2a9bdce04fdc6a1b597a375747a8444a", "spanId": "40ce3fdc895bdc72", "parentSpanId": "b39e2601a3c39a70", "startTimeUnixNano": "1796073503647585010", "endTimeUnixNano": "1796073503664794407", "durationMs": 17.209397, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2a9bdce04fdc6a1b597a375747a8444a", "spanId": "b39e2601a3c39a70", "parentSpanId": "fc853c7db7681b6a", "startTimeUnixNano": "1796073503647540347", "endTimeUnixNano": "1796073503664799787", "durationMs": 17.25944, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2a9bdce04fdc6a1b597a375747a8444a", "spanId": "fc853c7db7681b6a", "startTimeUnixNano": "1796073503647524046", "endTimeUnixNano": "1796073503664806239", "durationMs": 17.282193, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9ed1546ada3e75bfd0521d7ada4dc5f8", "spanId": "18ae9c4fc56e0ff0", "parentSpanId": "114c5a2c7318ddf8", "startTimeUnixNano": "1796073503870362259", "endTimeUnixNano": "1796073503870848716", "durationMs": 0.486457, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9ed1546ada3e75bfd0521d7ada4dc5f8", "spanId": "112b57f8cf267a24", "parentSpanId": "2e20ff223b13f665", "startTimeUnixNano": "1796073503870894792", "endTimeUnixNano": "1796073503871227973", "durationMs": 0.333181, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006232}}
{"type": "effect-span", "name": "sqlite", "traceId": "9ed1546ada3e75bfd0521d7ada4dc5f8", "spanId": "2bdf5351cbbcdcef", "parentSpanId": "2e20ff223b13f665", "startTimeUnixNano": "1796073503871327870", "endTimeUnixNano": "1796073503873066241", "durationMs": 1.738371, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012142}}
{"type": "effect-span", "name": "sqlite", "traceId": "9ed1546ada3e75bfd0521d7ada4dc5f8", "spanId": "7e2bd316eb40cf71", "parentSpanId": "2e20ff223b13f665", "startTimeUnixNano": "1796073503873089023", "endTimeUnixNano": "1796073503873955679", "durationMs": 0.866656, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008817}}
{"type": "effect-span", "name": "sqlite", "traceId": "9ed1546ada3e75bfd0521d7ada4dc5f8", "spanId": "7c0480c7c6dcbc5a", "parentSpanId": "2e20ff223b13f665", "startTimeUnixNano": "1796073503878216243", "endTimeUnixNano": "1796073503880196135", "durationMs": 1.979892, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008296}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9ed1546ada3e75bfd0521d7ada4dc5f8", "spanId": "2e20ff223b13f665", "parentSpanId": "114c5a2c7318ddf8", "startTimeUnixNano": "1796073503870887338", "endTimeUnixNano": "1796073503880456400", "durationMs": 9.569062, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9ed1546ada3e75bfd0521d7ada4dc5f8", "spanId": "c75202a688453872", "parentSpanId": "114c5a2c7318ddf8", "startTimeUnixNano": "1796073503880477640", "endTimeUnixNano": "1796073503881826705", "durationMs": 1.349065, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9ed1546ada3e75bfd0521d7ada4dc5f8", "spanId": "114c5a2c7318ddf8", "parentSpanId": "8ab571b3828a9cd0", "startTimeUnixNano": "1796073503868933515", "endTimeUnixNano": "1796073503881854497", "durationMs": 12.920982, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.423625, "db.connection": "reader", "db.lock_wait_ms": 1.396}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9ed1546ada3e75bfd0521d7ada4dc5f8", "spanId": "8ab571b3828a9cd0", "parentSpanId": "e58db5d71b458820", "startTimeUnixNano": "1796073503868926563", "endTimeUnixNano": "1796073503881875366", "durationMs": 12.948803, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9ed1546ada3e75bfd0521d7ada4dc5f8", "spanId": "e58db5d71b458820", "parentSpanId": "40712cb2f3237b9d", "startTimeUnixNano": "1796073503868897208", "endTimeUnixNano": "1796073503881883210", "durationMs": 12.986002, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9ed1546ada3e75bfd0521d7ada4dc5f8", "spanId": "40712cb2f3237b9d", "startTimeUnixNano": "1796073503868885135", "endTimeUnixNano": "1796073503881892999", "durationMs": 13.007864, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "572bc5f6d14404d36023d3f32fe5d33e", "spanId": "a1b4f73c077595f1", "parentSpanId": "30e41e05388af88f", "startTimeUnixNano": "1796073505217645017", "endTimeUnixNano": "1796073505217801378", "durationMs": 0.156361, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "572bc5f6d14404d36023d3f32fe5d33e", "spanId": "97150e9049ca33d9", "parentSpanId": "2dd43e8f3a3a93a7", "startTimeUnixNano": "1796073505217841183", "endTimeUnixNano": "1796073505218426143", "durationMs": 0.58496, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006141}}
{"type": "effect-span", "name": "sqlite", "traceId": "572bc5f6d14404d36023d3f32fe5d33e", "spanId": "9f842feef691107b", "parentSpanId": "2dd43e8f3a3a93a7", "startTimeUnixNano": "1796073505218514598", "endTimeUnixNano": "1796073505219596125", "durationMs": 1.081527, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009298}}
{"type": "effect-span", "name": "sqlite", "traceId": "572bc5f6d14404d36023d3f32fe5d33e", "spanId": "f3a449c3be7cc8a4", "parentSpanId": "2dd43e8f3a3a93a7", "startTimeUnixNano": "1796073505219613397", "endTimeUnixNano": "1796073505220489170", "durationMs": 0.875773, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007825}}
{"type": "effect-span", "name": "sqlite", "traceId": "572bc5f6d14404d36023d3f32fe5d33e", "spanId": "5787d7f005cc97c3", "parentSpanId": "2dd43e8f3a3a93a7", "startTimeUnixNano": "1796073505227206345", "endTimeUnixNano": "1796073505229108331", "durationMs": 1.901986, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008175}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "572bc5f6d14404d36023d3f32fe5d33e", "spanId": "2dd43e8f3a3a93a7", "parentSpanId": "30e41e05388af88f", "startTimeUnixNano": "1796073505217835201", "endTimeUnixNano": "1796073505229339923", "durationMs": 11.504722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "572bc5f6d14404d36023d3f32fe5d33e", "spanId": "2c86734bd3355c79", "parentSpanId": "30e41e05388af88f", "startTimeUnixNano": "1796073505229358097", "endTimeUnixNano": "1796073505229667444", "durationMs": 0.309347, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "572bc5f6d14404d36023d3f32fe5d33e", "spanId": "30e41e05388af88f", "parentSpanId": "3c587143500b4b94", "startTimeUnixNano": "1796073505215366378", "endTimeUnixNano": "1796073505229688944", "durationMs": 14.322566, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.274882, "db.connection": "reader", "db.lock_wait_ms": 2.244}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "572bc5f6d14404d36023d3f32fe5d33e", "spanId": "3c587143500b4b94", "parentSpanId": "6a13af0caee70717", "startTimeUnixNano": "1796073505215358584", "endTimeUnixNano": "1796073505229705374", "durationMs": 14.34679, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "572bc5f6d14404d36023d3f32fe5d33e", "spanId": "6a13af0caee70717", "parentSpanId": "9d74b666efde4c2f", "startTimeUnixNano": "1796073505215323759", "endTimeUnixNano": "1796073505229711496", "durationMs": 14.387737, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "572bc5f6d14404d36023d3f32fe5d33e", "spanId": "9d74b666efde4c2f", "startTimeUnixNano": "1796073505215310925", "endTimeUnixNano": "1796073505229718679", "durationMs": 14.407754, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ba348f8b1577af027da5b121bd2c914d", "spanId": "b67d9da40239b991", "parentSpanId": "92f52f42f7e70ea1", "startTimeUnixNano": "1796073505407376916", "endTimeUnixNano": "1796073505409189756", "durationMs": 1.81284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ba348f8b1577af027da5b121bd2c914d", "spanId": "490c664f73a6a03b", "parentSpanId": "92841531f37fd46e", "startTimeUnixNano": "1796073505409231334", "endTimeUnixNano": "1796073505409502750", "durationMs": 0.271416, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004498}}
{"type": "effect-span", "name": "sqlite", "traceId": "ba348f8b1577af027da5b121bd2c914d", "spanId": "593b84795589dcae", "parentSpanId": "92841531f37fd46e", "startTimeUnixNano": "1796073505409575275", "endTimeUnixNano": "1796073505410743503", "durationMs": 1.168228, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008927}}
{"type": "effect-span", "name": "sqlite", "traceId": "ba348f8b1577af027da5b121bd2c914d", "spanId": "9629f5bec1ffa62a", "parentSpanId": "92841531f37fd46e", "startTimeUnixNano": "1796073505410759413", "endTimeUnixNano": "1796073505411913655", "durationMs": 1.154242, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006502}}
{"type": "effect-span", "name": "sqlite", "traceId": "ba348f8b1577af027da5b121bd2c914d", "spanId": "4e3b8d89d2b5e881", "parentSpanId": "92841531f37fd46e", "startTimeUnixNano": "1796073505417399284", "endTimeUnixNano": "1796073505425038417", "durationMs": 7.639133, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008896}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ba348f8b1577af027da5b121bd2c914d", "spanId": "92841531f37fd46e", "parentSpanId": "92f52f42f7e70ea1", "startTimeUnixNano": "1796073505409225353", "endTimeUnixNano": "1796073505425307158", "durationMs": 16.081805, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ba348f8b1577af027da5b121bd2c914d", "spanId": "9523a9635b7503ae", "parentSpanId": "92f52f42f7e70ea1", "startTimeUnixNano": "1796073505425331354", "endTimeUnixNano": "1796073505426348189", "durationMs": 1.016835, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ba348f8b1577af027da5b121bd2c914d", "spanId": "92f52f42f7e70ea1", "parentSpanId": "78e742246ab5cba2", "startTimeUnixNano": "1796073505405645388", "endTimeUnixNano": "1796073505426373837", "durationMs": 20.728449, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.726459, "db.connection": "reader", "db.lock_wait_ms": 1.697}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ba348f8b1577af027da5b121bd2c914d", "spanId": "78e742246ab5cba2", "parentSpanId": "8dd76c5cd89c85f0", "startTimeUnixNano": "1796073505405636882", "endTimeUnixNano": "1796073505426394225", "durationMs": 20.757343, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ba348f8b1577af027da5b121bd2c914d", "spanId": "8dd76c5cd89c85f0", "parentSpanId": "e5489ec4e109b284", "startTimeUnixNano": "1796073505405599231", "endTimeUnixNano": "1796073505426401809", "durationMs": 20.802578, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ba348f8b1577af027da5b121bd2c914d", "spanId": "e5489ec4e109b284", "startTimeUnixNano": "1796073505405577030", "endTimeUnixNano": "1796073505426412029", "durationMs": 20.834999, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3003782f773083af8a52317a1491fff3", "spanId": "9efd68ebe8d45cb9", "parentSpanId": "423fbf88de711f75", "startTimeUnixNano": "1796073506727253880", "endTimeUnixNano": "1796073506727404220", "durationMs": 0.15034, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3003782f773083af8a52317a1491fff3", "spanId": "ccbc2f788e83fcc3", "parentSpanId": "a3fa90ebb461c032", "startTimeUnixNano": "1796073506727466476", "endTimeUnixNano": "1796073506728175448", "durationMs": 0.708972, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006332}}
{"type": "effect-span", "name": "sqlite", "traceId": "3003782f773083af8a52317a1491fff3", "spanId": "789a9f54520591bf", "parentSpanId": "a3fa90ebb461c032", "startTimeUnixNano": "1796073506728256599", "endTimeUnixNano": "1796073506729691655", "durationMs": 1.435056, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009949}}
{"type": "effect-span", "name": "sqlite", "traceId": "3003782f773083af8a52317a1491fff3", "spanId": "d5e7dc7504d00a4f", "parentSpanId": "a3fa90ebb461c032", "startTimeUnixNano": "1796073506729717283", "endTimeUnixNano": "1796073506730890981", "durationMs": 1.173698, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009027}}
{"type": "effect-span", "name": "sqlite", "traceId": "3003782f773083af8a52317a1491fff3", "spanId": "64661d5866b21a78", "parentSpanId": "a3fa90ebb461c032", "startTimeUnixNano": "1796073506738817541", "endTimeUnixNano": "1796073506741060774", "durationMs": 2.243233, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013616}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3003782f773083af8a52317a1491fff3", "spanId": "a3fa90ebb461c032", "parentSpanId": "423fbf88de711f75", "startTimeUnixNano": "1796073506727459042", "endTimeUnixNano": "1796073506741301964", "durationMs": 13.842922, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3003782f773083af8a52317a1491fff3", "spanId": "2fc4ce580bc0637c", "parentSpanId": "423fbf88de711f75", "startTimeUnixNano": "1796073506741327732", "endTimeUnixNano": "1796073506741567289", "durationMs": 0.239557, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3003782f773083af8a52317a1491fff3", "spanId": "423fbf88de711f75", "parentSpanId": "b001ada32e39ee23", "startTimeUnixNano": "1796073506725232080", "endTimeUnixNano": "1796073506741590141", "durationMs": 16.358061, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.017722, "db.connection": "reader", "db.lock_wait_ms": 1.987}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3003782f773083af8a52317a1491fff3", "spanId": "b001ada32e39ee23", "parentSpanId": "683c5c3469f6c412", "startTimeUnixNano": "1796073506725225257", "endTimeUnixNano": "1796073506741609577", "durationMs": 16.38432, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3003782f773083af8a52317a1491fff3", "spanId": "683c5c3469f6c412", "parentSpanId": "d8ed6cd3e138d2b7", "startTimeUnixNano": "1796073506725186124", "endTimeUnixNano": "1796073506741617382", "durationMs": 16.431258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3003782f773083af8a52317a1491fff3", "spanId": "d8ed6cd3e138d2b7", "startTimeUnixNano": "1796073506725173350", "endTimeUnixNano": "1796073506741625036", "durationMs": 16.451686, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fba9a664ac29b78b8e7c9b33f46d7343", "spanId": "0e54fd2a5f242630", "parentSpanId": "ebadef4b0e4f654d", "startTimeUnixNano": "1796073506949425152", "endTimeUnixNano": "1796073506949734228", "durationMs": 0.309076, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fba9a664ac29b78b8e7c9b33f46d7343", "spanId": "11071826a9fad016", "parentSpanId": "62989f8e802dc82e", "startTimeUnixNano": "1796073506949798298", "endTimeUnixNano": "1796073506949911559", "durationMs": 0.113261, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006382}}
{"type": "effect-span", "name": "sqlite", "traceId": "fba9a664ac29b78b8e7c9b33f46d7343", "spanId": "dd5b030f5ff8b302", "parentSpanId": "62989f8e802dc82e", "startTimeUnixNano": "1796073506949981079", "endTimeUnixNano": "1796073506951251788", "durationMs": 1.270709, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015579}}
{"type": "effect-span", "name": "sqlite", "traceId": "fba9a664ac29b78b8e7c9b33f46d7343", "spanId": "feb7bdaa3b402ffa", "parentSpanId": "62989f8e802dc82e", "startTimeUnixNano": "1796073506951264812", "endTimeUnixNano": "1796073506953023642", "durationMs": 1.75883, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006502}}
{"type": "effect-span", "name": "sqlite", "traceId": "fba9a664ac29b78b8e7c9b33f46d7343", "spanId": "941ea2454b48f174", "parentSpanId": "62989f8e802dc82e", "startTimeUnixNano": "1796073506958261398", "endTimeUnixNano": "1796073506959931122", "durationMs": 1.669724, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012904}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fba9a664ac29b78b8e7c9b33f46d7343", "spanId": "62989f8e802dc82e", "parentSpanId": "ebadef4b0e4f654d", "startTimeUnixNano": "1796073506949786215", "endTimeUnixNano": "1796073506960197919", "durationMs": 10.411704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fba9a664ac29b78b8e7c9b33f46d7343", "spanId": "8caacde07efe09b6", "parentSpanId": "ebadef4b0e4f654d", "startTimeUnixNano": "1796073506960228196", "endTimeUnixNano": "1796073506960457463", "durationMs": 0.229267, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fba9a664ac29b78b8e7c9b33f46d7343", "spanId": "ebadef4b0e4f654d", "parentSpanId": "b045a89b3e1e0b60", "startTimeUnixNano": "1796073506948025703", "endTimeUnixNano": "1796073506960479534", "durationMs": 12.453831, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.395171, "db.connection": "reader", "db.lock_wait_ms": 1.368}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fba9a664ac29b78b8e7c9b33f46d7343", "spanId": "b045a89b3e1e0b60", "parentSpanId": "625fc7f9e6a716f1", "startTimeUnixNano": "1796073506948017006", "endTimeUnixNano": "1796073506960493290", "durationMs": 12.476284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fba9a664ac29b78b8e7c9b33f46d7343", "spanId": "625fc7f9e6a716f1", "parentSpanId": "599d50288b2892e7", "startTimeUnixNano": "1796073506947973285", "endTimeUnixNano": "1796073506960499121", "durationMs": 12.525836, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fba9a664ac29b78b8e7c9b33f46d7343", "spanId": "599d50288b2892e7", "startTimeUnixNano": "1796073506947958978", "endTimeUnixNano": "1796073506960506695", "durationMs": 12.547717, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bec4425f5e113660ac9e6e6daf9a9e4e", "spanId": "be251bc2a3016783", "parentSpanId": "a9c7f7914f890fbe", "startTimeUnixNano": "1796073508317529986", "endTimeUnixNano": "1796073508317660309", "durationMs": 0.130323, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bec4425f5e113660ac9e6e6daf9a9e4e", "spanId": "9b43b947e88c2807", "parentSpanId": "86db7a3bde8d7deb", "startTimeUnixNano": "1796073508317697388", "endTimeUnixNano": "1796073508318299881", "durationMs": 0.602493, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00563}}
{"type": "effect-span", "name": "sqlite", "traceId": "bec4425f5e113660ac9e6e6daf9a9e4e", "spanId": "ad9b159161942177", "parentSpanId": "86db7a3bde8d7deb", "startTimeUnixNano": "1796073508318375532", "endTimeUnixNano": "1796073508319177468", "durationMs": 0.801936, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008646}}
{"type": "effect-span", "name": "sqlite", "traceId": "bec4425f5e113660ac9e6e6daf9a9e4e", "spanId": "37dcc2d7f78487af", "parentSpanId": "86db7a3bde8d7deb", "startTimeUnixNano": "1796073508319192986", "endTimeUnixNano": "1796073508320492400", "durationMs": 1.299414, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007484}}
{"type": "effect-span", "name": "sqlite", "traceId": "bec4425f5e113660ac9e6e6daf9a9e4e", "spanId": "071aace71c10d27d", "parentSpanId": "86db7a3bde8d7deb", "startTimeUnixNano": "1796073508329350146", "endTimeUnixNano": "1796073508331396823", "durationMs": 2.046677, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008336}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bec4425f5e113660ac9e6e6daf9a9e4e", "spanId": "86db7a3bde8d7deb", "parentSpanId": "a9c7f7914f890fbe", "startTimeUnixNano": "1796073508317691867", "endTimeUnixNano": "1796073508331639856", "durationMs": 13.947989, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bec4425f5e113660ac9e6e6daf9a9e4e", "spanId": "63c4ec80556c280d", "parentSpanId": "a9c7f7914f890fbe", "startTimeUnixNano": "1796073508331657379", "endTimeUnixNano": "1796073508331853154", "durationMs": 0.195775, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bec4425f5e113660ac9e6e6daf9a9e4e", "spanId": "a9c7f7914f890fbe", "parentSpanId": "59fffd343b7a15dd", "startTimeUnixNano": "1796073508315719540", "endTimeUnixNano": "1796073508331870997", "durationMs": 16.151457, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.805627, "db.connection": "reader", "db.lock_wait_ms": 1.773}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bec4425f5e113660ac9e6e6daf9a9e4e", "spanId": "59fffd343b7a15dd", "parentSpanId": "ab5618af8c9a1059", "startTimeUnixNano": "1796073508315712086", "endTimeUnixNano": "1796073508331884091", "durationMs": 16.172005, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bec4425f5e113660ac9e6e6daf9a9e4e", "spanId": "ab5618af8c9a1059", "parentSpanId": "607e11c4b0e66134", "startTimeUnixNano": "1796073508315674546", "endTimeUnixNano": "1796073508331889231", "durationMs": 16.214685, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bec4425f5e113660ac9e6e6daf9a9e4e", "spanId": "607e11c4b0e66134", "startTimeUnixNano": "1796073508315659478", "endTimeUnixNano": "1796073508331896124", "durationMs": 16.236646, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c8588ce7a8fe8290e0166ffdc65b7ae1", "spanId": "06dccf1fe7bb50ca", "parentSpanId": "5a9501258d08704d", "startTimeUnixNano": "1796073508503398369", "endTimeUnixNano": "1796073508503766937", "durationMs": 0.368568, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c8588ce7a8fe8290e0166ffdc65b7ae1", "spanId": "e6efa754a2d57a00", "parentSpanId": "328dac2f4443d31a", "startTimeUnixNano": "1796073508503800680", "endTimeUnixNano": "1796073508503930612", "durationMs": 0.129932, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004077}}
{"type": "effect-span", "name": "sqlite", "traceId": "c8588ce7a8fe8290e0166ffdc65b7ae1", "spanId": "729c43b3aa75ba1b", "parentSpanId": "328dac2f4443d31a", "startTimeUnixNano": "1796073508504035347", "endTimeUnixNano": "1796073508505124458", "durationMs": 1.089111, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.016902}}
{"type": "effect-span", "name": "sqlite", "traceId": "c8588ce7a8fe8290e0166ffdc65b7ae1", "spanId": "742a66052c7c1709", "parentSpanId": "328dac2f4443d31a", "startTimeUnixNano": "1796073508505139136", "endTimeUnixNano": "1796073508506061405", "durationMs": 0.922269, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009197}}
{"type": "effect-span", "name": "sqlite", "traceId": "c8588ce7a8fe8290e0166ffdc65b7ae1", "spanId": "930ceaeebf04c41c", "parentSpanId": "328dac2f4443d31a", "startTimeUnixNano": "1796073508512871444", "endTimeUnixNano": "1796073508514197587", "durationMs": 1.326143, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009548}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c8588ce7a8fe8290e0166ffdc65b7ae1", "spanId": "328dac2f4443d31a", "parentSpanId": "5a9501258d08704d", "startTimeUnixNano": "1796073508503795630", "endTimeUnixNano": "1796073508514383804", "durationMs": 10.588174, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c8588ce7a8fe8290e0166ffdc65b7ae1", "spanId": "ab3355089a11b29c", "parentSpanId": "5a9501258d08704d", "startTimeUnixNano": "1796073508514395596", "endTimeUnixNano": "1796073508514692069", "durationMs": 0.296473, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c8588ce7a8fe8290e0166ffdc65b7ae1", "spanId": "5a9501258d08704d", "parentSpanId": "2e5ef82bf4478e15", "startTimeUnixNano": "1796073508501980165", "endTimeUnixNano": "1796073508514715332", "durationMs": 12.735167, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.411883, "db.connection": "reader", "db.lock_wait_ms": 1.378}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c8588ce7a8fe8290e0166ffdc65b7ae1", "spanId": "2e5ef82bf4478e15", "parentSpanId": "18b52262ad0824ac", "startTimeUnixNano": "1796073508501957102", "endTimeUnixNano": "1796073508514728376", "durationMs": 12.771274, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c8588ce7a8fe8290e0166ffdc65b7ae1", "spanId": "18b52262ad0824ac", "parentSpanId": "2eb5fb0b674c6a95", "startTimeUnixNano": "1796073508501915394", "endTimeUnixNano": "1796073508514732694", "durationMs": 12.8173, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c8588ce7a8fe8290e0166ffdc65b7ae1", "spanId": "2eb5fb0b674c6a95", "startTimeUnixNano": "1796073508501894726", "endTimeUnixNano": "1796073508514737984", "durationMs": 12.843258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cfa3612a6ae4ae5437a2063a0c1d3282", "spanId": "6084cf96031c5f00", "parentSpanId": "a2a80c2ab3ce7af2", "startTimeUnixNano": "1796073509767556518", "endTimeUnixNano": "1796073509768145867", "durationMs": 0.589349, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cfa3612a6ae4ae5437a2063a0c1d3282", "spanId": "55125061234fbece", "parentSpanId": "591e21bd9d01e63e", "startTimeUnixNano": "1796073509768180581", "endTimeUnixNano": "1796073509768780250", "durationMs": 0.599669, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004469}}
{"type": "effect-span", "name": "sqlite", "traceId": "cfa3612a6ae4ae5437a2063a0c1d3282", "spanId": "0f20cb850f50c690", "parentSpanId": "591e21bd9d01e63e", "startTimeUnixNano": "1796073509768848988", "endTimeUnixNano": "1796073509780034565", "durationMs": 11.185577, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008916}}
{"type": "effect-span", "name": "sqlite", "traceId": "cfa3612a6ae4ae5437a2063a0c1d3282", "spanId": "ce78d59112d4863b", "parentSpanId": "591e21bd9d01e63e", "startTimeUnixNano": "1796073509780052960", "endTimeUnixNano": "1796073509781330702", "durationMs": 1.277742, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007654}}
{"type": "effect-span", "name": "sqlite", "traceId": "cfa3612a6ae4ae5437a2063a0c1d3282", "spanId": "32a8630d76142980", "parentSpanId": "591e21bd9d01e63e", "startTimeUnixNano": "1796073509789776732", "endTimeUnixNano": "1796073509791651828", "durationMs": 1.875096, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014036}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cfa3612a6ae4ae5437a2063a0c1d3282", "spanId": "591e21bd9d01e63e", "parentSpanId": "a2a80c2ab3ce7af2", "startTimeUnixNano": "1796073509768175081", "endTimeUnixNano": "1796073509791889962", "durationMs": 23.714881, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cfa3612a6ae4ae5437a2063a0c1d3282", "spanId": "de5d71a9e996c075", "parentSpanId": "a2a80c2ab3ce7af2", "startTimeUnixNano": "1796073509791907585", "endTimeUnixNano": "1796073509792115733", "durationMs": 0.208148, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cfa3612a6ae4ae5437a2063a0c1d3282", "spanId": "a2a80c2ab3ce7af2", "parentSpanId": "cf689a6f773ac310", "startTimeUnixNano": "1796073509766349477", "endTimeUnixNano": "1796073509792135200", "durationMs": 25.785723, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.203193, "db.connection": "reader", "db.lock_wait_ms": 1.171}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cfa3612a6ae4ae5437a2063a0c1d3282", "spanId": "cf689a6f773ac310", "parentSpanId": "bf12862a829a1160", "startTimeUnixNano": "1796073509766340510", "endTimeUnixNano": "1796073509792150208", "durationMs": 25.809698, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cfa3612a6ae4ae5437a2063a0c1d3282", "spanId": "bf12862a829a1160", "parentSpanId": "c5ae9b501af351c2", "startTimeUnixNano": "1796073509766305194", "endTimeUnixNano": "1796073509792156650", "durationMs": 25.851456, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cfa3612a6ae4ae5437a2063a0c1d3282", "spanId": "c5ae9b501af351c2", "startTimeUnixNano": "1796073509766291058", "endTimeUnixNano": "1796073509792164725", "durationMs": 25.873667, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3d2e141353249d3bf3fb97cb35faacda", "spanId": "e8cc89acc3fc004a", "parentSpanId": "fe4e3e6308588702", "startTimeUnixNano": "1796073509968017458", "endTimeUnixNano": "1796073509968136561", "durationMs": 0.119103, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d2e141353249d3bf3fb97cb35faacda", "spanId": "ac22a5eb15af600e", "parentSpanId": "0934afd3af3d0a2a", "startTimeUnixNano": "1796073509968173630", "endTimeUnixNano": "1796073509968370156", "durationMs": 0.196526, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00571}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d2e141353249d3bf3fb97cb35faacda", "spanId": "75df57997651bf90", "parentSpanId": "0934afd3af3d0a2a", "startTimeUnixNano": "1796073509968450596", "endTimeUnixNano": "1796073509969157635", "durationMs": 0.707039, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008706}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d2e141353249d3bf3fb97cb35faacda", "spanId": "c1176b196ce1b73b", "parentSpanId": "0934afd3af3d0a2a", "startTimeUnixNano": "1796073509969169787", "endTimeUnixNano": "1796073509969916680", "durationMs": 0.746893, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.00501}}
{"type": "effect-span", "name": "sqlite", "traceId": "3d2e141353249d3bf3fb97cb35faacda", "spanId": "abf565e9f5462e55", "parentSpanId": "0934afd3af3d0a2a", "startTimeUnixNano": "1796073509976293791", "endTimeUnixNano": "1796073509977937306", "durationMs": 1.643515, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008637}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3d2e141353249d3bf3fb97cb35faacda", "spanId": "0934afd3af3d0a2a", "parentSpanId": "fe4e3e6308588702", "startTimeUnixNano": "1796073509968168430", "endTimeUnixNano": "1796073509978179438", "durationMs": 10.011008, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3d2e141353249d3bf3fb97cb35faacda", "spanId": "a0c83f87fa9d92f5", "parentSpanId": "fe4e3e6308588702", "startTimeUnixNano": "1796073509978194536", "endTimeUnixNano": "1796073509978825512", "durationMs": 0.630976, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3d2e141353249d3bf3fb97cb35faacda", "spanId": "fe4e3e6308588702", "parentSpanId": "290e6212771d275d", "startTimeUnixNano": "1796073509966418036", "endTimeUnixNano": "1796073509978845209", "durationMs": 12.427173, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.596397, "db.connection": "reader", "db.lock_wait_ms": 1.55}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3d2e141353249d3bf3fb97cb35faacda", "spanId": "290e6212771d275d", "parentSpanId": "2325bf42686ea6f5", "startTimeUnixNano": "1796073509966411674", "endTimeUnixNano": "1796073509978860277", "durationMs": 12.448603, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3d2e141353249d3bf3fb97cb35faacda", "spanId": "2325bf42686ea6f5", "parentSpanId": "e6ec6e14d9e59574", "startTimeUnixNano": "1796073509966385245", "endTimeUnixNano": "1796073509978866879", "durationMs": 12.481634, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3d2e141353249d3bf3fb97cb35faacda", "spanId": "e6ec6e14d9e59574", "startTimeUnixNano": "1796073509966371860", "endTimeUnixNano": "1796073509978874203", "durationMs": 12.502343, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "16df47791c1c97a261d0f0560cc1746e", "spanId": "4d4c6c1d5847bbe3", "parentSpanId": "80c88c7d8c454746", "startTimeUnixNano": "1796073511184034899", "endTimeUnixNano": "1796073511184762286", "durationMs": 0.727387, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "16df47791c1c97a261d0f0560cc1746e", "spanId": "da352b25cb8d38e4", "parentSpanId": "12d5b9b8809d9ac8", "startTimeUnixNano": "1796073511184795928", "endTimeUnixNano": "1796073511185487257", "durationMs": 0.691329, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004078}}
{"type": "effect-span", "name": "sqlite", "traceId": "16df47791c1c97a261d0f0560cc1746e", "spanId": "bbf79347e55b2419", "parentSpanId": "12d5b9b8809d9ac8", "startTimeUnixNano": "1796073511185555405", "endTimeUnixNano": "1796073511186774528", "durationMs": 1.219123, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008405}}
{"type": "effect-span", "name": "sqlite", "traceId": "16df47791c1c97a261d0f0560cc1746e", "spanId": "a3235db611ab4afa", "parentSpanId": "12d5b9b8809d9ac8", "startTimeUnixNano": "1796073511186793383", "endTimeUnixNano": "1796073511187631927", "durationMs": 0.838544, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007294}}
{"type": "effect-span", "name": "sqlite", "traceId": "16df47791c1c97a261d0f0560cc1746e", "spanId": "ea606efe040dbd03", "parentSpanId": "12d5b9b8809d9ac8", "startTimeUnixNano": "1796073511194744590", "endTimeUnixNano": "1796073511196384258", "durationMs": 1.639668, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009538}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "16df47791c1c97a261d0f0560cc1746e", "spanId": "12d5b9b8809d9ac8", "parentSpanId": "80c88c7d8c454746", "startTimeUnixNano": "1796073511184790839", "endTimeUnixNano": "1796073511196647459", "durationMs": 11.85662, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "16df47791c1c97a261d0f0560cc1746e", "spanId": "982df832a164161b", "parentSpanId": "80c88c7d8c454746", "startTimeUnixNano": "1796073511196677555", "endTimeUnixNano": "1796073511197019302", "durationMs": 0.341747, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "16df47791c1c97a261d0f0560cc1746e", "spanId": "80c88c7d8c454746", "parentSpanId": "0f9af5ae51c4d364", "startTimeUnixNano": "1796073511182852484", "endTimeUnixNano": "1796073511197043758", "durationMs": 14.191274, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.178538, "db.connection": "reader", "db.lock_wait_ms": 1.148}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "16df47791c1c97a261d0f0560cc1746e", "spanId": "0f9af5ae51c4d364", "parentSpanId": "46e96cb88bc2ec61", "startTimeUnixNano": "1796073511182845241", "endTimeUnixNano": "1796073511197060279", "durationMs": 14.215038, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "16df47791c1c97a261d0f0560cc1746e", "spanId": "46e96cb88bc2ec61", "parentSpanId": "2eb1f1b30942fee3", "startTimeUnixNano": "1796073511182809143", "endTimeUnixNano": "1796073511197066781", "durationMs": 14.257638, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "16df47791c1c97a261d0f0560cc1746e", "spanId": "2eb1f1b30942fee3", "startTimeUnixNano": "1796073511182795859", "endTimeUnixNano": "1796073511197074796", "durationMs": 14.278937, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "027f22ce52b8b8525fadbca18ff86efa", "spanId": "1b233ad44833a1a0", "parentSpanId": "1772f15f72ceaf7d", "startTimeUnixNano": "1796073511378150350", "endTimeUnixNano": "1796073511378391821", "durationMs": 0.241471, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "027f22ce52b8b8525fadbca18ff86efa", "spanId": "696d9abcccd8bee9", "parentSpanId": "07b9d4d30f1750a9", "startTimeUnixNano": "1796073511378456752", "endTimeUnixNano": "1796073511378650954", "durationMs": 0.194202, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00569}}
{"type": "effect-span", "name": "sqlite", "traceId": "027f22ce52b8b8525fadbca18ff86efa", "spanId": "a1e40c718199e232", "parentSpanId": "07b9d4d30f1750a9", "startTimeUnixNano": "1796073511378713370", "endTimeUnixNano": "1796073511379505918", "durationMs": 0.792548, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007204}}
{"type": "effect-span", "name": "sqlite", "traceId": "027f22ce52b8b8525fadbca18ff86efa", "spanId": "a03a810bacedf3a3", "parentSpanId": "07b9d4d30f1750a9", "startTimeUnixNano": "1796073511379520756", "endTimeUnixNano": "1796073511380476518", "durationMs": 0.955762, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006372}}
{"type": "effect-span", "name": "sqlite", "traceId": "027f22ce52b8b8525fadbca18ff86efa", "spanId": "08acf48ce67a54cc", "parentSpanId": "07b9d4d30f1750a9", "startTimeUnixNano": "1796073511386229877", "endTimeUnixNano": "1796073511388042437", "durationMs": 1.81256, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010459}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "027f22ce52b8b8525fadbca18ff86efa", "spanId": "07b9d4d30f1750a9", "parentSpanId": "1772f15f72ceaf7d", "startTimeUnixNano": "1796073511378449568", "endTimeUnixNano": "1796073511388240496", "durationMs": 9.790928, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "027f22ce52b8b8525fadbca18ff86efa", "spanId": "001f909756f10850", "parentSpanId": "1772f15f72ceaf7d", "startTimeUnixNano": "1796073511388251767", "endTimeUnixNano": "1796073511388772709", "durationMs": 0.520942, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "027f22ce52b8b8525fadbca18ff86efa", "spanId": "1772f15f72ceaf7d", "parentSpanId": "1afb6990e587cbf7", "startTimeUnixNano": "1796073511377056571", "endTimeUnixNano": "1796073511388790582", "durationMs": 11.734011, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.091014, "db.connection": "reader", "db.lock_wait_ms": 1.066}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "027f22ce52b8b8525fadbca18ff86efa", "spanId": "1afb6990e587cbf7", "parentSpanId": "e52f8d95918f438a", "startTimeUnixNano": "1796073511377049838", "endTimeUnixNano": "1796073511388805480", "durationMs": 11.755642, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "027f22ce52b8b8525fadbca18ff86efa", "spanId": "e52f8d95918f438a", "parentSpanId": "e9ad1b8b84bb886d", "startTimeUnixNano": "1796073511377019952", "endTimeUnixNano": "1796073511388812443", "durationMs": 11.792491, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "027f22ce52b8b8525fadbca18ff86efa", "spanId": "e9ad1b8b84bb886d", "startTimeUnixNano": "1796073511377007720", "endTimeUnixNano": "1796073511388820407", "durationMs": 11.812687, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "280f77edf54bcd05dd35a3df11a908d5", "spanId": "0ed5fdc873c0a9a7", "parentSpanId": "9cef1a1d217a8c82", "startTimeUnixNano": "1796073512640018047", "endTimeUnixNano": "1796073512640677096", "durationMs": 0.659049, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "280f77edf54bcd05dd35a3df11a908d5", "spanId": "ad0062dd295b8aa4", "parentSpanId": "4db5aec3cd7c53b0", "startTimeUnixNano": "1796073512640716169", "endTimeUnixNano": "1796073512641357124", "durationMs": 0.640955, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004338}}
{"type": "effect-span", "name": "sqlite", "traceId": "280f77edf54bcd05dd35a3df11a908d5", "spanId": "f205acf23034d12a", "parentSpanId": "4db5aec3cd7c53b0", "startTimeUnixNano": "1796073512641423188", "endTimeUnixNano": "1796073512642591096", "durationMs": 1.167908, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.020608}}
{"type": "effect-span", "name": "sqlite", "traceId": "280f77edf54bcd05dd35a3df11a908d5", "spanId": "ef4a5659d7fe8e3b", "parentSpanId": "4db5aec3cd7c53b0", "startTimeUnixNano": "1796073512642603348", "endTimeUnixNano": "1796073512643495142", "durationMs": 0.891794, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008236}}
{"type": "effect-span", "name": "sqlite", "traceId": "280f77edf54bcd05dd35a3df11a908d5", "spanId": "3836ca7f88ed7264", "parentSpanId": "4db5aec3cd7c53b0", "startTimeUnixNano": "1796073512650498862", "endTimeUnixNano": "1796073512652908015", "durationMs": 2.409153, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01073}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "280f77edf54bcd05dd35a3df11a908d5", "spanId": "4db5aec3cd7c53b0", "parentSpanId": "9cef1a1d217a8c82", "startTimeUnixNano": "1796073512640709888", "endTimeUnixNano": "1796073512653197565", "durationMs": 12.487677, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "280f77edf54bcd05dd35a3df11a908d5", "spanId": "d914fd53cd394251", "parentSpanId": "9cef1a1d217a8c82", "startTimeUnixNano": "1796073512653222251", "endTimeUnixNano": "1796073512653390364", "durationMs": 0.168113, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "280f77edf54bcd05dd35a3df11a908d5", "spanId": "9cef1a1d217a8c82", "parentSpanId": "ee94e6503c750d47", "startTimeUnixNano": "1796073512636001688", "endTimeUnixNano": "1796073512653411984", "durationMs": 17.410296, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.009877, "db.connection": "reader", "db.lock_wait_ms": 3.976}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "280f77edf54bcd05dd35a3df11a908d5", "spanId": "ee94e6503c750d47", "parentSpanId": "e71d1d6a038161a3", "startTimeUnixNano": "1796073512635992982", "endTimeUnixNano": "1796073512653447441", "durationMs": 17.454459, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "280f77edf54bcd05dd35a3df11a908d5", "spanId": "e71d1d6a038161a3", "parentSpanId": "711f10d5afc8c44f", "startTimeUnixNano": "1796073512635952346", "endTimeUnixNano": "1796073512653457459", "durationMs": 17.505113, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "280f77edf54bcd05dd35a3df11a908d5", "spanId": "711f10d5afc8c44f", "startTimeUnixNano": "1796073512635938851", "endTimeUnixNano": "1796073512653468440", "durationMs": 17.529589, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fce39852cec64f5a15963a859a63f866", "spanId": "e5011779c983f9d2", "parentSpanId": "755468af0e53c982", "startTimeUnixNano": "1796073512845852488", "endTimeUnixNano": "1796073512846111221", "durationMs": 0.258733, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fce39852cec64f5a15963a859a63f866", "spanId": "f85103e092f45af1", "parentSpanId": "157fcf14fe070f7d", "startTimeUnixNano": "1796073512846146296", "endTimeUnixNano": "1796073512846237346", "durationMs": 0.09105, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004659}}
{"type": "effect-span", "name": "sqlite", "traceId": "fce39852cec64f5a15963a859a63f866", "spanId": "975822ff9c141910", "parentSpanId": "157fcf14fe070f7d", "startTimeUnixNano": "1796073512846298510", "endTimeUnixNano": "1796073512847349630", "durationMs": 1.05112, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009348}}
{"type": "effect-span", "name": "sqlite", "traceId": "fce39852cec64f5a15963a859a63f866", "spanId": "6a8dad8e3a335ba4", "parentSpanId": "157fcf14fe070f7d", "startTimeUnixNano": "1796073512847374406", "endTimeUnixNano": "1796073512848477273", "durationMs": 1.102867, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011071}}
{"type": "effect-span", "name": "sqlite", "traceId": "fce39852cec64f5a15963a859a63f866", "spanId": "b45970d26efef21f", "parentSpanId": "157fcf14fe070f7d", "startTimeUnixNano": "1796073512853858688", "endTimeUnixNano": "1796073512855318321", "durationMs": 1.459633, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009288}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fce39852cec64f5a15963a859a63f866", "spanId": "157fcf14fe070f7d", "parentSpanId": "755468af0e53c982", "startTimeUnixNano": "1796073512846140365", "endTimeUnixNano": "1796073512855509357", "durationMs": 9.368992, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fce39852cec64f5a15963a859a63f866", "spanId": "606955dd4729e330", "parentSpanId": "755468af0e53c982", "startTimeUnixNano": "1796073512855521289", "endTimeUnixNano": "1796073512855848209", "durationMs": 0.32692, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fce39852cec64f5a15963a859a63f866", "spanId": "755468af0e53c982", "parentSpanId": "44e035e7a5a1f0cf", "startTimeUnixNano": "1796073512844677688", "endTimeUnixNano": "1796073512855864749", "durationMs": 11.187061, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.171564, "db.connection": "reader", "db.lock_wait_ms": 1.145}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fce39852cec64f5a15963a859a63f866", "spanId": "44e035e7a5a1f0cf", "parentSpanId": "24d6e33f76fe9618", "startTimeUnixNano": "1796073512844670635", "endTimeUnixNano": "1796073512855875840", "durationMs": 11.205205, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fce39852cec64f5a15963a859a63f866", "spanId": "24d6e33f76fe9618", "parentSpanId": "47451737db47da90", "startTimeUnixNano": "1796073512844644165", "endTimeUnixNano": "1796073512855879707", "durationMs": 11.235542, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fce39852cec64f5a15963a859a63f866", "spanId": "47451737db47da90", "startTimeUnixNano": "1796073512844632864", "endTimeUnixNano": "1796073512855885198", "durationMs": 11.252334, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "30db0b1c0780461d8901de85437f7c7b", "spanId": "a53959f1efa521d4", "parentSpanId": "a5974a2845f23151", "startTimeUnixNano": "1796073514081505278", "endTimeUnixNano": "1796073514082096661", "durationMs": 0.591383, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "30db0b1c0780461d8901de85437f7c7b", "spanId": "b8f6a8e867eb0c8b", "parentSpanId": "36a7d6ce7b261c0d", "startTimeUnixNano": "1796073514082132818", "endTimeUnixNano": "1796073514082622271", "durationMs": 0.489453, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004328}}
{"type": "effect-span", "name": "sqlite", "traceId": "30db0b1c0780461d8901de85437f7c7b", "spanId": "ad3d649fc146ba95", "parentSpanId": "36a7d6ce7b261c0d", "startTimeUnixNano": "1796073514082686030", "endTimeUnixNano": "1796073514083684992", "durationMs": 0.998962, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008265}}
{"type": "effect-span", "name": "sqlite", "traceId": "30db0b1c0780461d8901de85437f7c7b", "spanId": "67c71cf8c162269b", "parentSpanId": "36a7d6ce7b261c0d", "startTimeUnixNano": "1796073514083698838", "endTimeUnixNano": "1796073514084570404", "durationMs": 0.871566, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006162}}
{"type": "effect-span", "name": "sqlite", "traceId": "30db0b1c0780461d8901de85437f7c7b", "spanId": "4c93434bcb5cb9a2", "parentSpanId": "36a7d6ce7b261c0d", "startTimeUnixNano": "1796073514093984750", "endTimeUnixNano": "1796073514095602176", "durationMs": 1.617426, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01061}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "30db0b1c0780461d8901de85437f7c7b", "spanId": "36a7d6ce7b261c0d", "parentSpanId": "a5974a2845f23151", "startTimeUnixNano": "1796073514082127027", "endTimeUnixNano": "1796073514095821596", "durationMs": 13.694569, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "30db0b1c0780461d8901de85437f7c7b", "spanId": "3e1454d04742c666", "parentSpanId": "a5974a2845f23151", "startTimeUnixNano": "1796073514095835041", "endTimeUnixNano": "1796073514096132946", "durationMs": 0.297905, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "30db0b1c0780461d8901de85437f7c7b", "spanId": "a5974a2845f23151", "parentSpanId": "6f686c70086e354a", "startTimeUnixNano": "1796073514080263061", "endTimeUnixNano": "1796073514096151952", "durationMs": 15.888891, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.238119, "db.connection": "reader", "db.lock_wait_ms": 1.207}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "30db0b1c0780461d8901de85437f7c7b", "spanId": "6f686c70086e354a", "parentSpanId": "6a65ace04d200674", "startTimeUnixNano": "1796073514080255637", "endTimeUnixNano": "1796073514096165066", "durationMs": 15.909429, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "30db0b1c0780461d8901de85437f7c7b", "spanId": "6a65ace04d200674", "parentSpanId": "7f4a1a9e3ca1446d", "startTimeUnixNano": "1796073514080217727", "endTimeUnixNano": "1796073514096170827", "durationMs": 15.9531, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "30db0b1c0780461d8901de85437f7c7b", "spanId": "7f4a1a9e3ca1446d", "startTimeUnixNano": "1796073514080203500", "endTimeUnixNano": "1796073514096176668", "durationMs": 15.973168, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "182e9461cd0bc3366574135f8107ba91", "spanId": "367818d76caced2c", "parentSpanId": "13fb3f1b8014518d", "startTimeUnixNano": "1796073514279735281", "endTimeUnixNano": "1796073514280126971", "durationMs": 0.39169, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "182e9461cd0bc3366574135f8107ba91", "spanId": "96bae3271d11257a", "parentSpanId": "73319cd8bed4947a", "startTimeUnixNano": "1796073514280159602", "endTimeUnixNano": "1796073514280418655", "durationMs": 0.259053, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004158}}
{"type": "effect-span", "name": "sqlite", "traceId": "182e9461cd0bc3366574135f8107ba91", "spanId": "c673e23bb9424ebb", "parentSpanId": "73319cd8bed4947a", "startTimeUnixNano": "1796073514280496090", "endTimeUnixNano": "1796073514282629338", "durationMs": 2.133248, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010319}}
{"type": "effect-span", "name": "sqlite", "traceId": "182e9461cd0bc3366574135f8107ba91", "spanId": "bd8f03bda88689a5", "parentSpanId": "73319cd8bed4947a", "startTimeUnixNano": "1796073514282642312", "endTimeUnixNano": "1796073514283477169", "durationMs": 0.834857, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.00547}}
{"type": "effect-span", "name": "sqlite", "traceId": "182e9461cd0bc3366574135f8107ba91", "spanId": "b8026b7f83d6336c", "parentSpanId": "73319cd8bed4947a", "startTimeUnixNano": "1796073514288275968", "endTimeUnixNano": "1796073514290006686", "durationMs": 1.730718, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010209}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "182e9461cd0bc3366574135f8107ba91", "spanId": "73319cd8bed4947a", "parentSpanId": "13fb3f1b8014518d", "startTimeUnixNano": "1796073514280153942", "endTimeUnixNano": "1796073514290264677", "durationMs": 10.110735, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "182e9461cd0bc3366574135f8107ba91", "spanId": "6b2b63b132bfe460", "parentSpanId": "13fb3f1b8014518d", "startTimeUnixNano": "1796073514290288762", "endTimeUnixNano": "1796073514290548506", "durationMs": 0.259744, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "182e9461cd0bc3366574135f8107ba91", "spanId": "13fb3f1b8014518d", "parentSpanId": "895c051013b84fe4", "startTimeUnixNano": "1796073514276760553", "endTimeUnixNano": "1796073514290565518", "durationMs": 13.804965, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.970831, "db.connection": "reader", "db.lock_wait_ms": 2.946}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "182e9461cd0bc3366574135f8107ba91", "spanId": "895c051013b84fe4", "parentSpanId": "50200d962975f10a", "startTimeUnixNano": "1796073514276753069", "endTimeUnixNano": "1796073514290580806", "durationMs": 13.827737, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "182e9461cd0bc3366574135f8107ba91", "spanId": "50200d962975f10a", "parentSpanId": "3792ead080513057", "startTimeUnixNano": "1796073514276727983", "endTimeUnixNano": "1796073514290586186", "durationMs": 13.858203, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "182e9461cd0bc3366574135f8107ba91", "spanId": "3792ead080513057", "startTimeUnixNano": "1796073514276714457", "endTimeUnixNano": "1796073514290593510", "durationMs": 13.879053, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a52d1525892994d782f5a2be70c0b36e", "spanId": "d1e6e67a6315ca84", "parentSpanId": "2a51d7e02968aa98", "startTimeUnixNano": "1796073515508807057", "endTimeUnixNano": "1796073515509429347", "durationMs": 0.62229, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a52d1525892994d782f5a2be70c0b36e", "spanId": "d79c272db8cbcbe4", "parentSpanId": "1b901a105cbef35a", "startTimeUnixNano": "1796073515509483518", "endTimeUnixNano": "1796073515510514360", "durationMs": 1.030842, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004729}}
{"type": "effect-span", "name": "sqlite", "traceId": "a52d1525892994d782f5a2be70c0b36e", "spanId": "0e69ecf40345e351", "parentSpanId": "1b901a105cbef35a", "startTimeUnixNano": "1796073515510584361", "endTimeUnixNano": "1796073515511393420", "durationMs": 0.809059, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008225}}
{"type": "effect-span", "name": "sqlite", "traceId": "a52d1525892994d782f5a2be70c0b36e", "spanId": "7cbf412f7715ec0e", "parentSpanId": "1b901a105cbef35a", "startTimeUnixNano": "1796073515511404921", "endTimeUnixNano": "1796073515512250087", "durationMs": 0.845166, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007675}}
{"type": "effect-span", "name": "sqlite", "traceId": "a52d1525892994d782f5a2be70c0b36e", "spanId": "37fe60abb233f6a0", "parentSpanId": "1b901a105cbef35a", "startTimeUnixNano": "1796073515519511159", "endTimeUnixNano": "1796073515523766064", "durationMs": 4.254905, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010279}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a52d1525892994d782f5a2be70c0b36e", "spanId": "1b901a105cbef35a", "parentSpanId": "2a51d7e02968aa98", "startTimeUnixNano": "1796073515509477487", "endTimeUnixNano": "1796073515524056024", "durationMs": 14.578537, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a52d1525892994d782f5a2be70c0b36e", "spanId": "50b1215a8debc2f8", "parentSpanId": "2a51d7e02968aa98", "startTimeUnixNano": "1796073515524082323", "endTimeUnixNano": "1796073515524239817", "durationMs": 0.157494, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a52d1525892994d782f5a2be70c0b36e", "spanId": "2a51d7e02968aa98", "parentSpanId": "ba9823d8b4e9058a", "startTimeUnixNano": "1796073515507568226", "endTimeUnixNano": "1796073515524263070", "durationMs": 16.694844, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.234863, "db.connection": "reader", "db.lock_wait_ms": 1.2}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a52d1525892994d782f5a2be70c0b36e", "spanId": "ba9823d8b4e9058a", "parentSpanId": "6e98a33376e27f09", "startTimeUnixNano": "1796073515507560822", "endTimeUnixNano": "1796073515524280262", "durationMs": 16.71944, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a52d1525892994d782f5a2be70c0b36e", "spanId": "6e98a33376e27f09", "parentSpanId": "a7fa05469ecdacce", "startTimeUnixNano": "1796073515507523252", "endTimeUnixNano": "1796073515524288678", "durationMs": 16.765426, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a52d1525892994d782f5a2be70c0b36e", "spanId": "a7fa05469ecdacce", "startTimeUnixNano": "1796073515507508805", "endTimeUnixNano": "1796073515524295270", "durationMs": 16.786465, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1dddab2bc3461857cd25a84df3890fd1", "spanId": "d1017f18f5799d8f", "parentSpanId": "a9137634b7819b0e", "startTimeUnixNano": "1796073515711676208", "endTimeUnixNano": "1796073515711881811", "durationMs": 0.205603, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1dddab2bc3461857cd25a84df3890fd1", "spanId": "5a1b48ca146bfbcf", "parentSpanId": "bab3371d2de76541", "startTimeUnixNano": "1796073515711914873", "endTimeUnixNano": "1796073515712155431", "durationMs": 0.240558, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004348}}
{"type": "effect-span", "name": "sqlite", "traceId": "1dddab2bc3461857cd25a84df3890fd1", "spanId": "cbf3c1a217275e40", "parentSpanId": "bab3371d2de76541", "startTimeUnixNano": "1796073515712246000", "endTimeUnixNano": "1796073515713266714", "durationMs": 1.020714, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008747}}
{"type": "effect-span", "name": "sqlite", "traceId": "1dddab2bc3461857cd25a84df3890fd1", "spanId": "83930196cd92f361", "parentSpanId": "bab3371d2de76541", "startTimeUnixNano": "1796073515713284848", "endTimeUnixNano": "1796073515714221524", "durationMs": 0.936676, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006231}}
{"type": "effect-span", "name": "sqlite", "traceId": "1dddab2bc3461857cd25a84df3890fd1", "spanId": "061d6e8528bfc4a2", "parentSpanId": "bab3371d2de76541", "startTimeUnixNano": "1796073515721570119", "endTimeUnixNano": "1796073515723042615", "durationMs": 1.472496, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009528}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1dddab2bc3461857cd25a84df3890fd1", "spanId": "bab3371d2de76541", "parentSpanId": "a9137634b7819b0e", "startTimeUnixNano": "1796073515711909513", "endTimeUnixNano": "1796073515723257506", "durationMs": 11.347993, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1dddab2bc3461857cd25a84df3890fd1", "spanId": "53337ff10d89817d", "parentSpanId": "a9137634b7819b0e", "startTimeUnixNano": "1796073515723269528", "endTimeUnixNano": "1796073515723475061", "durationMs": 0.205533, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1dddab2bc3461857cd25a84df3890fd1", "spanId": "a9137634b7819b0e", "parentSpanId": "b48edbad77f16a8e", "startTimeUnixNano": "1796073515709824585", "endTimeUnixNano": "1796073515723494137", "durationMs": 13.669552, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.848457, "db.connection": "reader", "db.lock_wait_ms": 1.821}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1dddab2bc3461857cd25a84df3890fd1", "spanId": "b48edbad77f16a8e", "parentSpanId": "d4094e523f2145b2", "startTimeUnixNano": "1796073515709818133", "endTimeUnixNano": "1796073515723509125", "durationMs": 13.690992, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1dddab2bc3461857cd25a84df3890fd1", "spanId": "d4094e523f2145b2", "parentSpanId": "d726f6e86e55ffee", "startTimeUnixNano": "1796073515709789249", "endTimeUnixNano": "1796073515723514144", "durationMs": 13.724895, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1dddab2bc3461857cd25a84df3890fd1", "spanId": "d726f6e86e55ffee", "startTimeUnixNano": "1796073515709776645", "endTimeUnixNano": "1796073515723520606", "durationMs": 13.743961, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "786a398078d2cb1c1d2035bb4fffb028", "spanId": "dc65dd9ff157afbc", "parentSpanId": "7bb90e5bb48b8116", "startTimeUnixNano": "1796073516943263599", "endTimeUnixNano": "1796073516943412316", "durationMs": 0.148717, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "786a398078d2cb1c1d2035bb4fffb028", "spanId": "d305a4e6ca8f0d4c", "parentSpanId": "c88d64942a394cba", "startTimeUnixNano": "1796073516943467639", "endTimeUnixNano": "1796073516944060535", "durationMs": 0.592896, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006041}}
{"type": "effect-span", "name": "sqlite", "traceId": "786a398078d2cb1c1d2035bb4fffb028", "spanId": "a06fd88d9baf406a", "parentSpanId": "c88d64942a394cba", "startTimeUnixNano": "1796073516944148850", "endTimeUnixNano": "1796073516945429187", "durationMs": 1.280337, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.0109}}
{"type": "effect-span", "name": "sqlite", "traceId": "786a398078d2cb1c1d2035bb4fffb028", "spanId": "d140bcfaf2e0ddbb", "parentSpanId": "c88d64942a394cba", "startTimeUnixNano": "1796073516945462760", "endTimeUnixNano": "1796073516946379189", "durationMs": 0.916429, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008806}}
{"type": "effect-span", "name": "sqlite", "traceId": "786a398078d2cb1c1d2035bb4fffb028", "spanId": "18de715ce72420a9", "parentSpanId": "c88d64942a394cba", "startTimeUnixNano": "1796073516953467578", "endTimeUnixNano": "1796073516955960407", "durationMs": 2.492829, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01036}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "786a398078d2cb1c1d2035bb4fffb028", "spanId": "c88d64942a394cba", "parentSpanId": "7bb90e5bb48b8116", "startTimeUnixNano": "1796073516943460987", "endTimeUnixNano": "1796073516956312023", "durationMs": 12.851036, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "786a398078d2cb1c1d2035bb4fffb028", "spanId": "669c6d8121c88cff", "parentSpanId": "7bb90e5bb48b8116", "startTimeUnixNano": "1796073516956346738", "endTimeUnixNano": "1796073516956862630", "durationMs": 0.515892, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "786a398078d2cb1c1d2035bb4fffb028", "spanId": "7bb90e5bb48b8116", "parentSpanId": "2520763732f6864e", "startTimeUnixNano": "1796073516941353246", "endTimeUnixNano": "1796073516956895972", "durationMs": 15.542726, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.906195, "db.connection": "reader", "db.lock_wait_ms": 1.875}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "786a398078d2cb1c1d2035bb4fffb028", "spanId": "2520763732f6864e", "parentSpanId": "fa9daf3093629623", "startTimeUnixNano": "1796073516941346213", "endTimeUnixNano": "1796073516956922401", "durationMs": 15.576188, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "786a398078d2cb1c1d2035bb4fffb028", "spanId": "fa9daf3093629623", "parentSpanId": "34da7b7f6d7718c7", "startTimeUnixNano": "1796073516941306258", "endTimeUnixNano": "1796073516956932701", "durationMs": 15.626443, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "786a398078d2cb1c1d2035bb4fffb028", "spanId": "34da7b7f6d7718c7", "startTimeUnixNano": "1796073516941291060", "endTimeUnixNano": "1796073516956944723", "durationMs": 15.653663, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "36e004d5939a3bf2cf647cd91b007fc2", "spanId": "c567544120186736", "parentSpanId": "4f225fdfa345abf9", "startTimeUnixNano": "1796073517136942261", "endTimeUnixNano": "1796073517137199381", "durationMs": 0.25712, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "36e004d5939a3bf2cf647cd91b007fc2", "spanId": "223aa927f6e5f5d6", "parentSpanId": "576d7c2706361368", "startTimeUnixNano": "1796073517137228976", "endTimeUnixNano": "1796073517137377623", "durationMs": 0.148647, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004208}}
{"type": "effect-span", "name": "sqlite", "traceId": "36e004d5939a3bf2cf647cd91b007fc2", "spanId": "6350b6279e4c5e39", "parentSpanId": "576d7c2706361368", "startTimeUnixNano": "1796073517137448946", "endTimeUnixNano": "1796073517138397716", "durationMs": 0.94877, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008276}}
{"type": "effect-span", "name": "sqlite", "traceId": "36e004d5939a3bf2cf647cd91b007fc2", "spanId": "b597afb898fe94e8", "parentSpanId": "576d7c2706361368", "startTimeUnixNano": "1796073517138412493", "endTimeUnixNano": "1796073517139310418", "durationMs": 0.897925, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.00519}}
{"type": "effect-span", "name": "sqlite", "traceId": "36e004d5939a3bf2cf647cd91b007fc2", "spanId": "831d2b50a16b3811", "parentSpanId": "576d7c2706361368", "startTimeUnixNano": "1796073517146044817", "endTimeUnixNano": "1796073517147813656", "durationMs": 1.768839, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012083}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "36e004d5939a3bf2cf647cd91b007fc2", "spanId": "576d7c2706361368", "parentSpanId": "4f225fdfa345abf9", "startTimeUnixNano": "1796073517137224107", "endTimeUnixNano": "1796073517148102535", "durationMs": 10.878428, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "36e004d5939a3bf2cf647cd91b007fc2", "spanId": "23b5adf7e067e0d5", "parentSpanId": "4f225fdfa345abf9", "startTimeUnixNano": "1796073517148134815", "endTimeUnixNano": "1796073517149016279", "durationMs": 0.881464, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "36e004d5939a3bf2cf647cd91b007fc2", "spanId": "4f225fdfa345abf9", "parentSpanId": "51cda11aaf8f4e85", "startTimeUnixNano": "1796073517135915807", "endTimeUnixNano": "1796073517149041135", "durationMs": 13.125328, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.023639, "db.connection": "reader", "db.lock_wait_ms": 0.998}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "36e004d5939a3bf2cf647cd91b007fc2", "spanId": "51cda11aaf8f4e85", "parentSpanId": "3f5a2618b2d060dd", "startTimeUnixNano": "1796073517135909345", "endTimeUnixNano": "1796073517149056925", "durationMs": 13.14758, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "36e004d5939a3bf2cf647cd91b007fc2", "spanId": "3f5a2618b2d060dd", "parentSpanId": "c36210eeac7599b2", "startTimeUnixNano": "1796073517135883958", "endTimeUnixNano": "1796073517149063547", "durationMs": 13.179589, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "36e004d5939a3bf2cf647cd91b007fc2", "spanId": "c36210eeac7599b2", "startTimeUnixNano": "1796073517135871494", "endTimeUnixNano": "1796073517149071652", "durationMs": 13.200158, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a676d3cb6d1ebe920cb0132b968dcc0e", "spanId": "90a81a023b519f18", "parentSpanId": "c3296ebd20854728", "startTimeUnixNano": "1796073518461640756", "endTimeUnixNano": "1796073518462299775", "durationMs": 0.659019, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a676d3cb6d1ebe920cb0132b968dcc0e", "spanId": "942c22d19f3d1d68", "parentSpanId": "0e5e84e62922e6c8", "startTimeUnixNano": "1796073518462334630", "endTimeUnixNano": "1796073518462988750", "durationMs": 0.65412, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004488}}
{"type": "effect-span", "name": "sqlite", "traceId": "a676d3cb6d1ebe920cb0132b968dcc0e", "spanId": "b9bf55f6580f2e72", "parentSpanId": "0e5e84e62922e6c8", "startTimeUnixNano": "1796073518463056085", "endTimeUnixNano": "1796073518464251385", "durationMs": 1.1953, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008216}}
{"type": "effect-span", "name": "sqlite", "traceId": "a676d3cb6d1ebe920cb0132b968dcc0e", "spanId": "5f7e30b2e27e1d87", "parentSpanId": "0e5e84e62922e6c8", "startTimeUnixNano": "1796073518464266322", "endTimeUnixNano": "1796073518465286695", "durationMs": 1.020373, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008426}}
{"type": "effect-span", "name": "sqlite", "traceId": "a676d3cb6d1ebe920cb0132b968dcc0e", "spanId": "e22868ec03f961e9", "parentSpanId": "0e5e84e62922e6c8", "startTimeUnixNano": "1796073518472609763", "endTimeUnixNano": "1796073518474464021", "durationMs": 1.854258, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015539}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a676d3cb6d1ebe920cb0132b968dcc0e", "spanId": "0e5e84e62922e6c8", "parentSpanId": "c3296ebd20854728", "startTimeUnixNano": "1796073518462327947", "endTimeUnixNano": "1796073518474710932", "durationMs": 12.382985, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a676d3cb6d1ebe920cb0132b968dcc0e", "spanId": "c348a14dd6165673", "parentSpanId": "c3296ebd20854728", "startTimeUnixNano": "1796073518474741699", "endTimeUnixNano": "1796073518474952302", "durationMs": 0.210603, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a676d3cb6d1ebe920cb0132b968dcc0e", "spanId": "c3296ebd20854728", "parentSpanId": "e6232d4b085e8186", "startTimeUnixNano": "1796073518460250012", "endTimeUnixNano": "1796073518474973982", "durationMs": 14.72397, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.387117, "db.connection": "reader", "db.lock_wait_ms": 1.351}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a676d3cb6d1ebe920cb0132b968dcc0e", "spanId": "e6232d4b085e8186", "parentSpanId": "bf6e6db3539060a8", "startTimeUnixNano": "1796073518460242448", "endTimeUnixNano": "1796073518474991575", "durationMs": 14.749127, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a676d3cb6d1ebe920cb0132b968dcc0e", "spanId": "bf6e6db3539060a8", "parentSpanId": "f3ded33f8076e1f5", "startTimeUnixNano": "1796073518460199708", "endTimeUnixNano": "1796073518475004459", "durationMs": 14.804751, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a676d3cb6d1ebe920cb0132b968dcc0e", "spanId": "f3ded33f8076e1f5", "startTimeUnixNano": "1796073518460184600", "endTimeUnixNano": "1796073518475024697", "durationMs": 14.840097, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e4882ac789a10b953252c72b68f24180", "spanId": "b14be69ac25b7339", "parentSpanId": "bf4a2f39fa32cda5", "startTimeUnixNano": "1796073518663977123", "endTimeUnixNano": "1796073518664182125", "durationMs": 0.205002, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4882ac789a10b953252c72b68f24180", "spanId": "ff83731c98ad82f1", "parentSpanId": "7ec4aaf3eff1d703", "startTimeUnixNano": "1796073518664220176", "endTimeUnixNano": "1796073518664408197", "durationMs": 0.188021, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004849}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4882ac789a10b953252c72b68f24180", "spanId": "61aedd887eac20b9", "parentSpanId": "7ec4aaf3eff1d703", "startTimeUnixNano": "1796073518664494698", "endTimeUnixNano": "1796073518665391862", "durationMs": 0.897164, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01045}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4882ac789a10b953252c72b68f24180", "spanId": "23e36931e12616cc", "parentSpanId": "7ec4aaf3eff1d703", "startTimeUnixNano": "1796073518665443217", "endTimeUnixNano": "1796073518666214045", "durationMs": 0.770828, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009137}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4882ac789a10b953252c72b68f24180", "spanId": "669b7582bb5b2671", "parentSpanId": "7ec4aaf3eff1d703", "startTimeUnixNano": "1796073518671547783", "endTimeUnixNano": "1796073518678007169", "durationMs": 6.459386, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009237}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e4882ac789a10b953252c72b68f24180", "spanId": "7ec4aaf3eff1d703", "parentSpanId": "bf4a2f39fa32cda5", "startTimeUnixNano": "1796073518664207773", "endTimeUnixNano": "1796073518678291129", "durationMs": 14.083356, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e4882ac789a10b953252c72b68f24180", "spanId": "29c0a342b7ab7d2a", "parentSpanId": "bf4a2f39fa32cda5", "startTimeUnixNano": "1796073518678310515", "endTimeUnixNano": "1796073518678965196", "durationMs": 0.654681, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e4882ac789a10b953252c72b68f24180", "spanId": "bf4a2f39fa32cda5", "parentSpanId": "5fa761b67017aa82", "startTimeUnixNano": "1796073518662122404", "endTimeUnixNano": "1796073518678982578", "durationMs": 16.860174, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.851754, "db.connection": "reader", "db.lock_wait_ms": 1.824}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e4882ac789a10b953252c72b68f24180", "spanId": "5fa761b67017aa82", "parentSpanId": "c58b835e202c5182", "startTimeUnixNano": "1796073518662115301", "endTimeUnixNano": "1796073518678999490", "durationMs": 16.884189, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e4882ac789a10b953252c72b68f24180", "spanId": "c58b835e202c5182", "parentSpanId": "21381f356980e7de", "startTimeUnixNano": "1796073518662084163", "endTimeUnixNano": "1796073518679007465", "durationMs": 16.923302, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e4882ac789a10b953252c72b68f24180", "spanId": "21381f356980e7de", "startTimeUnixNano": "1796073518662070638", "endTimeUnixNano": "1796073518679015610", "durationMs": 16.944972, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "67aa2c05ff806f965cd1d87ae75d22dc", "spanId": "6353797743d46095", "parentSpanId": "e7deeef1b07336e2", "startTimeUnixNano": "1796073519962238952", "endTimeUnixNano": "1796073519962368233", "durationMs": 0.129281, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "67aa2c05ff806f965cd1d87ae75d22dc", "spanId": "77973c72cbc9780c", "parentSpanId": "a581bd86b1d4fedf", "startTimeUnixNano": "1796073519962406835", "endTimeUnixNano": "1796073519962942985", "durationMs": 0.53615, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00528}}
{"type": "effect-span", "name": "sqlite", "traceId": "67aa2c05ff806f965cd1d87ae75d22dc", "spanId": "48f469f2730c66a7", "parentSpanId": "a581bd86b1d4fedf", "startTimeUnixNano": "1796073519963015470", "endTimeUnixNano": "1796073519963977875", "durationMs": 0.962405, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008436}}
{"type": "effect-span", "name": "sqlite", "traceId": "67aa2c05ff806f965cd1d87ae75d22dc", "spanId": "2c326d0aa9949fa7", "parentSpanId": "a581bd86b1d4fedf", "startTimeUnixNano": "1796073519963995989", "endTimeUnixNano": "1796073519964929169", "durationMs": 0.93318, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007845}}
{"type": "effect-span", "name": "sqlite", "traceId": "67aa2c05ff806f965cd1d87ae75d22dc", "spanId": "96fb48e59d8ae4d0", "parentSpanId": "a581bd86b1d4fedf", "startTimeUnixNano": "1796073519972053947", "endTimeUnixNano": "1796073519973929916", "durationMs": 1.875969, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011902}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "67aa2c05ff806f965cd1d87ae75d22dc", "spanId": "a581bd86b1d4fedf", "parentSpanId": "e7deeef1b07336e2", "startTimeUnixNano": "1796073519962401144", "endTimeUnixNano": "1796073519974165195", "durationMs": 11.764051, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "67aa2c05ff806f965cd1d87ae75d22dc", "spanId": "2b8bf52647e0d760", "parentSpanId": "e7deeef1b07336e2", "startTimeUnixNano": "1796073519974180363", "endTimeUnixNano": "1796073519974352073", "durationMs": 0.17171, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "67aa2c05ff806f965cd1d87ae75d22dc", "spanId": "e7deeef1b07336e2", "parentSpanId": "583c0522b8a1da37", "startTimeUnixNano": "1796073519960273526", "endTimeUnixNano": "1796073519974370668", "durationMs": 14.097142, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.961709, "db.connection": "reader", "db.lock_wait_ms": 1.93}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "67aa2c05ff806f965cd1d87ae75d22dc", "spanId": "583c0522b8a1da37", "parentSpanId": "6ac0d5c020c6b953", "startTimeUnixNano": "1796073519960265692", "endTimeUnixNano": "1796073519974384814", "durationMs": 14.119122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "67aa2c05ff806f965cd1d87ae75d22dc", "spanId": "6ac0d5c020c6b953", "parentSpanId": "3723e2929b95ee13", "startTimeUnixNano": "1796073519960228172", "endTimeUnixNano": "1796073519974391627", "durationMs": 14.163455, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "67aa2c05ff806f965cd1d87ae75d22dc", "spanId": "3723e2929b95ee13", "startTimeUnixNano": "1796073519960213525", "endTimeUnixNano": "1796073519974399872", "durationMs": 14.186347, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1ab5003f6fa03c24d339fd045a0c8812", "spanId": "8da3ce0d3c906c1f", "parentSpanId": "ecc3985bc8f070ee", "startTimeUnixNano": "1796073520163974621", "endTimeUnixNano": "1796073520164184502", "durationMs": 0.209881, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ab5003f6fa03c24d339fd045a0c8812", "spanId": "708bd9dd1918ca84", "parentSpanId": "d2d2dea815fae755", "startTimeUnixNano": "1796073520164216442", "endTimeUnixNano": "1796073520164302993", "durationMs": 0.086551, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004117}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ab5003f6fa03c24d339fd045a0c8812", "spanId": "fce7f653ec0c4710", "parentSpanId": "d2d2dea815fae755", "startTimeUnixNano": "1796073520164363716", "endTimeUnixNano": "1796073520165423102", "durationMs": 1.059386, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007354}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ab5003f6fa03c24d339fd045a0c8812", "spanId": "26619fb32a0a69a2", "parentSpanId": "d2d2dea815fae755", "startTimeUnixNano": "1796073520165463538", "endTimeUnixNano": "1796073520166421985", "durationMs": 0.958447, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013204}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ab5003f6fa03c24d339fd045a0c8812", "spanId": "b9e547ffe32354c8", "parentSpanId": "d2d2dea815fae755", "startTimeUnixNano": "1796073520172077132", "endTimeUnixNano": "1796073520173478225", "durationMs": 1.401093, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011712}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1ab5003f6fa03c24d339fd045a0c8812", "spanId": "d2d2dea815fae755", "parentSpanId": "ecc3985bc8f070ee", "startTimeUnixNano": "1796073520164211432", "endTimeUnixNano": "1796073520173703926", "durationMs": 9.492494, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1ab5003f6fa03c24d339fd045a0c8812", "spanId": "191a125f96071d0f", "parentSpanId": "ecc3985bc8f070ee", "startTimeUnixNano": "1796073520173719966", "endTimeUnixNano": "1796073520173947921", "durationMs": 0.227955, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1ab5003f6fa03c24d339fd045a0c8812", "spanId": "ecc3985bc8f070ee", "parentSpanId": "80a00fdfbf3b5021", "startTimeUnixNano": "1796073520162771126", "endTimeUnixNano": "1796073520173964052", "durationMs": 11.192926, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.200359, "db.connection": "reader", "db.lock_wait_ms": 1.175}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1ab5003f6fa03c24d339fd045a0c8812", "spanId": "80a00fdfbf3b5021", "parentSpanId": "73e447dd3e579bf6", "startTimeUnixNano": "1796073520162764624", "endTimeUnixNano": "1796073520173976855", "durationMs": 11.212231, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1ab5003f6fa03c24d339fd045a0c8812", "spanId": "73e447dd3e579bf6", "parentSpanId": "6233b2e5dd0c7fda", "startTimeUnixNano": "1796073520162734087", "endTimeUnixNano": "1796073520173981795", "durationMs": 11.247708, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1ab5003f6fa03c24d339fd045a0c8812", "spanId": "6233b2e5dd0c7fda", "startTimeUnixNano": "1796073520162720973", "endTimeUnixNano": "1796073520173988016", "durationMs": 11.267043, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "38e985dabba86fdbe87aac45145a4bd0", "spanId": "64f865a5c9024a2a", "parentSpanId": "afff33c2e8780219", "startTimeUnixNano": "1796073521418553424", "endTimeUnixNano": "1796073521419168601", "durationMs": 0.615177, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "38e985dabba86fdbe87aac45145a4bd0", "spanId": "94d62425f65e4de1", "parentSpanId": "464462cace36a6a4", "startTimeUnixNano": "1796073521419204328", "endTimeUnixNano": "1796073521419617839", "durationMs": 0.413511, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004468}}
{"type": "effect-span", "name": "sqlite", "traceId": "38e985dabba86fdbe87aac45145a4bd0", "spanId": "3b03560f39bb5c2f", "parentSpanId": "464462cace36a6a4", "startTimeUnixNano": "1796073521419685004", "endTimeUnixNano": "1796073521420686582", "durationMs": 1.001578, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008576}}
{"type": "effect-span", "name": "sqlite", "traceId": "38e985dabba86fdbe87aac45145a4bd0", "spanId": "ba25f5273d48001a", "parentSpanId": "464462cace36a6a4", "startTimeUnixNano": "1796073521420700268", "endTimeUnixNano": "1796073521423916276", "durationMs": 3.216008, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006021}}
{"type": "effect-span", "name": "sqlite", "traceId": "38e985dabba86fdbe87aac45145a4bd0", "spanId": "9e5dd9e28e8eb01f", "parentSpanId": "464462cace36a6a4", "startTimeUnixNano": "1796073521429383803", "endTimeUnixNano": "1796073521430823108", "durationMs": 1.439305, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008556}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "38e985dabba86fdbe87aac45145a4bd0", "spanId": "464462cace36a6a4", "parentSpanId": "afff33c2e8780219", "startTimeUnixNano": "1796073521419198878", "endTimeUnixNano": "1796073521431098912", "durationMs": 11.900034, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "38e985dabba86fdbe87aac45145a4bd0", "spanId": "78442e13b388ad98", "parentSpanId": "afff33c2e8780219", "startTimeUnixNano": "1796073521431124560", "endTimeUnixNano": "1796073521431366091", "durationMs": 0.241531, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "38e985dabba86fdbe87aac45145a4bd0", "spanId": "afff33c2e8780219", "parentSpanId": "159d5f25db009330", "startTimeUnixNano": "1796073521417197054", "endTimeUnixNano": "1796073521431384325", "durationMs": 14.187271, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.352563, "db.connection": "reader", "db.lock_wait_ms": 1.319}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "38e985dabba86fdbe87aac45145a4bd0", "spanId": "159d5f25db009330", "parentSpanId": "e208b0956f850143", "startTimeUnixNano": "1796073521417190051", "endTimeUnixNano": "1796073521431400184", "durationMs": 14.210133, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "38e985dabba86fdbe87aac45145a4bd0", "spanId": "e208b0956f850143", "parentSpanId": "3b82422ea17aab0c", "startTimeUnixNano": "1796073521417153002", "endTimeUnixNano": "1796073521431407177", "durationMs": 14.254175, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "38e985dabba86fdbe87aac45145a4bd0", "spanId": "3b82422ea17aab0c", "startTimeUnixNano": "1796073521417138936", "endTimeUnixNano": "1796073521431416084", "durationMs": 14.277148, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e2302318cf53badcfd84bc1e34d3f814", "spanId": "d25725e1963bede1", "parentSpanId": "016ae5e47e0d06fd", "startTimeUnixNano": "1796073521627670067", "endTimeUnixNano": "1796073521627811360", "durationMs": 0.141293, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e2302318cf53badcfd84bc1e34d3f814", "spanId": "bf983ec8a2d823dc", "parentSpanId": "d8b70e333b6c35f5", "startTimeUnixNano": "1796073521627849331", "endTimeUnixNano": "1796073521628143099", "durationMs": 0.293768, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005831}}
{"type": "effect-span", "name": "sqlite", "traceId": "e2302318cf53badcfd84bc1e34d3f814", "spanId": "d57c6c8c0e613982", "parentSpanId": "d8b70e333b6c35f5", "startTimeUnixNano": "1796073521628219732", "endTimeUnixNano": "1796073521629120772", "durationMs": 0.90104, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009347}}
{"type": "effect-span", "name": "sqlite", "traceId": "e2302318cf53badcfd84bc1e34d3f814", "spanId": "69577a358ba82e37", "parentSpanId": "d8b70e333b6c35f5", "startTimeUnixNano": "1796073521629145048", "endTimeUnixNano": "1796073521630032112", "durationMs": 0.887064, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010229}}
{"type": "effect-span", "name": "sqlite", "traceId": "e2302318cf53badcfd84bc1e34d3f814", "spanId": "69d282ba6b378b17", "parentSpanId": "d8b70e333b6c35f5", "startTimeUnixNano": "1796073521636708865", "endTimeUnixNano": "1796073521638240291", "durationMs": 1.531426, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009878}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e2302318cf53badcfd84bc1e34d3f814", "spanId": "d8b70e333b6c35f5", "parentSpanId": "016ae5e47e0d06fd", "startTimeUnixNano": "1796073521627844161", "endTimeUnixNano": "1796073521638500857", "durationMs": 10.656696, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e2302318cf53badcfd84bc1e34d3f814", "spanId": "73527431615f5d12", "parentSpanId": "016ae5e47e0d06fd", "startTimeUnixNano": "1796073521638516576", "endTimeUnixNano": "1796073521638730856", "durationMs": 0.21428, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e2302318cf53badcfd84bc1e34d3f814", "spanId": "016ae5e47e0d06fd", "parentSpanId": "1a7a46ed04658df9", "startTimeUnixNano": "1796073521626135534", "endTimeUnixNano": "1796073521638748619", "durationMs": 12.613085, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.530154, "db.connection": "reader", "db.lock_wait_ms": 1.502}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e2302318cf53badcfd84bc1e34d3f814", "spanId": "1a7a46ed04658df9", "parentSpanId": "5fefc06ff65b9e69", "startTimeUnixNano": "1796073521626128111", "endTimeUnixNano": "1796073521638763697", "durationMs": 12.635586, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e2302318cf53badcfd84bc1e34d3f814", "spanId": "5fefc06ff65b9e69", "parentSpanId": "ed5f933b64a418fd", "startTimeUnixNano": "1796073521626098776", "endTimeUnixNano": "1796073521638770019", "durationMs": 12.671243, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e2302318cf53badcfd84bc1e34d3f814", "spanId": "ed5f933b64a418fd", "startTimeUnixNano": "1796073521626083067", "endTimeUnixNano": "1796073521638777994", "durationMs": 12.694927, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6198196a0c7c88a9e9a2357ceb890a18", "spanId": "6c6476bcacdf9649", "parentSpanId": "9d7a2e12ce3f39aa", "startTimeUnixNano": "1796073523001214301", "endTimeUnixNano": "1796073523001954451", "durationMs": 0.74015, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6198196a0c7c88a9e9a2357ceb890a18", "spanId": "0d407d7f8300b3c6", "parentSpanId": "e0d7aa46aea3f9ba", "startTimeUnixNano": "1796073523001991280", "endTimeUnixNano": "1796073523002741669", "durationMs": 0.750389, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004959}}
{"type": "effect-span", "name": "sqlite", "traceId": "6198196a0c7c88a9e9a2357ceb890a18", "spanId": "3897498df8e2c48d", "parentSpanId": "e0d7aa46aea3f9ba", "startTimeUnixNano": "1796073523002838480", "endTimeUnixNano": "1796073523004083482", "durationMs": 1.245002, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015609}}
{"type": "effect-span", "name": "sqlite", "traceId": "6198196a0c7c88a9e9a2357ceb890a18", "spanId": "651c7561787384ff", "parentSpanId": "e0d7aa46aea3f9ba", "startTimeUnixNano": "1796073523004095495", "endTimeUnixNano": "1796073523005323024", "durationMs": 1.227529, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008716}}
{"type": "effect-span", "name": "sqlite", "traceId": "6198196a0c7c88a9e9a2357ceb890a18", "spanId": "f6e7934bc133de3d", "parentSpanId": "e0d7aa46aea3f9ba", "startTimeUnixNano": "1796073523013107223", "endTimeUnixNano": "1796073523015097355", "durationMs": 1.990132, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025508}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6198196a0c7c88a9e9a2357ceb890a18", "spanId": "e0d7aa46aea3f9ba", "parentSpanId": "9d7a2e12ce3f39aa", "startTimeUnixNano": "1796073523001985689", "endTimeUnixNano": "1796073523015359935", "durationMs": 13.374246, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6198196a0c7c88a9e9a2357ceb890a18", "spanId": "daca50b8c76175b1", "parentSpanId": "9d7a2e12ce3f39aa", "startTimeUnixNano": "1796073523015378108", "endTimeUnixNano": "1796073523015583942", "durationMs": 0.205834, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6198196a0c7c88a9e9a2357ceb890a18", "spanId": "9d7a2e12ce3f39aa", "parentSpanId": "1696d10dbccc7d37", "startTimeUnixNano": "1796073522999523878", "endTimeUnixNano": "1796073523015608699", "durationMs": 16.084821, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.686295, "db.connection": "reader", "db.lock_wait_ms": 1.595}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6198196a0c7c88a9e9a2357ceb890a18", "spanId": "1696d10dbccc7d37", "parentSpanId": "2226993f3ffc09e4", "startTimeUnixNano": "1796073522999513919", "endTimeUnixNano": "1796073523015626782", "durationMs": 16.112863, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6198196a0c7c88a9e9a2357ceb890a18", "spanId": "2226993f3ffc09e4", "parentSpanId": "24f5884fbc38c0d2", "startTimeUnixNano": "1796073522999411107", "endTimeUnixNano": "1796073523015634527", "durationMs": 16.22342, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6198196a0c7c88a9e9a2357ceb890a18", "spanId": "24f5884fbc38c0d2", "startTimeUnixNano": "1796073522999389627", "endTimeUnixNano": "1796073523015644656", "durationMs": 16.255029, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "19f88a25449d51bdfa60d61ee23863a7", "spanId": "4fc1ba43707227ff", "parentSpanId": "072ea64d5de0632b", "startTimeUnixNano": "1796073523195373829", "endTimeUnixNano": "1796073523195785056", "durationMs": 0.411227, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "19f88a25449d51bdfa60d61ee23863a7", "spanId": "a6126ecf5cf8e318", "parentSpanId": "be58a4acad5b4aeb", "startTimeUnixNano": "1796073523195818449", "endTimeUnixNano": "1796073523195977906", "durationMs": 0.159457, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004819}}
{"type": "effect-span", "name": "sqlite", "traceId": "19f88a25449d51bdfa60d61ee23863a7", "spanId": "4dfcdf94980ae14e", "parentSpanId": "be58a4acad5b4aeb", "startTimeUnixNano": "1796073523196047997", "endTimeUnixNano": "1796073523196919612", "durationMs": 0.871615, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008576}}
{"type": "effect-span", "name": "sqlite", "traceId": "19f88a25449d51bdfa60d61ee23863a7", "spanId": "04a43aecc4d10ed2", "parentSpanId": "be58a4acad5b4aeb", "startTimeUnixNano": "1796073523196955700", "endTimeUnixNano": "1796073523197747136", "durationMs": 0.791436, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007704}}
{"type": "effect-span", "name": "sqlite", "traceId": "19f88a25449d51bdfa60d61ee23863a7", "spanId": "93aa53f9b7ad33b4", "parentSpanId": "be58a4acad5b4aeb", "startTimeUnixNano": "1796073523202898163", "endTimeUnixNano": "1796073523210489993", "durationMs": 7.59183, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009328}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "19f88a25449d51bdfa60d61ee23863a7", "spanId": "be58a4acad5b4aeb", "parentSpanId": "072ea64d5de0632b", "startTimeUnixNano": "1796073523195812928", "endTimeUnixNano": "1796073523210854954", "durationMs": 15.042026, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "19f88a25449d51bdfa60d61ee23863a7", "spanId": "a9fdf51aec3810c4", "parentSpanId": "072ea64d5de0632b", "startTimeUnixNano": "1796073523210880061", "endTimeUnixNano": "1796073523214055183", "durationMs": 3.175122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "19f88a25449d51bdfa60d61ee23863a7", "spanId": "072ea64d5de0632b", "parentSpanId": "befda5ab1edb2e0d", "startTimeUnixNano": "1796073523192671209", "endTimeUnixNano": "1796073523214082424", "durationMs": 21.411215, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.69705, "db.connection": "reader", "db.lock_wait_ms": 2.67}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "19f88a25449d51bdfa60d61ee23863a7", "spanId": "befda5ab1edb2e0d", "parentSpanId": "430177d1ee901de8", "startTimeUnixNano": "1796073523192663584", "endTimeUnixNano": "1796073523214099706", "durationMs": 21.436122, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "19f88a25449d51bdfa60d61ee23863a7", "spanId": "430177d1ee901de8", "parentSpanId": "a6109776b2d39a35", "startTimeUnixNano": "1796073523192633478", "endTimeUnixNano": "1796073523214106960", "durationMs": 21.473482, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "19f88a25449d51bdfa60d61ee23863a7", "spanId": "a6109776b2d39a35", "startTimeUnixNano": "1796073523192619883", "endTimeUnixNano": "1796073523214118571", "durationMs": 21.498688, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f32a35d6496a9f12acc5f2b665170dfc", "spanId": "f90283cd695993c1", "parentSpanId": "010dcf35c2816fcd", "startTimeUnixNano": "1796073524609609304", "endTimeUnixNano": "1796073524610411160", "durationMs": 0.801856, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f32a35d6496a9f12acc5f2b665170dfc", "spanId": "be8be8ec4ba6a2dc", "parentSpanId": "c5594d760975c00e", "startTimeUnixNano": "1796073524610473376", "endTimeUnixNano": "1796073524611211303", "durationMs": 0.737927, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006572}}
{"type": "effect-span", "name": "sqlite", "traceId": "f32a35d6496a9f12acc5f2b665170dfc", "spanId": "4ec64dbc840055aa", "parentSpanId": "c5594d760975c00e", "startTimeUnixNano": "1796073524611295700", "endTimeUnixNano": "1796073524612808431", "durationMs": 1.512731, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013826}}
{"type": "effect-span", "name": "sqlite", "traceId": "f32a35d6496a9f12acc5f2b665170dfc", "spanId": "7e94a788853f5d38", "parentSpanId": "c5594d760975c00e", "startTimeUnixNano": "1796073524612835402", "endTimeUnixNano": "1796073524614161625", "durationMs": 1.326223, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01079}}
{"type": "effect-span", "name": "sqlite", "traceId": "f32a35d6496a9f12acc5f2b665170dfc", "spanId": "1a89edb8122a67c5", "parentSpanId": "c5594d760975c00e", "startTimeUnixNano": "1796073524621492930", "endTimeUnixNano": "1796073524623585222", "durationMs": 2.092292, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011621}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f32a35d6496a9f12acc5f2b665170dfc", "spanId": "c5594d760975c00e", "parentSpanId": "010dcf35c2816fcd", "startTimeUnixNano": "1796073524610464840", "endTimeUnixNano": "1796073524623867719", "durationMs": 13.402879, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f32a35d6496a9f12acc5f2b665170dfc", "spanId": "61c049dff881eb15", "parentSpanId": "010dcf35c2816fcd", "startTimeUnixNano": "1796073524623887055", "endTimeUnixNano": "1796073524624117996", "durationMs": 0.230941, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f32a35d6496a9f12acc5f2b665170dfc", "spanId": "010dcf35c2816fcd", "parentSpanId": "fef01d0759838d0f", "startTimeUnixNano": "1796073524608072067", "endTimeUnixNano": "1796073524624134777", "durationMs": 16.06271, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.532298, "db.connection": "reader", "db.lock_wait_ms": 1.493}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f32a35d6496a9f12acc5f2b665170dfc", "spanId": "fef01d0759838d0f", "parentSpanId": "e792cd1a8a0a220f", "startTimeUnixNano": "1796073524608061287", "endTimeUnixNano": "1796073524624150496", "durationMs": 16.089209, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f32a35d6496a9f12acc5f2b665170dfc", "spanId": "e792cd1a8a0a220f", "parentSpanId": "8aa106a822db4257", "startTimeUnixNano": "1796073524608012276", "endTimeUnixNano": "1796073524624156618", "durationMs": 16.144342, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f32a35d6496a9f12acc5f2b665170dfc", "spanId": "8aa106a822db4257", "startTimeUnixNano": "1796073524607990495", "endTimeUnixNano": "1796073524624164953", "durationMs": 16.174458, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7f1f700e7b8fc76869f54736af72667e", "spanId": "822809c1c22ca3d2", "parentSpanId": "ad2a7a91467d1c31", "startTimeUnixNano": "1796073524848428408", "endTimeUnixNano": "1796073524848700035", "durationMs": 0.271627, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f1f700e7b8fc76869f54736af72667e", "spanId": "729e137ed55046a9", "parentSpanId": "af0301cc6ab65422", "startTimeUnixNano": "1796073524848733206", "endTimeUnixNano": "1796073524848870743", "durationMs": 0.137537, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004399}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f1f700e7b8fc76869f54736af72667e", "spanId": "f48ba9913056a53c", "parentSpanId": "af0301cc6ab65422", "startTimeUnixNano": "1796073524848933851", "endTimeUnixNano": "1796073524849961327", "durationMs": 1.027476, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007714}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f1f700e7b8fc76869f54736af72667e", "spanId": "dbb76c5d5062e0e1", "parentSpanId": "af0301cc6ab65422", "startTimeUnixNano": "1796073524849978790", "endTimeUnixNano": "1796073524851132031", "durationMs": 1.153241, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006862}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f1f700e7b8fc76869f54736af72667e", "spanId": "7fddd53845bdf6ff", "parentSpanId": "af0301cc6ab65422", "startTimeUnixNano": "1796073524858377395", "endTimeUnixNano": "1796073524859972670", "durationMs": 1.595275, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.02711}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7f1f700e7b8fc76869f54736af72667e", "spanId": "af0301cc6ab65422", "parentSpanId": "ad2a7a91467d1c31", "startTimeUnixNano": "1796073524848727666", "endTimeUnixNano": "1796073524860218389", "durationMs": 11.490723, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7f1f700e7b8fc76869f54736af72667e", "spanId": "50069e4dac5845e0", "parentSpanId": "ad2a7a91467d1c31", "startTimeUnixNano": "1796073524860231553", "endTimeUnixNano": "1796073524860515753", "durationMs": 0.2842, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7f1f700e7b8fc76869f54736af72667e", "spanId": "ad2a7a91467d1c31", "parentSpanId": "b653a7822c11b2e5", "startTimeUnixNano": "1796073524847093748", "endTimeUnixNano": "1796073524860532595", "durationMs": 13.438847, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.331063, "db.connection": "reader", "db.lock_wait_ms": 1.303}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7f1f700e7b8fc76869f54736af72667e", "spanId": "b653a7822c11b2e5", "parentSpanId": "7e396470a035945c", "startTimeUnixNano": "1796073524847086525", "endTimeUnixNano": "1796073524860545729", "durationMs": 13.459204, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7f1f700e7b8fc76869f54736af72667e", "spanId": "7e396470a035945c", "parentSpanId": "26700de94f5529c7", "startTimeUnixNano": "1796073524847056118", "endTimeUnixNano": "1796073524860551009", "durationMs": 13.494891, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7f1f700e7b8fc76869f54736af72667e", "spanId": "26700de94f5529c7", "startTimeUnixNano": "1796073524847042803", "endTimeUnixNano": "1796073524860558092", "durationMs": 13.515289, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8fba903f22be56f2057c5484bbadee2d", "spanId": "3efb220a69523867", "parentSpanId": "a058de1e909faf3c", "startTimeUnixNano": "1796073526173199403", "endTimeUnixNano": "1796073526173880584", "durationMs": 0.681181, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8fba903f22be56f2057c5484bbadee2d", "spanId": "0ce3a93a05650503", "parentSpanId": "0dcc580188020ee2", "startTimeUnixNano": "1796073526173917403", "endTimeUnixNano": "1796073526174610966", "durationMs": 0.693563, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004859}}
{"type": "effect-span", "name": "sqlite", "traceId": "8fba903f22be56f2057c5484bbadee2d", "spanId": "7cf793992d435678", "parentSpanId": "0dcc580188020ee2", "startTimeUnixNano": "1796073526174704000", "endTimeUnixNano": "1796073526175795496", "durationMs": 1.091496, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014637}}
{"type": "effect-span", "name": "sqlite", "traceId": "8fba903f22be56f2057c5484bbadee2d", "spanId": "ad557d6c7e220d12", "parentSpanId": "0dcc580188020ee2", "startTimeUnixNano": "1796073526175815032", "endTimeUnixNano": "1796073526176602170", "durationMs": 0.787138, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011952}}
{"type": "effect-span", "name": "sqlite", "traceId": "8fba903f22be56f2057c5484bbadee2d", "spanId": "fb211461bcd3a8ae", "parentSpanId": "0dcc580188020ee2", "startTimeUnixNano": "1796073526184385027", "endTimeUnixNano": "1796073526185901877", "durationMs": 1.51685, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01596}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8fba903f22be56f2057c5484bbadee2d", "spanId": "0dcc580188020ee2", "parentSpanId": "a058de1e909faf3c", "startTimeUnixNano": "1796073526173911812", "endTimeUnixNano": "1796073526186183482", "durationMs": 12.27167, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8fba903f22be56f2057c5484bbadee2d", "spanId": "ae5c17ab6c20c0e5", "parentSpanId": "a058de1e909faf3c", "startTimeUnixNano": "1796073526186213668", "endTimeUnixNano": "1796073526188087684", "durationMs": 1.874016, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8fba903f22be56f2057c5484bbadee2d", "spanId": "a058de1e909faf3c", "parentSpanId": "20890ac2b166cc0e", "startTimeUnixNano": "1796073526171859013", "endTimeUnixNano": "1796073526188118912", "durationMs": 16.259899, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.336984, "db.connection": "reader", "db.lock_wait_ms": 1.304}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8fba903f22be56f2057c5484bbadee2d", "spanId": "20890ac2b166cc0e", "parentSpanId": "339321057fff0c10", "startTimeUnixNano": "1796073526171851609", "endTimeUnixNano": "1796073526188142656", "durationMs": 16.291047, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8fba903f22be56f2057c5484bbadee2d", "spanId": "339321057fff0c10", "parentSpanId": "84ba21a9f3d47712", "startTimeUnixNano": "1796073526171809711", "endTimeUnixNano": "1796073526188153186", "durationMs": 16.343475, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8fba903f22be56f2057c5484bbadee2d", "spanId": "84ba21a9f3d47712", "startTimeUnixNano": "1796073526171793942", "endTimeUnixNano": "1796073526188165178", "durationMs": 16.371236, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "aa6eb41b9e5ee41937c02e784eb8abb5", "spanId": "65b692b3b04f3604", "parentSpanId": "05a72d3426c63d35", "startTimeUnixNano": "1796073526407012264", "endTimeUnixNano": "1796073526407226193", "durationMs": 0.213929, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa6eb41b9e5ee41937c02e784eb8abb5", "spanId": "e8656455a0d2a062", "parentSpanId": "6234190f784108b6", "startTimeUnixNano": "1796073526407258313", "endTimeUnixNano": "1796073526407462975", "durationMs": 0.204662, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004769}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa6eb41b9e5ee41937c02e784eb8abb5", "spanId": "3bff97202bcc2e50", "parentSpanId": "6234190f784108b6", "startTimeUnixNano": "1796073526407528056", "endTimeUnixNano": "1796073526409512558", "durationMs": 1.984502, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009258}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa6eb41b9e5ee41937c02e784eb8abb5", "spanId": "ad2ab25fdf22b52d", "parentSpanId": "6234190f784108b6", "startTimeUnixNano": "1796073526409572079", "endTimeUnixNano": "1796073526410689884", "durationMs": 1.117805, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.023063}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa6eb41b9e5ee41937c02e784eb8abb5", "spanId": "7e1e6d75d23a59ef", "parentSpanId": "6234190f784108b6", "startTimeUnixNano": "1796073526416641365", "endTimeUnixNano": "1796073526422113532", "durationMs": 5.472167, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013455}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "aa6eb41b9e5ee41937c02e784eb8abb5", "spanId": "6234190f784108b6", "parentSpanId": "05a72d3426c63d35", "startTimeUnixNano": "1796073526407253003", "endTimeUnixNano": "1796073526422332841", "durationMs": 15.079838, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "aa6eb41b9e5ee41937c02e784eb8abb5", "spanId": "ef895de76d72f9eb", "parentSpanId": "05a72d3426c63d35", "startTimeUnixNano": "1796073526422347749", "endTimeUnixNano": "1796073526422613865", "durationMs": 0.266116, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "aa6eb41b9e5ee41937c02e784eb8abb5", "spanId": "05a72d3426c63d35", "parentSpanId": "a62909de4571d24a", "startTimeUnixNano": "1796073526405480507", "endTimeUnixNano": "1796073526422634904", "durationMs": 17.154397, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.528992, "db.connection": "reader", "db.lock_wait_ms": 1.501}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "aa6eb41b9e5ee41937c02e784eb8abb5", "spanId": "a62909de4571d24a", "parentSpanId": "a61f51a0d4f79d03", "startTimeUnixNano": "1796073526405473624", "endTimeUnixNano": "1796073526422647899", "durationMs": 17.174275, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "aa6eb41b9e5ee41937c02e784eb8abb5", "spanId": "a61f51a0d4f79d03", "parentSpanId": "604efaae08a0e805", "startTimeUnixNano": "1796073526405429101", "endTimeUnixNano": "1796073526422652046", "durationMs": 17.222945, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "aa6eb41b9e5ee41937c02e784eb8abb5", "spanId": "604efaae08a0e805", "startTimeUnixNano": "1796073526405418011", "endTimeUnixNano": "1796073526422658178", "durationMs": 17.240167, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "32d1c778967936eab0076a892fa90013", "spanId": "009466b1c12978f0", "parentSpanId": "124a6d2cfd42a1a6", "startTimeUnixNano": "1796073527667071340", "endTimeUnixNano": "1796073527667274980", "durationMs": 0.20364, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "32d1c778967936eab0076a892fa90013", "spanId": "a832bf35227c62d6", "parentSpanId": "4b2ac69369d8d13f", "startTimeUnixNano": "1796073527667309083", "endTimeUnixNano": "1796073527667929821", "durationMs": 0.620738, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005731}}
{"type": "effect-span", "name": "sqlite", "traceId": "32d1c778967936eab0076a892fa90013", "spanId": "d06b98b31cbb272a", "parentSpanId": "4b2ac69369d8d13f", "startTimeUnixNano": "1796073527668003488", "endTimeUnixNano": "1796073527669379405", "durationMs": 1.375917, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010009}}
{"type": "effect-span", "name": "sqlite", "traceId": "32d1c778967936eab0076a892fa90013", "spanId": "d88b1869c5396aa9", "parentSpanId": "4b2ac69369d8d13f", "startTimeUnixNano": "1796073527669402668", "endTimeUnixNano": "1796073527670554216", "durationMs": 1.151548, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010279}}
{"type": "effect-span", "name": "sqlite", "traceId": "32d1c778967936eab0076a892fa90013", "spanId": "56e20dd844f81784", "parentSpanId": "4b2ac69369d8d13f", "startTimeUnixNano": "1796073527677883647", "endTimeUnixNano": "1796073527679682773", "durationMs": 1.799126, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008646}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "32d1c778967936eab0076a892fa90013", "spanId": "4b2ac69369d8d13f", "parentSpanId": "124a6d2cfd42a1a6", "startTimeUnixNano": "1796073527667303022", "endTimeUnixNano": "1796073527679913604", "durationMs": 12.610582, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "32d1c778967936eab0076a892fa90013", "spanId": "9d6e5e8dd3d9b5bc", "parentSpanId": "124a6d2cfd42a1a6", "startTimeUnixNano": "1796073527679930064", "endTimeUnixNano": "1796073527680220676", "durationMs": 0.290612, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "32d1c778967936eab0076a892fa90013", "spanId": "124a6d2cfd42a1a6", "parentSpanId": "bd56ab2f61de1209", "startTimeUnixNano": "1796073527665388090", "endTimeUnixNano": "1796073527680241305", "durationMs": 14.853215, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.679543, "db.connection": "reader", "db.lock_wait_ms": 1.647}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "32d1c778967936eab0076a892fa90013", "spanId": "bd56ab2f61de1209", "parentSpanId": "25e08f0c4771fe5d", "startTimeUnixNano": "1796073527665379244", "endTimeUnixNano": "1796073527680268255", "durationMs": 14.889011, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "32d1c778967936eab0076a892fa90013", "spanId": "25e08f0c4771fe5d", "parentSpanId": "4ef79a8ebd593728", "startTimeUnixNano": "1796073527665344058", "endTimeUnixNano": "1796073527680274397", "durationMs": 14.930339, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "32d1c778967936eab0076a892fa90013", "spanId": "4ef79a8ebd593728", "startTimeUnixNano": "1796073527665331324", "endTimeUnixNano": "1796073527680280508", "durationMs": 14.949184, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "550d2b22faec49d1ac87d7f2a82c42e5", "spanId": "b6f61ce2c2fcb959", "parentSpanId": "2becd96851ace8fb", "startTimeUnixNano": "1796073527868685526", "endTimeUnixNano": "1796073527868991607", "durationMs": 0.306081, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "550d2b22faec49d1ac87d7f2a82c42e5", "spanId": "bcb69791169c151e", "parentSpanId": "4b4f8cc82fa0276d", "startTimeUnixNano": "1796073527869030339", "endTimeUnixNano": "1796073527869218079", "durationMs": 0.18774, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004408}}
{"type": "effect-span", "name": "sqlite", "traceId": "550d2b22faec49d1ac87d7f2a82c42e5", "spanId": "a406167e98069f42", "parentSpanId": "4b4f8cc82fa0276d", "startTimeUnixNano": "1796073527869278943", "endTimeUnixNano": "1796073527870258340", "durationMs": 0.979397, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007734}}
{"type": "effect-span", "name": "sqlite", "traceId": "550d2b22faec49d1ac87d7f2a82c42e5", "spanId": "aa3e1cec02fba8bf", "parentSpanId": "4b4f8cc82fa0276d", "startTimeUnixNano": "1796073527870269611", "endTimeUnixNano": "1796073527871223530", "durationMs": 0.953919, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005801}}
{"type": "effect-span", "name": "sqlite", "traceId": "550d2b22faec49d1ac87d7f2a82c42e5", "spanId": "029f10d3ab410024", "parentSpanId": "4b4f8cc82fa0276d", "startTimeUnixNano": "1796073527876482910", "endTimeUnixNano": "1796073527878135263", "durationMs": 1.652353, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010199}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "550d2b22faec49d1ac87d7f2a82c42e5", "spanId": "4b4f8cc82fa0276d", "parentSpanId": "2becd96851ace8fb", "startTimeUnixNano": "1796073527869024218", "endTimeUnixNano": "1796073527878384187", "durationMs": 9.359969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "550d2b22faec49d1ac87d7f2a82c42e5", "spanId": "353950aa14d20433", "parentSpanId": "2becd96851ace8fb", "startTimeUnixNano": "1796073527878398504", "endTimeUnixNano": "1796073527878578890", "durationMs": 0.180386, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "550d2b22faec49d1ac87d7f2a82c42e5", "spanId": "2becd96851ace8fb", "parentSpanId": "1bd859715448fa92", "startTimeUnixNano": "1796073527867536533", "endTimeUnixNano": "1796073527878595411", "durationMs": 11.058878, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.145316, "db.connection": "reader", "db.lock_wait_ms": 1.118}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "550d2b22faec49d1ac87d7f2a82c42e5", "spanId": "1bd859715448fa92", "parentSpanId": "9bfe33b24f5ffbc8", "startTimeUnixNano": "1796073527867529911", "endTimeUnixNano": "1796073527878609457", "durationMs": 11.079546, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "550d2b22faec49d1ac87d7f2a82c42e5", "spanId": "9bfe33b24f5ffbc8", "parentSpanId": "db99ec74c3c36540", "startTimeUnixNano": "1796073527867502419", "endTimeUnixNano": "1796073527878616821", "durationMs": 11.114402, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "550d2b22faec49d1ac87d7f2a82c42e5", "spanId": "db99ec74c3c36540", "startTimeUnixNano": "1796073527867486950", "endTimeUnixNano": "1796073527878625397", "durationMs": 11.138447, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7e3b6d1ac214247002b9357a43fe8606", "spanId": "9cb5246e471eea05", "parentSpanId": "167a6e3feb781e59", "startTimeUnixNano": "1796073529128184995", "endTimeUnixNano": "1796073529128826421", "durationMs": 0.641426, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e3b6d1ac214247002b9357a43fe8606", "spanId": "315ddc04f291a7e1", "parentSpanId": "fef5c0b72e66ab7a", "startTimeUnixNano": "1796073529128860194", "endTimeUnixNano": "1796073529129457468", "durationMs": 0.597274, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004548}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e3b6d1ac214247002b9357a43fe8606", "spanId": "e92e7c9e0b559430", "parentSpanId": "fef5c0b72e66ab7a", "startTimeUnixNano": "1796073529129524193", "endTimeUnixNano": "1796073529130564283", "durationMs": 1.04009, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008004}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e3b6d1ac214247002b9357a43fe8606", "spanId": "36b4ea2647a78171", "parentSpanId": "fef5c0b72e66ab7a", "startTimeUnixNano": "1796073529130585833", "endTimeUnixNano": "1796073529131501220", "durationMs": 0.915387, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007935}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e3b6d1ac214247002b9357a43fe8606", "spanId": "a5ac7b219d510d95", "parentSpanId": "fef5c0b72e66ab7a", "startTimeUnixNano": "1796073529138906865", "endTimeUnixNano": "1796073529141142004", "durationMs": 2.235139, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009137}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7e3b6d1ac214247002b9357a43fe8606", "spanId": "fef5c0b72e66ab7a", "parentSpanId": "167a6e3feb781e59", "startTimeUnixNano": "1796073529128854714", "endTimeUnixNano": "1796073529141397571", "durationMs": 12.542857, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7e3b6d1ac214247002b9357a43fe8606", "spanId": "45f968193c5dcfae", "parentSpanId": "167a6e3feb781e59", "startTimeUnixNano": "1796073529141415955", "endTimeUnixNano": "1796073529141634082", "durationMs": 0.218127, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7e3b6d1ac214247002b9357a43fe8606", "spanId": "167a6e3feb781e59", "parentSpanId": "c843c6aaff4395d3", "startTimeUnixNano": "1796073529126938990", "endTimeUnixNano": "1796073529141658788", "durationMs": 14.719798, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.242388, "db.connection": "reader", "db.lock_wait_ms": 1.212}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7e3b6d1ac214247002b9357a43fe8606", "spanId": "c843c6aaff4395d3", "parentSpanId": "7400feaa6d601d55", "startTimeUnixNano": "1796073529126931637", "endTimeUnixNano": "1796073529141683013", "durationMs": 14.751376, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7e3b6d1ac214247002b9357a43fe8606", "spanId": "7400feaa6d601d55", "parentSpanId": "926f9234839c8683", "startTimeUnixNano": "1796073529126891993", "endTimeUnixNano": "1796073529141693302", "durationMs": 14.801309, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7e3b6d1ac214247002b9357a43fe8606", "spanId": "926f9234839c8683", "startTimeUnixNano": "1796073529126877786", "endTimeUnixNano": "1796073529141713079", "durationMs": 14.835293, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "16c000d79222ece87e1fc622121e35ac", "spanId": "49339f4c574ef427", "parentSpanId": "d6b89f2c6f47750c", "startTimeUnixNano": "1796073529319389558", "endTimeUnixNano": "1796073529319659411", "durationMs": 0.269853, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "16c000d79222ece87e1fc622121e35ac", "spanId": "d907a5bcd688094a", "parentSpanId": "e4142c7a5f7d5f8a", "startTimeUnixNano": "1796073529319691812", "endTimeUnixNano": "1796073529319830220", "durationMs": 0.138408, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004118}}
{"type": "effect-span", "name": "sqlite", "traceId": "16c000d79222ece87e1fc622121e35ac", "spanId": "a848acef08ed838f", "parentSpanId": "e4142c7a5f7d5f8a", "startTimeUnixNano": "1796073529319887517", "endTimeUnixNano": "1796073529320673924", "durationMs": 0.786407, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007915}}
{"type": "effect-span", "name": "sqlite", "traceId": "16c000d79222ece87e1fc622121e35ac", "spanId": "9eed5ea3ce24180d", "parentSpanId": "e4142c7a5f7d5f8a", "startTimeUnixNano": "1796073529320688421", "endTimeUnixNano": "1796073529321616312", "durationMs": 0.927891, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.00522}}
{"type": "effect-span", "name": "sqlite", "traceId": "16c000d79222ece87e1fc622121e35ac", "spanId": "b83fa2363ec96967", "parentSpanId": "e4142c7a5f7d5f8a", "startTimeUnixNano": "1796073529326776597", "endTimeUnixNano": "1796073529329980524", "durationMs": 3.203927, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009979}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "16c000d79222ece87e1fc622121e35ac", "spanId": "e4142c7a5f7d5f8a", "parentSpanId": "d6b89f2c6f47750c", "startTimeUnixNano": "1796073529319686452", "endTimeUnixNano": "1796073529330227034", "durationMs": 10.540582, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "16c000d79222ece87e1fc622121e35ac", "spanId": "22a23a024ea1d34d", "parentSpanId": "d6b89f2c6f47750c", "startTimeUnixNano": "1796073529330239717", "endTimeUnixNano": "1796073529334954051", "durationMs": 4.714334, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "16c000d79222ece87e1fc622121e35ac", "spanId": "d6b89f2c6f47750c", "parentSpanId": "7d47790ded836bd4", "startTimeUnixNano": "1796073529318282914", "endTimeUnixNano": "1796073529334971594", "durationMs": 16.68868, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.104129, "db.connection": "reader", "db.lock_wait_ms": 1.08}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "16c000d79222ece87e1fc622121e35ac", "spanId": "7d47790ded836bd4", "parentSpanId": "681393e881db19e8", "startTimeUnixNano": "1796073529318275089", "endTimeUnixNano": "1796073529334988926", "durationMs": 16.713837, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "16c000d79222ece87e1fc622121e35ac", "spanId": "681393e881db19e8", "parentSpanId": "1d96f759e0315bbc", "startTimeUnixNano": "1796073529318251485", "endTimeUnixNano": "1796073529334994697", "durationMs": 16.743212, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "16c000d79222ece87e1fc622121e35ac", "spanId": "1d96f759e0315bbc", "startTimeUnixNano": "1796073529318239874", "endTimeUnixNano": "1796073529335003393", "durationMs": 16.763519, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "27f13fcfc6dcbc9458e0c3747cbc80cd", "spanId": "c08018dbe001ba16", "parentSpanId": "88425aac1b91ac64", "startTimeUnixNano": "1796073530640217305", "endTimeUnixNano": "1796073530640351405", "durationMs": 0.1341, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "27f13fcfc6dcbc9458e0c3747cbc80cd", "spanId": "57d296e2a42cd169", "parentSpanId": "9825dcf15f143b51", "startTimeUnixNano": "1796073530640390488", "endTimeUnixNano": "1796073530641103899", "durationMs": 0.713411, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00553}}
{"type": "effect-span", "name": "sqlite", "traceId": "27f13fcfc6dcbc9458e0c3747cbc80cd", "spanId": "6f068f71a950f58f", "parentSpanId": "9825dcf15f143b51", "startTimeUnixNano": "1796073530641187885", "endTimeUnixNano": "1796073530642467783", "durationMs": 1.279898, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012293}}
{"type": "effect-span", "name": "sqlite", "traceId": "27f13fcfc6dcbc9458e0c3747cbc80cd", "spanId": "eb62ce567f8da069", "parentSpanId": "9825dcf15f143b51", "startTimeUnixNano": "1796073530642488692", "endTimeUnixNano": "1796073530643594364", "durationMs": 1.105672, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008696}}
{"type": "effect-span", "name": "sqlite", "traceId": "27f13fcfc6dcbc9458e0c3747cbc80cd", "spanId": "bd31d1c460aa454a", "parentSpanId": "9825dcf15f143b51", "startTimeUnixNano": "1796073530651551648", "endTimeUnixNano": "1796073530653632810", "durationMs": 2.081162, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013685}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "27f13fcfc6dcbc9458e0c3747cbc80cd", "spanId": "9825dcf15f143b51", "parentSpanId": "88425aac1b91ac64", "startTimeUnixNano": "1796073530640383675", "endTimeUnixNano": "1796073530653892625", "durationMs": 13.50895, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "27f13fcfc6dcbc9458e0c3747cbc80cd", "spanId": "2d0f3d4b4c31279d", "parentSpanId": "88425aac1b91ac64", "startTimeUnixNano": "1796073530653911760", "endTimeUnixNano": "1796073530654232689", "durationMs": 0.320929, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "27f13fcfc6dcbc9458e0c3747cbc80cd", "spanId": "88425aac1b91ac64", "parentSpanId": "f8121c334a82dcc7", "startTimeUnixNano": "1796073530638393553", "endTimeUnixNano": "1796073530654256594", "durationMs": 15.863041, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.820386, "db.connection": "reader", "db.lock_wait_ms": 1.782}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "27f13fcfc6dcbc9458e0c3747cbc80cd", "spanId": "f8121c334a82dcc7", "parentSpanId": "561b6d9a0105be4f", "startTimeUnixNano": "1796073530638383574", "endTimeUnixNano": "1796073530654270480", "durationMs": 15.886906, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "27f13fcfc6dcbc9458e0c3747cbc80cd", "spanId": "561b6d9a0105be4f", "parentSpanId": "996d5229b6fe3702", "startTimeUnixNano": "1796073530638336196", "endTimeUnixNano": "1796073530654278615", "durationMs": 15.942419, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "27f13fcfc6dcbc9458e0c3747cbc80cd", "spanId": "996d5229b6fe3702", "startTimeUnixNano": "1796073530638318673", "endTimeUnixNano": "1796073530654289916", "durationMs": 15.971243, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "252382161733974b775ab0accbe27f0a", "spanId": "a606a659e2a32c1c", "parentSpanId": "20b36bbb713e4403", "startTimeUnixNano": "1796073530842358405", "endTimeUnixNano": "1796073530842615224", "durationMs": 0.256819, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "252382161733974b775ab0accbe27f0a", "spanId": "d09d28b824a671cd", "parentSpanId": "ba5e2a33f258279a", "startTimeUnixNano": "1796073530842647114", "endTimeUnixNano": "1796073530842778779", "durationMs": 0.131665, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004438}}
{"type": "effect-span", "name": "sqlite", "traceId": "252382161733974b775ab0accbe27f0a", "spanId": "a5cffbdf152f49bd", "parentSpanId": "ba5e2a33f258279a", "startTimeUnixNano": "1796073530842845714", "endTimeUnixNano": "1796073530844070770", "durationMs": 1.225056, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007915}}
{"type": "effect-span", "name": "sqlite", "traceId": "252382161733974b775ab0accbe27f0a", "spanId": "444f48bb8def10de", "parentSpanId": "ba5e2a33f258279a", "startTimeUnixNano": "1796073530844096488", "endTimeUnixNano": "1796073530845881898", "durationMs": 1.78541, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007784}}
{"type": "effect-span", "name": "sqlite", "traceId": "252382161733974b775ab0accbe27f0a", "spanId": "f8ff1f9665910627", "parentSpanId": "ba5e2a33f258279a", "startTimeUnixNano": "1796073530852076634", "endTimeUnixNano": "1796073530853695594", "durationMs": 1.61896, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021981}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "252382161733974b775ab0accbe27f0a", "spanId": "ba5e2a33f258279a", "parentSpanId": "20b36bbb713e4403", "startTimeUnixNano": "1796073530842640582", "endTimeUnixNano": "1796073530854087004", "durationMs": 11.446422, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "252382161733974b775ab0accbe27f0a", "spanId": "8d61f910cf146062", "parentSpanId": "20b36bbb713e4403", "startTimeUnixNano": "1796073530854117400", "endTimeUnixNano": "1796073530854881476", "durationMs": 0.764076, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "252382161733974b775ab0accbe27f0a", "spanId": "20b36bbb713e4403", "parentSpanId": "ee765715ad5335b4", "startTimeUnixNano": "1796073530841023806", "endTimeUnixNano": "1796073530854917393", "durationMs": 13.893587, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.331133, "db.connection": "reader", "db.lock_wait_ms": 1.297}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "252382161733974b775ab0accbe27f0a", "spanId": "ee765715ad5335b4", "parentSpanId": "99611206ffd71515", "startTimeUnixNano": "1796073530841013086", "endTimeUnixNano": "1796073530854947759", "durationMs": 13.934673, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "252382161733974b775ab0accbe27f0a", "spanId": "99611206ffd71515", "parentSpanId": "947ad4c3ad44bdd8", "startTimeUnixNano": "1796073530840968803", "endTimeUnixNano": "1796073530854961916", "durationMs": 13.993113, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "252382161733974b775ab0accbe27f0a", "spanId": "947ad4c3ad44bdd8", "startTimeUnixNano": "1796073530840947253", "endTimeUnixNano": "1796073530854975862", "durationMs": 14.028609, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2fc6c20c4c0f42c84521737140e34b8f", "spanId": "2a7fd01ea47c6ecb", "parentSpanId": "777528b628b57968", "startTimeUnixNano": "1796073532183362261", "endTimeUnixNano": "1796073532183537257", "durationMs": 0.174996, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2fc6c20c4c0f42c84521737140e34b8f", "spanId": "7cea121fd0a7f97e", "parentSpanId": "5e1dd7c7eb326164", "startTimeUnixNano": "1796073532183576401", "endTimeUnixNano": "1796073532184359932", "durationMs": 0.783531, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00562}}
{"type": "effect-span", "name": "sqlite", "traceId": "2fc6c20c4c0f42c84521737140e34b8f", "spanId": "2d89d15846443739", "parentSpanId": "5e1dd7c7eb326164", "startTimeUnixNano": "1796073532184461782", "endTimeUnixNano": "1796073532185358856", "durationMs": 0.897074, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011532}}
{"type": "effect-span", "name": "sqlite", "traceId": "2fc6c20c4c0f42c84521737140e34b8f", "spanId": "7b6309bda9999243", "parentSpanId": "5e1dd7c7eb326164", "startTimeUnixNano": "1796073532185378252", "endTimeUnixNano": "1796073532186319488", "durationMs": 0.941236, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008125}}
{"type": "effect-span", "name": "sqlite", "traceId": "2fc6c20c4c0f42c84521737140e34b8f", "spanId": "cdd503fee0f43400", "parentSpanId": "5e1dd7c7eb326164", "startTimeUnixNano": "1796073532194835464", "endTimeUnixNano": "1796073532196675807", "durationMs": 1.840343, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018815}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2fc6c20c4c0f42c84521737140e34b8f", "spanId": "5e1dd7c7eb326164", "parentSpanId": "777528b628b57968", "startTimeUnixNano": "1796073532183570269", "endTimeUnixNano": "1796073532197056728", "durationMs": 13.486459, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2fc6c20c4c0f42c84521737140e34b8f", "spanId": "cfdaf143efa2d621", "parentSpanId": "777528b628b57968", "startTimeUnixNano": "1796073532197085992", "endTimeUnixNano": "1796073532199309240", "durationMs": 2.223248, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2fc6c20c4c0f42c84521737140e34b8f", "spanId": "777528b628b57968", "parentSpanId": "eefea06ecb7a8cbb", "startTimeUnixNano": "1796073532180977312", "endTimeUnixNano": "1796073532199336371", "durationMs": 18.359059, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.378387, "db.connection": "reader", "db.lock_wait_ms": 2.339}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2fc6c20c4c0f42c84521737140e34b8f", "spanId": "eefea06ecb7a8cbb", "parentSpanId": "0440e0ea459e84fa", "startTimeUnixNano": "1796073532180969658", "endTimeUnixNano": "1796073532199356067", "durationMs": 18.386409, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2fc6c20c4c0f42c84521737140e34b8f", "spanId": "0440e0ea459e84fa", "parentSpanId": "cc98d549ff1248b8", "startTimeUnixNano": "1796073532180922660", "endTimeUnixNano": "1796073532199365305", "durationMs": 18.442645, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2fc6c20c4c0f42c84521737140e34b8f", "spanId": "cc98d549ff1248b8", "startTimeUnixNano": "1796073532180904616", "endTimeUnixNano": "1796073532199374191", "durationMs": 18.469575, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2314ef303b56459e5636047306b39ed9", "spanId": "31a7ef7133515a3d", "parentSpanId": "bf2ee5e42294f356", "startTimeUnixNano": "1796073532383798185", "endTimeUnixNano": "1796073532384051257", "durationMs": 0.253072, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2314ef303b56459e5636047306b39ed9", "spanId": "cbabadc4a1bb7562", "parentSpanId": "7292c5bde0340268", "startTimeUnixNano": "1796073532384083297", "endTimeUnixNano": "1796073532384262952", "durationMs": 0.179655, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004458}}
{"type": "effect-span", "name": "sqlite", "traceId": "2314ef303b56459e5636047306b39ed9", "spanId": "b04d02c7c2f52d6b", "parentSpanId": "7292c5bde0340268", "startTimeUnixNano": "1796073532384330288", "endTimeUnixNano": "1796073532385711725", "durationMs": 1.381437, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008776}}
{"type": "effect-span", "name": "sqlite", "traceId": "2314ef303b56459e5636047306b39ed9", "spanId": "41a979c26918c7ae", "parentSpanId": "7292c5bde0340268", "startTimeUnixNano": "1796073532385728877", "endTimeUnixNano": "1796073532387053327", "durationMs": 1.32445, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007133}}
{"type": "effect-span", "name": "sqlite", "traceId": "2314ef303b56459e5636047306b39ed9", "spanId": "3f63dd59d44ceb14", "parentSpanId": "7292c5bde0340268", "startTimeUnixNano": "1796073532392424667", "endTimeUnixNano": "1796073532393982674", "durationMs": 1.558007, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.026119}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2314ef303b56459e5636047306b39ed9", "spanId": "7292c5bde0340268", "parentSpanId": "bf2ee5e42294f356", "startTimeUnixNano": "1796073532384078087", "endTimeUnixNano": "1796073532394188117", "durationMs": 10.11003, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2314ef303b56459e5636047306b39ed9", "spanId": "09a15f3100d0b977", "parentSpanId": "bf2ee5e42294f356", "startTimeUnixNano": "1796073532394199538", "endTimeUnixNano": "1796073532394533662", "durationMs": 0.334124, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2314ef303b56459e5636047306b39ed9", "spanId": "bf2ee5e42294f356", "parentSpanId": "a4801540720a2c8c", "startTimeUnixNano": "1796073532382649212", "endTimeUnixNano": "1796073532394550744", "durationMs": 11.901532, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.145948, "db.connection": "reader", "db.lock_wait_ms": 1.114}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2314ef303b56459e5636047306b39ed9", "spanId": "a4801540720a2c8c", "parentSpanId": "ae8afbfc5f474e4b", "startTimeUnixNano": "1796073532382642249", "endTimeUnixNano": "1796073532394561954", "durationMs": 11.919705, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2314ef303b56459e5636047306b39ed9", "spanId": "ae8afbfc5f474e4b", "parentSpanId": "6c08dbc8b68d961b", "startTimeUnixNano": "1796073532382616431", "endTimeUnixNano": "1796073532394566713", "durationMs": 11.950282, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2314ef303b56459e5636047306b39ed9", "spanId": "6c08dbc8b68d961b", "startTimeUnixNano": "1796073532382605280", "endTimeUnixNano": "1796073532394573506", "durationMs": 11.968226, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a1c1d8192b8f7c7cf2ad5852671410bf", "spanId": "89e65a0661ad516d", "parentSpanId": "36ebf233fd96dff4", "startTimeUnixNano": "1796073533746878149", "endTimeUnixNano": "1796073533747037046", "durationMs": 0.158897, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a1c1d8192b8f7c7cf2ad5852671410bf", "spanId": "5eb108c7c87a9b25", "parentSpanId": "324b20d3053693c9", "startTimeUnixNano": "1796073533747079114", "endTimeUnixNano": "1796073533747779641", "durationMs": 0.700527, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006242}}
{"type": "effect-span", "name": "sqlite", "traceId": "a1c1d8192b8f7c7cf2ad5852671410bf", "spanId": "65c94063de87a955", "parentSpanId": "324b20d3053693c9", "startTimeUnixNano": "1796073533747858007", "endTimeUnixNano": "1796073533749092400", "durationMs": 1.234393, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009688}}
{"type": "effect-span", "name": "sqlite", "traceId": "a1c1d8192b8f7c7cf2ad5852671410bf", "spanId": "5a15c72d29a79985", "parentSpanId": "324b20d3053693c9", "startTimeUnixNano": "1796073533749109812", "endTimeUnixNano": "1796073533750369382", "durationMs": 1.25957, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008206}}
{"type": "effect-span", "name": "sqlite", "traceId": "a1c1d8192b8f7c7cf2ad5852671410bf", "spanId": "1fbbc3323694a5b7", "parentSpanId": "324b20d3053693c9", "startTimeUnixNano": "1796073533758349048", "endTimeUnixNano": "1796073533761035389", "durationMs": 2.686341, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012553}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a1c1d8192b8f7c7cf2ad5852671410bf", "spanId": "324b20d3053693c9", "parentSpanId": "36ebf233fd96dff4", "startTimeUnixNano": "1796073533747072602", "endTimeUnixNano": "1796073533761371186", "durationMs": 14.298584, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a1c1d8192b8f7c7cf2ad5852671410bf", "spanId": "8da456922eca2b96", "parentSpanId": "36ebf233fd96dff4", "startTimeUnixNano": "1796073533761389249", "endTimeUnixNano": "1796073533761775540", "durationMs": 0.386291, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a1c1d8192b8f7c7cf2ad5852671410bf", "spanId": "36ebf233fd96dff4", "parentSpanId": "dffdb4d63cd74fae", "startTimeUnixNano": "1796073533744526162", "endTimeUnixNano": "1796073533761797240", "durationMs": 17.271078, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.344413, "db.connection": "reader", "db.lock_wait_ms": 2.306}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a1c1d8192b8f7c7cf2ad5852671410bf", "spanId": "dffdb4d63cd74fae", "parentSpanId": "15ed1140b1681002", "startTimeUnixNano": "1796073533744518537", "endTimeUnixNano": "1796073533761816216", "durationMs": 17.297679, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a1c1d8192b8f7c7cf2ad5852671410bf", "spanId": "15ed1140b1681002", "parentSpanId": "a72fbd44340d2a98", "startTimeUnixNano": "1796073533744475748", "endTimeUnixNano": "1796073533761822908", "durationMs": 17.34716, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a1c1d8192b8f7c7cf2ad5852671410bf", "spanId": "a72fbd44340d2a98", "startTimeUnixNano": "1796073533744458175", "endTimeUnixNano": "1796073533761831324", "durationMs": 17.373149, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "af98acf89af46790bc7029e14cf91697", "spanId": "a553b08fe3a4d77e", "parentSpanId": "f2adeb0dfc0e9844", "startTimeUnixNano": "1796073533986118727", "endTimeUnixNano": "1796073533986538380", "durationMs": 0.419653, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "af98acf89af46790bc7029e14cf91697", "spanId": "1e1e3871c747916b", "parentSpanId": "2c2422e30d6bca17", "startTimeUnixNano": "1796073533986571952", "endTimeUnixNano": "1796073533986743472", "durationMs": 0.17152, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004879}}
{"type": "effect-span", "name": "sqlite", "traceId": "af98acf89af46790bc7029e14cf91697", "spanId": "37940f6d6c2b2d23", "parentSpanId": "2c2422e30d6bca17", "startTimeUnixNano": "1796073533986814765", "endTimeUnixNano": "1796073533987854785", "durationMs": 1.04002, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008095}}
{"type": "effect-span", "name": "sqlite", "traceId": "af98acf89af46790bc7029e14cf91697", "spanId": "1665ca62d93943de", "parentSpanId": "2c2422e30d6bca17", "startTimeUnixNano": "1796073533987868731", "endTimeUnixNano": "1796073533988843460", "durationMs": 0.974729, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006913}}
{"type": "effect-span", "name": "sqlite", "traceId": "af98acf89af46790bc7029e14cf91697", "spanId": "774c575875b3dc9c", "parentSpanId": "2c2422e30d6bca17", "startTimeUnixNano": "1796073533994986269", "endTimeUnixNano": "1796073533997300827", "durationMs": 2.314558, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019957}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "af98acf89af46790bc7029e14cf91697", "spanId": "2c2422e30d6bca17", "parentSpanId": "f2adeb0dfc0e9844", "startTimeUnixNano": "1796073533986566402", "endTimeUnixNano": "1796073533997636002", "durationMs": 11.0696, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "af98acf89af46790bc7029e14cf91697", "spanId": "0b37b72350262728", "parentSpanId": "f2adeb0dfc0e9844", "startTimeUnixNano": "1796073533997663393", "endTimeUnixNano": "1796073533997960608", "durationMs": 0.297215, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "af98acf89af46790bc7029e14cf91697", "spanId": "f2adeb0dfc0e9844", "parentSpanId": "48395290d487dbcf", "startTimeUnixNano": "1796073533983331547", "endTimeUnixNano": "1796073533997983400", "durationMs": 14.651853, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.780798, "db.connection": "reader", "db.lock_wait_ms": 2.752}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "af98acf89af46790bc7029e14cf91697", "spanId": "48395290d487dbcf", "parentSpanId": "293b4b3aa3fc232b", "startTimeUnixNano": "1796073533983323873", "endTimeUnixNano": "1796073533998001504", "durationMs": 14.677631, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "af98acf89af46790bc7029e14cf91697", "spanId": "293b4b3aa3fc232b", "parentSpanId": "b94ad4b0ececf209", "startTimeUnixNano": "1796073533983286854", "endTimeUnixNano": "1796073533998008717", "durationMs": 14.721863, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "af98acf89af46790bc7029e14cf91697", "spanId": "b94ad4b0ececf209", "startTimeUnixNano": "1796073533983271976", "endTimeUnixNano": "1796073533998017183", "durationMs": 14.745207, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d719ecff27ae27a144470df7b619a33a", "spanId": "421a1face5c17f24", "parentSpanId": "677b5db1f01dbc05", "startTimeUnixNano": "1796073535380807732", "endTimeUnixNano": "1796073535380953514", "durationMs": 0.145782, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d719ecff27ae27a144470df7b619a33a", "spanId": "50b763dc17f9ce96", "parentSpanId": "42c5dd418543ccae", "startTimeUnixNano": "1796073535380991144", "endTimeUnixNano": "1796073535381617272", "durationMs": 0.626128, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00531}}
{"type": "effect-span", "name": "sqlite", "traceId": "d719ecff27ae27a144470df7b619a33a", "spanId": "e958ebd18a22edc4", "parentSpanId": "42c5dd418543ccae", "startTimeUnixNano": "1796073535381709534", "endTimeUnixNano": "1796073535382770704", "durationMs": 1.06117, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009749}}
{"type": "effect-span", "name": "sqlite", "traceId": "d719ecff27ae27a144470df7b619a33a", "spanId": "6e6481d71160301f", "parentSpanId": "42c5dd418543ccae", "startTimeUnixNano": "1796073535382798055", "endTimeUnixNano": "1796073535383814692", "durationMs": 1.016637, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008366}}
{"type": "effect-span", "name": "sqlite", "traceId": "d719ecff27ae27a144470df7b619a33a", "spanId": "ad0b92eef7fe802d", "parentSpanId": "42c5dd418543ccae", "startTimeUnixNano": "1796073535391519705", "endTimeUnixNano": "1796073535394178014", "durationMs": 2.658309, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013115}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d719ecff27ae27a144470df7b619a33a", "spanId": "42c5dd418543ccae", "parentSpanId": "677b5db1f01dbc05", "startTimeUnixNano": "1796073535380985303", "endTimeUnixNano": "1796073535394537445", "durationMs": 13.552142, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d719ecff27ae27a144470df7b619a33a", "spanId": "f51ae73c8633c70c", "parentSpanId": "677b5db1f01dbc05", "startTimeUnixNano": "1796073535394559486", "endTimeUnixNano": "1796073535394822547", "durationMs": 0.263061, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d719ecff27ae27a144470df7b619a33a", "spanId": "677b5db1f01dbc05", "parentSpanId": "6a52cbaf748c3bb5", "startTimeUnixNano": "1796073535378300846", "endTimeUnixNano": "1796073535394844397", "durationMs": 16.543551, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.499803, "db.connection": "reader", "db.lock_wait_ms": 2.46}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d719ecff27ae27a144470df7b619a33a", "spanId": "6a52cbaf748c3bb5", "parentSpanId": "e3c33123be75135d", "startTimeUnixNano": "1796073535378292230", "endTimeUnixNano": "1796073535394867521", "durationMs": 16.575291, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d719ecff27ae27a144470df7b619a33a", "spanId": "e3c33123be75135d", "parentSpanId": "86f767b1de42f034", "startTimeUnixNano": "1796073535378246945", "endTimeUnixNano": "1796073535394873662", "durationMs": 16.626717, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d719ecff27ae27a144470df7b619a33a", "spanId": "86f767b1de42f034", "startTimeUnixNano": "1796073535378227569", "endTimeUnixNano": "1796073535394882078", "durationMs": 16.654509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5bf693622736fb3df636180da91fe5b3", "spanId": "b7b1bf2b8d8f592a", "parentSpanId": "e52f35a59a8c69b2", "startTimeUnixNano": "1796073535598538527", "endTimeUnixNano": "1796073535598750152", "durationMs": 0.211625, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5bf693622736fb3df636180da91fe5b3", "spanId": "b06737aeddd2295d", "parentSpanId": "f8a9da6b81ca5be8", "startTimeUnixNano": "1796073535598811957", "endTimeUnixNano": "1796073535599058076", "durationMs": 0.246119, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006863}}
{"type": "effect-span", "name": "sqlite", "traceId": "5bf693622736fb3df636180da91fe5b3", "spanId": "d0b9b1988125b17b", "parentSpanId": "f8a9da6b81ca5be8", "startTimeUnixNano": "1796073535599133927", "endTimeUnixNano": "1796073535600105009", "durationMs": 0.971082, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008416}}
{"type": "effect-span", "name": "sqlite", "traceId": "5bf693622736fb3df636180da91fe5b3", "spanId": "881371665e565c15", "parentSpanId": "f8a9da6b81ca5be8", "startTimeUnixNano": "1796073535600128152", "endTimeUnixNano": "1796073535601174214", "durationMs": 1.046062, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006122}}
{"type": "effect-span", "name": "sqlite", "traceId": "5bf693622736fb3df636180da91fe5b3", "spanId": "98f25eda6bf6e0c8", "parentSpanId": "f8a9da6b81ca5be8", "startTimeUnixNano": "1796073535607714595", "endTimeUnixNano": "1796073535609286858", "durationMs": 1.572263, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014167}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5bf693622736fb3df636180da91fe5b3", "spanId": "f8a9da6b81ca5be8", "parentSpanId": "e52f35a59a8c69b2", "startTimeUnixNano": "1796073535598797710", "endTimeUnixNano": "1796073535609596856", "durationMs": 10.799146, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5bf693622736fb3df636180da91fe5b3", "spanId": "73ff36029cf10877", "parentSpanId": "e52f35a59a8c69b2", "startTimeUnixNano": "1796073535609613828", "endTimeUnixNano": "1796073535609871298", "durationMs": 0.25747, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5bf693622736fb3df636180da91fe5b3", "spanId": "e52f35a59a8c69b2", "parentSpanId": "8ce8034d6347b6fb", "startTimeUnixNano": "1796073535596530290", "endTimeUnixNano": "1796073535609893941", "durationMs": 13.363651, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.003568, "db.connection": "reader", "db.lock_wait_ms": 1.973}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5bf693622736fb3df636180da91fe5b3", "spanId": "8ce8034d6347b6fb", "parentSpanId": "6010b341d103514b", "startTimeUnixNano": "1796073535596523377", "endTimeUnixNano": "1796073535609911954", "durationMs": 13.388577, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5bf693622736fb3df636180da91fe5b3", "spanId": "6010b341d103514b", "parentSpanId": "0cb80b2e55e577bc", "startTimeUnixNano": "1796073535596486038", "endTimeUnixNano": "1796073535609919088", "durationMs": 13.43305, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5bf693622736fb3df636180da91fe5b3", "spanId": "0cb80b2e55e577bc", "startTimeUnixNano": "1796073535596470519", "endTimeUnixNano": "1796073535609928034", "durationMs": 13.457515, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "060eebccb59c733407027ad2073e3ed4", "spanId": "751bb5d60a732ada", "parentSpanId": "6cb4a4b97ff3798e", "startTimeUnixNano": "1796073536958536366", "endTimeUnixNano": "1796073536958695893", "durationMs": 0.159527, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "060eebccb59c733407027ad2073e3ed4", "spanId": "7ccb6506bddc770e", "parentSpanId": "40bb7c95406205f3", "startTimeUnixNano": "1796073536958733974", "endTimeUnixNano": "1796073536959403564", "durationMs": 0.66959, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005611}}
{"type": "effect-span", "name": "sqlite", "traceId": "060eebccb59c733407027ad2073e3ed4", "spanId": "b08db253e13c65ba", "parentSpanId": "40bb7c95406205f3", "startTimeUnixNano": "1796073536959496186", "endTimeUnixNano": "1796073536960498707", "durationMs": 1.002521, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010209}}
{"type": "effect-span", "name": "sqlite", "traceId": "060eebccb59c733407027ad2073e3ed4", "spanId": "3f32b7d897447917", "parentSpanId": "40bb7c95406205f3", "startTimeUnixNano": "1796073536960519004", "endTimeUnixNano": "1796073536961361276", "durationMs": 0.842272, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008576}}
{"type": "effect-span", "name": "sqlite", "traceId": "060eebccb59c733407027ad2073e3ed4", "spanId": "c25f793a9fc95dba", "parentSpanId": "40bb7c95406205f3", "startTimeUnixNano": "1796073536969617859", "endTimeUnixNano": "1796073536971458282", "durationMs": 1.840423, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011461}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "060eebccb59c733407027ad2073e3ed4", "spanId": "40bb7c95406205f3", "parentSpanId": "6cb4a4b97ff3798e", "startTimeUnixNano": "1796073536958727121", "endTimeUnixNano": "1796073536971803777", "durationMs": 13.076656, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "060eebccb59c733407027ad2073e3ed4", "spanId": "130287d8ae95f925", "parentSpanId": "6cb4a4b97ff3798e", "startTimeUnixNano": "1796073536971827842", "endTimeUnixNano": "1796073536971991537", "durationMs": 0.163695, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "060eebccb59c733407027ad2073e3ed4", "spanId": "6cb4a4b97ff3798e", "parentSpanId": "3fdb0e67a3eb51d6", "startTimeUnixNano": "1796073536956392476", "endTimeUnixNano": "1796073536972013538", "durationMs": 15.621062, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.136135, "db.connection": "reader", "db.lock_wait_ms": 2.101}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "060eebccb59c733407027ad2073e3ed4", "spanId": "3fdb0e67a3eb51d6", "parentSpanId": "f2cd6c5498cac160", "startTimeUnixNano": "1796073536956384812", "endTimeUnixNano": "1796073536972033285", "durationMs": 15.648473, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "060eebccb59c733407027ad2073e3ed4", "spanId": "f2cd6c5498cac160", "parentSpanId": "e1bfd78cba28307c", "startTimeUnixNano": "1796073536956335881", "endTimeUnixNano": "1796073536972040028", "durationMs": 15.704147, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "060eebccb59c733407027ad2073e3ed4", "spanId": "e1bfd78cba28307c", "startTimeUnixNano": "1796073536956319550", "endTimeUnixNano": "1796073536972047632", "durationMs": 15.728082, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c27d87744cb638aaf589dcf67ee80e6b", "spanId": "f501abb68ddb7e0f", "parentSpanId": "2d4e09716164d7f3", "startTimeUnixNano": "1796073537184093915", "endTimeUnixNano": "1796073537184558822", "durationMs": 0.464907, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c27d87744cb638aaf589dcf67ee80e6b", "spanId": "8a29cdc956b0f078", "parentSpanId": "fe0884317b57a227", "startTimeUnixNano": "1796073537184593527", "endTimeUnixNano": "1796073537184893857", "durationMs": 0.30033, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014306}}
{"type": "effect-span", "name": "sqlite", "traceId": "c27d87744cb638aaf589dcf67ee80e6b", "spanId": "cbfc7490b5efa2a3", "parentSpanId": "fe0884317b57a227", "startTimeUnixNano": "1796073537184964048", "endTimeUnixNano": "1796073537187202514", "durationMs": 2.238466, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008095}}
{"type": "effect-span", "name": "sqlite", "traceId": "c27d87744cb638aaf589dcf67ee80e6b", "spanId": "b55149f6395c2aef", "parentSpanId": "fe0884317b57a227", "startTimeUnixNano": "1796073537187217392", "endTimeUnixNano": "1796073537188746875", "durationMs": 1.529483, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007464}}
{"type": "effect-span", "name": "sqlite", "traceId": "c27d87744cb638aaf589dcf67ee80e6b", "spanId": "52a93bdba386fb9d", "parentSpanId": "fe0884317b57a227", "startTimeUnixNano": "1796073537194050700", "endTimeUnixNano": "1796073537196344860", "durationMs": 2.29416, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01058}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c27d87744cb638aaf589dcf67ee80e6b", "spanId": "fe0884317b57a227", "parentSpanId": "2d4e09716164d7f3", "startTimeUnixNano": "1796073537184588117", "endTimeUnixNano": "1796073537196639981", "durationMs": 12.051864, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c27d87744cb638aaf589dcf67ee80e6b", "spanId": "4c56d173567f76ee", "parentSpanId": "2d4e09716164d7f3", "startTimeUnixNano": "1796073537196658155", "endTimeUnixNano": "1796073537197462245", "durationMs": 0.80409, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c27d87744cb638aaf589dcf67ee80e6b", "spanId": "2d4e09716164d7f3", "parentSpanId": "60584915d6646083", "startTimeUnixNano": "1796073537182675709", "endTimeUnixNano": "1796073537197485558", "durationMs": 14.809849, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.414819, "db.connection": "reader", "db.lock_wait_ms": 1.389}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c27d87744cb638aaf589dcf67ee80e6b", "spanId": "60584915d6646083", "parentSpanId": "6232505180121546", "startTimeUnixNano": "1796073537182666932", "endTimeUnixNano": "1796073537197504103", "durationMs": 14.837171, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c27d87744cb638aaf589dcf67ee80e6b", "spanId": "6232505180121546", "parentSpanId": "a3bf4afaa05ef8c4", "startTimeUnixNano": "1796073537182638289", "endTimeUnixNano": "1796073537197513580", "durationMs": 14.875291, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c27d87744cb638aaf589dcf67ee80e6b", "spanId": "a3bf4afaa05ef8c4", "startTimeUnixNano": "1796073537182622540", "endTimeUnixNano": "1796073537197522197", "durationMs": 14.899657, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "45b678b3d288e864c6e96a6ce4b0dfd8", "spanId": "e37d34c43f8f1ff4", "parentSpanId": "dd4c2a239e64fb2a", "startTimeUnixNano": "1796073538634664260", "endTimeUnixNano": "1796073538634825561", "durationMs": 0.161301, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "45b678b3d288e864c6e96a6ce4b0dfd8", "spanId": "d25661c758f08007", "parentSpanId": "78cf8dc674e507a9", "startTimeUnixNano": "1796073538634868411", "endTimeUnixNano": "1796073538635529544", "durationMs": 0.661133, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006121}}
{"type": "effect-span", "name": "sqlite", "traceId": "45b678b3d288e864c6e96a6ce4b0dfd8", "spanId": "f0cea74218c46bc2", "parentSpanId": "78cf8dc674e507a9", "startTimeUnixNano": "1796073538635617328", "endTimeUnixNano": "1796073538636784455", "durationMs": 1.167127, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009778}}
{"type": "effect-span", "name": "sqlite", "traceId": "45b678b3d288e864c6e96a6ce4b0dfd8", "spanId": "5d583ad368edf246", "parentSpanId": "78cf8dc674e507a9", "startTimeUnixNano": "1796073538636810234", "endTimeUnixNano": "1796073538637790442", "durationMs": 0.980208, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010209}}
{"type": "effect-span", "name": "sqlite", "traceId": "45b678b3d288e864c6e96a6ce4b0dfd8", "spanId": "a397e741c4b6e807", "parentSpanId": "78cf8dc674e507a9", "startTimeUnixNano": "1796073538645803171", "endTimeUnixNano": "1796073538648136134", "durationMs": 2.332963, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014467}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "45b678b3d288e864c6e96a6ce4b0dfd8", "spanId": "78cf8dc674e507a9", "parentSpanId": "dd4c2a239e64fb2a", "startTimeUnixNano": "1796073538634860606", "endTimeUnixNano": "1796073538648426686", "durationMs": 13.56608, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "45b678b3d288e864c6e96a6ce4b0dfd8", "spanId": "127ac1dca8b82901", "parentSpanId": "dd4c2a239e64fb2a", "startTimeUnixNano": "1796073538648462713", "endTimeUnixNano": "1796073538648676522", "durationMs": 0.213809, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "45b678b3d288e864c6e96a6ce4b0dfd8", "spanId": "dd4c2a239e64fb2a", "parentSpanId": "77e4ff4763c3ad9f", "startTimeUnixNano": "1796073538632130944", "endTimeUnixNano": "1796073538648698974", "durationMs": 16.56803, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.528457, "db.connection": "reader", "db.lock_wait_ms": 2.491}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "45b678b3d288e864c6e96a6ce4b0dfd8", "spanId": "77e4ff4763c3ad9f", "parentSpanId": "5932d77514b0e240", "startTimeUnixNano": "1796073538632123089", "endTimeUnixNano": "1796073538648714733", "durationMs": 16.591644, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "45b678b3d288e864c6e96a6ce4b0dfd8", "spanId": "5932d77514b0e240", "parentSpanId": "fd620379a55d1cce", "startTimeUnixNano": "1796073538632074388", "endTimeUnixNano": "1796073538648723189", "durationMs": 16.648801, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "45b678b3d288e864c6e96a6ce4b0dfd8", "spanId": "fd620379a55d1cce", "startTimeUnixNano": "1796073538632056595", "endTimeUnixNano": "1796073538648730853", "durationMs": 16.674258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ce702c56c1b7f3f59681bdc2f3eca7b9", "spanId": "001de98c933e1c35", "parentSpanId": "34a4645af3196c56", "startTimeUnixNano": "1796073538868386730", "endTimeUnixNano": "1796073538868564211", "durationMs": 0.177481, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ce702c56c1b7f3f59681bdc2f3eca7b9", "spanId": "b95d57a75a68a957", "parentSpanId": "3e3bc99131b0a5b2", "startTimeUnixNano": "1796073538868611149", "endTimeUnixNano": "1796073538868777559", "durationMs": 0.16641, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004599}}
{"type": "effect-span", "name": "sqlite", "traceId": "ce702c56c1b7f3f59681bdc2f3eca7b9", "spanId": "5a6585d1c34509ea", "parentSpanId": "3e3bc99131b0a5b2", "startTimeUnixNano": "1796073538868849464", "endTimeUnixNano": "1796073538870109003", "durationMs": 1.259539, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009397}}
{"type": "effect-span", "name": "sqlite", "traceId": "ce702c56c1b7f3f59681bdc2f3eca7b9", "spanId": "6f15a67c529fc437", "parentSpanId": "3e3bc99131b0a5b2", "startTimeUnixNano": "1796073538870132597", "endTimeUnixNano": "1796073538871192515", "durationMs": 1.059918, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009839}}
{"type": "effect-span", "name": "sqlite", "traceId": "ce702c56c1b7f3f59681bdc2f3eca7b9", "spanId": "b4905e56d71ec3ca", "parentSpanId": "3e3bc99131b0a5b2", "startTimeUnixNano": "1796073538876819863", "endTimeUnixNano": "1796073538878295236", "durationMs": 1.475373, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011051}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ce702c56c1b7f3f59681bdc2f3eca7b9", "spanId": "3e3bc99131b0a5b2", "parentSpanId": "34a4645af3196c56", "startTimeUnixNano": "1796073538868604997", "endTimeUnixNano": "1796073538878558367", "durationMs": 9.95337, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ce702c56c1b7f3f59681bdc2f3eca7b9", "spanId": "88cf9a20321ca5da", "parentSpanId": "34a4645af3196c56", "startTimeUnixNano": "1796073538878573886", "endTimeUnixNano": "1796073538878832288", "durationMs": 0.258402, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ce702c56c1b7f3f59681bdc2f3eca7b9", "spanId": "34a4645af3196c56", "parentSpanId": "054278ff8e5f92c3", "startTimeUnixNano": "1796073538867089831", "endTimeUnixNano": "1796073538878849320", "durationMs": 11.759489, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.292852, "db.connection": "reader", "db.lock_wait_ms": 1.265}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ce702c56c1b7f3f59681bdc2f3eca7b9", "spanId": "054278ff8e5f92c3", "parentSpanId": "5d795a00db0cc6a1", "startTimeUnixNano": "1796073538867082126", "endTimeUnixNano": "1796073538878862454", "durationMs": 11.780328, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ce702c56c1b7f3f59681bdc2f3eca7b9", "spanId": "5d795a00db0cc6a1", "parentSpanId": "9343d65086d14ffe", "startTimeUnixNano": "1796073538867051770", "endTimeUnixNano": "1796073538878867714", "durationMs": 11.815944, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ce702c56c1b7f3f59681bdc2f3eca7b9", "spanId": "9343d65086d14ffe", "startTimeUnixNano": "1796073538867038274", "endTimeUnixNano": "1796073538878873986", "durationMs": 11.835712, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "260496ce9019b06b1e3ea8574dbe7e7e", "spanId": "9668cbc4e205ab17", "parentSpanId": "606f66766c6a0efc", "startTimeUnixNano": "1796073540327715682", "endTimeUnixNano": "1796073540327890579", "durationMs": 0.174897, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "260496ce9019b06b1e3ea8574dbe7e7e", "spanId": "557912a64af5948f", "parentSpanId": "be1f9a93a2a9e58b", "startTimeUnixNano": "1796073540327937276", "endTimeUnixNano": "1796073540328609891", "durationMs": 0.672615, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006322}}
{"type": "effect-span", "name": "sqlite", "traceId": "260496ce9019b06b1e3ea8574dbe7e7e", "spanId": "52b6465ac62c063f", "parentSpanId": "be1f9a93a2a9e58b", "startTimeUnixNano": "1796073540328693457", "endTimeUnixNano": "1796073540329848943", "durationMs": 1.155486, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009317}}
{"type": "effect-span", "name": "sqlite", "traceId": "260496ce9019b06b1e3ea8574dbe7e7e", "spanId": "945d265d9375ca96", "parentSpanId": "be1f9a93a2a9e58b", "startTimeUnixNano": "1796073540329873949", "endTimeUnixNano": "1796073540331005981", "durationMs": 1.132032, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010269}}
{"type": "effect-span", "name": "sqlite", "traceId": "260496ce9019b06b1e3ea8574dbe7e7e", "spanId": "b3f6c1cce7f49550", "parentSpanId": "be1f9a93a2a9e58b", "startTimeUnixNano": "1796073540338986240", "endTimeUnixNano": "1796073540341399442", "durationMs": 2.413202, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014317}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "260496ce9019b06b1e3ea8574dbe7e7e", "spanId": "be1f9a93a2a9e58b", "parentSpanId": "606f66766c6a0efc", "startTimeUnixNano": "1796073540327930724", "endTimeUnixNano": "1796073540341732083", "durationMs": 13.801359, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "260496ce9019b06b1e3ea8574dbe7e7e", "spanId": "73fb209c099e2f49", "parentSpanId": "606f66766c6a0efc", "startTimeUnixNano": "1796073540341756328", "endTimeUnixNano": "1796073540342002057", "durationMs": 0.245729, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "260496ce9019b06b1e3ea8574dbe7e7e", "spanId": "606f66766c6a0efc", "parentSpanId": "db312b2e76527379", "startTimeUnixNano": "1796073540324930837", "endTimeUnixNano": "1796073540342022495", "durationMs": 17.091658, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.778143, "db.connection": "reader", "db.lock_wait_ms": 2.735}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "260496ce9019b06b1e3ea8574dbe7e7e", "spanId": "db312b2e76527379", "parentSpanId": "5e23065afeff521a", "startTimeUnixNano": "1796073540324922832", "endTimeUnixNano": "1796073540342041109", "durationMs": 17.118277, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "260496ce9019b06b1e3ea8574dbe7e7e", "spanId": "5e23065afeff521a", "parentSpanId": "1f80b758cc4716ae", "startTimeUnixNano": "1796073540324877117", "endTimeUnixNano": "1796073540342047521", "durationMs": 17.170404, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "260496ce9019b06b1e3ea8574dbe7e7e", "spanId": "1f80b758cc4716ae", "startTimeUnixNano": "1796073540324859694", "endTimeUnixNano": "1796073540342056859", "durationMs": 17.197165, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c5434a5ef91dcdae8c8a44af8532081a", "spanId": "9910c0f30ad5f94a", "parentSpanId": "f40f2e619b8bc4eb", "startTimeUnixNano": "1796073540545703922", "endTimeUnixNano": "1796073540545884278", "durationMs": 0.180356, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c5434a5ef91dcdae8c8a44af8532081a", "spanId": "99042a462897ad4d", "parentSpanId": "954acf0109bcd999", "startTimeUnixNano": "1796073540545919695", "endTimeUnixNano": "1796073540546132071", "durationMs": 0.212376, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006331}}
{"type": "effect-span", "name": "sqlite", "traceId": "c5434a5ef91dcdae8c8a44af8532081a", "spanId": "f93c37b594ace778", "parentSpanId": "954acf0109bcd999", "startTimeUnixNano": "1796073540546194547", "endTimeUnixNano": "1796073540547045134", "durationMs": 0.850587, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007945}}
{"type": "effect-span", "name": "sqlite", "traceId": "c5434a5ef91dcdae8c8a44af8532081a", "spanId": "366eb59e4d714f34", "parentSpanId": "954acf0109bcd999", "startTimeUnixNano": "1796073540547077945", "endTimeUnixNano": "1796073540547942398", "durationMs": 0.864453, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007234}}
{"type": "effect-span", "name": "sqlite", "traceId": "c5434a5ef91dcdae8c8a44af8532081a", "spanId": "e858b5068ee570ae", "parentSpanId": "954acf0109bcd999", "startTimeUnixNano": "1796073540557622017", "endTimeUnixNano": "1796073540564015466", "durationMs": 6.393449, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021911}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c5434a5ef91dcdae8c8a44af8532081a", "spanId": "954acf0109bcd999", "parentSpanId": "f40f2e619b8bc4eb", "startTimeUnixNano": "1796073540545914505", "endTimeUnixNano": "1796073540564212493", "durationMs": 18.297988, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c5434a5ef91dcdae8c8a44af8532081a", "spanId": "b9e4603b1ab4a2eb", "parentSpanId": "f40f2e619b8bc4eb", "startTimeUnixNano": "1796073540564226209", "endTimeUnixNano": "1796073540564764684", "durationMs": 0.538475, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c5434a5ef91dcdae8c8a44af8532081a", "spanId": "f40f2e619b8bc4eb", "parentSpanId": "e6850a0b0a71c84a", "startTimeUnixNano": "1796073540544529701", "endTimeUnixNano": "1796073540564782647", "durationMs": 20.252946, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.170945, "db.connection": "reader", "db.lock_wait_ms": 1.144}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c5434a5ef91dcdae8c8a44af8532081a", "spanId": "e6850a0b0a71c84a", "parentSpanId": "cebec24b852c7646", "startTimeUnixNano": "1796073540544522989", "endTimeUnixNano": "1796073540564795782", "durationMs": 20.272793, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c5434a5ef91dcdae8c8a44af8532081a", "spanId": "cebec24b852c7646", "parentSpanId": "113ab389ff497a49", "startTimeUnixNano": "1796073540544496239", "endTimeUnixNano": "1796073540564800941", "durationMs": 20.304702, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c5434a5ef91dcdae8c8a44af8532081a", "spanId": "113ab389ff497a49", "startTimeUnixNano": "1796073540544483064", "endTimeUnixNano": "1796073540564807153", "durationMs": 20.324089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "01f6920f341a0df98d9cda79fed60479", "spanId": "fb424ed7028db049", "parentSpanId": "b2cf209766eaf5bd", "startTimeUnixNano": "1796073541916697104", "endTimeUnixNano": "1796073541917380529", "durationMs": 0.683425, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "01f6920f341a0df98d9cda79fed60479", "spanId": "4a5d2401bbc9caae", "parentSpanId": "e61df078671b65fa", "startTimeUnixNano": "1796073541917419191", "endTimeUnixNano": "1796073541918117424", "durationMs": 0.698233, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00508}}
{"type": "effect-span", "name": "sqlite", "traceId": "01f6920f341a0df98d9cda79fed60479", "spanId": "ba19ac680366a01e", "parentSpanId": "e61df078671b65fa", "startTimeUnixNano": "1796073541918185311", "endTimeUnixNano": "1796073541919383797", "durationMs": 1.198486, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008476}}
{"type": "effect-span", "name": "sqlite", "traceId": "01f6920f341a0df98d9cda79fed60479", "spanId": "57c135cc665ec91f", "parentSpanId": "e61df078671b65fa", "startTimeUnixNano": "1796073541919400328", "endTimeUnixNano": "1796073541920509948", "durationMs": 1.10962, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016821}}
{"type": "effect-span", "name": "sqlite", "traceId": "01f6920f341a0df98d9cda79fed60479", "spanId": "b1e75cdf92d58202", "parentSpanId": "e61df078671b65fa", "startTimeUnixNano": "1796073541930742740", "endTimeUnixNano": "1796073541932890266", "durationMs": 2.147526, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015458}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "01f6920f341a0df98d9cda79fed60479", "spanId": "e61df078671b65fa", "parentSpanId": "b2cf209766eaf5bd", "startTimeUnixNano": "1796073541917413330", "endTimeUnixNano": "1796073541933167764", "durationMs": 15.754434, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "01f6920f341a0df98d9cda79fed60479", "spanId": "85f688749f81a8cd", "parentSpanId": "b2cf209766eaf5bd", "startTimeUnixNano": "1796073541933188052", "endTimeUnixNano": "1796073541933419945", "durationMs": 0.231893, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "01f6920f341a0df98d9cda79fed60479", "spanId": "b2cf209766eaf5bd", "parentSpanId": "ff3b13b2fe6c50a2", "startTimeUnixNano": "1796073541915172810", "endTimeUnixNano": "1796073541933453367", "durationMs": 18.280557, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.519866, "db.connection": "reader", "db.lock_wait_ms": 1.482}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "01f6920f341a0df98d9cda79fed60479", "spanId": "ff3b13b2fe6c50a2", "parentSpanId": "3c065a69a016484a", "startTimeUnixNano": "1796073541915165476", "endTimeUnixNano": "1796073541933470419", "durationMs": 18.304943, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "01f6920f341a0df98d9cda79fed60479", "spanId": "3c065a69a016484a", "parentSpanId": "c7270bbbd130824d", "startTimeUnixNano": "1796073541915122456", "endTimeUnixNano": "1796073541933476260", "durationMs": 18.353804, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "01f6920f341a0df98d9cda79fed60479", "spanId": "c7270bbbd130824d", "startTimeUnixNano": "1796073541915106336", "endTimeUnixNano": "1796073541933482792", "durationMs": 18.376456, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "198d0ae326f1748d17cd2216837db09b", "spanId": "24e2d0b979dffe96", "parentSpanId": "939ffefc5fb73564", "startTimeUnixNano": "1796073542150455779", "endTimeUnixNano": "1796073542150650612", "durationMs": 0.194833, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "198d0ae326f1748d17cd2216837db09b", "spanId": "87ce82f9667d442a", "parentSpanId": "afe710a5bc15e27a", "startTimeUnixNano": "1796073542150697850", "endTimeUnixNano": "1796073542150901711", "durationMs": 0.203861, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004308}}
{"type": "effect-span", "name": "sqlite", "traceId": "198d0ae326f1748d17cd2216837db09b", "spanId": "723c45aeebfe9d59", "parentSpanId": "afe710a5bc15e27a", "startTimeUnixNano": "1796073542150970779", "endTimeUnixNano": "1796073542151954224", "durationMs": 0.983445, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007735}}
{"type": "effect-span", "name": "sqlite", "traceId": "198d0ae326f1748d17cd2216837db09b", "spanId": "6248c3c09f9e0b57", "parentSpanId": "afe710a5bc15e27a", "startTimeUnixNano": "1796073542151986474", "endTimeUnixNano": "1796073542154180067", "durationMs": 2.193593, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009919}}
{"type": "effect-span", "name": "sqlite", "traceId": "198d0ae326f1748d17cd2216837db09b", "spanId": "f6cd31ede009f7d7", "parentSpanId": "afe710a5bc15e27a", "startTimeUnixNano": "1796073542159853753", "endTimeUnixNano": "1796073542161547293", "durationMs": 1.69354, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01088}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "198d0ae326f1748d17cd2216837db09b", "spanId": "afe710a5bc15e27a", "parentSpanId": "939ffefc5fb73564", "startTimeUnixNano": "1796073542150692470", "endTimeUnixNano": "1796073542161818268", "durationMs": 11.125798, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "198d0ae326f1748d17cd2216837db09b", "spanId": "29db192cb10b06af", "parentSpanId": "939ffefc5fb73564", "startTimeUnixNano": "1796073542161833707", "endTimeUnixNano": "1796073542162283636", "durationMs": 0.449929, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "198d0ae326f1748d17cd2216837db09b", "spanId": "939ffefc5fb73564", "parentSpanId": "cbd5e432e1e64a3d", "startTimeUnixNano": "1796073542148494740", "endTimeUnixNano": "1796073542162305227", "durationMs": 13.810487, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.956781, "db.connection": "reader", "db.lock_wait_ms": 1.923}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "198d0ae326f1748d17cd2216837db09b", "spanId": "cbd5e432e1e64a3d", "parentSpanId": "394dca561c001980", "startTimeUnixNano": "1796073542148486785", "endTimeUnixNano": "1796073542162320385", "durationMs": 13.8336, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "198d0ae326f1748d17cd2216837db09b", "spanId": "394dca561c001980", "parentSpanId": "884751c231202993", "startTimeUnixNano": "1796073542148448614", "endTimeUnixNano": "1796073542162325154", "durationMs": 13.87654, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "198d0ae326f1748d17cd2216837db09b", "spanId": "884751c231202993", "startTimeUnixNano": "1796073542148419700", "endTimeUnixNano": "1796073542162333540", "durationMs": 13.91384, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7984cda6e875683d466a9daf9e722280", "spanId": "c2079c6280bf75f7", "parentSpanId": "81c2264897bcd073", "startTimeUnixNano": "1796073543569784387", "endTimeUnixNano": "1796073543570629934", "durationMs": 0.845547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7984cda6e875683d466a9daf9e722280", "spanId": "2ebc13db565a506f", "parentSpanId": "c31cf94a206f990e", "startTimeUnixNano": "1796073543570674027", "endTimeUnixNano": "1796073543571513934", "durationMs": 0.839907, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004648}}
{"type": "effect-span", "name": "sqlite", "traceId": "7984cda6e875683d466a9daf9e722280", "spanId": "77b2ff0a74aec09a", "parentSpanId": "c31cf94a206f990e", "startTimeUnixNano": "1796073543571600115", "endTimeUnixNano": "1796073543573140278", "durationMs": 1.540163, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009898}}
{"type": "effect-span", "name": "sqlite", "traceId": "7984cda6e875683d466a9daf9e722280", "spanId": "3f75d8da706279b1", "parentSpanId": "c31cf94a206f990e", "startTimeUnixNano": "1796073543573157751", "endTimeUnixNano": "1796073543574356277", "durationMs": 1.198526, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008626}}
{"type": "effect-span", "name": "sqlite", "traceId": "7984cda6e875683d466a9daf9e722280", "spanId": "02df0ae16a8c2d36", "parentSpanId": "c31cf94a206f990e", "startTimeUnixNano": "1796073543584951225", "endTimeUnixNano": "1796073543587229245", "durationMs": 2.27802, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011431}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7984cda6e875683d466a9daf9e722280", "spanId": "c31cf94a206f990e", "parentSpanId": "81c2264897bcd073", "startTimeUnixNano": "1796073543570667915", "endTimeUnixNano": "1796073543587558389", "durationMs": 16.890474, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7984cda6e875683d466a9daf9e722280", "spanId": "47a8fb41cead6d15", "parentSpanId": "81c2264897bcd073", "startTimeUnixNano": "1796073543587578076", "endTimeUnixNano": "1796073543587815799", "durationMs": 0.237723, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7984cda6e875683d466a9daf9e722280", "spanId": "81c2264897bcd073", "parentSpanId": "4e21cf92ac12c11a", "startTimeUnixNano": "1796073543567995329", "endTimeUnixNano": "1796073543587835797", "durationMs": 19.840468, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.782486, "db.connection": "reader", "db.lock_wait_ms": 1.737}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7984cda6e875683d466a9daf9e722280", "spanId": "4e21cf92ac12c11a", "parentSpanId": "2b1dbba750c47387", "startTimeUnixNano": "1796073543567987694", "endTimeUnixNano": "1796073543587852959", "durationMs": 19.865265, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7984cda6e875683d466a9daf9e722280", "spanId": "2b1dbba750c47387", "parentSpanId": "62bbb37871637d34", "startTimeUnixNano": "1796073543567940466", "endTimeUnixNano": "1796073543587858209", "durationMs": 19.917743, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7984cda6e875683d466a9daf9e722280", "spanId": "62bbb37871637d34", "startTimeUnixNano": "1796073543567921341", "endTimeUnixNano": "1796073543587868488", "durationMs": 19.947147, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c896841cd9381301c0806ea0076732c1", "spanId": "81afc054ce4b4900", "parentSpanId": "6ecada3c39351132", "startTimeUnixNano": "1796073543807616982", "endTimeUnixNano": "1796073543807823637", "durationMs": 0.206655, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c896841cd9381301c0806ea0076732c1", "spanId": "0b60861927f2d8b2", "parentSpanId": "657fc4d6845212d5", "startTimeUnixNano": "1796073543807854535", "endTimeUnixNano": "1796073543808105483", "durationMs": 0.250948, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004007}}
{"type": "effect-span", "name": "sqlite", "traceId": "c896841cd9381301c0806ea0076732c1", "spanId": "fb90b8c61fe2a336", "parentSpanId": "657fc4d6845212d5", "startTimeUnixNano": "1796073543808171476", "endTimeUnixNano": "1796073543808978963", "durationMs": 0.807487, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008095}}
{"type": "effect-span", "name": "sqlite", "traceId": "c896841cd9381301c0806ea0076732c1", "spanId": "5476543aefe00bea", "parentSpanId": "657fc4d6845212d5", "startTimeUnixNano": "1796073543809005382", "endTimeUnixNano": "1796073543810815850", "durationMs": 1.810468, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006131}}
{"type": "effect-span", "name": "sqlite", "traceId": "c896841cd9381301c0806ea0076732c1", "spanId": "df6100a8626fb97a", "parentSpanId": "657fc4d6845212d5", "startTimeUnixNano": "1796073543818186773", "endTimeUnixNano": "1796073543820169993", "durationMs": 1.98322, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009938}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c896841cd9381301c0806ea0076732c1", "spanId": "657fc4d6845212d5", "parentSpanId": "6ecada3c39351132", "startTimeUnixNano": "1796073543807849716", "endTimeUnixNano": "1796073543820465254", "durationMs": 12.615538, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c896841cd9381301c0806ea0076732c1", "spanId": "4e32ecab1984ef26", "parentSpanId": "6ecada3c39351132", "startTimeUnixNano": "1796073543820481003", "endTimeUnixNano": "1796073543821394017", "durationMs": 0.913014, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c896841cd9381301c0806ea0076732c1", "spanId": "6ecada3c39351132", "parentSpanId": "3d9a775cce781705", "startTimeUnixNano": "1796073543806357722", "endTimeUnixNano": "1796073543821413703", "durationMs": 15.055981, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.255523, "db.connection": "reader", "db.lock_wait_ms": 1.228}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c896841cd9381301c0806ea0076732c1", "spanId": "3d9a775cce781705", "parentSpanId": "5a56a7d637930548", "startTimeUnixNano": "1796073543806351140", "endTimeUnixNano": "1796073543821446294", "durationMs": 15.095154, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c896841cd9381301c0806ea0076732c1", "spanId": "5a56a7d637930548", "parentSpanId": "9d738851705e74f2", "startTimeUnixNano": "1796073543806324931", "endTimeUnixNano": "1796073543821451734", "durationMs": 15.126803, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c896841cd9381301c0806ea0076732c1", "spanId": "9d738851705e74f2", "startTimeUnixNano": "1796073543806311786", "endTimeUnixNano": "1796073543821459840", "durationMs": 15.148054, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ff54898e235b6cbc4dfeac9cc7b34705", "spanId": "381757ec5d9736b6", "parentSpanId": "548be13d3a009a2f", "startTimeUnixNano": "1796073545320046703", "endTimeUnixNano": "1796073545320175043", "durationMs": 0.12834, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ff54898e235b6cbc4dfeac9cc7b34705", "spanId": "226f0b6a04173fb1", "parentSpanId": "53931d5c04af8885", "startTimeUnixNano": "1796073545320215749", "endTimeUnixNano": "1796073545320787836", "durationMs": 0.572087, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005901}}
{"type": "effect-span", "name": "sqlite", "traceId": "ff54898e235b6cbc4dfeac9cc7b34705", "spanId": "cf2dab29b1320ab0", "parentSpanId": "53931d5c04af8885", "startTimeUnixNano": "1796073545320865411", "endTimeUnixNano": "1796073545321848856", "durationMs": 0.983445, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010069}}
{"type": "effect-span", "name": "sqlite", "traceId": "ff54898e235b6cbc4dfeac9cc7b34705", "spanId": "a1cddb58a58780ac", "parentSpanId": "53931d5c04af8885", "startTimeUnixNano": "1796073545321868132", "endTimeUnixNano": "1796073545322897192", "durationMs": 1.02906, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008766}}
{"type": "effect-span", "name": "sqlite", "traceId": "ff54898e235b6cbc4dfeac9cc7b34705", "spanId": "dd189b297a09b04d", "parentSpanId": "53931d5c04af8885", "startTimeUnixNano": "1796073545333802179", "endTimeUnixNano": "1796073545335600695", "durationMs": 1.798516, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012834}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ff54898e235b6cbc4dfeac9cc7b34705", "spanId": "53931d5c04af8885", "parentSpanId": "548be13d3a009a2f", "startTimeUnixNano": "1796073545320209257", "endTimeUnixNano": "1796073545335838789", "durationMs": 15.629532, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ff54898e235b6cbc4dfeac9cc7b34705", "spanId": "a1b19b9ec6d32c10", "parentSpanId": "548be13d3a009a2f", "startTimeUnixNano": "1796073545335854348", "endTimeUnixNano": "1796073545336040295", "durationMs": 0.185947, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ff54898e235b6cbc4dfeac9cc7b34705", "spanId": "548be13d3a009a2f", "parentSpanId": "3c6a0cc33281f302", "startTimeUnixNano": "1796073545317988032", "endTimeUnixNano": "1796073545336058489", "durationMs": 18.070457, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.055014, "db.connection": "reader", "db.lock_wait_ms": 2.024}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ff54898e235b6cbc4dfeac9cc7b34705", "spanId": "3c6a0cc33281f302", "parentSpanId": "c32bab437fdc14e7", "startTimeUnixNano": "1796073545317981109", "endTimeUnixNano": "1796073545336071794", "durationMs": 18.090685, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ff54898e235b6cbc4dfeac9cc7b34705", "spanId": "c32bab437fdc14e7", "parentSpanId": "b7b15a527dfab38c", "startTimeUnixNano": "1796073545317941125", "endTimeUnixNano": "1796073545336076322", "durationMs": 18.135197, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ff54898e235b6cbc4dfeac9cc7b34705", "spanId": "b7b15a527dfab38c", "startTimeUnixNano": "1796073545317928200", "endTimeUnixNano": "1796073545336084077", "durationMs": 18.155877, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "34a3c98e5e3b7ff4938a2cd49b2ea2c7", "spanId": "8b21397933f2ed74", "parentSpanId": "792e2d396b4b3644", "startTimeUnixNano": "1796073545539952975", "endTimeUnixNano": "1796073545540332623", "durationMs": 0.379648, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "34a3c98e5e3b7ff4938a2cd49b2ea2c7", "spanId": "7a4fa6a9c08feeca", "parentSpanId": "8fe83c196111fb1e", "startTimeUnixNano": "1796073545540402664", "endTimeUnixNano": "1796073545540761023", "durationMs": 0.358359, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006302}}
{"type": "effect-span", "name": "sqlite", "traceId": "34a3c98e5e3b7ff4938a2cd49b2ea2c7", "spanId": "43943f72dba3572b", "parentSpanId": "8fe83c196111fb1e", "startTimeUnixNano": "1796073545540871208", "endTimeUnixNano": "1796073545548524909", "durationMs": 7.653701, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011331}}
{"type": "effect-span", "name": "sqlite", "traceId": "34a3c98e5e3b7ff4938a2cd49b2ea2c7", "spanId": "a4abd6576fca3a1d", "parentSpanId": "8fe83c196111fb1e", "startTimeUnixNano": "1796073545548548653", "endTimeUnixNano": "1796073545550170610", "durationMs": 1.621957, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012033}}
{"type": "effect-span", "name": "sqlite", "traceId": "34a3c98e5e3b7ff4938a2cd49b2ea2c7", "spanId": "6e3e62e371f63b51", "parentSpanId": "8fe83c196111fb1e", "startTimeUnixNano": "1796073545556721492", "endTimeUnixNano": "1796073545559797562", "durationMs": 3.07607, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017403}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "34a3c98e5e3b7ff4938a2cd49b2ea2c7", "spanId": "8fe83c196111fb1e", "parentSpanId": "792e2d396b4b3644", "startTimeUnixNano": "1796073545540382506", "endTimeUnixNano": "1796073545560122458", "durationMs": 19.739952, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "34a3c98e5e3b7ff4938a2cd49b2ea2c7", "spanId": "3b1063ba60a54a0a", "parentSpanId": "792e2d396b4b3644", "startTimeUnixNano": "1796073545560140051", "endTimeUnixNano": "1796073545560588157", "durationMs": 0.448106, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "34a3c98e5e3b7ff4938a2cd49b2ea2c7", "spanId": "792e2d396b4b3644", "parentSpanId": "e54a37ebfb4db578", "startTimeUnixNano": "1796073545537491081", "endTimeUnixNano": "1796073545560604778", "durationMs": 23.113697, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.454911, "db.connection": "reader", "db.lock_wait_ms": 2.414}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "34a3c98e5e3b7ff4938a2cd49b2ea2c7", "spanId": "e54a37ebfb4db578", "parentSpanId": "fedfc5e6bbb5f130", "startTimeUnixNano": "1796073545537481494", "endTimeUnixNano": "1796073545560619736", "durationMs": 23.138242, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "34a3c98e5e3b7ff4938a2cd49b2ea2c7", "spanId": "fedfc5e6bbb5f130", "parentSpanId": "4734ae9cc321268b", "startTimeUnixNano": "1796073545537423866", "endTimeUnixNano": "1796073545560624996", "durationMs": 23.20113, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "34a3c98e5e3b7ff4938a2cd49b2ea2c7", "spanId": "4734ae9cc321268b", "startTimeUnixNano": "1796073545537407906", "endTimeUnixNano": "1796073545560630737", "durationMs": 23.222831, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "233c9b4512454fc62385be6e3ba2d49d", "spanId": "493b71b6d364804f", "parentSpanId": "65a586384fee8c1c", "startTimeUnixNano": "1796073547080529211", "endTimeUnixNano": "1796073547081391691", "durationMs": 0.86248, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "233c9b4512454fc62385be6e3ba2d49d", "spanId": "99fbe063aaa759cf", "parentSpanId": "fbae9c60c7cf9e63", "startTimeUnixNano": "1796073547081465509", "endTimeUnixNano": "1796073547084664157", "durationMs": 3.198648, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006201}}
{"type": "effect-span", "name": "sqlite", "traceId": "233c9b4512454fc62385be6e3ba2d49d", "spanId": "39cd310f5a279e65", "parentSpanId": "fbae9c60c7cf9e63", "startTimeUnixNano": "1796073547084795562", "endTimeUnixNano": "1796073547086286324", "durationMs": 1.490762, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.036077}}
{"type": "effect-span", "name": "sqlite", "traceId": "233c9b4512454fc62385be6e3ba2d49d", "spanId": "b4b83e507144ea62", "parentSpanId": "fbae9c60c7cf9e63", "startTimeUnixNano": "1796073547086304968", "endTimeUnixNano": "1796073547087994080", "durationMs": 1.689112, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011482}}
{"type": "effect-span", "name": "sqlite", "traceId": "233c9b4512454fc62385be6e3ba2d49d", "spanId": "0bc0623eb0a77cc7", "parentSpanId": "fbae9c60c7cf9e63", "startTimeUnixNano": "1796073547097266993", "endTimeUnixNano": "1796073547099875330", "durationMs": 2.608337, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021199}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "233c9b4512454fc62385be6e3ba2d49d", "spanId": "fbae9c60c7cf9e63", "parentSpanId": "65a586384fee8c1c", "startTimeUnixNano": "1796073547081455540", "endTimeUnixNano": "1796073547100354404", "durationMs": 18.898864, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "233c9b4512454fc62385be6e3ba2d49d", "spanId": "b58432fc10b94aff", "parentSpanId": "65a586384fee8c1c", "startTimeUnixNano": "1796073547100387095", "endTimeUnixNano": "1796073547100870276", "durationMs": 0.483181, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "233c9b4512454fc62385be6e3ba2d49d", "spanId": "65a586384fee8c1c", "parentSpanId": "0a31db7903e224eb", "startTimeUnixNano": "1796073547079007863", "endTimeUnixNano": "1796073547100902005", "durationMs": 21.894142, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.514175, "db.connection": "reader", "db.lock_wait_ms": 1.48}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "233c9b4512454fc62385be6e3ba2d49d", "spanId": "0a31db7903e224eb", "parentSpanId": "c8256f9faef31458", "startTimeUnixNano": "1796073547078999457", "endTimeUnixNano": "1796073547100924427", "durationMs": 21.92497, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "233c9b4512454fc62385be6e3ba2d49d", "spanId": "c8256f9faef31458", "parentSpanId": "eaee2107ef983e70", "startTimeUnixNano": "1796073547078958962", "endTimeUnixNano": "1796073547100931761", "durationMs": 21.972799, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "233c9b4512454fc62385be6e3ba2d49d", "spanId": "eaee2107ef983e70", "startTimeUnixNano": "1796073547078944104", "endTimeUnixNano": "1796073547100942461", "durationMs": 21.998357, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2ecbe5cd974cfe4f74626d076e55089a", "spanId": "3d9e1280d3e38e6b", "parentSpanId": "2f424c27ec4be6b7", "startTimeUnixNano": "1796073547320635107", "endTimeUnixNano": "1796073547322159662", "durationMs": 1.524555, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2ecbe5cd974cfe4f74626d076e55089a", "spanId": "80943e7db97fcd75", "parentSpanId": "4a9dd8f60a395c5c", "startTimeUnixNano": "1796073547322204215", "endTimeUnixNano": "1796073547322557284", "durationMs": 0.353069, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00533}}
{"type": "effect-span", "name": "sqlite", "traceId": "2ecbe5cd974cfe4f74626d076e55089a", "spanId": "61d4a41b39575609", "parentSpanId": "4a9dd8f60a395c5c", "startTimeUnixNano": "1796073547322640669", "endTimeUnixNano": "1796073547324005396", "durationMs": 1.364727, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01055}}
{"type": "effect-span", "name": "sqlite", "traceId": "2ecbe5cd974cfe4f74626d076e55089a", "spanId": "392c2ae901609a69", "parentSpanId": "4a9dd8f60a395c5c", "startTimeUnixNano": "1796073547324020925", "endTimeUnixNano": "1796073547325312946", "durationMs": 1.292021, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011211}}
{"type": "effect-span", "name": "sqlite", "traceId": "2ecbe5cd974cfe4f74626d076e55089a", "spanId": "a2940b3a52d3c26f", "parentSpanId": "4a9dd8f60a395c5c", "startTimeUnixNano": "1796073547332093538", "endTimeUnixNano": "1796073547333850356", "durationMs": 1.756818, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018334}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2ecbe5cd974cfe4f74626d076e55089a", "spanId": "4a9dd8f60a395c5c", "parentSpanId": "2f424c27ec4be6b7", "startTimeUnixNano": "1796073547322194807", "endTimeUnixNano": "1796073547334251995", "durationMs": 12.057188, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2ecbe5cd974cfe4f74626d076e55089a", "spanId": "39d8abcfbdcb8fff", "parentSpanId": "2f424c27ec4be6b7", "startTimeUnixNano": "1796073547334284486", "endTimeUnixNano": "1796073547335028825", "durationMs": 0.744339, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2ecbe5cd974cfe4f74626d076e55089a", "spanId": "2f424c27ec4be6b7", "parentSpanId": "a2727e04a5714ca1", "startTimeUnixNano": "1796073547316795623", "endTimeUnixNano": "1796073547335090961", "durationMs": 18.295338, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.83163, "db.connection": "reader", "db.lock_wait_ms": 3.798}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2ecbe5cd974cfe4f74626d076e55089a", "spanId": "a2727e04a5714ca1", "parentSpanId": "9e9116c801085de2", "startTimeUnixNano": "1796073547316786757", "endTimeUnixNano": "1796073547335121568", "durationMs": 18.334811, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2ecbe5cd974cfe4f74626d076e55089a", "spanId": "9e9116c801085de2", "parentSpanId": "98c8acdfd207d9d3", "startTimeUnixNano": "1796073547316751952", "endTimeUnixNano": "1796073547335132238", "durationMs": 18.380286, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2ecbe5cd974cfe4f74626d076e55089a", "spanId": "98c8acdfd207d9d3", "startTimeUnixNano": "1796073547316736383", "endTimeUnixNano": "1796073547335146204", "durationMs": 18.409821, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "92a74660bd4cb57772c1560f81543067", "spanId": "514246a18c406616", "parentSpanId": "fd91090ce90a6f4d", "startTimeUnixNano": "1796073548785843727", "endTimeUnixNano": "1796073548786373385", "durationMs": 0.529658, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "92a74660bd4cb57772c1560f81543067", "spanId": "e5aba7feca5a9040", "parentSpanId": "55a61d653ab19581", "startTimeUnixNano": "1796073548786408921", "endTimeUnixNano": "1796073548786912120", "durationMs": 0.503199, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004459}}
{"type": "effect-span", "name": "sqlite", "traceId": "92a74660bd4cb57772c1560f81543067", "spanId": "56b962472b5700cb", "parentSpanId": "55a61d653ab19581", "startTimeUnixNano": "1796073548786978144", "endTimeUnixNano": "1796073548787862434", "durationMs": 0.88429, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008576}}
{"type": "effect-span", "name": "sqlite", "traceId": "92a74660bd4cb57772c1560f81543067", "spanId": "5675bba4de51eaad", "parentSpanId": "55a61d653ab19581", "startTimeUnixNano": "1796073548787875969", "endTimeUnixNano": "1796073548788728981", "durationMs": 0.853012, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006642}}
{"type": "effect-span", "name": "sqlite", "traceId": "92a74660bd4cb57772c1560f81543067", "spanId": "3525104e80d6386f", "parentSpanId": "55a61d653ab19581", "startTimeUnixNano": "1796073548797839751", "endTimeUnixNano": "1796073548800579132", "durationMs": 2.739381, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.024906}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "92a74660bd4cb57772c1560f81543067", "spanId": "55a61d653ab19581", "parentSpanId": "fd91090ce90a6f4d", "startTimeUnixNano": "1796073548786403131", "endTimeUnixNano": "1796073548801021648", "durationMs": 14.618517, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "92a74660bd4cb57772c1560f81543067", "spanId": "5828e602019c31b5", "parentSpanId": "fd91090ce90a6f4d", "startTimeUnixNano": "1796073548801059208", "endTimeUnixNano": "1796073548801262588", "durationMs": 0.20338, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "92a74660bd4cb57772c1560f81543067", "spanId": "fd91090ce90a6f4d", "parentSpanId": "d1e9ea0a691f3ab6", "startTimeUnixNano": "1796073548784681889", "endTimeUnixNano": "1796073548801299086", "durationMs": 16.617197, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.15784, "db.connection": "reader", "db.lock_wait_ms": 1.128}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "92a74660bd4cb57772c1560f81543067", "spanId": "d1e9ea0a691f3ab6", "parentSpanId": "5c966563547eaaed", "startTimeUnixNano": "1796073548784675226", "endTimeUnixNano": "1796073548801331516", "durationMs": 16.65629, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "92a74660bd4cb57772c1560f81543067", "spanId": "5c966563547eaaed", "parentSpanId": "9f8619e8217e6637", "startTimeUnixNano": "1796073548784642064", "endTimeUnixNano": "1796073548801344531", "durationMs": 16.702467, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "92a74660bd4cb57772c1560f81543067", "spanId": "9f8619e8217e6637", "startTimeUnixNano": "1796073548784629040", "endTimeUnixNano": "1796073548801356793", "durationMs": 16.727753, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b87fe97b7236a34c21bb40d0b2ba5df6", "spanId": "12028e0d4e0d1d8d", "parentSpanId": "2ab156836d3267c6", "startTimeUnixNano": "1796073549030022360", "endTimeUnixNano": "1796073549030805171", "durationMs": 0.782811, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b87fe97b7236a34c21bb40d0b2ba5df6", "spanId": "783dd98584ea389f", "parentSpanId": "e0522bfd9714f445", "startTimeUnixNano": "1796073549030873278", "endTimeUnixNano": "1796073549031938055", "durationMs": 1.064777, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009097}}
{"type": "effect-span", "name": "sqlite", "traceId": "b87fe97b7236a34c21bb40d0b2ba5df6", "spanId": "a45206578d976052", "parentSpanId": "e0522bfd9714f445", "startTimeUnixNano": "1796073549032048611", "endTimeUnixNano": "1796073549033350911", "durationMs": 1.3023, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014848}}
{"type": "effect-span", "name": "sqlite", "traceId": "b87fe97b7236a34c21bb40d0b2ba5df6", "spanId": "c12dcf81a952de87", "parentSpanId": "e0522bfd9714f445", "startTimeUnixNano": "1796073549033389894", "endTimeUnixNano": "1796073549034950466", "durationMs": 1.560572, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012283}}
{"type": "effect-span", "name": "sqlite", "traceId": "b87fe97b7236a34c21bb40d0b2ba5df6", "spanId": "0f1ad026286d4c6f", "parentSpanId": "e0522bfd9714f445", "startTimeUnixNano": "1796073549045647176", "endTimeUnixNano": "1796073549051010313", "durationMs": 5.363137, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.037089}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b87fe97b7236a34c21bb40d0b2ba5df6", "spanId": "e0522bfd9714f445", "parentSpanId": "2ab156836d3267c6", "startTimeUnixNano": "1796073549030860975", "endTimeUnixNano": "1796073549051514584", "durationMs": 20.653609, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b87fe97b7236a34c21bb40d0b2ba5df6", "spanId": "7dfb6e9eb87e4047", "parentSpanId": "2ab156836d3267c6", "startTimeUnixNano": "1796073549051547486", "endTimeUnixNano": "1796073549052848754", "durationMs": 1.301268, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b87fe97b7236a34c21bb40d0b2ba5df6", "spanId": "2ab156836d3267c6", "parentSpanId": "b377b19220486bc9", "startTimeUnixNano": "1796073549028331094", "endTimeUnixNano": "1796073549052878679", "durationMs": 24.547585, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.684333, "db.connection": "reader", "db.lock_wait_ms": 1.642}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b87fe97b7236a34c21bb40d0b2ba5df6", "spanId": "b377b19220486bc9", "parentSpanId": "e2f20a9413d311bc", "startTimeUnixNano": "1796073549028317900", "endTimeUnixNano": "1796073549052906892", "durationMs": 24.588992, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b87fe97b7236a34c21bb40d0b2ba5df6", "spanId": "e2f20a9413d311bc", "parentSpanId": "2c9c47471ccce786", "startTimeUnixNano": "1796073549028272084", "endTimeUnixNano": "1796073549052925627", "durationMs": 24.653543, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b87fe97b7236a34c21bb40d0b2ba5df6", "spanId": "2c9c47471ccce786", "startTimeUnixNano": "1796073549028247418", "endTimeUnixNano": "1796073549052944091", "durationMs": 24.696673, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4e0c802b2c1fef6be0d5780520600b28", "spanId": "74ac478dca2e3396", "parentSpanId": "01d01c9f4c23790d", "startTimeUnixNano": "1796073550466669695", "endTimeUnixNano": "1796073550467348021", "durationMs": 0.678326, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4e0c802b2c1fef6be0d5780520600b28", "spanId": "96b34317a43f409b", "parentSpanId": "d586662a6497bc37", "startTimeUnixNano": "1796073550467393506", "endTimeUnixNano": "1796073550468106937", "durationMs": 0.713431, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005671}}
{"type": "effect-span", "name": "sqlite", "traceId": "4e0c802b2c1fef6be0d5780520600b28", "spanId": "bf3ebb6795de7677", "parentSpanId": "d586662a6497bc37", "startTimeUnixNano": "1796073550468179763", "endTimeUnixNano": "1796073550469586177", "durationMs": 1.406414, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01071}}
{"type": "effect-span", "name": "sqlite", "traceId": "4e0c802b2c1fef6be0d5780520600b28", "spanId": "7ee8c36e08cda805", "parentSpanId": "d586662a6497bc37", "startTimeUnixNano": "1796073550469607257", "endTimeUnixNano": "1796073550470574121", "durationMs": 0.966864, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007654}}
{"type": "effect-span", "name": "sqlite", "traceId": "4e0c802b2c1fef6be0d5780520600b28", "spanId": "4498de8f52711dd3", "parentSpanId": "d586662a6497bc37", "startTimeUnixNano": "1796073550479305614", "endTimeUnixNano": "1796073550482036500", "durationMs": 2.730886, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014687}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4e0c802b2c1fef6be0d5780520600b28", "spanId": "d586662a6497bc37", "parentSpanId": "01d01c9f4c23790d", "startTimeUnixNano": "1796073550467385521", "endTimeUnixNano": "1796073550482787050", "durationMs": 15.401529, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4e0c802b2c1fef6be0d5780520600b28", "spanId": "f1375f1d2de92959", "parentSpanId": "01d01c9f4c23790d", "startTimeUnixNano": "1796073550482933513", "endTimeUnixNano": "1796073550486646392", "durationMs": 3.712879, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4e0c802b2c1fef6be0d5780520600b28", "spanId": "01d01c9f4c23790d", "parentSpanId": "7ae2999b2c694803", "startTimeUnixNano": "1796073550465369840", "endTimeUnixNano": "1796073550486690294", "durationMs": 21.320454, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.294375, "db.connection": "reader", "db.lock_wait_ms": 1.262}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4e0c802b2c1fef6be0d5780520600b28", "spanId": "7ae2999b2c694803", "parentSpanId": "00f1697ae3b30df5", "startTimeUnixNano": "1796073550465362065", "endTimeUnixNano": "1796073550486713597", "durationMs": 21.351532, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4e0c802b2c1fef6be0d5780520600b28", "spanId": "00f1697ae3b30df5", "parentSpanId": "90076d71d44c7d08", "startTimeUnixNano": "1796073550465324205", "endTimeUnixNano": "1796073550486719017", "durationMs": 21.394812, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4e0c802b2c1fef6be0d5780520600b28", "spanId": "90076d71d44c7d08", "startTimeUnixNano": "1796073550465311170", "endTimeUnixNano": "1796073550486728966", "durationMs": 21.417796, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b0f0f32d27d47a584475dbc4fc735d3e", "spanId": "325580e3edaa89c0", "parentSpanId": "3489fa230371405a", "startTimeUnixNano": "1796073550691522801", "endTimeUnixNano": "1796073550691821659", "durationMs": 0.298858, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b0f0f32d27d47a584475dbc4fc735d3e", "spanId": "28f59e9e090eb09c", "parentSpanId": "1a098bb1f1ecc0fa", "startTimeUnixNano": "1796073550691859069", "endTimeUnixNano": "1796073550692001264", "durationMs": 0.142195, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004718}}
{"type": "effect-span", "name": "sqlite", "traceId": "b0f0f32d27d47a584475dbc4fc735d3e", "spanId": "ae9fece819b60a8d", "parentSpanId": "1a098bb1f1ecc0fa", "startTimeUnixNano": "1796073550692065053", "endTimeUnixNano": "1796073550693041124", "durationMs": 0.976071, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009908}}
{"type": "effect-span", "name": "sqlite", "traceId": "b0f0f32d27d47a584475dbc4fc735d3e", "spanId": "b5d738a42e6c0471", "parentSpanId": "1a098bb1f1ecc0fa", "startTimeUnixNano": "1796073550693059619", "endTimeUnixNano": "1796073550695749518", "durationMs": 2.689899, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009297}}
{"type": "effect-span", "name": "sqlite", "traceId": "b0f0f32d27d47a584475dbc4fc735d3e", "spanId": "10819a10531750fc", "parentSpanId": "1a098bb1f1ecc0fa", "startTimeUnixNano": "1796073550701062833", "endTimeUnixNano": "1796073550703918071", "durationMs": 2.855238, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013515}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b0f0f32d27d47a584475dbc4fc735d3e", "spanId": "1a098bb1f1ecc0fa", "parentSpanId": "3489fa230371405a", "startTimeUnixNano": "1796073550691852056", "endTimeUnixNano": "1796073550704147559", "durationMs": 12.295503, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b0f0f32d27d47a584475dbc4fc735d3e", "spanId": "05acd43c6e536692", "parentSpanId": "3489fa230371405a", "startTimeUnixNano": "1796073550704159281", "endTimeUnixNano": "1796073550704656348", "durationMs": 0.497067, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b0f0f32d27d47a584475dbc4fc735d3e", "spanId": "3489fa230371405a", "parentSpanId": "d7485b6d22811e42", "startTimeUnixNano": "1796073550690392923", "endTimeUnixNano": "1796073550704673370", "durationMs": 14.280447, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.124578, "db.connection": "reader", "db.lock_wait_ms": 1.097}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b0f0f32d27d47a584475dbc4fc735d3e", "spanId": "d7485b6d22811e42", "parentSpanId": "2d1c2d346014ed6d", "startTimeUnixNano": "1796073550690384277", "endTimeUnixNano": "1796073550704685843", "durationMs": 14.301566, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b0f0f32d27d47a584475dbc4fc735d3e", "spanId": "2d1c2d346014ed6d", "parentSpanId": "c2a380b5fc6852bf", "startTimeUnixNano": "1796073550690358448", "endTimeUnixNano": "1796073550704690292", "durationMs": 14.331844, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b0f0f32d27d47a584475dbc4fc735d3e", "spanId": "c2a380b5fc6852bf", "startTimeUnixNano": "1796073550690344883", "endTimeUnixNano": "1796073550704696944", "durationMs": 14.352061, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a7947f0c928cd08093db00b639440fcf", "spanId": "1af405ba3faef259", "parentSpanId": "20609ca49e2f90cc", "startTimeUnixNano": "1796073552037144694", "endTimeUnixNano": "1796073552037864858", "durationMs": 0.720164, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a7947f0c928cd08093db00b639440fcf", "spanId": "93737a1366720060", "parentSpanId": "c3906fb75db3a221", "startTimeUnixNano": "1796073552037903150", "endTimeUnixNano": "1796073552038495455", "durationMs": 0.592305, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004438}}
{"type": "effect-span", "name": "sqlite", "traceId": "a7947f0c928cd08093db00b639440fcf", "spanId": "b194faf437eb0a12", "parentSpanId": "c3906fb75db3a221", "startTimeUnixNano": "1796073552038564524", "endTimeUnixNano": "1796073552039732964", "durationMs": 1.16844, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008245}}
{"type": "effect-span", "name": "sqlite", "traceId": "a7947f0c928cd08093db00b639440fcf", "spanId": "f0843d19042f2aad", "parentSpanId": "c3906fb75db3a221", "startTimeUnixNano": "1796073552039754574", "endTimeUnixNano": "1796073552040694789", "durationMs": 0.940215, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007063}}
{"type": "effect-span", "name": "sqlite", "traceId": "a7947f0c928cd08093db00b639440fcf", "spanId": "9ed7bfdacc88fe6e", "parentSpanId": "c3906fb75db3a221", "startTimeUnixNano": "1796073552049109191", "endTimeUnixNano": "1796073552051656224", "durationMs": 2.547033, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01604}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a7947f0c928cd08093db00b639440fcf", "spanId": "c3906fb75db3a221", "parentSpanId": "20609ca49e2f90cc", "startTimeUnixNano": "1796073552037897489", "endTimeUnixNano": "1796073552051959279", "durationMs": 14.06179, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a7947f0c928cd08093db00b639440fcf", "spanId": "dd7134d9321daa91", "parentSpanId": "20609ca49e2f90cc", "startTimeUnixNano": "1796073552051981460", "endTimeUnixNano": "1796073552052221378", "durationMs": 0.239918, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a7947f0c928cd08093db00b639440fcf", "spanId": "20609ca49e2f90cc", "parentSpanId": "2a2024aadc49eabc", "startTimeUnixNano": "1796073552033732897", "endTimeUnixNano": "1796073552052250222", "durationMs": 18.517325, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.405455, "db.connection": "reader", "db.lock_wait_ms": 3.362}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a7947f0c928cd08093db00b639440fcf", "spanId": "2a2024aadc49eabc", "parentSpanId": "1e774ce12dd2fb70", "startTimeUnixNano": "1796073552033724271", "endTimeUnixNano": "1796073552052274327", "durationMs": 18.550056, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a7947f0c928cd08093db00b639440fcf", "spanId": "1e774ce12dd2fb70", "parentSpanId": "b3739494d56f9ce1", "startTimeUnixNano": "1796073552033678316", "endTimeUnixNano": "1796073552052281320", "durationMs": 18.603004, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a7947f0c928cd08093db00b639440fcf", "spanId": "b3739494d56f9ce1", "startTimeUnixNano": "1796073552033661554", "endTimeUnixNano": "1796073552052288884", "durationMs": 18.62733, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ad6a6b40772f52d2bb60c61b4d271bca", "spanId": "9c0c7d237b53d8b4", "parentSpanId": "1472326b2e33de01", "startTimeUnixNano": "1796073552246884000", "endTimeUnixNano": "1796073552247162580", "durationMs": 0.27858, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ad6a6b40772f52d2bb60c61b4d271bca", "spanId": "b0dd2e1a80caa8cd", "parentSpanId": "e769fcc28abe3221", "startTimeUnixNano": "1796073552247197836", "endTimeUnixNano": "1796073552247301600", "durationMs": 0.103764, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004308}}
{"type": "effect-span", "name": "sqlite", "traceId": "ad6a6b40772f52d2bb60c61b4d271bca", "spanId": "cb1b80e184d8bff0", "parentSpanId": "e769fcc28abe3221", "startTimeUnixNano": "1796073552247370318", "endTimeUnixNano": "1796073552248391584", "durationMs": 1.021266, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008656}}
{"type": "effect-span", "name": "sqlite", "traceId": "ad6a6b40772f52d2bb60c61b4d271bca", "spanId": "297e4ad33d765b18", "parentSpanId": "e769fcc28abe3221", "startTimeUnixNano": "1796073552248405109", "endTimeUnixNano": "1796073552249177811", "durationMs": 0.772702, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006211}}
{"type": "effect-span", "name": "sqlite", "traceId": "ad6a6b40772f52d2bb60c61b4d271bca", "spanId": "133ad367ec585af8", "parentSpanId": "e769fcc28abe3221", "startTimeUnixNano": "1796073552254753876", "endTimeUnixNano": "1796073552256155281", "durationMs": 1.401405, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014447}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ad6a6b40772f52d2bb60c61b4d271bca", "spanId": "e769fcc28abe3221", "parentSpanId": "1472326b2e33de01", "startTimeUnixNano": "1796073552247192145", "endTimeUnixNano": "1796073552256404737", "durationMs": 9.212592, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ad6a6b40772f52d2bb60c61b4d271bca", "spanId": "97331a7a1c96d114", "parentSpanId": "1472326b2e33de01", "startTimeUnixNano": "1796073552256418713", "endTimeUnixNano": "1796073552256851130", "durationMs": 0.432417, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ad6a6b40772f52d2bb60c61b4d271bca", "spanId": "1472326b2e33de01", "parentSpanId": "1005e155e6a74b0c", "startTimeUnixNano": "1796073552245403929", "endTimeUnixNano": "1796073552256870185", "durationMs": 11.466256, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.477056, "db.connection": "reader", "db.lock_wait_ms": 1.427}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ad6a6b40772f52d2bb60c61b4d271bca", "spanId": "1005e155e6a74b0c", "parentSpanId": "454a316542ef6275", "startTimeUnixNano": "1796073552245396194", "endTimeUnixNano": "1796073552256882769", "durationMs": 11.486575, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ad6a6b40772f52d2bb60c61b4d271bca", "spanId": "454a316542ef6275", "parentSpanId": "417c1f0e4ee8939d", "startTimeUnixNano": "1796073552245366048", "endTimeUnixNano": "1796073552256887107", "durationMs": 11.521059, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ad6a6b40772f52d2bb60c61b4d271bca", "spanId": "417c1f0e4ee8939d", "startTimeUnixNano": "1796073552245351962", "endTimeUnixNano": "1796073552256893348", "durationMs": 11.541386, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2d6360bd7ea8a2ec19a8087141d7bc4e", "spanId": "f08b083f24d51b3e", "parentSpanId": "759dd9f32a346c0f", "startTimeUnixNano": "1796073553600171575", "endTimeUnixNano": "1796073553600963793", "durationMs": 0.792218, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2d6360bd7ea8a2ec19a8087141d7bc4e", "spanId": "b8477c6073950ddc", "parentSpanId": "bec16362a7324edd", "startTimeUnixNano": "1796073553601004129", "endTimeUnixNano": "1796073553601863623", "durationMs": 0.859494, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004789}}
{"type": "effect-span", "name": "sqlite", "traceId": "2d6360bd7ea8a2ec19a8087141d7bc4e", "spanId": "25add9cf5d691be6", "parentSpanId": "bec16362a7324edd", "startTimeUnixNano": "1796073553602094293", "endTimeUnixNano": "1796073553603366457", "durationMs": 1.272164, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014858}}
{"type": "effect-span", "name": "sqlite", "traceId": "2d6360bd7ea8a2ec19a8087141d7bc4e", "spanId": "974853e3adf76210", "parentSpanId": "bec16362a7324edd", "startTimeUnixNano": "1796073553603382106", "endTimeUnixNano": "1796073553604553572", "durationMs": 1.171466, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009227}}
{"type": "effect-span", "name": "sqlite", "traceId": "2d6360bd7ea8a2ec19a8087141d7bc4e", "spanId": "dd4550251ecb7927", "parentSpanId": "bec16362a7324edd", "startTimeUnixNano": "1796073553613807872", "endTimeUnixNano": "1796073553615663134", "durationMs": 1.855262, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016551}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2d6360bd7ea8a2ec19a8087141d7bc4e", "spanId": "bec16362a7324edd", "parentSpanId": "759dd9f32a346c0f", "startTimeUnixNano": "1796073553600998508", "endTimeUnixNano": "1796073553615987589", "durationMs": 14.989081, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2d6360bd7ea8a2ec19a8087141d7bc4e", "spanId": "56a42567e6ff2d14", "parentSpanId": "759dd9f32a346c0f", "startTimeUnixNano": "1796073553616011163", "endTimeUnixNano": "1796073553616361878", "durationMs": 0.350715, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2d6360bd7ea8a2ec19a8087141d7bc4e", "spanId": "759dd9f32a346c0f", "parentSpanId": "a338b347133d5d2c", "startTimeUnixNano": "1796073553598530473", "endTimeUnixNano": "1796073553616385552", "durationMs": 17.855079, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.636123, "db.connection": "reader", "db.lock_wait_ms": 1.593}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2d6360bd7ea8a2ec19a8087141d7bc4e", "spanId": "a338b347133d5d2c", "parentSpanId": "bc923ac87d17bbf5", "startTimeUnixNano": "1796073553598522017", "endTimeUnixNano": "1796073553616409607", "durationMs": 17.88759, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2d6360bd7ea8a2ec19a8087141d7bc4e", "spanId": "bc923ac87d17bbf5", "parentSpanId": "64ae1ea2553537e6", "startTimeUnixNano": "1796073553598469860", "endTimeUnixNano": "1796073553616416109", "durationMs": 17.946249, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2d6360bd7ea8a2ec19a8087141d7bc4e", "spanId": "64ae1ea2553537e6", "startTimeUnixNano": "1796073553598445494", "endTimeUnixNano": "1796073553616424595", "durationMs": 17.979101, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fc0f12c01d9e75e9a4f43afa0f145ad0", "spanId": "eac6bbc72d956b38", "parentSpanId": "f037d7e6d7397be0", "startTimeUnixNano": "1796073553820477205", "endTimeUnixNano": "1796073553820609733", "durationMs": 0.132528, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fc0f12c01d9e75e9a4f43afa0f145ad0", "spanId": "1e959ff22fe5ad2c", "parentSpanId": "4349bff958e6e819", "startTimeUnixNano": "1796073553820649417", "endTimeUnixNano": "1796073553820929950", "durationMs": 0.280533, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00575}}
{"type": "effect-span", "name": "sqlite", "traceId": "fc0f12c01d9e75e9a4f43afa0f145ad0", "spanId": "1a08a335a352b697", "parentSpanId": "4349bff958e6e819", "startTimeUnixNano": "1796073553820996745", "endTimeUnixNano": "1796073553821838956", "durationMs": 0.842211, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007925}}
{"type": "effect-span", "name": "sqlite", "traceId": "fc0f12c01d9e75e9a4f43afa0f145ad0", "spanId": "91fda66e61972c29", "parentSpanId": "4349bff958e6e819", "startTimeUnixNano": "1796073553821862881", "endTimeUnixNano": "1796073553824261056", "durationMs": 2.398175, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006683}}
{"type": "effect-span", "name": "sqlite", "traceId": "fc0f12c01d9e75e9a4f43afa0f145ad0", "spanId": "d9dc09e030676e1b", "parentSpanId": "4349bff958e6e819", "startTimeUnixNano": "1796073553830113397", "endTimeUnixNano": "1796073553832511052", "durationMs": 2.397655, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011852}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fc0f12c01d9e75e9a4f43afa0f145ad0", "spanId": "4349bff958e6e819", "parentSpanId": "f037d7e6d7397be0", "startTimeUnixNano": "1796073553820643716", "endTimeUnixNano": "1796073553832786716", "durationMs": 12.143, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fc0f12c01d9e75e9a4f43afa0f145ad0", "spanId": "d6e1753c30887610", "parentSpanId": "f037d7e6d7397be0", "startTimeUnixNano": "1796073553832802756", "endTimeUnixNano": "1796073553833171965", "durationMs": 0.369209, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fc0f12c01d9e75e9a4f43afa0f145ad0", "spanId": "f037d7e6d7397be0", "parentSpanId": "11a79c7cf50729ff", "startTimeUnixNano": "1796073553818785198", "endTimeUnixNano": "1796073553833202913", "durationMs": 14.417715, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.686006, "db.connection": "reader", "db.lock_wait_ms": 1.645}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fc0f12c01d9e75e9a4f43afa0f145ad0", "spanId": "11a79c7cf50729ff", "parentSpanId": "495e9a408cd880b4", "startTimeUnixNano": "1796073553818777514", "endTimeUnixNano": "1796073553833219974", "durationMs": 14.44246, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fc0f12c01d9e75e9a4f43afa0f145ad0", "spanId": "495e9a408cd880b4", "parentSpanId": "962161fcf1574158", "startTimeUnixNano": "1796073553818735375", "endTimeUnixNano": "1796073553833225254", "durationMs": 14.489879, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fc0f12c01d9e75e9a4f43afa0f145ad0", "spanId": "962161fcf1574158", "startTimeUnixNano": "1796073553818718143", "endTimeUnixNano": "1796073553833232257", "durationMs": 14.514114, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "476552713cb688a99dd93eafebb45ef3", "spanId": "ac6fa241e47b5abc", "parentSpanId": "8e37de0e10cbc28e", "startTimeUnixNano": "1796073555268359801", "endTimeUnixNano": "1796073555269179410", "durationMs": 0.819609, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "476552713cb688a99dd93eafebb45ef3", "spanId": "00b8dac8e4228369", "parentSpanId": "439322d769832cc0", "startTimeUnixNano": "1796073555269254160", "endTimeUnixNano": "1796073555270055365", "durationMs": 0.801205, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.012674}}
{"type": "effect-span", "name": "sqlite", "traceId": "476552713cb688a99dd93eafebb45ef3", "spanId": "5d2ac445c4938a90", "parentSpanId": "439322d769832cc0", "startTimeUnixNano": "1796073555270150202", "endTimeUnixNano": "1796073555271214308", "durationMs": 1.064106, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014998}}
{"type": "effect-span", "name": "sqlite", "traceId": "476552713cb688a99dd93eafebb45ef3", "spanId": "c7009681ca0c63bf", "parentSpanId": "439322d769832cc0", "startTimeUnixNano": "1796073555271229456", "endTimeUnixNano": "1796073555272298181", "durationMs": 1.068725, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012283}}
{"type": "effect-span", "name": "sqlite", "traceId": "476552713cb688a99dd93eafebb45ef3", "spanId": "339605d2d1890bcf", "parentSpanId": "439322d769832cc0", "startTimeUnixNano": "1796073555280678841", "endTimeUnixNano": "1796073555284263340", "durationMs": 3.584499, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025327}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "476552713cb688a99dd93eafebb45ef3", "spanId": "439322d769832cc0", "parentSpanId": "8e37de0e10cbc28e", "startTimeUnixNano": "1796073555269240034", "endTimeUnixNano": "1796073555284630866", "durationMs": 15.390832, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "476552713cb688a99dd93eafebb45ef3", "spanId": "2b9da6479806cca9", "parentSpanId": "8e37de0e10cbc28e", "startTimeUnixNano": "1796073555284661814", "endTimeUnixNano": "1796073555285277513", "durationMs": 0.615699, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "476552713cb688a99dd93eafebb45ef3", "spanId": "8e37de0e10cbc28e", "parentSpanId": "b0427b6235d35516", "startTimeUnixNano": "1796073555266671300", "endTimeUnixNano": "1796073555285305806", "durationMs": 18.634506, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.681939, "db.connection": "reader", "db.lock_wait_ms": 1.641}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "476552713cb688a99dd93eafebb45ef3", "spanId": "b0427b6235d35516", "parentSpanId": "9813429c3ef2ccda", "startTimeUnixNano": "1796073555266661732", "endTimeUnixNano": "1796073555285325122", "durationMs": 18.66339, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "476552713cb688a99dd93eafebb45ef3", "spanId": "9813429c3ef2ccda", "parentSpanId": "20a57df09f3a09f7", "startTimeUnixNano": "1796073555266616838", "endTimeUnixNano": "1796073555285333948", "durationMs": 18.71711, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "476552713cb688a99dd93eafebb45ef3", "spanId": "20a57df09f3a09f7", "startTimeUnixNano": "1796073555266601219", "endTimeUnixNano": "1796073555285349267", "durationMs": 18.748048, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ab11742de1baed0bb48a3cfd556c4f08", "spanId": "caa025a2d28cfc6c", "parentSpanId": "5f2911ea0ae120e1", "startTimeUnixNano": "1796073555496283763", "endTimeUnixNano": "1796073555496734844", "durationMs": 0.451081, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab11742de1baed0bb48a3cfd556c4f08", "spanId": "50a0bf7e05ff5650", "parentSpanId": "713d7b7582faa126", "startTimeUnixNano": "1796073555496806238", "endTimeUnixNano": "1796073555499740734", "durationMs": 2.934496, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008445}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab11742de1baed0bb48a3cfd556c4f08", "spanId": "488ac30a026d4e18", "parentSpanId": "713d7b7582faa126", "startTimeUnixNano": "1796073555499885804", "endTimeUnixNano": "1796073555501159121", "durationMs": 1.273317, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015349}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab11742de1baed0bb48a3cfd556c4f08", "spanId": "8fc72dec621a0f78", "parentSpanId": "713d7b7582faa126", "startTimeUnixNano": "1796073555501183747", "endTimeUnixNano": "1796073555502176068", "durationMs": 0.992321, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011461}}
{"type": "effect-span", "name": "sqlite", "traceId": "ab11742de1baed0bb48a3cfd556c4f08", "spanId": "69e6c8e8be603532", "parentSpanId": "713d7b7582faa126", "startTimeUnixNano": "1796073555508218284", "endTimeUnixNano": "1796073555510838804", "durationMs": 2.62052, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023644}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ab11742de1baed0bb48a3cfd556c4f08", "spanId": "713d7b7582faa126", "parentSpanId": "5f2911ea0ae120e1", "startTimeUnixNano": "1796073555496795808", "endTimeUnixNano": "1796073555511270410", "durationMs": 14.474602, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ab11742de1baed0bb48a3cfd556c4f08", "spanId": "78bd355999b66d38", "parentSpanId": "5f2911ea0ae120e1", "startTimeUnixNano": "1796073555511300676", "endTimeUnixNano": "1796073555512221605", "durationMs": 0.920929, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ab11742de1baed0bb48a3cfd556c4f08", "spanId": "5f2911ea0ae120e1", "parentSpanId": "7b545b19c5966737", "startTimeUnixNano": "1796073555493997546", "endTimeUnixNano": "1796073555512250048", "durationMs": 18.252502, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.279284, "db.connection": "reader", "db.lock_wait_ms": 2.247}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ab11742de1baed0bb48a3cfd556c4f08", "spanId": "7b545b19c5966737", "parentSpanId": "8c299554b02d114d", "startTimeUnixNano": "1796073555493990062", "endTimeUnixNano": "1796073555512276437", "durationMs": 18.286375, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ab11742de1baed0bb48a3cfd556c4f08", "spanId": "8c299554b02d114d", "parentSpanId": "d75eb7175bb870c0", "startTimeUnixNano": "1796073555493955618", "endTimeUnixNano": "1796073555512286907", "durationMs": 18.331289, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ab11742de1baed0bb48a3cfd556c4f08", "spanId": "d75eb7175bb870c0", "startTimeUnixNano": "1796073555493941572", "endTimeUnixNano": "1796073555512301754", "durationMs": 18.360182, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4bbfc55ac98781b07afd11fa5d181494", "spanId": "901c1e3941a528b3", "parentSpanId": "72721400f043a201", "startTimeUnixNano": "1796073556934119719", "endTimeUnixNano": "1796073556934340351", "durationMs": 0.220632, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4bbfc55ac98781b07afd11fa5d181494", "spanId": "a84632432fec582d", "parentSpanId": "46c702d3d1008155", "startTimeUnixNano": "1796073556934395033", "endTimeUnixNano": "1796073556935172123", "durationMs": 0.77709, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006783}}
{"type": "effect-span", "name": "sqlite", "traceId": "4bbfc55ac98781b07afd11fa5d181494", "spanId": "b6ea2e2b37968f40", "parentSpanId": "46c702d3d1008155", "startTimeUnixNano": "1796073556935270276", "endTimeUnixNano": "1796073556937078892", "durationMs": 1.808616, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010029}}
{"type": "effect-span", "name": "sqlite", "traceId": "4bbfc55ac98781b07afd11fa5d181494", "spanId": "9529fbbe9845bc2c", "parentSpanId": "46c702d3d1008155", "startTimeUnixNano": "1796073556937109990", "endTimeUnixNano": "1796073556938206055", "durationMs": 1.096065, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014256}}
{"type": "effect-span", "name": "sqlite", "traceId": "4bbfc55ac98781b07afd11fa5d181494", "spanId": "fb6ad804a4924007", "parentSpanId": "46c702d3d1008155", "startTimeUnixNano": "1796073556948476081", "endTimeUnixNano": "1796073556951843435", "durationMs": 3.367354, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023634}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4bbfc55ac98781b07afd11fa5d181494", "spanId": "46c702d3d1008155", "parentSpanId": "72721400f043a201", "startTimeUnixNano": "1796073556934387649", "endTimeUnixNano": "1796073556952196814", "durationMs": 17.809165, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4bbfc55ac98781b07afd11fa5d181494", "spanId": "fcc5a076bcc8fa9d", "parentSpanId": "72721400f043a201", "startTimeUnixNano": "1796073556952220168", "endTimeUnixNano": "1796073556952631135", "durationMs": 0.410967, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4bbfc55ac98781b07afd11fa5d181494", "spanId": "72721400f043a201", "parentSpanId": "0fde160482c3996d", "startTimeUnixNano": "1796073556930946177", "endTimeUnixNano": "1796073556952656983", "durationMs": 21.710806, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.160638, "db.connection": "reader", "db.lock_wait_ms": 3.093}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4bbfc55ac98781b07afd11fa5d181494", "spanId": "0fde160482c3996d", "parentSpanId": "337bd2606731cf1a", "startTimeUnixNano": "1796073556930937921", "endTimeUnixNano": "1796073556952676800", "durationMs": 21.738879, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4bbfc55ac98781b07afd11fa5d181494", "spanId": "337bd2606731cf1a", "parentSpanId": "9cf19f341a6c36c7", "startTimeUnixNano": "1796073556930888419", "endTimeUnixNano": "1796073556952683773", "durationMs": 21.795354, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4bbfc55ac98781b07afd11fa5d181494", "spanId": "9cf19f341a6c36c7", "startTimeUnixNano": "1796073556930871798", "endTimeUnixNano": "1796073556952697248", "durationMs": 21.82545, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2d72ce26a3a596358c6dae4b68f876ff", "spanId": "03921d26e807999e", "parentSpanId": "933a68718451012c", "startTimeUnixNano": "1796073557189818465", "endTimeUnixNano": "1796073557190049326", "durationMs": 0.230861, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2d72ce26a3a596358c6dae4b68f876ff", "spanId": "cc8656f8722ee13b", "parentSpanId": "13e149e6f47f49a1", "startTimeUnixNano": "1796073557190116872", "endTimeUnixNano": "1796073557190628557", "durationMs": 0.511685, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009798}}
{"type": "effect-span", "name": "sqlite", "traceId": "2d72ce26a3a596358c6dae4b68f876ff", "spanId": "0676765aaf1be600", "parentSpanId": "13e149e6f47f49a1", "startTimeUnixNano": "1796073557190746907", "endTimeUnixNano": "1796073557191966874", "durationMs": 1.219967, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017904}}
{"type": "effect-span", "name": "sqlite", "traceId": "2d72ce26a3a596358c6dae4b68f876ff", "spanId": "ea1ffcef3f722d66", "parentSpanId": "13e149e6f47f49a1", "startTimeUnixNano": "1796073557192031355", "endTimeUnixNano": "1796073557193156174", "durationMs": 1.124819, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015278}}
{"type": "effect-span", "name": "sqlite", "traceId": "2d72ce26a3a596358c6dae4b68f876ff", "spanId": "64d6e87e2446f102", "parentSpanId": "13e149e6f47f49a1", "startTimeUnixNano": "1796073557201505966", "endTimeUnixNano": "1796073557203129917", "durationMs": 1.623951, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020609}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2d72ce26a3a596358c6dae4b68f876ff", "spanId": "13e149e6f47f49a1", "parentSpanId": "933a68718451012c", "startTimeUnixNano": "1796073557190105200", "endTimeUnixNano": "1796073557203481753", "durationMs": 13.376553, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2d72ce26a3a596358c6dae4b68f876ff", "spanId": "96eca4e0934e06c4", "parentSpanId": "933a68718451012c", "startTimeUnixNano": "1796073557203503113", "endTimeUnixNano": "1796073557203655688", "durationMs": 0.152575, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2d72ce26a3a596358c6dae4b68f876ff", "spanId": "933a68718451012c", "parentSpanId": "aa87e6eb949825ac", "startTimeUnixNano": "1796073557187152069", "endTimeUnixNano": "1796073557203681186", "durationMs": 16.529117, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.65779, "db.connection": "reader", "db.lock_wait_ms": 2.557}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2d72ce26a3a596358c6dae4b68f876ff", "spanId": "aa87e6eb949825ac", "parentSpanId": "b6d1cfb30f556778", "startTimeUnixNano": "1796073557187144074", "endTimeUnixNano": "1796073557203705160", "durationMs": 16.561086, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2d72ce26a3a596358c6dae4b68f876ff", "spanId": "b6d1cfb30f556778", "parentSpanId": "5abc73db98bc09e2", "startTimeUnixNano": "1796073557187101094", "endTimeUnixNano": "1796073557203712885", "durationMs": 16.611791, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2d72ce26a3a596358c6dae4b68f876ff", "spanId": "5abc73db98bc09e2", "startTimeUnixNano": "1796073557187084894", "endTimeUnixNano": "1796073557203724046", "durationMs": 16.639152, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "10137068b139f09839ccefa804d35f08", "spanId": "f2f1cfb56ca36172", "parentSpanId": "162f0124f8a143bb", "startTimeUnixNano": "1796073558676791362", "endTimeUnixNano": "1796073558677469457", "durationMs": 0.678095, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "10137068b139f09839ccefa804d35f08", "spanId": "83e64abea28c0e54", "parentSpanId": "f624e7edc771f913", "startTimeUnixNano": "1796073558677512177", "endTimeUnixNano": "1796073558678158052", "durationMs": 0.645875, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005571}}
{"type": "effect-span", "name": "sqlite", "traceId": "10137068b139f09839ccefa804d35f08", "spanId": "35d42c9c44ff005c", "parentSpanId": "f624e7edc771f913", "startTimeUnixNano": "1796073558678227692", "endTimeUnixNano": "1796073558679400531", "durationMs": 1.172839, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008857}}
{"type": "effect-span", "name": "sqlite", "traceId": "10137068b139f09839ccefa804d35f08", "spanId": "791f347036f3c2cc", "parentSpanId": "f624e7edc771f913", "startTimeUnixNano": "1796073558679423574", "endTimeUnixNano": "1796073558680541911", "durationMs": 1.118337, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.026039}}
{"type": "effect-span", "name": "sqlite", "traceId": "10137068b139f09839ccefa804d35f08", "spanId": "3328d32c9eaddd3a", "parentSpanId": "f624e7edc771f913", "startTimeUnixNano": "1796073558690765220", "endTimeUnixNano": "1796073558692769731", "durationMs": 2.004511, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011231}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "10137068b139f09839ccefa804d35f08", "spanId": "f624e7edc771f913", "parentSpanId": "162f0124f8a143bb", "startTimeUnixNano": "1796073558677506276", "endTimeUnixNano": "1796073558693046087", "durationMs": 15.539811, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "10137068b139f09839ccefa804d35f08", "spanId": "782f9ddb84e096c7", "parentSpanId": "162f0124f8a143bb", "startTimeUnixNano": "1796073558693062999", "endTimeUnixNano": "1796073558693289992", "durationMs": 0.226993, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "10137068b139f09839ccefa804d35f08", "spanId": "162f0124f8a143bb", "parentSpanId": "bc3067e23c35c319", "startTimeUnixNano": "1796073558675426675", "endTimeUnixNano": "1796073558693312705", "durationMs": 17.88603, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.359968, "db.connection": "reader", "db.lock_wait_ms": 1.306}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "10137068b139f09839ccefa804d35f08", "spanId": "bc3067e23c35c319", "parentSpanId": "33327b50399d821e", "startTimeUnixNano": "1796073558675418901", "endTimeUnixNano": "1796073558693328554", "durationMs": 17.909653, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "10137068b139f09839ccefa804d35f08", "spanId": "33327b50399d821e", "parentSpanId": "b7433b9213470546", "startTimeUnixNano": "1796073558675377974", "endTimeUnixNano": "1796073558693333403", "durationMs": 17.955429, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "10137068b139f09839ccefa804d35f08", "spanId": "b7433b9213470546", "startTimeUnixNano": "1796073558675360852", "endTimeUnixNano": "1796073558693340066", "durationMs": 17.979214, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "77526a20531dab0bbddadfeb6baf6bfd", "spanId": "912b5c25f384a0d3", "parentSpanId": "16fbb3df25e2a6ff", "startTimeUnixNano": "1796073558904152562", "endTimeUnixNano": "1796073558904642155", "durationMs": 0.489593, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "77526a20531dab0bbddadfeb6baf6bfd", "spanId": "e2f2a24dc31a61f9", "parentSpanId": "5d0d2de12501b598", "startTimeUnixNano": "1796073558904676399", "endTimeUnixNano": "1796073558904908873", "durationMs": 0.232474, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004649}}
{"type": "effect-span", "name": "sqlite", "traceId": "77526a20531dab0bbddadfeb6baf6bfd", "spanId": "3c79020d2e7dc553", "parentSpanId": "5d0d2de12501b598", "startTimeUnixNano": "1796073558904975307", "endTimeUnixNano": "1796073558906818958", "durationMs": 1.843651, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008656}}
{"type": "effect-span", "name": "sqlite", "traceId": "77526a20531dab0bbddadfeb6baf6bfd", "spanId": "d77987b453a9fb7b", "parentSpanId": "5d0d2de12501b598", "startTimeUnixNano": "1796073558906830900", "endTimeUnixNano": "1796073558909155268", "durationMs": 2.324368, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008296}}
{"type": "effect-span", "name": "sqlite", "traceId": "77526a20531dab0bbddadfeb6baf6bfd", "spanId": "48093e8832dbdb08", "parentSpanId": "5d0d2de12501b598", "startTimeUnixNano": "1796073558914414072", "endTimeUnixNano": "1796073558916018506", "durationMs": 1.604434, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014908}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "77526a20531dab0bbddadfeb6baf6bfd", "spanId": "5d0d2de12501b598", "parentSpanId": "16fbb3df25e2a6ff", "startTimeUnixNano": "1796073558904671180", "endTimeUnixNano": "1796073558916286406", "durationMs": 11.615226, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "77526a20531dab0bbddadfeb6baf6bfd", "spanId": "7962f8c0987457be", "parentSpanId": "16fbb3df25e2a6ff", "startTimeUnixNano": "1796073558916303578", "endTimeUnixNano": "1796073558917860163", "durationMs": 1.556585, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "77526a20531dab0bbddadfeb6baf6bfd", "spanId": "16fbb3df25e2a6ff", "parentSpanId": "51dec739717ff62e", "startTimeUnixNano": "1796073558902847396", "endTimeUnixNano": "1796073558917883287", "durationMs": 15.035891, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.301459, "db.connection": "reader", "db.lock_wait_ms": 1.274}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "77526a20531dab0bbddadfeb6baf6bfd", "spanId": "51dec739717ff62e", "parentSpanId": "87d16494cc9d44a1", "startTimeUnixNano": "1796073558902840012", "endTimeUnixNano": "1796073558917900499", "durationMs": 15.060487, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "77526a20531dab0bbddadfeb6baf6bfd", "spanId": "87d16494cc9d44a1", "parentSpanId": "45bf598dadf07c72", "startTimeUnixNano": "1796073558902813413", "endTimeUnixNano": "1796073558917905829", "durationMs": 15.092416, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "77526a20531dab0bbddadfeb6baf6bfd", "spanId": "45bf598dadf07c72", "startTimeUnixNano": "1796073558902800018", "endTimeUnixNano": "1796073558917913112", "durationMs": 15.113094, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "012070615b8d23ae4d4e29e669fb8cd0", "spanId": "721b7033973b7dad", "parentSpanId": "4dda193017f32216", "startTimeUnixNano": "1796073560403092568", "endTimeUnixNano": "1796073560403816619", "durationMs": 0.724051, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "012070615b8d23ae4d4e29e669fb8cd0", "spanId": "7d4f3961f4559027", "parentSpanId": "6054352d6cd679a5", "startTimeUnixNano": "1796073560403864799", "endTimeUnixNano": "1796073560404637821", "durationMs": 0.773022, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005791}}
{"type": "effect-span", "name": "sqlite", "traceId": "012070615b8d23ae4d4e29e669fb8cd0", "spanId": "4b6165f882079981", "parentSpanId": "6054352d6cd679a5", "startTimeUnixNano": "1796073560404713403", "endTimeUnixNano": "1796073560405666241", "durationMs": 0.952838, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012353}}
{"type": "effect-span", "name": "sqlite", "traceId": "012070615b8d23ae4d4e29e669fb8cd0", "spanId": "61e29f885359ee61", "parentSpanId": "6054352d6cd679a5", "startTimeUnixNano": "1796073560405684665", "endTimeUnixNano": "1796073560406640539", "durationMs": 0.955874, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012073}}
{"type": "effect-span", "name": "sqlite", "traceId": "012070615b8d23ae4d4e29e669fb8cd0", "spanId": "52a171478e381599", "parentSpanId": "6054352d6cd679a5", "startTimeUnixNano": "1796073560414554699", "endTimeUnixNano": "1796073560417257333", "durationMs": 2.702634, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025057}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "012070615b8d23ae4d4e29e669fb8cd0", "spanId": "6054352d6cd679a5", "parentSpanId": "4dda193017f32216", "startTimeUnixNano": "1796073560403855451", "endTimeUnixNano": "1796073560417540141", "durationMs": 13.68469, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "012070615b8d23ae4d4e29e669fb8cd0", "spanId": "a99b56b3483620e5", "parentSpanId": "4dda193017f32216", "startTimeUnixNano": "1796073560417561551", "endTimeUnixNano": "1796073560417685773", "durationMs": 0.124222, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "012070615b8d23ae4d4e29e669fb8cd0", "spanId": "4dda193017f32216", "parentSpanId": "594bfce43ef67701", "startTimeUnixNano": "1796073560401774347", "endTimeUnixNano": "1796073560417704718", "durationMs": 15.930371, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.311047, "db.connection": "reader", "db.lock_wait_ms": 1.276}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "012070615b8d23ae4d4e29e669fb8cd0", "spanId": "594bfce43ef67701", "parentSpanId": "7b4eed42e776c654", "startTimeUnixNano": "1796073560401766342", "endTimeUnixNano": "1796073560417719496", "durationMs": 15.953154, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "012070615b8d23ae4d4e29e669fb8cd0", "spanId": "7b4eed42e776c654", "parentSpanId": "fc07de6ccc3ceba5", "startTimeUnixNano": "1796073560401726288", "endTimeUnixNano": "1796073560417731148", "durationMs": 16.00486, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "012070615b8d23ae4d4e29e669fb8cd0", "spanId": "fc07de6ccc3ceba5", "startTimeUnixNano": "1796073560401711911", "endTimeUnixNano": "1796073560417739203", "durationMs": 16.027292, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a6054b310bad0968aed1595ec0b7f743", "spanId": "db1a23f5ce219c15", "parentSpanId": "618ae3fba23c36e1", "startTimeUnixNano": "1796073560627273326", "endTimeUnixNano": "1796073560627527511", "durationMs": 0.254185, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a6054b310bad0968aed1595ec0b7f743", "spanId": "bce25accc6ddd512", "parentSpanId": "67d09d8a7e4ffe22", "startTimeUnixNano": "1796073560627578085", "endTimeUnixNano": "1796073560627832590", "durationMs": 0.254505, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00549}}
{"type": "effect-span", "name": "sqlite", "traceId": "a6054b310bad0968aed1595ec0b7f743", "spanId": "369e91ee957768f4", "parentSpanId": "67d09d8a7e4ffe22", "startTimeUnixNano": "1796073560627918390", "endTimeUnixNano": "1796073560629539145", "durationMs": 1.620755, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011782}}
{"type": "effect-span", "name": "sqlite", "traceId": "a6054b310bad0968aed1595ec0b7f743", "spanId": "ecf2cd6ceb6d23b6", "parentSpanId": "67d09d8a7e4ffe22", "startTimeUnixNano": "1796073560629560024", "endTimeUnixNano": "1796073560632675148", "durationMs": 3.115124, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008997}}
{"type": "effect-span", "name": "sqlite", "traceId": "a6054b310bad0968aed1595ec0b7f743", "spanId": "8b9a4fcc06ac818b", "parentSpanId": "67d09d8a7e4ffe22", "startTimeUnixNano": "1796073560639651167", "endTimeUnixNano": "1796073560641250462", "durationMs": 1.599295, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014066}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a6054b310bad0968aed1595ec0b7f743", "spanId": "67d09d8a7e4ffe22", "parentSpanId": "618ae3fba23c36e1", "startTimeUnixNano": "1796073560627566323", "endTimeUnixNano": "1796073560641645629", "durationMs": 14.079306, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a6054b310bad0968aed1595ec0b7f743", "spanId": "f34827b06f6131bf", "parentSpanId": "618ae3fba23c36e1", "startTimeUnixNano": "1796073560641693168", "endTimeUnixNano": "1796073560641866892", "durationMs": 0.173724, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a6054b310bad0968aed1595ec0b7f743", "spanId": "618ae3fba23c36e1", "parentSpanId": "b114203d0fb187a8", "startTimeUnixNano": "1796073560625889884", "endTimeUnixNano": "1796073560641898992", "durationMs": 16.009108, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.378243, "db.connection": "reader", "db.lock_wait_ms": 1.348}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a6054b310bad0968aed1595ec0b7f743", "spanId": "b114203d0fb187a8", "parentSpanId": "23312022defedf03", "startTimeUnixNano": "1796073560625879715", "endTimeUnixNano": "1796073560641926614", "durationMs": 16.046899, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a6054b310bad0968aed1595ec0b7f743", "spanId": "23312022defedf03", "parentSpanId": "f386ec6f76a83d02", "startTimeUnixNano": "1796073560625846413", "endTimeUnixNano": "1796073560641939898", "durationMs": 16.093485, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a6054b310bad0968aed1595ec0b7f743", "spanId": "f386ec6f76a83d02", "startTimeUnixNano": "1796073560625832597", "endTimeUnixNano": "1796073560641953233", "durationMs": 16.120636, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "06c7a5760689e0fc9f5300bf799535bd", "spanId": "b5b3811e74a8f4f6", "parentSpanId": "1dec041258b448cc", "startTimeUnixNano": "1796073562154207663", "endTimeUnixNano": "1796073562154368643", "durationMs": 0.16098, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "06c7a5760689e0fc9f5300bf799535bd", "spanId": "ba245cf19c08893e", "parentSpanId": "cdd5c7ddfecc136a", "startTimeUnixNano": "1796073562154410972", "endTimeUnixNano": "1796073562155126798", "durationMs": 0.715826, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006362}}
{"type": "effect-span", "name": "sqlite", "traceId": "06c7a5760689e0fc9f5300bf799535bd", "spanId": "f92d87ecb8acabfd", "parentSpanId": "cdd5c7ddfecc136a", "startTimeUnixNano": "1796073562155204594", "endTimeUnixNano": "1796073562156600769", "durationMs": 1.396175, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009628}}
{"type": "effect-span", "name": "sqlite", "traceId": "06c7a5760689e0fc9f5300bf799535bd", "spanId": "04bce6bc538d581d", "parentSpanId": "cdd5c7ddfecc136a", "startTimeUnixNano": "1796073562156624053", "endTimeUnixNano": "1796073562157774800", "durationMs": 1.150747, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009117}}
{"type": "effect-span", "name": "sqlite", "traceId": "06c7a5760689e0fc9f5300bf799535bd", "spanId": "0d19a56d5e0e7716", "parentSpanId": "cdd5c7ddfecc136a", "startTimeUnixNano": "1796073562169483513", "endTimeUnixNano": "1796073562171624459", "durationMs": 2.140946, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013515}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "06c7a5760689e0fc9f5300bf799535bd", "spanId": "cdd5c7ddfecc136a", "parentSpanId": "1dec041258b448cc", "startTimeUnixNano": "1796073562154405031", "endTimeUnixNano": "1796073562171969473", "durationMs": 17.564442, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "06c7a5760689e0fc9f5300bf799535bd", "spanId": "9cb4b2837551835e", "parentSpanId": "1dec041258b448cc", "startTimeUnixNano": "1796073562171993007", "endTimeUnixNano": "1796073562172240929", "durationMs": 0.247922, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "06c7a5760689e0fc9f5300bf799535bd", "spanId": "1dec041258b448cc", "parentSpanId": "75495b9a5aaf3ca8", "startTimeUnixNano": "1796073562151939610", "endTimeUnixNano": "1796073562172259474", "durationMs": 20.319864, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.26104, "db.connection": "reader", "db.lock_wait_ms": 2.223}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "06c7a5760689e0fc9f5300bf799535bd", "spanId": "75495b9a5aaf3ca8", "parentSpanId": "952e3e9298bea502", "startTimeUnixNano": "1796073562151931695", "endTimeUnixNano": "1796073562172276706", "durationMs": 20.345011, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "06c7a5760689e0fc9f5300bf799535bd", "spanId": "952e3e9298bea502", "parentSpanId": "c2ec22be8ebe35d2", "startTimeUnixNano": "1796073562151887903", "endTimeUnixNano": "1796073562172282527", "durationMs": 20.394624, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "06c7a5760689e0fc9f5300bf799535bd", "spanId": "c2ec22be8ebe35d2", "startTimeUnixNano": "1796073562151866574", "endTimeUnixNano": "1796073562172292476", "durationMs": 20.425902, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0ed70d7efe0d164b977f94cf5b01817e", "spanId": "ba42cc54612eb02b", "parentSpanId": "1b5a1888f1b25e0a", "startTimeUnixNano": "1796073562384865383", "endTimeUnixNano": "1796073562385006246", "durationMs": 0.140863, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ed70d7efe0d164b977f94cf5b01817e", "spanId": "8ccae0747e18e566", "parentSpanId": "e65cd40c39c1a169", "startTimeUnixNano": "1796073562385048966", "endTimeUnixNano": "1796073562385418726", "durationMs": 0.36976, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005941}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ed70d7efe0d164b977f94cf5b01817e", "spanId": "27bb38f4fe843bee", "parentSpanId": "e65cd40c39c1a169", "startTimeUnixNano": "1796073562385518332", "endTimeUnixNano": "1796073562386512507", "durationMs": 0.994175, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009668}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ed70d7efe0d164b977f94cf5b01817e", "spanId": "25ab9d8e7dfc396f", "parentSpanId": "e65cd40c39c1a169", "startTimeUnixNano": "1796073562386531873", "endTimeUnixNano": "1796073562387518254", "durationMs": 0.986381, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011091}}
{"type": "effect-span", "name": "sqlite", "traceId": "0ed70d7efe0d164b977f94cf5b01817e", "spanId": "23ebfff7361d2d1d", "parentSpanId": "e65cd40c39c1a169", "startTimeUnixNano": "1796073562398027599", "endTimeUnixNano": "1796073562400175808", "durationMs": 2.148209, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.032661}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0ed70d7efe0d164b977f94cf5b01817e", "spanId": "e65cd40c39c1a169", "parentSpanId": "1b5a1888f1b25e0a", "startTimeUnixNano": "1796073562385042724", "endTimeUnixNano": "1796073562400614016", "durationMs": 15.571292, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0ed70d7efe0d164b977f94cf5b01817e", "spanId": "506d58f129e2e4ed", "parentSpanId": "1b5a1888f1b25e0a", "startTimeUnixNano": "1796073562400646587", "endTimeUnixNano": "1796073562401064527", "durationMs": 0.41794, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0ed70d7efe0d164b977f94cf5b01817e", "spanId": "1b5a1888f1b25e0a", "parentSpanId": "4d023e4c2d126f10", "startTimeUnixNano": "1796073562382963904", "endTimeUnixNano": "1796073562401087600", "durationMs": 18.123696, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.895248, "db.connection": "reader", "db.lock_wait_ms": 1.843}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0ed70d7efe0d164b977f94cf5b01817e", "spanId": "4d023e4c2d126f10", "parentSpanId": "dfa44d57f2ae611d", "startTimeUnixNano": "1796073562382956220", "endTimeUnixNano": "1796073562401105734", "durationMs": 18.149514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0ed70d7efe0d164b977f94cf5b01817e", "spanId": "dfa44d57f2ae611d", "parentSpanId": "28aadedbf7406026", "startTimeUnixNano": "1796073562382920183", "endTimeUnixNano": "1796073562401111053", "durationMs": 18.19087, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0ed70d7efe0d164b977f94cf5b01817e", "spanId": "28aadedbf7406026", "startTimeUnixNano": "1796073562382905595", "endTimeUnixNano": "1796073562401118748", "durationMs": 18.213153, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c88fa805e4ecb617a72d0712bf76e000", "spanId": "0f586856b25db7eb", "parentSpanId": "316f95ebfdc5f7a1", "startTimeUnixNano": "1796073563815469358", "endTimeUnixNano": "1796073563816112699", "durationMs": 0.643341, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c88fa805e4ecb617a72d0712bf76e000", "spanId": "0fbcd2eae837c2b3", "parentSpanId": "35097e33cd546bfe", "startTimeUnixNano": "1796073563816149207", "endTimeUnixNano": "1796073563816786807", "durationMs": 0.6376, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004549}}
{"type": "effect-span", "name": "sqlite", "traceId": "c88fa805e4ecb617a72d0712bf76e000", "spanId": "32ebf030fbd26d2c", "parentSpanId": "35097e33cd546bfe", "startTimeUnixNano": "1796073563816854133", "endTimeUnixNano": "1796073563818007195", "durationMs": 1.153062, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009237}}
{"type": "effect-span", "name": "sqlite", "traceId": "c88fa805e4ecb617a72d0712bf76e000", "spanId": "18388a41259d63ed", "parentSpanId": "35097e33cd546bfe", "startTimeUnixNano": "1796073563818024567", "endTimeUnixNano": "1796073563819123599", "durationMs": 1.099032, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007675}}
{"type": "effect-span", "name": "sqlite", "traceId": "c88fa805e4ecb617a72d0712bf76e000", "spanId": "55f5a16c8627ea4f", "parentSpanId": "35097e33cd546bfe", "startTimeUnixNano": "1796073563827249254", "endTimeUnixNano": "1796073563829279944", "durationMs": 2.03069, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012083}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c88fa805e4ecb617a72d0712bf76e000", "spanId": "35097e33cd546bfe", "parentSpanId": "316f95ebfdc5f7a1", "startTimeUnixNano": "1796073563816143757", "endTimeUnixNano": "1796073563829613827", "durationMs": 13.47007, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c88fa805e4ecb617a72d0712bf76e000", "spanId": "967192e5acfe8a4e", "parentSpanId": "316f95ebfdc5f7a1", "startTimeUnixNano": "1796073563829636510", "endTimeUnixNano": "1796073563829852232", "durationMs": 0.215722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c88fa805e4ecb617a72d0712bf76e000", "spanId": "316f95ebfdc5f7a1", "parentSpanId": "d893b0b100000cef", "startTimeUnixNano": "1796073563814161718", "endTimeUnixNano": "1796073563829872871", "durationMs": 15.711153, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.303192, "db.connection": "reader", "db.lock_wait_ms": 1.269}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c88fa805e4ecb617a72d0712bf76e000", "spanId": "d893b0b100000cef", "parentSpanId": "cd8acb915747e771", "startTimeUnixNano": "1796073563814154063", "endTimeUnixNano": "1796073563829887799", "durationMs": 15.733736, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c88fa805e4ecb617a72d0712bf76e000", "spanId": "cd8acb915747e771", "parentSpanId": "21d65ab2d70495dc", "startTimeUnixNano": "1796073563814114189", "endTimeUnixNano": "1796073563829893840", "durationMs": 15.779651, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c88fa805e4ecb617a72d0712bf76e000", "spanId": "21d65ab2d70495dc", "startTimeUnixNano": "1796073563814099071", "endTimeUnixNano": "1796073563829902436", "durationMs": 15.803365, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d3b2ed1b52eeb60d488ef59dbb62470d", "spanId": "b79da26988934709", "parentSpanId": "40b27ad89120c5f6", "startTimeUnixNano": "1796073564017541033", "endTimeUnixNano": "1796073564018113932", "durationMs": 0.572899, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d3b2ed1b52eeb60d488ef59dbb62470d", "spanId": "6b8d7f2936859cb7", "parentSpanId": "029b46d2015d013a", "startTimeUnixNano": "1796073564018151593", "endTimeUnixNano": "1796073564018314587", "durationMs": 0.162994, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005039}}
{"type": "effect-span", "name": "sqlite", "traceId": "d3b2ed1b52eeb60d488ef59dbb62470d", "spanId": "a1d42f5adde307b4", "parentSpanId": "029b46d2015d013a", "startTimeUnixNano": "1796073564018384337", "endTimeUnixNano": "1796073564019739997", "durationMs": 1.35566, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011061}}
{"type": "effect-span", "name": "sqlite", "traceId": "d3b2ed1b52eeb60d488ef59dbb62470d", "spanId": "86e76072d1b24053", "parentSpanId": "029b46d2015d013a", "startTimeUnixNano": "1796073564019752300", "endTimeUnixNano": "1796073564020901435", "durationMs": 1.149135, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006072}}
{"type": "effect-span", "name": "sqlite", "traceId": "d3b2ed1b52eeb60d488ef59dbb62470d", "spanId": "0f678f49f763d773", "parentSpanId": "029b46d2015d013a", "startTimeUnixNano": "1796073564027558610", "endTimeUnixNano": "1796073564029451433", "durationMs": 1.892823, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01086}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d3b2ed1b52eeb60d488ef59dbb62470d", "spanId": "029b46d2015d013a", "parentSpanId": "40b27ad89120c5f6", "startTimeUnixNano": "1796073564018145712", "endTimeUnixNano": "1796073564029697402", "durationMs": 11.55169, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d3b2ed1b52eeb60d488ef59dbb62470d", "spanId": "776efabc1264eaca", "parentSpanId": "40b27ad89120c5f6", "startTimeUnixNano": "1796073564029710967", "endTimeUnixNano": "1796073564030465335", "durationMs": 0.754368, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d3b2ed1b52eeb60d488ef59dbb62470d", "spanId": "40b27ad89120c5f6", "parentSpanId": "250ff93ab1d4d013", "startTimeUnixNano": "1796073564016366361", "endTimeUnixNano": "1796073564030495301", "durationMs": 14.12894, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.171376, "db.connection": "reader", "db.lock_wait_ms": 1.143}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d3b2ed1b52eeb60d488ef59dbb62470d", "spanId": "250ff93ab1d4d013", "parentSpanId": "e7bcbee635ddda0b", "startTimeUnixNano": "1796073564016359308", "endTimeUnixNano": "1796073564030509377", "durationMs": 14.150069, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d3b2ed1b52eeb60d488ef59dbb62470d", "spanId": "e7bcbee635ddda0b", "parentSpanId": "d8f0fb2c3ea939bb", "startTimeUnixNano": "1796073564016334161", "endTimeUnixNano": "1796073564030515589", "durationMs": 14.181428, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d3b2ed1b52eeb60d488ef59dbb62470d", "spanId": "d8f0fb2c3ea939bb", "startTimeUnixNano": "1796073564016321547", "endTimeUnixNano": "1796073564030522211", "durationMs": 14.200664, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d69576c959bbeedfa6f41059b49ac5d1", "spanId": "f07d4ea2e881368b", "parentSpanId": "0b8ad613582b6e69", "startTimeUnixNano": "1796073565450813973", "endTimeUnixNano": "1796073565452517052", "durationMs": 1.703079, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d69576c959bbeedfa6f41059b49ac5d1", "spanId": "20e4f115a22ddd2f", "parentSpanId": "aed2b4e32536d4f6", "startTimeUnixNano": "1796073565452632928", "endTimeUnixNano": "1796073565454207136", "durationMs": 1.574208, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007865}}
{"type": "effect-span", "name": "sqlite", "traceId": "d69576c959bbeedfa6f41059b49ac5d1", "spanId": "7f1c1f0d7abdb3da", "parentSpanId": "aed2b4e32536d4f6", "startTimeUnixNano": "1796073565454408332", "endTimeUnixNano": "1796073565456190178", "durationMs": 1.781846, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017242}}
{"type": "effect-span", "name": "sqlite", "traceId": "d69576c959bbeedfa6f41059b49ac5d1", "spanId": "66adde5ecb41558f", "parentSpanId": "aed2b4e32536d4f6", "startTimeUnixNano": "1796073565456209834", "endTimeUnixNano": "1796073565457428449", "durationMs": 1.218615, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012574}}
{"type": "effect-span", "name": "sqlite", "traceId": "d69576c959bbeedfa6f41059b49ac5d1", "spanId": "e53e0662ca38286a", "parentSpanId": "aed2b4e32536d4f6", "startTimeUnixNano": "1796073565467058563", "endTimeUnixNano": "1796073565469609675", "durationMs": 2.551112, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.043071}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d69576c959bbeedfa6f41059b49ac5d1", "spanId": "aed2b4e32536d4f6", "parentSpanId": "0b8ad613582b6e69", "startTimeUnixNano": "1796073565452618511", "endTimeUnixNano": "1796073565470111211", "durationMs": 17.4927, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d69576c959bbeedfa6f41059b49ac5d1", "spanId": "f6f0a52887fb582d", "parentSpanId": "0b8ad613582b6e69", "startTimeUnixNano": "1796073565470177635", "endTimeUnixNano": "1796073565472637706", "durationMs": 2.460071, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d69576c959bbeedfa6f41059b49ac5d1", "spanId": "0b8ad613582b6e69", "parentSpanId": "49d89c5367e28af9", "startTimeUnixNano": "1796073565444544441", "endTimeUnixNano": "1796073565472677931", "durationMs": 28.13349, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.257009, "db.connection": "reader", "db.lock_wait_ms": 6.19}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d69576c959bbeedfa6f41059b49ac5d1", "spanId": "49d89c5367e28af9", "parentSpanId": "762333d0348b98e1", "startTimeUnixNano": "1796073565444533932", "endTimeUnixNano": "1796073565472721493", "durationMs": 28.187561, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d69576c959bbeedfa6f41059b49ac5d1", "spanId": "762333d0348b98e1", "parentSpanId": "929806f5ecc5e7be", "startTimeUnixNano": "1796073565444471154", "endTimeUnixNano": "1796073565472735469", "durationMs": 28.264315, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d69576c959bbeedfa6f41059b49ac5d1", "spanId": "929806f5ecc5e7be", "startTimeUnixNano": "1796073565444426210", "endTimeUnixNano": "1796073565472749204", "durationMs": 28.322994, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9775c208b8e1b83f6df4f268ee52b495", "spanId": "022f7ca9373c4362", "parentSpanId": "6129af4446df0e4b", "startTimeUnixNano": "1796073565695360607", "endTimeUnixNano": "1796073565695639367", "durationMs": 0.27876, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9775c208b8e1b83f6df4f268ee52b495", "spanId": "96aecd78d11f2f26", "parentSpanId": "856858445868d200", "startTimeUnixNano": "1796073565695674884", "endTimeUnixNano": "1796073565695854749", "durationMs": 0.179865, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005069}}
{"type": "effect-span", "name": "sqlite", "traceId": "9775c208b8e1b83f6df4f268ee52b495", "spanId": "91371288fbd0fab0", "parentSpanId": "856858445868d200", "startTimeUnixNano": "1796073565695918989", "endTimeUnixNano": "1796073565697036175", "durationMs": 1.117186, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008566}}
{"type": "effect-span", "name": "sqlite", "traceId": "9775c208b8e1b83f6df4f268ee52b495", "spanId": "6ff085e37c791aaf", "parentSpanId": "856858445868d200", "startTimeUnixNano": "1796073565697053377", "endTimeUnixNano": "1796073565698248227", "durationMs": 1.19485, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006552}}
{"type": "effect-span", "name": "sqlite", "traceId": "9775c208b8e1b83f6df4f268ee52b495", "spanId": "8e8cc40453e8db77", "parentSpanId": "856858445868d200", "startTimeUnixNano": "1796073565703819315", "endTimeUnixNano": "1796073565706729046", "durationMs": 2.909731, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013285}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9775c208b8e1b83f6df4f268ee52b495", "spanId": "856858445868d200", "parentSpanId": "6129af4446df0e4b", "startTimeUnixNano": "1796073565695667159", "endTimeUnixNano": "1796073565707013116", "durationMs": 11.345957, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9775c208b8e1b83f6df4f268ee52b495", "spanId": "56697f5555b7fa2a", "parentSpanId": "6129af4446df0e4b", "startTimeUnixNano": "1796073565707027683", "endTimeUnixNano": "1796073565707884162", "durationMs": 0.856479, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9775c208b8e1b83f6df4f268ee52b495", "spanId": "6129af4446df0e4b", "parentSpanId": "2bce30762ee124b4", "startTimeUnixNano": "1796073565694005668", "endTimeUnixNano": "1796073565707903929", "durationMs": 13.898261, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.34985, "db.connection": "reader", "db.lock_wait_ms": 1.321}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9775c208b8e1b83f6df4f268ee52b495", "spanId": "2bce30762ee124b4", "parentSpanId": "53258fc8728999d3", "startTimeUnixNano": "1796073565693998365", "endTimeUnixNano": "1796073565707922503", "durationMs": 13.924138, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9775c208b8e1b83f6df4f268ee52b495", "spanId": "53258fc8728999d3", "parentSpanId": "6224e342fd65805b", "startTimeUnixNano": "1796073565693967547", "endTimeUnixNano": "1796073565707930037", "durationMs": 13.96249, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9775c208b8e1b83f6df4f268ee52b495", "spanId": "6224e342fd65805b", "startTimeUnixNano": "1796073565693954042", "endTimeUnixNano": "1796073565707939234", "durationMs": 13.985192, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "48ed46242ca0603bb4e8d6223515a57a", "spanId": "1b6b098dedc4f63b", "parentSpanId": "692e35360ba2e3d3", "startTimeUnixNano": "1796073567484782198", "endTimeUnixNano": "1796073567486023254", "durationMs": 1.241056, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "48ed46242ca0603bb4e8d6223515a57a", "spanId": "d307d5aee9c50db9", "parentSpanId": "64510d730e36186d", "startTimeUnixNano": "1796073567486136946", "endTimeUnixNano": "1796073567487584208", "durationMs": 1.447262, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.014567}}
{"type": "effect-span", "name": "sqlite", "traceId": "48ed46242ca0603bb4e8d6223515a57a", "spanId": "ffd35b341013d713", "parentSpanId": "64510d730e36186d", "startTimeUnixNano": "1796073567487729739", "endTimeUnixNano": "1796073567489843645", "durationMs": 2.113906, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.017633}}
{"type": "effect-span", "name": "sqlite", "traceId": "48ed46242ca0603bb4e8d6223515a57a", "spanId": "8639557027cb7117", "parentSpanId": "64510d730e36186d", "startTimeUnixNano": "1796073567489879572", "endTimeUnixNano": "1796073567491837857", "durationMs": 1.958285, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01639}}
{"type": "effect-span", "name": "sqlite", "traceId": "48ed46242ca0603bb4e8d6223515a57a", "spanId": "a66c9044e7f61998", "parentSpanId": "64510d730e36186d", "startTimeUnixNano": "1796073567507816491", "endTimeUnixNano": "1796073567510422786", "durationMs": 2.606295, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015609}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "48ed46242ca0603bb4e8d6223515a57a", "spanId": "64510d730e36186d", "parentSpanId": "692e35360ba2e3d3", "startTimeUnixNano": "1796073567486120225", "endTimeUnixNano": "1796073567510953046", "durationMs": 24.832821, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "48ed46242ca0603bb4e8d6223515a57a", "spanId": "7ad8dba835764650", "parentSpanId": "692e35360ba2e3d3", "startTimeUnixNano": "1796073567510978233", "endTimeUnixNano": "1796073567513779441", "durationMs": 2.801208, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "48ed46242ca0603bb4e8d6223515a57a", "spanId": "692e35360ba2e3d3", "parentSpanId": "d6170ce7c5f2673b", "startTimeUnixNano": "1796073567482211619", "endTimeUnixNano": "1796073567513827841", "durationMs": 31.616222, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.561933, "db.connection": "reader", "db.lock_wait_ms": 2.486}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "48ed46242ca0603bb4e8d6223515a57a", "spanId": "d6170ce7c5f2673b", "parentSpanId": "76ec6c0e596e47ed", "startTimeUnixNano": "1796073567482193065", "endTimeUnixNano": "1796073567513867235", "durationMs": 31.67417, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "48ed46242ca0603bb4e8d6223515a57a", "spanId": "76ec6c0e596e47ed", "parentSpanId": "ea9467eb4241e799", "startTimeUnixNano": "1796073567482110921", "endTimeUnixNano": "1796073567513879287", "durationMs": 31.768366, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "48ed46242ca0603bb4e8d6223515a57a", "spanId": "ea9467eb4241e799", "startTimeUnixNano": "1796073567482080765", "endTimeUnixNano": "1796073567513894265", "durationMs": 31.8135, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "77e3e238affe820bdcb78c76c983c35a", "spanId": "3ef045b307313019", "parentSpanId": "7eb3714c799555c3", "startTimeUnixNano": "1796073567807330256", "endTimeUnixNano": "1796073567807651615", "durationMs": 0.321359, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "77e3e238affe820bdcb78c76c983c35a", "spanId": "99bf866d4d5de079", "parentSpanId": "1b6ac59d0bc969ac", "startTimeUnixNano": "1796073567807718951", "endTimeUnixNano": "1796073567808816480", "durationMs": 1.097529, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009137}}
{"type": "effect-span", "name": "sqlite", "traceId": "77e3e238affe820bdcb78c76c983c35a", "spanId": "a1d1aa3aa1d2dd29", "parentSpanId": "1b6ac59d0bc969ac", "startTimeUnixNano": "1796073567808929951", "endTimeUnixNano": "1796073567810510842", "durationMs": 1.580891, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012253}}
{"type": "effect-span", "name": "sqlite", "traceId": "77e3e238affe820bdcb78c76c983c35a", "spanId": "4b3f11cb8bb859de", "parentSpanId": "1b6ac59d0bc969ac", "startTimeUnixNano": "1796073567810546799", "endTimeUnixNano": "1796073567814012979", "durationMs": 3.46618, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.018365}}
{"type": "effect-span", "name": "sqlite", "traceId": "77e3e238affe820bdcb78c76c983c35a", "spanId": "f6f292ab891c4ad9", "parentSpanId": "1b6ac59d0bc969ac", "startTimeUnixNano": "1796073567821257060", "endTimeUnixNano": "1796073567823618448", "durationMs": 2.361388, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018976}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "77e3e238affe820bdcb78c76c983c35a", "spanId": "1b6ac59d0bc969ac", "parentSpanId": "7eb3714c799555c3", "startTimeUnixNano": "1796073567807708902", "endTimeUnixNano": "1796073567824064520", "durationMs": 16.355618, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "77e3e238affe820bdcb78c76c983c35a", "spanId": "d1239ab11aaf50eb", "parentSpanId": "7eb3714c799555c3", "startTimeUnixNano": "1796073567824095057", "endTimeUnixNano": "1796073567825714310", "durationMs": 1.619253, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "77e3e238affe820bdcb78c76c983c35a", "spanId": "7eb3714c799555c3", "parentSpanId": "4bd06d732336a143", "startTimeUnixNano": "1796073567805076930", "endTimeUnixNano": "1796073567825754284", "durationMs": 20.677354, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.241974, "db.connection": "reader", "db.lock_wait_ms": 2.172}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "77e3e238affe820bdcb78c76c983c35a", "spanId": "4bd06d732336a143", "parentSpanId": "aa0c8b8e15d5087c", "startTimeUnixNano": "1796073567805062092", "endTimeUnixNano": "1796073567825787086", "durationMs": 20.724994, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "77e3e238affe820bdcb78c76c983c35a", "spanId": "aa0c8b8e15d5087c", "parentSpanId": "667bf937c28c3c00", "startTimeUnixNano": "1796073567805000688", "endTimeUnixNano": "1796073567825798797", "durationMs": 20.798109, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "77e3e238affe820bdcb78c76c983c35a", "spanId": "667bf937c28c3c00", "startTimeUnixNano": "1796073567804964250", "endTimeUnixNano": "1796073567825812132", "durationMs": 20.847882, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "534a486a499565172a45c7870576fa66", "spanId": "f53cdbc05fd34e7e", "parentSpanId": "8891a74e720c9977", "startTimeUnixNano": "1796073569387786690", "endTimeUnixNano": "1796073569387915991", "durationMs": 0.129301, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "534a486a499565172a45c7870576fa66", "spanId": "adf0db742fbf04b2", "parentSpanId": "b1833d6ea928f096", "startTimeUnixNano": "1796073569387984449", "endTimeUnixNano": "1796073569388593917", "durationMs": 0.609468, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006292}}
{"type": "effect-span", "name": "sqlite", "traceId": "534a486a499565172a45c7870576fa66", "spanId": "e8863c58a70a643e", "parentSpanId": "b1833d6ea928f096", "startTimeUnixNano": "1796073569388670800", "endTimeUnixNano": "1796073569389583975", "durationMs": 0.913175, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008967}}
{"type": "effect-span", "name": "sqlite", "traceId": "534a486a499565172a45c7870576fa66", "spanId": "031ea9c208adb295", "parentSpanId": "b1833d6ea928f096", "startTimeUnixNano": "1796073569389602129", "endTimeUnixNano": "1796073569390550499", "durationMs": 0.94837, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008455}}
{"type": "effect-span", "name": "sqlite", "traceId": "534a486a499565172a45c7870576fa66", "spanId": "6a816b7828b4af2d", "parentSpanId": "b1833d6ea928f096", "startTimeUnixNano": "1796073569401494336", "endTimeUnixNano": "1796073569403475514", "durationMs": 1.981178, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009508}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "534a486a499565172a45c7870576fa66", "spanId": "b1833d6ea928f096", "parentSpanId": "8891a74e720c9977", "startTimeUnixNano": "1796073569387977757", "endTimeUnixNano": "1796073569403819707", "durationMs": 15.84195, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "534a486a499565172a45c7870576fa66", "spanId": "b5bade8231f520f3", "parentSpanId": "8891a74e720c9977", "startTimeUnixNano": "1796073569403848430", "endTimeUnixNano": "1796073569404056208", "durationMs": 0.207778, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "534a486a499565172a45c7870576fa66", "spanId": "8891a74e720c9977", "parentSpanId": "7a646c9159bbe904", "startTimeUnixNano": "1796073569385782890", "endTimeUnixNano": "1796073569404076676", "durationMs": 18.293786, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.000223, "db.connection": "reader", "db.lock_wait_ms": 1.948}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "534a486a499565172a45c7870576fa66", "spanId": "7a646c9159bbe904", "parentSpanId": "76820237bc781153", "startTimeUnixNano": "1796073569385774855", "endTimeUnixNano": "1796073569404091624", "durationMs": 18.316769, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "534a486a499565172a45c7870576fa66", "spanId": "76820237bc781153", "parentSpanId": "e83b74c78f06b6f9", "startTimeUnixNano": "1796073569385735401", "endTimeUnixNano": "1796073569404098156", "durationMs": 18.362755, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "534a486a499565172a45c7870576fa66", "spanId": "e83b74c78f06b6f9", "startTimeUnixNano": "1796073569385721175", "endTimeUnixNano": "1796073569404105680", "durationMs": 18.384505, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "07156257298f46917804c6ebf0f20aba", "spanId": "c000728e283a7793", "parentSpanId": "127037d7c1e7c972", "startTimeUnixNano": "1796073569613787856", "endTimeUnixNano": "1796073569614130185", "durationMs": 0.342329, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "07156257298f46917804c6ebf0f20aba", "spanId": "9f10fe2b66e3ba03", "parentSpanId": "a23d019f37c1547d", "startTimeUnixNano": "1796073569614165200", "endTimeUnixNano": "1796073569614371686", "durationMs": 0.206486, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00505}}
{"type": "effect-span", "name": "sqlite", "traceId": "07156257298f46917804c6ebf0f20aba", "spanId": "9c7733671000019e", "parentSpanId": "a23d019f37c1547d", "startTimeUnixNano": "1796073569614466222", "endTimeUnixNano": "1796073569616210408", "durationMs": 1.744186, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013826}}
{"type": "effect-span", "name": "sqlite", "traceId": "07156257298f46917804c6ebf0f20aba", "spanId": "eeaeba3bd4bdc56f", "parentSpanId": "a23d019f37c1547d", "startTimeUnixNano": "1796073569616231397", "endTimeUnixNano": "1796073569617697774", "durationMs": 1.466377, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006803}}
{"type": "effect-span", "name": "sqlite", "traceId": "07156257298f46917804c6ebf0f20aba", "spanId": "6c683e5838e68093", "parentSpanId": "a23d019f37c1547d", "startTimeUnixNano": "1796073569624176136", "endTimeUnixNano": "1796073569628506770", "durationMs": 4.330634, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012424}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "07156257298f46917804c6ebf0f20aba", "spanId": "a23d019f37c1547d", "parentSpanId": "127037d7c1e7c972", "startTimeUnixNano": "1796073569614159860", "endTimeUnixNano": "1796073569628847476", "durationMs": 14.687616, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "07156257298f46917804c6ebf0f20aba", "spanId": "5b756e6cf35e2107", "parentSpanId": "127037d7c1e7c972", "startTimeUnixNano": "1796073569628880096", "endTimeUnixNano": "1796073569629299349", "durationMs": 0.419253, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "07156257298f46917804c6ebf0f20aba", "spanId": "127037d7c1e7c972", "parentSpanId": "a37ebf7f8a44e375", "startTimeUnixNano": "1796073569609995397", "endTimeUnixNano": "1796073569629321560", "durationMs": 19.326163, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.789113, "db.connection": "reader", "db.lock_wait_ms": 3.761}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "07156257298f46917804c6ebf0f20aba", "spanId": "a37ebf7f8a44e375", "parentSpanId": "4cee521874584832", "startTimeUnixNano": "1796073569609986761", "endTimeUnixNano": "1796073569629340676", "durationMs": 19.353915, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "07156257298f46917804c6ebf0f20aba", "spanId": "4cee521874584832", "parentSpanId": "b6ba3a1f92641b6f", "startTimeUnixNano": "1796073569609958739", "endTimeUnixNano": "1796073569629346597", "durationMs": 19.387858, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "07156257298f46917804c6ebf0f20aba", "spanId": "b6ba3a1f92641b6f", "startTimeUnixNano": "1796073569609943520", "endTimeUnixNano": "1796073569629355804", "durationMs": 19.412284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "eed26d29e51c428e96e65e23484f5715", "spanId": "6ba9e7d313f8498a", "parentSpanId": "74fd2eebebea5ec8", "startTimeUnixNano": "1796073571053671605", "endTimeUnixNano": "1796073571053835391", "durationMs": 0.163786, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "eed26d29e51c428e96e65e23484f5715", "spanId": "256e464b7633b83a", "parentSpanId": "deb65a63ddecbc66", "startTimeUnixNano": "1796073571053888851", "endTimeUnixNano": "1796073571054566846", "durationMs": 0.677995, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008195}}
{"type": "effect-span", "name": "sqlite", "traceId": "eed26d29e51c428e96e65e23484f5715", "spanId": "81c8a30e21a10c0c", "parentSpanId": "deb65a63ddecbc66", "startTimeUnixNano": "1796073571054658798", "endTimeUnixNano": "1796073571055617447", "durationMs": 0.958649, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012543}}
{"type": "effect-span", "name": "sqlite", "traceId": "eed26d29e51c428e96e65e23484f5715", "spanId": "815a05e3613330a7", "parentSpanId": "deb65a63ddecbc66", "startTimeUnixNano": "1796073571055637445", "endTimeUnixNano": "1796073571056998075", "durationMs": 1.36063, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009978}}
{"type": "effect-span", "name": "sqlite", "traceId": "eed26d29e51c428e96e65e23484f5715", "spanId": "ef2085a5475b5300", "parentSpanId": "deb65a63ddecbc66", "startTimeUnixNano": "1796073571067885167", "endTimeUnixNano": "1796073571069606329", "durationMs": 1.721162, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013886}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "eed26d29e51c428e96e65e23484f5715", "spanId": "deb65a63ddecbc66", "parentSpanId": "74fd2eebebea5ec8", "startTimeUnixNano": "1796073571053881467", "endTimeUnixNano": "1796073571069847159", "durationMs": 15.965692, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "eed26d29e51c428e96e65e23484f5715", "spanId": "7d1a9bce64792271", "parentSpanId": "74fd2eebebea5ec8", "startTimeUnixNano": "1796073571069860684", "endTimeUnixNano": "1796073571070038626", "durationMs": 0.177942, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "eed26d29e51c428e96e65e23484f5715", "spanId": "74fd2eebebea5ec8", "parentSpanId": "24b418242ec5f2a4", "startTimeUnixNano": "1796073571051805842", "endTimeUnixNano": "1796073571070054265", "durationMs": 18.248423, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.862076, "db.connection": "reader", "db.lock_wait_ms": 1.829}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "eed26d29e51c428e96e65e23484f5715", "spanId": "24b418242ec5f2a4", "parentSpanId": "3de03f07db2f1fcd", "startTimeUnixNano": "1796073571051798268", "endTimeUnixNano": "1796073571070066438", "durationMs": 18.26817, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "eed26d29e51c428e96e65e23484f5715", "spanId": "3de03f07db2f1fcd", "parentSpanId": "a6a14ef460afedfd", "startTimeUnixNano": "1796073571051757693", "endTimeUnixNano": "1796073571070071247", "durationMs": 18.313554, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "eed26d29e51c428e96e65e23484f5715", "spanId": "a6a14ef460afedfd", "startTimeUnixNano": "1796073571051744458", "endTimeUnixNano": "1796073571070078180", "durationMs": 18.333722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "66e409b34cbe8b9f0be0c5f0aa475859", "spanId": "137e5af12b19605a", "parentSpanId": "f902ed22fd60237a", "startTimeUnixNano": "1796073571264253913", "endTimeUnixNano": "1796073571264613945", "durationMs": 0.360032, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "66e409b34cbe8b9f0be0c5f0aa475859", "spanId": "d8203a3ffc99593c", "parentSpanId": "74aa41692ceb118f", "startTimeUnixNano": "1796073571264649221", "endTimeUnixNano": "1796073571264791026", "durationMs": 0.141805, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004819}}
{"type": "effect-span", "name": "sqlite", "traceId": "66e409b34cbe8b9f0be0c5f0aa475859", "spanId": "db4a5e962244382e", "parentSpanId": "74aa41692ceb118f", "startTimeUnixNano": "1796073571264854164", "endTimeUnixNano": "1796073571265865662", "durationMs": 1.011498, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010399}}
{"type": "effect-span", "name": "sqlite", "traceId": "66e409b34cbe8b9f0be0c5f0aa475859", "spanId": "f7f3bd3f12dc991f", "parentSpanId": "74aa41692ceb118f", "startTimeUnixNano": "1796073571265878285", "endTimeUnixNano": "1796073571266760943", "durationMs": 0.882658, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006532}}
{"type": "effect-span", "name": "sqlite", "traceId": "66e409b34cbe8b9f0be0c5f0aa475859", "spanId": "b8b474c6f40d97b5", "parentSpanId": "74aa41692ceb118f", "startTimeUnixNano": "1796073571273587175", "endTimeUnixNano": "1796073571275722791", "durationMs": 2.135616, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025978}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "66e409b34cbe8b9f0be0c5f0aa475859", "spanId": "74aa41692ceb118f", "parentSpanId": "f902ed22fd60237a", "startTimeUnixNano": "1796073571264642879", "endTimeUnixNano": "1796073571276077463", "durationMs": 11.434584, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "66e409b34cbe8b9f0be0c5f0aa475859", "spanId": "e09f75ae7a1fec46", "parentSpanId": "f902ed22fd60237a", "startTimeUnixNano": "1796073571276106227", "endTimeUnixNano": "1796073571276429100", "durationMs": 0.322873, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "66e409b34cbe8b9f0be0c5f0aa475859", "spanId": "f902ed22fd60237a", "parentSpanId": "371dfea73e7c03a9", "startTimeUnixNano": "1796073571262971008", "endTimeUnixNano": "1796073571276474254", "durationMs": 13.503246, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.277465, "db.connection": "reader", "db.lock_wait_ms": 1.251}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "66e409b34cbe8b9f0be0c5f0aa475859", "spanId": "371dfea73e7c03a9", "parentSpanId": "4370be2aaf22e5b4", "startTimeUnixNano": "1796073571262964586", "endTimeUnixNano": "1796073571276494462", "durationMs": 13.529876, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "66e409b34cbe8b9f0be0c5f0aa475859", "spanId": "4370be2aaf22e5b4", "parentSpanId": "5e628004ea9e39c8", "startTimeUnixNano": "1796073571262937907", "endTimeUnixNano": "1796073571276502627", "durationMs": 13.56472, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "66e409b34cbe8b9f0be0c5f0aa475859", "spanId": "5e628004ea9e39c8", "startTimeUnixNano": "1796073571262926075", "endTimeUnixNano": "1796073571276511133", "durationMs": 13.585058, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e40f0bb83f705408c0dab7d658cef52e", "spanId": "4d8e1aa8bc484b91", "parentSpanId": "fcdb635d77923076", "startTimeUnixNano": "1796073572651061599", "endTimeUnixNano": "1796073572651252946", "durationMs": 0.191347, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e40f0bb83f705408c0dab7d658cef52e", "spanId": "07e3027aa23702d1", "parentSpanId": "c9a574b90d011202", "startTimeUnixNano": "1796073572651297640", "endTimeUnixNano": "1796073572651922456", "durationMs": 0.624816, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007213}}
{"type": "effect-span", "name": "sqlite", "traceId": "e40f0bb83f705408c0dab7d658cef52e", "spanId": "c2c016f74a83a8cb", "parentSpanId": "c9a574b90d011202", "startTimeUnixNano": "1796073572651999540", "endTimeUnixNano": "1796073572653162441", "durationMs": 1.162901, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009949}}
{"type": "effect-span", "name": "sqlite", "traceId": "e40f0bb83f705408c0dab7d658cef52e", "spanId": "e62aca4e208f886d", "parentSpanId": "c9a574b90d011202", "startTimeUnixNano": "1796073572653183420", "endTimeUnixNano": "1796073572654255281", "durationMs": 1.071861, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014647}}
{"type": "effect-span", "name": "sqlite", "traceId": "e40f0bb83f705408c0dab7d658cef52e", "spanId": "b833335cded28ea9", "parentSpanId": "c9a574b90d011202", "startTimeUnixNano": "1796073572662226861", "endTimeUnixNano": "1796073572664382866", "durationMs": 2.156005, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009658}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e40f0bb83f705408c0dab7d658cef52e", "spanId": "c9a574b90d011202", "parentSpanId": "fcdb635d77923076", "startTimeUnixNano": "1796073572651290727", "endTimeUnixNano": "1796073572664678117", "durationMs": 13.38739, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e40f0bb83f705408c0dab7d658cef52e", "spanId": "2c1f05590278f3b7", "parentSpanId": "fcdb635d77923076", "startTimeUnixNano": "1796073572664695960", "endTimeUnixNano": "1796073572664995710", "durationMs": 0.29975, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e40f0bb83f705408c0dab7d658cef52e", "spanId": "fcdb635d77923076", "parentSpanId": "9475892c3fceda31", "startTimeUnixNano": "1796073572649081703", "endTimeUnixNano": "1796073572665019975", "durationMs": 15.938272, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.974686, "db.connection": "reader", "db.lock_wait_ms": 1.941}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e40f0bb83f705408c0dab7d658cef52e", "spanId": "9475892c3fceda31", "parentSpanId": "82e5179572b90559", "startTimeUnixNano": "1796073572649074079", "endTimeUnixNano": "1796073572665035334", "durationMs": 15.961255, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e40f0bb83f705408c0dab7d658cef52e", "spanId": "82e5179572b90559", "parentSpanId": "073f990b07d12350", "startTimeUnixNano": "1796073572649033122", "endTimeUnixNano": "1796073572665041726", "durationMs": 16.008604, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e40f0bb83f705408c0dab7d658cef52e", "spanId": "073f990b07d12350", "startTimeUnixNano": "1796073572649017964", "endTimeUnixNano": "1796073572665049039", "durationMs": 16.031075, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9e2f7014b4f4ee50b9e387457f1fb4f4", "spanId": "de8e938ec340e85f", "parentSpanId": "9e70ea24d48cb28f", "startTimeUnixNano": "1796073572851444906", "endTimeUnixNano": "1796073572851893714", "durationMs": 0.448808, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e2f7014b4f4ee50b9e387457f1fb4f4", "spanId": "da96679c6ff7038c", "parentSpanId": "27a813a932ce7888", "startTimeUnixNano": "1796073572851937936", "endTimeUnixNano": "1796073572852240501", "durationMs": 0.302565, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007464}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e2f7014b4f4ee50b9e387457f1fb4f4", "spanId": "08bcdc07bda849de", "parentSpanId": "27a813a932ce7888", "startTimeUnixNano": "1796073572852310301", "endTimeUnixNano": "1796073572853951585", "durationMs": 1.641284, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008426}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e2f7014b4f4ee50b9e387457f1fb4f4", "spanId": "90ef4b18f28c0187", "parentSpanId": "27a813a932ce7888", "startTimeUnixNano": "1796073572853986360", "endTimeUnixNano": "1796073572855193724", "durationMs": 1.207364, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01603}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e2f7014b4f4ee50b9e387457f1fb4f4", "spanId": "0a9dcdaafc0e2198", "parentSpanId": "27a813a932ce7888", "startTimeUnixNano": "1796073572864024457", "endTimeUnixNano": "1796073572866132583", "durationMs": 2.108126, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011492}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9e2f7014b4f4ee50b9e387457f1fb4f4", "spanId": "27a813a932ce7888", "parentSpanId": "9e70ea24d48cb28f", "startTimeUnixNano": "1796073572851930492", "endTimeUnixNano": "1796073572866404771", "durationMs": 14.474279, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9e2f7014b4f4ee50b9e387457f1fb4f4", "spanId": "94f5cfef7d0826f2", "parentSpanId": "9e70ea24d48cb28f", "startTimeUnixNano": "1796073572866423235", "endTimeUnixNano": "1796073572866617468", "durationMs": 0.194233, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9e2f7014b4f4ee50b9e387457f1fb4f4", "spanId": "9e70ea24d48cb28f", "parentSpanId": "04fc0b1d41f19781", "startTimeUnixNano": "1796073572850245066", "endTimeUnixNano": "1796073572866639539", "durationMs": 16.394473, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.18381, "db.connection": "reader", "db.lock_wait_ms": 1.152}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9e2f7014b4f4ee50b9e387457f1fb4f4", "spanId": "04fc0b1d41f19781", "parentSpanId": "0591877fd3313778", "startTimeUnixNano": "1796073572850237632", "endTimeUnixNano": "1796073572866654657", "durationMs": 16.417025, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9e2f7014b4f4ee50b9e387457f1fb4f4", "spanId": "0591877fd3313778", "parentSpanId": "96afbf963fbfa8d8", "startTimeUnixNano": "1796073572850208157", "endTimeUnixNano": "1796073572866660738", "durationMs": 16.452581, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9e2f7014b4f4ee50b9e387457f1fb4f4", "spanId": "96afbf963fbfa8d8", "startTimeUnixNano": "1796073572850194452", "endTimeUnixNano": "1796073572866668783", "durationMs": 16.474331, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1ab3c47760006b15e92496385aaae3bd", "spanId": "d60b983e115aa116", "parentSpanId": "ec61c2133db55919", "startTimeUnixNano": "1796073574284177414", "endTimeUnixNano": "1796073574284353513", "durationMs": 0.176099, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ab3c47760006b15e92496385aaae3bd", "spanId": "ac6e0974d2716d99", "parentSpanId": "03d09370a697c0a8", "startTimeUnixNano": "1796073574284410790", "endTimeUnixNano": "1796073574285124382", "durationMs": 0.713592, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006462}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ab3c47760006b15e92496385aaae3bd", "spanId": "5c1afce20d3a3adf", "parentSpanId": "03d09370a697c0a8", "startTimeUnixNano": "1796073574285217486", "endTimeUnixNano": "1796073574286010085", "durationMs": 0.792599, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01088}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ab3c47760006b15e92496385aaae3bd", "spanId": "f77dfc4d9722a02b", "parentSpanId": "03d09370a697c0a8", "startTimeUnixNano": "1796073574286029041", "endTimeUnixNano": "1796073574286943177", "durationMs": 0.914136, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008796}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ab3c47760006b15e92496385aaae3bd", "spanId": "da6a603acaa786b2", "parentSpanId": "03d09370a697c0a8", "startTimeUnixNano": "1796073574296888843", "endTimeUnixNano": "1796073574299658233", "durationMs": 2.76939, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013335}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1ab3c47760006b15e92496385aaae3bd", "spanId": "03d09370a697c0a8", "parentSpanId": "ec61c2133db55919", "startTimeUnixNano": "1796073574284402414", "endTimeUnixNano": "1796073574299994230", "durationMs": 15.591816, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1ab3c47760006b15e92496385aaae3bd", "spanId": "e1004ac2854bbd7a", "parentSpanId": "ec61c2133db55919", "startTimeUnixNano": "1796073574300015871", "endTimeUnixNano": "1796073574300211626", "durationMs": 0.195755, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1ab3c47760006b15e92496385aaae3bd", "spanId": "ec61c2133db55919", "parentSpanId": "4a64c2d5412c13d3", "startTimeUnixNano": "1796073574281988578", "endTimeUnixNano": "1796073574300242975", "durationMs": 18.254397, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.184448, "db.connection": "reader", "db.lock_wait_ms": 2.144}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1ab3c47760006b15e92496385aaae3bd", "spanId": "4a64c2d5412c13d3", "parentSpanId": "35dd428982a275ca", "startTimeUnixNano": "1796073574281981165", "endTimeUnixNano": "1796073574300264425", "durationMs": 18.28326, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1ab3c47760006b15e92496385aaae3bd", "spanId": "35dd428982a275ca", "parentSpanId": "f3023e4939d653f2", "startTimeUnixNano": "1796073574281938415", "endTimeUnixNano": "1796073574300272229", "durationMs": 18.333814, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1ab3c47760006b15e92496385aaae3bd", "spanId": "f3023e4939d653f2", "startTimeUnixNano": "1796073574281924799", "endTimeUnixNano": "1796073574300284392", "durationMs": 18.359593, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a4ae67148fcee92eeac71fff71f507ad", "spanId": "30ef4132a3797597", "parentSpanId": "a6210e627534f6f3", "startTimeUnixNano": "1796073574485801769", "endTimeUnixNano": "1796073574486128148", "durationMs": 0.326379, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a4ae67148fcee92eeac71fff71f507ad", "spanId": "dc4686869155a811", "parentSpanId": "a8245841480a1dd7", "startTimeUnixNano": "1796073574486177170", "endTimeUnixNano": "1796073574486352307", "durationMs": 0.175137, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004448}}
{"type": "effect-span", "name": "sqlite", "traceId": "a4ae67148fcee92eeac71fff71f507ad", "spanId": "666c07d39e3e60f0", "parentSpanId": "a8245841480a1dd7", "startTimeUnixNano": "1796073574486418561", "endTimeUnixNano": "1796073574487949959", "durationMs": 1.531398, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008415}}
{"type": "effect-span", "name": "sqlite", "traceId": "a4ae67148fcee92eeac71fff71f507ad", "spanId": "c57cd797e24f29e2", "parentSpanId": "a8245841480a1dd7", "startTimeUnixNano": "1796073574487963925", "endTimeUnixNano": "1796073574493039109", "durationMs": 5.075184, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006553}}
{"type": "effect-span", "name": "sqlite", "traceId": "a4ae67148fcee92eeac71fff71f507ad", "spanId": "c994ee3628df9b8e", "parentSpanId": "a8245841480a1dd7", "startTimeUnixNano": "1796073574502750898", "endTimeUnixNano": "1796073574504831292", "durationMs": 2.080394, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022202}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a4ae67148fcee92eeac71fff71f507ad", "spanId": "a8245841480a1dd7", "parentSpanId": "a6210e627534f6f3", "startTimeUnixNano": "1796073574486171600", "endTimeUnixNano": "1796073574505195251", "durationMs": 19.023651, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a4ae67148fcee92eeac71fff71f507ad", "spanId": "09016072d3fe7431", "parentSpanId": "a6210e627534f6f3", "startTimeUnixNano": "1796073574505217533", "endTimeUnixNano": "1796073574506111492", "durationMs": 0.893959, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a4ae67148fcee92eeac71fff71f507ad", "spanId": "a6210e627534f6f3", "parentSpanId": "2dc1ea14a2dc6f86", "startTimeUnixNano": "1796073574484302270", "endTimeUnixNano": "1796073574506143541", "durationMs": 21.841271, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.493969, "db.connection": "reader", "db.lock_wait_ms": 1.462}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a4ae67148fcee92eeac71fff71f507ad", "spanId": "2dc1ea14a2dc6f86", "parentSpanId": "b04fbd6d09a84a28", "startTimeUnixNano": "1796073574484295006", "endTimeUnixNano": "1796073574506186311", "durationMs": 21.891305, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a4ae67148fcee92eeac71fff71f507ad", "spanId": "b04fbd6d09a84a28", "parentSpanId": "64b97403831f0bd9", "startTimeUnixNano": "1796073574484267816", "endTimeUnixNano": "1796073574506198744", "durationMs": 21.930928, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a4ae67148fcee92eeac71fff71f507ad", "spanId": "64b97403831f0bd9", "startTimeUnixNano": "1796073574484252577", "endTimeUnixNano": "1796073574506212981", "durationMs": 21.960404, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7770f4939f85d7ff4f1b2eb188f9e5ce", "spanId": "f18a5c8a17341a12", "parentSpanId": "1634d9902e0006ef", "startTimeUnixNano": "1796073575921312990", "endTimeUnixNano": "1796073575921490501", "durationMs": 0.177511, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7770f4939f85d7ff4f1b2eb188f9e5ce", "spanId": "91f3ba8d3105364f", "parentSpanId": "eea9c5923939b743", "startTimeUnixNano": "1796073575921538761", "endTimeUnixNano": "1796073575922098176", "durationMs": 0.559415, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006362}}
{"type": "effect-span", "name": "sqlite", "traceId": "7770f4939f85d7ff4f1b2eb188f9e5ce", "spanId": "0d0f2e9072bd385c", "parentSpanId": "eea9c5923939b743", "startTimeUnixNano": "1796073575922209664", "endTimeUnixNano": "1796073575923658468", "durationMs": 1.448804, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014156}}
{"type": "effect-span", "name": "sqlite", "traceId": "7770f4939f85d7ff4f1b2eb188f9e5ce", "spanId": "0bef1fddfbf74a54", "parentSpanId": "eea9c5923939b743", "startTimeUnixNano": "1796073575923685278", "endTimeUnixNano": "1796073575924718888", "durationMs": 1.03361, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011582}}
{"type": "effect-span", "name": "sqlite", "traceId": "7770f4939f85d7ff4f1b2eb188f9e5ce", "spanId": "0b18d5db047330cf", "parentSpanId": "eea9c5923939b743", "startTimeUnixNano": "1796073575932849295", "endTimeUnixNano": "1796073575934748480", "durationMs": 1.899185, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009859}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7770f4939f85d7ff4f1b2eb188f9e5ce", "spanId": "eea9c5923939b743", "parentSpanId": "1634d9902e0006ef", "startTimeUnixNano": "1796073575921530366", "endTimeUnixNano": "1796073575935035226", "durationMs": 13.50486, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7770f4939f85d7ff4f1b2eb188f9e5ce", "spanId": "446f9e87803d2bc3", "parentSpanId": "1634d9902e0006ef", "startTimeUnixNano": "1796073575935059371", "endTimeUnixNano": "1796073575935284531", "durationMs": 0.22516, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7770f4939f85d7ff4f1b2eb188f9e5ce", "spanId": "1634d9902e0006ef", "parentSpanId": "b21c3fee80cda471", "startTimeUnixNano": "1796073575919120517", "endTimeUnixNano": "1796073575935305500", "durationMs": 16.184983, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.189037, "db.connection": "reader", "db.lock_wait_ms": 2.148}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7770f4939f85d7ff4f1b2eb188f9e5ce", "spanId": "b21c3fee80cda471", "parentSpanId": "3f6454159fb3a434", "startTimeUnixNano": "1796073575919112142", "endTimeUnixNano": "1796073575935319707", "durationMs": 16.207565, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7770f4939f85d7ff4f1b2eb188f9e5ce", "spanId": "3f6454159fb3a434", "parentSpanId": "d29d0f90d7b95634", "startTimeUnixNano": "1796073575919069632", "endTimeUnixNano": "1796073575935327151", "durationMs": 16.257519, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7770f4939f85d7ff4f1b2eb188f9e5ce", "spanId": "d29d0f90d7b95634", "startTimeUnixNano": "1796073575919056367", "endTimeUnixNano": "1796073575935333663", "durationMs": 16.277296, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bae781029ba2d2260e19b226c0613f2b", "spanId": "28871ebd0af8b1d6", "parentSpanId": "b18b48495799f046", "startTimeUnixNano": "1796073576151910570", "endTimeUnixNano": "1796073576152214677", "durationMs": 0.304107, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bae781029ba2d2260e19b226c0613f2b", "spanId": "f3e53c7ce693f3e6", "parentSpanId": "bb5a5735f213e392", "startTimeUnixNano": "1796073576152248611", "endTimeUnixNano": "1796073576152389273", "durationMs": 0.140662, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004208}}
{"type": "effect-span", "name": "sqlite", "traceId": "bae781029ba2d2260e19b226c0613f2b", "spanId": "d4a62d01d2ac3471", "parentSpanId": "bb5a5735f213e392", "startTimeUnixNano": "1796073576152467900", "endTimeUnixNano": "1796073576153299693", "durationMs": 0.831793, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011311}}
{"type": "effect-span", "name": "sqlite", "traceId": "bae781029ba2d2260e19b226c0613f2b", "spanId": "0153663e02c2e589", "parentSpanId": "bb5a5735f213e392", "startTimeUnixNano": "1796073576153319310", "endTimeUnixNano": "1796073576154274122", "durationMs": 0.954812, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007794}}
{"type": "effect-span", "name": "sqlite", "traceId": "bae781029ba2d2260e19b226c0613f2b", "spanId": "7dd7f56a6ee3a88c", "parentSpanId": "bb5a5735f213e392", "startTimeUnixNano": "1796073576159501620", "endTimeUnixNano": "1796073576164361413", "durationMs": 4.859793, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010159}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bae781029ba2d2260e19b226c0613f2b", "spanId": "bb5a5735f213e392", "parentSpanId": "b18b48495799f046", "startTimeUnixNano": "1796073576152243070", "endTimeUnixNano": "1796073576164635645", "durationMs": 12.392575, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bae781029ba2d2260e19b226c0613f2b", "spanId": "0b24caef5daed8a6", "parentSpanId": "b18b48495799f046", "startTimeUnixNano": "1796073576164650803", "endTimeUnixNano": "1796073576165153842", "durationMs": 0.503039, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bae781029ba2d2260e19b226c0613f2b", "spanId": "b18b48495799f046", "parentSpanId": "50f898400cd03a47", "startTimeUnixNano": "1796073576150673601", "endTimeUnixNano": "1796073576165168710", "durationMs": 14.495109, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.233963, "db.connection": "reader", "db.lock_wait_ms": 1.207}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bae781029ba2d2260e19b226c0613f2b", "spanId": "50f898400cd03a47", "parentSpanId": "6bd3738aaeaf882d", "startTimeUnixNano": "1796073576150665475", "endTimeUnixNano": "1796073576165181363", "durationMs": 14.515888, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bae781029ba2d2260e19b226c0613f2b", "spanId": "6bd3738aaeaf882d", "parentSpanId": "d1494dda0de6ebf9", "startTimeUnixNano": "1796073576150639266", "endTimeUnixNano": "1796073576165185401", "durationMs": 14.546135, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bae781029ba2d2260e19b226c0613f2b", "spanId": "d1494dda0de6ebf9", "startTimeUnixNano": "1796073576150625701", "endTimeUnixNano": "1796073576165190991", "durationMs": 14.56529, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fc6384bb0f018a07a556a49657bc4183", "spanId": "e0d1296a571f2c94", "parentSpanId": "c997b8b43498e847", "startTimeUnixNano": "1796073577649787267", "endTimeUnixNano": "1796073577650592220", "durationMs": 0.804953, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fc6384bb0f018a07a556a49657bc4183", "spanId": "de97cf5636d6b122", "parentSpanId": "66972a0c1a9c4095", "startTimeUnixNano": "1796073577650639728", "endTimeUnixNano": "1796073577651569965", "durationMs": 0.930237, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008426}}
{"type": "effect-span", "name": "sqlite", "traceId": "fc6384bb0f018a07a556a49657bc4183", "spanId": "1ff407a8d326553f", "parentSpanId": "66972a0c1a9c4095", "startTimeUnixNano": "1796073577651660614", "endTimeUnixNano": "1796073577652782228", "durationMs": 1.121614, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01045}}
{"type": "effect-span", "name": "sqlite", "traceId": "fc6384bb0f018a07a556a49657bc4183", "spanId": "87f358b38802d434", "parentSpanId": "66972a0c1a9c4095", "startTimeUnixNano": "1796073577652805411", "endTimeUnixNano": "1796073577653779450", "durationMs": 0.974039, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009939}}
{"type": "effect-span", "name": "sqlite", "traceId": "fc6384bb0f018a07a556a49657bc4183", "spanId": "e519ccdf9de1b724", "parentSpanId": "66972a0c1a9c4095", "startTimeUnixNano": "1796073577663710569", "endTimeUnixNano": "1796073577665866965", "durationMs": 2.156396, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020017}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fc6384bb0f018a07a556a49657bc4183", "spanId": "66972a0c1a9c4095", "parentSpanId": "c997b8b43498e847", "startTimeUnixNano": "1796073577650630351", "endTimeUnixNano": "1796073577666276649", "durationMs": 15.646298, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fc6384bb0f018a07a556a49657bc4183", "spanId": "c8a97e274f82f26d", "parentSpanId": "c997b8b43498e847", "startTimeUnixNano": "1796073577666314099", "endTimeUnixNano": "1796073577668512313", "durationMs": 2.198214, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fc6384bb0f018a07a556a49657bc4183", "spanId": "c997b8b43498e847", "parentSpanId": "8cf65a01708e7020", "startTimeUnixNano": "1796073577648105507", "endTimeUnixNano": "1796073577668547368", "durationMs": 20.441861, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.676951, "db.connection": "reader", "db.lock_wait_ms": 1.626}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fc6384bb0f018a07a556a49657bc4183", "spanId": "8cf65a01708e7020", "parentSpanId": "ee30af690c9c752b", "startTimeUnixNano": "1796073577648090279", "endTimeUnixNano": "1796073577668573367", "durationMs": 20.483088, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fc6384bb0f018a07a556a49657bc4183", "spanId": "ee30af690c9c752b", "parentSpanId": "baaddc96f1561c1c", "startTimeUnixNano": "1796073577648029425", "endTimeUnixNano": "1796073577668582213", "durationMs": 20.552788, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fc6384bb0f018a07a556a49657bc4183", "spanId": "baaddc96f1561c1c", "startTimeUnixNano": "1796073577648006152", "endTimeUnixNano": "1796073577668592633", "durationMs": 20.586481, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "dc55ce9bb3fb97387e9e9e5525f2fb49", "spanId": "dd70ed5254b826b6", "parentSpanId": "a713281cc09e2cc1", "startTimeUnixNano": "1796073577897320441", "endTimeUnixNano": "1796073577897704588", "durationMs": 0.384147, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "dc55ce9bb3fb97387e9e9e5525f2fb49", "spanId": "f9539966002dbeb9", "parentSpanId": "5aada7269cce146b", "startTimeUnixNano": "1796073577897740545", "endTimeUnixNano": "1796073577897906525", "durationMs": 0.16598, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00496}}
{"type": "effect-span", "name": "sqlite", "traceId": "dc55ce9bb3fb97387e9e9e5525f2fb49", "spanId": "5be2bc3871fa7422", "parentSpanId": "5aada7269cce146b", "startTimeUnixNano": "1796073577897983239", "endTimeUnixNano": "1796073577899165385", "durationMs": 1.182146, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008245}}
{"type": "effect-span", "name": "sqlite", "traceId": "dc55ce9bb3fb97387e9e9e5525f2fb49", "spanId": "b526b65f35cb0669", "parentSpanId": "5aada7269cce146b", "startTimeUnixNano": "1796073577899179782", "endTimeUnixNano": "1796073577900390021", "durationMs": 1.210239, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007063}}
{"type": "effect-span", "name": "sqlite", "traceId": "dc55ce9bb3fb97387e9e9e5525f2fb49", "spanId": "7e4e4deabc9e0779", "parentSpanId": "5aada7269cce146b", "startTimeUnixNano": "1796073577905687320", "endTimeUnixNano": "1796073577907491999", "durationMs": 1.804679, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012854}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "dc55ce9bb3fb97387e9e9e5525f2fb49", "spanId": "5aada7269cce146b", "parentSpanId": "a713281cc09e2cc1", "startTimeUnixNano": "1796073577897734544", "endTimeUnixNano": "1796073577907823378", "durationMs": 10.088834, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "dc55ce9bb3fb97387e9e9e5525f2fb49", "spanId": "ef309504cc3a72d5", "parentSpanId": "a713281cc09e2cc1", "startTimeUnixNano": "1796073577907838907", "endTimeUnixNano": "1796073577908531169", "durationMs": 0.692262, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "dc55ce9bb3fb97387e9e9e5525f2fb49", "spanId": "a713281cc09e2cc1", "parentSpanId": "4ce5c93205d48d4e", "startTimeUnixNano": "1796073577895695919", "endTimeUnixNano": "1796073577908551397", "durationMs": 12.855478, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.616227, "db.connection": "reader", "db.lock_wait_ms": 1.582}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "dc55ce9bb3fb97387e9e9e5525f2fb49", "spanId": "4ce5c93205d48d4e", "parentSpanId": "d797dddf81b217e0", "startTimeUnixNano": "1796073577895687934", "endTimeUnixNano": "1796073577908573208", "durationMs": 12.885274, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "dc55ce9bb3fb97387e9e9e5525f2fb49", "spanId": "d797dddf81b217e0", "parentSpanId": "3a04ae86c3fe20c7", "startTimeUnixNano": "1796073577895649091", "endTimeUnixNano": "1796073577908578979", "durationMs": 12.929888, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "dc55ce9bb3fb97387e9e9e5525f2fb49", "spanId": "3a04ae86c3fe20c7", "startTimeUnixNano": "1796073577895633312", "endTimeUnixNano": "1796073577908587835", "durationMs": 12.954523, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a834a4fe61b11e75419534ef9dc61983", "spanId": "9efb6bcd79370fda", "parentSpanId": "cee5014fa6d6462f", "startTimeUnixNano": "1796073579406655205", "endTimeUnixNano": "1796073579406816616", "durationMs": 0.161411, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a834a4fe61b11e75419534ef9dc61983", "spanId": "866fb49c7c1e7ba4", "parentSpanId": "fce4a9c654de0452", "startTimeUnixNano": "1796073579406860829", "endTimeUnixNano": "1796073579407492658", "durationMs": 0.631829, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006291}}
{"type": "effect-span", "name": "sqlite", "traceId": "a834a4fe61b11e75419534ef9dc61983", "spanId": "e58474518086d59c", "parentSpanId": "fce4a9c654de0452", "startTimeUnixNano": "1796073579407574501", "endTimeUnixNano": "1796073579409094358", "durationMs": 1.519857, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009848}}
{"type": "effect-span", "name": "sqlite", "traceId": "a834a4fe61b11e75419534ef9dc61983", "spanId": "22dac8bd585a003c", "parentSpanId": "fce4a9c654de0452", "startTimeUnixNano": "1796073579409120006", "endTimeUnixNano": "1796073579413701970", "durationMs": 4.581964, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009448}}
{"type": "effect-span", "name": "sqlite", "traceId": "a834a4fe61b11e75419534ef9dc61983", "spanId": "3512c3ae4ac13891", "parentSpanId": "fce4a9c654de0452", "startTimeUnixNano": "1796073579420990466", "endTimeUnixNano": "1796073579422696532", "durationMs": 1.706066, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011512}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a834a4fe61b11e75419534ef9dc61983", "spanId": "fce4a9c654de0452", "parentSpanId": "cee5014fa6d6462f", "startTimeUnixNano": "1796073579406853836", "endTimeUnixNano": "1796073579423022911", "durationMs": 16.169075, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a834a4fe61b11e75419534ef9dc61983", "spanId": "832e4cc20c103a7f", "parentSpanId": "cee5014fa6d6462f", "startTimeUnixNano": "1796073579423042227", "endTimeUnixNano": "1796073579424057352", "durationMs": 1.015125, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a834a4fe61b11e75419534ef9dc61983", "spanId": "cee5014fa6d6462f", "parentSpanId": "391e6445cfe0bfa6", "startTimeUnixNano": "1796073579401426043", "endTimeUnixNano": "1796073579424086196", "durationMs": 22.660153, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.222469, "db.connection": "reader", "db.lock_wait_ms": 5.155}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a834a4fe61b11e75419534ef9dc61983", "spanId": "391e6445cfe0bfa6", "parentSpanId": "911cd4a96559a6db", "startTimeUnixNano": "1796073579401418298", "endTimeUnixNano": "1796073579424116703", "durationMs": 22.698405, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a834a4fe61b11e75419534ef9dc61983", "spanId": "911cd4a96559a6db", "parentSpanId": "d8cc56e80192ff02", "startTimeUnixNano": "1796073579401372262", "endTimeUnixNano": "1796073579424122934", "durationMs": 22.750672, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a834a4fe61b11e75419534ef9dc61983", "spanId": "d8cc56e80192ff02", "startTimeUnixNano": "1796073579401356473", "endTimeUnixNano": "1796073579424131140", "durationMs": 22.774667, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "35089def3bfa8b973f7974aeeebc9a2b", "spanId": "bec2c47f82ca5efe", "parentSpanId": "03a668616d98ffcd", "startTimeUnixNano": "1796073579620168703", "endTimeUnixNano": "1796073579620355211", "durationMs": 0.186508, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "35089def3bfa8b973f7974aeeebc9a2b", "spanId": "b24f2ebfa9722577", "parentSpanId": "33d87928c5642dbb", "startTimeUnixNano": "1796073579620390177", "endTimeUnixNano": "1796073579620598686", "durationMs": 0.208509, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004628}}
{"type": "effect-span", "name": "sqlite", "traceId": "35089def3bfa8b973f7974aeeebc9a2b", "spanId": "c0d8731f0a88d5bc", "parentSpanId": "33d87928c5642dbb", "startTimeUnixNano": "1796073579620660030", "endTimeUnixNano": "1796073579621512392", "durationMs": 0.852362, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008476}}
{"type": "effect-span", "name": "sqlite", "traceId": "35089def3bfa8b973f7974aeeebc9a2b", "spanId": "92d60e9ba9768f31", "parentSpanId": "33d87928c5642dbb", "startTimeUnixNano": "1796073579621527430", "endTimeUnixNano": "1796073579622374571", "durationMs": 0.847141, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006802}}
{"type": "effect-span", "name": "sqlite", "traceId": "35089def3bfa8b973f7974aeeebc9a2b", "spanId": "cb89929a48ab9e9d", "parentSpanId": "33d87928c5642dbb", "startTimeUnixNano": "1796073579628483636", "endTimeUnixNano": "1796073579629881736", "durationMs": 1.3981, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01073}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "35089def3bfa8b973f7974aeeebc9a2b", "spanId": "33d87928c5642dbb", "parentSpanId": "03a668616d98ffcd", "startTimeUnixNano": "1796073579620384857", "endTimeUnixNano": "1796073579630090526", "durationMs": 9.705669, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "35089def3bfa8b973f7974aeeebc9a2b", "spanId": "937aa37caf1fa991", "parentSpanId": "03a668616d98ffcd", "startTimeUnixNano": "1796073579630104241", "endTimeUnixNano": "1796073579630421965", "durationMs": 0.317724, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "35089def3bfa8b973f7974aeeebc9a2b", "spanId": "03a668616d98ffcd", "parentSpanId": "0aad3baabd449655", "startTimeUnixNano": "1796073579619074451", "endTimeUnixNano": "1796073579630452442", "durationMs": 11.377991, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.091136, "db.connection": "reader", "db.lock_wait_ms": 1.062}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "35089def3bfa8b973f7974aeeebc9a2b", "spanId": "0aad3baabd449655", "parentSpanId": "0046cfa2c1747aa0", "startTimeUnixNano": "1796073579619066947", "endTimeUnixNano": "1796073579630467309", "durationMs": 11.400362, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "35089def3bfa8b973f7974aeeebc9a2b", "spanId": "0046cfa2c1747aa0", "parentSpanId": "68063fc0b4b323f7", "startTimeUnixNano": "1796073579619042060", "endTimeUnixNano": "1796073579630472569", "durationMs": 11.430509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "35089def3bfa8b973f7974aeeebc9a2b", "spanId": "68063fc0b4b323f7", "startTimeUnixNano": "1796073579619030338", "endTimeUnixNano": "1796073579630478721", "durationMs": 11.448383, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1cdeefb284a98dee8da110463c1c4586", "spanId": "1d19523bd49c075b", "parentSpanId": "36ce56da7695b5d5", "startTimeUnixNano": "1796073581006633580", "endTimeUnixNano": "1796073581007307798", "durationMs": 0.674218, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1cdeefb284a98dee8da110463c1c4586", "spanId": "884056835dbd7560", "parentSpanId": "b2f1bae17b0bda32", "startTimeUnixNano": "1796073581007346210", "endTimeUnixNano": "1796073581008048371", "durationMs": 0.702161, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004719}}
{"type": "effect-span", "name": "sqlite", "traceId": "1cdeefb284a98dee8da110463c1c4586", "spanId": "5b583c65920af4e7", "parentSpanId": "b2f1bae17b0bda32", "startTimeUnixNano": "1796073581008127489", "endTimeUnixNano": "1796073581009256817", "durationMs": 1.129328, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009036}}
{"type": "effect-span", "name": "sqlite", "traceId": "1cdeefb284a98dee8da110463c1c4586", "spanId": "a44d0b71437f5ffa", "parentSpanId": "b2f1bae17b0bda32", "startTimeUnixNano": "1796073581009275081", "endTimeUnixNano": "1796073581010426511", "durationMs": 1.15143, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007534}}
{"type": "effect-span", "name": "sqlite", "traceId": "1cdeefb284a98dee8da110463c1c4586", "spanId": "23631af561c0866b", "parentSpanId": "b2f1bae17b0bda32", "startTimeUnixNano": "1796073581018521533", "endTimeUnixNano": "1796073581020315232", "durationMs": 1.793699, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022402}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1cdeefb284a98dee8da110463c1c4586", "spanId": "b2f1bae17b0bda32", "parentSpanId": "36ce56da7695b5d5", "startTimeUnixNano": "1796073581007340610", "endTimeUnixNano": "1796073581020568295", "durationMs": 13.227685, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1cdeefb284a98dee8da110463c1c4586", "spanId": "5b4c2e44b89c08c4", "parentSpanId": "36ce56da7695b5d5", "startTimeUnixNano": "1796073581020581930", "endTimeUnixNano": "1796073581021863703", "durationMs": 1.281773, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1cdeefb284a98dee8da110463c1c4586", "spanId": "36ce56da7695b5d5", "parentSpanId": "ea02d259b5dde129", "startTimeUnixNano": "1796073581005327962", "endTimeUnixNano": "1796073581021883590", "durationMs": 16.555628, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.300027, "db.connection": "reader", "db.lock_wait_ms": 1.267}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1cdeefb284a98dee8da110463c1c4586", "spanId": "ea02d259b5dde129", "parentSpanId": "d21fdca9cee243ae", "startTimeUnixNano": "1796073581005320658", "endTimeUnixNano": "1796073581021896584", "durationMs": 16.575926, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1cdeefb284a98dee8da110463c1c4586", "spanId": "d21fdca9cee243ae", "parentSpanId": "6d9f8a92e138ce43", "startTimeUnixNano": "1796073581005284792", "endTimeUnixNano": "1796073581021900942", "durationMs": 16.61615, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1cdeefb284a98dee8da110463c1c4586", "spanId": "6d9f8a92e138ce43", "startTimeUnixNano": "1796073581005271487", "endTimeUnixNano": "1796073581021908076", "durationMs": 16.636589, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "15eacd76c8a789a11183c6418845417f", "spanId": "28871e89e0452952", "parentSpanId": "27e321f25081ca93", "startTimeUnixNano": "1796073581215005712", "endTimeUnixNano": "1796073581215229049", "durationMs": 0.223337, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "15eacd76c8a789a11183c6418845417f", "spanId": "e88e65dc89ae629f", "parentSpanId": "3ae729c4ae5a08e5", "startTimeUnixNano": "1796073581215268973", "endTimeUnixNano": "1796073581217121352", "durationMs": 1.852379, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00521}}
{"type": "effect-span", "name": "sqlite", "traceId": "15eacd76c8a789a11183c6418845417f", "spanId": "163da4d7abefd7a6", "parentSpanId": "3ae729c4ae5a08e5", "startTimeUnixNano": "1796073581217245514", "endTimeUnixNano": "1796073581218655105", "durationMs": 1.409591, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.019806}}
{"type": "effect-span", "name": "sqlite", "traceId": "15eacd76c8a789a11183c6418845417f", "spanId": "0700f3eb844a6c1c", "parentSpanId": "3ae729c4ae5a08e5", "startTimeUnixNano": "1796073581218669993", "endTimeUnixNano": "1796073581219697842", "durationMs": 1.027849, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006532}}
{"type": "effect-span", "name": "sqlite", "traceId": "15eacd76c8a789a11183c6418845417f", "spanId": "71ef15a5dc095b07", "parentSpanId": "3ae729c4ae5a08e5", "startTimeUnixNano": "1796073581226209258", "endTimeUnixNano": "1796073581228273161", "durationMs": 2.063903, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015679}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "15eacd76c8a789a11183c6418845417f", "spanId": "3ae729c4ae5a08e5", "parentSpanId": "27e321f25081ca93", "startTimeUnixNano": "1796073581215263543", "endTimeUnixNano": "1796073581228588710", "durationMs": 13.325167, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "15eacd76c8a789a11183c6418845417f", "spanId": "8f29527c272ef1ac", "parentSpanId": "27e321f25081ca93", "startTimeUnixNano": "1796073581228613607", "endTimeUnixNano": "1796073581229103151", "durationMs": 0.489544, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "15eacd76c8a789a11183c6418845417f", "spanId": "27e321f25081ca93", "parentSpanId": "c0cc853a1e203838", "startTimeUnixNano": "1796073581213585080", "endTimeUnixNano": "1796073581229120944", "durationMs": 15.535864, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.417416, "db.connection": "reader", "db.lock_wait_ms": 1.389}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "15eacd76c8a789a11183c6418845417f", "spanId": "c0cc853a1e203838", "parentSpanId": "66254be3e0127119", "startTimeUnixNano": "1796073581213578107", "endTimeUnixNano": "1796073581229134239", "durationMs": 15.556132, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "15eacd76c8a789a11183c6418845417f", "spanId": "66254be3e0127119", "parentSpanId": "1193f75e5c705a7a", "startTimeUnixNano": "1796073581213549193", "endTimeUnixNano": "1796073581229139739", "durationMs": 15.590546, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "15eacd76c8a789a11183c6418845417f", "spanId": "1193f75e5c705a7a", "startTimeUnixNano": "1796073581213535397", "endTimeUnixNano": "1796073581229147944", "durationMs": 15.612547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2c272daa5bd3fdf0a5e4f7120fb7b7db", "spanId": "9cc61fcf2646412e", "parentSpanId": "ff575dc714c5e214", "startTimeUnixNano": "1796073582646713922", "endTimeUnixNano": "1796073582646948701", "durationMs": 0.234779, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2c272daa5bd3fdf0a5e4f7120fb7b7db", "spanId": "c0ad3fe56dd0afa0", "parentSpanId": "d59c0c7783568027", "startTimeUnixNano": "1796073582646986111", "endTimeUnixNano": "1796073582647644941", "durationMs": 0.65883, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.0057}}
{"type": "effect-span", "name": "sqlite", "traceId": "2c272daa5bd3fdf0a5e4f7120fb7b7db", "spanId": "26f29b728567e429", "parentSpanId": "d59c0c7783568027", "startTimeUnixNano": "1796073582647725721", "endTimeUnixNano": "1796073582649637531", "durationMs": 1.91181, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009498}}
{"type": "effect-span", "name": "sqlite", "traceId": "2c272daa5bd3fdf0a5e4f7120fb7b7db", "spanId": "980b3fee30e7bfb7", "parentSpanId": "d59c0c7783568027", "startTimeUnixNano": "1796073582649674520", "endTimeUnixNano": "1796073582655129955", "durationMs": 5.455435, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016791}}
{"type": "effect-span", "name": "sqlite", "traceId": "2c272daa5bd3fdf0a5e4f7120fb7b7db", "spanId": "1f7d2a6bd916588e", "parentSpanId": "d59c0c7783568027", "startTimeUnixNano": "1796073582666030515", "endTimeUnixNano": "1796073582669452494", "durationMs": 3.421979, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.034946}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2c272daa5bd3fdf0a5e4f7120fb7b7db", "spanId": "d59c0c7783568027", "parentSpanId": "ff575dc714c5e214", "startTimeUnixNano": "1796073582646979158", "endTimeUnixNano": "1796073582669753967", "durationMs": 22.774809, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2c272daa5bd3fdf0a5e4f7120fb7b7db", "spanId": "1f57762c879b0a64", "parentSpanId": "ff575dc714c5e214", "startTimeUnixNano": "1796073582669776329", "endTimeUnixNano": "1796073582670141771", "durationMs": 0.365442, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2c272daa5bd3fdf0a5e4f7120fb7b7db", "spanId": "ff575dc714c5e214", "parentSpanId": "3cec9330d4c9b561", "startTimeUnixNano": "1796073582644514837", "endTimeUnixNano": "1796073582670175454", "durationMs": 25.660617, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.195539, "db.connection": "reader", "db.lock_wait_ms": 2.149}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2c272daa5bd3fdf0a5e4f7120fb7b7db", "spanId": "3cec9330d4c9b561", "parentSpanId": "fe801f16aa3aae97", "startTimeUnixNano": "1796073582644500791", "endTimeUnixNano": "1796073582670198316", "durationMs": 25.697525, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2c272daa5bd3fdf0a5e4f7120fb7b7db", "spanId": "fe801f16aa3aae97", "parentSpanId": "79086954d8a26e20", "startTimeUnixNano": "1796073582644408839", "endTimeUnixNano": "1796073582670206151", "durationMs": 25.797312, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2c272daa5bd3fdf0a5e4f7120fb7b7db", "spanId": "79086954d8a26e20", "startTimeUnixNano": "1796073582644384574", "endTimeUnixNano": "1796073582670214256", "durationMs": 25.829682, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "615fe1a31d893121fde18773bfcffe3f", "spanId": "a7e6ff7218122852", "parentSpanId": "a5e4dd9f7eb6421b", "startTimeUnixNano": "1796073582863756007", "endTimeUnixNano": "1796073582864135926", "durationMs": 0.379919, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "615fe1a31d893121fde18773bfcffe3f", "spanId": "7d43db732f9263c1", "parentSpanId": "3338e81e6edc2009", "startTimeUnixNano": "1796073582864174178", "endTimeUnixNano": "1796073582864995030", "durationMs": 0.820852, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004749}}
{"type": "effect-span", "name": "sqlite", "traceId": "615fe1a31d893121fde18773bfcffe3f", "spanId": "7d2498cf7c8fdcc6", "parentSpanId": "3338e81e6edc2009", "startTimeUnixNano": "1796073582865053860", "endTimeUnixNano": "1796073582867245762", "durationMs": 2.191902, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009097}}
{"type": "effect-span", "name": "sqlite", "traceId": "615fe1a31d893121fde18773bfcffe3f", "spanId": "6c4a2bc53298084b", "parentSpanId": "3338e81e6edc2009", "startTimeUnixNano": "1796073582867259638", "endTimeUnixNano": "1796073582868577408", "durationMs": 1.31777, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008196}}
{"type": "effect-span", "name": "sqlite", "traceId": "615fe1a31d893121fde18773bfcffe3f", "spanId": "9f67e9b1727d240e", "parentSpanId": "3338e81e6edc2009", "startTimeUnixNano": "1796073582875899478", "endTimeUnixNano": "1796073582878191587", "durationMs": 2.292109, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017012}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "615fe1a31d893121fde18773bfcffe3f", "spanId": "3338e81e6edc2009", "parentSpanId": "a5e4dd9f7eb6421b", "startTimeUnixNano": "1796073582864168768", "endTimeUnixNano": "1796073582878467443", "durationMs": 14.298675, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "615fe1a31d893121fde18773bfcffe3f", "spanId": "05d7c12b51667837", "parentSpanId": "a5e4dd9f7eb6421b", "startTimeUnixNano": "1796073582878501456", "endTimeUnixNano": "1796073582878707561", "durationMs": 0.206105, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "615fe1a31d893121fde18773bfcffe3f", "spanId": "a5e4dd9f7eb6421b", "parentSpanId": "2f3592db24f61a0a", "startTimeUnixNano": "1796073582862553271", "endTimeUnixNano": "1796073582878727468", "durationMs": 16.174197, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.198769, "db.connection": "reader", "db.lock_wait_ms": 1.172}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "615fe1a31d893121fde18773bfcffe3f", "spanId": "2f3592db24f61a0a", "parentSpanId": "06349c78b9d59b0a", "startTimeUnixNano": "1796073582862545046", "endTimeUnixNano": "1796073582878743548", "durationMs": 16.198502, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "615fe1a31d893121fde18773bfcffe3f", "spanId": "06349c78b9d59b0a", "parentSpanId": "5e6d7984d6945e2b", "startTimeUnixNano": "1796073582862518296", "endTimeUnixNano": "1796073582878750431", "durationMs": 16.232135, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "615fe1a31d893121fde18773bfcffe3f", "spanId": "5e6d7984d6945e2b", "startTimeUnixNano": "1796073582862504390", "endTimeUnixNano": "1796073582878759027", "durationMs": 16.254637, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8a8970e617bfcf45d480119754ed3b2f", "spanId": "60a4cfdff5950565", "parentSpanId": "0b677bebfc962610", "startTimeUnixNano": "1796073584382477721", "endTimeUnixNano": "1796073584382605509", "durationMs": 0.127788, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a8970e617bfcf45d480119754ed3b2f", "spanId": "a002a9cb5486432f", "parentSpanId": "f54cef56739e90f7", "startTimeUnixNano": "1796073584382644502", "endTimeUnixNano": "1796073584383173310", "durationMs": 0.528808, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005861}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a8970e617bfcf45d480119754ed3b2f", "spanId": "09aefe6ff99de1a3", "parentSpanId": "f54cef56739e90f7", "startTimeUnixNano": "1796073584383249271", "endTimeUnixNano": "1796073584384178346", "durationMs": 0.929075, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008667}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a8970e617bfcf45d480119754ed3b2f", "spanId": "0db649e7c9a57b52", "parentSpanId": "f54cef56739e90f7", "startTimeUnixNano": "1796073584384197772", "endTimeUnixNano": "1796073584385132628", "durationMs": 0.934856, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008486}}
{"type": "effect-span", "name": "sqlite", "traceId": "8a8970e617bfcf45d480119754ed3b2f", "spanId": "6032fed99ce82392", "parentSpanId": "f54cef56739e90f7", "startTimeUnixNano": "1796073584393258609", "endTimeUnixNano": "1796073584395130934", "durationMs": 1.872325, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009367}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8a8970e617bfcf45d480119754ed3b2f", "spanId": "f54cef56739e90f7", "parentSpanId": "0b677bebfc962610", "startTimeUnixNano": "1796073584382638481", "endTimeUnixNano": "1796073584395508359", "durationMs": 12.869878, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8a8970e617bfcf45d480119754ed3b2f", "spanId": "c6e20b7d5b7531de", "parentSpanId": "0b677bebfc962610", "startTimeUnixNano": "1796073584395541180", "endTimeUnixNano": "1796073584395807838", "durationMs": 0.266658, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8a8970e617bfcf45d480119754ed3b2f", "spanId": "0b677bebfc962610", "parentSpanId": "e74af962e567d181", "startTimeUnixNano": "1796073584380707826", "endTimeUnixNano": "1796073584395827074", "durationMs": 15.119248, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.766408, "db.connection": "reader", "db.lock_wait_ms": 1.735}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8a8970e617bfcf45d480119754ed3b2f", "spanId": "e74af962e567d181", "parentSpanId": "dc481b34e42569b6", "startTimeUnixNano": "1796073584380700343", "endTimeUnixNano": "1796073584395841070", "durationMs": 15.140727, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8a8970e617bfcf45d480119754ed3b2f", "spanId": "dc481b34e42569b6", "parentSpanId": "3640b6cccdc37fa7", "startTimeUnixNano": "1796073584380664075", "endTimeUnixNano": "1796073584395847091", "durationMs": 15.183016, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8a8970e617bfcf45d480119754ed3b2f", "spanId": "3640b6cccdc37fa7", "startTimeUnixNano": "1796073584380651141", "endTimeUnixNano": "1796073584395852882", "durationMs": 15.201741, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8d7dd6c9bcd9a6bfc8292b2dfb61521f", "spanId": "2cdd09cc3421a380", "parentSpanId": "3e57cecb22b199cf", "startTimeUnixNano": "1796073584591864975", "endTimeUnixNano": "1796073584592251957", "durationMs": 0.386982, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8d7dd6c9bcd9a6bfc8292b2dfb61521f", "spanId": "80c30b109a5e26fc", "parentSpanId": "750aaa966db3012e", "startTimeUnixNano": "1796073584592288426", "endTimeUnixNano": "1796073584592579629", "durationMs": 0.291203, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004708}}
{"type": "effect-span", "name": "sqlite", "traceId": "8d7dd6c9bcd9a6bfc8292b2dfb61521f", "spanId": "9f04768969256e70", "parentSpanId": "750aaa966db3012e", "startTimeUnixNano": "1796073584592685056", "endTimeUnixNano": "1796073584594423562", "durationMs": 1.738506, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012684}}
{"type": "effect-span", "name": "sqlite", "traceId": "8d7dd6c9bcd9a6bfc8292b2dfb61521f", "spanId": "ab29cfe4d958f003", "parentSpanId": "750aaa966db3012e", "startTimeUnixNano": "1796073584594465901", "endTimeUnixNano": "1796073584595918222", "durationMs": 1.452321, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01103}}
{"type": "effect-span", "name": "sqlite", "traceId": "8d7dd6c9bcd9a6bfc8292b2dfb61521f", "spanId": "b5393d9e390948c2", "parentSpanId": "750aaa966db3012e", "startTimeUnixNano": "1796073584603385834", "endTimeUnixNano": "1796073584605671652", "durationMs": 2.285818, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015409}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8d7dd6c9bcd9a6bfc8292b2dfb61521f", "spanId": "750aaa966db3012e", "parentSpanId": "3e57cecb22b199cf", "startTimeUnixNano": "1796073584592282825", "endTimeUnixNano": "1796073584606060358", "durationMs": 13.777533, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8d7dd6c9bcd9a6bfc8292b2dfb61521f", "spanId": "35d68b4ccd1a06ae", "parentSpanId": "3e57cecb22b199cf", "startTimeUnixNano": "1796073584606079744", "endTimeUnixNano": "1796073584606905626", "durationMs": 0.825882, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8d7dd6c9bcd9a6bfc8292b2dfb61521f", "spanId": "3e57cecb22b199cf", "parentSpanId": "5fed8d1f33f4a5d5", "startTimeUnixNano": "1796073584590092766", "endTimeUnixNano": "1796073584606926525", "durationMs": 16.833759, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.766839, "db.connection": "reader", "db.lock_wait_ms": 1.738}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8d7dd6c9bcd9a6bfc8292b2dfb61521f", "spanId": "5fed8d1f33f4a5d5", "parentSpanId": "2b844c0f120867bb", "startTimeUnixNano": "1796073584590085974", "endTimeUnixNano": "1796073584606945680", "durationMs": 16.859706, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8d7dd6c9bcd9a6bfc8292b2dfb61521f", "spanId": "2b844c0f120867bb", "parentSpanId": "a061e11970bd9351", "startTimeUnixNano": "1796073584590050127", "endTimeUnixNano": "1796073584606951822", "durationMs": 16.901695, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8d7dd6c9bcd9a6bfc8292b2dfb61521f", "spanId": "a061e11970bd9351", "startTimeUnixNano": "1796073584590036321", "endTimeUnixNano": "1796073584606961680", "durationMs": 16.925359, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0b85cdd2ba8193fc7ac7259a86b4be8c", "spanId": "0f963ac06421701b", "parentSpanId": "d457e7a5341f9ad3", "startTimeUnixNano": "1796073586051614153", "endTimeUnixNano": "1796073586053980211", "durationMs": 2.366058, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b85cdd2ba8193fc7ac7259a86b4be8c", "spanId": "b5426ee3a5825b13", "parentSpanId": "6e2004e29d65b95e", "startTimeUnixNano": "1796073586054025014", "endTimeUnixNano": "1796073586054761650", "durationMs": 0.736636, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004929}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b85cdd2ba8193fc7ac7259a86b4be8c", "spanId": "59236ee8d3e5dc8a", "parentSpanId": "6e2004e29d65b95e", "startTimeUnixNano": "1796073586054833564", "endTimeUnixNano": "1796073586056108534", "durationMs": 1.27497, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009107}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b85cdd2ba8193fc7ac7259a86b4be8c", "spanId": "03203d6605703112", "parentSpanId": "6e2004e29d65b95e", "startTimeUnixNano": "1796073586056121999", "endTimeUnixNano": "1796073586057213317", "durationMs": 1.091318, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006913}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b85cdd2ba8193fc7ac7259a86b4be8c", "spanId": "9e29c04f9ed54752", "parentSpanId": "6e2004e29d65b95e", "startTimeUnixNano": "1796073586066277891", "endTimeUnixNano": "1796073586068363896", "durationMs": 2.086005, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013876}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0b85cdd2ba8193fc7ac7259a86b4be8c", "spanId": "6e2004e29d65b95e", "parentSpanId": "d457e7a5341f9ad3", "startTimeUnixNano": "1796073586054018432", "endTimeUnixNano": "1796073586068699843", "durationMs": 14.681411, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0b85cdd2ba8193fc7ac7259a86b4be8c", "spanId": "7131fd0d74858438", "parentSpanId": "d457e7a5341f9ad3", "startTimeUnixNano": "1796073586068722315", "endTimeUnixNano": "1796073586068973524", "durationMs": 0.251209, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0b85cdd2ba8193fc7ac7259a86b4be8c", "spanId": "d457e7a5341f9ad3", "parentSpanId": "05565829bdff23b4", "startTimeUnixNano": "1796073586049931471", "endTimeUnixNano": "1796073586069003871", "durationMs": 19.0724, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.677442, "db.connection": "reader", "db.lock_wait_ms": 1.642}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0b85cdd2ba8193fc7ac7259a86b4be8c", "spanId": "05565829bdff23b4", "parentSpanId": "c1d920ac26c6c759", "startTimeUnixNano": "1796073586049923767", "endTimeUnixNano": "1796073586069022205", "durationMs": 19.098438, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0b85cdd2ba8193fc7ac7259a86b4be8c", "spanId": "c1d920ac26c6c759", "parentSpanId": "c5b3bc076bd6ac88", "startTimeUnixNano": "1796073586049882720", "endTimeUnixNano": "1796073586069027966", "durationMs": 19.145246, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0b85cdd2ba8193fc7ac7259a86b4be8c", "spanId": "c5b3bc076bd6ac88", "startTimeUnixNano": "1796073586049867662", "endTimeUnixNano": "1796073586069036612", "durationMs": 19.16895, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "87b059e9c293573aafd67006e6ded9cc", "spanId": "a361b0c2ba9ea172", "parentSpanId": "d38f0faaf94a12c1", "startTimeUnixNano": "1796073586277306332", "endTimeUnixNano": "1796073586277556840", "durationMs": 0.250508, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "87b059e9c293573aafd67006e6ded9cc", "spanId": "16b0c7581c542bb9", "parentSpanId": "ab4ad42d8dd8a419", "startTimeUnixNano": "1796073586277593058", "endTimeUnixNano": "1796073586277826944", "durationMs": 0.233886, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005159}}
{"type": "effect-span", "name": "sqlite", "traceId": "87b059e9c293573aafd67006e6ded9cc", "spanId": "a6c9b08ca447124a", "parentSpanId": "ab4ad42d8dd8a419", "startTimeUnixNano": "1796073586277900852", "endTimeUnixNano": "1796073586279298261", "durationMs": 1.397409, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007645}}
{"type": "effect-span", "name": "sqlite", "traceId": "87b059e9c293573aafd67006e6ded9cc", "spanId": "8f0a1078065da4b8", "parentSpanId": "ab4ad42d8dd8a419", "startTimeUnixNano": "1796073586279314061", "endTimeUnixNano": "1796073586281333241", "durationMs": 2.01918, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007414}}
{"type": "effect-span", "name": "sqlite", "traceId": "87b059e9c293573aafd67006e6ded9cc", "spanId": "deec0f0ed88319a5", "parentSpanId": "ab4ad42d8dd8a419", "startTimeUnixNano": "1796073586288152914", "endTimeUnixNano": "1796073586289576822", "durationMs": 1.423908, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.021339}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "87b059e9c293573aafd67006e6ded9cc", "spanId": "ab4ad42d8dd8a419", "parentSpanId": "d38f0faaf94a12c1", "startTimeUnixNano": "1796073586277587878", "endTimeUnixNano": "1796073586289913340", "durationMs": 12.325462, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "87b059e9c293573aafd67006e6ded9cc", "spanId": "909df97c7c11d163", "parentSpanId": "d38f0faaf94a12c1", "startTimeUnixNano": "1796073586289930292", "endTimeUnixNano": "1796073586290179828", "durationMs": 0.249536, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "87b059e9c293573aafd67006e6ded9cc", "spanId": "d38f0faaf94a12c1", "parentSpanId": "e5ba93e88f6bb758", "startTimeUnixNano": "1796073586275403419", "endTimeUnixNano": "1796073586290203662", "durationMs": 14.800243, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.897363, "db.connection": "reader", "db.lock_wait_ms": 1.87}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "87b059e9c293573aafd67006e6ded9cc", "spanId": "e5ba93e88f6bb758", "parentSpanId": "e2366b14888462e5", "startTimeUnixNano": "1796073586275396256", "endTimeUnixNano": "1796073586290219231", "durationMs": 14.822975, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "87b059e9c293573aafd67006e6ded9cc", "spanId": "e2366b14888462e5", "parentSpanId": "7223b68021f2e1cd", "startTimeUnixNano": "1796073586275371500", "endTimeUnixNano": "1796073586290223830", "durationMs": 14.85233, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "87b059e9c293573aafd67006e6ded9cc", "spanId": "7223b68021f2e1cd", "startTimeUnixNano": "1796073586275359117", "endTimeUnixNano": "1796073586290231434", "durationMs": 14.872317, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "154e0b8c6612f6b8ee9de73c2b86df29", "spanId": "9896cea12194e3ba", "parentSpanId": "0b9d8c04b357e35e", "startTimeUnixNano": "1796073587854448074", "endTimeUnixNano": "1796073587854601721", "durationMs": 0.153647, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "154e0b8c6612f6b8ee9de73c2b86df29", "spanId": "10666db6a38653ea", "parentSpanId": "3ccb91a657e21a88", "startTimeUnixNano": "1796073587854644000", "endTimeUnixNano": "1796073587855276240", "durationMs": 0.63224, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006271}}
{"type": "effect-span", "name": "sqlite", "traceId": "154e0b8c6612f6b8ee9de73c2b86df29", "spanId": "c61902ed30d1beb1", "parentSpanId": "3ccb91a657e21a88", "startTimeUnixNano": "1796073587855356710", "endTimeUnixNano": "1796073587856524340", "durationMs": 1.16763, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011041}}
{"type": "effect-span", "name": "sqlite", "traceId": "154e0b8c6612f6b8ee9de73c2b86df29", "spanId": "cf435703b16283b9", "parentSpanId": "3ccb91a657e21a88", "startTimeUnixNano": "1796073587856545650", "endTimeUnixNano": "1796073587857495023", "durationMs": 0.949373, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009297}}
{"type": "effect-span", "name": "sqlite", "traceId": "154e0b8c6612f6b8ee9de73c2b86df29", "spanId": "3ca122b56315a848", "parentSpanId": "3ccb91a657e21a88", "startTimeUnixNano": "1796073587872862014", "endTimeUnixNano": "1796073587875089774", "durationMs": 2.22776, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022683}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "154e0b8c6612f6b8ee9de73c2b86df29", "spanId": "3ccb91a657e21a88", "parentSpanId": "0b9d8c04b357e35e", "startTimeUnixNano": "1796073587854635895", "endTimeUnixNano": "1796073587875453713", "durationMs": 20.817818, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "154e0b8c6612f6b8ee9de73c2b86df29", "spanId": "d4e3a54a41a613e3", "parentSpanId": "0b9d8c04b357e35e", "startTimeUnixNano": "1796073587875480824", "endTimeUnixNano": "1796073587875892502", "durationMs": 0.411678, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "154e0b8c6612f6b8ee9de73c2b86df29", "spanId": "0b9d8c04b357e35e", "parentSpanId": "9f709b98a97854c6", "startTimeUnixNano": "1796073587851739998", "endTimeUnixNano": "1796073587875918010", "durationMs": 24.178012, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.687267, "db.connection": "reader", "db.lock_wait_ms": 2.641}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "154e0b8c6612f6b8ee9de73c2b86df29", "spanId": "9f709b98a97854c6", "parentSpanId": "9c1163b591ab443d", "startTimeUnixNano": "1796073587851730750", "endTimeUnixNano": "1796073587875937987", "durationMs": 24.207237, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "154e0b8c6612f6b8ee9de73c2b86df29", "spanId": "9c1163b591ab443d", "parentSpanId": "d1c8d88f8cbfdb74", "startTimeUnixNano": "1796073587851683542", "endTimeUnixNano": "1796073587875943367", "durationMs": 24.259825, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "154e0b8c6612f6b8ee9de73c2b86df29", "spanId": "d1c8d88f8cbfdb74", "startTimeUnixNano": "1796073587851666460", "endTimeUnixNano": "1796073587875951262", "durationMs": 24.284802, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d1e4577f22d9c83610a96681f30f803b", "spanId": "8244a80d055b96ae", "parentSpanId": "4183049f558a2128", "startTimeUnixNano": "1796073588083928154", "endTimeUnixNano": "1796073588084272878", "durationMs": 0.344724, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d1e4577f22d9c83610a96681f30f803b", "spanId": "506b9fd81afd8549", "parentSpanId": "72e22c24cfcb1385", "startTimeUnixNano": "1796073588084307382", "endTimeUnixNano": "1796073588084394515", "durationMs": 0.087133, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004378}}
{"type": "effect-span", "name": "sqlite", "traceId": "d1e4577f22d9c83610a96681f30f803b", "spanId": "5d41511875a5d235", "parentSpanId": "72e22c24cfcb1385", "startTimeUnixNano": "1796073588084470587", "endTimeUnixNano": "1796073588085555823", "durationMs": 1.085236, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010359}}
{"type": "effect-span", "name": "sqlite", "traceId": "d1e4577f22d9c83610a96681f30f803b", "spanId": "514dbd9a8a60798b", "parentSpanId": "72e22c24cfcb1385", "startTimeUnixNano": "1796073588085581351", "endTimeUnixNano": "1796073588087209871", "durationMs": 1.62852, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008395}}
{"type": "effect-span", "name": "sqlite", "traceId": "d1e4577f22d9c83610a96681f30f803b", "spanId": "5b0196e7be387cb1", "parentSpanId": "72e22c24cfcb1385", "startTimeUnixNano": "1796073588094362146", "endTimeUnixNano": "1796073588095913883", "durationMs": 1.551737, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01094}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d1e4577f22d9c83610a96681f30f803b", "spanId": "72e22c24cfcb1385", "parentSpanId": "4183049f558a2128", "startTimeUnixNano": "1796073588084300289", "endTimeUnixNano": "1796073588096154993", "durationMs": 11.854704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d1e4577f22d9c83610a96681f30f803b", "spanId": "9525849a22a05eeb", "parentSpanId": "4183049f558a2128", "startTimeUnixNano": "1796073588096169510", "endTimeUnixNano": "1796073588096667991", "durationMs": 0.498481, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d1e4577f22d9c83610a96681f30f803b", "spanId": "4183049f558a2128", "parentSpanId": "503b3632626e7d6a", "startTimeUnixNano": "1796073588082647804", "endTimeUnixNano": "1796073588096689842", "durationMs": 14.042038, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.275822, "db.connection": "reader", "db.lock_wait_ms": 1.249}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d1e4577f22d9c83610a96681f30f803b", "spanId": "503b3632626e7d6a", "parentSpanId": "a87e28ab24361ec0", "startTimeUnixNano": "1796073588082637134", "endTimeUnixNano": "1796073588096703036", "durationMs": 14.065902, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d1e4577f22d9c83610a96681f30f803b", "spanId": "a87e28ab24361ec0", "parentSpanId": "bb1cb582cb7a266d", "startTimeUnixNano": "1796073588082611275", "endTimeUnixNano": "1796073588096707675", "durationMs": 14.0964, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d1e4577f22d9c83610a96681f30f803b", "spanId": "bb1cb582cb7a266d", "startTimeUnixNano": "1796073588082599123", "endTimeUnixNano": "1796073588096712584", "durationMs": 14.113461, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "14034a1fd214a676148b3b4ba1566742", "spanId": "3a930aac5891f367", "parentSpanId": "dc011d16f2888732", "startTimeUnixNano": "1796073589618176772", "endTimeUnixNano": "1796073589618750564", "durationMs": 0.573792, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "14034a1fd214a676148b3b4ba1566742", "spanId": "643d965be5442f4f", "parentSpanId": "84e986e5972152de", "startTimeUnixNano": "1796073589618786841", "endTimeUnixNano": "1796073589619292445", "durationMs": 0.505604, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004879}}
{"type": "effect-span", "name": "sqlite", "traceId": "14034a1fd214a676148b3b4ba1566742", "spanId": "1a838f0158cfe3eb", "parentSpanId": "84e986e5972152de", "startTimeUnixNano": "1796073589619361705", "endTimeUnixNano": "1796073589620479442", "durationMs": 1.117737, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008485}}
{"type": "effect-span", "name": "sqlite", "traceId": "14034a1fd214a676148b3b4ba1566742", "spanId": "198fb6322f234837", "parentSpanId": "84e986e5972152de", "startTimeUnixNano": "1796073589620501082", "endTimeUnixNano": "1796073589623948068", "durationMs": 3.446986, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006121}}
{"type": "effect-span", "name": "sqlite", "traceId": "14034a1fd214a676148b3b4ba1566742", "spanId": "85a5e3b932330fd8", "parentSpanId": "84e986e5972152de", "startTimeUnixNano": "1796073589629983778", "endTimeUnixNano": "1796073589632369532", "durationMs": 2.385754, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009648}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "14034a1fd214a676148b3b4ba1566742", "spanId": "84e986e5972152de", "parentSpanId": "dc011d16f2888732", "startTimeUnixNano": "1796073589618780890", "endTimeUnixNano": "1796073589632881959", "durationMs": 14.101069, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "14034a1fd214a676148b3b4ba1566742", "spanId": "0528dc7a1ccca851", "parentSpanId": "dc011d16f2888732", "startTimeUnixNano": "1796073589632932463", "endTimeUnixNano": "1796073589633278900", "durationMs": 0.346437, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "14034a1fd214a676148b3b4ba1566742", "spanId": "dc011d16f2888732", "parentSpanId": "b2697610906bce21", "startTimeUnixNano": "1796073589617069214", "endTimeUnixNano": "1796073589633304297", "durationMs": 16.235083, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.103972, "db.connection": "reader", "db.lock_wait_ms": 1.072}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "14034a1fd214a676148b3b4ba1566742", "spanId": "b2697610906bce21", "parentSpanId": "c373f22dd44e8bab", "startTimeUnixNano": "1796073589617061450", "endTimeUnixNano": "1796073589633326519", "durationMs": 16.265069, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "14034a1fd214a676148b3b4ba1566742", "spanId": "c373f22dd44e8bab", "parentSpanId": "bad059999ee37eb4", "startTimeUnixNano": "1796073589617023379", "endTimeUnixNano": "1796073589633333572", "durationMs": 16.310193, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "14034a1fd214a676148b3b4ba1566742", "spanId": "bad059999ee37eb4", "startTimeUnixNano": "1796073589617008701", "endTimeUnixNano": "1796073589633342889", "durationMs": 16.334188, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "442605829f511e20aae33b5f4531dd98", "spanId": "03057e333e4100f6", "parentSpanId": "fc27d920c19969f9", "startTimeUnixNano": "1796073589848888513", "endTimeUnixNano": "1796073589849096772", "durationMs": 0.208259, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "442605829f511e20aae33b5f4531dd98", "spanId": "d74af4f40bfe2ed3", "parentSpanId": "a23fb734f12e5b6d", "startTimeUnixNano": "1796073589849129964", "endTimeUnixNano": "1796073589849318566", "durationMs": 0.188602, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004598}}
{"type": "effect-span", "name": "sqlite", "traceId": "442605829f511e20aae33b5f4531dd98", "spanId": "28c1c26505b477ab", "parentSpanId": "a23fb734f12e5b6d", "startTimeUnixNano": "1796073589849383617", "endTimeUnixNano": "1796073589850970500", "durationMs": 1.586883, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008306}}
{"type": "effect-span", "name": "sqlite", "traceId": "442605829f511e20aae33b5f4531dd98", "spanId": "1fc94ab68b3b7a34", "parentSpanId": "a23fb734f12e5b6d", "startTimeUnixNano": "1796073589850983925", "endTimeUnixNano": "1796073589851895247", "durationMs": 0.911322, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008656}}
{"type": "effect-span", "name": "sqlite", "traceId": "442605829f511e20aae33b5f4531dd98", "spanId": "21443c6fc92a2820", "parentSpanId": "a23fb734f12e5b6d", "startTimeUnixNano": "1796073589860627571", "endTimeUnixNano": "1796073589862906556", "durationMs": 2.278985, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020879}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "442605829f511e20aae33b5f4531dd98", "spanId": "a23fb734f12e5b6d", "parentSpanId": "fc27d920c19969f9", "startTimeUnixNano": "1796073589849124824", "endTimeUnixNano": "1796073589863254767", "durationMs": 14.129943, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "442605829f511e20aae33b5f4531dd98", "spanId": "a695a6c248962980", "parentSpanId": "fc27d920c19969f9", "startTimeUnixNano": "1796073589863278882", "endTimeUnixNano": "1796073589863504633", "durationMs": 0.225751, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "442605829f511e20aae33b5f4531dd98", "spanId": "fc27d920c19969f9", "parentSpanId": "c99427313600958e", "startTimeUnixNano": "1796073589847616818", "endTimeUnixNano": "1796073589863536603", "durationMs": 15.919785, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.268539, "db.connection": "reader", "db.lock_wait_ms": 1.241}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "442605829f511e20aae33b5f4531dd98", "spanId": "c99427313600958e", "parentSpanId": "861cc167c2d00113", "startTimeUnixNano": "1796073589847609415", "endTimeUnixNano": "1796073589863562601", "durationMs": 15.953186, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "442605829f511e20aae33b5f4531dd98", "spanId": "861cc167c2d00113", "parentSpanId": "0dc9858614452a15", "startTimeUnixNano": "1796073589847581472", "endTimeUnixNano": "1796073589863572440", "durationMs": 15.990968, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "442605829f511e20aae33b5f4531dd98", "spanId": "0dc9858614452a15", "startTimeUnixNano": "1796073589847568398", "endTimeUnixNano": "1796073589863584102", "durationMs": 16.015704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7d9256f6fa7eacb2a3f00849490a9541", "spanId": "fbe2f982d75b3c74", "parentSpanId": "1a3ae4c1e43c73f3", "startTimeUnixNano": "1796073591387886804", "endTimeUnixNano": "1796073591388019913", "durationMs": 0.133109, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d9256f6fa7eacb2a3f00849490a9541", "spanId": "16b82284010a18a3", "parentSpanId": "1352126fe780aeb6", "startTimeUnixNano": "1796073591388061911", "endTimeUnixNano": "1796073591388639369", "durationMs": 0.577458, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006452}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d9256f6fa7eacb2a3f00849490a9541", "spanId": "0a28e889168d2e52", "parentSpanId": "1352126fe780aeb6", "startTimeUnixNano": "1796073591388718607", "endTimeUnixNano": "1796073591389699268", "durationMs": 0.980661, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01056}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d9256f6fa7eacb2a3f00849490a9541", "spanId": "3a8216e126b56c36", "parentSpanId": "1352126fe780aeb6", "startTimeUnixNano": "1796073591389716851", "endTimeUnixNano": "1796073591390712621", "durationMs": 0.99577, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009358}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d9256f6fa7eacb2a3f00849490a9541", "spanId": "6ddc8860ca1c6b72", "parentSpanId": "1352126fe780aeb6", "startTimeUnixNano": "1796073591399363964", "endTimeUnixNano": "1796073591401619666", "durationMs": 2.255702, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015239}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7d9256f6fa7eacb2a3f00849490a9541", "spanId": "1352126fe780aeb6", "parentSpanId": "1a3ae4c1e43c73f3", "startTimeUnixNano": "1796073591388054217", "endTimeUnixNano": "1796073591401950764", "durationMs": 13.896547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7d9256f6fa7eacb2a3f00849490a9541", "spanId": "e673ca657a425589", "parentSpanId": "1a3ae4c1e43c73f3", "startTimeUnixNano": "1796073591401974619", "endTimeUnixNano": "1796073591402161718", "durationMs": 0.187099, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7d9256f6fa7eacb2a3f00849490a9541", "spanId": "1a3ae4c1e43c73f3", "parentSpanId": "ad0e14e62849841b", "startTimeUnixNano": "1796073591385849961", "endTimeUnixNano": "1796073591402185202", "durationMs": 16.335241, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.033297, "db.connection": "reader", "db.lock_wait_ms": 2}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7d9256f6fa7eacb2a3f00849490a9541", "spanId": "ad0e14e62849841b", "parentSpanId": "b2548a21c107b42f", "startTimeUnixNano": "1796073591385842377", "endTimeUnixNano": "1796073591402201913", "durationMs": 16.359536, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7d9256f6fa7eacb2a3f00849490a9541", "spanId": "b2548a21c107b42f", "parentSpanId": "e0797696d892ead4", "startTimeUnixNano": "1796073591385803264", "endTimeUnixNano": "1796073591402208105", "durationMs": 16.404841, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7d9256f6fa7eacb2a3f00849490a9541", "spanId": "e0797696d892ead4", "startTimeUnixNano": "1796073591385788035", "endTimeUnixNano": "1796073591402215489", "durationMs": 16.427454, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ac0c56b52d089e7a1086332d2a71ddb2", "spanId": "2ab48bc114146dae", "parentSpanId": "4697457b2d31210d", "startTimeUnixNano": "1796073591614407863", "endTimeUnixNano": "1796073591615583949", "durationMs": 1.176086, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ac0c56b52d089e7a1086332d2a71ddb2", "spanId": "768421d38e9dac21", "parentSpanId": "38b63bf1b9090d25", "startTimeUnixNano": "1796073591615627691", "endTimeUnixNano": "1796073591616154805", "durationMs": 0.527114, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004959}}
{"type": "effect-span", "name": "sqlite", "traceId": "ac0c56b52d089e7a1086332d2a71ddb2", "spanId": "b5229a081c12e436", "parentSpanId": "38b63bf1b9090d25", "startTimeUnixNano": "1796073591616277614", "endTimeUnixNano": "1796073591617351018", "durationMs": 1.073404, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011171}}
{"type": "effect-span", "name": "sqlite", "traceId": "ac0c56b52d089e7a1086332d2a71ddb2", "spanId": "9e3d49cf2fa6b006", "parentSpanId": "38b63bf1b9090d25", "startTimeUnixNano": "1796073591617380794", "endTimeUnixNano": "1796073591618731336", "durationMs": 1.350542, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013054}}
{"type": "effect-span", "name": "sqlite", "traceId": "ac0c56b52d089e7a1086332d2a71ddb2", "spanId": "82c6228b18e8b1dc", "parentSpanId": "38b63bf1b9090d25", "startTimeUnixNano": "1796073591625405367", "endTimeUnixNano": "1796073591630234575", "durationMs": 4.829208, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023935}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ac0c56b52d089e7a1086332d2a71ddb2", "spanId": "38b63bf1b9090d25", "parentSpanId": "4697457b2d31210d", "startTimeUnixNano": "1796073591615620507", "endTimeUnixNano": "1796073591630689203", "durationMs": 15.068696, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ac0c56b52d089e7a1086332d2a71ddb2", "spanId": "6b1de42149652326", "parentSpanId": "4697457b2d31210d", "startTimeUnixNano": "1796073591630722345", "endTimeUnixNano": "1796073591631583974", "durationMs": 0.861629, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ac0c56b52d089e7a1086332d2a71ddb2", "spanId": "4697457b2d31210d", "parentSpanId": "a35faa77a88583cb", "startTimeUnixNano": "1796073591612199850", "endTimeUnixNano": "1796073591631607668", "durationMs": 19.407818, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.200449, "db.connection": "reader", "db.lock_wait_ms": 2.084}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ac0c56b52d089e7a1086332d2a71ddb2", "spanId": "a35faa77a88583cb", "parentSpanId": "689b619db480c2f5", "startTimeUnixNano": "1796073591612184622", "endTimeUnixNano": "1796073591631629459", "durationMs": 19.444837, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ac0c56b52d089e7a1086332d2a71ddb2", "spanId": "689b619db480c2f5", "parentSpanId": "2f402d6dc9e9e9de", "startTimeUnixNano": "1796073591612128978", "endTimeUnixNano": "1796073591631635129", "durationMs": 19.506151, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ac0c56b52d089e7a1086332d2a71ddb2", "spanId": "2f402d6dc9e9e9de", "startTimeUnixNano": "1796073591612101066", "endTimeUnixNano": "1796073591631643766", "durationMs": 19.5427, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d637c37ebf266503f6786fe594412b42", "spanId": "96b9a39620175179", "parentSpanId": "fd269f2ee2ed65dd", "startTimeUnixNano": "1796073593204473934", "endTimeUnixNano": "1796073593204609708", "durationMs": 0.135774, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d637c37ebf266503f6786fe594412b42", "spanId": "da9383187bafc727", "parentSpanId": "75affa27c432991b", "startTimeUnixNano": "1796073593204646817", "endTimeUnixNano": "1796073593205206732", "durationMs": 0.559915, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005821}}
{"type": "effect-span", "name": "sqlite", "traceId": "d637c37ebf266503f6786fe594412b42", "spanId": "873c62375347b428", "parentSpanId": "75affa27c432991b", "startTimeUnixNano": "1796073593205281031", "endTimeUnixNano": "1796073593206647893", "durationMs": 1.366862, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008977}}
{"type": "effect-span", "name": "sqlite", "traceId": "d637c37ebf266503f6786fe594412b42", "spanId": "43c2444fb52a428e", "parentSpanId": "75affa27c432991b", "startTimeUnixNano": "1796073593206667841", "endTimeUnixNano": "1796073593207780468", "durationMs": 1.112627, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008896}}
{"type": "effect-span", "name": "sqlite", "traceId": "d637c37ebf266503f6786fe594412b42", "spanId": "16fdb3f40932cdb3", "parentSpanId": "75affa27c432991b", "startTimeUnixNano": "1796073593217374042", "endTimeUnixNano": "1796073593220941032", "durationMs": 3.56699, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018264}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d637c37ebf266503f6786fe594412b42", "spanId": "75affa27c432991b", "parentSpanId": "fd269f2ee2ed65dd", "startTimeUnixNano": "1796073593204641106", "endTimeUnixNano": "1796073593221250079", "durationMs": 16.608973, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d637c37ebf266503f6786fe594412b42", "spanId": "a741077226bdf562", "parentSpanId": "fd269f2ee2ed65dd", "startTimeUnixNano": "1796073593221272831", "endTimeUnixNano": "1796073593221751605", "durationMs": 0.478774, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d637c37ebf266503f6786fe594412b42", "spanId": "fd269f2ee2ed65dd", "parentSpanId": "554d56042b3cf121", "startTimeUnixNano": "1796073593202328237", "endTimeUnixNano": "1796073593221774969", "durationMs": 19.446732, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.141299, "db.connection": "reader", "db.lock_wait_ms": 2.108}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d637c37ebf266503f6786fe594412b42", "spanId": "554d56042b3cf121", "parentSpanId": "03fc90bc56413033", "startTimeUnixNano": "1796073593202320533", "endTimeUnixNano": "1796073593221794496", "durationMs": 19.473963, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d637c37ebf266503f6786fe594412b42", "spanId": "03fc90bc56413033", "parentSpanId": "fd267f4095cb2cad", "startTimeUnixNano": "1796073593202276541", "endTimeUnixNano": "1796073593221804995", "durationMs": 19.528454, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d637c37ebf266503f6786fe594412b42", "spanId": "fd267f4095cb2cad", "startTimeUnixNano": "1796073593202261803", "endTimeUnixNano": "1796073593221813611", "durationMs": 19.551808, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6a078ff3c959fd7a78da50ce9e83981d", "spanId": "7f2e03e86f2ae2aa", "parentSpanId": "99f70645908c77d6", "startTimeUnixNano": "1796073593448213617", "endTimeUnixNano": "1796073593448721495", "durationMs": 0.507878, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6a078ff3c959fd7a78da50ce9e83981d", "spanId": "0c5010f351c00b54", "parentSpanId": "80ee067904a341cb", "startTimeUnixNano": "1796073593448794591", "endTimeUnixNano": "1796073593449030091", "durationMs": 0.2355, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006473}}
{"type": "effect-span", "name": "sqlite", "traceId": "6a078ff3c959fd7a78da50ce9e83981d", "spanId": "99f8587e53925c4e", "parentSpanId": "80ee067904a341cb", "startTimeUnixNano": "1796073593449143964", "endTimeUnixNano": "1796073593452142002", "durationMs": 2.998038, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010259}}
{"type": "effect-span", "name": "sqlite", "traceId": "6a078ff3c959fd7a78da50ce9e83981d", "spanId": "4f82c9d02eb35323", "parentSpanId": "80ee067904a341cb", "startTimeUnixNano": "1796073593452181906", "endTimeUnixNano": "1796073593454247253", "durationMs": 2.065347, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.017864}}
{"type": "effect-span", "name": "sqlite", "traceId": "6a078ff3c959fd7a78da50ce9e83981d", "spanId": "ff513842f5153a9a", "parentSpanId": "80ee067904a341cb", "startTimeUnixNano": "1796073593461126037", "endTimeUnixNano": "1796073593463864431", "durationMs": 2.738394, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014958}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6a078ff3c959fd7a78da50ce9e83981d", "spanId": "80ee067904a341cb", "parentSpanId": "99f70645908c77d6", "startTimeUnixNano": "1796073593448787117", "endTimeUnixNano": "1796073593464181402", "durationMs": 15.394285, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6a078ff3c959fd7a78da50ce9e83981d", "spanId": "06c485ac25be6145", "parentSpanId": "99f70645908c77d6", "startTimeUnixNano": "1796073593464201199", "endTimeUnixNano": "1796073593464938196", "durationMs": 0.736997, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6a078ff3c959fd7a78da50ce9e83981d", "spanId": "99f70645908c77d6", "parentSpanId": "35b344902e320ed6", "startTimeUnixNano": "1796073593445737102", "endTimeUnixNano": "1796073593464965056", "durationMs": 19.227954, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.467638, "db.connection": "reader", "db.lock_wait_ms": 2.404}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6a078ff3c959fd7a78da50ce9e83981d", "spanId": "35b344902e320ed6", "parentSpanId": "655aae7e931457f6", "startTimeUnixNano": "1796073593445722575", "endTimeUnixNano": "1796073593464983129", "durationMs": 19.260554, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6a078ff3c959fd7a78da50ce9e83981d", "spanId": "655aae7e931457f6", "parentSpanId": "770692fddf8b97a8", "startTimeUnixNano": "1796073593445669005", "endTimeUnixNano": "1796073593464992407", "durationMs": 19.323402, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6a078ff3c959fd7a78da50ce9e83981d", "spanId": "770692fddf8b97a8", "startTimeUnixNano": "1796073593445647285", "endTimeUnixNano": "1796073593465002375", "durationMs": 19.35509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "dd87453b852069fdc62f6a3fce03971e", "spanId": "05c5621f529a73de", "parentSpanId": "8872740630b00e68", "startTimeUnixNano": "1796073594968399540", "endTimeUnixNano": "1796073594968548809", "durationMs": 0.149269, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "dd87453b852069fdc62f6a3fce03971e", "spanId": "ac6e0f7aae665836", "parentSpanId": "5446bfedd36d4d9b", "startTimeUnixNano": "1796073594968587361", "endTimeUnixNano": "1796073594969095129", "durationMs": 0.507768, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006201}}
{"type": "effect-span", "name": "sqlite", "traceId": "dd87453b852069fdc62f6a3fce03971e", "spanId": "3d2dd30dccbd8a65", "parentSpanId": "5446bfedd36d4d9b", "startTimeUnixNano": "1796073594969182001", "endTimeUnixNano": "1796073594970539506", "durationMs": 1.357505, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009858}}
{"type": "effect-span", "name": "sqlite", "traceId": "dd87453b852069fdc62f6a3fce03971e", "spanId": "49646036bd05aac7", "parentSpanId": "5446bfedd36d4d9b", "startTimeUnixNano": "1796073594970559513", "endTimeUnixNano": "1796073594982068143", "durationMs": 11.50863, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007695}}
{"type": "effect-span", "name": "sqlite", "traceId": "dd87453b852069fdc62f6a3fce03971e", "spanId": "60ea311c0aa44cd4", "parentSpanId": "5446bfedd36d4d9b", "startTimeUnixNano": "1796073594989701196", "endTimeUnixNano": "1796073594992358368", "durationMs": 2.657172, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013846}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "dd87453b852069fdc62f6a3fce03971e", "spanId": "5446bfedd36d4d9b", "parentSpanId": "8872740630b00e68", "startTimeUnixNano": "1796073594968581199", "endTimeUnixNano": "1796073594992680239", "durationMs": 24.09904, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "dd87453b852069fdc62f6a3fce03971e", "spanId": "9df6981bdf27f276", "parentSpanId": "8872740630b00e68", "startTimeUnixNano": "1796073594992700437", "endTimeUnixNano": "1796073594993100484", "durationMs": 0.400047, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "dd87453b852069fdc62f6a3fce03971e", "spanId": "8872740630b00e68", "parentSpanId": "1c575a7c37ed1129", "startTimeUnixNano": "1796073594966323694", "endTimeUnixNano": "1796073594993125170", "durationMs": 26.801476, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.072299, "db.connection": "reader", "db.lock_wait_ms": 2.04}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "dd87453b852069fdc62f6a3fce03971e", "spanId": "1c575a7c37ed1129", "parentSpanId": "3c4e9497af9c2a8c", "startTimeUnixNano": "1796073594966316370", "endTimeUnixNano": "1796073594993144736", "durationMs": 26.828366, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "dd87453b852069fdc62f6a3fce03971e", "spanId": "3c4e9497af9c2a8c", "parentSpanId": "579cc32f5702ff5b", "startTimeUnixNano": "1796073594966278810", "endTimeUnixNano": "1796073594993155025", "durationMs": 26.876215, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "dd87453b852069fdc62f6a3fce03971e", "spanId": "579cc32f5702ff5b", "startTimeUnixNano": "1796073594966264002", "endTimeUnixNano": "1796073594993164243", "durationMs": 26.900241, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b13f7200c42fb32759eaf472f99d41c7", "spanId": "b873ed370f817b03", "parentSpanId": "de07aaa3e03bb733", "startTimeUnixNano": "1796073595213049946", "endTimeUnixNano": "1796073595213385152", "durationMs": 0.335206, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b13f7200c42fb32759eaf472f99d41c7", "spanId": "921ef6385a1b6806", "parentSpanId": "9ee1965234d7d826", "startTimeUnixNano": "1796073595213418204", "endTimeUnixNano": "1796073595213655497", "durationMs": 0.237293, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005771}}
{"type": "effect-span", "name": "sqlite", "traceId": "b13f7200c42fb32759eaf472f99d41c7", "spanId": "05f85d7771a3fe48", "parentSpanId": "9ee1965234d7d826", "startTimeUnixNano": "1796073595213733543", "endTimeUnixNano": "1796073595214999867", "durationMs": 1.266324, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01072}}
{"type": "effect-span", "name": "sqlite", "traceId": "b13f7200c42fb32759eaf472f99d41c7", "spanId": "1f5aa2dd3f8c741d", "parentSpanId": "9ee1965234d7d826", "startTimeUnixNano": "1796073595215015947", "endTimeUnixNano": "1796073595216629320", "durationMs": 1.613373, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006623}}
{"type": "effect-span", "name": "sqlite", "traceId": "b13f7200c42fb32759eaf472f99d41c7", "spanId": "444f878faa251380", "parentSpanId": "9ee1965234d7d826", "startTimeUnixNano": "1796073595222805663", "endTimeUnixNano": "1796073595224268905", "durationMs": 1.463242, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011632}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b13f7200c42fb32759eaf472f99d41c7", "spanId": "9ee1965234d7d826", "parentSpanId": "de07aaa3e03bb733", "startTimeUnixNano": "1796073595213413154", "endTimeUnixNano": "1796073595224514003", "durationMs": 11.100849, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b13f7200c42fb32759eaf472f99d41c7", "spanId": "2b7e0f47fb30d02a", "parentSpanId": "de07aaa3e03bb733", "startTimeUnixNano": "1796073595224528630", "endTimeUnixNano": "1796073595224741838", "durationMs": 0.213208, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b13f7200c42fb32759eaf472f99d41c7", "spanId": "de07aaa3e03bb733", "parentSpanId": "57e62a04d7e59cb6", "startTimeUnixNano": "1796073595210776050", "endTimeUnixNano": "1796073595224762056", "durationMs": 13.986006, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.27061, "db.connection": "reader", "db.lock_wait_ms": 2.242}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b13f7200c42fb32759eaf472f99d41c7", "spanId": "57e62a04d7e59cb6", "parentSpanId": "5bfeee77ef967ae5", "startTimeUnixNano": "1796073595210768356", "endTimeUnixNano": "1796073595224777435", "durationMs": 14.009079, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b13f7200c42fb32759eaf472f99d41c7", "spanId": "5bfeee77ef967ae5", "parentSpanId": "459a00d1f6ff4219", "startTimeUnixNano": "1796073595210741275", "endTimeUnixNano": "1796073595224783506", "durationMs": 14.042231, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b13f7200c42fb32759eaf472f99d41c7", "spanId": "459a00d1f6ff4219", "startTimeUnixNano": "1796073595210728341", "endTimeUnixNano": "1796073595224790539", "durationMs": 14.062198, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e87de9ff15c868f4767e56ce8b8ef992", "spanId": "88da266e8d58ec0d", "parentSpanId": "286af6c9dbd88f86", "startTimeUnixNano": "1796073596720630810", "endTimeUnixNano": "1796073596720800577", "durationMs": 0.169767, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e87de9ff15c868f4767e56ce8b8ef992", "spanId": "381fb9aaea9d0d78", "parentSpanId": "8025d4f7817670dc", "startTimeUnixNano": "1796073596720843748", "endTimeUnixNano": "1796073596721377384", "durationMs": 0.533636, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005951}}
{"type": "effect-span", "name": "sqlite", "traceId": "e87de9ff15c868f4767e56ce8b8ef992", "spanId": "f66a524299c68e58", "parentSpanId": "8025d4f7817670dc", "startTimeUnixNano": "1796073596721474566", "endTimeUnixNano": "1796073596722822823", "durationMs": 1.348257, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010489}}
{"type": "effect-span", "name": "sqlite", "traceId": "e87de9ff15c868f4767e56ce8b8ef992", "spanId": "2a251ca6f790bb3c", "parentSpanId": "8025d4f7817670dc", "startTimeUnixNano": "1796073596722840216", "endTimeUnixNano": "1796073596723904162", "durationMs": 1.063946, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007053}}
{"type": "effect-span", "name": "sqlite", "traceId": "e87de9ff15c868f4767e56ce8b8ef992", "spanId": "5fc07b25db10691b", "parentSpanId": "8025d4f7817670dc", "startTimeUnixNano": "1796073596732305210", "endTimeUnixNano": "1796073596734424537", "durationMs": 2.119327, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009217}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e87de9ff15c868f4767e56ce8b8ef992", "spanId": "8025d4f7817670dc", "parentSpanId": "286af6c9dbd88f86", "startTimeUnixNano": "1796073596720837536", "endTimeUnixNano": "1796073596734720801", "durationMs": 13.883265, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e87de9ff15c868f4767e56ce8b8ef992", "spanId": "af5e7495995babd0", "parentSpanId": "286af6c9dbd88f86", "startTimeUnixNano": "1796073596734738724", "endTimeUnixNano": "1796073596735038584", "durationMs": 0.29986, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e87de9ff15c868f4767e56ce8b8ef992", "spanId": "286af6c9dbd88f86", "parentSpanId": "7a21c978176632b7", "startTimeUnixNano": "1796073596718253320", "endTimeUnixNano": "1796073596735068830", "durationMs": 16.81551, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.3724, "db.connection": "reader", "db.lock_wait_ms": 2.339}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e87de9ff15c868f4767e56ce8b8ef992", "spanId": "7a21c978176632b7", "parentSpanId": "2afd813bc1904bc3", "startTimeUnixNano": "1796073596718245325", "endTimeUnixNano": "1796073596735086594", "durationMs": 16.841269, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e87de9ff15c868f4767e56ce8b8ef992", "spanId": "2afd813bc1904bc3", "parentSpanId": "9512e4844879b4f8", "startTimeUnixNano": "1796073596718206222", "endTimeUnixNano": "1796073596735094258", "durationMs": 16.888036, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e87de9ff15c868f4767e56ce8b8ef992", "spanId": "9512e4844879b4f8", "startTimeUnixNano": "1796073596718192467", "endTimeUnixNano": "1796073596735107863", "durationMs": 16.915396, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7056751003f73c84345328bef302fe85", "spanId": "90e5cead8dae3e31", "parentSpanId": "7078d1f1d731b043", "startTimeUnixNano": "1796073596951030914", "endTimeUnixNano": "1796073596951543852", "durationMs": 0.512938, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7056751003f73c84345328bef302fe85", "spanId": "63e03f6d69196d14", "parentSpanId": "7db81bc8885949c0", "startTimeUnixNano": "1796073596951581271", "endTimeUnixNano": "1796073596951834414", "durationMs": 0.253143, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00495}}
{"type": "effect-span", "name": "sqlite", "traceId": "7056751003f73c84345328bef302fe85", "spanId": "35d074d6599165eb", "parentSpanId": "7db81bc8885949c0", "startTimeUnixNano": "1796073596951906148", "endTimeUnixNano": "1796073596953576988", "durationMs": 1.67084, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009428}}
{"type": "effect-span", "name": "sqlite", "traceId": "7056751003f73c84345328bef302fe85", "spanId": "21e9a6d180a66bcb", "parentSpanId": "7db81bc8885949c0", "startTimeUnixNano": "1796073596953592537", "endTimeUnixNano": "1796073596955723366", "durationMs": 2.130829, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007374}}
{"type": "effect-span", "name": "sqlite", "traceId": "7056751003f73c84345328bef302fe85", "spanId": "556b8d0303a74a69", "parentSpanId": "7db81bc8885949c0", "startTimeUnixNano": "1796073596961084667", "endTimeUnixNano": "1796073596963481994", "durationMs": 2.397327, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015059}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7056751003f73c84345328bef302fe85", "spanId": "7db81bc8885949c0", "parentSpanId": "7078d1f1d731b043", "startTimeUnixNano": "1796073596951575220", "endTimeUnixNano": "1796073596963733614", "durationMs": 12.158394, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7056751003f73c84345328bef302fe85", "spanId": "3cad5020702af6a5", "parentSpanId": "7078d1f1d731b043", "startTimeUnixNano": "1796073596963753040", "endTimeUnixNano": "1796073596964171642", "durationMs": 0.418602, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7056751003f73c84345328bef302fe85", "spanId": "7078d1f1d731b043", "parentSpanId": "5fa0b519d6aa9141", "startTimeUnixNano": "1796073596949775269", "endTimeUnixNano": "1796073596964190457", "durationMs": 14.415188, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.252509, "db.connection": "reader", "db.lock_wait_ms": 1.219}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7056751003f73c84345328bef302fe85", "spanId": "5fa0b519d6aa9141", "parentSpanId": "400070fd7f7a179b", "startTimeUnixNano": "1796073596949767975", "endTimeUnixNano": "1796073596964209943", "durationMs": 14.441968, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7056751003f73c84345328bef302fe85", "spanId": "400070fd7f7a179b", "parentSpanId": "42f1b8ea2a8732ef", "startTimeUnixNano": "1796073596949734423", "endTimeUnixNano": "1796073596964215945", "durationMs": 14.481522, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7056751003f73c84345328bef302fe85", "spanId": "42f1b8ea2a8732ef", "startTimeUnixNano": "1796073596949716780", "endTimeUnixNano": "1796073596964223819", "durationMs": 14.507039, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "15f9e67daf29307731f6f091a6e959b7", "spanId": "1f671c9dd0f591e1", "parentSpanId": "16bcf5225efca895", "startTimeUnixNano": "1796073598398338980", "endTimeUnixNano": "1796073598401835589", "durationMs": 3.496609, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "15f9e67daf29307731f6f091a6e959b7", "spanId": "5189c30f559b15b6", "parentSpanId": "8dd94f24d71394e8", "startTimeUnixNano": "1796073598401902053", "endTimeUnixNano": "1796073598412537754", "durationMs": 10.635701, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011301}}
{"type": "effect-span", "name": "sqlite", "traceId": "15f9e67daf29307731f6f091a6e959b7", "spanId": "e3914e5a65649e5a", "parentSpanId": "8dd94f24d71394e8", "startTimeUnixNano": "1796073598412834107", "endTimeUnixNano": "1796073598415170350", "durationMs": 2.336243, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.030147}}
{"type": "effect-span", "name": "sqlite", "traceId": "15f9e67daf29307731f6f091a6e959b7", "spanId": "5a3640316c89c2a3", "parentSpanId": "8dd94f24d71394e8", "startTimeUnixNano": "1796073598415190658", "endTimeUnixNano": "1796073598417009795", "durationMs": 1.819137, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012383}}
{"type": "effect-span", "name": "sqlite", "traceId": "15f9e67daf29307731f6f091a6e959b7", "spanId": "eca948e94c6dbad6", "parentSpanId": "8dd94f24d71394e8", "startTimeUnixNano": "1796073598423541232", "endTimeUnixNano": "1796073598426128483", "durationMs": 2.587251, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015849}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "15f9e67daf29307731f6f091a6e959b7", "spanId": "8dd94f24d71394e8", "parentSpanId": "16bcf5225efca895", "startTimeUnixNano": "1796073598401890441", "endTimeUnixNano": "1796073598426560580", "durationMs": 24.670139, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "15f9e67daf29307731f6f091a6e959b7", "spanId": "4a06003751ab2dbe", "parentSpanId": "16bcf5225efca895", "startTimeUnixNano": "1796073598426596617", "endTimeUnixNano": "1796073598428194321", "durationMs": 1.597704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "15f9e67daf29307731f6f091a6e959b7", "spanId": "16bcf5225efca895", "parentSpanId": "ed49d7b772c2c6d0", "startTimeUnixNano": "1796073598396079931", "endTimeUnixNano": "1796073598428222464", "durationMs": 32.142533, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.251104, "db.connection": "reader", "db.lock_wait_ms": 2.191}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "15f9e67daf29307731f6f091a6e959b7", "spanId": "ed49d7b772c2c6d0", "parentSpanId": "1936fca749b532f0", "startTimeUnixNano": "1796073598396066756", "endTimeUnixNano": "1796073598428240257", "durationMs": 32.173501, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "15f9e67daf29307731f6f091a6e959b7", "spanId": "1936fca749b532f0", "parentSpanId": "c3a4934b1b385fef", "startTimeUnixNano": "1796073598395995313", "endTimeUnixNano": "1796073598428247220", "durationMs": 32.251907, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "15f9e67daf29307731f6f091a6e959b7", "spanId": "c3a4934b1b385fef", "startTimeUnixNano": "1796073598395967982", "endTimeUnixNano": "1796073598428258751", "durationMs": 32.290769, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f315c75bbbd8b4f71972ce5d938f71ab", "spanId": "590a5ae3f8685987", "parentSpanId": "a8175477cf4e46e7", "startTimeUnixNano": "1796073598647776937", "endTimeUnixNano": "1796073598647920034", "durationMs": 0.143097, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f315c75bbbd8b4f71972ce5d938f71ab", "spanId": "244be65e503c409c", "parentSpanId": "afaa6bc3fe74577f", "startTimeUnixNano": "1796073598647960670", "endTimeUnixNano": "1796073598648262233", "durationMs": 0.301563, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006432}}
{"type": "effect-span", "name": "sqlite", "traceId": "f315c75bbbd8b4f71972ce5d938f71ab", "spanId": "f172c06a3246450d", "parentSpanId": "afaa6bc3fe74577f", "startTimeUnixNano": "1796073598648337584", "endTimeUnixNano": "1796073598649378287", "durationMs": 1.040703, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008746}}
{"type": "effect-span", "name": "sqlite", "traceId": "f315c75bbbd8b4f71972ce5d938f71ab", "spanId": "3d2d0ba81d0ecc25", "parentSpanId": "afaa6bc3fe74577f", "startTimeUnixNano": "1796073598649402001", "endTimeUnixNano": "1796073598651974816", "durationMs": 2.572815, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007294}}
{"type": "effect-span", "name": "sqlite", "traceId": "f315c75bbbd8b4f71972ce5d938f71ab", "spanId": "665b3d666ed2ae47", "parentSpanId": "afaa6bc3fe74577f", "startTimeUnixNano": "1796073598658004406", "endTimeUnixNano": "1796073598660312987", "durationMs": 2.308581, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010299}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f315c75bbbd8b4f71972ce5d938f71ab", "spanId": "afaa6bc3fe74577f", "parentSpanId": "a8175477cf4e46e7", "startTimeUnixNano": "1796073598647954018", "endTimeUnixNano": "1796073598660590835", "durationMs": 12.636817, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f315c75bbbd8b4f71972ce5d938f71ab", "spanId": "0b4d4d9a1e14ce33", "parentSpanId": "a8175477cf4e46e7", "startTimeUnixNano": "1796073598660606415", "endTimeUnixNano": "1796073598665068717", "durationMs": 4.462302, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f315c75bbbd8b4f71972ce5d938f71ab", "spanId": "a8175477cf4e46e7", "parentSpanId": "e833ca2a54b2a4a1", "startTimeUnixNano": "1796073598645800105", "endTimeUnixNano": "1796073598665107991", "durationMs": 19.307886, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.973315, "db.connection": "reader", "db.lock_wait_ms": 1.893}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f315c75bbbd8b4f71972ce5d938f71ab", "spanId": "e833ca2a54b2a4a1", "parentSpanId": "cb91719ce6119592", "startTimeUnixNano": "1796073598645785358", "endTimeUnixNano": "1796073598665131805", "durationMs": 19.346447, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f315c75bbbd8b4f71972ce5d938f71ab", "spanId": "cb91719ce6119592", "parentSpanId": "67490de1b1e51533", "startTimeUnixNano": "1796073598645729173", "endTimeUnixNano": "1796073598665138969", "durationMs": 19.409796, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f315c75bbbd8b4f71972ce5d938f71ab", "spanId": "67490de1b1e51533", "startTimeUnixNano": "1796073598645710057", "endTimeUnixNano": "1796073598665146643", "durationMs": 19.436586, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8088e8aa9bee081591655713d53de6c0", "spanId": "a6f71f421f3b55b9", "parentSpanId": "28c2af2d4e8e6326", "startTimeUnixNano": "1796073600145158182", "endTimeUnixNano": "1796073600145352024", "durationMs": 0.193842, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8088e8aa9bee081591655713d53de6c0", "spanId": "d557b321c474d7c7", "parentSpanId": "979b9e40fc39c317", "startTimeUnixNano": "1796073600145400986", "endTimeUnixNano": "1796073600146337094", "durationMs": 0.936108, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008305}}
{"type": "effect-span", "name": "sqlite", "traceId": "8088e8aa9bee081591655713d53de6c0", "spanId": "ecdc0b04cf5699a6", "parentSpanId": "979b9e40fc39c317", "startTimeUnixNano": "1796073600146450215", "endTimeUnixNano": "1796073600147473746", "durationMs": 1.023531, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012012}}
{"type": "effect-span", "name": "sqlite", "traceId": "8088e8aa9bee081591655713d53de6c0", "spanId": "92c7813efdb5d320", "parentSpanId": "979b9e40fc39c317", "startTimeUnixNano": "1796073600147514472", "endTimeUnixNano": "1796073600148754178", "durationMs": 1.239706, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010059}}
{"type": "effect-span", "name": "sqlite", "traceId": "8088e8aa9bee081591655713d53de6c0", "spanId": "6cc7560aad8cbac6", "parentSpanId": "979b9e40fc39c317", "startTimeUnixNano": "1796073600158093879", "endTimeUnixNano": "1796073600160923624", "durationMs": 2.829745, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01584}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8088e8aa9bee081591655713d53de6c0", "spanId": "979b9e40fc39c317", "parentSpanId": "28c2af2d4e8e6326", "startTimeUnixNano": "1796073600145391398", "endTimeUnixNano": "1796073600161293935", "durationMs": 15.902537, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8088e8aa9bee081591655713d53de6c0", "spanId": "8112e4a750072bd0", "parentSpanId": "28c2af2d4e8e6326", "startTimeUnixNano": "1796073600161317359", "endTimeUnixNano": "1796073600161601400", "durationMs": 0.284041, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8088e8aa9bee081591655713d53de6c0", "spanId": "28c2af2d4e8e6326", "parentSpanId": "da2e759b87486219", "startTimeUnixNano": "1796073600140006501", "endTimeUnixNano": "1796073600161629833", "durationMs": 21.623332, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.143836, "db.connection": "reader", "db.lock_wait_ms": 5.1}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8088e8aa9bee081591655713d53de6c0", "spanId": "da2e759b87486219", "parentSpanId": "8740ced7b7eb3e14", "startTimeUnixNano": "1796073600139998527", "endTimeUnixNano": "1796073600161654859", "durationMs": 21.656332, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8088e8aa9bee081591655713d53de6c0", "spanId": "8740ced7b7eb3e14", "parentSpanId": "52738039d9da08f1", "startTimeUnixNano": "1796073600139947331", "endTimeUnixNano": "1796073600161663225", "durationMs": 21.715894, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8088e8aa9bee081591655713d53de6c0", "spanId": "52738039d9da08f1", "startTimeUnixNano": "1796073600139922254", "endTimeUnixNano": "1796073600161672693", "durationMs": 21.750439, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1fbaac4acca5d50b74ffe56f30187290", "spanId": "325f86161f9593bc", "parentSpanId": "936a777f60f02fae", "startTimeUnixNano": "1796073600348059280", "endTimeUnixNano": "1796073600348350084", "durationMs": 0.290804, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1fbaac4acca5d50b74ffe56f30187290", "spanId": "01931360fec8400f", "parentSpanId": "66532be4f816da6a", "startTimeUnixNano": "1796073600348406609", "endTimeUnixNano": "1796073600348591504", "durationMs": 0.184895, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007564}}
{"type": "effect-span", "name": "sqlite", "traceId": "1fbaac4acca5d50b74ffe56f30187290", "spanId": "2bdd063cc74cd592", "parentSpanId": "66532be4f816da6a", "startTimeUnixNano": "1796073600348679078", "endTimeUnixNano": "1796073600350827299", "durationMs": 2.148221, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012143}}
{"type": "effect-span", "name": "sqlite", "traceId": "1fbaac4acca5d50b74ffe56f30187290", "spanId": "f2f11ef347ed6339", "parentSpanId": "66532be4f816da6a", "startTimeUnixNano": "1796073600350852206", "endTimeUnixNano": "1796073600353025104", "durationMs": 2.172898, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012523}}
{"type": "effect-span", "name": "sqlite", "traceId": "1fbaac4acca5d50b74ffe56f30187290", "spanId": "75c1f92ed49ebfbc", "parentSpanId": "66532be4f816da6a", "startTimeUnixNano": "1796073600359282329", "endTimeUnixNano": "1796073600361446340", "durationMs": 2.164011, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017743}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1fbaac4acca5d50b74ffe56f30187290", "spanId": "66532be4f816da6a", "parentSpanId": "936a777f60f02fae", "startTimeUnixNano": "1796073600348396991", "endTimeUnixNano": "1796073600361695014", "durationMs": 13.298023, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1fbaac4acca5d50b74ffe56f30187290", "spanId": "99fecd715e9eb8b7", "parentSpanId": "936a777f60f02fae", "startTimeUnixNano": "1796073600361708570", "endTimeUnixNano": "1796073600361942406", "durationMs": 0.233836, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1fbaac4acca5d50b74ffe56f30187290", "spanId": "936a777f60f02fae", "parentSpanId": "afe3a5330338c979", "startTimeUnixNano": "1796073600346862425", "endTimeUnixNano": "1796073600361958266", "durationMs": 15.095841, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.19386, "db.connection": "reader", "db.lock_wait_ms": 1.16}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1fbaac4acca5d50b74ffe56f30187290", "spanId": "afe3a5330338c979", "parentSpanId": "4f61ce96b4055718", "startTimeUnixNano": "1796073600346855011", "endTimeUnixNano": "1796073600361970980", "durationMs": 15.115969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1fbaac4acca5d50b74ffe56f30187290", "spanId": "4f61ce96b4055718", "parentSpanId": "f63a811acce0bf17", "startTimeUnixNano": "1796073600346830135", "endTimeUnixNano": "1796073600361975648", "durationMs": 15.145513, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1fbaac4acca5d50b74ffe56f30187290", "spanId": "f63a811acce0bf17", "startTimeUnixNano": "1796073600346818934", "endTimeUnixNano": "1796073600361981299", "durationMs": 15.162365, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e4805e3b5a423dfe576e5dc3efcc2bfc", "spanId": "bfb7b2c52317f5ea", "parentSpanId": "e627ffba4f60e250", "startTimeUnixNano": "1796073601798258186", "endTimeUnixNano": "1796073601798459061", "durationMs": 0.200875, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4805e3b5a423dfe576e5dc3efcc2bfc", "spanId": "f51c8633200d4509", "parentSpanId": "7f01825559bc93fc", "startTimeUnixNano": "1796073601798507762", "endTimeUnixNano": "1796073601799218349", "durationMs": 0.710587, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006202}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4805e3b5a423dfe576e5dc3efcc2bfc", "spanId": "4cfe8671a25789a4", "parentSpanId": "7f01825559bc93fc", "startTimeUnixNano": "1796073601799302627", "endTimeUnixNano": "1796073601800719653", "durationMs": 1.417026, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009137}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4805e3b5a423dfe576e5dc3efcc2bfc", "spanId": "3ee81b7a0ce8f996", "parentSpanId": "7f01825559bc93fc", "startTimeUnixNano": "1796073601800739560", "endTimeUnixNano": "1796073601803597748", "durationMs": 2.858188, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008536}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4805e3b5a423dfe576e5dc3efcc2bfc", "spanId": "8c72894a99c4fca2", "parentSpanId": "7f01825559bc93fc", "startTimeUnixNano": "1796073601812236570", "endTimeUnixNano": "1796073601814828831", "durationMs": 2.592261, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013616}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e4805e3b5a423dfe576e5dc3efcc2bfc", "spanId": "7f01825559bc93fc", "parentSpanId": "e627ffba4f60e250", "startTimeUnixNano": "1796073601798500438", "endTimeUnixNano": "1796073601815164428", "durationMs": 16.66399, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e4805e3b5a423dfe576e5dc3efcc2bfc", "spanId": "ed3bc41698c75a96", "parentSpanId": "e627ffba4f60e250", "startTimeUnixNano": "1796073601815182211", "endTimeUnixNano": "1796073601817031385", "durationMs": 1.849174, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e4805e3b5a423dfe576e5dc3efcc2bfc", "spanId": "e627ffba4f60e250", "parentSpanId": "133c8cc51e94bdae", "startTimeUnixNano": "1796073601794882823", "endTimeUnixNano": "1796073601817068023", "durationMs": 22.1852, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.369542, "db.connection": "reader", "db.lock_wait_ms": 3.205}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e4805e3b5a423dfe576e5dc3efcc2bfc", "spanId": "133c8cc51e94bdae", "parentSpanId": "d93e1d7e62646aaa", "startTimeUnixNano": "1796073601794868877", "endTimeUnixNano": "1796073601817089393", "durationMs": 22.220516, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e4805e3b5a423dfe576e5dc3efcc2bfc", "spanId": "d93e1d7e62646aaa", "parentSpanId": "c3cd0f988a29ed15", "startTimeUnixNano": "1796073601794830515", "endTimeUnixNano": "1796073601817095184", "durationMs": 22.264669, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e4805e3b5a423dfe576e5dc3efcc2bfc", "spanId": "c3cd0f988a29ed15", "startTimeUnixNano": "1796073601794812141", "endTimeUnixNano": "1796073601817103169", "durationMs": 22.291028, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5ba36e124b80ef20a91781b1ab89d983", "spanId": "cd2e43db7044a86b", "parentSpanId": "cc2db716c484eff2", "startTimeUnixNano": "1796073602024746468", "endTimeUnixNano": "1796073602025183413", "durationMs": 0.436945, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5ba36e124b80ef20a91781b1ab89d983", "spanId": "9c85abe54009d8be", "parentSpanId": "dbc28205854b7785", "startTimeUnixNano": "1796073602025216415", "endTimeUnixNano": "1796073602025343593", "durationMs": 0.127178, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004348}}
{"type": "effect-span", "name": "sqlite", "traceId": "5ba36e124b80ef20a91781b1ab89d983", "spanId": "686c0d566f4eda6e", "parentSpanId": "dbc28205854b7785", "startTimeUnixNano": "1796073602025413143", "endTimeUnixNano": "1796073602026842592", "durationMs": 1.429449, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007754}}
{"type": "effect-span", "name": "sqlite", "traceId": "5ba36e124b80ef20a91781b1ab89d983", "spanId": "f182da13f22846c9", "parentSpanId": "dbc28205854b7785", "startTimeUnixNano": "1796073602026857269", "endTimeUnixNano": "1796073602028133202", "durationMs": 1.275933, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005821}}
{"type": "effect-span", "name": "sqlite", "traceId": "5ba36e124b80ef20a91781b1ab89d983", "spanId": "eaae72d228025a98", "parentSpanId": "dbc28205854b7785", "startTimeUnixNano": "1796073602034385518", "endTimeUnixNano": "1796073602036178477", "durationMs": 1.792959, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016351}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5ba36e124b80ef20a91781b1ab89d983", "spanId": "dbc28205854b7785", "parentSpanId": "cc2db716c484eff2", "startTimeUnixNano": "1796073602025210955", "endTimeUnixNano": "1796073602036549359", "durationMs": 11.338404, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5ba36e124b80ef20a91781b1ab89d983", "spanId": "ea6ed9842b7f51d9", "parentSpanId": "cc2db716c484eff2", "startTimeUnixNano": "1796073602036569357", "endTimeUnixNano": "1796073602036850973", "durationMs": 0.281616, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5ba36e124b80ef20a91781b1ab89d983", "spanId": "cc2db716c484eff2", "parentSpanId": "b712f68306433bdf", "startTimeUnixNano": "1796073602023273016", "endTimeUnixNano": "1796073602036878544", "durationMs": 13.605528, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.469464, "db.connection": "reader", "db.lock_wait_ms": 1.439}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5ba36e124b80ef20a91781b1ab89d983", "spanId": "b712f68306433bdf", "parentSpanId": "6f6b479677cbd157", "startTimeUnixNano": "1796073602023263959", "endTimeUnixNano": "1796073602036898031", "durationMs": 13.634072, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5ba36e124b80ef20a91781b1ab89d983", "spanId": "6f6b479677cbd157", "parentSpanId": "3c477159a06018eb", "startTimeUnixNano": "1796073602023226379", "endTimeUnixNano": "1796073602036909462", "durationMs": 13.683083, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5ba36e124b80ef20a91781b1ab89d983", "spanId": "3c477159a06018eb", "startTimeUnixNano": "1796073602023206552", "endTimeUnixNano": "1796073602036918829", "durationMs": 13.712277, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0b51a22cd6a7ea24e1451ddba922a044", "spanId": "b498c439bb5347e2", "parentSpanId": "14d197033a48af5d", "startTimeUnixNano": "1796073603455124268", "endTimeUnixNano": "1796073603455914383", "durationMs": 0.790115, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b51a22cd6a7ea24e1451ddba922a044", "spanId": "f0393e4d7dacd08e", "parentSpanId": "9c715c5b4ba8155a", "startTimeUnixNano": "1796073603455977972", "endTimeUnixNano": "1796073603456727101", "durationMs": 0.749129, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009858}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b51a22cd6a7ea24e1451ddba922a044", "spanId": "8975684f3d3e5d37", "parentSpanId": "9c715c5b4ba8155a", "startTimeUnixNano": "1796073603456821357", "endTimeUnixNano": "1796073603458123839", "durationMs": 1.302482, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012083}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b51a22cd6a7ea24e1451ddba922a044", "spanId": "c4cdfb1ef844a659", "parentSpanId": "9c715c5b4ba8155a", "startTimeUnixNano": "1796073603458140601", "endTimeUnixNano": "1796073603459172518", "durationMs": 1.031917, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009227}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b51a22cd6a7ea24e1451ddba922a044", "spanId": "5a2d90ac1817be92", "parentSpanId": "9c715c5b4ba8155a", "startTimeUnixNano": "1796073603473543866", "endTimeUnixNano": "1796073603475296910", "durationMs": 1.753044, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017162}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0b51a22cd6a7ea24e1451ddba922a044", "spanId": "9c715c5b4ba8155a", "parentSpanId": "14d197033a48af5d", "startTimeUnixNano": "1796073603455968013", "endTimeUnixNano": "1796073603475612430", "durationMs": 19.644417, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0b51a22cd6a7ea24e1451ddba922a044", "spanId": "a0b8fbb14fe17229", "parentSpanId": "14d197033a48af5d", "startTimeUnixNano": "1796073603475631375", "endTimeUnixNano": "1796073603475914914", "durationMs": 0.283539, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0b51a22cd6a7ea24e1451ddba922a044", "spanId": "14d197033a48af5d", "parentSpanId": "7607c8bc091961f2", "startTimeUnixNano": "1796073603453646879", "endTimeUnixNano": "1796073603475946203", "durationMs": 22.299324, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.471307, "db.connection": "reader", "db.lock_wait_ms": 1.436}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0b51a22cd6a7ea24e1451ddba922a044", "spanId": "7607c8bc091961f2", "parentSpanId": "794e0da36280371d", "startTimeUnixNano": "1796073603453637020", "endTimeUnixNano": "1796073603475971821", "durationMs": 22.334801, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0b51a22cd6a7ea24e1451ddba922a044", "spanId": "794e0da36280371d", "parentSpanId": "e9ce991e02a3feb3", "startTimeUnixNano": "1796073603453596635", "endTimeUnixNano": "1796073603475979796", "durationMs": 22.383161, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0b51a22cd6a7ea24e1451ddba922a044", "spanId": "e9ce991e02a3feb3", "startTimeUnixNano": "1796073603453583390", "endTimeUnixNano": "1796073603475986448", "durationMs": 22.403058, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "eaa5ad85a07d5162f33cae87b47ea543", "spanId": "81c5b481568bd6fc", "parentSpanId": "3bfe3beb2bf39eb0", "startTimeUnixNano": "1796073603672413821", "endTimeUnixNano": "1796073603673809928", "durationMs": 1.396107, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "eaa5ad85a07d5162f33cae87b47ea543", "spanId": "af37008608de9031", "parentSpanId": "7e6bec328aee9b16", "startTimeUnixNano": "1796073603673859371", "endTimeUnixNano": "1796073603674158249", "durationMs": 0.298878, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007824}}
{"type": "effect-span", "name": "sqlite", "traceId": "eaa5ad85a07d5162f33cae87b47ea543", "spanId": "ef3d26f987f210c7", "parentSpanId": "7e6bec328aee9b16", "startTimeUnixNano": "1796073603674229302", "endTimeUnixNano": "1796073603675893379", "durationMs": 1.664077, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009638}}
{"type": "effect-span", "name": "sqlite", "traceId": "eaa5ad85a07d5162f33cae87b47ea543", "spanId": "85a1aa5f273b4f3c", "parentSpanId": "7e6bec328aee9b16", "startTimeUnixNano": "1796073603675913146", "endTimeUnixNano": "1796073603678001637", "durationMs": 2.088491, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012453}}
{"type": "effect-span", "name": "sqlite", "traceId": "eaa5ad85a07d5162f33cae87b47ea543", "spanId": "6f5693060e9af245", "parentSpanId": "7e6bec328aee9b16", "startTimeUnixNano": "1796073603687116268", "endTimeUnixNano": "1796073603688805273", "durationMs": 1.689005, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012784}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "eaa5ad85a07d5162f33cae87b47ea543", "spanId": "7e6bec328aee9b16", "parentSpanId": "3bfe3beb2bf39eb0", "startTimeUnixNano": "1796073603673844152", "endTimeUnixNano": "1796073603689095314", "durationMs": 15.251162, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "eaa5ad85a07d5162f33cae87b47ea543", "spanId": "926645b7ecf6a2dd", "parentSpanId": "3bfe3beb2bf39eb0", "startTimeUnixNano": "1796073603689112516", "endTimeUnixNano": "1796073603689567436", "durationMs": 0.45492, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "eaa5ad85a07d5162f33cae87b47ea543", "spanId": "3bfe3beb2bf39eb0", "parentSpanId": "a4deef8c37a4cc3d", "startTimeUnixNano": "1796073603671025068", "endTimeUnixNano": "1796073603689594707", "durationMs": 18.569639, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.382431, "db.connection": "reader", "db.lock_wait_ms": 1.354}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "eaa5ad85a07d5162f33cae87b47ea543", "spanId": "a4deef8c37a4cc3d", "parentSpanId": "9e8c40471ea97a98", "startTimeUnixNano": "1796073603671017784", "endTimeUnixNano": "1796073603689608242", "durationMs": 18.590458, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "eaa5ad85a07d5162f33cae87b47ea543", "spanId": "9e8c40471ea97a98", "parentSpanId": "d15333867986a323", "startTimeUnixNano": "1796073603670990583", "endTimeUnixNano": "1796073603689613752", "durationMs": 18.623169, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "eaa5ad85a07d5162f33cae87b47ea543", "spanId": "d15333867986a323", "startTimeUnixNano": "1796073603670977078", "endTimeUnixNano": "1796073603689621206", "durationMs": 18.644128, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "877636ea36e8acef5b63ba8760a67078", "spanId": "fae6eb37c1719464", "parentSpanId": "0d84d4b1b4cccbda", "startTimeUnixNano": "1796073605098679832", "endTimeUnixNano": "1796073605099287176", "durationMs": 0.607344, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "877636ea36e8acef5b63ba8760a67078", "spanId": "b693183b83d9d045", "parentSpanId": "73f78ec947ed2a60", "startTimeUnixNano": "1796073605099323374", "endTimeUnixNano": "1796073605099952639", "durationMs": 0.629265, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004558}}
{"type": "effect-span", "name": "sqlite", "traceId": "877636ea36e8acef5b63ba8760a67078", "spanId": "74dee99970b36292", "parentSpanId": "73f78ec947ed2a60", "startTimeUnixNano": "1796073605100020886", "endTimeUnixNano": "1796073605101394492", "durationMs": 1.373606, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008546}}
{"type": "effect-span", "name": "sqlite", "traceId": "877636ea36e8acef5b63ba8760a67078", "spanId": "1145e96723b2b632", "parentSpanId": "73f78ec947ed2a60", "startTimeUnixNano": "1796073605101416232", "endTimeUnixNano": "1796073605102643063", "durationMs": 1.226831, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009638}}
{"type": "effect-span", "name": "sqlite", "traceId": "877636ea36e8acef5b63ba8760a67078", "spanId": "d0dc52d03727a447", "parentSpanId": "73f78ec947ed2a60", "startTimeUnixNano": "1796073605115403615", "endTimeUnixNano": "1796073605117053356", "durationMs": 1.649741, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01108}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "877636ea36e8acef5b63ba8760a67078", "spanId": "73f78ec947ed2a60", "parentSpanId": "0d84d4b1b4cccbda", "startTimeUnixNano": "1796073605099317773", "endTimeUnixNano": "1796073605117322539", "durationMs": 18.004766, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "877636ea36e8acef5b63ba8760a67078", "spanId": "d5275097169029b8", "parentSpanId": "0d84d4b1b4cccbda", "startTimeUnixNano": "1796073605117337046", "endTimeUnixNano": "1796073605117533192", "durationMs": 0.196146, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "877636ea36e8acef5b63ba8760a67078", "spanId": "0d84d4b1b4cccbda", "parentSpanId": "ccfa718c86494087", "startTimeUnixNano": "1796073605097485070", "endTimeUnixNano": "1796073605117552087", "durationMs": 20.067017, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.191556, "db.connection": "reader", "db.lock_wait_ms": 1.158}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "877636ea36e8acef5b63ba8760a67078", "spanId": "ccfa718c86494087", "parentSpanId": "2dc054b18e81f18a", "startTimeUnixNano": "1796073605097476835", "endTimeUnixNano": "1796073605117564000", "durationMs": 20.087165, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "877636ea36e8acef5b63ba8760a67078", "spanId": "2dc054b18e81f18a", "parentSpanId": "6ddfc632ca3199e2", "startTimeUnixNano": "1796073605097420680", "endTimeUnixNano": "1796073605117568328", "durationMs": 20.147648, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "877636ea36e8acef5b63ba8760a67078", "spanId": "6ddfc632ca3199e2", "startTimeUnixNano": "1796073605097406704", "endTimeUnixNano": "1796073605117574219", "durationMs": 20.167515, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "89acc18a8eb39f89fb91500d6f9f6e04", "spanId": "bb7153c4e93eb2eb", "parentSpanId": "8b3a2d7e2689130f", "startTimeUnixNano": "1796073605302287075", "endTimeUnixNano": "1796073605302650854", "durationMs": 0.363779, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "89acc18a8eb39f89fb91500d6f9f6e04", "spanId": "dec804fabec291b5", "parentSpanId": "1c546a7682cf6407", "startTimeUnixNano": "1796073605302689176", "endTimeUnixNano": "1796073605302904448", "durationMs": 0.215272, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004388}}
{"type": "effect-span", "name": "sqlite", "traceId": "89acc18a8eb39f89fb91500d6f9f6e04", "spanId": "fe66a9feb0b714aa", "parentSpanId": "1c546a7682cf6407", "startTimeUnixNano": "1796073605303017609", "endTimeUnixNano": "1796073605306662296", "durationMs": 3.644687, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015769}}
{"type": "effect-span", "name": "sqlite", "traceId": "89acc18a8eb39f89fb91500d6f9f6e04", "spanId": "99665bf82c9b0358", "parentSpanId": "1c546a7682cf6407", "startTimeUnixNano": "1796073605306716427", "endTimeUnixNano": "1796073605307889999", "durationMs": 1.173572, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.025347}}
{"type": "effect-span", "name": "sqlite", "traceId": "89acc18a8eb39f89fb91500d6f9f6e04", "spanId": "e9236c26a6e156fb", "parentSpanId": "1c546a7682cf6407", "startTimeUnixNano": "1796073605314447565", "endTimeUnixNano": "1796073605318103393", "durationMs": 3.655828, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019767}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "89acc18a8eb39f89fb91500d6f9f6e04", "spanId": "1c546a7682cf6407", "parentSpanId": "8b3a2d7e2689130f", "startTimeUnixNano": "1796073605302683455", "endTimeUnixNano": "1796073605318555858", "durationMs": 15.872403, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "89acc18a8eb39f89fb91500d6f9f6e04", "spanId": "adb49e8dcf539f55", "parentSpanId": "8b3a2d7e2689130f", "startTimeUnixNano": "1796073605318576076", "endTimeUnixNano": "1796073605319329934", "durationMs": 0.753858, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "89acc18a8eb39f89fb91500d6f9f6e04", "spanId": "8b3a2d7e2689130f", "parentSpanId": "00a0e09bccb124a4", "startTimeUnixNano": "1796073605300817881", "endTimeUnixNano": "1796073605319352175", "durationMs": 18.534294, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.465867, "db.connection": "reader", "db.lock_wait_ms": 1.43}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "89acc18a8eb39f89fb91500d6f9f6e04", "spanId": "00a0e09bccb124a4", "parentSpanId": "a29c5bdc8a5ee6ab", "startTimeUnixNano": "1796073605300810798", "endTimeUnixNano": "1796073605319371261", "durationMs": 18.560463, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "89acc18a8eb39f89fb91500d6f9f6e04", "spanId": "a29c5bdc8a5ee6ab", "parentSpanId": "6b9672803f85baea", "startTimeUnixNano": "1796073605300783407", "endTimeUnixNano": "1796073605319376621", "durationMs": 18.593214, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "89acc18a8eb39f89fb91500d6f9f6e04", "spanId": "6b9672803f85baea", "startTimeUnixNano": "1796073605300770512", "endTimeUnixNano": "1796073605319385557", "durationMs": 18.615045, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "30b5962fe9162be300f8a84fbe654cb3", "spanId": "d13a5db5c88aa02c", "parentSpanId": "7298efbed90e8eba", "startTimeUnixNano": "1796073606803542752", "endTimeUnixNano": "1796073606804282985", "durationMs": 0.740233, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "30b5962fe9162be300f8a84fbe654cb3", "spanId": "73b4b95a102749cb", "parentSpanId": "c93c55fd4d940bca", "startTimeUnixNano": "1796073606804327848", "endTimeUnixNano": "1796073606805120689", "durationMs": 0.792841, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004469}}
{"type": "effect-span", "name": "sqlite", "traceId": "30b5962fe9162be300f8a84fbe654cb3", "spanId": "103287a009ac955e", "parentSpanId": "c93c55fd4d940bca", "startTimeUnixNano": "1796073606805200107", "endTimeUnixNano": "1796073606806657629", "durationMs": 1.457522, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010931}}
{"type": "effect-span", "name": "sqlite", "traceId": "30b5962fe9162be300f8a84fbe654cb3", "spanId": "35e3236d227d6d86", "parentSpanId": "c93c55fd4d940bca", "startTimeUnixNano": "1796073606806676455", "endTimeUnixNano": "1796073606808192967", "durationMs": 1.516512, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010369}}
{"type": "effect-span", "name": "sqlite", "traceId": "30b5962fe9162be300f8a84fbe654cb3", "spanId": "a4fa8f77d8cdb5d4", "parentSpanId": "c93c55fd4d940bca", "startTimeUnixNano": "1796073606820957215", "endTimeUnixNano": "1796073606823237143", "durationMs": 2.279928, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015139}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "30b5962fe9162be300f8a84fbe654cb3", "spanId": "c93c55fd4d940bca", "parentSpanId": "7298efbed90e8eba", "startTimeUnixNano": "1796073606804321146", "endTimeUnixNano": "1796073606823620810", "durationMs": 19.299664, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "30b5962fe9162be300f8a84fbe654cb3", "spanId": "af00ee2bcd2d8e72", "parentSpanId": "7298efbed90e8eba", "startTimeUnixNano": "1796073606823640026", "endTimeUnixNano": "1796073606823958190", "durationMs": 0.318164, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "30b5962fe9162be300f8a84fbe654cb3", "spanId": "7298efbed90e8eba", "parentSpanId": "e6dfe1ea38a9d7cd", "startTimeUnixNano": "1796073606801887300", "endTimeUnixNano": "1796073606823992965", "durationMs": 22.105665, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.649701, "db.connection": "reader", "db.lock_wait_ms": 1.572}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "30b5962fe9162be300f8a84fbe654cb3", "spanId": "e6dfe1ea38a9d7cd", "parentSpanId": "f11f66a6b157730d", "startTimeUnixNano": "1796073606801878694", "endTimeUnixNano": "1796073606824016950", "durationMs": 22.138256, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "30b5962fe9162be300f8a84fbe654cb3", "spanId": "f11f66a6b157730d", "parentSpanId": "7d29ae91353b06db", "startTimeUnixNano": "1796073606801816007", "endTimeUnixNano": "1796073606824022410", "durationMs": 22.206403, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "30b5962fe9162be300f8a84fbe654cb3", "spanId": "7d29ae91353b06db", "startTimeUnixNano": "1796073606801798424", "endTimeUnixNano": "1796073606824031888", "durationMs": 22.233464, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f91092760638b3d317c55e15f725c215", "spanId": "ab8912e5cd5628fe", "parentSpanId": "6c82649e92a39a71", "startTimeUnixNano": "1796073607030110663", "endTimeUnixNano": "1796073607030460165", "durationMs": 0.349502, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f91092760638b3d317c55e15f725c215", "spanId": "8e532b360a7fc283", "parentSpanId": "10b1da3a3db4cb59", "startTimeUnixNano": "1796073607030498557", "endTimeUnixNano": "1796073607030708559", "durationMs": 0.210002, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004849}}
{"type": "effect-span", "name": "sqlite", "traceId": "f91092760638b3d317c55e15f725c215", "spanId": "3a67e8b8e7eb0435", "parentSpanId": "10b1da3a3db4cb59", "startTimeUnixNano": "1796073607030787146", "endTimeUnixNano": "1796073607031840573", "durationMs": 1.053427, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013054}}
{"type": "effect-span", "name": "sqlite", "traceId": "f91092760638b3d317c55e15f725c215", "spanId": "5bceada8bdcbeb8f", "parentSpanId": "10b1da3a3db4cb59", "startTimeUnixNano": "1796073607031856684", "endTimeUnixNano": "1796073607032908378", "durationMs": 1.051694, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006502}}
{"type": "effect-span", "name": "sqlite", "traceId": "f91092760638b3d317c55e15f725c215", "spanId": "4765fbfa90c7f7ea", "parentSpanId": "10b1da3a3db4cb59", "startTimeUnixNano": "1796073607040644806", "endTimeUnixNano": "1796073607042860505", "durationMs": 2.215699, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013916}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f91092760638b3d317c55e15f725c215", "spanId": "10b1da3a3db4cb59", "parentSpanId": "6c82649e92a39a71", "startTimeUnixNano": "1796073607030491384", "endTimeUnixNano": "1796073607043167498", "durationMs": 12.676114, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f91092760638b3d317c55e15f725c215", "spanId": "de8d34562ccabf70", "parentSpanId": "6c82649e92a39a71", "startTimeUnixNano": "1796073607043184951", "endTimeUnixNano": "1796073607043413758", "durationMs": 0.228807, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f91092760638b3d317c55e15f725c215", "spanId": "6c82649e92a39a71", "parentSpanId": "b50dd2f6912f75cc", "startTimeUnixNano": "1796073607028840601", "endTimeUnixNano": "1796073607043447952", "durationMs": 14.607351, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.26375, "db.connection": "reader", "db.lock_wait_ms": 1.237}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f91092760638b3d317c55e15f725c215", "spanId": "b50dd2f6912f75cc", "parentSpanId": "8da0e0a612aaab07", "startTimeUnixNano": "1796073607028833567", "endTimeUnixNano": "1796073607043466436", "durationMs": 14.632869, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f91092760638b3d317c55e15f725c215", "spanId": "8da0e0a612aaab07", "parentSpanId": "b338e357f8c09726", "startTimeUnixNano": "1796073607028796348", "endTimeUnixNano": "1796073607043472327", "durationMs": 14.675979, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f91092760638b3d317c55e15f725c215", "spanId": "b338e357f8c09726", "startTimeUnixNano": "1796073607028782332", "endTimeUnixNano": "1796073607043479831", "durationMs": 14.697499, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1554013dc7422c8b2f3b731adf762f6d", "spanId": "732e6f373b7e7e1c", "parentSpanId": "3cd2c2b984167da4", "startTimeUnixNano": "1796073608438650552", "endTimeUnixNano": "1796073608438792988", "durationMs": 0.142436, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1554013dc7422c8b2f3b731adf762f6d", "spanId": "190f53caf9db93d3", "parentSpanId": "d0c1101144c33f65", "startTimeUnixNano": "1796073608438837191", "endTimeUnixNano": "1796073608439479891", "durationMs": 0.6427, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00567}}
{"type": "effect-span", "name": "sqlite", "traceId": "1554013dc7422c8b2f3b731adf762f6d", "spanId": "46db5f37467d36fc", "parentSpanId": "d0c1101144c33f65", "startTimeUnixNano": "1796073608439555743", "endTimeUnixNano": "1796073608440836084", "durationMs": 1.280341, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009768}}
{"type": "effect-span", "name": "sqlite", "traceId": "1554013dc7422c8b2f3b731adf762f6d", "spanId": "0e4d9e702cc4d3a7", "parentSpanId": "d0c1101144c33f65", "startTimeUnixNano": "1796073608440863505", "endTimeUnixNano": "1796073608442404874", "durationMs": 1.541369, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010089}}
{"type": "effect-span", "name": "sqlite", "traceId": "1554013dc7422c8b2f3b731adf762f6d", "spanId": "b3b0f9c6f5147b39", "parentSpanId": "d0c1101144c33f65", "startTimeUnixNano": "1796073608453120287", "endTimeUnixNano": "1796073608455865163", "durationMs": 2.744876, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01078}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1554013dc7422c8b2f3b731adf762f6d", "spanId": "d0c1101144c33f65", "parentSpanId": "3cd2c2b984167da4", "startTimeUnixNano": "1796073608438829516", "endTimeUnixNano": "1796073608456214776", "durationMs": 17.38526, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1554013dc7422c8b2f3b731adf762f6d", "spanId": "4fbdb11c6393eb30", "parentSpanId": "3cd2c2b984167da4", "startTimeUnixNano": "1796073608456234293", "endTimeUnixNano": "1796073608456556545", "durationMs": 0.322252, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1554013dc7422c8b2f3b731adf762f6d", "spanId": "3cd2c2b984167da4", "parentSpanId": "fe94083a66a4bf9d", "startTimeUnixNano": "1796073608436429474", "endTimeUnixNano": "1796073608456578355", "durationMs": 20.148881, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.215668, "db.connection": "reader", "db.lock_wait_ms": 2.162}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1554013dc7422c8b2f3b731adf762f6d", "spanId": "fe94083a66a4bf9d", "parentSpanId": "ab3d51f653c6d90f", "startTimeUnixNano": "1796073608436422160", "endTimeUnixNano": "1796073608456597291", "durationMs": 20.175131, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1554013dc7422c8b2f3b731adf762f6d", "spanId": "ab3d51f653c6d90f", "parentSpanId": "6c1a9f6d1367db61", "startTimeUnixNano": "1796073608436381113", "endTimeUnixNano": "1796073608456602590", "durationMs": 20.221477, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1554013dc7422c8b2f3b731adf762f6d", "spanId": "6c1a9f6d1367db61", "startTimeUnixNano": "1796073608436364943", "endTimeUnixNano": "1796073608456609994", "durationMs": 20.245051, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "539e0be666effbe6a0c0e7249ff954cc", "spanId": "c33718ad298bfd06", "parentSpanId": "4db927dc5ef6112f", "startTimeUnixNano": "1796073608663089348", "endTimeUnixNano": "1796073608663352529", "durationMs": 0.263181, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "539e0be666effbe6a0c0e7249ff954cc", "spanId": "6f50aad61281bd13", "parentSpanId": "b3f73e51aeb8509b", "startTimeUnixNano": "1796073608663383227", "endTimeUnixNano": "1796073608663583721", "durationMs": 0.200494, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004578}}
{"type": "effect-span", "name": "sqlite", "traceId": "539e0be666effbe6a0c0e7249ff954cc", "spanId": "e7fc8dd01ee34370", "parentSpanId": "b3f73e51aeb8509b", "startTimeUnixNano": "1796073608663644895", "endTimeUnixNano": "1796073608664776248", "durationMs": 1.131353, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007685}}
{"type": "effect-span", "name": "sqlite", "traceId": "539e0be666effbe6a0c0e7249ff954cc", "spanId": "09794a469ca7e31b", "parentSpanId": "b3f73e51aeb8509b", "startTimeUnixNano": "1796073608664790665", "endTimeUnixNano": "1796073608665935804", "durationMs": 1.145139, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006573}}
{"type": "effect-span", "name": "sqlite", "traceId": "539e0be666effbe6a0c0e7249ff954cc", "spanId": "73f04e32ad3c1f13", "parentSpanId": "b3f73e51aeb8509b", "startTimeUnixNano": "1796073608672028934", "endTimeUnixNano": "1796073608674956602", "durationMs": 2.927668, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015379}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "539e0be666effbe6a0c0e7249ff954cc", "spanId": "b3f73e51aeb8509b", "parentSpanId": "4db927dc5ef6112f", "startTimeUnixNano": "1796073608663378338", "endTimeUnixNano": "1796073608675274435", "durationMs": 11.896097, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "539e0be666effbe6a0c0e7249ff954cc", "spanId": "b4da29df6abd9638", "parentSpanId": "4db927dc5ef6112f", "startTimeUnixNano": "1796073608675292008", "endTimeUnixNano": "1796073608675741658", "durationMs": 0.44965, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "539e0be666effbe6a0c0e7249ff954cc", "spanId": "4db927dc5ef6112f", "parentSpanId": "abcc3bd1e7448d6b", "startTimeUnixNano": "1796073608661897612", "endTimeUnixNano": "1796073608675773257", "durationMs": 13.875645, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.188149, "db.connection": "reader", "db.lock_wait_ms": 1.162}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "539e0be666effbe6a0c0e7249ff954cc", "spanId": "abcc3bd1e7448d6b", "parentSpanId": "e75673afc7b2c2e1", "startTimeUnixNano": "1796073608661890980", "endTimeUnixNano": "1796073608675809745", "durationMs": 13.918765, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "539e0be666effbe6a0c0e7249ff954cc", "spanId": "e75673afc7b2c2e1", "parentSpanId": "76f0c9d09a14e575", "startTimeUnixNano": "1796073608661865612", "endTimeUnixNano": "1796073608675818371", "durationMs": 13.952759, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "539e0be666effbe6a0c0e7249ff954cc", "spanId": "76f0c9d09a14e575", "startTimeUnixNano": "1796073608661851776", "endTimeUnixNano": "1796073608675828811", "durationMs": 13.977035, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ca47158df18fe4d3a8db1ef2034266e7", "spanId": "aa4b9dd9420b3474", "parentSpanId": "b1af9f1edcb5bced", "startTimeUnixNano": "1796073610118679189", "endTimeUnixNano": "1796073610119535388", "durationMs": 0.856199, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ca47158df18fe4d3a8db1ef2034266e7", "spanId": "0863a5b48e5131e0", "parentSpanId": "7645b4fd688cb70b", "startTimeUnixNano": "1796073610119579811", "endTimeUnixNano": "1796073610120410272", "durationMs": 0.830461, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00506}}
{"type": "effect-span", "name": "sqlite", "traceId": "ca47158df18fe4d3a8db1ef2034266e7", "spanId": "1cb1a809f274295a", "parentSpanId": "7645b4fd688cb70b", "startTimeUnixNano": "1796073610120513105", "endTimeUnixNano": "1796073610122257523", "durationMs": 1.744418, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011401}}
{"type": "effect-span", "name": "sqlite", "traceId": "ca47158df18fe4d3a8db1ef2034266e7", "spanId": "2cc15a48df3180d9", "parentSpanId": "7645b4fd688cb70b", "startTimeUnixNano": "1796073610122279283", "endTimeUnixNano": "1796073610129042495", "durationMs": 6.763212, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009097}}
{"type": "effect-span", "name": "sqlite", "traceId": "ca47158df18fe4d3a8db1ef2034266e7", "spanId": "b785a65da98d9ae0", "parentSpanId": "7645b4fd688cb70b", "startTimeUnixNano": "1796073610136977776", "endTimeUnixNano": "1796073610147091165", "durationMs": 10.113389, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025959}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ca47158df18fe4d3a8db1ef2034266e7", "spanId": "7645b4fd688cb70b", "parentSpanId": "b1af9f1edcb5bced", "startTimeUnixNano": "1796073610119573991", "endTimeUnixNano": "1796073610147551715", "durationMs": 27.977724, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ca47158df18fe4d3a8db1ef2034266e7", "spanId": "3ab40b64a23e6777", "parentSpanId": "b1af9f1edcb5bced", "startTimeUnixNano": "1796073610147581030", "endTimeUnixNano": "1796073610148964434", "durationMs": 1.383404, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ca47158df18fe4d3a8db1ef2034266e7", "spanId": "b1af9f1edcb5bced", "parentSpanId": "3ac9796e7bc8906b", "startTimeUnixNano": "1796073610116956171", "endTimeUnixNano": "1796073610148992697", "durationMs": 32.036526, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.715955, "db.connection": "reader", "db.lock_wait_ms": 1.671}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ca47158df18fe4d3a8db1ef2034266e7", "spanId": "3ac9796e7bc8906b", "parentSpanId": "777047f9d8c0b359", "startTimeUnixNano": "1796073610116948517", "endTimeUnixNano": "1796073610149015049", "durationMs": 32.066532, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ca47158df18fe4d3a8db1ef2034266e7", "spanId": "777047f9d8c0b359", "parentSpanId": "52ad2be256382728", "startTimeUnixNano": "1796073610116902030", "endTimeUnixNano": "1796073610149022182", "durationMs": 32.120152, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ca47158df18fe4d3a8db1ef2034266e7", "spanId": "52ad2be256382728", "startTimeUnixNano": "1796073610116884948", "endTimeUnixNano": "1796073610149032110", "durationMs": 32.147162, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3159ea70132a241ed00f5bdbc6af1dec", "spanId": "ad1e35aa29492241", "parentSpanId": "8999870826431fd2", "startTimeUnixNano": "1796073610375801621", "endTimeUnixNano": "1796073610376308488", "durationMs": 0.506867, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3159ea70132a241ed00f5bdbc6af1dec", "spanId": "57fb04e1bd2f7cdf", "parentSpanId": "c43103f78b44d2d7", "startTimeUnixNano": "1796073610376342982", "endTimeUnixNano": "1796073610376545931", "durationMs": 0.202949, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004659}}
{"type": "effect-span", "name": "sqlite", "traceId": "3159ea70132a241ed00f5bdbc6af1dec", "spanId": "d6964554e0a5c18a", "parentSpanId": "c43103f78b44d2d7", "startTimeUnixNano": "1796073610376611884", "endTimeUnixNano": "1796073610377736325", "durationMs": 1.124441, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009047}}
{"type": "effect-span", "name": "sqlite", "traceId": "3159ea70132a241ed00f5bdbc6af1dec", "spanId": "9e884e8e1ee256e7", "parentSpanId": "c43103f78b44d2d7", "startTimeUnixNano": "1796073610377751343", "endTimeUnixNano": "1796073610378752232", "durationMs": 1.000889, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006151}}
{"type": "effect-span", "name": "sqlite", "traceId": "3159ea70132a241ed00f5bdbc6af1dec", "spanId": "455c06023029a8ac", "parentSpanId": "c43103f78b44d2d7", "startTimeUnixNano": "1796073610385841373", "endTimeUnixNano": "1796073610387855314", "durationMs": 2.013941, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022542}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3159ea70132a241ed00f5bdbc6af1dec", "spanId": "c43103f78b44d2d7", "parentSpanId": "8999870826431fd2", "startTimeUnixNano": "1796073610376337903", "endTimeUnixNano": "1796073610388177416", "durationMs": 11.839513, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3159ea70132a241ed00f5bdbc6af1dec", "spanId": "5f6cc1dc73b348be", "parentSpanId": "8999870826431fd2", "startTimeUnixNano": "1796073610388197313", "endTimeUnixNano": "1796073610388577994", "durationMs": 0.380681, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3159ea70132a241ed00f5bdbc6af1dec", "spanId": "8999870826431fd2", "parentSpanId": "25006cf43acfb3f4", "startTimeUnixNano": "1796073610373316380", "endTimeUnixNano": "1796073610388600676", "durationMs": 15.284296, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.480983, "db.connection": "reader", "db.lock_wait_ms": 2.453}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3159ea70132a241ed00f5bdbc6af1dec", "spanId": "25006cf43acfb3f4", "parentSpanId": "f08701f33cda5a19", "startTimeUnixNano": "1796073610373308886", "endTimeUnixNano": "1796073610388616806", "durationMs": 15.30792, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3159ea70132a241ed00f5bdbc6af1dec", "spanId": "f08701f33cda5a19", "parentSpanId": "8820184df14152b3", "startTimeUnixNano": "1796073610373282807", "endTimeUnixNano": "1796073610388622507", "durationMs": 15.3397, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3159ea70132a241ed00f5bdbc6af1dec", "spanId": "8820184df14152b3", "startTimeUnixNano": "1796073610373269542", "endTimeUnixNano": "1796073610388630562", "durationMs": 15.36102, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b79afa1be20ca2010fc4922da96b7f07", "spanId": "3d2f8d45851e43d1", "parentSpanId": "316fc327c3fa3402", "startTimeUnixNano": "1796073611862693906", "endTimeUnixNano": "1796073611863568780", "durationMs": 0.874874, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b79afa1be20ca2010fc4922da96b7f07", "spanId": "ee10435f38f8b241", "parentSpanId": "d64b92cb94b14f33", "startTimeUnixNano": "1796073611863634523", "endTimeUnixNano": "1796073611864348486", "durationMs": 0.713963, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007474}}
{"type": "effect-span", "name": "sqlite", "traceId": "b79afa1be20ca2010fc4922da96b7f07", "spanId": "79276b13c79efe3b", "parentSpanId": "d64b92cb94b14f33", "startTimeUnixNano": "1796073611864461507", "endTimeUnixNano": "1796073611865877091", "durationMs": 1.415584, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014718}}
{"type": "effect-span", "name": "sqlite", "traceId": "b79afa1be20ca2010fc4922da96b7f07", "spanId": "8bae11b567e14599", "parentSpanId": "d64b92cb94b14f33", "startTimeUnixNano": "1796073611865894454", "endTimeUnixNano": "1796073611867643741", "durationMs": 1.749287, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011261}}
{"type": "effect-span", "name": "sqlite", "traceId": "b79afa1be20ca2010fc4922da96b7f07", "spanId": "6503befb1b2aea90", "parentSpanId": "d64b92cb94b14f33", "startTimeUnixNano": "1796073611883254778", "endTimeUnixNano": "1796073611886906419", "durationMs": 3.651641, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.029515}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b79afa1be20ca2010fc4922da96b7f07", "spanId": "d64b92cb94b14f33", "parentSpanId": "316fc327c3fa3402", "startTimeUnixNano": "1796073611863623041", "endTimeUnixNano": "1796073611887285717", "durationMs": 23.662676, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b79afa1be20ca2010fc4922da96b7f07", "spanId": "e39bb93e0ba3c553", "parentSpanId": "316fc327c3fa3402", "startTimeUnixNano": "1796073611887314641", "endTimeUnixNano": "1796073611887603781", "durationMs": 0.28914, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b79afa1be20ca2010fc4922da96b7f07", "spanId": "316fc327c3fa3402", "parentSpanId": "4da047a46affc832", "startTimeUnixNano": "1796073611860657823", "endTimeUnixNano": "1796073611887623518", "durationMs": 26.965695, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.026966, "db.connection": "reader", "db.lock_wait_ms": 1.982}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b79afa1be20ca2010fc4922da96b7f07", "spanId": "4da047a46affc832", "parentSpanId": "dd050089a0f44d1c", "startTimeUnixNano": "1796073611860647594", "endTimeUnixNano": "1796073611887641762", "durationMs": 26.994168, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b79afa1be20ca2010fc4922da96b7f07", "spanId": "dd050089a0f44d1c", "parentSpanId": "4514d9c3d539d2fe", "startTimeUnixNano": "1796073611860599825", "endTimeUnixNano": "1796073611887647783", "durationMs": 27.047958, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b79afa1be20ca2010fc4922da96b7f07", "spanId": "4514d9c3d539d2fe", "startTimeUnixNano": "1796073611860580258", "endTimeUnixNano": "1796073611887655347", "durationMs": 27.075089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bb433cc91a438072440f4dcefa967d5e", "spanId": "836b20503c8beb5c", "parentSpanId": "1e2bb33e6fb62358", "startTimeUnixNano": "1796073612090961493", "endTimeUnixNano": "1796073612091117485", "durationMs": 0.155992, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb433cc91a438072440f4dcefa967d5e", "spanId": "4b904a1725e6c2ed", "parentSpanId": "3d36d95a9c295e3d", "startTimeUnixNano": "1796073612091165304", "endTimeUnixNano": "1796073612091384563", "durationMs": 0.219259, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006763}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb433cc91a438072440f4dcefa967d5e", "spanId": "b0f3508aa852665e", "parentSpanId": "3d36d95a9c295e3d", "startTimeUnixNano": "1796073612091469121", "endTimeUnixNano": "1796073612092838188", "durationMs": 1.369067, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009889}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb433cc91a438072440f4dcefa967d5e", "spanId": "a85535a1da47a185", "parentSpanId": "3d36d95a9c295e3d", "startTimeUnixNano": "1796073612092864457", "endTimeUnixNano": "1796073612094212475", "durationMs": 1.348018, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013886}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb433cc91a438072440f4dcefa967d5e", "spanId": "26c89d5f329e7ae1", "parentSpanId": "3d36d95a9c295e3d", "startTimeUnixNano": "1796073612104050350", "endTimeUnixNano": "1796073612106131387", "durationMs": 2.081037, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.047539}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bb433cc91a438072440f4dcefa967d5e", "spanId": "3d36d95a9c295e3d", "parentSpanId": "1e2bb33e6fb62358", "startTimeUnixNano": "1796073612091156568", "endTimeUnixNano": "1796073612106533608", "durationMs": 15.37704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bb433cc91a438072440f4dcefa967d5e", "spanId": "e4e99974c0e6b3cf", "parentSpanId": "1e2bb33e6fb62358", "startTimeUnixNano": "1796073612106554547", "endTimeUnixNano": "1796073612106752427", "durationMs": 0.19788, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bb433cc91a438072440f4dcefa967d5e", "spanId": "1e2bb33e6fb62358", "parentSpanId": "40f62a0001c3d1da", "startTimeUnixNano": "1796073612089260987", "endTimeUnixNano": "1796073612106781702", "durationMs": 17.520715, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.69699, "db.connection": "reader", "db.lock_wait_ms": 1.668}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bb433cc91a438072440f4dcefa967d5e", "spanId": "40f62a0001c3d1da", "parentSpanId": "0a83cb4854003167", "startTimeUnixNano": "1796073612089253984", "endTimeUnixNano": "1796073612106798834", "durationMs": 17.54485, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bb433cc91a438072440f4dcefa967d5e", "spanId": "0a83cb4854003167", "parentSpanId": "03ab65fdda79ee69", "startTimeUnixNano": "1796073612089225962", "endTimeUnixNano": "1796073612106805997", "durationMs": 17.580035, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bb433cc91a438072440f4dcefa967d5e", "spanId": "03ab65fdda79ee69", "startTimeUnixNano": "1796073612089211875", "endTimeUnixNano": "1796073612106814693", "durationMs": 17.602818, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d7a312c88e715ad671bd4c71f80bba11", "spanId": "bbcb2b972bc60629", "parentSpanId": "9b04e31320c8a018", "startTimeUnixNano": "1796073613580612573", "endTimeUnixNano": "1796073613581289047", "durationMs": 0.676474, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d7a312c88e715ad671bd4c71f80bba11", "spanId": "34451ef25f1132f0", "parentSpanId": "a1ffbf125d23c25a", "startTimeUnixNano": "1796073613581327359", "endTimeUnixNano": "1796073613582025442", "durationMs": 0.698083, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004708}}
{"type": "effect-span", "name": "sqlite", "traceId": "d7a312c88e715ad671bd4c71f80bba11", "spanId": "56502b820b87afc2", "parentSpanId": "a1ffbf125d23c25a", "startTimeUnixNano": "1796073613582095363", "endTimeUnixNano": "1796073613583135155", "durationMs": 1.039792, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012073}}
{"type": "effect-span", "name": "sqlite", "traceId": "d7a312c88e715ad671bd4c71f80bba11", "spanId": "7fdb0441b740d074", "parentSpanId": "a1ffbf125d23c25a", "startTimeUnixNano": "1796073613583148189", "endTimeUnixNano": "1796073613584372496", "durationMs": 1.224307, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006432}}
{"type": "effect-span", "name": "sqlite", "traceId": "d7a312c88e715ad671bd4c71f80bba11", "spanId": "8a76113d0d16ee17", "parentSpanId": "a1ffbf125d23c25a", "startTimeUnixNano": "1796073613598839718", "endTimeUnixNano": "1796073613601246904", "durationMs": 2.407186, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011692}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d7a312c88e715ad671bd4c71f80bba11", "spanId": "a1ffbf125d23c25a", "parentSpanId": "9b04e31320c8a018", "startTimeUnixNano": "1796073613581321558", "endTimeUnixNano": "1796073613601540002", "durationMs": 20.218444, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d7a312c88e715ad671bd4c71f80bba11", "spanId": "dfc2929b69949636", "parentSpanId": "9b04e31320c8a018", "startTimeUnixNano": "1796073613601555160", "endTimeUnixNano": "1796073613601634679", "durationMs": 0.079519, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d7a312c88e715ad671bd4c71f80bba11", "spanId": "9b04e31320c8a018", "parentSpanId": "60be992d761a9abc", "startTimeUnixNano": "1796073613579182693", "endTimeUnixNano": "1796073613601652893", "durationMs": 22.4702, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.425452, "db.connection": "reader", "db.lock_wait_ms": 1.39}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d7a312c88e715ad671bd4c71f80bba11", "spanId": "60be992d761a9abc", "parentSpanId": "ad924bb1f3deda7b", "startTimeUnixNano": "1796073613579175329", "endTimeUnixNano": "1796073613601666378", "durationMs": 22.491049, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d7a312c88e715ad671bd4c71f80bba11", "spanId": "ad924bb1f3deda7b", "parentSpanId": "82da014c3e31afb8", "startTimeUnixNano": "1796073613579134543", "endTimeUnixNano": "1796073613601670525", "durationMs": 22.535982, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d7a312c88e715ad671bd4c71f80bba11", "spanId": "82da014c3e31afb8", "startTimeUnixNano": "1796073613579119935", "endTimeUnixNano": "1796073613601677168", "durationMs": 22.557233, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6317feba3ee17d62353a774d9b8379cc", "spanId": "481b9c75da23efd9", "parentSpanId": "a091aded3936961c", "startTimeUnixNano": "1796073613809126801", "endTimeUnixNano": "1796073613809269348", "durationMs": 0.142547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6317feba3ee17d62353a774d9b8379cc", "spanId": "a20c3f787e393a68", "parentSpanId": "f6d383c1db3a4361", "startTimeUnixNano": "1796073613809314682", "endTimeUnixNano": "1796073613809580128", "durationMs": 0.265446, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00514}}
{"type": "effect-span", "name": "sqlite", "traceId": "6317feba3ee17d62353a774d9b8379cc", "spanId": "a24effcfa0cf1c8d", "parentSpanId": "f6d383c1db3a4361", "startTimeUnixNano": "1796073613809657192", "endTimeUnixNano": "1796073613811130313", "durationMs": 1.473121, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008135}}
{"type": "effect-span", "name": "sqlite", "traceId": "6317feba3ee17d62353a774d9b8379cc", "spanId": "5d27978eb8d84655", "parentSpanId": "f6d383c1db3a4361", "startTimeUnixNano": "1796073613811158296", "endTimeUnixNano": "1796073613812603235", "durationMs": 1.444939, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01064}}
{"type": "effect-span", "name": "sqlite", "traceId": "6317feba3ee17d62353a774d9b8379cc", "spanId": "6a0f84f1af792bf4", "parentSpanId": "f6d383c1db3a4361", "startTimeUnixNano": "1796073613820018936", "endTimeUnixNano": "1796073613821955813", "durationMs": 1.936877, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015679}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6317feba3ee17d62353a774d9b8379cc", "spanId": "f6d383c1db3a4361", "parentSpanId": "a091aded3936961c", "startTimeUnixNano": "1796073613809308190", "endTimeUnixNano": "1796073613822307420", "durationMs": 12.99923, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6317feba3ee17d62353a774d9b8379cc", "spanId": "fac152b888eba816", "parentSpanId": "a091aded3936961c", "startTimeUnixNano": "1796073613822330253", "endTimeUnixNano": "1796073613822609194", "durationMs": 0.278941, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6317feba3ee17d62353a774d9b8379cc", "spanId": "a091aded3936961c", "parentSpanId": "101ec58599c885c8", "startTimeUnixNano": "1796073613806955145", "endTimeUnixNano": "1796073613822632467", "durationMs": 15.677322, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.165505, "db.connection": "reader", "db.lock_wait_ms": 2.103}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6317feba3ee17d62353a774d9b8379cc", "spanId": "101ec58599c885c8", "parentSpanId": "f44e3953d28bdaeb", "startTimeUnixNano": "1796073613806947601", "endTimeUnixNano": "1796073613822652444", "durationMs": 15.704843, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6317feba3ee17d62353a774d9b8379cc", "spanId": "f44e3953d28bdaeb", "parentSpanId": "7a9bbf99b39ab562", "startTimeUnixNano": "1796073613806910351", "endTimeUnixNano": "1796073613822659277", "durationMs": 15.748926, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6317feba3ee17d62353a774d9b8379cc", "spanId": "7a9bbf99b39ab562", "startTimeUnixNano": "1796073613806894933", "endTimeUnixNano": "1796073613822668845", "durationMs": 15.773912, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "887e3f060d7238d59e4095b23dfd7719", "spanId": "c6cb81e7b5521369", "parentSpanId": "26feccb009831e9f", "startTimeUnixNano": "1796073615282646308", "endTimeUnixNano": "1796073615283308354", "durationMs": 0.662046, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "887e3f060d7238d59e4095b23dfd7719", "spanId": "95de56647831801c", "parentSpanId": "cc13aa302c07f10f", "startTimeUnixNano": "1796073615283348529", "endTimeUnixNano": "1796073615283791767", "durationMs": 0.443238, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004368}}
{"type": "effect-span", "name": "sqlite", "traceId": "887e3f060d7238d59e4095b23dfd7719", "spanId": "c3ec348d0476e1ea", "parentSpanId": "cc13aa302c07f10f", "startTimeUnixNano": "1796073615283861758", "endTimeUnixNano": "1796073615284985116", "durationMs": 1.123358, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009347}}
{"type": "effect-span", "name": "sqlite", "traceId": "887e3f060d7238d59e4095b23dfd7719", "spanId": "6cadc490a6df401a", "parentSpanId": "cc13aa302c07f10f", "startTimeUnixNano": "1796073615284998821", "endTimeUnixNano": "1796073615286106070", "durationMs": 1.107249, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006012}}
{"type": "effect-span", "name": "sqlite", "traceId": "887e3f060d7238d59e4095b23dfd7719", "spanId": "63f31e63e2bae48a", "parentSpanId": "cc13aa302c07f10f", "startTimeUnixNano": "1796073615295352190", "endTimeUnixNano": "1796073615297923633", "durationMs": 2.571443, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011411}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "887e3f060d7238d59e4095b23dfd7719", "spanId": "cc13aa302c07f10f", "parentSpanId": "26feccb009831e9f", "startTimeUnixNano": "1796073615283342989", "endTimeUnixNano": "1796073615298221499", "durationMs": 14.87851, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "887e3f060d7238d59e4095b23dfd7719", "spanId": "2d318793d8d73a20", "parentSpanId": "26feccb009831e9f", "startTimeUnixNano": "1796073615298235526", "endTimeUnixNano": "1796073615299655348", "durationMs": 1.419822, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "887e3f060d7238d59e4095b23dfd7719", "spanId": "26feccb009831e9f", "parentSpanId": "9180cb864db423f4", "startTimeUnixNano": "1796073615281325380", "endTimeUnixNano": "1796073615299674583", "durationMs": 18.349203, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.316449, "db.connection": "reader", "db.lock_wait_ms": 1.28}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "887e3f060d7238d59e4095b23dfd7719", "spanId": "9180cb864db423f4", "parentSpanId": "59253b75baf47f3f", "startTimeUnixNano": "1796073615281318087", "endTimeUnixNano": "1796073615299690744", "durationMs": 18.372657, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "887e3f060d7238d59e4095b23dfd7719", "spanId": "59253b75baf47f3f", "parentSpanId": "1df74713255366c7", "startTimeUnixNano": "1796073615281278283", "endTimeUnixNano": "1796073615299696274", "durationMs": 18.417991, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "887e3f060d7238d59e4095b23dfd7719", "spanId": "1df74713255366c7", "startTimeUnixNano": "1796073615281263595", "endTimeUnixNano": "1796073615299705712", "durationMs": 18.442117, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cc74588ab3b33ab77067c11a6380eb4c", "spanId": "bb31565c12bca607", "parentSpanId": "577b59c520542a65", "startTimeUnixNano": "1796073615494415540", "endTimeUnixNano": "1796073615494758210", "durationMs": 0.34267, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cc74588ab3b33ab77067c11a6380eb4c", "spanId": "9c81d52615f79cd0", "parentSpanId": "6cd7a1f9dd3edbcf", "startTimeUnixNano": "1796073615494803695", "endTimeUnixNano": "1796073615494935321", "durationMs": 0.131626, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004419}}
{"type": "effect-span", "name": "sqlite", "traceId": "cc74588ab3b33ab77067c11a6380eb4c", "spanId": "215b824c55f50f41", "parentSpanId": "6cd7a1f9dd3edbcf", "startTimeUnixNano": "1796073615495001294", "endTimeUnixNano": "1796073615496637861", "durationMs": 1.636567, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007875}}
{"type": "effect-span", "name": "sqlite", "traceId": "cc74588ab3b33ab77067c11a6380eb4c", "spanId": "760726b39257b33f", "parentSpanId": "6cd7a1f9dd3edbcf", "startTimeUnixNano": "1796073615496652859", "endTimeUnixNano": "1796073615498269188", "durationMs": 1.616329, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007214}}
{"type": "effect-span", "name": "sqlite", "traceId": "cc74588ab3b33ab77067c11a6380eb4c", "spanId": "2a990f1d9f3a1296", "parentSpanId": "6cd7a1f9dd3edbcf", "startTimeUnixNano": "1796073615504708306", "endTimeUnixNano": "1796073615507429338", "durationMs": 2.721032, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011972}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cc74588ab3b33ab77067c11a6380eb4c", "spanId": "6cd7a1f9dd3edbcf", "parentSpanId": "577b59c520542a65", "startTimeUnixNano": "1796073615494798405", "endTimeUnixNano": "1796073615507845846", "durationMs": 13.047441, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cc74588ab3b33ab77067c11a6380eb4c", "spanId": "3848e8ba51baacf9", "parentSpanId": "577b59c520542a65", "startTimeUnixNano": "1796073615507869350", "endTimeUnixNano": "1796073615508087017", "durationMs": 0.217667, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cc74588ab3b33ab77067c11a6380eb4c", "spanId": "577b59c520542a65", "parentSpanId": "f16234ae6652cab8", "startTimeUnixNano": "1796073615492883699", "endTimeUnixNano": "1796073615508105120", "durationMs": 15.221421, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.528034, "db.connection": "reader", "db.lock_wait_ms": 1.5}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cc74588ab3b33ab77067c11a6380eb4c", "spanId": "f16234ae6652cab8", "parentSpanId": "01fde9e2016d1739", "startTimeUnixNano": "1796073615492876476", "endTimeUnixNano": "1796073615508125368", "durationMs": 15.248892, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cc74588ab3b33ab77067c11a6380eb4c", "spanId": "01fde9e2016d1739", "parentSpanId": "2d0664a1b4f1ebab", "startTimeUnixNano": "1796073615492844997", "endTimeUnixNano": "1796073615508131680", "durationMs": 15.286683, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cc74588ab3b33ab77067c11a6380eb4c", "spanId": "2d0664a1b4f1ebab", "startTimeUnixNano": "1796073615492831522", "endTimeUnixNano": "1796073615508140306", "durationMs": 15.308784, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "126507f9c7bd7221821d35663a87eb04", "spanId": "8ed9df85c9d944a2", "parentSpanId": "dabe8a20d5e5971a", "startTimeUnixNano": "1796073616866193027", "endTimeUnixNano": "1796073616866894186", "durationMs": 0.701159, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "126507f9c7bd7221821d35663a87eb04", "spanId": "87f886538f21eb6d", "parentSpanId": "0076f26871fd4e41", "startTimeUnixNano": "1796073616866932177", "endTimeUnixNano": "1796073616867608320", "durationMs": 0.676143, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004569}}
{"type": "effect-span", "name": "sqlite", "traceId": "126507f9c7bd7221821d35663a87eb04", "spanId": "562b7f7ca19e50e1", "parentSpanId": "0076f26871fd4e41", "startTimeUnixNano": "1796073616867682789", "endTimeUnixNano": "1796073616868627033", "durationMs": 0.944244, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009057}}
{"type": "effect-span", "name": "sqlite", "traceId": "126507f9c7bd7221821d35663a87eb04", "spanId": "b911af0167251bfa", "parentSpanId": "0076f26871fd4e41", "startTimeUnixNano": "1796073616868639777", "endTimeUnixNano": "1796073616870739930", "durationMs": 2.100153, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008015}}
{"type": "effect-span", "name": "sqlite", "traceId": "126507f9c7bd7221821d35663a87eb04", "spanId": "56a1f23f75e1fb91", "parentSpanId": "0076f26871fd4e41", "startTimeUnixNano": "1796073616876804948", "endTimeUnixNano": "1796073616880901921", "durationMs": 4.096973, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013566}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "126507f9c7bd7221821d35663a87eb04", "spanId": "0076f26871fd4e41", "parentSpanId": "dabe8a20d5e5971a", "startTimeUnixNano": "1796073616866926707", "endTimeUnixNano": "1796073616881313830", "durationMs": 14.387123, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "126507f9c7bd7221821d35663a87eb04", "spanId": "5863bcd66caa1021", "parentSpanId": "dabe8a20d5e5971a", "startTimeUnixNano": "1796073616881330662", "endTimeUnixNano": "1796073616881826077", "durationMs": 0.495415, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "126507f9c7bd7221821d35663a87eb04", "spanId": "dabe8a20d5e5971a", "parentSpanId": "4719a1ee116c5ea8", "startTimeUnixNano": "1796073616864861339", "endTimeUnixNano": "1796073616881844812", "durationMs": 16.983473, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.326969, "db.connection": "reader", "db.lock_wait_ms": 1.29}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "126507f9c7bd7221821d35663a87eb04", "spanId": "4719a1ee116c5ea8", "parentSpanId": "64d9c4d6a4c89512", "startTimeUnixNano": "1796073616864853885", "endTimeUnixNano": "1796073616881859009", "durationMs": 17.005124, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "126507f9c7bd7221821d35663a87eb04", "spanId": "64d9c4d6a4c89512", "parentSpanId": "0992095f1b38dc6c", "startTimeUnixNano": "1796073616864812398", "endTimeUnixNano": "1796073616881864268", "durationMs": 17.05187, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "126507f9c7bd7221821d35663a87eb04", "spanId": "0992095f1b38dc6c", "startTimeUnixNano": "1796073616864796969", "endTimeUnixNano": "1796073616881872624", "durationMs": 17.075655, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d02c1074dcd197f6b03d7749c851a81a", "spanId": "3094c318b5e97e21", "parentSpanId": "13d00c73fe501c4f", "startTimeUnixNano": "1796073617103130980", "endTimeUnixNano": "1796073617103286721", "durationMs": 0.155741, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d02c1074dcd197f6b03d7749c851a81a", "spanId": "29cbd2d572a7dfef", "parentSpanId": "dfb9fdef2ed7ded1", "startTimeUnixNano": "1796073617103330453", "endTimeUnixNano": "1796073617103621767", "durationMs": 0.291314, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005991}}
{"type": "effect-span", "name": "sqlite", "traceId": "d02c1074dcd197f6b03d7749c851a81a", "spanId": "07ac87c55b54ab02", "parentSpanId": "dfb9fdef2ed7ded1", "startTimeUnixNano": "1796073617103700885", "endTimeUnixNano": "1796073617105204152", "durationMs": 1.503267, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008636}}
{"type": "effect-span", "name": "sqlite", "traceId": "d02c1074dcd197f6b03d7749c851a81a", "spanId": "1c7a1205f1ef573a", "parentSpanId": "dfb9fdef2ed7ded1", "startTimeUnixNano": "1796073617105227015", "endTimeUnixNano": "1796073617107939482", "durationMs": 2.712467, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008787}}
{"type": "effect-span", "name": "sqlite", "traceId": "d02c1074dcd197f6b03d7749c851a81a", "spanId": "b9d110f7371f5fb6", "parentSpanId": "dfb9fdef2ed7ded1", "startTimeUnixNano": "1796073617115158316", "endTimeUnixNano": "1796073617117137553", "durationMs": 1.979237, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012603}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d02c1074dcd197f6b03d7749c851a81a", "spanId": "dfb9fdef2ed7ded1", "parentSpanId": "13d00c73fe501c4f", "startTimeUnixNano": "1796073617103324381", "endTimeUnixNano": "1796073617117508185", "durationMs": 14.183804, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d02c1074dcd197f6b03d7749c851a81a", "spanId": "c0cb0dbd7721d0e8", "parentSpanId": "13d00c73fe501c4f", "startTimeUnixNano": "1796073617117530367", "endTimeUnixNano": "1796073617117686188", "durationMs": 0.155821, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d02c1074dcd197f6b03d7749c851a81a", "spanId": "13d00c73fe501c4f", "parentSpanId": "f3dfeb4fcd88b920", "startTimeUnixNano": "1796073617101142305", "endTimeUnixNano": "1796073617117704602", "durationMs": 16.562297, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.983916, "db.connection": "reader", "db.lock_wait_ms": 1.884}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d02c1074dcd197f6b03d7749c851a81a", "spanId": "f3dfeb4fcd88b920", "parentSpanId": "0e3c2bf469642647", "startTimeUnixNano": "1796073617101131475", "endTimeUnixNano": "1796073617117727876", "durationMs": 16.596401, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d02c1074dcd197f6b03d7749c851a81a", "spanId": "0e3c2bf469642647", "parentSpanId": "5e3cd60ff7a88c6e", "startTimeUnixNano": "1796073617101080931", "endTimeUnixNano": "1796073617117734458", "durationMs": 16.653527, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d02c1074dcd197f6b03d7749c851a81a", "spanId": "5e3cd60ff7a88c6e", "startTimeUnixNano": "1796073617101059000", "endTimeUnixNano": "1796073617117744446", "durationMs": 16.685446, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6396b4a1d4d17f96881cb23f35147c9c", "spanId": "980338ac36be2ba6", "parentSpanId": "f0f2f774c736de17", "startTimeUnixNano": "1796073618564317658", "endTimeUnixNano": "1796073618564940061", "durationMs": 0.622403, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6396b4a1d4d17f96881cb23f35147c9c", "spanId": "90cb1962b1e119ef", "parentSpanId": "274cae36e6c31096", "startTimeUnixNano": "1796073618564975126", "endTimeUnixNano": "1796073618565638646", "durationMs": 0.66352, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004449}}
{"type": "effect-span", "name": "sqlite", "traceId": "6396b4a1d4d17f96881cb23f35147c9c", "spanId": "e3db3f11ef7e152d", "parentSpanId": "274cae36e6c31096", "startTimeUnixNano": "1796073618565715610", "endTimeUnixNano": "1796073618567064800", "durationMs": 1.34919, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009538}}
{"type": "effect-span", "name": "sqlite", "traceId": "6396b4a1d4d17f96881cb23f35147c9c", "spanId": "05d0e8aa6246d061", "parentSpanId": "274cae36e6c31096", "startTimeUnixNano": "1796073618567081491", "endTimeUnixNano": "1796073618571838076", "durationMs": 4.756585, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007073}}
{"type": "effect-span", "name": "sqlite", "traceId": "6396b4a1d4d17f96881cb23f35147c9c", "spanId": "7eac6413cbb38993", "parentSpanId": "274cae36e6c31096", "startTimeUnixNano": "1796073618578314224", "endTimeUnixNano": "1796073618580610533", "durationMs": 2.296309, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013295}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6396b4a1d4d17f96881cb23f35147c9c", "spanId": "274cae36e6c31096", "parentSpanId": "f0f2f774c736de17", "startTimeUnixNano": "1796073618564969326", "endTimeUnixNano": "1796073618580892259", "durationMs": 15.922933, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6396b4a1d4d17f96881cb23f35147c9c", "spanId": "4e052742fa76cb6b", "parentSpanId": "f0f2f774c736de17", "startTimeUnixNano": "1796073618580907338", "endTimeUnixNano": "1796073618581178815", "durationMs": 0.271477, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6396b4a1d4d17f96881cb23f35147c9c", "spanId": "f0f2f774c736de17", "parentSpanId": "bab36ad01dedeae1", "startTimeUnixNano": "1796073618562982534", "endTimeUnixNano": "1796073618581200916", "durationMs": 18.218382, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.331157, "db.connection": "reader", "db.lock_wait_ms": 1.298}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6396b4a1d4d17f96881cb23f35147c9c", "spanId": "bab36ad01dedeae1", "parentSpanId": "7dc4396ab1f9592e", "startTimeUnixNano": "1796073618562968057", "endTimeUnixNano": "1796073618581232305", "durationMs": 18.264248, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6396b4a1d4d17f96881cb23f35147c9c", "spanId": "7dc4396ab1f9592e", "parentSpanId": "1f39e9b5d3d2e96a", "startTimeUnixNano": "1796073618562911532", "endTimeUnixNano": "1796073618581238105", "durationMs": 18.326573, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6396b4a1d4d17f96881cb23f35147c9c", "spanId": "1f39e9b5d3d2e96a", "startTimeUnixNano": "1796073618562894089", "endTimeUnixNano": "1796073618581244768", "durationMs": 18.350679, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "78c8e2cc1033ce00b2ee5fc832c3351f", "spanId": "06ad38c59e59cff4", "parentSpanId": "7cb07d4441bc25d0", "startTimeUnixNano": "1796073618782915354", "endTimeUnixNano": "1796073618783356599", "durationMs": 0.441245, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "78c8e2cc1033ce00b2ee5fc832c3351f", "spanId": "02fab89ae95482e5", "parentSpanId": "f4b39bf6aafdbd58", "startTimeUnixNano": "1796073618783393608", "endTimeUnixNano": "1796073618783585576", "durationMs": 0.191968, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00553}}
{"type": "effect-span", "name": "sqlite", "traceId": "78c8e2cc1033ce00b2ee5fc832c3351f", "spanId": "04e4b47087e6021c", "parentSpanId": "f4b39bf6aafdbd58", "startTimeUnixNano": "1796073618783658793", "endTimeUnixNano": "1796073618785430543", "durationMs": 1.77175, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008125}}
{"type": "effect-span", "name": "sqlite", "traceId": "78c8e2cc1033ce00b2ee5fc832c3351f", "spanId": "a464f431c8f82c4e", "parentSpanId": "f4b39bf6aafdbd58", "startTimeUnixNano": "1796073618785473773", "endTimeUnixNano": "1796073618787520647", "durationMs": 2.046874, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011031}}
{"type": "effect-span", "name": "sqlite", "traceId": "78c8e2cc1033ce00b2ee5fc832c3351f", "spanId": "dcd046a5b29ddae9", "parentSpanId": "f4b39bf6aafdbd58", "startTimeUnixNano": "1796073618794780167", "endTimeUnixNano": "1796073618798034867", "durationMs": 3.2547, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023344}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "78c8e2cc1033ce00b2ee5fc832c3351f", "spanId": "f4b39bf6aafdbd58", "parentSpanId": "7cb07d4441bc25d0", "startTimeUnixNano": "1796073618783383579", "endTimeUnixNano": "1796073618798457486", "durationMs": 15.073907, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "78c8e2cc1033ce00b2ee5fc832c3351f", "spanId": "7b0419132efe5a32", "parentSpanId": "7cb07d4441bc25d0", "startTimeUnixNano": "1796073618798481902", "endTimeUnixNano": "1796073618799095388", "durationMs": 0.613486, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "78c8e2cc1033ce00b2ee5fc832c3351f", "spanId": "7cb07d4441bc25d0", "parentSpanId": "7c3337585375ed64", "startTimeUnixNano": "1796073618778631943", "endTimeUnixNano": "1796073618799120404", "durationMs": 20.488461, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 4.275376, "db.connection": "reader", "db.lock_wait_ms": 4.24}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "78c8e2cc1033ce00b2ee5fc832c3351f", "spanId": "7c3337585375ed64", "parentSpanId": "51521aa145260fb4", "startTimeUnixNano": "1796073618778619791", "endTimeUnixNano": "1796073618799161852", "durationMs": 20.542061, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "78c8e2cc1033ce00b2ee5fc832c3351f", "spanId": "51521aa145260fb4", "parentSpanId": "a6a1590768d19c89", "startTimeUnixNano": "1796073618778573334", "endTimeUnixNano": "1796073618799170267", "durationMs": 20.596933, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "78c8e2cc1033ce00b2ee5fc832c3351f", "spanId": "a6a1590768d19c89", "startTimeUnixNano": "1796073618778553617", "endTimeUnixNano": "1796073618799179395", "durationMs": 20.625778, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d896114046ca882d0e9440c015e1015b", "spanId": "a1f0a7a077549772", "parentSpanId": "44400ad2f67e376e", "startTimeUnixNano": "1796073620276933245", "endTimeUnixNano": "1796073620277488552", "durationMs": 0.555307, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d896114046ca882d0e9440c015e1015b", "spanId": "ee414c0b38187ddf", "parentSpanId": "ddacf4bde5d3eed3", "startTimeUnixNano": "1796073620277527054", "endTimeUnixNano": "1796073620278099774", "durationMs": 0.57272, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005}}
{"type": "effect-span", "name": "sqlite", "traceId": "d896114046ca882d0e9440c015e1015b", "spanId": "68a1c40ebae12da2", "parentSpanId": "ddacf4bde5d3eed3", "startTimeUnixNano": "1796073620278166408", "endTimeUnixNano": "1796073620279226378", "durationMs": 1.05997, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010049}}
{"type": "effect-span", "name": "sqlite", "traceId": "d896114046ca882d0e9440c015e1015b", "spanId": "356430d36e057e0d", "parentSpanId": "ddacf4bde5d3eed3", "startTimeUnixNano": "1796073620279242008", "endTimeUnixNano": "1796073620280223671", "durationMs": 0.981663, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008065}}
{"type": "effect-span", "name": "sqlite", "traceId": "d896114046ca882d0e9440c015e1015b", "spanId": "20f80e2ff1ee5dce", "parentSpanId": "ddacf4bde5d3eed3", "startTimeUnixNano": "1796073620288835468", "endTimeUnixNano": "1796073620290635060", "durationMs": 1.799592, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009728}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d896114046ca882d0e9440c015e1015b", "spanId": "ddacf4bde5d3eed3", "parentSpanId": "44400ad2f67e376e", "startTimeUnixNano": "1796073620277520442", "endTimeUnixNano": "1796073620290877372", "durationMs": 13.35693, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d896114046ca882d0e9440c015e1015b", "spanId": "98b7c5f262d166f0", "parentSpanId": "44400ad2f67e376e", "startTimeUnixNano": "1796073620290890717", "endTimeUnixNano": "1796073620291315000", "durationMs": 0.424283, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d896114046ca882d0e9440c015e1015b", "spanId": "44400ad2f67e376e", "parentSpanId": "747a21991f4570a1", "startTimeUnixNano": "1796073620275811790", "endTimeUnixNano": "1796073620291331230", "durationMs": 15.51944, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.117377, "db.connection": "reader", "db.lock_wait_ms": 1.087}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d896114046ca882d0e9440c015e1015b", "spanId": "747a21991f4570a1", "parentSpanId": "e22bd211334d27ba", "startTimeUnixNano": "1796073620275803895", "endTimeUnixNano": "1796073620291344044", "durationMs": 15.540149, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d896114046ca882d0e9440c015e1015b", "spanId": "e22bd211334d27ba", "parentSpanId": "52b058418aaa6c9c", "startTimeUnixNano": "1796073620275768048", "endTimeUnixNano": "1796073620291348102", "durationMs": 15.580054, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d896114046ca882d0e9440c015e1015b", "spanId": "52b058418aaa6c9c", "startTimeUnixNano": "1796073620275755034", "endTimeUnixNano": "1796073620291353402", "durationMs": 15.598368, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "938415b2d6d2124c5e8542c66be838b7", "spanId": "c89aed60407268b4", "parentSpanId": "16b189cd981f0105", "startTimeUnixNano": "1796073620477711064", "endTimeUnixNano": "1796073620478150786", "durationMs": 0.439722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "938415b2d6d2124c5e8542c66be838b7", "spanId": "23a2e0d9fc7943a0", "parentSpanId": "56a7c032f7072111", "startTimeUnixNano": "1796073620478208824", "endTimeUnixNano": "1796073620478513333", "durationMs": 0.304509, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006693}}
{"type": "effect-span", "name": "sqlite", "traceId": "938415b2d6d2124c5e8542c66be838b7", "spanId": "8c5acae5e6d19ee4", "parentSpanId": "56a7c032f7072111", "startTimeUnixNano": "1796073620478621585", "endTimeUnixNano": "1796073620480770710", "durationMs": 2.149125, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01577}}
{"type": "effect-span", "name": "sqlite", "traceId": "938415b2d6d2124c5e8542c66be838b7", "spanId": "e52a77064e939146", "parentSpanId": "56a7c032f7072111", "startTimeUnixNano": "1796073620480791278", "endTimeUnixNano": "1796073620482846938", "durationMs": 2.05566, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008206}}
{"type": "effect-span", "name": "sqlite", "traceId": "938415b2d6d2124c5e8542c66be838b7", "spanId": "e215b08d52a2fc2c", "parentSpanId": "56a7c032f7072111", "startTimeUnixNano": "1796073620489841143", "endTimeUnixNano": "1796073620491735362", "durationMs": 1.894219, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010159}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "938415b2d6d2124c5e8542c66be838b7", "spanId": "56a7c032f7072111", "parentSpanId": "16b189cd981f0105", "startTimeUnixNano": "1796073620478198655", "endTimeUnixNano": "1796073620491983786", "durationMs": 13.785131, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "938415b2d6d2124c5e8542c66be838b7", "spanId": "05fb469bd990ef10", "parentSpanId": "16b189cd981f0105", "startTimeUnixNano": "1796073620491997842", "endTimeUnixNano": "1796073620492414861", "durationMs": 0.417019, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "938415b2d6d2124c5e8542c66be838b7", "spanId": "16b189cd981f0105", "parentSpanId": "038ff91eff5049cf", "startTimeUnixNano": "1796073620475994438", "endTimeUnixNano": "1796073620492453513", "durationMs": 16.459075, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.712509, "db.connection": "reader", "db.lock_wait_ms": 1.684}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "938415b2d6d2124c5e8542c66be838b7", "spanId": "038ff91eff5049cf", "parentSpanId": "0735805c43ddc691", "startTimeUnixNano": "1796073620475987435", "endTimeUnixNano": "1796073620492470365", "durationMs": 16.48293, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "938415b2d6d2124c5e8542c66be838b7", "spanId": "0735805c43ddc691", "parentSpanId": "f11114389d596296", "startTimeUnixNano": "1796073620475960224", "endTimeUnixNano": "1796073620492475174", "durationMs": 16.51495, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "938415b2d6d2124c5e8542c66be838b7", "spanId": "f11114389d596296", "startTimeUnixNano": "1796073620475946749", "endTimeUnixNano": "1796073620492481295", "durationMs": 16.534546, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d5e2920a316d0dd26b53aa20f1b7916f", "spanId": "a8e7d47dd3038625", "parentSpanId": "adda1c7d2e34028c", "startTimeUnixNano": "1796073621858222578", "endTimeUnixNano": "1796073621858840493", "durationMs": 0.617915, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d5e2920a316d0dd26b53aa20f1b7916f", "spanId": "489012cdd4292e12", "parentSpanId": "f9335bb7bb37dcfb", "startTimeUnixNano": "1796073621858876860", "endTimeUnixNano": "1796073621859520122", "durationMs": 0.643262, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004499}}
{"type": "effect-span", "name": "sqlite", "traceId": "d5e2920a316d0dd26b53aa20f1b7916f", "spanId": "0ef2a973633b8d5d", "parentSpanId": "f9335bb7bb37dcfb", "startTimeUnixNano": "1796073621859588820", "endTimeUnixNano": "1796073621860854134", "durationMs": 1.265314, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009107}}
{"type": "effect-span", "name": "sqlite", "traceId": "d5e2920a316d0dd26b53aa20f1b7916f", "spanId": "57b638af3b40ea2b", "parentSpanId": "f9335bb7bb37dcfb", "startTimeUnixNano": "1796073621860880223", "endTimeUnixNano": "1796073621862159572", "durationMs": 1.279349, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010319}}
{"type": "effect-span", "name": "sqlite", "traceId": "d5e2920a316d0dd26b53aa20f1b7916f", "spanId": "39a31068480b892d", "parentSpanId": "f9335bb7bb37dcfb", "startTimeUnixNano": "1796073621873762166", "endTimeUnixNano": "1796073621875591143", "durationMs": 1.828977, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012804}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d5e2920a316d0dd26b53aa20f1b7916f", "spanId": "f9335bb7bb37dcfb", "parentSpanId": "adda1c7d2e34028c", "startTimeUnixNano": "1796073621858870969", "endTimeUnixNano": "1796073621875880684", "durationMs": 17.009715, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d5e2920a316d0dd26b53aa20f1b7916f", "spanId": "7cf9b9a989b5ff59", "parentSpanId": "adda1c7d2e34028c", "startTimeUnixNano": "1796073621875895672", "endTimeUnixNano": "1796073621876066881", "durationMs": 0.171209, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d5e2920a316d0dd26b53aa20f1b7916f", "spanId": "adda1c7d2e34028c", "parentSpanId": "65c05bedc564aa3d", "startTimeUnixNano": "1796073621856917470", "endTimeUnixNano": "1796073621876081619", "durationMs": 19.164149, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.299718, "db.connection": "reader", "db.lock_wait_ms": 1.266}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d5e2920a316d0dd26b53aa20f1b7916f", "spanId": "65c05bedc564aa3d", "parentSpanId": "fc1ea4ebdd1c63a9", "startTimeUnixNano": "1796073621856910126", "endTimeUnixNano": "1796073621876093772", "durationMs": 19.183646, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d5e2920a316d0dd26b53aa20f1b7916f", "spanId": "fc1ea4ebdd1c63a9", "parentSpanId": "0f023ae6cf5e37d0", "startTimeUnixNano": "1796073621856874590", "endTimeUnixNano": "1796073621876097489", "durationMs": 19.222899, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d5e2920a316d0dd26b53aa20f1b7916f", "spanId": "0f023ae6cf5e37d0", "startTimeUnixNano": "1796073621856861656", "endTimeUnixNano": "1796073621876103179", "durationMs": 19.241523, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8bd2cd442ec0824a65768a7d63f1704d", "spanId": "53eba97acea5cd46", "parentSpanId": "178e87be37674bdb", "startTimeUnixNano": "1796073622062124590", "endTimeUnixNano": "1796073622062451301", "durationMs": 0.326711, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8bd2cd442ec0824a65768a7d63f1704d", "spanId": "fe218a842fc5d635", "parentSpanId": "e657d6b5b336a891", "startTimeUnixNano": "1796073622062510511", "endTimeUnixNano": "1796073622062693473", "durationMs": 0.182962, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008837}}
{"type": "effect-span", "name": "sqlite", "traceId": "8bd2cd442ec0824a65768a7d63f1704d", "spanId": "a77376bf3fe5bf4d", "parentSpanId": "e657d6b5b336a891", "startTimeUnixNano": "1796073622062785665", "endTimeUnixNano": "1796073622063980327", "durationMs": 1.194662, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012003}}
{"type": "effect-span", "name": "sqlite", "traceId": "8bd2cd442ec0824a65768a7d63f1704d", "spanId": "adfef572d259ced9", "parentSpanId": "e657d6b5b336a891", "startTimeUnixNano": "1796073622064011285", "endTimeUnixNano": "1796073622065392876", "durationMs": 1.381591, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012413}}
{"type": "effect-span", "name": "sqlite", "traceId": "8bd2cd442ec0824a65768a7d63f1704d", "spanId": "c230268f17c9d519", "parentSpanId": "e657d6b5b336a891", "startTimeUnixNano": "1796073622073238942", "endTimeUnixNano": "1796073622074925333", "durationMs": 1.686391, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011181}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8bd2cd442ec0824a65768a7d63f1704d", "spanId": "e657d6b5b336a891", "parentSpanId": "178e87be37674bdb", "startTimeUnixNano": "1796073622062499871", "endTimeUnixNano": "1796073622075171432", "durationMs": 12.671561, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8bd2cd442ec0824a65768a7d63f1704d", "spanId": "66563566ac109ed0", "parentSpanId": "178e87be37674bdb", "startTimeUnixNano": "1796073622075183004", "endTimeUnixNano": "1796073622075682928", "durationMs": 0.499924, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8bd2cd442ec0824a65768a7d63f1704d", "spanId": "178e87be37674bdb", "parentSpanId": "a8687694a24ed8b5", "startTimeUnixNano": "1796073622060812439", "endTimeUnixNano": "1796073622075731268", "durationMs": 14.918829, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.308725, "db.connection": "reader", "db.lock_wait_ms": 1.279}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8bd2cd442ec0824a65768a7d63f1704d", "spanId": "a8687694a24ed8b5", "parentSpanId": "4f344ace84733d4c", "startTimeUnixNano": "1796073622060804394", "endTimeUnixNano": "1796073622075760222", "durationMs": 14.955828, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8bd2cd442ec0824a65768a7d63f1704d", "spanId": "4f344ace84733d4c", "parentSpanId": "71c3d8e4201a02f2", "startTimeUnixNano": "1796073622060774599", "endTimeUnixNano": "1796073622075766023", "durationMs": 14.991424, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8bd2cd442ec0824a65768a7d63f1704d", "spanId": "71c3d8e4201a02f2", "startTimeUnixNano": "1796073622060756665", "endTimeUnixNano": "1796073622075772495", "durationMs": 15.01583, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a2ef8d48707faa2f47c1df73ed5489f3", "spanId": "7cde6f1d9d45a1f0", "parentSpanId": "011193b8b7f53aba", "startTimeUnixNano": "1796073623402912640", "endTimeUnixNano": "1796073623403060446", "durationMs": 0.147806, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2ef8d48707faa2f47c1df73ed5489f3", "spanId": "3274e3fac867c1bf", "parentSpanId": "4990d9264769d2da", "startTimeUnixNano": "1796073623403105270", "endTimeUnixNano": "1796073623403667350", "durationMs": 0.56208, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006161}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2ef8d48707faa2f47c1df73ed5489f3", "spanId": "07a78506b014f9b8", "parentSpanId": "4990d9264769d2da", "startTimeUnixNano": "1796073623403775101", "endTimeUnixNano": "1796073623405075871", "durationMs": 1.30077, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013115}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2ef8d48707faa2f47c1df73ed5489f3", "spanId": "71e7fe8b617f8d67", "parentSpanId": "4990d9264769d2da", "startTimeUnixNano": "1796073623405094406", "endTimeUnixNano": "1796073623407335733", "durationMs": 2.241327, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008385}}
{"type": "effect-span", "name": "sqlite", "traceId": "a2ef8d48707faa2f47c1df73ed5489f3", "spanId": "543fb59dabd7b665", "parentSpanId": "4990d9264769d2da", "startTimeUnixNano": "1796073623416069388", "endTimeUnixNano": "1796073623417892604", "durationMs": 1.823216, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009878}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a2ef8d48707faa2f47c1df73ed5489f3", "spanId": "4990d9264769d2da", "parentSpanId": "011193b8b7f53aba", "startTimeUnixNano": "1796073623403098768", "endTimeUnixNano": "1796073623418170533", "durationMs": 15.071765, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a2ef8d48707faa2f47c1df73ed5489f3", "spanId": "c0ba33fd4932f4a5", "parentSpanId": "011193b8b7f53aba", "startTimeUnixNano": "1796073623418186252", "endTimeUnixNano": "1796073623418370576", "durationMs": 0.184324, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a2ef8d48707faa2f47c1df73ed5489f3", "spanId": "011193b8b7f53aba", "parentSpanId": "a9eb6ab7d87079c3", "startTimeUnixNano": "1796073623400806506", "endTimeUnixNano": "1796073623418391005", "durationMs": 17.584499, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.101966, "db.connection": "reader", "db.lock_wait_ms": 2.069}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a2ef8d48707faa2f47c1df73ed5489f3", "spanId": "a9eb6ab7d87079c3", "parentSpanId": "c15fda395160fe0a", "startTimeUnixNano": "1796073623400798972", "endTimeUnixNano": "1796073623418404850", "durationMs": 17.605878, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a2ef8d48707faa2f47c1df73ed5489f3", "spanId": "c15fda395160fe0a", "parentSpanId": "233f21362a585992", "startTimeUnixNano": "1796073623400760910", "endTimeUnixNano": "1796073623418410020", "durationMs": 17.64911, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a2ef8d48707faa2f47c1df73ed5489f3", "spanId": "233f21362a585992", "startTimeUnixNano": "1796073623400747696", "endTimeUnixNano": "1796073623418415681", "durationMs": 17.667985, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "38e7a2484b65503677fe99cb827a4d34", "spanId": "0f9bea40ba389f95", "parentSpanId": "2fe729611b9f89a2", "startTimeUnixNano": "1796073623609614412", "endTimeUnixNano": "1796073623610376024", "durationMs": 0.761612, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "38e7a2484b65503677fe99cb827a4d34", "spanId": "5e45d1644c59c59e", "parentSpanId": "f64d572702bc1c13", "startTimeUnixNano": "1796073623610465301", "endTimeUnixNano": "1796073623611153868", "durationMs": 0.688567, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009698}}
{"type": "effect-span", "name": "sqlite", "traceId": "38e7a2484b65503677fe99cb827a4d34", "spanId": "2dcde9bd08afffa1", "parentSpanId": "f64d572702bc1c13", "startTimeUnixNano": "1796073623611262100", "endTimeUnixNano": "1796073623612941206", "durationMs": 1.679106, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015318}}
{"type": "effect-span", "name": "sqlite", "traceId": "38e7a2484b65503677fe99cb827a4d34", "spanId": "aad72ee36beef70c", "parentSpanId": "f64d572702bc1c13", "startTimeUnixNano": "1796073623612967766", "endTimeUnixNano": "1796073623614222680", "durationMs": 1.254914, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012143}}
{"type": "effect-span", "name": "sqlite", "traceId": "38e7a2484b65503677fe99cb827a4d34", "spanId": "2c6925cdcb9a5919", "parentSpanId": "f64d572702bc1c13", "startTimeUnixNano": "1796073623624033097", "endTimeUnixNano": "1796073623627184784", "durationMs": 3.151687, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017553}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "38e7a2484b65503677fe99cb827a4d34", "spanId": "f64d572702bc1c13", "parentSpanId": "2fe729611b9f89a2", "startTimeUnixNano": "1796073623610429855", "endTimeUnixNano": "1796073623627651136", "durationMs": 17.221281, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "38e7a2484b65503677fe99cb827a4d34", "spanId": "8ee36eec84a92227", "parentSpanId": "2fe729611b9f89a2", "startTimeUnixNano": "1796073623627689547", "endTimeUnixNano": "1796073623627926520", "durationMs": 0.236973, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "38e7a2484b65503677fe99cb827a4d34", "spanId": "2fe729611b9f89a2", "parentSpanId": "e02679b13fb8dd7a", "startTimeUnixNano": "1796073623606416588", "endTimeUnixNano": "1796073623627948291", "durationMs": 21.531703, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.19059, "db.connection": "reader", "db.lock_wait_ms": 3.142}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "38e7a2484b65503677fe99cb827a4d34", "spanId": "e02679b13fb8dd7a", "parentSpanId": "a8f134c500f89db7", "startTimeUnixNano": "1796073623606409164", "endTimeUnixNano": "1796073623627968278", "durationMs": 21.559114, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "38e7a2484b65503677fe99cb827a4d34", "spanId": "a8f134c500f89db7", "parentSpanId": "bf921953e423dec7", "startTimeUnixNano": "1796073623606380511", "endTimeUnixNano": "1796073623627973979", "durationMs": 21.593468, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "38e7a2484b65503677fe99cb827a4d34", "spanId": "bf921953e423dec7", "startTimeUnixNano": "1796073623606365412", "endTimeUnixNano": "1796073623627981463", "durationMs": 21.616051, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "24681af2c698e017b7506fdf9b897f4d", "spanId": "02779193a9cd3711", "parentSpanId": "fe6dd17579c95ac2", "startTimeUnixNano": "1796073625157084896", "endTimeUnixNano": "1796073625157814318", "durationMs": 0.729422, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "24681af2c698e017b7506fdf9b897f4d", "spanId": "ddd6fbf0c29b6033", "parentSpanId": "53a801093525bfd8", "startTimeUnixNano": "1796073625157850536", "endTimeUnixNano": "1796073625158547638", "durationMs": 0.697102, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004468}}
{"type": "effect-span", "name": "sqlite", "traceId": "24681af2c698e017b7506fdf9b897f4d", "spanId": "7d1cc8119aa6ff67", "parentSpanId": "53a801093525bfd8", "startTimeUnixNano": "1796073625158620094", "endTimeUnixNano": "1796073625160196519", "durationMs": 1.576425, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009447}}
{"type": "effect-span", "name": "sqlite", "traceId": "24681af2c698e017b7506fdf9b897f4d", "spanId": "5ce9535a142ce4b1", "parentSpanId": "53a801093525bfd8", "startTimeUnixNano": "1796073625160212488", "endTimeUnixNano": "1796073625161729893", "durationMs": 1.517405, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008216}}
{"type": "effect-span", "name": "sqlite", "traceId": "24681af2c698e017b7506fdf9b897f4d", "spanId": "98282ff7126c4f35", "parentSpanId": "53a801093525bfd8", "startTimeUnixNano": "1796073625170397134", "endTimeUnixNano": "1796073625172542061", "durationMs": 2.144927, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025208}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "24681af2c698e017b7506fdf9b897f4d", "spanId": "53a801093525bfd8", "parentSpanId": "fe6dd17579c95ac2", "startTimeUnixNano": "1796073625157844996", "endTimeUnixNano": "1796073625172816063", "durationMs": 14.971067, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "24681af2c698e017b7506fdf9b897f4d", "spanId": "50fa97535718eb52", "parentSpanId": "fe6dd17579c95ac2", "startTimeUnixNano": "1796073625172833065", "endTimeUnixNano": "1796073625173057023", "durationMs": 0.223958, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "24681af2c698e017b7506fdf9b897f4d", "spanId": "fe6dd17579c95ac2", "parentSpanId": "6c265b3a23e04742", "startTimeUnixNano": "1796073625155705649", "endTimeUnixNano": "1796073625173078203", "durationMs": 17.372554, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.373115, "db.connection": "reader", "db.lock_wait_ms": 1.341}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "24681af2c698e017b7506fdf9b897f4d", "spanId": "6c265b3a23e04742", "parentSpanId": "cf0a385651a6f607", "startTimeUnixNano": "1796073625155698355", "endTimeUnixNano": "1796073625173091027", "durationMs": 17.392672, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "24681af2c698e017b7506fdf9b897f4d", "spanId": "cf0a385651a6f607", "parentSpanId": "683f443109ebf7c6", "startTimeUnixNano": "1796073625155661126", "endTimeUnixNano": "1796073625173098691", "durationMs": 17.437565, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "24681af2c698e017b7506fdf9b897f4d", "spanId": "683f443109ebf7c6", "startTimeUnixNano": "1796073625155648793", "endTimeUnixNano": "1796073625173108500", "durationMs": 17.459707, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bf607d1a086bda51dc48beba0b370092", "spanId": "d02f35c40b04dd7d", "parentSpanId": "0fa515dc65320459", "startTimeUnixNano": "1796073625390040633", "endTimeUnixNano": "1796073625390352716", "durationMs": 0.312083, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bf607d1a086bda51dc48beba0b370092", "spanId": "4305a4b3725cc2eb", "parentSpanId": "824ad588dd13de8f", "startTimeUnixNano": "1796073625390384045", "endTimeUnixNano": "1796073625390513066", "durationMs": 0.129021, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004568}}
{"type": "effect-span", "name": "sqlite", "traceId": "bf607d1a086bda51dc48beba0b370092", "spanId": "9f7e030a9369deeb", "parentSpanId": "824ad588dd13de8f", "startTimeUnixNano": "1796073625390583097", "endTimeUnixNano": "1796073625391795852", "durationMs": 1.212755, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011992}}
{"type": "effect-span", "name": "sqlite", "traceId": "bf607d1a086bda51dc48beba0b370092", "spanId": "512f4ac20ae31705", "parentSpanId": "824ad588dd13de8f", "startTimeUnixNano": "1796073625391813415", "endTimeUnixNano": "1796073625392811369", "durationMs": 0.997954, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008296}}
{"type": "effect-span", "name": "sqlite", "traceId": "bf607d1a086bda51dc48beba0b370092", "spanId": "e4005a1b511f3ad8", "parentSpanId": "824ad588dd13de8f", "startTimeUnixNano": "1796073625400581204", "endTimeUnixNano": "1796073625403187513", "durationMs": 2.606309, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013876}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bf607d1a086bda51dc48beba0b370092", "spanId": "824ad588dd13de8f", "parentSpanId": "0fa515dc65320459", "startTimeUnixNano": "1796073625390379036", "endTimeUnixNano": "1796073625403588122", "durationMs": 13.209086, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bf607d1a086bda51dc48beba0b370092", "spanId": "3aee5be6962e8dfc", "parentSpanId": "0fa515dc65320459", "startTimeUnixNano": "1796073625403617827", "endTimeUnixNano": "1796073625404011713", "durationMs": 0.393886, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bf607d1a086bda51dc48beba0b370092", "spanId": "0fa515dc65320459", "parentSpanId": "5bc3d54e5d5adb10", "startTimeUnixNano": "1796073625388706271", "endTimeUnixNano": "1796073625404031089", "durationMs": 15.324818, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.330215, "db.connection": "reader", "db.lock_wait_ms": 1.297}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bf607d1a086bda51dc48beba0b370092", "spanId": "5bc3d54e5d5adb10", "parentSpanId": "e57a734d78a66345", "startTimeUnixNano": "1796073625388694619", "endTimeUnixNano": "1796073625404052559", "durationMs": 15.35794, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bf607d1a086bda51dc48beba0b370092", "spanId": "e57a734d78a66345", "parentSpanId": "a53a59720f9442a4", "startTimeUnixNano": "1796073625388666717", "endTimeUnixNano": "1796073625404060023", "durationMs": 15.393306, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bf607d1a086bda51dc48beba0b370092", "spanId": "a53a59720f9442a4", "startTimeUnixNano": "1796073625388650056", "endTimeUnixNano": "1796073625404069591", "durationMs": 15.419535, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "eb892c72a50fa89cb2a92e9147f0194c", "spanId": "dbe4f85b2b01e95a", "parentSpanId": "6ff2dcaf01be8e5b", "startTimeUnixNano": "1796073626828023220", "endTimeUnixNano": "1796073626828615176", "durationMs": 0.591956, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb892c72a50fa89cb2a92e9147f0194c", "spanId": "baf89c2e0dbd3979", "parentSpanId": "a245d16866cc24ee", "startTimeUnixNano": "1796073626828655792", "endTimeUnixNano": "1796073626829240624", "durationMs": 0.584832, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004829}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb892c72a50fa89cb2a92e9147f0194c", "spanId": "21f707b770569818", "parentSpanId": "a245d16866cc24ee", "startTimeUnixNano": "1796073626829308752", "endTimeUnixNano": "1796073626830593562", "durationMs": 1.28481, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008606}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb892c72a50fa89cb2a92e9147f0194c", "spanId": "1208d41c08227706", "parentSpanId": "a245d16866cc24ee", "startTimeUnixNano": "1796073626830610824", "endTimeUnixNano": "1796073626831704868", "durationMs": 1.094044, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007825}}
{"type": "effect-span", "name": "sqlite", "traceId": "eb892c72a50fa89cb2a92e9147f0194c", "spanId": "289cdaa4e72b1022", "parentSpanId": "a245d16866cc24ee", "startTimeUnixNano": "1796073626840977671", "endTimeUnixNano": "1796073626842850059", "durationMs": 1.872388, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015479}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "eb892c72a50fa89cb2a92e9147f0194c", "spanId": "a245d16866cc24ee", "parentSpanId": "6ff2dcaf01be8e5b", "startTimeUnixNano": "1796073626828650051", "endTimeUnixNano": "1796073626843138457", "durationMs": 14.488406, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "eb892c72a50fa89cb2a92e9147f0194c", "spanId": "3b60b9c6def9c8fe", "parentSpanId": "6ff2dcaf01be8e5b", "startTimeUnixNano": "1796073626843156311", "endTimeUnixNano": "1796073626843405636", "durationMs": 0.249325, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "eb892c72a50fa89cb2a92e9147f0194c", "spanId": "6ff2dcaf01be8e5b", "parentSpanId": "17d81d5b1ff202bd", "startTimeUnixNano": "1796073626826826895", "endTimeUnixNano": "1796073626843454678", "durationMs": 16.627783, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.192598, "db.connection": "reader", "db.lock_wait_ms": 1.16}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "eb892c72a50fa89cb2a92e9147f0194c", "spanId": "17d81d5b1ff202bd", "parentSpanId": "6a29615681572fc1", "startTimeUnixNano": "1796073626826818730", "endTimeUnixNano": "1796073626843482690", "durationMs": 16.66396, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "eb892c72a50fa89cb2a92e9147f0194c", "spanId": "6a29615681572fc1", "parentSpanId": "83be191db8353852", "startTimeUnixNano": "1796073626826781300", "endTimeUnixNano": "1796073626843493831", "durationMs": 16.712531, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "eb892c72a50fa89cb2a92e9147f0194c", "spanId": "83be191db8353852", "startTimeUnixNano": "1796073626826767484", "endTimeUnixNano": "1796073626843505333", "durationMs": 16.737849, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f63835f69076124feb1bd49eca12ed1d", "spanId": "f67b595d07ef8592", "parentSpanId": "d0df03ce1f1a8dff", "startTimeUnixNano": "1796073627034166946", "endTimeUnixNano": "1796073627034454794", "durationMs": 0.287848, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f63835f69076124feb1bd49eca12ed1d", "spanId": "7551c72c1f829d20", "parentSpanId": "2944266cc85c6857", "startTimeUnixNano": "1796073627034489980", "endTimeUnixNano": "1796073627034660999", "durationMs": 0.171019, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004618}}
{"type": "effect-span", "name": "sqlite", "traceId": "f63835f69076124feb1bd49eca12ed1d", "spanId": "1ed54c2748f9ad67", "parentSpanId": "2944266cc85c6857", "startTimeUnixNano": "1796073627034723376", "endTimeUnixNano": "1796073627036094167", "durationMs": 1.370791, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008996}}
{"type": "effect-span", "name": "sqlite", "traceId": "f63835f69076124feb1bd49eca12ed1d", "spanId": "f3858391f1cd1fa7", "parentSpanId": "2944266cc85c6857", "startTimeUnixNano": "1796073627036106630", "endTimeUnixNano": "1796073627038073314", "durationMs": 1.966684, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006201}}
{"type": "effect-span", "name": "sqlite", "traceId": "f63835f69076124feb1bd49eca12ed1d", "spanId": "a3e2f2d6f4d719eb", "parentSpanId": "2944266cc85c6857", "startTimeUnixNano": "1796073627044292252", "endTimeUnixNano": "1796073627045973192", "durationMs": 1.68094, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012353}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f63835f69076124feb1bd49eca12ed1d", "spanId": "2944266cc85c6857", "parentSpanId": "d0df03ce1f1a8dff", "startTimeUnixNano": "1796073627034483568", "endTimeUnixNano": "1796073627046252865", "durationMs": 11.769297, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f63835f69076124feb1bd49eca12ed1d", "spanId": "6bd74c54849b09c7", "parentSpanId": "d0df03ce1f1a8dff", "startTimeUnixNano": "1796073627046268293", "endTimeUnixNano": "1796073627047165880", "durationMs": 0.897587, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f63835f69076124feb1bd49eca12ed1d", "spanId": "d0df03ce1f1a8dff", "parentSpanId": "d8d1ab63b261795b", "startTimeUnixNano": "1796073627033030493", "endTimeUnixNano": "1796073627047186799", "durationMs": 14.156306, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.133397, "db.connection": "reader", "db.lock_wait_ms": 1.105}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f63835f69076124feb1bd49eca12ed1d", "spanId": "d8d1ab63b261795b", "parentSpanId": "4ebe3149136838d9", "startTimeUnixNano": "1796073627033023300", "endTimeUnixNano": "1796073627047203400", "durationMs": 14.1801, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f63835f69076124feb1bd49eca12ed1d", "spanId": "4ebe3149136838d9", "parentSpanId": "3bfd13c84dd13f50", "startTimeUnixNano": "1796073627032996459", "endTimeUnixNano": "1796073627047210474", "durationMs": 14.214015, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f63835f69076124feb1bd49eca12ed1d", "spanId": "3bfd13c84dd13f50", "startTimeUnixNano": "1796073627032983846", "endTimeUnixNano": "1796073627047218048", "durationMs": 14.234202, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0729873ebecb28e249c51ee39a2f3fe9", "spanId": "64ab171bb68be1e1", "parentSpanId": "eda0e82d8b3eb6b9", "startTimeUnixNano": "1796073628512118337", "endTimeUnixNano": "1796073628512255734", "durationMs": 0.137397, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0729873ebecb28e249c51ee39a2f3fe9", "spanId": "5b8712a11ff9d5ae", "parentSpanId": "e775e72c72186a83", "startTimeUnixNano": "1796073628512297572", "endTimeUnixNano": "1796073628513481083", "durationMs": 1.183511, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008375}}
{"type": "effect-span", "name": "sqlite", "traceId": "0729873ebecb28e249c51ee39a2f3fe9", "spanId": "129e5e4fb85a65a6", "parentSpanId": "e775e72c72186a83", "startTimeUnixNano": "1796073628513567715", "endTimeUnixNano": "1796073628514594272", "durationMs": 1.026557, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01103}}
{"type": "effect-span", "name": "sqlite", "traceId": "0729873ebecb28e249c51ee39a2f3fe9", "spanId": "6f7c90968a5517dc", "parentSpanId": "e775e72c72186a83", "startTimeUnixNano": "1796073628514623928", "endTimeUnixNano": "1796073628515854898", "durationMs": 1.23097, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008406}}
{"type": "effect-span", "name": "sqlite", "traceId": "0729873ebecb28e249c51ee39a2f3fe9", "spanId": "e4169db9f0a31b9d", "parentSpanId": "e775e72c72186a83", "startTimeUnixNano": "1796073628526296094", "endTimeUnixNano": "1796073628528363446", "durationMs": 2.067352, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012353}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0729873ebecb28e249c51ee39a2f3fe9", "spanId": "e775e72c72186a83", "parentSpanId": "eda0e82d8b3eb6b9", "startTimeUnixNano": "1796073628512291280", "endTimeUnixNano": "1796073628528673255", "durationMs": 16.381975, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0729873ebecb28e249c51ee39a2f3fe9", "spanId": "2183b270d5cbd851", "parentSpanId": "eda0e82d8b3eb6b9", "startTimeUnixNano": "1796073628528686990", "endTimeUnixNano": "1796073628528860465", "durationMs": 0.173475, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0729873ebecb28e249c51ee39a2f3fe9", "spanId": "eda0e82d8b3eb6b9", "parentSpanId": "d23ad905e9281337", "startTimeUnixNano": "1796073628510068768", "endTimeUnixNano": "1796073628528881784", "durationMs": 18.813016, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.045421, "db.connection": "reader", "db.lock_wait_ms": 2.012}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0729873ebecb28e249c51ee39a2f3fe9", "spanId": "d23ad905e9281337", "parentSpanId": "a641993baa35e4fb", "startTimeUnixNano": "1796073628510059611", "endTimeUnixNano": "1796073628528895670", "durationMs": 18.836059, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0729873ebecb28e249c51ee39a2f3fe9", "spanId": "a641993baa35e4fb", "parentSpanId": "92e4d520bab1ab5a", "startTimeUnixNano": "1796073628510022591", "endTimeUnixNano": "1796073628528901110", "durationMs": 18.878519, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0729873ebecb28e249c51ee39a2f3fe9", "spanId": "92e4d520bab1ab5a", "startTimeUnixNano": "1796073628510008275", "endTimeUnixNano": "1796073628528906951", "durationMs": 18.898676, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "107627bde4c66e1a810ecc992f1a78bf", "spanId": "feb0cd7b99aa1018", "parentSpanId": "5e27c8ae87a54663", "startTimeUnixNano": "1796073628720854596", "endTimeUnixNano": "1796073628722229164", "durationMs": 1.374568, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "107627bde4c66e1a810ecc992f1a78bf", "spanId": "e75868c3fa2f2650", "parentSpanId": "0f6666f615302c7c", "startTimeUnixNano": "1796073628722278997", "endTimeUnixNano": "1796073628722554232", "durationMs": 0.275235, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007404}}
{"type": "effect-span", "name": "sqlite", "traceId": "107627bde4c66e1a810ecc992f1a78bf", "spanId": "e9bfddbced01d3cf", "parentSpanId": "0f6666f615302c7c", "startTimeUnixNano": "1796073628722670709", "endTimeUnixNano": "1796073628724286077", "durationMs": 1.615368, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014347}}
{"type": "effect-span", "name": "sqlite", "traceId": "107627bde4c66e1a810ecc992f1a78bf", "spanId": "1f7e40e1983a89dc", "parentSpanId": "0f6666f615302c7c", "startTimeUnixNano": "1796073628724301426", "endTimeUnixNano": "1796073628725380692", "durationMs": 1.079266, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007354}}
{"type": "effect-span", "name": "sqlite", "traceId": "107627bde4c66e1a810ecc992f1a78bf", "spanId": "5615ce0317f2de1d", "parentSpanId": "0f6666f615302c7c", "startTimeUnixNano": "1796073628731588449", "endTimeUnixNano": "1796073628733195341", "durationMs": 1.606892, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01064}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "107627bde4c66e1a810ecc992f1a78bf", "spanId": "0f6666f615302c7c", "parentSpanId": "5e27c8ae87a54663", "startTimeUnixNano": "1796073628722271483", "endTimeUnixNano": "1796073628733495773", "durationMs": 11.22429, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "107627bde4c66e1a810ecc992f1a78bf", "spanId": "8f8754da0a8ce1ed", "parentSpanId": "5e27c8ae87a54663", "startTimeUnixNano": "1796073628733509929", "endTimeUnixNano": "1796073628733662885", "durationMs": 0.152956, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "107627bde4c66e1a810ecc992f1a78bf", "spanId": "5e27c8ae87a54663", "parentSpanId": "6389edb109210b35", "startTimeUnixNano": "1796073628714676104", "endTimeUnixNano": "1796073628733678925", "durationMs": 19.002821, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.17202, "db.connection": "reader", "db.lock_wait_ms": 6.132}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "107627bde4c66e1a810ecc992f1a78bf", "spanId": "6389edb109210b35", "parentSpanId": "653f853c3f253a12", "startTimeUnixNano": "1796073628714664722", "endTimeUnixNano": "1796073628733695606", "durationMs": 19.030884, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "107627bde4c66e1a810ecc992f1a78bf", "spanId": "653f853c3f253a12", "parentSpanId": "ced6a27440b2a197", "startTimeUnixNano": "1796073628714621862", "endTimeUnixNano": "1796073628733701858", "durationMs": 19.079996, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "107627bde4c66e1a810ecc992f1a78bf", "spanId": "ced6a27440b2a197", "startTimeUnixNano": "1796073628714590654", "endTimeUnixNano": "1796073628733710033", "durationMs": 19.119379, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5e0f43bef254facc45add2e23862c95e", "spanId": "0eb3e81b7e8755fc", "parentSpanId": "0b0b6de107404440", "startTimeUnixNano": "1796073630130653655", "endTimeUnixNano": "1796073630131332213", "durationMs": 0.678558, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5e0f43bef254facc45add2e23862c95e", "spanId": "a0e69b64a2894f2e", "parentSpanId": "33be794166f444bc", "startTimeUnixNano": "1796073630131372518", "endTimeUnixNano": "1796073630132685972", "durationMs": 1.313454, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00549}}
{"type": "effect-span", "name": "sqlite", "traceId": "5e0f43bef254facc45add2e23862c95e", "spanId": "895cf271bbe9abc8", "parentSpanId": "33be794166f444bc", "startTimeUnixNano": "1796073630132783635", "endTimeUnixNano": "1796073630135836718", "durationMs": 3.053083, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01085}}
{"type": "effect-span", "name": "sqlite", "traceId": "5e0f43bef254facc45add2e23862c95e", "spanId": "46e91f24b81c58c5", "parentSpanId": "33be794166f444bc", "startTimeUnixNano": "1796073630135865652", "endTimeUnixNano": "1796073630137233508", "durationMs": 1.367856, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.028494}}
{"type": "effect-span", "name": "sqlite", "traceId": "5e0f43bef254facc45add2e23862c95e", "spanId": "6b55adda6dc1d1a4", "parentSpanId": "33be794166f444bc", "startTimeUnixNano": "1796073630143284122", "endTimeUnixNano": "1796073630145878649", "durationMs": 2.594527, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011712}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5e0f43bef254facc45add2e23862c95e", "spanId": "33be794166f444bc", "parentSpanId": "0b0b6de107404440", "startTimeUnixNano": "1796073630131365335", "endTimeUnixNano": "1796073630146249552", "durationMs": 14.884217, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5e0f43bef254facc45add2e23862c95e", "spanId": "9f7cd4de2c8da70c", "parentSpanId": "0b0b6de107404440", "startTimeUnixNano": "1796073630146273557", "endTimeUnixNano": "1796073630147727423", "durationMs": 1.453866, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5e0f43bef254facc45add2e23862c95e", "spanId": "0b0b6de107404440", "parentSpanId": "e79f882123de1059", "startTimeUnixNano": "1796073630129220317", "endTimeUnixNano": "1796073630147744675", "durationMs": 18.524358, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.427127, "db.connection": "reader", "db.lock_wait_ms": 1.391}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5e0f43bef254facc45add2e23862c95e", "spanId": "e79f882123de1059", "parentSpanId": "6ec7850567ddee60", "startTimeUnixNano": "1796073630129209277", "endTimeUnixNano": "1796073630147758802", "durationMs": 18.549525, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5e0f43bef254facc45add2e23862c95e", "spanId": "6ec7850567ddee60", "parentSpanId": "81665651c1150d19", "startTimeUnixNano": "1796073630129151258", "endTimeUnixNano": "1796073630147765414", "durationMs": 18.614156, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5e0f43bef254facc45add2e23862c95e", "spanId": "81665651c1150d19", "startTimeUnixNano": "1796073630129136200", "endTimeUnixNano": "1796073630147779841", "durationMs": 18.643641, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7e1b8c4c6a9ac377a188a442f5d3047d", "spanId": "562c3ec7f4f4bd77", "parentSpanId": "34b17e3e9438b503", "startTimeUnixNano": "1796073630357719409", "endTimeUnixNano": "1796073630357950951", "durationMs": 0.231542, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e1b8c4c6a9ac377a188a442f5d3047d", "spanId": "c73f3e6ead52c114", "parentSpanId": "820a329a7f8a0149", "startTimeUnixNano": "1796073630357983502", "endTimeUnixNano": "1796073630358206228", "durationMs": 0.222726, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004809}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e1b8c4c6a9ac377a188a442f5d3047d", "spanId": "d4fa193b06c9cb3e", "parentSpanId": "820a329a7f8a0149", "startTimeUnixNano": "1796073630358302318", "endTimeUnixNano": "1796073630360082614", "durationMs": 1.780296, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014557}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e1b8c4c6a9ac377a188a442f5d3047d", "spanId": "5b1d15c06c94d919", "parentSpanId": "820a329a7f8a0149", "startTimeUnixNano": "1796073630360099215", "endTimeUnixNano": "1796073630361543914", "durationMs": 1.444699, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006923}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e1b8c4c6a9ac377a188a442f5d3047d", "spanId": "20292ae5579148b0", "parentSpanId": "820a329a7f8a0149", "startTimeUnixNano": "1796073630368504508", "endTimeUnixNano": "1796073630371054332", "durationMs": 2.549824, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012543}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7e1b8c4c6a9ac377a188a442f5d3047d", "spanId": "820a329a7f8a0149", "parentSpanId": "34b17e3e9438b503", "startTimeUnixNano": "1796073630357978383", "endTimeUnixNano": "1796073630371476891", "durationMs": 13.498508, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7e1b8c4c6a9ac377a188a442f5d3047d", "spanId": "7bd837dff1c873f9", "parentSpanId": "34b17e3e9438b503", "startTimeUnixNano": "1796073630371498522", "endTimeUnixNano": "1796073630371766051", "durationMs": 0.267529, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7e1b8c4c6a9ac377a188a442f5d3047d", "spanId": "34b17e3e9438b503", "parentSpanId": "115f8c7926641e60", "startTimeUnixNano": "1796073630355653619", "endTimeUnixNano": "1796073630371783233", "durationMs": 16.129614, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.060861, "db.connection": "reader", "db.lock_wait_ms": 2.028}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7e1b8c4c6a9ac377a188a442f5d3047d", "spanId": "115f8c7926641e60", "parentSpanId": "8e9ef674340ae2cf", "startTimeUnixNano": "1796073630355644152", "endTimeUnixNano": "1796073630371799915", "durationMs": 16.155763, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7e1b8c4c6a9ac377a188a442f5d3047d", "spanId": "8e9ef674340ae2cf", "parentSpanId": "04443b10681ada3a", "startTimeUnixNano": "1796073630355610759", "endTimeUnixNano": "1796073630371808611", "durationMs": 16.197852, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7e1b8c4c6a9ac377a188a442f5d3047d", "spanId": "04443b10681ada3a", "startTimeUnixNano": "1796073630355586183", "endTimeUnixNano": "1796073630371817638", "durationMs": 16.231455, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fb884c33642cafd3e3b22519c72cecef", "spanId": "7e115c69a0e899d2", "parentSpanId": "da266a9067721ab3", "startTimeUnixNano": "1796073631809045211", "endTimeUnixNano": "1796073631809923071", "durationMs": 0.87786, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fb884c33642cafd3e3b22519c72cecef", "spanId": "47d074c94c78c078", "parentSpanId": "13d22c213f412f12", "startTimeUnixNano": "1796073631809964849", "endTimeUnixNano": "1796073631810667311", "durationMs": 0.702462, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005109}}
{"type": "effect-span", "name": "sqlite", "traceId": "fb884c33642cafd3e3b22519c72cecef", "spanId": "93e226289c7e5346", "parentSpanId": "13d22c213f412f12", "startTimeUnixNano": "1796073631810734687", "endTimeUnixNano": "1796073631811912307", "durationMs": 1.17762, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009127}}
{"type": "effect-span", "name": "sqlite", "traceId": "fb884c33642cafd3e3b22519c72cecef", "spanId": "66237f101dac73cf", "parentSpanId": "13d22c213f412f12", "startTimeUnixNano": "1796073631811949847", "endTimeUnixNano": "1796073631812939366", "durationMs": 0.989519, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007545}}
{"type": "effect-span", "name": "sqlite", "traceId": "fb884c33642cafd3e3b22519c72cecef", "spanId": "37a712f9151fcb58", "parentSpanId": "13d22c213f412f12", "startTimeUnixNano": "1796073631822075785", "endTimeUnixNano": "1796073631824150822", "durationMs": 2.075037, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014367}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fb884c33642cafd3e3b22519c72cecef", "spanId": "13d22c213f412f12", "parentSpanId": "da266a9067721ab3", "startTimeUnixNano": "1796073631809958006", "endTimeUnixNano": "1796073631824513860", "durationMs": 14.555854, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fb884c33642cafd3e3b22519c72cecef", "spanId": "3478be22600ba8d9", "parentSpanId": "da266a9067721ab3", "startTimeUnixNano": "1796073631824534509", "endTimeUnixNano": "1796073631824765060", "durationMs": 0.230551, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fb884c33642cafd3e3b22519c72cecef", "spanId": "da266a9067721ab3", "parentSpanId": "4abceb50ccf0943e", "startTimeUnixNano": "1796073631807049512", "endTimeUnixNano": "1796073631824786279", "durationMs": 17.736767, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.989367, "db.connection": "reader", "db.lock_wait_ms": 1.955}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fb884c33642cafd3e3b22519c72cecef", "spanId": "4abceb50ccf0943e", "parentSpanId": "a40e3e7d18d4c277", "startTimeUnixNano": "1796073631807040796", "endTimeUnixNano": "1796073631824802570", "durationMs": 17.761774, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fb884c33642cafd3e3b22519c72cecef", "spanId": "a40e3e7d18d4c277", "parentSpanId": "ac5adfdec078f69c", "startTimeUnixNano": "1796073631807002504", "endTimeUnixNano": "1796073631824808942", "durationMs": 17.806438, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fb884c33642cafd3e3b22519c72cecef", "spanId": "ac5adfdec078f69c", "startTimeUnixNano": "1796073631806988879", "endTimeUnixNano": "1796073631824816325", "durationMs": 17.827446, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e53b1c2fe65859c020fa044054e12a4f", "spanId": "a865cde15c6972ea", "parentSpanId": "8787d340b56588bd", "startTimeUnixNano": "1796073632026639928", "endTimeUnixNano": "1796073632027193903", "durationMs": 0.553975, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e53b1c2fe65859c020fa044054e12a4f", "spanId": "d9775ced890a97e7", "parentSpanId": "0b538e985beb82cb", "startTimeUnixNano": "1796073632027232264", "endTimeUnixNano": "1796073632027625439", "durationMs": 0.393175, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004479}}
{"type": "effect-span", "name": "sqlite", "traceId": "e53b1c2fe65859c020fa044054e12a4f", "spanId": "143a840eb59d077c", "parentSpanId": "0b538e985beb82cb", "startTimeUnixNano": "1796073632027693486", "endTimeUnixNano": "1796073632029023050", "durationMs": 1.329564, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008346}}
{"type": "effect-span", "name": "sqlite", "traceId": "e53b1c2fe65859c020fa044054e12a4f", "spanId": "f1d39d22ae0ffecc", "parentSpanId": "0b538e985beb82cb", "startTimeUnixNano": "1796073632029038439", "endTimeUnixNano": "1796073632030279858", "durationMs": 1.241419, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009167}}
{"type": "effect-span", "name": "sqlite", "traceId": "e53b1c2fe65859c020fa044054e12a4f", "spanId": "d5257b2316594c25", "parentSpanId": "0b538e985beb82cb", "startTimeUnixNano": "1796073632036347444", "endTimeUnixNano": "1796073632039165840", "durationMs": 2.818396, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012163}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e53b1c2fe65859c020fa044054e12a4f", "spanId": "0b538e985beb82cb", "parentSpanId": "8787d340b56588bd", "startTimeUnixNano": "1796073632027226494", "endTimeUnixNano": "1796073632039509722", "durationMs": 12.283228, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e53b1c2fe65859c020fa044054e12a4f", "spanId": "0a764ed4a200c7c8", "parentSpanId": "8787d340b56588bd", "startTimeUnixNano": "1796073632039525592", "endTimeUnixNano": "1796073632039715537", "durationMs": 0.189945, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e53b1c2fe65859c020fa044054e12a4f", "spanId": "8787d340b56588bd", "parentSpanId": "0cbd8adf348f7407", "startTimeUnixNano": "1796073632025307649", "endTimeUnixNano": "1796073632039741666", "durationMs": 14.434017, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.32745, "db.connection": "reader", "db.lock_wait_ms": 1.281}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e53b1c2fe65859c020fa044054e12a4f", "spanId": "0cbd8adf348f7407", "parentSpanId": "4cb50653a37b2d58", "startTimeUnixNano": "1796073632025296458", "endTimeUnixNano": "1796073632039761933", "durationMs": 14.465475, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e53b1c2fe65859c020fa044054e12a4f", "spanId": "4cb50653a37b2d58", "parentSpanId": "23e0baa9dec78384", "startTimeUnixNano": "1796073632025255842", "endTimeUnixNano": "1796073632039766492", "durationMs": 14.51065, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e53b1c2fe65859c020fa044054e12a4f", "spanId": "23e0baa9dec78384", "startTimeUnixNano": "1796073632025240303", "endTimeUnixNano": "1796073632039773896", "durationMs": 14.533593, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cc2ce981d75c1d0daf728255a9d8541c", "spanId": "d0f48a8d163ff5ed", "parentSpanId": "4ad044be8ff89076", "startTimeUnixNano": "1796073633420747688", "endTimeUnixNano": "1796073633421423180", "durationMs": 0.675492, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cc2ce981d75c1d0daf728255a9d8541c", "spanId": "3879c5bf19cf321b", "parentSpanId": "b7cd76f810cea7bc", "startTimeUnixNano": "1796073633421479906", "endTimeUnixNano": "1796073633422152923", "durationMs": 0.673017, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004999}}
{"type": "effect-span", "name": "sqlite", "traceId": "cc2ce981d75c1d0daf728255a9d8541c", "spanId": "d2e71a3361ecff2c", "parentSpanId": "b7cd76f810cea7bc", "startTimeUnixNano": "1796073633422223014", "endTimeUnixNano": "1796073633423464384", "durationMs": 1.24137, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008466}}
{"type": "effect-span", "name": "sqlite", "traceId": "cc2ce981d75c1d0daf728255a9d8541c", "spanId": "204ff31c745b4153", "parentSpanId": "b7cd76f810cea7bc", "startTimeUnixNano": "1796073633423493237", "endTimeUnixNano": "1796073633424638036", "durationMs": 1.144799, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007725}}
{"type": "effect-span", "name": "sqlite", "traceId": "cc2ce981d75c1d0daf728255a9d8541c", "spanId": "204f402a2c1db55e", "parentSpanId": "b7cd76f810cea7bc", "startTimeUnixNano": "1796073633433807498", "endTimeUnixNano": "1796073633435950982", "durationMs": 2.143484, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014397}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cc2ce981d75c1d0daf728255a9d8541c", "spanId": "b7cd76f810cea7bc", "parentSpanId": "4ad044be8ff89076", "startTimeUnixNano": "1796073633421473153", "endTimeUnixNano": "1796073633436309021", "durationMs": 14.835868, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cc2ce981d75c1d0daf728255a9d8541c", "spanId": "10b27a6a087df6be", "parentSpanId": "4ad044be8ff89076", "startTimeUnixNano": "1796073633436331113", "endTimeUnixNano": "1796073633436580909", "durationMs": 0.249796, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cc2ce981d75c1d0daf728255a9d8541c", "spanId": "4ad044be8ff89076", "parentSpanId": "1eb51b93c85c296d", "startTimeUnixNano": "1796073633419274115", "endTimeUnixNano": "1796073633436603411", "durationMs": 17.329296, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.468744, "db.connection": "reader", "db.lock_wait_ms": 1.433}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cc2ce981d75c1d0daf728255a9d8541c", "spanId": "1eb51b93c85c296d", "parentSpanId": "04307203f069a4c3", "startTimeUnixNano": "1796073633419265679", "endTimeUnixNano": "1796073633436621886", "durationMs": 17.356207, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cc2ce981d75c1d0daf728255a9d8541c", "spanId": "04307203f069a4c3", "parentSpanId": "fd7f0d360b56edea", "startTimeUnixNano": "1796073633419224522", "endTimeUnixNano": "1796073633436628709", "durationMs": 17.404187, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cc2ce981d75c1d0daf728255a9d8541c", "spanId": "fd7f0d360b56edea", "startTimeUnixNano": "1796073633419206849", "endTimeUnixNano": "1796073633436636613", "durationMs": 17.429764, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c88d09589e93f5a313c05b84e8414f09", "spanId": "ec13bc106df26ce0", "parentSpanId": "1ac61621972c0ab8", "startTimeUnixNano": "1796073633632888886", "endTimeUnixNano": "1796073633633139825", "durationMs": 0.250939, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c88d09589e93f5a313c05b84e8414f09", "spanId": "b41a991b9f50d85f", "parentSpanId": "011d2ccec56b03ab", "startTimeUnixNano": "1796073633633173207", "endTimeUnixNano": "1796073633633329259", "durationMs": 0.156052, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004208}}
{"type": "effect-span", "name": "sqlite", "traceId": "c88d09589e93f5a313c05b84e8414f09", "spanId": "2e147be89349f92e", "parentSpanId": "011d2ccec56b03ab", "startTimeUnixNano": "1796073633633389461", "endTimeUnixNano": "1796073633634659834", "durationMs": 1.270373, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007855}}
{"type": "effect-span", "name": "sqlite", "traceId": "c88d09589e93f5a313c05b84e8414f09", "spanId": "c5ab81ac8648eb3f", "parentSpanId": "011d2ccec56b03ab", "startTimeUnixNano": "1796073633634672648", "endTimeUnixNano": "1796073633635771171", "durationMs": 1.098523, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005771}}
{"type": "effect-span", "name": "sqlite", "traceId": "c88d09589e93f5a313c05b84e8414f09", "spanId": "4e980b91a85aec2d", "parentSpanId": "011d2ccec56b03ab", "startTimeUnixNano": "1796073633643456589", "endTimeUnixNano": "1796073633645561262", "durationMs": 2.104673, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013075}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c88d09589e93f5a313c05b84e8414f09", "spanId": "011d2ccec56b03ab", "parentSpanId": "1ac61621972c0ab8", "startTimeUnixNano": "1796073633633167827", "endTimeUnixNano": "1796073633645820656", "durationMs": 12.652829, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c88d09589e93f5a313c05b84e8414f09", "spanId": "d22309b3fa11fb95", "parentSpanId": "1ac61621972c0ab8", "startTimeUnixNano": "1796073633645845112", "endTimeUnixNano": "1796073633646141225", "durationMs": 0.296113, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c88d09589e93f5a313c05b84e8414f09", "spanId": "1ac61621972c0ab8", "parentSpanId": "4bea23db57e843ad", "startTimeUnixNano": "1796073633631834636", "endTimeUnixNano": "1796073633646156243", "durationMs": 14.321607, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.051194, "db.connection": "reader", "db.lock_wait_ms": 1.024}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c88d09589e93f5a313c05b84e8414f09", "spanId": "4bea23db57e843ad", "parentSpanId": "a0cf78847f83d16e", "startTimeUnixNano": "1796073633631827823", "endTimeUnixNano": "1796073633646170921", "durationMs": 14.343098, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c88d09589e93f5a313c05b84e8414f09", "spanId": "a0cf78847f83d16e", "parentSpanId": "7d1ba78cfb31681a", "startTimeUnixNano": "1796073633631801905", "endTimeUnixNano": "1796073633646181410", "durationMs": 14.379505, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c88d09589e93f5a313c05b84e8414f09", "spanId": "7d1ba78cfb31681a", "startTimeUnixNano": "1796073633631790804", "endTimeUnixNano": "1796073633646190016", "durationMs": 14.399212, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8cd810f51328fa157bb3980cfca3eee8", "spanId": "ce36e558b2dd2401", "parentSpanId": "2ee113825ca57447", "startTimeUnixNano": "1796073635013018117", "endTimeUnixNano": "1796073635013647292", "durationMs": 0.629175, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8cd810f51328fa157bb3980cfca3eee8", "spanId": "8daff18ee84a2528", "parentSpanId": "977c0e59fca0a36f", "startTimeUnixNano": "1796073635013682719", "endTimeUnixNano": "1796073635014318877", "durationMs": 0.636158, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004698}}
{"type": "effect-span", "name": "sqlite", "traceId": "8cd810f51328fa157bb3980cfca3eee8", "spanId": "fbd9e77e832e71a1", "parentSpanId": "977c0e59fca0a36f", "startTimeUnixNano": "1796073635014468387", "endTimeUnixNano": "1796073635015415827", "durationMs": 0.94744, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018464}}
{"type": "effect-span", "name": "sqlite", "traceId": "8cd810f51328fa157bb3980cfca3eee8", "spanId": "a544f9923b47fd9f", "parentSpanId": "977c0e59fca0a36f", "startTimeUnixNano": "1796073635015453838", "endTimeUnixNano": "1796073635016384166", "durationMs": 0.930328, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009006}}
{"type": "effect-span", "name": "sqlite", "traceId": "8cd810f51328fa157bb3980cfca3eee8", "spanId": "85cb56dabecde54d", "parentSpanId": "977c0e59fca0a36f", "startTimeUnixNano": "1796073635029071851", "endTimeUnixNano": "1796073635031294845", "durationMs": 2.222994, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012754}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8cd810f51328fa157bb3980cfca3eee8", "spanId": "977c0e59fca0a36f", "parentSpanId": "2ee113825ca57447", "startTimeUnixNano": "1796073635013675976", "endTimeUnixNano": "1796073635031758290", "durationMs": 18.082314, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8cd810f51328fa157bb3980cfca3eee8", "spanId": "3f6e1bc65cebb744", "parentSpanId": "2ee113825ca57447", "startTimeUnixNano": "1796073635031789789", "endTimeUnixNano": "1796073635032009670", "durationMs": 0.219881, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8cd810f51328fa157bb3980cfca3eee8", "spanId": "2ee113825ca57447", "parentSpanId": "bc3f56b32e464902", "startTimeUnixNano": "1796073635011674877", "endTimeUnixNano": "1796073635032044034", "durationMs": 20.369157, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.339533, "db.connection": "reader", "db.lock_wait_ms": 1.309}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8cd810f51328fa157bb3980cfca3eee8", "spanId": "bc3f56b32e464902", "parentSpanId": "a4fd43b77e7241ab", "startTimeUnixNano": "1796073635011667433", "endTimeUnixNano": "1796073635032071586", "durationMs": 20.404153, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8cd810f51328fa157bb3980cfca3eee8", "spanId": "a4fd43b77e7241ab", "parentSpanId": "e6760e2288e5f04d", "startTimeUnixNano": "1796073635011630645", "endTimeUnixNano": "1796073635032080563", "durationMs": 20.449918, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8cd810f51328fa157bb3980cfca3eee8", "spanId": "e6760e2288e5f04d", "startTimeUnixNano": "1796073635011615927", "endTimeUnixNano": "1796073635032091974", "durationMs": 20.476047, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "328aa084861030643a2e3412a947aa2a", "spanId": "3410a9dd64143d40", "parentSpanId": "7479081adb68093e", "startTimeUnixNano": "1796073635223724786", "endTimeUnixNano": "1796073635223907337", "durationMs": 0.182551, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "328aa084861030643a2e3412a947aa2a", "spanId": "44701a9f627e0d33", "parentSpanId": "e73996de7b9ff8d8", "startTimeUnixNano": "1796073635223938825", "endTimeUnixNano": "1796073635224128981", "durationMs": 0.190156, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004579}}
{"type": "effect-span", "name": "sqlite", "traceId": "328aa084861030643a2e3412a947aa2a", "spanId": "079742324e8bf7b7", "parentSpanId": "e73996de7b9ff8d8", "startTimeUnixNano": "1796073635224191017", "endTimeUnixNano": "1796073635225309046", "durationMs": 1.118029, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01081}}
{"type": "effect-span", "name": "sqlite", "traceId": "328aa084861030643a2e3412a947aa2a", "spanId": "d3325545153a541d", "parentSpanId": "e73996de7b9ff8d8", "startTimeUnixNano": "1796073635225342137", "endTimeUnixNano": "1796073635226473912", "durationMs": 1.131775, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006783}}
{"type": "effect-span", "name": "sqlite", "traceId": "328aa084861030643a2e3412a947aa2a", "spanId": "1ae2aaa792cc02a3", "parentSpanId": "e73996de7b9ff8d8", "startTimeUnixNano": "1796073635233145056", "endTimeUnixNano": "1796073635235214072", "durationMs": 2.069016, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011832}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "328aa084861030643a2e3412a947aa2a", "spanId": "e73996de7b9ff8d8", "parentSpanId": "7479081adb68093e", "startTimeUnixNano": "1796073635223933636", "endTimeUnixNano": "1796073635235485158", "durationMs": 11.551522, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "328aa084861030643a2e3412a947aa2a", "spanId": "492f984596409e83", "parentSpanId": "7479081adb68093e", "startTimeUnixNano": "1796073635235501449", "endTimeUnixNano": "1796073635235829982", "durationMs": 0.328533, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "328aa084861030643a2e3412a947aa2a", "spanId": "7479081adb68093e", "parentSpanId": "dcf3e69f452d6b93", "startTimeUnixNano": "1796073635222328797", "endTimeUnixNano": "1796073635235849319", "durationMs": 13.520522, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.393133, "db.connection": "reader", "db.lock_wait_ms": 1.355}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "328aa084861030643a2e3412a947aa2a", "spanId": "dcf3e69f452d6b93", "parentSpanId": "81e4da3929458f65", "startTimeUnixNano": "1796073635222322295", "endTimeUnixNano": "1796073635235863746", "durationMs": 13.541451, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "328aa084861030643a2e3412a947aa2a", "spanId": "81e4da3929458f65", "parentSpanId": "56510191ee339295", "startTimeUnixNano": "1796073635222298270", "endTimeUnixNano": "1796073635235870829", "durationMs": 13.572559, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "328aa084861030643a2e3412a947aa2a", "spanId": "56510191ee339295", "startTimeUnixNano": "1796073635222285667", "endTimeUnixNano": "1796073635235877762", "durationMs": 13.592095, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "eec5d40ee6e410d54e8425331cd0a591", "spanId": "90605c5a7b7c82f1", "parentSpanId": "e688002920b1257f", "startTimeUnixNano": "1796073636603418192", "endTimeUnixNano": "1796073636603577751", "durationMs": 0.159559, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "eec5d40ee6e410d54e8425331cd0a591", "spanId": "0fe9fa1760189c93", "parentSpanId": "aa8e8cb646186ded", "startTimeUnixNano": "1796073636603620791", "endTimeUnixNano": "1796073636604218207", "durationMs": 0.597416, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00558}}
{"type": "effect-span", "name": "sqlite", "traceId": "eec5d40ee6e410d54e8425331cd0a591", "spanId": "fb0b8bce10963b29", "parentSpanId": "aa8e8cb646186ded", "startTimeUnixNano": "1796073636604293077", "endTimeUnixNano": "1796073636605718220", "durationMs": 1.425143, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008887}}
{"type": "effect-span", "name": "sqlite", "traceId": "eec5d40ee6e410d54e8425331cd0a591", "spanId": "90304999c0abafa2", "parentSpanId": "aa8e8cb646186ded", "startTimeUnixNano": "1796073636605739339", "endTimeUnixNano": "1796073636606745088", "durationMs": 1.005749, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008376}}
{"type": "effect-span", "name": "sqlite", "traceId": "eec5d40ee6e410d54e8425331cd0a591", "spanId": "eacedcf6b6a7273a", "parentSpanId": "aa8e8cb646186ded", "startTimeUnixNano": "1796073636615445514", "endTimeUnixNano": "1796073636617257059", "durationMs": 1.811545, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009087}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "eec5d40ee6e410d54e8425331cd0a591", "spanId": "aa8e8cb646186ded", "parentSpanId": "e688002920b1257f", "startTimeUnixNano": "1796073636603614329", "endTimeUnixNano": "1796073636617565074", "durationMs": 13.950745, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "eec5d40ee6e410d54e8425331cd0a591", "spanId": "1ebb3faf38a46e29", "parentSpanId": "e688002920b1257f", "startTimeUnixNano": "1796073636617582046", "endTimeUnixNano": "1796073636617836241", "durationMs": 0.254195, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "eec5d40ee6e410d54e8425331cd0a591", "spanId": "e688002920b1257f", "parentSpanId": "07d9cac90566cc0f", "startTimeUnixNano": "1796073636601764943", "endTimeUnixNano": "1796073636617856399", "durationMs": 16.091456, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.649543, "db.connection": "reader", "db.lock_wait_ms": 1.619}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "eec5d40ee6e410d54e8425331cd0a591", "spanId": "07d9cac90566cc0f", "parentSpanId": "2d4163bd7a7eb7a3", "startTimeUnixNano": "1796073636601756648", "endTimeUnixNano": "1796073636617871126", "durationMs": 16.114478, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "eec5d40ee6e410d54e8425331cd0a591", "spanId": "2d4163bd7a7eb7a3", "parentSpanId": "aaacf27fa04c9e47", "startTimeUnixNano": "1796073636601721993", "endTimeUnixNano": "1796073636617876737", "durationMs": 16.154744, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "eec5d40ee6e410d54e8425331cd0a591", "spanId": "aaacf27fa04c9e47", "startTimeUnixNano": "1796073636601710241", "endTimeUnixNano": "1796073636617883970", "durationMs": 16.173729, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bd252813802881791e78af46aebd89d8", "spanId": "b89576e0a105502c", "parentSpanId": "0eb9e1271a019412", "startTimeUnixNano": "1796073636804070551", "endTimeUnixNano": "1796073636804345615", "durationMs": 0.275064, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bd252813802881791e78af46aebd89d8", "spanId": "38a5f53f7c534883", "parentSpanId": "2477cc63fdc41513", "startTimeUnixNano": "1796073636804376272", "endTimeUnixNano": "1796073636804533396", "durationMs": 0.157124, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004178}}
{"type": "effect-span", "name": "sqlite", "traceId": "bd252813802881791e78af46aebd89d8", "spanId": "95cd40737391a43a", "parentSpanId": "2477cc63fdc41513", "startTimeUnixNano": "1796073636804595983", "endTimeUnixNano": "1796073636805524317", "durationMs": 0.928334, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007644}}
{"type": "effect-span", "name": "sqlite", "traceId": "bd252813802881791e78af46aebd89d8", "spanId": "4bd12e933c5a6ec0", "parentSpanId": "2477cc63fdc41513", "startTimeUnixNano": "1796073636805560294", "endTimeUnixNano": "1796073636806593204", "durationMs": 1.03291, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007384}}
{"type": "effect-span", "name": "sqlite", "traceId": "bd252813802881791e78af46aebd89d8", "spanId": "c7b66c437e2bf1f4", "parentSpanId": "2477cc63fdc41513", "startTimeUnixNano": "1796073636811997461", "endTimeUnixNano": "1796073636814176072", "durationMs": 2.178611, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013576}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bd252813802881791e78af46aebd89d8", "spanId": "2477cc63fdc41513", "parentSpanId": "0eb9e1271a019412", "startTimeUnixNano": "1796073636804371704", "endTimeUnixNano": "1796073636814498174", "durationMs": 10.12647, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bd252813802881791e78af46aebd89d8", "spanId": "fe1d7da772f52cf8", "parentSpanId": "0eb9e1271a019412", "startTimeUnixNano": "1796073636814519213", "endTimeUnixNano": "1796073636815158868", "durationMs": 0.639655, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bd252813802881791e78af46aebd89d8", "spanId": "0eb9e1271a019412", "parentSpanId": "83735311fe1e0ee2", "startTimeUnixNano": "1796073636802990723", "endTimeUnixNano": "1796073636815175890", "durationMs": 12.185167, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.076712, "db.connection": "reader", "db.lock_wait_ms": 1.051}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bd252813802881791e78af46aebd89d8", "spanId": "83735311fe1e0ee2", "parentSpanId": "a3f54257db4a48d3", "startTimeUnixNano": "1796073636802984502", "endTimeUnixNano": "1796073636815193032", "durationMs": 12.20853, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bd252813802881791e78af46aebd89d8", "spanId": "a3f54257db4a48d3", "parentSpanId": "40e7c0b5f7eab33a", "startTimeUnixNano": "1796073636802959144", "endTimeUnixNano": "1796073636815199093", "durationMs": 12.239949, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bd252813802881791e78af46aebd89d8", "spanId": "40e7c0b5f7eab33a", "startTimeUnixNano": "1796073636802945809", "endTimeUnixNano": "1796073636815206868", "durationMs": 12.261059, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9b19fd8314700d196b9455da6bc4f769", "spanId": "d8cf1f06123c6194", "parentSpanId": "2655c489e4978198", "startTimeUnixNano": "1796073638236921314", "endTimeUnixNano": "1796073638237055385", "durationMs": 0.134071, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9b19fd8314700d196b9455da6bc4f769", "spanId": "12c7669536bbb703", "parentSpanId": "8fde2d4851df4096", "startTimeUnixNano": "1796073638237092043", "endTimeUnixNano": "1796073638237746466", "durationMs": 0.654423, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005851}}
{"type": "effect-span", "name": "sqlite", "traceId": "9b19fd8314700d196b9455da6bc4f769", "spanId": "c6630ad98e187295", "parentSpanId": "8fde2d4851df4096", "startTimeUnixNano": "1796073638237821567", "endTimeUnixNano": "1796073638239363297", "durationMs": 1.54173, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009658}}
{"type": "effect-span", "name": "sqlite", "traceId": "9b19fd8314700d196b9455da6bc4f769", "spanId": "6f6e05ea71e7a9b4", "parentSpanId": "8fde2d4851df4096", "startTimeUnixNano": "1796073638239381201", "endTimeUnixNano": "1796073638244576949", "durationMs": 5.195748, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006822}}
{"type": "effect-span", "name": "sqlite", "traceId": "9b19fd8314700d196b9455da6bc4f769", "spanId": "5029179815227080", "parentSpanId": "8fde2d4851df4096", "startTimeUnixNano": "1796073638253575752", "endTimeUnixNano": "1796073638255799848", "durationMs": 2.224096, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017052}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9b19fd8314700d196b9455da6bc4f769", "spanId": "8fde2d4851df4096", "parentSpanId": "2655c489e4978198", "startTimeUnixNano": "1796073638237086633", "endTimeUnixNano": "1796073638256145083", "durationMs": 19.05845, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9b19fd8314700d196b9455da6bc4f769", "spanId": "801745c839f2df5f", "parentSpanId": "2655c489e4978198", "startTimeUnixNano": "1796073638256165872", "endTimeUnixNano": "1796073638256543277", "durationMs": 0.377405, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9b19fd8314700d196b9455da6bc4f769", "spanId": "2655c489e4978198", "parentSpanId": "1a9be8947de26acc", "startTimeUnixNano": "1796073638234829025", "endTimeUnixNano": "1796073638256580446", "durationMs": 21.751421, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.08728, "db.connection": "reader", "db.lock_wait_ms": 2.051}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9b19fd8314700d196b9455da6bc4f769", "spanId": "1a9be8947de26acc", "parentSpanId": "284b2b50c2bb7df0", "startTimeUnixNano": "1796073638234819076", "endTimeUnixNano": "1796073638256619409", "durationMs": 21.800333, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9b19fd8314700d196b9455da6bc4f769", "spanId": "284b2b50c2bb7df0", "parentSpanId": "9eae7e63f3c3651b", "startTimeUnixNano": "1796073638234775906", "endTimeUnixNano": "1796073638256628045", "durationMs": 21.852139, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9b19fd8314700d196b9455da6bc4f769", "spanId": "9eae7e63f3c3651b", "startTimeUnixNano": "1796073638234760056", "endTimeUnixNano": "1796073638256637423", "durationMs": 21.877367, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c332ca83d2f6a99ef3d1bbf8bf8926f3", "spanId": "49e6a45cbed068c5", "parentSpanId": "165a17f1784e01fc", "startTimeUnixNano": "1796073638474471525", "endTimeUnixNano": "1796073638474708307", "durationMs": 0.236782, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c332ca83d2f6a99ef3d1bbf8bf8926f3", "spanId": "246e825733c2d9b5", "parentSpanId": "95a82165cdbeaf46", "startTimeUnixNano": "1796073638474742381", "endTimeUnixNano": "1796073638474833862", "durationMs": 0.091481, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.003967}}
{"type": "effect-span", "name": "sqlite", "traceId": "c332ca83d2f6a99ef3d1bbf8bf8926f3", "spanId": "1414893aa22c1ba1", "parentSpanId": "95a82165cdbeaf46", "startTimeUnixNano": "1796073638474901428", "endTimeUnixNano": "1796073638476671976", "durationMs": 1.770548, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007885}}
{"type": "effect-span", "name": "sqlite", "traceId": "c332ca83d2f6a99ef3d1bbf8bf8926f3", "spanId": "869bd2b965d99912", "parentSpanId": "95a82165cdbeaf46", "startTimeUnixNano": "1796073638476686624", "endTimeUnixNano": "1796073638478077913", "durationMs": 1.391289, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006592}}
{"type": "effect-span", "name": "sqlite", "traceId": "c332ca83d2f6a99ef3d1bbf8bf8926f3", "spanId": "b8dc640f42d9d4b4", "parentSpanId": "95a82165cdbeaf46", "startTimeUnixNano": "1796073638484826152", "endTimeUnixNano": "1796073638488036430", "durationMs": 3.210278, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016551}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c332ca83d2f6a99ef3d1bbf8bf8926f3", "spanId": "95a82165cdbeaf46", "parentSpanId": "165a17f1784e01fc", "startTimeUnixNano": "1796073638474737191", "endTimeUnixNano": "1796073638488395391", "durationMs": 13.6582, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c332ca83d2f6a99ef3d1bbf8bf8926f3", "spanId": "27f3cfa1a2950f9f", "parentSpanId": "165a17f1784e01fc", "startTimeUnixNano": "1796073638488417332", "endTimeUnixNano": "1796073638488873174", "durationMs": 0.455842, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c332ca83d2f6a99ef3d1bbf8bf8926f3", "spanId": "165a17f1784e01fc", "parentSpanId": "4f1673619c6572d0", "startTimeUnixNano": "1796073638473110712", "endTimeUnixNano": "1796073638488895275", "durationMs": 15.784563, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.357637, "db.connection": "reader", "db.lock_wait_ms": 1.33}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c332ca83d2f6a99ef3d1bbf8bf8926f3", "spanId": "4f1673619c6572d0", "parentSpanId": "651f7ecf89fd1c32", "startTimeUnixNano": "1796073638473100363", "endTimeUnixNano": "1796073638488914411", "durationMs": 15.814048, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c332ca83d2f6a99ef3d1bbf8bf8926f3", "spanId": "651f7ecf89fd1c32", "parentSpanId": "db6423f620aa5cc4", "startTimeUnixNano": "1796073638473055810", "endTimeUnixNano": "1796073638488919771", "durationMs": 15.863961, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c332ca83d2f6a99ef3d1bbf8bf8926f3", "spanId": "db6423f620aa5cc4", "startTimeUnixNano": "1796073638473027908", "endTimeUnixNano": "1796073638488928066", "durationMs": 15.900158, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3a2b9b4dec20eb2c6261ac5f7c0337eb", "spanId": "d4c380cd594aa82b", "parentSpanId": "986b2a9f42cf54d1", "startTimeUnixNano": "1796073639970693534", "endTimeUnixNano": "1796073639971799029", "durationMs": 1.105495, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3a2b9b4dec20eb2c6261ac5f7c0337eb", "spanId": "27c12e5539a032e9", "parentSpanId": "f466256b98f60b3b", "startTimeUnixNano": "1796073639971861857", "endTimeUnixNano": "1796073639972739176", "durationMs": 0.877319, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006191}}
{"type": "effect-span", "name": "sqlite", "traceId": "3a2b9b4dec20eb2c6261ac5f7c0337eb", "spanId": "af67905aaf50501e", "parentSpanId": "f466256b98f60b3b", "startTimeUnixNano": "1796073639972835265", "endTimeUnixNano": "1796073639975751875", "durationMs": 2.91661, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013976}}
{"type": "effect-span", "name": "sqlite", "traceId": "3a2b9b4dec20eb2c6261ac5f7c0337eb", "spanId": "42b0b11c7f8ed320", "parentSpanId": "f466256b98f60b3b", "startTimeUnixNano": "1796073639975778014", "endTimeUnixNano": "1796073639977275322", "durationMs": 1.497308, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.030707}}
{"type": "effect-span", "name": "sqlite", "traceId": "3a2b9b4dec20eb2c6261ac5f7c0337eb", "spanId": "6508bf7a58a8643f", "parentSpanId": "f466256b98f60b3b", "startTimeUnixNano": "1796073639986356309", "endTimeUnixNano": "1796073639988345656", "durationMs": 1.989347, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023714}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3a2b9b4dec20eb2c6261ac5f7c0337eb", "spanId": "f466256b98f60b3b", "parentSpanId": "986b2a9f42cf54d1", "startTimeUnixNano": "1796073639971852920", "endTimeUnixNano": "1796073639988775630", "durationMs": 16.92271, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3a2b9b4dec20eb2c6261ac5f7c0337eb", "spanId": "dd774d60a1989245", "parentSpanId": "986b2a9f42cf54d1", "startTimeUnixNano": "1796073639988809954", "endTimeUnixNano": "1796073639989347528", "durationMs": 0.537574, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3a2b9b4dec20eb2c6261ac5f7c0337eb", "spanId": "986b2a9f42cf54d1", "parentSpanId": "335514749bcfde13", "startTimeUnixNano": "1796073639968714756", "endTimeUnixNano": "1796073639989367455", "durationMs": 20.652699, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.972175, "db.connection": "reader", "db.lock_wait_ms": 1.925}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3a2b9b4dec20eb2c6261ac5f7c0337eb", "spanId": "335514749bcfde13", "parentSpanId": "67101b95dabd8420", "startTimeUnixNano": "1796073639968701001", "endTimeUnixNano": "1796073639989381662", "durationMs": 20.680661, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3a2b9b4dec20eb2c6261ac5f7c0337eb", "spanId": "67101b95dabd8420", "parentSpanId": "da641f7eb36a8cea", "startTimeUnixNano": "1796073639968644655", "endTimeUnixNano": "1796073639989387002", "durationMs": 20.742347, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3a2b9b4dec20eb2c6261ac5f7c0337eb", "spanId": "da641f7eb36a8cea", "startTimeUnixNano": "1796073639968614038", "endTimeUnixNano": "1796073639989396149", "durationMs": 20.782111, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4e816a59deccf56786c6720c4b9e0556", "spanId": "f4924bdf42a4caaa", "parentSpanId": "4756c51a978f3989", "startTimeUnixNano": "1796073640205278166", "endTimeUnixNano": "1796073640205789772", "durationMs": 0.511606, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4e816a59deccf56786c6720c4b9e0556", "spanId": "93debee47f75d7c3", "parentSpanId": "0fcf7ef6260be441", "startTimeUnixNano": "1796073640205851417", "endTimeUnixNano": "1796073640206105271", "durationMs": 0.253854, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007404}}
{"type": "effect-span", "name": "sqlite", "traceId": "4e816a59deccf56786c6720c4b9e0556", "spanId": "31546f89b0fd3493", "parentSpanId": "0fcf7ef6260be441", "startTimeUnixNano": "1796073640206218533", "endTimeUnixNano": "1796073640208005101", "durationMs": 1.786568, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.018865}}
{"type": "effect-span", "name": "sqlite", "traceId": "4e816a59deccf56786c6720c4b9e0556", "spanId": "39ceffc9c3490c01", "parentSpanId": "0fcf7ef6260be441", "startTimeUnixNano": "1796073640208031520", "endTimeUnixNano": "1796073640209908518", "durationMs": 1.876998, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008917}}
{"type": "effect-span", "name": "sqlite", "traceId": "4e816a59deccf56786c6720c4b9e0556", "spanId": "45e3dc3ff52c9e49", "parentSpanId": "0fcf7ef6260be441", "startTimeUnixNano": "1796073640218530277", "endTimeUnixNano": "1796073640220997537", "durationMs": 2.46726, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025208}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4e816a59deccf56786c6720c4b9e0556", "spanId": "0fcf7ef6260be441", "parentSpanId": "4756c51a978f3989", "startTimeUnixNano": "1796073640205842340", "endTimeUnixNano": "1796073640221405570", "durationMs": 15.56323, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4e816a59deccf56786c6720c4b9e0556", "spanId": "92279f3f021575bd", "parentSpanId": "4756c51a978f3989", "startTimeUnixNano": "1796073640221452528", "endTimeUnixNano": "1796073640221880127", "durationMs": 0.427599, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4e816a59deccf56786c6720c4b9e0556", "spanId": "4756c51a978f3989", "parentSpanId": "c0e3b3177a9ae1b0", "startTimeUnixNano": "1796073640203113030", "endTimeUnixNano": "1796073640221899873", "durationMs": 18.786843, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.157381, "db.connection": "reader", "db.lock_wait_ms": 2.123}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4e816a59deccf56786c6720c4b9e0556", "spanId": "c0e3b3177a9ae1b0", "parentSpanId": "91eb2da5d79ca326", "startTimeUnixNano": "1796073640203099615", "endTimeUnixNano": "1796073640221919190", "durationMs": 18.819575, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4e816a59deccf56786c6720c4b9e0556", "spanId": "91eb2da5d79ca326", "parentSpanId": "189d16c31be7b536", "startTimeUnixNano": "1796073640203057356", "endTimeUnixNano": "1796073640221930370", "durationMs": 18.873014, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4e816a59deccf56786c6720c4b9e0556", "spanId": "189d16c31be7b536", "startTimeUnixNano": "1796073640203035215", "endTimeUnixNano": "1796073640221940459", "durationMs": 18.905244, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f71cdcac4f01bda9c646e2e753c937bf", "spanId": "9bd49fdda3bc2f3d", "parentSpanId": "ae6d9cd2915a24c2", "startTimeUnixNano": "1796073641705677732", "endTimeUnixNano": "1796073641705825498", "durationMs": 0.147766, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f71cdcac4f01bda9c646e2e753c937bf", "spanId": "c8d05dbabca3e05a", "parentSpanId": "948dfb593f766994", "startTimeUnixNano": "1796073641705864050", "endTimeUnixNano": "1796073641706493897", "durationMs": 0.629847, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00552}}
{"type": "effect-span", "name": "sqlite", "traceId": "f71cdcac4f01bda9c646e2e753c937bf", "spanId": "68d2d87dc12cae83", "parentSpanId": "948dfb593f766994", "startTimeUnixNano": "1796073641706588514", "endTimeUnixNano": "1796073641708143048", "durationMs": 1.554534, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010409}}
{"type": "effect-span", "name": "sqlite", "traceId": "f71cdcac4f01bda9c646e2e753c937bf", "spanId": "f2bcd10ca2617807", "parentSpanId": "948dfb593f766994", "startTimeUnixNano": "1796073641708162044", "endTimeUnixNano": "1796073641713095492", "durationMs": 4.933448, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008235}}
{"type": "effect-span", "name": "sqlite", "traceId": "f71cdcac4f01bda9c646e2e753c937bf", "spanId": "4dcbd3be700e3d2c", "parentSpanId": "948dfb593f766994", "startTimeUnixNano": "1796073641721118883", "endTimeUnixNano": "1796073641722745142", "durationMs": 1.626259, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018595}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f71cdcac4f01bda9c646e2e753c937bf", "spanId": "948dfb593f766994", "parentSpanId": "ae6d9cd2915a24c2", "startTimeUnixNano": "1796073641705858279", "endTimeUnixNano": "1796073641723083424", "durationMs": 17.225145, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f71cdcac4f01bda9c646e2e753c937bf", "spanId": "c774f19953333e04", "parentSpanId": "ae6d9cd2915a24c2", "startTimeUnixNano": "1796073641723102660", "endTimeUnixNano": "1796073641724142994", "durationMs": 1.040334, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f71cdcac4f01bda9c646e2e753c937bf", "spanId": "ae6d9cd2915a24c2", "parentSpanId": "999aeb4536ba55fc", "startTimeUnixNano": "1796073641703028953", "endTimeUnixNano": "1796073641724174543", "durationMs": 21.14559, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.643239, "db.connection": "reader", "db.lock_wait_ms": 2.598}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f71cdcac4f01bda9c646e2e753c937bf", "spanId": "999aeb4536ba55fc", "parentSpanId": "cc433275e84ec2e1", "startTimeUnixNano": "1796073641703018383", "endTimeUnixNano": "1796073641724194610", "durationMs": 21.176227, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f71cdcac4f01bda9c646e2e753c937bf", "spanId": "cc433275e84ec2e1", "parentSpanId": "4f5d4328b4da4565", "startTimeUnixNano": "1796073641702966616", "endTimeUnixNano": "1796073641724202255", "durationMs": 21.235639, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f71cdcac4f01bda9c646e2e753c937bf", "spanId": "4f5d4328b4da4565", "startTimeUnixNano": "1796073641702945116", "endTimeUnixNano": "1796073641724211031", "durationMs": 21.265915, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0b4e46506d5b801033d704a37b4a8755", "spanId": "3b881b156285d1d3", "parentSpanId": "9d44a7be4f42a8a4", "startTimeUnixNano": "1796073641916176092", "endTimeUnixNano": "1796073641917709167", "durationMs": 1.533075, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b4e46506d5b801033d704a37b4a8755", "spanId": "4ed40dcd29099f39", "parentSpanId": "8b22147cc05f9a47", "startTimeUnixNano": "1796073641917743671", "endTimeUnixNano": "1796073641918090209", "durationMs": 0.346538, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011251}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b4e46506d5b801033d704a37b4a8755", "spanId": "649b5563b480014c", "parentSpanId": "8b22147cc05f9a47", "startTimeUnixNano": "1796073641918163025", "endTimeUnixNano": "1796073641919841231", "durationMs": 1.678206, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008846}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b4e46506d5b801033d704a37b4a8755", "spanId": "2aa8f01d10311df7", "parentSpanId": "8b22147cc05f9a47", "startTimeUnixNano": "1796073641919861098", "endTimeUnixNano": "1796073641921488910", "durationMs": 1.627812, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008135}}
{"type": "effect-span", "name": "sqlite", "traceId": "0b4e46506d5b801033d704a37b4a8755", "spanId": "9eb42bc9f73ca25a", "parentSpanId": "8b22147cc05f9a47", "startTimeUnixNano": "1796073641928427765", "endTimeUnixNano": "1796073641932001112", "durationMs": 3.573347, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.029124}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0b4e46506d5b801033d704a37b4a8755", "spanId": "8b22147cc05f9a47", "parentSpanId": "9d44a7be4f42a8a4", "startTimeUnixNano": "1796073641917738141", "endTimeUnixNano": "1796073641932307945", "durationMs": 14.569804, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0b4e46506d5b801033d704a37b4a8755", "spanId": "dae07aae2cc1fa3a", "parentSpanId": "9d44a7be4f42a8a4", "startTimeUnixNano": "1796073641932323865", "endTimeUnixNano": "1796073641932613696", "durationMs": 0.289831, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0b4e46506d5b801033d704a37b4a8755", "spanId": "9d44a7be4f42a8a4", "parentSpanId": "381d0682b4588413", "startTimeUnixNano": "1796073641914723738", "endTimeUnixNano": "1796073641932642420", "durationMs": 17.918682, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.448758, "db.connection": "reader", "db.lock_wait_ms": 1.415}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0b4e46506d5b801033d704a37b4a8755", "spanId": "381d0682b4588413", "parentSpanId": "d947a72bb19df8a7", "startTimeUnixNano": "1796073641914715303", "endTimeUnixNano": "1796073641932660554", "durationMs": 17.945251, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0b4e46506d5b801033d704a37b4a8755", "spanId": "d947a72bb19df8a7", "parentSpanId": "334f3b559654ddf3", "startTimeUnixNano": "1796073641914678654", "endTimeUnixNano": "1796073641932665393", "durationMs": 17.986739, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0b4e46506d5b801033d704a37b4a8755", "spanId": "334f3b559654ddf3", "startTimeUnixNano": "1796073641914664037", "endTimeUnixNano": "1796073641932671935", "durationMs": 18.007898, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "18ca44f6cc40ab06761d7e7a13df2f14", "spanId": "325849f2ff23ebe7", "parentSpanId": "ba8c9b7d07e00835", "startTimeUnixNano": "1796073643357729376", "endTimeUnixNano": "1796073643358511587", "durationMs": 0.782211, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "18ca44f6cc40ab06761d7e7a13df2f14", "spanId": "5245de9485cb48ee", "parentSpanId": "b1a62be8b5c639d0", "startTimeUnixNano": "1796073643358622985", "endTimeUnixNano": "1796073643359479756", "durationMs": 0.856771, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011883}}
{"type": "effect-span", "name": "sqlite", "traceId": "18ca44f6cc40ab06761d7e7a13df2f14", "spanId": "31b872e95019f958", "parentSpanId": "b1a62be8b5c639d0", "startTimeUnixNano": "1796073643359586426", "endTimeUnixNano": "1796073643361059127", "durationMs": 1.472701, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011972}}
{"type": "effect-span", "name": "sqlite", "traceId": "18ca44f6cc40ab06761d7e7a13df2f14", "spanId": "ff5cd694c93eac53", "parentSpanId": "b1a62be8b5c639d0", "startTimeUnixNano": "1796073643361072422", "endTimeUnixNano": "1796073643362252397", "durationMs": 1.179975, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007775}}
{"type": "effect-span", "name": "sqlite", "traceId": "18ca44f6cc40ab06761d7e7a13df2f14", "spanId": "701453c5b8c84346", "parentSpanId": "b1a62be8b5c639d0", "startTimeUnixNano": "1796073643373986583", "endTimeUnixNano": "1796073643376098790", "durationMs": 2.112207, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014908}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "18ca44f6cc40ab06761d7e7a13df2f14", "spanId": "b1a62be8b5c639d0", "parentSpanId": "ba8c9b7d07e00835", "startTimeUnixNano": "1796073643358605643", "endTimeUnixNano": "1796073643376424468", "durationMs": 17.818825, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "18ca44f6cc40ab06761d7e7a13df2f14", "spanId": "1d8b279fe84fa4e7", "parentSpanId": "ba8c9b7d07e00835", "startTimeUnixNano": "1796073643376459764", "endTimeUnixNano": "1796073643376686218", "durationMs": 0.226454, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "18ca44f6cc40ab06761d7e7a13df2f14", "spanId": "ba8c9b7d07e00835", "parentSpanId": "4bff7abe45b7dfc2", "startTimeUnixNano": "1796073643356085284", "endTimeUnixNano": "1796073643376705534", "durationMs": 20.62025, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.638742, "db.connection": "reader", "db.lock_wait_ms": 1.6}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "18ca44f6cc40ab06761d7e7a13df2f14", "spanId": "4bff7abe45b7dfc2", "parentSpanId": "a37ab14506ff2185", "startTimeUnixNano": "1796073643356074884", "endTimeUnixNano": "1796073643376721003", "durationMs": 20.646119, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "18ca44f6cc40ab06761d7e7a13df2f14", "spanId": "a37ab14506ff2185", "parentSpanId": "c44925fbc9da569b", "startTimeUnixNano": "1796073643356025242", "endTimeUnixNano": "1796073643376726172", "durationMs": 20.70093, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "18ca44f6cc40ab06761d7e7a13df2f14", "spanId": "c44925fbc9da569b", "startTimeUnixNano": "1796073643355995125", "endTimeUnixNano": "1796073643376733516", "durationMs": 20.738391, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2a63bc45b273a9809ef17dedeea107f3", "spanId": "1bcbeaea93baac09", "parentSpanId": "8da036e8b08217bb", "startTimeUnixNano": "1796073643574217079", "endTimeUnixNano": "1796073643574608881", "durationMs": 0.391802, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2a63bc45b273a9809ef17dedeea107f3", "spanId": "ef49a5618ee1b8be", "parentSpanId": "f15b99a02f0bba7b", "startTimeUnixNano": "1796073643574648545", "endTimeUnixNano": "1796073643574747140", "durationMs": 0.098595, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004629}}
{"type": "effect-span", "name": "sqlite", "traceId": "2a63bc45b273a9809ef17dedeea107f3", "spanId": "490e959720741e72", "parentSpanId": "f15b99a02f0bba7b", "startTimeUnixNano": "1796073643574812742", "endTimeUnixNano": "1796073643576674150", "durationMs": 1.861408, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008536}}
{"type": "effect-span", "name": "sqlite", "traceId": "2a63bc45b273a9809ef17dedeea107f3", "spanId": "dc9dd0ab8d02230a", "parentSpanId": "f15b99a02f0bba7b", "startTimeUnixNano": "1796073643576689720", "endTimeUnixNano": "1796073643577761352", "durationMs": 1.071632, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006492}}
{"type": "effect-span", "name": "sqlite", "traceId": "2a63bc45b273a9809ef17dedeea107f3", "spanId": "82ca5a82d8244d35", "parentSpanId": "f15b99a02f0bba7b", "startTimeUnixNano": "1796073643586134408", "endTimeUnixNano": "1796073643587924723", "durationMs": 1.790315, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014116}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2a63bc45b273a9809ef17dedeea107f3", "spanId": "f15b99a02f0bba7b", "parentSpanId": "8da036e8b08217bb", "startTimeUnixNano": "1796073643574643246", "endTimeUnixNano": "1796073643588228290", "durationMs": 13.585044, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2a63bc45b273a9809ef17dedeea107f3", "spanId": "d785426b0338b579", "parentSpanId": "8da036e8b08217bb", "startTimeUnixNano": "1796073643588245813", "endTimeUnixNano": "1796073643589178265", "durationMs": 0.932452, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2a63bc45b273a9809ef17dedeea107f3", "spanId": "8da036e8b08217bb", "parentSpanId": "f57281a4fe969026", "startTimeUnixNano": "1796073643572789872", "endTimeUnixNano": "1796073643589204144", "durationMs": 16.414272, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.423821, "db.connection": "reader", "db.lock_wait_ms": 1.394}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2a63bc45b273a9809ef17dedeea107f3", "spanId": "f57281a4fe969026", "parentSpanId": "092e8083a80676f9", "startTimeUnixNano": "1796073643572781457", "endTimeUnixNano": "1796073643589223329", "durationMs": 16.441872, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2a63bc45b273a9809ef17dedeea107f3", "spanId": "092e8083a80676f9", "parentSpanId": "aaeb3ff5b7f85ce8", "startTimeUnixNano": "1796073643572732876", "endTimeUnixNano": "1796073643589228379", "durationMs": 16.495503, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2a63bc45b273a9809ef17dedeea107f3", "spanId": "aaeb3ff5b7f85ce8", "startTimeUnixNano": "1796073643572718789", "endTimeUnixNano": "1796073643589236123", "durationMs": 16.517334, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7f54f948f6f1ffbe8d186c0a55758a7d", "spanId": "9b4d14b7d77c2be2", "parentSpanId": "cde3706e70772007", "startTimeUnixNano": "1796073645090495802", "endTimeUnixNano": "1796073645091455585", "durationMs": 0.959783, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f54f948f6f1ffbe8d186c0a55758a7d", "spanId": "ed032f6f5d99e3df", "parentSpanId": "1a5515d6bfd07cda", "startTimeUnixNano": "1796073645091524965", "endTimeUnixNano": "1796073645092468328", "durationMs": 0.943363, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007373}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f54f948f6f1ffbe8d186c0a55758a7d", "spanId": "7afc5b2337656029", "parentSpanId": "1a5515d6bfd07cda", "startTimeUnixNano": "1796073645092593381", "endTimeUnixNano": "1796073645093743881", "durationMs": 1.1505, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015098}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f54f948f6f1ffbe8d186c0a55758a7d", "spanId": "87055a266e07e782", "parentSpanId": "1a5515d6bfd07cda", "startTimeUnixNano": "1796073645093759741", "endTimeUnixNano": "1796073645095300460", "durationMs": 1.540719, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007383}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f54f948f6f1ffbe8d186c0a55758a7d", "spanId": "d4ceaf8423b02439", "parentSpanId": "1a5515d6bfd07cda", "startTimeUnixNano": "1796073645104303994", "endTimeUnixNano": "1796073645106126570", "durationMs": 1.822576, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01085}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7f54f948f6f1ffbe8d186c0a55758a7d", "spanId": "1a5515d6bfd07cda", "parentSpanId": "cde3706e70772007", "startTimeUnixNano": "1796073645091515176", "endTimeUnixNano": "1796073645106403928", "durationMs": 14.888752, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7f54f948f6f1ffbe8d186c0a55758a7d", "spanId": "21b8dccba65c8681", "parentSpanId": "cde3706e70772007", "startTimeUnixNano": "1796073645106419577", "endTimeUnixNano": "1796073645106697677", "durationMs": 0.2781, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7f54f948f6f1ffbe8d186c0a55758a7d", "spanId": "cde3706e70772007", "parentSpanId": "e423c58679db8bf1", "startTimeUnixNano": "1796073645089189451", "endTimeUnixNano": "1796073645106713046", "durationMs": 17.523595, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.298716, "db.connection": "reader", "db.lock_wait_ms": 1.266}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7f54f948f6f1ffbe8d186c0a55758a7d", "spanId": "e423c58679db8bf1", "parentSpanId": "a3bf2eb1b9dc9ed6", "startTimeUnixNano": "1796073645089180073", "endTimeUnixNano": "1796073645106726371", "durationMs": 17.546298, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7f54f948f6f1ffbe8d186c0a55758a7d", "spanId": "a3bf2eb1b9dc9ed6", "parentSpanId": "8cb09dcaabbc2207", "startTimeUnixNano": "1796073645089141631", "endTimeUnixNano": "1796073645106731891", "durationMs": 17.59026, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7f54f948f6f1ffbe8d186c0a55758a7d", "spanId": "8cb09dcaabbc2207", "startTimeUnixNano": "1796073645089124169", "endTimeUnixNano": "1796073645106742380", "durationMs": 17.618211, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b94b5a3555424691915377eac719db2d", "spanId": "2ab58367a2c11cc9", "parentSpanId": "c5e5fdbf577afd31", "startTimeUnixNano": "1796073645302466556", "endTimeUnixNano": "1796073645303385814", "durationMs": 0.919258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b94b5a3555424691915377eac719db2d", "spanId": "ee5563cfbec7bfeb", "parentSpanId": "5738a0075d56b5e0", "startTimeUnixNano": "1796073645303506229", "endTimeUnixNano": "1796073645306631068", "durationMs": 3.124839, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007383}}
{"type": "effect-span", "name": "sqlite", "traceId": "b94b5a3555424691915377eac719db2d", "spanId": "f02dbf7f7b86643c", "parentSpanId": "5738a0075d56b5e0", "startTimeUnixNano": "1796073645306804833", "endTimeUnixNano": "1796073645308426032", "durationMs": 1.621199, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015569}}
{"type": "effect-span", "name": "sqlite", "traceId": "b94b5a3555424691915377eac719db2d", "spanId": "d9f514aab2842300", "parentSpanId": "5738a0075d56b5e0", "startTimeUnixNano": "1796073645308479241", "endTimeUnixNano": "1796073645309967673", "durationMs": 1.488432, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015419}}
{"type": "effect-span", "name": "sqlite", "traceId": "b94b5a3555424691915377eac719db2d", "spanId": "02e0a8a8ab95f402", "parentSpanId": "5738a0075d56b5e0", "startTimeUnixNano": "1796073645320144650", "endTimeUnixNano": "1796073645323268968", "durationMs": 3.124318, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015689}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b94b5a3555424691915377eac719db2d", "spanId": "5738a0075d56b5e0", "parentSpanId": "c5e5fdbf577afd31", "startTimeUnixNano": "1796073645303495939", "endTimeUnixNano": "1796073645323575370", "durationMs": 20.079431, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b94b5a3555424691915377eac719db2d", "spanId": "1dfee0c2dd28b56a", "parentSpanId": "c5e5fdbf577afd31", "startTimeUnixNano": "1796073645323601910", "endTimeUnixNano": "1796073645323998341", "durationMs": 0.396431, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b94b5a3555424691915377eac719db2d", "spanId": "c5e5fdbf577afd31", "parentSpanId": "9d405a380588e2c2", "startTimeUnixNano": "1796073645300828455", "endTimeUnixNano": "1796073645324021394", "durationMs": 23.192939, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.630607, "db.connection": "reader", "db.lock_wait_ms": 1.549}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b94b5a3555424691915377eac719db2d", "spanId": "9d405a380588e2c2", "parentSpanId": "30719bf662eeb212", "startTimeUnixNano": "1796073645300814108", "endTimeUnixNano": "1796073645324036592", "durationMs": 23.222484, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b94b5a3555424691915377eac719db2d", "spanId": "30719bf662eeb212", "parentSpanId": "ea523520aceb8880", "startTimeUnixNano": "1796073645300760488", "endTimeUnixNano": "1796073645324044998", "durationMs": 23.28451, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b94b5a3555424691915377eac719db2d", "spanId": "ea523520aceb8880", "startTimeUnixNano": "1796073645300731674", "endTimeUnixNano": "1796073645324064164", "durationMs": 23.33249, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1c301cbc12cfa81a7681f3013b772470", "spanId": "c4652d7016aba11c", "parentSpanId": "e2179897a3affc3a", "startTimeUnixNano": "1796073646795942696", "endTimeUnixNano": "1796073646796664965", "durationMs": 0.722269, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1c301cbc12cfa81a7681f3013b772470", "spanId": "b52f5270ae7a54c8", "parentSpanId": "8494c607e23fdc8d", "startTimeUnixNano": "1796073646796699720", "endTimeUnixNano": "1796073646797479808", "durationMs": 0.780088, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004509}}
{"type": "effect-span", "name": "sqlite", "traceId": "1c301cbc12cfa81a7681f3013b772470", "spanId": "bddee23adbb934cd", "parentSpanId": "8494c607e23fdc8d", "startTimeUnixNano": "1796073646797553375", "endTimeUnixNano": "1796073646799198409", "durationMs": 1.645034, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009137}}
{"type": "effect-span", "name": "sqlite", "traceId": "1c301cbc12cfa81a7681f3013b772470", "spanId": "728f7c2fb22864c2", "parentSpanId": "8494c607e23fdc8d", "startTimeUnixNano": "1796073646799237893", "endTimeUnixNano": "1796073646800881515", "durationMs": 1.643622, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011301}}
{"type": "effect-span", "name": "sqlite", "traceId": "1c301cbc12cfa81a7681f3013b772470", "spanId": "46d398e7cee77a73", "parentSpanId": "8494c607e23fdc8d", "startTimeUnixNano": "1796073646810326544", "endTimeUnixNano": "1796073646812549879", "durationMs": 2.223335, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014737}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1c301cbc12cfa81a7681f3013b772470", "spanId": "8494c607e23fdc8d", "parentSpanId": "e2179897a3affc3a", "startTimeUnixNano": "1796073646796694180", "endTimeUnixNano": "1796073646812887359", "durationMs": 16.193179, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1c301cbc12cfa81a7681f3013b772470", "spanId": "dbbe8a768ef1f3cf", "parentSpanId": "e2179897a3affc3a", "startTimeUnixNano": "1796073646812910322", "endTimeUnixNano": "1796073646813107611", "durationMs": 0.197289, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1c301cbc12cfa81a7681f3013b772470", "spanId": "e2179897a3affc3a", "parentSpanId": "c612d77bdbacddb3", "startTimeUnixNano": "1796073646794528222", "endTimeUnixNano": "1796073646813135813", "durationMs": 18.607591, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.410366, "db.connection": "reader", "db.lock_wait_ms": 1.374}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1c301cbc12cfa81a7681f3013b772470", "spanId": "c612d77bdbacddb3", "parentSpanId": "f52b659dc6fe941e", "startTimeUnixNano": "1796073646794519626", "endTimeUnixNano": "1796073646813154579", "durationMs": 18.634953, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1c301cbc12cfa81a7681f3013b772470", "spanId": "f52b659dc6fe941e", "parentSpanId": "a1fdc4d714356f8b", "startTimeUnixNano": "1796073646794473039", "endTimeUnixNano": "1796073646813161131", "durationMs": 18.688092, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1c301cbc12cfa81a7681f3013b772470", "spanId": "a1fdc4d714356f8b", "startTimeUnixNano": "1796073646794455617", "endTimeUnixNano": "1796073646813169957", "durationMs": 18.71434, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3100cd3835fc17ba2c5f566eff43360f", "spanId": "46585db4a3f73464", "parentSpanId": "8853485171a5935e", "startTimeUnixNano": "1796073647017785914", "endTimeUnixNano": "1796073647018248438", "durationMs": 0.462524, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3100cd3835fc17ba2c5f566eff43360f", "spanId": "1610d0caf2bab212", "parentSpanId": "4ef0ce48be0a2ca5", "startTimeUnixNano": "1796073647018284165", "endTimeUnixNano": "1796073647018412064", "durationMs": 0.127899, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004498}}
{"type": "effect-span", "name": "sqlite", "traceId": "3100cd3835fc17ba2c5f566eff43360f", "spanId": "14acddd0f2e624b5", "parentSpanId": "4ef0ce48be0a2ca5", "startTimeUnixNano": "1796073647018495059", "endTimeUnixNano": "1796073647019929439", "durationMs": 1.43438, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009598}}
{"type": "effect-span", "name": "sqlite", "traceId": "3100cd3835fc17ba2c5f566eff43360f", "spanId": "e97a23c1a894de35", "parentSpanId": "4ef0ce48be0a2ca5", "startTimeUnixNano": "1796073647019947754", "endTimeUnixNano": "1796073647022203549", "durationMs": 2.255795, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006632}}
{"type": "effect-span", "name": "sqlite", "traceId": "3100cd3835fc17ba2c5f566eff43360f", "spanId": "8f2a8e0450ef78e5", "parentSpanId": "4ef0ce48be0a2ca5", "startTimeUnixNano": "1796073647027698477", "endTimeUnixNano": "1796073647029743489", "durationMs": 2.045012, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010049}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3100cd3835fc17ba2c5f566eff43360f", "spanId": "4ef0ce48be0a2ca5", "parentSpanId": "8853485171a5935e", "startTimeUnixNano": "1796073647018278975", "endTimeUnixNano": "1796073647030005358", "durationMs": 11.726383, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3100cd3835fc17ba2c5f566eff43360f", "spanId": "cd074977d781a2a3", "parentSpanId": "8853485171a5935e", "startTimeUnixNano": "1796073647030016479", "endTimeUnixNano": "1796073647030333631", "durationMs": 0.317152, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3100cd3835fc17ba2c5f566eff43360f", "spanId": "8853485171a5935e", "parentSpanId": "e82c0461c7e50576", "startTimeUnixNano": "1796073647016017940", "endTimeUnixNano": "1796073647030360572", "durationMs": 14.342632, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.761451, "db.connection": "reader", "db.lock_wait_ms": 1.726}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3100cd3835fc17ba2c5f566eff43360f", "spanId": "e82c0461c7e50576", "parentSpanId": "d239f7fe93be8a7f", "startTimeUnixNano": "1796073647016008933", "endTimeUnixNano": "1796073647030381020", "durationMs": 14.372087, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3100cd3835fc17ba2c5f566eff43360f", "spanId": "d239f7fe93be8a7f", "parentSpanId": "d4ba4d2b61e95621", "startTimeUnixNano": "1796073647015967746", "endTimeUnixNano": "1796073647030387923", "durationMs": 14.420177, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3100cd3835fc17ba2c5f566eff43360f", "spanId": "d4ba4d2b61e95621", "startTimeUnixNano": "1796073647015941908", "endTimeUnixNano": "1796073647030396018", "durationMs": 14.45411, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cd9387274e661146b109a85fe4fe4afa", "spanId": "092aa07eaff69739", "parentSpanId": "7bb5add2e35be8a6", "startTimeUnixNano": "1796073648534903269", "endTimeUnixNano": "1796073648535745032", "durationMs": 0.841763, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cd9387274e661146b109a85fe4fe4afa", "spanId": "05c827b2f902a28f", "parentSpanId": "68857cb79568b41b", "startTimeUnixNano": "1796073648535801157", "endTimeUnixNano": "1796073648536687123", "durationMs": 0.885966, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007635}}
{"type": "effect-span", "name": "sqlite", "traceId": "cd9387274e661146b109a85fe4fe4afa", "spanId": "44daa466f4ae4651", "parentSpanId": "68857cb79568b41b", "startTimeUnixNano": "1796073648536778454", "endTimeUnixNano": "1796073648538081168", "durationMs": 1.302714, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01086}}
{"type": "effect-span", "name": "sqlite", "traceId": "cd9387274e661146b109a85fe4fe4afa", "spanId": "61215698159fe124", "parentSpanId": "68857cb79568b41b", "startTimeUnixNano": "1796073648538103379", "endTimeUnixNano": "1796073648539254651", "durationMs": 1.151272, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009218}}
{"type": "effect-span", "name": "sqlite", "traceId": "cd9387274e661146b109a85fe4fe4afa", "spanId": "0b34032b7c279d75", "parentSpanId": "68857cb79568b41b", "startTimeUnixNano": "1796073648548517601", "endTimeUnixNano": "1796073648552193890", "durationMs": 3.676289, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 1.315668}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cd9387274e661146b109a85fe4fe4afa", "spanId": "68857cb79568b41b", "parentSpanId": "7bb5add2e35be8a6", "startTimeUnixNano": "1796073648535790748", "endTimeUnixNano": "1796073648552532834", "durationMs": 16.742086, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cd9387274e661146b109a85fe4fe4afa", "spanId": "17b4ad08720756bc", "parentSpanId": "7bb5add2e35be8a6", "startTimeUnixNano": "1796073648552555466", "endTimeUnixNano": "1796073648552768374", "durationMs": 0.212908, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cd9387274e661146b109a85fe4fe4afa", "spanId": "7bb5add2e35be8a6", "parentSpanId": "b6130cf44d4838c1", "startTimeUnixNano": "1796073648533248247", "endTimeUnixNano": "1796073648552793922", "durationMs": 19.545675, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.649091, "db.connection": "reader", "db.lock_wait_ms": 1.606}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cd9387274e661146b109a85fe4fe4afa", "spanId": "b6130cf44d4838c1", "parentSpanId": "00f02adaa78b46e9", "startTimeUnixNano": "1796073648533232627", "endTimeUnixNano": "1796073648552811484", "durationMs": 19.578857, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cd9387274e661146b109a85fe4fe4afa", "spanId": "00f02adaa78b46e9", "parentSpanId": "c0f9eeb11a1c3d38", "startTimeUnixNano": "1796073648533179167", "endTimeUnixNano": "1796073648552822625", "durationMs": 19.643458, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cd9387274e661146b109a85fe4fe4afa", "spanId": "c0f9eeb11a1c3d38", "startTimeUnixNano": "1796073648533160122", "endTimeUnixNano": "1796073648552831963", "durationMs": 19.671841, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d8a6a9d6c6c8be3a493560c5d8f510cd", "spanId": "3e386f9c2d20090f", "parentSpanId": "7d4fe3e793a92e83", "startTimeUnixNano": "1796073648758388046", "endTimeUnixNano": "1796073648758700309", "durationMs": 0.312263, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d8a6a9d6c6c8be3a493560c5d8f510cd", "spanId": "1a993d345afb8f62", "parentSpanId": "3c330d413109243f", "startTimeUnixNano": "1796073648758733832", "endTimeUnixNano": "1796073648758870928", "durationMs": 0.137096, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004328}}
{"type": "effect-span", "name": "sqlite", "traceId": "d8a6a9d6c6c8be3a493560c5d8f510cd", "spanId": "83d65c04c36da9e9", "parentSpanId": "3c330d413109243f", "startTimeUnixNano": "1796073648758931101", "endTimeUnixNano": "1796073648760214278", "durationMs": 1.283177, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008065}}
{"type": "effect-span", "name": "sqlite", "traceId": "d8a6a9d6c6c8be3a493560c5d8f510cd", "spanId": "099da38122836152", "parentSpanId": "3c330d413109243f", "startTimeUnixNano": "1796073648760226501", "endTimeUnixNano": "1796073648761282815", "durationMs": 1.056314, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005861}}
{"type": "effect-span", "name": "sqlite", "traceId": "d8a6a9d6c6c8be3a493560c5d8f510cd", "spanId": "bde0ab9d075f4613", "parentSpanId": "3c330d413109243f", "startTimeUnixNano": "1796073648768802938", "endTimeUnixNano": "1796073648771937446", "durationMs": 3.134508, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.564525}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d8a6a9d6c6c8be3a493560c5d8f510cd", "spanId": "3c330d413109243f", "parentSpanId": "7d4fe3e793a92e83", "startTimeUnixNano": "1796073648758728542", "endTimeUnixNano": "1796073648772229722", "durationMs": 13.50118, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d8a6a9d6c6c8be3a493560c5d8f510cd", "spanId": "b3bd0266099a0634", "parentSpanId": "7d4fe3e793a92e83", "startTimeUnixNano": "1796073648772244319", "endTimeUnixNano": "1796073648774673489", "durationMs": 2.42917, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d8a6a9d6c6c8be3a493560c5d8f510cd", "spanId": "7d4fe3e793a92e83", "parentSpanId": "f78fcea9a9224632", "startTimeUnixNano": "1796073648757288010", "endTimeUnixNano": "1796073648774692073", "durationMs": 17.404063, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.096138, "db.connection": "reader", "db.lock_wait_ms": 1.07}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d8a6a9d6c6c8be3a493560c5d8f510cd", "spanId": "f78fcea9a9224632", "parentSpanId": "0510dd0999c2c6d9", "startTimeUnixNano": "1796073648757280496", "endTimeUnixNano": "1796073648774704787", "durationMs": 17.424291, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d8a6a9d6c6c8be3a493560c5d8f510cd", "spanId": "0510dd0999c2c6d9", "parentSpanId": "c938f3d1af635d33", "startTimeUnixNano": "1796073648757253335", "endTimeUnixNano": "1796073648774709025", "durationMs": 17.45569, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d8a6a9d6c6c8be3a493560c5d8f510cd", "spanId": "c938f3d1af635d33", "startTimeUnixNano": "1796073648757241133", "endTimeUnixNano": "1796073648774714886", "durationMs": 17.473753, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "17d232569096523155910c48ee9d505b", "spanId": "84ce514e8de6e476", "parentSpanId": "434d458e55e5a6c4", "startTimeUnixNano": "1796073650283000602", "endTimeUnixNano": "1796073650283962339", "durationMs": 0.961737, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "17d232569096523155910c48ee9d505b", "spanId": "67e60491788eea94", "parentSpanId": "7597db3f3552f39d", "startTimeUnixNano": "1796073650284017572", "endTimeUnixNano": "1796073650284783644", "durationMs": 0.766072, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007104}}
{"type": "effect-span", "name": "sqlite", "traceId": "17d232569096523155910c48ee9d505b", "spanId": "f455bac11e3a67d9", "parentSpanId": "7597db3f3552f39d", "startTimeUnixNano": "1796073650284854236", "endTimeUnixNano": "1796073650286158303", "durationMs": 1.304067, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008937}}
{"type": "effect-span", "name": "sqlite", "traceId": "17d232569096523155910c48ee9d505b", "spanId": "bcb484c0c1770042", "parentSpanId": "7597db3f3552f39d", "startTimeUnixNano": "1796073650286183159", "endTimeUnixNano": "1796073650287237910", "durationMs": 1.054751, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013235}}
{"type": "effect-span", "name": "sqlite", "traceId": "17d232569096523155910c48ee9d505b", "spanId": "6494087db69cf2ee", "parentSpanId": "7597db3f3552f39d", "startTimeUnixNano": "1796073650304969667", "endTimeUnixNano": "1796073650309647829", "durationMs": 4.678162, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.02173}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "17d232569096523155910c48ee9d505b", "spanId": "7597db3f3552f39d", "parentSpanId": "434d458e55e5a6c4", "startTimeUnixNano": "1796073650284009307", "endTimeUnixNano": "1796073650310171528", "durationMs": 26.162221, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "17d232569096523155910c48ee9d505b", "spanId": "25af6ac4f9a39364", "parentSpanId": "434d458e55e5a6c4", "startTimeUnixNano": "1796073650310200882", "endTimeUnixNano": "1796073650310559773", "durationMs": 0.358891, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "17d232569096523155910c48ee9d505b", "spanId": "434d458e55e5a6c4", "parentSpanId": "775916c05326c3d2", "startTimeUnixNano": "1796073650281296417", "endTimeUnixNano": "1796073650310597974", "durationMs": 29.301557, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.697082, "db.connection": "reader", "db.lock_wait_ms": 1.66}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "17d232569096523155910c48ee9d505b", "spanId": "775916c05326c3d2", "parentSpanId": "4dda7096c0987cbe", "startTimeUnixNano": "1796073650281286418", "endTimeUnixNano": "1796073650310638660", "durationMs": 29.352242, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "17d232569096523155910c48ee9d505b", "spanId": "4dda7096c0987cbe", "parentSpanId": "1b153e9b5fd97ce1", "startTimeUnixNano": "1796073650281230544", "endTimeUnixNano": "1796073650310677052", "durationMs": 29.446508, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "17d232569096523155910c48ee9d505b", "spanId": "1b153e9b5fd97ce1", "startTimeUnixNano": "1796073650281208443", "endTimeUnixNano": "1796073650310692701", "durationMs": 29.484258, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "49dc327061a5543cef99e5cff47e8931", "spanId": "cad39799ccb00223", "parentSpanId": "944089523250402d", "startTimeUnixNano": "1796073650536047764", "endTimeUnixNano": "1796073650536426672", "durationMs": 0.378908, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "49dc327061a5543cef99e5cff47e8931", "spanId": "604f9e18bd6884d4", "parentSpanId": "ec08daf03835a8a2", "startTimeUnixNano": "1796073650536493347", "endTimeUnixNano": "1796073650536719730", "durationMs": 0.226383, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006502}}
{"type": "effect-span", "name": "sqlite", "traceId": "49dc327061a5543cef99e5cff47e8931", "spanId": "d33228fedad1380b", "parentSpanId": "ec08daf03835a8a2", "startTimeUnixNano": "1796073650536805931", "endTimeUnixNano": "1796073650538031331", "durationMs": 1.2254, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011211}}
{"type": "effect-span", "name": "sqlite", "traceId": "49dc327061a5543cef99e5cff47e8931", "spanId": "cc941ea3e451ffdd", "parentSpanId": "ec08daf03835a8a2", "startTimeUnixNano": "1796073650538050747", "endTimeUnixNano": "1796073650539237585", "durationMs": 1.186838, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008396}}
{"type": "effect-span", "name": "sqlite", "traceId": "49dc327061a5543cef99e5cff47e8931", "spanId": "9cbcd71855309d9f", "parentSpanId": "ec08daf03835a8a2", "startTimeUnixNano": "1796073650550758585", "endTimeUnixNano": "1796073650553549501", "durationMs": 2.790916, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011111}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "49dc327061a5543cef99e5cff47e8931", "spanId": "ec08daf03835a8a2", "parentSpanId": "944089523250402d", "startTimeUnixNano": "1796073650536480733", "endTimeUnixNano": "1796073650553898984", "durationMs": 17.418251, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "49dc327061a5543cef99e5cff47e8931", "spanId": "89076f4836e6be7c", "parentSpanId": "944089523250402d", "startTimeUnixNano": "1796073650553946372", "endTimeUnixNano": "1796073650554377167", "durationMs": 0.430795, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "49dc327061a5543cef99e5cff47e8931", "spanId": "944089523250402d", "parentSpanId": "815a90b76d00efdc", "startTimeUnixNano": "1796073650534627039", "endTimeUnixNano": "1796073650554419767", "durationMs": 19.792728, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.416788, "db.connection": "reader", "db.lock_wait_ms": 1.381}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "49dc327061a5543cef99e5cff47e8931", "spanId": "815a90b76d00efdc", "parentSpanId": "172b3fa338b0fb33", "startTimeUnixNano": "1796073650534616560", "endTimeUnixNano": "1796073650554460373", "durationMs": 19.843813, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "49dc327061a5543cef99e5cff47e8931", "spanId": "172b3fa338b0fb33", "parentSpanId": "5c9fb3774e4b6a7c", "startTimeUnixNano": "1796073650534581334", "endTimeUnixNano": "1796073650554474429", "durationMs": 19.893095, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "49dc327061a5543cef99e5cff47e8931", "spanId": "5c9fb3774e4b6a7c", "startTimeUnixNano": "1796073650534564853", "endTimeUnixNano": "1796073650554485800", "durationMs": 19.920947, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fe0a39ba1e8364641a0eddf4584f2dae", "spanId": "f6eb57c2a32cf2c9", "parentSpanId": "406680fd36c1b958", "startTimeUnixNano": "1796073652170444079", "endTimeUnixNano": "1796073652170634154", "durationMs": 0.190075, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fe0a39ba1e8364641a0eddf4584f2dae", "spanId": "0ec79837792ac0ef", "parentSpanId": "b2bb73ec1d1e3820", "startTimeUnixNano": "1796073652170682154", "endTimeUnixNano": "1796073652171357385", "durationMs": 0.675231, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006171}}
{"type": "effect-span", "name": "sqlite", "traceId": "fe0a39ba1e8364641a0eddf4584f2dae", "spanId": "792fdd00c3624cde", "parentSpanId": "b2bb73ec1d1e3820", "startTimeUnixNano": "1796073652171471519", "endTimeUnixNano": "1796073652173173840", "durationMs": 1.702321, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011261}}
{"type": "effect-span", "name": "sqlite", "traceId": "fe0a39ba1e8364641a0eddf4584f2dae", "spanId": "fb6b1d4fd4e75712", "parentSpanId": "b2bb73ec1d1e3820", "startTimeUnixNano": "1796073652173192685", "endTimeUnixNano": "1796073652178957889", "durationMs": 5.765204, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.0108}}
{"type": "effect-span", "name": "sqlite", "traceId": "fe0a39ba1e8364641a0eddf4584f2dae", "spanId": "040ba004375b74e1", "parentSpanId": "b2bb73ec1d1e3820", "startTimeUnixNano": "1796073652190754495", "endTimeUnixNano": "1796073652193837777", "durationMs": 3.083282, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.033051}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fe0a39ba1e8364641a0eddf4584f2dae", "spanId": "b2bb73ec1d1e3820", "parentSpanId": "406680fd36c1b958", "startTimeUnixNano": "1796073652170674629", "endTimeUnixNano": "1796073652194501096", "durationMs": 23.826467, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fe0a39ba1e8364641a0eddf4584f2dae", "spanId": "218c7acccac315a3", "parentSpanId": "406680fd36c1b958", "startTimeUnixNano": "1796073652194559355", "endTimeUnixNano": "1796073652194950156", "durationMs": 0.390801, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fe0a39ba1e8364641a0eddf4584f2dae", "spanId": "406680fd36c1b958", "parentSpanId": "1c1471e8dbba775e", "startTimeUnixNano": "1796073652167788035", "endTimeUnixNano": "1796073652195008324", "durationMs": 27.220289, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.637248, "db.connection": "reader", "db.lock_wait_ms": 2.59}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fe0a39ba1e8364641a0eddf4584f2dae", "spanId": "1c1471e8dbba775e", "parentSpanId": "d9462b3525d85d5e", "startTimeUnixNano": "1796073652167776894", "endTimeUnixNano": "1796073652195050233", "durationMs": 27.273339, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fe0a39ba1e8364641a0eddf4584f2dae", "spanId": "d9462b3525d85d5e", "parentSpanId": "79ce810d91b30955", "startTimeUnixNano": "1796073652167725027", "endTimeUnixNano": "1796073652195068276", "durationMs": 27.343249, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fe0a39ba1e8364641a0eddf4584f2dae", "spanId": "79ce810d91b30955", "startTimeUnixNano": "1796073652167708346", "endTimeUnixNano": "1796073652195088184", "durationMs": 27.379838, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "37fccbc71460d55f2b4ccca1300a1833", "spanId": "99458531672e1922", "parentSpanId": "a8c2c900b7bafe39", "startTimeUnixNano": "1796073652446779314", "endTimeUnixNano": "1796073652446948450", "durationMs": 0.169136, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "37fccbc71460d55f2b4ccca1300a1833", "spanId": "7730a3f830a014cd", "parentSpanId": "7bc0537cefb4e383", "startTimeUnixNano": "1796073652446996170", "endTimeUnixNano": "1796073652447333770", "durationMs": 0.3376, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.0058}}
{"type": "effect-span", "name": "sqlite", "traceId": "37fccbc71460d55f2b4ccca1300a1833", "spanId": "7ef5d129710c12a1", "parentSpanId": "7bc0537cefb4e383", "startTimeUnixNano": "1796073652447418348", "endTimeUnixNano": "1796073652448886993", "durationMs": 1.468645, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009548}}
{"type": "effect-span", "name": "sqlite", "traceId": "37fccbc71460d55f2b4ccca1300a1833", "spanId": "5fcc238ae7ec5840", "parentSpanId": "7bc0537cefb4e383", "startTimeUnixNano": "1796073652448907662", "endTimeUnixNano": "1796073652450739495", "durationMs": 1.831833, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01074}}
{"type": "effect-span", "name": "sqlite", "traceId": "37fccbc71460d55f2b4ccca1300a1833", "spanId": "58c1654533a55db0", "parentSpanId": "7bc0537cefb4e383", "startTimeUnixNano": "1796073652459376286", "endTimeUnixNano": "1796073652462553844", "durationMs": 3.177558, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01626}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "37fccbc71460d55f2b4ccca1300a1833", "spanId": "7bc0537cefb4e383", "parentSpanId": "a8c2c900b7bafe39", "startTimeUnixNano": "1796073652446986562", "endTimeUnixNano": "1796073652463049400", "durationMs": 16.062838, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "37fccbc71460d55f2b4ccca1300a1833", "spanId": "6b624b30d89ef920", "parentSpanId": "a8c2c900b7bafe39", "startTimeUnixNano": "1796073652463082522", "endTimeUnixNano": "1796073652463565705", "durationMs": 0.483183, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "37fccbc71460d55f2b4ccca1300a1833", "spanId": "a8c2c900b7bafe39", "parentSpanId": "ad677adfd6265fd1", "startTimeUnixNano": "1796073652444158747", "endTimeUnixNano": "1796073652463595450", "durationMs": 19.436703, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.612813, "db.connection": "reader", "db.lock_wait_ms": 2.539}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "37fccbc71460d55f2b4ccca1300a1833", "spanId": "ad677adfd6265fd1", "parentSpanId": "115ca5e95a598d49", "startTimeUnixNano": "1796073652444147366", "endTimeUnixNano": "1796073652463619826", "durationMs": 19.47246, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "37fccbc71460d55f2b4ccca1300a1833", "spanId": "115ca5e95a598d49", "parentSpanId": "60eca1de73985b27", "startTimeUnixNano": "1796073652444101600", "endTimeUnixNano": "1796073652463627009", "durationMs": 19.525409, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "37fccbc71460d55f2b4ccca1300a1833", "spanId": "60eca1de73985b27", "startTimeUnixNano": "1796073652444080351", "endTimeUnixNano": "1796073652463636517", "durationMs": 19.556166, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "aa975e8ca559a4620b61545fb369635a", "spanId": "16110ca2afa1e5d6", "parentSpanId": "3080fdefe1b217af", "startTimeUnixNano": "1796073654314003998", "endTimeUnixNano": "1796073654314245479", "durationMs": 0.241481, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa975e8ca559a4620b61545fb369635a", "spanId": "3555f332f6cf3440", "parentSpanId": "81c399305f0a10e5", "startTimeUnixNano": "1796073654314311793", "endTimeUnixNano": "1796073654315317913", "durationMs": 1.00612, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009187}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa975e8ca559a4620b61545fb369635a", "spanId": "6dfabbcec81fca74", "parentSpanId": "81c399305f0a10e5", "startTimeUnixNano": "1796073654315457053", "endTimeUnixNano": "1796073654317479974", "durationMs": 2.022921, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014888}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa975e8ca559a4620b61545fb369635a", "spanId": "ffa2260624b482b7", "parentSpanId": "81c399305f0a10e5", "startTimeUnixNano": "1796073654317546207", "endTimeUnixNano": "1796073654319407276", "durationMs": 1.861069, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013947}}
{"type": "effect-span", "name": "sqlite", "traceId": "aa975e8ca559a4620b61545fb369635a", "spanId": "c29a90a3eaa48404", "parentSpanId": "81c399305f0a10e5", "startTimeUnixNano": "1796073654336982321", "endTimeUnixNano": "1796073654340283330", "durationMs": 3.301009, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012543}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "aa975e8ca559a4620b61545fb369635a", "spanId": "81c399305f0a10e5", "parentSpanId": "3080fdefe1b217af", "startTimeUnixNano": "1796073654314300772", "endTimeUnixNano": "1796073654340654754", "durationMs": 26.353982, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "aa975e8ca559a4620b61545fb369635a", "spanId": "f0824fc6f8fff9ec", "parentSpanId": "3080fdefe1b217af", "startTimeUnixNano": "1796073654340678067", "endTimeUnixNano": "1796073654342301692", "durationMs": 1.623625, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "aa975e8ca559a4620b61545fb369635a", "spanId": "3080fdefe1b217af", "parentSpanId": "0d92cf2436034d63", "startTimeUnixNano": "1796073654311718206", "endTimeUnixNano": "1796073654342336507", "durationMs": 30.618301, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.27963, "db.connection": "reader", "db.lock_wait_ms": 2.241}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "aa975e8ca559a4620b61545fb369635a", "spanId": "0d92cf2436034d63", "parentSpanId": "ca0c26c3574e597e", "startTimeUnixNano": "1796073654311708628", "endTimeUnixNano": "1796073654342355342", "durationMs": 30.646714, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "aa975e8ca559a4620b61545fb369635a", "spanId": "ca0c26c3574e597e", "parentSpanId": "0fdf52e80054a166", "startTimeUnixNano": "1796073654311661620", "endTimeUnixNano": "1796073654342362195", "durationMs": 30.700575, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "aa975e8ca559a4620b61545fb369635a", "spanId": "0fdf52e80054a166", "startTimeUnixNano": "1796073654311644187", "endTimeUnixNano": "1796073654342377103", "durationMs": 30.732916, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ffd581ab8ff878d592f58dfad08c029c", "spanId": "de6fb8410e992906", "parentSpanId": "643fc5c09b0d0d0e", "startTimeUnixNano": "1796073654578788070", "endTimeUnixNano": "1796073654579094683", "durationMs": 0.306613, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ffd581ab8ff878d592f58dfad08c029c", "spanId": "61ded701b3da91d3", "parentSpanId": "9cfbe759807cb348", "startTimeUnixNano": "1796073654579171516", "endTimeUnixNano": "1796073654579520528", "durationMs": 0.349012, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.01039}}
{"type": "effect-span", "name": "sqlite", "traceId": "ffd581ab8ff878d592f58dfad08c029c", "spanId": "7a5d92a444363996", "parentSpanId": "9cfbe759807cb348", "startTimeUnixNano": "1796073654579597512", "endTimeUnixNano": "1796073654581982910", "durationMs": 2.385398, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008967}}
{"type": "effect-span", "name": "sqlite", "traceId": "ffd581ab8ff878d592f58dfad08c029c", "spanId": "30e73bdf27e67f55", "parentSpanId": "9cfbe759807cb348", "startTimeUnixNano": "1796073654582058401", "endTimeUnixNano": "1796073654583737760", "durationMs": 1.679359, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.024977}}
{"type": "effect-span", "name": "sqlite", "traceId": "ffd581ab8ff878d592f58dfad08c029c", "spanId": "4d530a42b53cf37e", "parentSpanId": "9cfbe759807cb348", "startTimeUnixNano": "1796073654591469399", "endTimeUnixNano": "1796073654594303315", "durationMs": 2.833916, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011772}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ffd581ab8ff878d592f58dfad08c029c", "spanId": "9cfbe759807cb348", "parentSpanId": "643fc5c09b0d0d0e", "startTimeUnixNano": "1796073654579158442", "endTimeUnixNano": "1796073654594721156", "durationMs": 15.562714, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ffd581ab8ff878d592f58dfad08c029c", "spanId": "6d1dcf80b3d75187", "parentSpanId": "643fc5c09b0d0d0e", "startTimeUnixNano": "1796073654594747205", "endTimeUnixNano": "1796073654595272316", "durationMs": 0.525111, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ffd581ab8ff878d592f58dfad08c029c", "spanId": "643fc5c09b0d0d0e", "parentSpanId": "4a077a8f516f0a9d", "startTimeUnixNano": "1796073654576627652", "endTimeUnixNano": "1796073654595289588", "durationMs": 18.661936, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.156991, "db.connection": "reader", "db.lock_wait_ms": 2.127}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ffd581ab8ff878d592f58dfad08c029c", "spanId": "4a077a8f516f0a9d", "parentSpanId": "fd194786fc45b660", "startTimeUnixNano": "1796073654576619327", "endTimeUnixNano": "1796073654595306831", "durationMs": 18.687504, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ffd581ab8ff878d592f58dfad08c029c", "spanId": "fd194786fc45b660", "parentSpanId": "36924b3d047313cc", "startTimeUnixNano": "1796073654576580003", "endTimeUnixNano": "1796073654595311860", "durationMs": 18.731857, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ffd581ab8ff878d592f58dfad08c029c", "spanId": "36924b3d047313cc", "startTimeUnixNano": "1796073654576563823", "endTimeUnixNano": "1796073654595319685", "durationMs": 18.755862, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "47f3dabe9205262d4b95bdfdb5daafe7", "spanId": "077be439fb1dd913", "parentSpanId": "5591a7e5cb052b68", "startTimeUnixNano": "1796073656321456739", "endTimeUnixNano": "1796073656321662303", "durationMs": 0.205564, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "47f3dabe9205262d4b95bdfdb5daafe7", "spanId": "ca8401b45a40ad7e", "parentSpanId": "89ae98ac44f45215", "startTimeUnixNano": "1796073656321711214", "endTimeUnixNano": "1796073656322513203", "durationMs": 0.801989, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010089}}
{"type": "effect-span", "name": "sqlite", "traceId": "47f3dabe9205262d4b95bdfdb5daafe7", "spanId": "366999331b1f6e96", "parentSpanId": "89ae98ac44f45215", "startTimeUnixNano": "1796073656322595637", "endTimeUnixNano": "1796073656324114125", "durationMs": 1.518488, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009438}}
{"type": "effect-span", "name": "sqlite", "traceId": "47f3dabe9205262d4b95bdfdb5daafe7", "spanId": "17095a2b166a0647", "parentSpanId": "89ae98ac44f45215", "startTimeUnixNano": "1796073656324129895", "endTimeUnixNano": "1796073656329080938", "durationMs": 4.951043, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007644}}
{"type": "effect-span", "name": "sqlite", "traceId": "47f3dabe9205262d4b95bdfdb5daafe7", "spanId": "3e631a71013d51da", "parentSpanId": "89ae98ac44f45215", "startTimeUnixNano": "1796073656341260370", "endTimeUnixNano": "1796073656344280173", "durationMs": 3.019803, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020278}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "47f3dabe9205262d4b95bdfdb5daafe7", "spanId": "89ae98ac44f45215", "parentSpanId": "5591a7e5cb052b68", "startTimeUnixNano": "1796073656321702518", "endTimeUnixNano": "1796073656344749420", "durationMs": 23.046902, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "47f3dabe9205262d4b95bdfdb5daafe7", "spanId": "b0967c038b207d76", "parentSpanId": "5591a7e5cb052b68", "startTimeUnixNano": "1796073656344783935", "endTimeUnixNano": "1796073656345087673", "durationMs": 0.303738, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "47f3dabe9205262d4b95bdfdb5daafe7", "spanId": "5591a7e5cb052b68", "parentSpanId": "db99a2513ea02fbb", "startTimeUnixNano": "1796073656318335385", "endTimeUnixNano": "1796073656345130232", "durationMs": 26.794847, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.114481, "db.connection": "reader", "db.lock_wait_ms": 3.016}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "47f3dabe9205262d4b95bdfdb5daafe7", "spanId": "db99a2513ea02fbb", "parentSpanId": "e2892850568a782e", "startTimeUnixNano": "1796073656318326639", "endTimeUnixNano": "1796073656345157353", "durationMs": 26.830714, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "47f3dabe9205262d4b95bdfdb5daafe7", "spanId": "e2892850568a782e", "parentSpanId": "a6b7b7f9cf4cfae0", "startTimeUnixNano": "1796073656318283679", "endTimeUnixNano": "1796073656345165278", "durationMs": 26.881599, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "47f3dabe9205262d4b95bdfdb5daafe7", "spanId": "a6b7b7f9cf4cfae0", "startTimeUnixNano": "1796073656318267989", "endTimeUnixNano": "1796073656345175627", "durationMs": 26.907638, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "58761bcb2819f92b1402a79669403f05", "spanId": "07d3409b3ca38879", "parentSpanId": "ebe9fccf3020de36", "startTimeUnixNano": "1796073656596900626", "endTimeUnixNano": "1796073656597412703", "durationMs": 0.512077, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "58761bcb2819f92b1402a79669403f05", "spanId": "834c88fd23aa38cc", "parentSpanId": "029888c406e80def", "startTimeUnixNano": "1796073656597517910", "endTimeUnixNano": "1796073656597709207", "durationMs": 0.191297, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010349}}
{"type": "effect-span", "name": "sqlite", "traceId": "58761bcb2819f92b1402a79669403f05", "spanId": "d2131d9946d06daa", "parentSpanId": "029888c406e80def", "startTimeUnixNano": "1796073656597814885", "endTimeUnixNano": "1796073656600497999", "durationMs": 2.683114, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013365}}
{"type": "effect-span", "name": "sqlite", "traceId": "58761bcb2819f92b1402a79669403f05", "spanId": "bdbeda4d7aa3592f", "parentSpanId": "029888c406e80def", "startTimeUnixNano": "1796073656600524338", "endTimeUnixNano": "1796073656602810080", "durationMs": 2.285742, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012263}}
{"type": "effect-span", "name": "sqlite", "traceId": "58761bcb2819f92b1402a79669403f05", "spanId": "9f2b45a9ab934632", "parentSpanId": "029888c406e80def", "startTimeUnixNano": "1796073656614021092", "endTimeUnixNano": "1796073656617824350", "durationMs": 3.803258, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016421}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "58761bcb2819f92b1402a79669403f05", "spanId": "029888c406e80def", "parentSpanId": "ebe9fccf3020de36", "startTimeUnixNano": "1796073656597507170", "endTimeUnixNano": "1796073656618210191", "durationMs": 20.703021, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "58761bcb2819f92b1402a79669403f05", "spanId": "3ec0b7c6072c1463", "parentSpanId": "ebe9fccf3020de36", "startTimeUnixNano": "1796073656618239997", "endTimeUnixNano": "1796073656619867118", "durationMs": 1.627121, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "58761bcb2819f92b1402a79669403f05", "spanId": "ebe9fccf3020de36", "parentSpanId": "95730529d8c416e5", "startTimeUnixNano": "1796073656594930845", "endTimeUnixNano": "1796073656619885803", "durationMs": 24.954958, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.965333, "db.connection": "reader", "db.lock_wait_ms": 1.931}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "58761bcb2819f92b1402a79669403f05", "spanId": "95730529d8c416e5", "parentSpanId": "2915d6a36170935c", "startTimeUnixNano": "1796073656594917840", "endTimeUnixNano": "1796073656619905139", "durationMs": 24.987299, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "58761bcb2819f92b1402a79669403f05", "spanId": "2915d6a36170935c", "parentSpanId": "97f7f322c5e239b7", "startTimeUnixNano": "1796073656594877224", "endTimeUnixNano": "1796073656619911932", "durationMs": 25.034708, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "58761bcb2819f92b1402a79669403f05", "spanId": "97f7f322c5e239b7", "startTimeUnixNano": "1796073656594854211", "endTimeUnixNano": "1796073656619922341", "durationMs": 25.06813, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "744b40b5c6f80034717c003e933edfe2", "spanId": "412f551d9341c12c", "parentSpanId": "59d95c85f43e0778", "startTimeUnixNano": "1796073658347660644", "endTimeUnixNano": "1796073658348755190", "durationMs": 1.094546, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "744b40b5c6f80034717c003e933edfe2", "spanId": "ded1b6bdc21efc31", "parentSpanId": "f779723a7562213b", "startTimeUnixNano": "1796073658348824770", "endTimeUnixNano": "1796073658349494091", "durationMs": 0.669321, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008365}}
{"type": "effect-span", "name": "sqlite", "traceId": "744b40b5c6f80034717c003e933edfe2", "spanId": "a1bc82147d38237d", "parentSpanId": "f779723a7562213b", "startTimeUnixNano": "1796073658349607603", "endTimeUnixNano": "1796073658351689183", "durationMs": 2.08158, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.015699}}
{"type": "effect-span", "name": "sqlite", "traceId": "744b40b5c6f80034717c003e933edfe2", "spanId": "c431bc001ea63039", "parentSpanId": "f779723a7562213b", "startTimeUnixNano": "1796073658351725341", "endTimeUnixNano": "1796073658357153035", "durationMs": 5.427694, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013956}}
{"type": "effect-span", "name": "sqlite", "traceId": "744b40b5c6f80034717c003e933edfe2", "spanId": "dc6bcaa163d8e297", "parentSpanId": "f779723a7562213b", "startTimeUnixNano": "1796073658370100583", "endTimeUnixNano": "1796073658374118673", "durationMs": 4.01809, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020068}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "744b40b5c6f80034717c003e933edfe2", "spanId": "f779723a7562213b", "parentSpanId": "59d95c85f43e0778", "startTimeUnixNano": "1796073658348814480", "endTimeUnixNano": "1796073658374540291", "durationMs": 25.725811, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "744b40b5c6f80034717c003e933edfe2", "spanId": "3bbac6c2d9172f74", "parentSpanId": "59d95c85f43e0778", "startTimeUnixNano": "1796073658374565137", "endTimeUnixNano": "1796073658374876659", "durationMs": 0.311522, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "744b40b5c6f80034717c003e933edfe2", "spanId": "59d95c85f43e0778", "parentSpanId": "90bc86d0a945a5ac", "startTimeUnixNano": "1796073658345558225", "endTimeUnixNano": "1796073658374919830", "durationMs": 29.361605, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.096769, "db.connection": "reader", "db.lock_wait_ms": 2.045}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "744b40b5c6f80034717c003e933edfe2", "spanId": "90bc86d0a945a5ac", "parentSpanId": "e89b53ae75bb73be", "startTimeUnixNano": "1796073658345537496", "endTimeUnixNano": "1796073658374951369", "durationMs": 29.413873, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "744b40b5c6f80034717c003e933edfe2", "spanId": "e89b53ae75bb73be", "parentSpanId": "a83c6ddc87bad17a", "startTimeUnixNano": "1796073658345413584", "endTimeUnixNano": "1796073658374962720", "durationMs": 29.549136, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "744b40b5c6f80034717c003e933edfe2", "spanId": "a83c6ddc87bad17a", "startTimeUnixNano": "1796073658345382767", "endTimeUnixNano": "1796073658374974993", "durationMs": 29.592226, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d0b3231f101d56d54c6633e585ebd04a", "spanId": "d0d9a55ea3cd9c16", "parentSpanId": "6ebea4a68a0990c3", "startTimeUnixNano": "1796073658602396192", "endTimeUnixNano": "1796073658602673941", "durationMs": 0.277749, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d0b3231f101d56d54c6633e585ebd04a", "spanId": "1522aad6268845be", "parentSpanId": "2e05b5decd9ab402", "startTimeUnixNano": "1796073658602742940", "endTimeUnixNano": "1796073658602954455", "durationMs": 0.211515, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007013}}
{"type": "effect-span", "name": "sqlite", "traceId": "d0b3231f101d56d54c6633e585ebd04a", "spanId": "a0e214991f5f9df1", "parentSpanId": "2e05b5decd9ab402", "startTimeUnixNano": "1796073658603052749", "endTimeUnixNano": "1796073658604756012", "durationMs": 1.703263, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012223}}
{"type": "effect-span", "name": "sqlite", "traceId": "d0b3231f101d56d54c6633e585ebd04a", "spanId": "032cffcad2c1e8c1", "parentSpanId": "2e05b5decd9ab402", "startTimeUnixNano": "1796073658604774647", "endTimeUnixNano": "1796073658606305258", "durationMs": 1.530611, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006322}}
{"type": "effect-span", "name": "sqlite", "traceId": "d0b3231f101d56d54c6633e585ebd04a", "spanId": "446e8d6c55e8ed07", "parentSpanId": "2e05b5decd9ab402", "startTimeUnixNano": "1796073658615102049", "endTimeUnixNano": "1796073658617365870", "durationMs": 2.263821, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018955}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d0b3231f101d56d54c6633e585ebd04a", "spanId": "2e05b5decd9ab402", "parentSpanId": "6ebea4a68a0990c3", "startTimeUnixNano": "1796073658602735857", "endTimeUnixNano": "1796073658617742193", "durationMs": 15.006336, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d0b3231f101d56d54c6633e585ebd04a", "spanId": "e4a01d8101c83d86", "parentSpanId": "6ebea4a68a0990c3", "startTimeUnixNano": "1796073658617768582", "endTimeUnixNano": "1796073658618155495", "durationMs": 0.386913, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d0b3231f101d56d54c6633e585ebd04a", "spanId": "6ebea4a68a0990c3", "parentSpanId": "77840cc5c2a85a83", "startTimeUnixNano": "1796073658600334579", "endTimeUnixNano": "1796073658618176094", "durationMs": 17.841515, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.057175, "db.connection": "reader", "db.lock_wait_ms": 2.019}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d0b3231f101d56d54c6633e585ebd04a", "spanId": "77840cc5c2a85a83", "parentSpanId": "5e3451c68319ef51", "startTimeUnixNano": "1796073658600318028", "endTimeUnixNano": "1796073658618191753", "durationMs": 17.873725, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d0b3231f101d56d54c6633e585ebd04a", "spanId": "5e3451c68319ef51", "parentSpanId": "b66fa5d9f708c797", "startTimeUnixNano": "1796073658600287912", "endTimeUnixNano": "1796073658618199848", "durationMs": 17.911936, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d0b3231f101d56d54c6633e585ebd04a", "spanId": "b66fa5d9f708c797", "startTimeUnixNano": "1796073658600272172", "endTimeUnixNano": "1796073658618209326", "durationMs": 17.937154, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "792d2a2f9be05976ff91c3d530d8e06a", "spanId": "1b3e8f9c700ce46c", "parentSpanId": "c468b646001beb03", "startTimeUnixNano": "1796073660307738571", "endTimeUnixNano": "1796073660307931592", "durationMs": 0.193021, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "792d2a2f9be05976ff91c3d530d8e06a", "spanId": "527fe223acf00f0c", "parentSpanId": "b588f93e1e583170", "startTimeUnixNano": "1796073660307990442", "endTimeUnixNano": "1796073660308863323", "durationMs": 0.872881, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009588}}
{"type": "effect-span", "name": "sqlite", "traceId": "792d2a2f9be05976ff91c3d530d8e06a", "spanId": "1bf62387f42a784d", "parentSpanId": "b588f93e1e583170", "startTimeUnixNano": "1796073660308964051", "endTimeUnixNano": "1796073660310711627", "durationMs": 1.747576, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009829}}
{"type": "effect-span", "name": "sqlite", "traceId": "792d2a2f9be05976ff91c3d530d8e06a", "spanId": "d64b2c79bab3461b", "parentSpanId": "b588f93e1e583170", "startTimeUnixNano": "1796073660310736274", "endTimeUnixNano": "1796073660312408068", "durationMs": 1.671794, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010449}}
{"type": "effect-span", "name": "sqlite", "traceId": "792d2a2f9be05976ff91c3d530d8e06a", "spanId": "9c3b8e437a6e18b7", "parentSpanId": "b588f93e1e583170", "startTimeUnixNano": "1796073660328830762", "endTimeUnixNano": "1796073660331492617", "durationMs": 2.661855, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013886}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "792d2a2f9be05976ff91c3d530d8e06a", "spanId": "b588f93e1e583170", "parentSpanId": "c468b646001beb03", "startTimeUnixNano": "1796073660307982056", "endTimeUnixNano": "1796073660331898305", "durationMs": 23.916249, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "792d2a2f9be05976ff91c3d530d8e06a", "spanId": "61e7e5fbd54c8c96", "parentSpanId": "c468b646001beb03", "startTimeUnixNano": "1796073660331919715", "endTimeUnixNano": "1796073660333080605", "durationMs": 1.16089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "792d2a2f9be05976ff91c3d530d8e06a", "spanId": "c468b646001beb03", "parentSpanId": "61f5754042424fa0", "startTimeUnixNano": "1796073660305240141", "endTimeUnixNano": "1796073660333116502", "durationMs": 27.876361, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.491186, "db.connection": "reader", "db.lock_wait_ms": 2.449}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "792d2a2f9be05976ff91c3d530d8e06a", "spanId": "61f5754042424fa0", "parentSpanId": "49816ccf1de587f5", "startTimeUnixNano": "1796073660305230443", "endTimeUnixNano": "1796073660333142240", "durationMs": 27.911797, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "792d2a2f9be05976ff91c3d530d8e06a", "spanId": "49816ccf1de587f5", "parentSpanId": "4171f77e128268d9", "startTimeUnixNano": "1796073660305180931", "endTimeUnixNano": "1796073660333149033", "durationMs": 27.968102, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "792d2a2f9be05976ff91c3d530d8e06a", "spanId": "4171f77e128268d9", "startTimeUnixNano": "1796073660305162176", "endTimeUnixNano": "1796073660333157910", "durationMs": 27.995734, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "455afa4e9d759273586f4c00443c950e", "spanId": "0b6a8301f8b0cff7", "parentSpanId": "16101f13444e9e36", "startTimeUnixNano": "1796073660568858073", "endTimeUnixNano": "1796073660569284750", "durationMs": 0.426677, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "455afa4e9d759273586f4c00443c950e", "spanId": "d608bd0707faf394", "parentSpanId": "a0dd6544037fb45f", "startTimeUnixNano": "1796073660569326468", "endTimeUnixNano": "1796073660569558572", "durationMs": 0.232104, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004749}}
{"type": "effect-span", "name": "sqlite", "traceId": "455afa4e9d759273586f4c00443c950e", "spanId": "4120f71ca3c33cd4", "parentSpanId": "a0dd6544037fb45f", "startTimeUnixNano": "1796073660569651666", "endTimeUnixNano": "1796073660571618502", "durationMs": 1.966836, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009578}}
{"type": "effect-span", "name": "sqlite", "traceId": "455afa4e9d759273586f4c00443c950e", "spanId": "8c64f807ee6970c4", "parentSpanId": "a0dd6544037fb45f", "startTimeUnixNano": "1796073660571651594", "endTimeUnixNano": "1796073660574078440", "durationMs": 2.426846, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015168}}
{"type": "effect-span", "name": "sqlite", "traceId": "455afa4e9d759273586f4c00443c950e", "spanId": "795314fde9974b79", "parentSpanId": "a0dd6544037fb45f", "startTimeUnixNano": "1796073660591375889", "endTimeUnixNano": "1796073660594475832", "durationMs": 3.099943, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01643}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "455afa4e9d759273586f4c00443c950e", "spanId": "a0dd6544037fb45f", "parentSpanId": "16101f13444e9e36", "startTimeUnixNano": "1796073660569320848", "endTimeUnixNano": "1796073660594875600", "durationMs": 25.554752, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "455afa4e9d759273586f4c00443c950e", "spanId": "1eebdb26bb9b5ee7", "parentSpanId": "16101f13444e9e36", "startTimeUnixNano": "1796073660594894595", "endTimeUnixNano": "1796073660595603019", "durationMs": 0.708424, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "455afa4e9d759273586f4c00443c950e", "spanId": "16101f13444e9e36", "parentSpanId": "d2a0598b62462222", "startTimeUnixNano": "1796073660567039103", "endTimeUnixNano": "1796073660595625812", "durationMs": 28.586709, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.812738, "db.connection": "reader", "db.lock_wait_ms": 1.772}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "455afa4e9d759273586f4c00443c950e", "spanId": "d2a0598b62462222", "parentSpanId": "5c2bb120d9adb98b", "startTimeUnixNano": "1796073660567029996", "endTimeUnixNano": "1796073660595651309", "durationMs": 28.621313, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "455afa4e9d759273586f4c00443c950e", "spanId": "5c2bb120d9adb98b", "parentSpanId": "c99c1071e60848ab", "startTimeUnixNano": "1796073660566994380", "endTimeUnixNano": "1796073660595669674", "durationMs": 28.675294, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "455afa4e9d759273586f4c00443c950e", "spanId": "c99c1071e60848ab", "startTimeUnixNano": "1796073660566972649", "endTimeUnixNano": "1796073660595679963", "durationMs": 28.707314, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b9cf29ce3ce9efe0c4f1de6b919039dc", "spanId": "65f52ea29b3c98fd", "parentSpanId": "3a6079b14753d385", "startTimeUnixNano": "1796073662477050820", "endTimeUnixNano": "1796073662477263317", "durationMs": 0.212497, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9cf29ce3ce9efe0c4f1de6b919039dc", "spanId": "d086108c0940fc72", "parentSpanId": "162530c210f8a12c", "startTimeUnixNano": "1796073662477329862", "endTimeUnixNano": "1796073662478015964", "durationMs": 0.686102, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006742}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9cf29ce3ce9efe0c4f1de6b919039dc", "spanId": "971f2f3315cb5b2e", "parentSpanId": "162530c210f8a12c", "startTimeUnixNano": "1796073662478103898", "endTimeUnixNano": "1796073662479942265", "durationMs": 1.838367, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009939}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9cf29ce3ce9efe0c4f1de6b919039dc", "spanId": "7730f6f4324cc8e7", "parentSpanId": "162530c210f8a12c", "startTimeUnixNano": "1796073662479966049", "endTimeUnixNano": "1796073662481775240", "durationMs": 1.809191, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008245}}
{"type": "effect-span", "name": "sqlite", "traceId": "b9cf29ce3ce9efe0c4f1de6b919039dc", "spanId": "a70aeeb93b27f0f8", "parentSpanId": "162530c210f8a12c", "startTimeUnixNano": "1796073662494256769", "endTimeUnixNano": "1796073662497254432", "durationMs": 2.997663, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012293}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b9cf29ce3ce9efe0c4f1de6b919039dc", "spanId": "162530c210f8a12c", "parentSpanId": "3a6079b14753d385", "startTimeUnixNano": "1796073662477321276", "endTimeUnixNano": "1796073662497648989", "durationMs": 20.327713, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b9cf29ce3ce9efe0c4f1de6b919039dc", "spanId": "b35ab35e03490c30", "parentSpanId": "3a6079b14753d385", "startTimeUnixNano": "1796073662497675930", "endTimeUnixNano": "1796073662498060378", "durationMs": 0.384448, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b9cf29ce3ce9efe0c4f1de6b919039dc", "spanId": "3a6079b14753d385", "parentSpanId": "5325c988b5e2ffa4", "startTimeUnixNano": "1796073662474053137", "endTimeUnixNano": "1796073662498101786", "durationMs": 24.048649, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.991852, "db.connection": "reader", "db.lock_wait_ms": 2.953}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b9cf29ce3ce9efe0c4f1de6b919039dc", "spanId": "5325c988b5e2ffa4", "parentSpanId": "e74fb5b43614ebc2", "startTimeUnixNano": "1796073662474041786", "endTimeUnixNano": "1796073662498125079", "durationMs": 24.083293, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b9cf29ce3ce9efe0c4f1de6b919039dc", "spanId": "e74fb5b43614ebc2", "parentSpanId": "ae1972299066aa08", "startTimeUnixNano": "1796073662473984900", "endTimeUnixNano": "1796073662498132703", "durationMs": 24.147803, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b9cf29ce3ce9efe0c4f1de6b919039dc", "spanId": "ae1972299066aa08", "startTimeUnixNano": "1796073662473963019", "endTimeUnixNano": "1796073662498141851", "durationMs": 24.178832, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ee24e3fd74fe27cd223bf6c5bba6cc21", "spanId": "f25a6f4308c6bdc7", "parentSpanId": "05c0aad3069857ce", "startTimeUnixNano": "1796073662782747692", "endTimeUnixNano": "1796073662782925525", "durationMs": 0.177833, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ee24e3fd74fe27cd223bf6c5bba6cc21", "spanId": "dc0f7e1b433c0811", "parentSpanId": "5c19a70f49ac427e", "startTimeUnixNano": "1796073662782980848", "endTimeUnixNano": "1796073662783284936", "durationMs": 0.304088, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008245}}
{"type": "effect-span", "name": "sqlite", "traceId": "ee24e3fd74fe27cd223bf6c5bba6cc21", "spanId": "2d3b9d0668aeb336", "parentSpanId": "5c19a70f49ac427e", "startTimeUnixNano": "1796073662783412635", "endTimeUnixNano": "1796073662784859129", "durationMs": 1.446494, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012894}}
{"type": "effect-span", "name": "sqlite", "traceId": "ee24e3fd74fe27cd223bf6c5bba6cc21", "spanId": "6e0d713f9f465af5", "parentSpanId": "5c19a70f49ac427e", "startTimeUnixNano": "1796073662784895336", "endTimeUnixNano": "1796073662787902256", "durationMs": 3.00692, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013696}}
{"type": "effect-span", "name": "sqlite", "traceId": "ee24e3fd74fe27cd223bf6c5bba6cc21", "spanId": "d9317acc04501930", "parentSpanId": "5c19a70f49ac427e", "startTimeUnixNano": "1796073662800071421", "endTimeUnixNano": "1796073662801889810", "durationMs": 1.818389, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009398}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ee24e3fd74fe27cd223bf6c5bba6cc21", "spanId": "5c19a70f49ac427e", "parentSpanId": "05c0aad3069857ce", "startTimeUnixNano": "1796073662782972272", "endTimeUnixNano": "1796073662802214417", "durationMs": 19.242145, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ee24e3fd74fe27cd223bf6c5bba6cc21", "spanId": "a59ce82237440304", "parentSpanId": "05c0aad3069857ce", "startTimeUnixNano": "1796073662802232009", "endTimeUnixNano": "1796073662802647957", "durationMs": 0.415948, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ee24e3fd74fe27cd223bf6c5bba6cc21", "spanId": "05c0aad3069857ce", "parentSpanId": "8a6c91de26c86617", "startTimeUnixNano": "1796073662779761211", "endTimeUnixNano": "1796073662802674096", "durationMs": 22.912885, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.98022, "db.connection": "reader", "db.lock_wait_ms": 2.917}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ee24e3fd74fe27cd223bf6c5bba6cc21", "spanId": "8a6c91de26c86617", "parentSpanId": "48126ba104093aef", "startTimeUnixNano": "1796073662779741383", "endTimeUnixNano": "1796073662802693221", "durationMs": 22.951838, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ee24e3fd74fe27cd223bf6c5bba6cc21", "spanId": "48126ba104093aef", "parentSpanId": "5cf13e654e0216ba", "startTimeUnixNano": "1796073662779673256", "endTimeUnixNano": "1796073662802706967", "durationMs": 23.033711, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ee24e3fd74fe27cd223bf6c5bba6cc21", "spanId": "5cf13e654e0216ba", "startTimeUnixNano": "1796073662779631107", "endTimeUnixNano": "1796073662802717026", "durationMs": 23.085919, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b7a3ea69e6ac7e975698f5cf61db09fc", "spanId": "cefe7510dac807f9", "parentSpanId": "893b400e4cb082b4", "startTimeUnixNano": "1796073664562610021", "endTimeUnixNano": "1796073664563545620", "durationMs": 0.935599, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b7a3ea69e6ac7e975698f5cf61db09fc", "spanId": "4606a3280af1c77e", "parentSpanId": "364ff837f0574a51", "startTimeUnixNano": "1796073664563590584", "endTimeUnixNano": "1796073664564407100", "durationMs": 0.816516, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004809}}
{"type": "effect-span", "name": "sqlite", "traceId": "b7a3ea69e6ac7e975698f5cf61db09fc", "spanId": "b7272e4ff25440c4", "parentSpanId": "364ff837f0574a51", "startTimeUnixNano": "1796073664564501096", "endTimeUnixNano": "1796073664566701819", "durationMs": 2.200723, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010269}}
{"type": "effect-span", "name": "sqlite", "traceId": "b7a3ea69e6ac7e975698f5cf61db09fc", "spanId": "ed88c30d48d079d6", "parentSpanId": "364ff837f0574a51", "startTimeUnixNano": "1796073664566733999", "endTimeUnixNano": "1796073664571860000", "durationMs": 5.126001, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013205}}
{"type": "effect-span", "name": "sqlite", "traceId": "b7a3ea69e6ac7e975698f5cf61db09fc", "spanId": "3181a683940c7917", "parentSpanId": "364ff837f0574a51", "startTimeUnixNano": "1796073664580488267", "endTimeUnixNano": "1796073664584100669", "durationMs": 3.612402, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020999}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b7a3ea69e6ac7e975698f5cf61db09fc", "spanId": "364ff837f0574a51", "parentSpanId": "893b400e4cb082b4", "startTimeUnixNano": "1796073664563585003", "endTimeUnixNano": "1796073664584481230", "durationMs": 20.896227, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b7a3ea69e6ac7e975698f5cf61db09fc", "spanId": "6547547887887ef2", "parentSpanId": "893b400e4cb082b4", "startTimeUnixNano": "1796073664584501809", "endTimeUnixNano": "1796073664584797822", "durationMs": 0.296013, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b7a3ea69e6ac7e975698f5cf61db09fc", "spanId": "893b400e4cb082b4", "parentSpanId": "7836a9b1071c4375", "startTimeUnixNano": "1796073664560922437", "endTimeUnixNano": "1796073664584823680", "durationMs": 23.901243, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.682635, "db.connection": "reader", "db.lock_wait_ms": 1.645}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b7a3ea69e6ac7e975698f5cf61db09fc", "spanId": "7836a9b1071c4375", "parentSpanId": "3fb1ad68ae1ab851", "startTimeUnixNano": "1796073664560911136", "endTimeUnixNano": "1796073664584863164", "durationMs": 23.952028, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b7a3ea69e6ac7e975698f5cf61db09fc", "spanId": "3fb1ad68ae1ab851", "parentSpanId": "0e766f8d04f3a252", "startTimeUnixNano": "1796073664560858317", "endTimeUnixNano": "1796073664584870438", "durationMs": 24.012121, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b7a3ea69e6ac7e975698f5cf61db09fc", "spanId": "0e766f8d04f3a252", "startTimeUnixNano": "1796073664560834713", "endTimeUnixNano": "1796073664584880216", "durationMs": 24.045503, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d4ab614eac7a8b5f5f357d078add08b2", "spanId": "ef8514456e6d025a", "parentSpanId": "03b2385d1eb9ebef", "startTimeUnixNano": "1796073664799475766", "endTimeUnixNano": "1796073664799706487", "durationMs": 0.230721, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4ab614eac7a8b5f5f357d078add08b2", "spanId": "3bc162173ad81790", "parentSpanId": "80fc7e5cb8dd9186", "startTimeUnixNano": "1796073664799745971", "endTimeUnixNano": "1796073664799906110", "durationMs": 0.160139, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004649}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4ab614eac7a8b5f5f357d078add08b2", "spanId": "20274efe818d0ce4", "parentSpanId": "80fc7e5cb8dd9186", "startTimeUnixNano": "1796073664799984286", "endTimeUnixNano": "1796073664801590388", "durationMs": 1.606102, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008496}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4ab614eac7a8b5f5f357d078add08b2", "spanId": "40b842a67c7b45ce", "parentSpanId": "80fc7e5cb8dd9186", "startTimeUnixNano": "1796073664801605587", "endTimeUnixNano": "1796073664803479820", "durationMs": 1.874233, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008866}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4ab614eac7a8b5f5f357d078add08b2", "spanId": "e580664e30d14686", "parentSpanId": "80fc7e5cb8dd9186", "startTimeUnixNano": "1796073664813216659", "endTimeUnixNano": "1796073664816655617", "durationMs": 3.438958, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017863}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d4ab614eac7a8b5f5f357d078add08b2", "spanId": "80fc7e5cb8dd9186", "parentSpanId": "03b2385d1eb9ebef", "startTimeUnixNano": "1796073664799740451", "endTimeUnixNano": "1796073664817168014", "durationMs": 17.427563, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d4ab614eac7a8b5f5f357d078add08b2", "spanId": "f96481b58118bb08", "parentSpanId": "03b2385d1eb9ebef", "startTimeUnixNano": "1796073664817199754", "endTimeUnixNano": "1796073664817696793", "durationMs": 0.497039, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d4ab614eac7a8b5f5f357d078add08b2", "spanId": "03b2385d1eb9ebef", "parentSpanId": "97ac3d4fecb34719", "startTimeUnixNano": "1796073664797826774", "endTimeUnixNano": "1796073664817723132", "durationMs": 19.896358, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.643562, "db.connection": "reader", "db.lock_wait_ms": 1.601}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d4ab614eac7a8b5f5f357d078add08b2", "spanId": "97ac3d4fecb34719", "parentSpanId": "3904798947a73fb1", "startTimeUnixNano": "1796073664797816014", "endTimeUnixNano": "1796073664817745063", "durationMs": 19.929049, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d4ab614eac7a8b5f5f357d078add08b2", "spanId": "3904798947a73fb1", "parentSpanId": "ac58c43cdaafe765", "startTimeUnixNano": "1796073664797778063", "endTimeUnixNano": "1796073664817752857", "durationMs": 19.974794, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d4ab614eac7a8b5f5f357d078add08b2", "spanId": "ac58c43cdaafe765", "startTimeUnixNano": "1796073664797761091", "endTimeUnixNano": "1796073664817763447", "durationMs": 20.002356, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7c816f5019f14a520b4b1cdcfb6e960c", "spanId": "3291855e5ba39c93", "parentSpanId": "9ac91c9519ec6251", "startTimeUnixNano": "1796073666520271507", "endTimeUnixNano": "1796073666521084437", "durationMs": 0.81293, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7c816f5019f14a520b4b1cdcfb6e960c", "spanId": "1a338bd79272edf6", "parentSpanId": "72f38ed183000cdb", "startTimeUnixNano": "1796073666521121767", "endTimeUnixNano": "1796073666521900773", "durationMs": 0.779006, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007043}}
{"type": "effect-span", "name": "sqlite", "traceId": "7c816f5019f14a520b4b1cdcfb6e960c", "spanId": "8f1b162a8680b3d4", "parentSpanId": "72f38ed183000cdb", "startTimeUnixNano": "1796073666521989459", "endTimeUnixNano": "1796073666523372824", "durationMs": 1.383365, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009287}}
{"type": "effect-span", "name": "sqlite", "traceId": "7c816f5019f14a520b4b1cdcfb6e960c", "spanId": "12f1410b18858872", "parentSpanId": "72f38ed183000cdb", "startTimeUnixNano": "1796073666523398242", "endTimeUnixNano": "1796073666524940104", "durationMs": 1.541862, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009277}}
{"type": "effect-span", "name": "sqlite", "traceId": "7c816f5019f14a520b4b1cdcfb6e960c", "spanId": "601c6e34f23796d9", "parentSpanId": "72f38ed183000cdb", "startTimeUnixNano": "1796073666540745997", "endTimeUnixNano": "1796073666543100318", "durationMs": 2.354321, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012273}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7c816f5019f14a520b4b1cdcfb6e960c", "spanId": "72f38ed183000cdb", "parentSpanId": "9ac91c9519ec6251", "startTimeUnixNano": "1796073666521115535", "endTimeUnixNano": "1796073666543501548", "durationMs": 22.386013, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7c816f5019f14a520b4b1cdcfb6e960c", "spanId": "69cf40e47320da00", "parentSpanId": "9ac91c9519ec6251", "startTimeUnixNano": "1796073666543526144", "endTimeUnixNano": "1796073666543746125", "durationMs": 0.219981, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7c816f5019f14a520b4b1cdcfb6e960c", "spanId": "9ac91c9519ec6251", "parentSpanId": "3bcecc49c9cf1808", "startTimeUnixNano": "1796073666518661037", "endTimeUnixNano": "1796073666543771332", "durationMs": 25.110295, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.60495, "db.connection": "reader", "db.lock_wait_ms": 1.569}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7c816f5019f14a520b4b1cdcfb6e960c", "spanId": "3bcecc49c9cf1808", "parentSpanId": "669ea4e017bf1818", "startTimeUnixNano": "1796073666518652121", "endTimeUnixNano": "1796073666543793063", "durationMs": 25.140942, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7c816f5019f14a520b4b1cdcfb6e960c", "spanId": "669ea4e017bf1818", "parentSpanId": "9d0c95914153f3ae", "startTimeUnixNano": "1796073666518598601", "endTimeUnixNano": "1796073666543809614", "durationMs": 25.211013, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7c816f5019f14a520b4b1cdcfb6e960c", "spanId": "9d0c95914153f3ae", "startTimeUnixNano": "1796073666518571810", "endTimeUnixNano": "1796073666543825002", "durationMs": 25.253192, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b17b1974e92b5ff50353f41859f75b7f", "spanId": "9038cfa69e047a2d", "parentSpanId": "368a44bd62e92243", "startTimeUnixNano": "1796073666776574976", "endTimeUnixNano": "1796073666777467805", "durationMs": 0.892829, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b17b1974e92b5ff50353f41859f75b7f", "spanId": "48ea6416fea6331d", "parentSpanId": "7d2ec5d2d94e14d1", "startTimeUnixNano": "1796073666777537765", "endTimeUnixNano": "1796073666777870607", "durationMs": 0.332842, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007074}}
{"type": "effect-span", "name": "sqlite", "traceId": "b17b1974e92b5ff50353f41859f75b7f", "spanId": "ccca66a7dda4cc7b", "parentSpanId": "7d2ec5d2d94e14d1", "startTimeUnixNano": "1796073666777948102", "endTimeUnixNano": "1796073666779876607", "durationMs": 1.928505, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010089}}
{"type": "effect-span", "name": "sqlite", "traceId": "b17b1974e92b5ff50353f41859f75b7f", "spanId": "71ccecd77aeff371", "parentSpanId": "7d2ec5d2d94e14d1", "startTimeUnixNano": "1796073666779901844", "endTimeUnixNano": "1796073666781400806", "durationMs": 1.498962, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008306}}
{"type": "effect-span", "name": "sqlite", "traceId": "b17b1974e92b5ff50353f41859f75b7f", "spanId": "a466f55260b3cd31", "parentSpanId": "7d2ec5d2d94e14d1", "startTimeUnixNano": "1796073666789168946", "endTimeUnixNano": "1796073666791345925", "durationMs": 2.176979, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009758}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b17b1974e92b5ff50353f41859f75b7f", "spanId": "7d2ec5d2d94e14d1", "parentSpanId": "368a44bd62e92243", "startTimeUnixNano": "1796073666777523970", "endTimeUnixNano": "1796073666791710717", "durationMs": 14.186747, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b17b1974e92b5ff50353f41859f75b7f", "spanId": "5d368cc71066c3b2", "parentSpanId": "368a44bd62e92243", "startTimeUnixNano": "1796073666791729722", "endTimeUnixNano": "1796073666792215851", "durationMs": 0.486129, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b17b1974e92b5ff50353f41859f75b7f", "spanId": "368a44bd62e92243", "parentSpanId": "c44e0765685f1468", "startTimeUnixNano": "1796073666770371671", "endTimeUnixNano": "1796073666792246117", "durationMs": 21.874446, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 6.198746, "db.connection": "reader", "db.lock_wait_ms": 6.165}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b17b1974e92b5ff50353f41859f75b7f", "spanId": "c44e0765685f1468", "parentSpanId": "aae4a6b75d7eee2a", "startTimeUnixNano": "1796073666770364517", "endTimeUnixNano": "1796073666792269862", "durationMs": 21.905345, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b17b1974e92b5ff50353f41859f75b7f", "spanId": "aae4a6b75d7eee2a", "parentSpanId": "c9c106c6c17e73f7", "startTimeUnixNano": "1796073666770334121", "endTimeUnixNano": "1796073666792276975", "durationMs": 21.942854, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b17b1974e92b5ff50353f41859f75b7f", "spanId": "c9c106c6c17e73f7", "startTimeUnixNano": "1796073666770317960", "endTimeUnixNano": "1796073666792286222", "durationMs": 21.968262, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a741a737bec4487473cf0d48bb9fdc10", "spanId": "dd0992b5d1da0e82", "parentSpanId": "076d4100d4da9950", "startTimeUnixNano": "1796073668479876006", "endTimeUnixNano": "1796073668480030565", "durationMs": 0.154559, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a741a737bec4487473cf0d48bb9fdc10", "spanId": "923555d232947d83", "parentSpanId": "5a1f022b21b59a4c", "startTimeUnixNano": "1796073668480097921", "endTimeUnixNano": "1796073668480730263", "durationMs": 0.632342, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006432}}
{"type": "effect-span", "name": "sqlite", "traceId": "a741a737bec4487473cf0d48bb9fdc10", "spanId": "ba7a819f1f935cf8", "parentSpanId": "5a1f022b21b59a4c", "startTimeUnixNano": "1796073668480815713", "endTimeUnixNano": "1796073668482751571", "durationMs": 1.935858, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009207}}
{"type": "effect-span", "name": "sqlite", "traceId": "a741a737bec4487473cf0d48bb9fdc10", "spanId": "57b4215ee8e623ec", "parentSpanId": "5a1f022b21b59a4c", "startTimeUnixNano": "1796073668482780195", "endTimeUnixNano": "1796073668489005802", "durationMs": 6.225607, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009437}}
{"type": "effect-span", "name": "sqlite", "traceId": "a741a737bec4487473cf0d48bb9fdc10", "spanId": "60e6a6b7b6097063", "parentSpanId": "5a1f022b21b59a4c", "startTimeUnixNano": "1796073668500881039", "endTimeUnixNano": "1796073668503559356", "durationMs": 2.678317, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012574}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a741a737bec4487473cf0d48bb9fdc10", "spanId": "5a1f022b21b59a4c", "parentSpanId": "076d4100d4da9950", "startTimeUnixNano": "1796073668480090818", "endTimeUnixNano": "1796073668503895654", "durationMs": 23.804836, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a741a737bec4487473cf0d48bb9fdc10", "spanId": "db9678dc1074875e", "parentSpanId": "076d4100d4da9950", "startTimeUnixNano": "1796073668503914489", "endTimeUnixNano": "1796073668504644775", "durationMs": 0.730286, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a741a737bec4487473cf0d48bb9fdc10", "spanId": "076d4100d4da9950", "parentSpanId": "0d721d4c975b3185", "startTimeUnixNano": "1796073668477626712", "endTimeUnixNano": "1796073668504686372", "durationMs": 27.05966, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.245096, "db.connection": "reader", "db.lock_wait_ms": 2.206}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a741a737bec4487473cf0d48bb9fdc10", "spanId": "0d721d4c975b3185", "parentSpanId": "e99715aaccba40c0", "startTimeUnixNano": "1796073668477616462", "endTimeUnixNano": "1796073668504711750", "durationMs": 27.095288, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a741a737bec4487473cf0d48bb9fdc10", "spanId": "e99715aaccba40c0", "parentSpanId": "1eba7d4d1a5a1ee3", "startTimeUnixNano": "1796073668477565627", "endTimeUnixNano": "1796073668504719695", "durationMs": 27.154068, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a741a737bec4487473cf0d48bb9fdc10", "spanId": "1eba7d4d1a5a1ee3", "startTimeUnixNano": "1796073668477541342", "endTimeUnixNano": "1796073668504729874", "durationMs": 27.188532, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1442547a0eef2d76bc79ae8066990fad", "spanId": "0718c391979cd6be", "parentSpanId": "5701b24f579c9df8", "startTimeUnixNano": "1796073668773754053", "endTimeUnixNano": "1796073668774275407", "durationMs": 0.521354, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1442547a0eef2d76bc79ae8066990fad", "spanId": "b773f8d7d81ce80e", "parentSpanId": "7e9b9f81d9a882ad", "startTimeUnixNano": "1796073668774322626", "endTimeUnixNano": "1796073668774675044", "durationMs": 0.352418, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006111}}
{"type": "effect-span", "name": "sqlite", "traceId": "1442547a0eef2d76bc79ae8066990fad", "spanId": "024cebaa92366f78", "parentSpanId": "7e9b9f81d9a882ad", "startTimeUnixNano": "1796073668774748091", "endTimeUnixNano": "1796073668776491921", "durationMs": 1.74383, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009788}}
{"type": "effect-span", "name": "sqlite", "traceId": "1442547a0eef2d76bc79ae8066990fad", "spanId": "eb57359493dcf520", "parentSpanId": "7e9b9f81d9a882ad", "startTimeUnixNano": "1796073668776524882", "endTimeUnixNano": "1796073668778726968", "durationMs": 2.202086, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014026}}
{"type": "effect-span", "name": "sqlite", "traceId": "1442547a0eef2d76bc79ae8066990fad", "spanId": "4da34cde7b6599a9", "parentSpanId": "7e9b9f81d9a882ad", "startTimeUnixNano": "1796073668786571431", "endTimeUnixNano": "1796073668789564766", "durationMs": 2.993335, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009027}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1442547a0eef2d76bc79ae8066990fad", "spanId": "7e9b9f81d9a882ad", "parentSpanId": "5701b24f579c9df8", "startTimeUnixNano": "1796073668774314190", "endTimeUnixNano": "1796073668789898320", "durationMs": 15.58413, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1442547a0eef2d76bc79ae8066990fad", "spanId": "3da7c17327bce3a1", "parentSpanId": "5701b24f579c9df8", "startTimeUnixNano": "1796073668789920020", "endTimeUnixNano": "1796073668790270275", "durationMs": 0.350255, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1442547a0eef2d76bc79ae8066990fad", "spanId": "5701b24f579c9df8", "parentSpanId": "8411a33202ff5c65", "startTimeUnixNano": "1796073668772517041", "endTimeUnixNano": "1796073668790297065", "durationMs": 17.780024, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.233555, "db.connection": "reader", "db.lock_wait_ms": 1.203}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1442547a0eef2d76bc79ae8066990fad", "spanId": "8411a33202ff5c65", "parentSpanId": "2c097d03fe3c166e", "startTimeUnixNano": "1796073668772508445", "endTimeUnixNano": "1796073668790313366", "durationMs": 17.804921, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1442547a0eef2d76bc79ae8066990fad", "spanId": "2c097d03fe3c166e", "parentSpanId": "6eec0c6f41dc546e", "startTimeUnixNano": "1796073668772481014", "endTimeUnixNano": "1796073668790322623", "durationMs": 17.841609, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1442547a0eef2d76bc79ae8066990fad", "spanId": "6eec0c6f41dc546e", "startTimeUnixNano": "1796073668772466687", "endTimeUnixNano": "1796073668790332622", "durationMs": 17.865935, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "dc322a874bd64998448bed660d829be6", "spanId": "e8396882171ad22e", "parentSpanId": "fd0e231e14de5702", "startTimeUnixNano": "1796073670616919729", "endTimeUnixNano": "1796073670617778073", "durationMs": 0.858344, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "dc322a874bd64998448bed660d829be6", "spanId": "1746ac42a4f6037e", "parentSpanId": "fadb8a04b3e915a2", "startTimeUnixNano": "1796073670617815613", "endTimeUnixNano": "1796073670618343099", "durationMs": 0.527486, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00544}}
{"type": "effect-span", "name": "sqlite", "traceId": "dc322a874bd64998448bed660d829be6", "spanId": "2c100ba4586d2197", "parentSpanId": "fadb8a04b3e915a2", "startTimeUnixNano": "1796073670618425193", "endTimeUnixNano": "1796073670620586863", "durationMs": 2.16167, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.023674}}
{"type": "effect-span", "name": "sqlite", "traceId": "dc322a874bd64998448bed660d829be6", "spanId": "7c89a8333db6827b", "parentSpanId": "fadb8a04b3e915a2", "startTimeUnixNano": "1796073670620615347", "endTimeUnixNano": "1796073670623747802", "durationMs": 3.132455, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011401}}
{"type": "effect-span", "name": "sqlite", "traceId": "dc322a874bd64998448bed660d829be6", "spanId": "cbb0059572d73d41", "parentSpanId": "fadb8a04b3e915a2", "startTimeUnixNano": "1796073670639607497", "endTimeUnixNano": "1796073670641796960", "durationMs": 2.189463, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01072}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "dc322a874bd64998448bed660d829be6", "spanId": "fadb8a04b3e915a2", "parentSpanId": "fd0e231e14de5702", "startTimeUnixNano": "1796073670617809642", "endTimeUnixNano": "1796073670642120054", "durationMs": 24.310412, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "dc322a874bd64998448bed660d829be6", "spanId": "87092f8dd83f1510", "parentSpanId": "fd0e231e14de5702", "startTimeUnixNano": "1796073670642136565", "endTimeUnixNano": "1796073670643819932", "durationMs": 1.683367, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "dc322a874bd64998448bed660d829be6", "spanId": "fd0e231e14de5702", "parentSpanId": "ff35ae4769313d1b", "startTimeUnixNano": "1796073670615171831", "endTimeUnixNano": "1796073670643846611", "durationMs": 28.67478, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.741466, "db.connection": "reader", "db.lock_wait_ms": 1.706}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "dc322a874bd64998448bed660d829be6", "spanId": "ff35ae4769313d1b", "parentSpanId": "1c6601a780ca812c", "startTimeUnixNano": "1796073670615161191", "endTimeUnixNano": "1796073670643867671", "durationMs": 28.70648, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "dc322a874bd64998448bed660d829be6", "spanId": "1c6601a780ca812c", "parentSpanId": "c472594d5ca7d87d", "startTimeUnixNano": "1796073670615118682", "endTimeUnixNano": "1796073670643875846", "durationMs": 28.757164, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "dc322a874bd64998448bed660d829be6", "spanId": "c472594d5ca7d87d", "startTimeUnixNano": "1796073670615103884", "endTimeUnixNano": "1796073670643884753", "durationMs": 28.780869, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8bf7df873553ab3db50674375cc043da", "spanId": "db2d3c67bf6d30c9", "parentSpanId": "581a2993bd65a66d", "startTimeUnixNano": "1796073670876509985", "endTimeUnixNano": "1796073670877139532", "durationMs": 0.629547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8bf7df873553ab3db50674375cc043da", "spanId": "da0d0a45dd1104d3", "parentSpanId": "a80e60bc6341bb07", "startTimeUnixNano": "1796073670877187211", "endTimeUnixNano": "1796073670880174956", "durationMs": 2.987745, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00518}}
{"type": "effect-span", "name": "sqlite", "traceId": "8bf7df873553ab3db50674375cc043da", "spanId": "e40a58e4c2c30736", "parentSpanId": "a80e60bc6341bb07", "startTimeUnixNano": "1796073670880291434", "endTimeUnixNano": "1796073670882521041", "durationMs": 2.229607, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010629}}
{"type": "effect-span", "name": "sqlite", "traceId": "8bf7df873553ab3db50674375cc043da", "spanId": "5b5be9081d91e429", "parentSpanId": "a80e60bc6341bb07", "startTimeUnixNano": "1796073670882536600", "endTimeUnixNano": "1796073670884162249", "durationMs": 1.625649, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006903}}
{"type": "effect-span", "name": "sqlite", "traceId": "8bf7df873553ab3db50674375cc043da", "spanId": "7804ea055c17cc19", "parentSpanId": "a80e60bc6341bb07", "startTimeUnixNano": "1796073670892500666", "endTimeUnixNano": "1796073670895573439", "durationMs": 3.072773, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011922}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8bf7df873553ab3db50674375cc043da", "spanId": "a80e60bc6341bb07", "parentSpanId": "581a2993bd65a66d", "startTimeUnixNano": "1796073670877180378", "endTimeUnixNano": "1796073670895974469", "durationMs": 18.794091, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8bf7df873553ab3db50674375cc043da", "spanId": "b9298e76fe407d62", "parentSpanId": "581a2993bd65a66d", "startTimeUnixNano": "1796073670895996140", "endTimeUnixNano": "1796073670896272737", "durationMs": 0.276597, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8bf7df873553ab3db50674375cc043da", "spanId": "581a2993bd65a66d", "parentSpanId": "528eb5d8d3f7c4f6", "startTimeUnixNano": "1796073670874340810", "endTimeUnixNano": "1796073670896305217", "durationMs": 21.964407, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.16126, "db.connection": "reader", "db.lock_wait_ms": 2.119}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8bf7df873553ab3db50674375cc043da", "spanId": "528eb5d8d3f7c4f6", "parentSpanId": "c26811f5d28ba532", "startTimeUnixNano": "1796073670874329329", "endTimeUnixNano": "1796073670896331727", "durationMs": 22.002398, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8bf7df873553ab3db50674375cc043da", "spanId": "c26811f5d28ba532", "parentSpanId": "d7714c61b7b9b5c3", "startTimeUnixNano": "1796073670874284305", "endTimeUnixNano": "1796073670896342026", "durationMs": 22.057721, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8bf7df873553ab3db50674375cc043da", "spanId": "d7714c61b7b9b5c3", "startTimeUnixNano": "1796073670874260731", "endTimeUnixNano": "1796073670896358627", "durationMs": 22.097896, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a7a5eb722774f275cd38712b9c720e15", "spanId": "e99444b1160aa971", "parentSpanId": "0acd7e591afdb8ec", "startTimeUnixNano": "1796073672662552975", "endTimeUnixNano": "1796073672663696002", "durationMs": 1.143027, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a7a5eb722774f275cd38712b9c720e15", "spanId": "7533a9568fb42992", "parentSpanId": "a1731b7de9fc8070", "startTimeUnixNano": "1796073672663747077", "endTimeUnixNano": "1796073672664600983", "durationMs": 0.853906, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007494}}
{"type": "effect-span", "name": "sqlite", "traceId": "a7a5eb722774f275cd38712b9c720e15", "spanId": "a7c396f29bc6865d", "parentSpanId": "a1731b7de9fc8070", "startTimeUnixNano": "1796073672664688116", "endTimeUnixNano": "1796073672666669660", "durationMs": 1.981544, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01075}}
{"type": "effect-span", "name": "sqlite", "traceId": "a7a5eb722774f275cd38712b9c720e15", "spanId": "50954c5754b69c64", "parentSpanId": "a1731b7de9fc8070", "startTimeUnixNano": "1796073672666686993", "endTimeUnixNano": "1796073672671635182", "durationMs": 4.948189, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010229}}
{"type": "effect-span", "name": "sqlite", "traceId": "a7a5eb722774f275cd38712b9c720e15", "spanId": "6b77750ec899610e", "parentSpanId": "a1731b7de9fc8070", "startTimeUnixNano": "1796073672682030183", "endTimeUnixNano": "1796073672685002349", "durationMs": 2.972166, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012243}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a7a5eb722774f275cd38712b9c720e15", "spanId": "a1731b7de9fc8070", "parentSpanId": "0acd7e591afdb8ec", "startTimeUnixNano": "1796073672663740114", "endTimeUnixNano": "1796073672685600467", "durationMs": 21.860353, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a7a5eb722774f275cd38712b9c720e15", "spanId": "28e09708b53bf067", "parentSpanId": "0acd7e591afdb8ec", "startTimeUnixNano": "1796073672685628109", "endTimeUnixNano": "1796073672685982451", "durationMs": 0.354342, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a7a5eb722774f275cd38712b9c720e15", "spanId": "0acd7e591afdb8ec", "parentSpanId": "901a6d5375cc8791", "startTimeUnixNano": "1796073672660069793", "endTimeUnixNano": "1796073672686015734", "durationMs": 25.945941, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.474235, "db.connection": "reader", "db.lock_wait_ms": 2.425}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a7a5eb722774f275cd38712b9c720e15", "spanId": "901a6d5375cc8791", "parentSpanId": "4f7c5f0173cc5382", "startTimeUnixNano": "1796073672660053853", "endTimeUnixNano": "1796073672686048745", "durationMs": 25.994892, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a7a5eb722774f275cd38712b9c720e15", "spanId": "4f7c5f0173cc5382", "parentSpanId": "c4bfe059b354e879", "startTimeUnixNano": "1796073672659990755", "endTimeUnixNano": "1796073672686057682", "durationMs": 26.066927, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a7a5eb722774f275cd38712b9c720e15", "spanId": "c4bfe059b354e879", "startTimeUnixNano": "1796073672659965448", "endTimeUnixNano": "1796073672686074724", "durationMs": 26.109276, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c6fe85d8af3121e86211f10bc0ca0e1c", "spanId": "c4bb36c87373b241", "parentSpanId": "f532414ab9aea436", "startTimeUnixNano": "1796073672987026379", "endTimeUnixNano": "1796073672987725155", "durationMs": 0.698776, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c6fe85d8af3121e86211f10bc0ca0e1c", "spanId": "99ce8e2cdc320dfe", "parentSpanId": "1a184b65be07c0d1", "startTimeUnixNano": "1796073672987761864", "endTimeUnixNano": "1796073672988027621", "durationMs": 0.265757, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004979}}
{"type": "effect-span", "name": "sqlite", "traceId": "c6fe85d8af3121e86211f10bc0ca0e1c", "spanId": "f3c0c3ef8ef6fae4", "parentSpanId": "1a184b65be07c0d1", "startTimeUnixNano": "1796073672988113411", "endTimeUnixNano": "1796073672990403101", "durationMs": 2.28969, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010079}}
{"type": "effect-span", "name": "sqlite", "traceId": "c6fe85d8af3121e86211f10bc0ca0e1c", "spanId": "17d5b18cc6e573f7", "parentSpanId": "1a184b65be07c0d1", "startTimeUnixNano": "1796073672990425273", "endTimeUnixNano": "1796073672992759095", "durationMs": 2.333822, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.022913}}
{"type": "effect-span", "name": "sqlite", "traceId": "c6fe85d8af3121e86211f10bc0ca0e1c", "spanId": "69df0357e6bf0523", "parentSpanId": "1a184b65be07c0d1", "startTimeUnixNano": "1796073673004006991", "endTimeUnixNano": "1796073673009793388", "durationMs": 5.786397, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.024856}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c6fe85d8af3121e86211f10bc0ca0e1c", "spanId": "1a184b65be07c0d1", "parentSpanId": "f532414ab9aea436", "startTimeUnixNano": "1796073672987756304", "endTimeUnixNano": "1796073673010290046", "durationMs": 22.533742, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c6fe85d8af3121e86211f10bc0ca0e1c", "spanId": "e4f77f52583f1c10", "parentSpanId": "f532414ab9aea436", "startTimeUnixNano": "1796073673010323839", "endTimeUnixNano": "1796073673011461366", "durationMs": 1.137527, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c6fe85d8af3121e86211f10bc0ca0e1c", "spanId": "f532414ab9aea436", "parentSpanId": "3fd4644556c99c0f", "startTimeUnixNano": "1796073672981649178", "endTimeUnixNano": "1796073673011490380", "durationMs": 29.841202, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 5.368735, "db.connection": "reader", "db.lock_wait_ms": 5.252}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c6fe85d8af3121e86211f10bc0ca0e1c", "spanId": "3fd4644556c99c0f", "parentSpanId": "b381de532182dbe2", "startTimeUnixNano": "1796073672981637005", "endTimeUnixNano": "1796073673011514796", "durationMs": 29.877791, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c6fe85d8af3121e86211f10bc0ca0e1c", "spanId": "b381de532182dbe2", "parentSpanId": "488c1cbb236a5a78", "startTimeUnixNano": "1796073672981580740", "endTimeUnixNano": "1796073673011521248", "durationMs": 29.940508, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c6fe85d8af3121e86211f10bc0ca0e1c", "spanId": "488c1cbb236a5a78", "startTimeUnixNano": "1796073672981560953", "endTimeUnixNano": "1796073673011531807", "durationMs": 29.970854, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "214f4f90da96d71cd9fcd842a0c7af45", "spanId": "32273fdf6ea86172", "parentSpanId": "35f36390946fe175", "startTimeUnixNano": "1796073674783303701", "endTimeUnixNano": "1796073674783508343", "durationMs": 0.204642, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "214f4f90da96d71cd9fcd842a0c7af45", "spanId": "4325dda401b5abc0", "parentSpanId": "0fa9dba4e1c1877d", "startTimeUnixNano": "1796073674783554319", "endTimeUnixNano": "1796073674784265158", "durationMs": 0.710839, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006302}}
{"type": "effect-span", "name": "sqlite", "traceId": "214f4f90da96d71cd9fcd842a0c7af45", "spanId": "fc43b40a06425a49", "parentSpanId": "0fa9dba4e1c1877d", "startTimeUnixNano": "1796073674784357831", "endTimeUnixNano": "1796073674786031179", "durationMs": 1.673348, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009829}}
{"type": "effect-span", "name": "sqlite", "traceId": "214f4f90da96d71cd9fcd842a0c7af45", "spanId": "e98d32f06236e466", "parentSpanId": "0fa9dba4e1c1877d", "startTimeUnixNano": "1796073674786054082", "endTimeUnixNano": "1796073674791651836", "durationMs": 5.597754, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009779}}
{"type": "effect-span", "name": "sqlite", "traceId": "214f4f90da96d71cd9fcd842a0c7af45", "spanId": "2e331178687aed21", "parentSpanId": "0fa9dba4e1c1877d", "startTimeUnixNano": "1796073674803135824", "endTimeUnixNano": "1796073674805775999", "durationMs": 2.640175, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013004}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "214f4f90da96d71cd9fcd842a0c7af45", "spanId": "0fa9dba4e1c1877d", "parentSpanId": "35f36390946fe175", "startTimeUnixNano": "1796073674783547737", "endTimeUnixNano": "1796073674806243032", "durationMs": 22.695295, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "214f4f90da96d71cd9fcd842a0c7af45", "spanId": "242de2361598e0d8", "parentSpanId": "35f36390946fe175", "startTimeUnixNano": "1796073674806276675", "endTimeUnixNano": "1796073674807034782", "durationMs": 0.758107, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "214f4f90da96d71cd9fcd842a0c7af45", "spanId": "35f36390946fe175", "parentSpanId": "5cae10d56ad4f37a", "startTimeUnixNano": "1796073674779992671", "endTimeUnixNano": "1796073674807073655", "durationMs": 27.080984, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.303566, "db.connection": "reader", "db.lock_wait_ms": 3.254}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "214f4f90da96d71cd9fcd842a0c7af45", "spanId": "5cae10d56ad4f37a", "parentSpanId": "efcdd7b1c5397b52", "startTimeUnixNano": "1796073674779982092", "endTimeUnixNano": "1796073674807101006", "durationMs": 27.118914, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "214f4f90da96d71cd9fcd842a0c7af45", "spanId": "efcdd7b1c5397b52", "parentSpanId": "6c3f947fb7318ab9", "startTimeUnixNano": "1796073674779931437", "endTimeUnixNano": "1796073674807108771", "durationMs": 27.177334, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "214f4f90da96d71cd9fcd842a0c7af45", "spanId": "6c3f947fb7318ab9", "startTimeUnixNano": "1796073674779915958", "endTimeUnixNano": "1796073674807118940", "durationMs": 27.202982, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f0df1b17c609336bd158ff4bb9b6295c", "spanId": "1a0e1d83951c60bb", "parentSpanId": "2ed6ad5c1d604730", "startTimeUnixNano": "1796073675063072705", "endTimeUnixNano": "1796073675063409815", "durationMs": 0.33711, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f0df1b17c609336bd158ff4bb9b6295c", "spanId": "e8bcaf98ae3d24e1", "parentSpanId": "05bbaf4999cf97b4", "startTimeUnixNano": "1796073675063462924", "endTimeUnixNano": "1796073675063644924", "durationMs": 0.182, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.0055}}
{"type": "effect-span", "name": "sqlite", "traceId": "f0df1b17c609336bd158ff4bb9b6295c", "spanId": "3c2e45aa1e006c80", "parentSpanId": "05bbaf4999cf97b4", "startTimeUnixNano": "1796073675063713653", "endTimeUnixNano": "1796073675065099674", "durationMs": 1.386021, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008766}}
{"type": "effect-span", "name": "sqlite", "traceId": "f0df1b17c609336bd158ff4bb9b6295c", "spanId": "2357d8815b3153a6", "parentSpanId": "05bbaf4999cf97b4", "startTimeUnixNano": "1796073675065113189", "endTimeUnixNano": "1796073675067281723", "durationMs": 2.168534, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006202}}
{"type": "effect-span", "name": "sqlite", "traceId": "f0df1b17c609336bd158ff4bb9b6295c", "spanId": "7d408740826f6cc8", "parentSpanId": "05bbaf4999cf97b4", "startTimeUnixNano": "1796073675075772135", "endTimeUnixNano": "1796073675079337359", "durationMs": 3.565224, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011371}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f0df1b17c609336bd158ff4bb9b6295c", "spanId": "05bbaf4999cf97b4", "parentSpanId": "2ed6ad5c1d604730", "startTimeUnixNano": "1796073675063456111", "endTimeUnixNano": "1796073675079698875", "durationMs": 16.242764, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f0df1b17c609336bd158ff4bb9b6295c", "spanId": "34aa5a6bd2aae9e4", "parentSpanId": "2ed6ad5c1d604730", "startTimeUnixNano": "1796073675079716147", "endTimeUnixNano": "1796073675080507156", "durationMs": 0.791009, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f0df1b17c609336bd158ff4bb9b6295c", "spanId": "2ed6ad5c1d604730", "parentSpanId": "7bbf336e9911a966", "startTimeUnixNano": "1796073675061255868", "endTimeUnixNano": "1796073675080525921", "durationMs": 19.270053, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.812679, "db.connection": "reader", "db.lock_wait_ms": 1.785}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f0df1b17c609336bd158ff4bb9b6295c", "spanId": "7bbf336e9911a966", "parentSpanId": "375a0f6247660e6c", "startTimeUnixNano": "1796073675061248515", "endTimeUnixNano": "1796073675080540168", "durationMs": 19.291653, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f0df1b17c609336bd158ff4bb9b6295c", "spanId": "375a0f6247660e6c", "parentSpanId": "8fc52d39f4ec3b68", "startTimeUnixNano": "1796073675061220462", "endTimeUnixNano": "1796073675080545007", "durationMs": 19.324545, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f0df1b17c609336bd158ff4bb9b6295c", "spanId": "8fc52d39f4ec3b68", "startTimeUnixNano": "1796073675061205304", "endTimeUnixNano": "1796073675080552100", "durationMs": 19.346796, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e094ef73007105580c234e28b0345a88", "spanId": "e11541e7ca9b8e96", "parentSpanId": "06a555e2edf1b038", "startTimeUnixNano": "1796073676787641553", "endTimeUnixNano": "1796073676787913402", "durationMs": 0.271849, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e094ef73007105580c234e28b0345a88", "spanId": "7012d6a2bce5e9a3", "parentSpanId": "3c994a2501a150df", "startTimeUnixNano": "1796073676787950060", "endTimeUnixNano": "1796073676788652133", "durationMs": 0.702073, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005911}}
{"type": "effect-span", "name": "sqlite", "traceId": "e094ef73007105580c234e28b0345a88", "spanId": "3ea5a89150fd2b39", "parentSpanId": "3c994a2501a150df", "startTimeUnixNano": "1796073676788732503", "endTimeUnixNano": "1796073676790495859", "durationMs": 1.763356, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013716}}
{"type": "effect-span", "name": "sqlite", "traceId": "e094ef73007105580c234e28b0345a88", "spanId": "2b9abc02be6d9e2d", "parentSpanId": "3c994a2501a150df", "startTimeUnixNano": "1796073676790518672", "endTimeUnixNano": "1796073676792636301", "durationMs": 2.117629, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009247}}
{"type": "effect-span", "name": "sqlite", "traceId": "e094ef73007105580c234e28b0345a88", "spanId": "3da79dfe81968ee9", "parentSpanId": "3c994a2501a150df", "startTimeUnixNano": "1796073676810791500", "endTimeUnixNano": "1796073676814044431", "durationMs": 3.252931, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014727}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e094ef73007105580c234e28b0345a88", "spanId": "3c994a2501a150df", "parentSpanId": "06a555e2edf1b038", "startTimeUnixNano": "1796073676787944279", "endTimeUnixNano": "1796073676814626889", "durationMs": 26.68261, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e094ef73007105580c234e28b0345a88", "spanId": "926a7cfe8325562c", "parentSpanId": "06a555e2edf1b038", "startTimeUnixNano": "1796073676814671543", "endTimeUnixNano": "1796073676814980881", "durationMs": 0.309338, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e094ef73007105580c234e28b0345a88", "spanId": "06a555e2edf1b038", "parentSpanId": "e597e27ef4a8fa2d", "startTimeUnixNano": "1796073676785588926", "endTimeUnixNano": "1796073676815016327", "durationMs": 29.427401, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.048179, "db.connection": "reader", "db.lock_wait_ms": 2.012}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e094ef73007105580c234e28b0345a88", "spanId": "e597e27ef4a8fa2d", "parentSpanId": "25ae2efee18a8459", "startTimeUnixNano": "1796073676785578898", "endTimeUnixNano": "1796073676815040903", "durationMs": 29.462005, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e094ef73007105580c234e28b0345a88", "spanId": "25ae2efee18a8459", "parentSpanId": "fa241f61b46eb3a6", "startTimeUnixNano": "1796073676785534394", "endTimeUnixNano": "1796073676815048718", "durationMs": 29.514324, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e094ef73007105580c234e28b0345a88", "spanId": "fa241f61b46eb3a6", "startTimeUnixNano": "1796073676785518134", "endTimeUnixNano": "1796073676815061602", "durationMs": 29.543468, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e987d4f4e698897177c092f4086312ee", "spanId": "2ae41ce88c109f90", "parentSpanId": "28e238048ec76b4d", "startTimeUnixNano": "1796073677099313921", "endTimeUnixNano": "1796073677100302148", "durationMs": 0.988227, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e987d4f4e698897177c092f4086312ee", "spanId": "0c60786c3cd453cd", "parentSpanId": "c6c7bf7fa905f82f", "startTimeUnixNano": "1796073677100362561", "endTimeUnixNano": "1796073677100699050", "durationMs": 0.336489, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006883}}
{"type": "effect-span", "name": "sqlite", "traceId": "e987d4f4e698897177c092f4086312ee", "spanId": "17554f77fd03fcba", "parentSpanId": "c6c7bf7fa905f82f", "startTimeUnixNano": "1796073677100815909", "endTimeUnixNano": "1796073677102191601", "durationMs": 1.375692, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014597}}
{"type": "effect-span", "name": "sqlite", "traceId": "e987d4f4e698897177c092f4086312ee", "spanId": "6d53dc6a126fba26", "parentSpanId": "c6c7bf7fa905f82f", "startTimeUnixNano": "1796073677102213532", "endTimeUnixNano": "1796073677105997636", "durationMs": 3.784104, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012393}}
{"type": "effect-span", "name": "sqlite", "traceId": "e987d4f4e698897177c092f4086312ee", "spanId": "3dcef6bbeebcff47", "parentSpanId": "c6c7bf7fa905f82f", "startTimeUnixNano": "1796073677124015017", "endTimeUnixNano": "1796073677127881525", "durationMs": 3.866508, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020038}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e987d4f4e698897177c092f4086312ee", "spanId": "c6c7bf7fa905f82f", "parentSpanId": "28e238048ec76b4d", "startTimeUnixNano": "1796073677100352172", "endTimeUnixNano": "1796073677128380859", "durationMs": 28.028687, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e987d4f4e698897177c092f4086312ee", "spanId": "d24ce7e42f2d8db9", "parentSpanId": "28e238048ec76b4d", "startTimeUnixNano": "1796073677128417317", "endTimeUnixNano": "1796073677129141321", "durationMs": 0.724004, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e987d4f4e698897177c092f4086312ee", "spanId": "28e238048ec76b4d", "parentSpanId": "c9d6304af10634ac", "startTimeUnixNano": "1796073677096867137", "endTimeUnixNano": "1796073677129190943", "durationMs": 32.323806, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.437947, "db.connection": "reader", "db.lock_wait_ms": 2.355}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e987d4f4e698897177c092f4086312ee", "spanId": "c9d6304af10634ac", "parentSpanId": "2d852c48ce8ef773", "startTimeUnixNano": "1796073677096856868", "endTimeUnixNano": "1796073677129230397", "durationMs": 32.373529, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e987d4f4e698897177c092f4086312ee", "spanId": "2d852c48ce8ef773", "parentSpanId": "d045a2c43c10b16b", "startTimeUnixNano": "1796073677096816272", "endTimeUnixNano": "1796073677129245465", "durationMs": 32.429193, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e987d4f4e698897177c092f4086312ee", "spanId": "d045a2c43c10b16b", "startTimeUnixNano": "1796073677096798068", "endTimeUnixNano": "1796073677129265032", "durationMs": 32.466964, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "712f9a4ca8258a8244df8424c8d60e98", "spanId": "b1fc477631c847e3", "parentSpanId": "ed0647cf2462a42c", "startTimeUnixNano": "1796073678946090351", "endTimeUnixNano": "1796073678947254808", "durationMs": 1.164457, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "712f9a4ca8258a8244df8424c8d60e98", "spanId": "da1aba564bb5698e", "parentSpanId": "e7eedd3356c7ef8c", "startTimeUnixNano": "1796073678947316844", "endTimeUnixNano": "1796073678948174437", "durationMs": 0.857593, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008045}}
{"type": "effect-span", "name": "sqlite", "traceId": "712f9a4ca8258a8244df8424c8d60e98", "spanId": "8a47b1c5c4db23a5", "parentSpanId": "e7eedd3356c7ef8c", "startTimeUnixNano": "1796073678948260427", "endTimeUnixNano": "1796073678950670062", "durationMs": 2.409635, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.023935}}
{"type": "effect-span", "name": "sqlite", "traceId": "712f9a4ca8258a8244df8424c8d60e98", "spanId": "d9c0ca43b0a1278b", "parentSpanId": "e7eedd3356c7ef8c", "startTimeUnixNano": "1796073678950706661", "endTimeUnixNano": "1796073678952607554", "durationMs": 1.900893, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.01641}}
{"type": "effect-span", "name": "sqlite", "traceId": "712f9a4ca8258a8244df8424c8d60e98", "spanId": "cbf36d95c12577fb", "parentSpanId": "e7eedd3356c7ef8c", "startTimeUnixNano": "1796073678975157740", "endTimeUnixNano": "1796073678978076687", "durationMs": 2.918947, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018725}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "712f9a4ca8258a8244df8424c8d60e98", "spanId": "e7eedd3356c7ef8c", "parentSpanId": "ed0647cf2462a42c", "startTimeUnixNano": "1796073678947306294", "endTimeUnixNano": "1796073678978566853", "durationMs": 31.260559, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "712f9a4ca8258a8244df8424c8d60e98", "spanId": "2ae851356c161d06", "parentSpanId": "ed0647cf2462a42c", "startTimeUnixNano": "1796073678978601558", "endTimeUnixNano": "1796073678979246183", "durationMs": 0.644625, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "712f9a4ca8258a8244df8424c8d60e98", "spanId": "ed0647cf2462a42c", "parentSpanId": "7d76540ad27f309e", "startTimeUnixNano": "1796073678944121410", "endTimeUnixNano": "1796073678979279255", "durationMs": 35.157845, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.964092, "db.connection": "reader", "db.lock_wait_ms": 1.899}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "712f9a4ca8258a8244df8424c8d60e98", "spanId": "7d76540ad27f309e", "parentSpanId": "65a7363ffdbc53c1", "startTimeUnixNano": "1796073678944101533", "endTimeUnixNano": "1796073678979318038", "durationMs": 35.216505, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "712f9a4ca8258a8244df8424c8d60e98", "spanId": "65a7363ffdbc53c1", "parentSpanId": "accb0992884fdbe3", "startTimeUnixNano": "1796073678944037673", "endTimeUnixNano": "1796073678979327014", "durationMs": 35.289341, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "712f9a4ca8258a8244df8424c8d60e98", "spanId": "accb0992884fdbe3", "startTimeUnixNano": "1796073678944003119", "endTimeUnixNano": "1796073678979341982", "durationMs": 35.338863, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9328673eca550dcc11e972492d8ef83b", "spanId": "80bf2f13555437c5", "parentSpanId": "a6c56d1037d87ca7", "startTimeUnixNano": "1796073679221346548", "endTimeUnixNano": "1796073679221896166", "durationMs": 0.549618, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9328673eca550dcc11e972492d8ef83b", "spanId": "8827a6fbdc13a29a", "parentSpanId": "4b6a55e84ec414df", "startTimeUnixNano": "1796073679221950738", "endTimeUnixNano": "1796073679222395349", "durationMs": 0.444611, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008816}}
{"type": "effect-span", "name": "sqlite", "traceId": "9328673eca550dcc11e972492d8ef83b", "spanId": "cbbfc16480b4f362", "parentSpanId": "4b6a55e84ec414df", "startTimeUnixNano": "1796073679222492731", "endTimeUnixNano": "1796073679224643301", "durationMs": 2.15057, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009919}}
{"type": "effect-span", "name": "sqlite", "traceId": "9328673eca550dcc11e972492d8ef83b", "spanId": "89ff3d0b694d576e", "parentSpanId": "4b6a55e84ec414df", "startTimeUnixNano": "1796073679224665032", "endTimeUnixNano": "1796073679227263320", "durationMs": 2.598288, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010009}}
{"type": "effect-span", "name": "sqlite", "traceId": "9328673eca550dcc11e972492d8ef83b", "spanId": "f5e345fd5b32006b", "parentSpanId": "4b6a55e84ec414df", "startTimeUnixNano": "1796073679239060895", "endTimeUnixNano": "1796073679246546599", "durationMs": 7.485704, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018995}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9328673eca550dcc11e972492d8ef83b", "spanId": "4b6a55e84ec414df", "parentSpanId": "a6c56d1037d87ca7", "startTimeUnixNano": "1796073679221940589", "endTimeUnixNano": "1796073679247028830", "durationMs": 25.088241, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9328673eca550dcc11e972492d8ef83b", "spanId": "6f18f6e1e4faf905", "parentSpanId": "a6c56d1037d87ca7", "startTimeUnixNano": "1796073679247057213", "endTimeUnixNano": "1796073679248555023", "durationMs": 1.49781, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9328673eca550dcc11e972492d8ef83b", "spanId": "a6c56d1037d87ca7", "parentSpanId": "69e9dac05b10b607", "startTimeUnixNano": "1796073679217730298", "endTimeUnixNano": "1796073679248580341", "durationMs": 30.850043, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.613285, "db.connection": "reader", "db.lock_wait_ms": 3.572}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9328673eca550dcc11e972492d8ef83b", "spanId": "69e9dac05b10b607", "parentSpanId": "5307026a67470c84", "startTimeUnixNano": "1796073679217713457", "endTimeUnixNano": "1796073679248597333", "durationMs": 30.883876, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9328673eca550dcc11e972492d8ef83b", "spanId": "5307026a67470c84", "parentSpanId": "7ef0b84fb2f29d9f", "startTimeUnixNano": "1796073679217650749", "endTimeUnixNano": "1796073679248603404", "durationMs": 30.952655, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9328673eca550dcc11e972492d8ef83b", "spanId": "7ef0b84fb2f29d9f", "startTimeUnixNano": "1796073679217627907", "endTimeUnixNano": "1796073679248612431", "durationMs": 30.984524, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "bb0585e34d1d889f3f6763583d9af556", "spanId": "f85111300cb9f876", "parentSpanId": "ec87f76bc6f886a2", "startTimeUnixNano": "1796073680949973420", "endTimeUnixNano": "1796073680950683417", "durationMs": 0.709997, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb0585e34d1d889f3f6763583d9af556", "spanId": "55e5310abf4b1192", "parentSpanId": "827e3fc05d738522", "startTimeUnixNano": "1796073680950728071", "endTimeUnixNano": "1796073680951511435", "durationMs": 0.783364, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004528}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb0585e34d1d889f3f6763583d9af556", "spanId": "3e3ceb6f4acf03d3", "parentSpanId": "827e3fc05d738522", "startTimeUnixNano": "1796073680951588199", "endTimeUnixNano": "1796073680953976393", "durationMs": 2.388194, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009738}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb0585e34d1d889f3f6763583d9af556", "spanId": "aee300022d9751fd", "parentSpanId": "827e3fc05d738522", "startTimeUnixNano": "1796073680954008002", "endTimeUnixNano": "1796073680958379896", "durationMs": 4.371894, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.014077}}
{"type": "effect-span", "name": "sqlite", "traceId": "bb0585e34d1d889f3f6763583d9af556", "spanId": "678a7e8db4fee436", "parentSpanId": "827e3fc05d738522", "startTimeUnixNano": "1796073680966836164", "endTimeUnixNano": "1796073680970357317", "durationMs": 3.521153, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016722}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "bb0585e34d1d889f3f6763583d9af556", "spanId": "827e3fc05d738522", "parentSpanId": "ec87f76bc6f886a2", "startTimeUnixNano": "1796073680950721859", "endTimeUnixNano": "1796073680970859696", "durationMs": 20.137837, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "bb0585e34d1d889f3f6763583d9af556", "spanId": "bdf88266954a3b37", "parentSpanId": "ec87f76bc6f886a2", "startTimeUnixNano": "1796073680970883601", "endTimeUnixNano": "1796073680971214450", "durationMs": 0.330849, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "bb0585e34d1d889f3f6763583d9af556", "spanId": "ec87f76bc6f886a2", "parentSpanId": "74cec9b5b6f69216", "startTimeUnixNano": "1796073680948457245", "endTimeUnixNano": "1796073680971245848", "durationMs": 22.788603, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.510534, "db.connection": "reader", "db.lock_wait_ms": 1.472}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "bb0585e34d1d889f3f6763583d9af556", "spanId": "74cec9b5b6f69216", "parentSpanId": "27f076adeee5fe17", "startTimeUnixNano": "1796073680948427510", "endTimeUnixNano": "1796073680971267689", "durationMs": 22.840179, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "bb0585e34d1d889f3f6763583d9af556", "spanId": "27f076adeee5fe17", "parentSpanId": "ad306f909e1aaf76", "startTimeUnixNano": "1796073680948382065", "endTimeUnixNano": "1796073680971275894", "durationMs": 22.893829, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "bb0585e34d1d889f3f6763583d9af556", "spanId": "ad306f909e1aaf76", "startTimeUnixNano": "1796073680948366185", "endTimeUnixNano": "1796073680971283649", "durationMs": 22.917464, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7b48b1b69090af6b397e5f78c79f62ba", "spanId": "39ab2c3cce3162ec", "parentSpanId": "4247db1d323a8ecf", "startTimeUnixNano": "1796073681198281591", "endTimeUnixNano": "1796073681198619984", "durationMs": 0.338393, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7b48b1b69090af6b397e5f78c79f62ba", "spanId": "a813abb5624b873a", "parentSpanId": "9744e72728b3316f", "startTimeUnixNano": "1796073681198658055", "endTimeUnixNano": "1796073681198827953", "durationMs": 0.169898, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006582}}
{"type": "effect-span", "name": "sqlite", "traceId": "7b48b1b69090af6b397e5f78c79f62ba", "spanId": "2ef82dcbc7f6b90e", "parentSpanId": "9744e72728b3316f", "startTimeUnixNano": "1796073681198908002", "endTimeUnixNano": "1796073681200220937", "durationMs": 1.312935, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008897}}
{"type": "effect-span", "name": "sqlite", "traceId": "7b48b1b69090af6b397e5f78c79f62ba", "spanId": "184d7a3c6f2f2b18", "parentSpanId": "9744e72728b3316f", "startTimeUnixNano": "1796073681200241115", "endTimeUnixNano": "1796073681201393459", "durationMs": 1.152344, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008245}}
{"type": "effect-span", "name": "sqlite", "traceId": "7b48b1b69090af6b397e5f78c79f62ba", "spanId": "7404e9b07a0f4bf0", "parentSpanId": "9744e72728b3316f", "startTimeUnixNano": "1796073681210275614", "endTimeUnixNano": "1796073681212351244", "durationMs": 2.07563, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015679}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7b48b1b69090af6b397e5f78c79f62ba", "spanId": "9744e72728b3316f", "parentSpanId": "4247db1d323a8ecf", "startTimeUnixNano": "1796073681198652274", "endTimeUnixNano": "1796073681212852482", "durationMs": 14.200208, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7b48b1b69090af6b397e5f78c79f62ba", "spanId": "03f841ee97d1c1c6", "parentSpanId": "4247db1d323a8ecf", "startTimeUnixNano": "1796073681212878260", "endTimeUnixNano": "1796073681213191876", "durationMs": 0.313616, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7b48b1b69090af6b397e5f78c79f62ba", "spanId": "4247db1d323a8ecf", "parentSpanId": "97150f16a82b3bf7", "startTimeUnixNano": "1796073681196557238", "endTimeUnixNano": "1796073681213214609", "durationMs": 16.657371, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.718532, "db.connection": "reader", "db.lock_wait_ms": 1.686}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7b48b1b69090af6b397e5f78c79f62ba", "spanId": "97150f16a82b3bf7", "parentSpanId": "10eaaef99afd529c", "startTimeUnixNano": "1796073681196546968", "endTimeUnixNano": "1796073681213233013", "durationMs": 16.686045, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7b48b1b69090af6b397e5f78c79f62ba", "spanId": "10eaaef99afd529c", "parentSpanId": "6a2dcf8c4062a1d4", "startTimeUnixNano": "1796073681196508727", "endTimeUnixNano": "1796073681213239485", "durationMs": 16.730758, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7b48b1b69090af6b397e5f78c79f62ba", "spanId": "6a2dcf8c4062a1d4", "startTimeUnixNano": "1796073681196489170", "endTimeUnixNano": "1796073681213250195", "durationMs": 16.761025, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "59b92a0e18c363e4c126b9fc6eefa375", "spanId": "67b73c188e28badc", "parentSpanId": "c5dabeb9c90a25f9", "startTimeUnixNano": "1796073682971798869", "endTimeUnixNano": "1796073682972532821", "durationMs": 0.733952, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "59b92a0e18c363e4c126b9fc6eefa375", "spanId": "8328f0e18f3c979c", "parentSpanId": "576ff9ff2a6bbb8a", "startTimeUnixNano": "1796073682972572425", "endTimeUnixNano": "1796073682973296298", "durationMs": 0.723873, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00518}}
{"type": "effect-span", "name": "sqlite", "traceId": "59b92a0e18c363e4c126b9fc6eefa375", "spanId": "97dee558fe7aadd9", "parentSpanId": "576ff9ff2a6bbb8a", "startTimeUnixNano": "1796073682973368603", "endTimeUnixNano": "1796073682974884567", "durationMs": 1.515964, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009638}}
{"type": "effect-span", "name": "sqlite", "traceId": "59b92a0e18c363e4c126b9fc6eefa375", "spanId": "f17737707090e7c0", "parentSpanId": "576ff9ff2a6bbb8a", "startTimeUnixNano": "1796073682974903012", "endTimeUnixNano": "1796073682976256843", "durationMs": 1.353831, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006712}}
{"type": "effect-span", "name": "sqlite", "traceId": "59b92a0e18c363e4c126b9fc6eefa375", "spanId": "428eb2a0b884f279", "parentSpanId": "576ff9ff2a6bbb8a", "startTimeUnixNano": "1796073682986720615", "endTimeUnixNano": "1796073682989767561", "durationMs": 3.046946, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009157}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "59b92a0e18c363e4c126b9fc6eefa375", "spanId": "576ff9ff2a6bbb8a", "parentSpanId": "c5dabeb9c90a25f9", "startTimeUnixNano": "1796073682972566504", "endTimeUnixNano": "1796073682990148593", "durationMs": 17.582089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "59b92a0e18c363e4c126b9fc6eefa375", "spanId": "310be7448143a36a", "parentSpanId": "c5dabeb9c90a25f9", "startTimeUnixNano": "1796073682990168090", "endTimeUnixNano": "1796073682990342926", "durationMs": 0.174836, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "59b92a0e18c363e4c126b9fc6eefa375", "spanId": "c5dabeb9c90a25f9", "parentSpanId": "d910b320fc4321b2", "startTimeUnixNano": "1796073682970201392", "endTimeUnixNano": "1796073682990376169", "durationMs": 20.174777, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.593549, "db.connection": "reader", "db.lock_wait_ms": 1.556}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "59b92a0e18c363e4c126b9fc6eefa375", "spanId": "d910b320fc4321b2", "parentSpanId": "30671706f459f65c", "startTimeUnixNano": "1796073682970191424", "endTimeUnixNano": "1796073682990399983", "durationMs": 20.208559, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "59b92a0e18c363e4c126b9fc6eefa375", "spanId": "30671706f459f65c", "parentSpanId": "ec18371d3ace9c89", "startTimeUnixNano": "1796073682970142482", "endTimeUnixNano": "1796073682990409511", "durationMs": 20.267029, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "59b92a0e18c363e4c126b9fc6eefa375", "spanId": "ec18371d3ace9c89", "startTimeUnixNano": "1796073682970123857", "endTimeUnixNano": "1796073682990422555", "durationMs": 20.298698, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d59be217887022173cea070c13044f3b", "spanId": "0131bd3d5d97a8a9", "parentSpanId": "fc58a412e85b7506", "startTimeUnixNano": "1796073683214905716", "endTimeUnixNano": "1796073683215245742", "durationMs": 0.340026, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d59be217887022173cea070c13044f3b", "spanId": "9770d47939297393", "parentSpanId": "b4689c430ef3b548", "startTimeUnixNano": "1796073683215280267", "endTimeUnixNano": "1796073683215452629", "durationMs": 0.172362, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004468}}
{"type": "effect-span", "name": "sqlite", "traceId": "d59be217887022173cea070c13044f3b", "spanId": "f79b0dbb6ceafadb", "parentSpanId": "b4689c430ef3b548", "startTimeUnixNano": "1796073683215522600", "endTimeUnixNano": "1796073683217277561", "durationMs": 1.754961, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009407}}
{"type": "effect-span", "name": "sqlite", "traceId": "d59be217887022173cea070c13044f3b", "spanId": "f18deba4c91d66d0", "parentSpanId": "b4689c430ef3b548", "startTimeUnixNano": "1796073683217296336", "endTimeUnixNano": "1796073683218568003", "durationMs": 1.271667, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007874}}
{"type": "effect-span", "name": "sqlite", "traceId": "d59be217887022173cea070c13044f3b", "spanId": "b6fad6f187b2a724", "parentSpanId": "b4689c430ef3b548", "startTimeUnixNano": "1796073683227466840", "endTimeUnixNano": "1796073683229560474", "durationMs": 2.093634, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019456}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d59be217887022173cea070c13044f3b", "spanId": "b4689c430ef3b548", "parentSpanId": "fc58a412e85b7506", "startTimeUnixNano": "1796073683215274967", "endTimeUnixNano": "1796073683229905499", "durationMs": 14.630532, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d59be217887022173cea070c13044f3b", "spanId": "dfcb8e26d84d1956", "parentSpanId": "fc58a412e85b7506", "startTimeUnixNano": "1796073683229923222", "endTimeUnixNano": "1796073683230405544", "durationMs": 0.482322, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d59be217887022173cea070c13044f3b", "spanId": "fc58a412e85b7506", "parentSpanId": "a1c68ed69917eae3", "startTimeUnixNano": "1796073683213667912", "endTimeUnixNano": "1796073683230426373", "durationMs": 16.758461, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.234538, "db.connection": "reader", "db.lock_wait_ms": 1.207}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d59be217887022173cea070c13044f3b", "spanId": "a1c68ed69917eae3", "parentSpanId": "d19b3014b2ce1f68", "startTimeUnixNano": "1796073683213660759", "endTimeUnixNano": "1796073683230457421", "durationMs": 16.796662, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d59be217887022173cea070c13044f3b", "spanId": "d19b3014b2ce1f68", "parentSpanId": "488fe9a938a219c0", "startTimeUnixNano": "1796073683213633217", "endTimeUnixNano": "1796073683230464965", "durationMs": 16.831748, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d59be217887022173cea070c13044f3b", "spanId": "488fe9a938a219c0", "startTimeUnixNano": "1796073683213619983", "endTimeUnixNano": "1796073683230474994", "durationMs": 16.855011, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0d817aac890d8e1eda36ef6609656d70", "spanId": "19c8ffcf5eb008fc", "parentSpanId": "b7798f4886bafd20", "startTimeUnixNano": "1796073684981111857", "endTimeUnixNano": "1796073684981291242", "durationMs": 0.179385, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0d817aac890d8e1eda36ef6609656d70", "spanId": "985fd50170df57fa", "parentSpanId": "0cd55e702a047cd4", "startTimeUnixNano": "1796073684981337188", "endTimeUnixNano": "1796073684982064307", "durationMs": 0.727119, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007093}}
{"type": "effect-span", "name": "sqlite", "traceId": "0d817aac890d8e1eda36ef6609656d70", "spanId": "fa8198a31e850a45", "parentSpanId": "0cd55e702a047cd4", "startTimeUnixNano": "1796073684982167050", "endTimeUnixNano": "1796073684984267276", "durationMs": 2.100226, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011301}}
{"type": "effect-span", "name": "sqlite", "traceId": "0d817aac890d8e1eda36ef6609656d70", "spanId": "ffd89b103b6884c2", "parentSpanId": "0cd55e702a047cd4", "startTimeUnixNano": "1796073684984288356", "endTimeUnixNano": "1796073684993748903", "durationMs": 9.460547, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010469}}
{"type": "effect-span", "name": "sqlite", "traceId": "0d817aac890d8e1eda36ef6609656d70", "spanId": "3383737171d7fdf8", "parentSpanId": "0cd55e702a047cd4", "startTimeUnixNano": "1796073685002840580", "endTimeUnixNano": "1796073685005757554", "durationMs": 2.916974, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020679}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0d817aac890d8e1eda36ef6609656d70", "spanId": "0cd55e702a047cd4", "parentSpanId": "b7798f4886bafd20", "startTimeUnixNano": "1796073684981328422", "endTimeUnixNano": "1796073685006221672", "durationMs": 24.89325, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0d817aac890d8e1eda36ef6609656d70", "spanId": "845d71846b70947e", "parentSpanId": "b7798f4886bafd20", "startTimeUnixNano": "1796073685006245887", "endTimeUnixNano": "1796073685006657567", "durationMs": 0.41168, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0d817aac890d8e1eda36ef6609656d70", "spanId": "b7798f4886bafd20", "parentSpanId": "64d8aaecc07db49a", "startTimeUnixNano": "1796073684978005790", "endTimeUnixNano": "1796073685006700186", "durationMs": 28.694396, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.089215, "db.connection": "reader", "db.lock_wait_ms": 3.045}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0d817aac890d8e1eda36ef6609656d70", "spanId": "64d8aaecc07db49a", "parentSpanId": "345efc1b835b9ab0", "startTimeUnixNano": "1796073684977996002", "endTimeUnixNano": "1796073685006744850", "durationMs": 28.748848, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0d817aac890d8e1eda36ef6609656d70", "spanId": "345efc1b835b9ab0", "parentSpanId": "5037d691774591a5", "startTimeUnixNano": "1796073684977938735", "endTimeUnixNano": "1796073685006754027", "durationMs": 28.815292, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0d817aac890d8e1eda36ef6609656d70", "spanId": "5037d691774591a5", "startTimeUnixNano": "1796073684977920721", "endTimeUnixNano": "1796073685006762653", "durationMs": 28.841932, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "92984d20313070080ff46b22490268eb", "spanId": "becfbf858711d2c5", "parentSpanId": "f84f83fc84457ce8", "startTimeUnixNano": "1796073685216510126", "endTimeUnixNano": "1796073685216802853", "durationMs": 0.292727, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "92984d20313070080ff46b22490268eb", "spanId": "45448eb6088fb324", "parentSpanId": "d1fffe7eb6872f44", "startTimeUnixNano": "1796073685216839171", "endTimeUnixNano": "1796073685216952843", "durationMs": 0.113672, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004508}}
{"type": "effect-span", "name": "sqlite", "traceId": "92984d20313070080ff46b22490268eb", "spanId": "376d06021a286f65", "parentSpanId": "d1fffe7eb6872f44", "startTimeUnixNano": "1796073685217024317", "endTimeUnixNano": "1796073685218142167", "durationMs": 1.11785, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013525}}
{"type": "effect-span", "name": "sqlite", "traceId": "92984d20313070080ff46b22490268eb", "spanId": "52a717f38ab0a02b", "parentSpanId": "d1fffe7eb6872f44", "startTimeUnixNano": "1796073685218171181", "endTimeUnixNano": "1796073685228966875", "durationMs": 10.795694, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007354}}
{"type": "effect-span", "name": "sqlite", "traceId": "92984d20313070080ff46b22490268eb", "spanId": "c1bed056021513d6", "parentSpanId": "d1fffe7eb6872f44", "startTimeUnixNano": "1796073685238676808", "endTimeUnixNano": "1796073685241136116", "durationMs": 2.459308, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015219}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "92984d20313070080ff46b22490268eb", "spanId": "d1fffe7eb6872f44", "parentSpanId": "f84f83fc84457ce8", "startTimeUnixNano": "1796073685216833280", "endTimeUnixNano": "1796073685241702044", "durationMs": 24.868764, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "92984d20313070080ff46b22490268eb", "spanId": "bfc262ec60940a16", "parentSpanId": "f84f83fc84457ce8", "startTimeUnixNano": "1796073685241745826", "endTimeUnixNano": "1796073685243000773", "durationMs": 1.254947, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "92984d20313070080ff46b22490268eb", "spanId": "f84f83fc84457ce8", "parentSpanId": "0a3d5a900052daa7", "startTimeUnixNano": "1796073685214865301", "endTimeUnixNano": "1796073685243042991", "durationMs": 28.17769, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.638964, "db.connection": "reader", "db.lock_wait_ms": 1.597}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "92984d20313070080ff46b22490268eb", "spanId": "0a3d5a900052daa7", "parentSpanId": "ee7a7171e297e1c6", "startTimeUnixNano": "1796073685214855092", "endTimeUnixNano": "1796073685243082465", "durationMs": 28.227373, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "92984d20313070080ff46b22490268eb", "spanId": "ee7a7171e297e1c6", "parentSpanId": "72996be3852493d8", "startTimeUnixNano": "1796073685214817291", "endTimeUnixNano": "1796073685243095470", "durationMs": 28.278179, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "92984d20313070080ff46b22490268eb", "spanId": "72996be3852493d8", "startTimeUnixNano": "1796073685214798536", "endTimeUnixNano": "1796073685243118683", "durationMs": 28.320147, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "ef0dc1656b13e8f880f9041278bdaf46", "spanId": "d238f028b0db6f90", "parentSpanId": "01b6a410a01627df", "startTimeUnixNano": "1796073686821261259", "endTimeUnixNano": "1796073686821976326", "durationMs": 0.715067, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef0dc1656b13e8f880f9041278bdaf46", "spanId": "1cd2066986f89200", "parentSpanId": "40c6fc0695e3ab8c", "startTimeUnixNano": "1796073686822016852", "endTimeUnixNano": "1796073686822834892", "durationMs": 0.81804, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00513}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef0dc1656b13e8f880f9041278bdaf46", "spanId": "675568eaff8e3aa0", "parentSpanId": "40c6fc0695e3ab8c", "startTimeUnixNano": "1796073686822906956", "endTimeUnixNano": "1796073686824757225", "durationMs": 1.850269, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008366}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef0dc1656b13e8f880f9041278bdaf46", "spanId": "81af86a6f815a930", "parentSpanId": "40c6fc0695e3ab8c", "startTimeUnixNano": "1796073686824782934", "endTimeUnixNano": "1796073686825932272", "durationMs": 1.149338, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012172}}
{"type": "effect-span", "name": "sqlite", "traceId": "ef0dc1656b13e8f880f9041278bdaf46", "spanId": "561743deaef79f13", "parentSpanId": "40c6fc0695e3ab8c", "startTimeUnixNano": "1796073686841256313", "endTimeUnixNano": "1796073686843182945", "durationMs": 1.926632, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015509}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "ef0dc1656b13e8f880f9041278bdaf46", "spanId": "40c6fc0695e3ab8c", "parentSpanId": "01b6a410a01627df", "startTimeUnixNano": "1796073686822011372", "endTimeUnixNano": "1796073686843711743", "durationMs": 21.700371, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "ef0dc1656b13e8f880f9041278bdaf46", "spanId": "d213f2f76d614c38", "parentSpanId": "01b6a410a01627df", "startTimeUnixNano": "1796073686843742721", "endTimeUnixNano": "1796073686844030449", "durationMs": 0.287728, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "ef0dc1656b13e8f880f9041278bdaf46", "spanId": "01b6a410a01627df", "parentSpanId": "3768830a51b233a0", "startTimeUnixNano": "1796073686819837989", "endTimeUnixNano": "1796073686844058972", "durationMs": 24.220983, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.41791, "db.connection": "reader", "db.lock_wait_ms": 1.377}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "ef0dc1656b13e8f880f9041278bdaf46", "spanId": "3768830a51b233a0", "parentSpanId": "f180e9f31a780742", "startTimeUnixNano": "1796073686819828982", "endTimeUnixNano": "1796073686844080182", "durationMs": 24.2512, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "ef0dc1656b13e8f880f9041278bdaf46", "spanId": "f180e9f31a780742", "parentSpanId": "51b9d5d1056448f8", "startTimeUnixNano": "1796073686819785571", "endTimeUnixNano": "1796073686844092725", "durationMs": 24.307154, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "ef0dc1656b13e8f880f9041278bdaf46", "spanId": "51b9d5d1056448f8", "startTimeUnixNano": "1796073686819769400", "endTimeUnixNano": "1796073686844102063", "durationMs": 24.332663, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "62c05f8cbb117f7f278975ada37025ae", "spanId": "0eefd13722e96e10", "parentSpanId": "821aa25dc2a22e83", "startTimeUnixNano": "1796073687054800380", "endTimeUnixNano": "1796073687055261602", "durationMs": 0.461222, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "62c05f8cbb117f7f278975ada37025ae", "spanId": "a3690cc3daa77a07", "parentSpanId": "c8b1a6e1cde510f9", "startTimeUnixNano": "1796073687055295395", "endTimeUnixNano": "1796073687055585397", "durationMs": 0.290002, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004529}}
{"type": "effect-span", "name": "sqlite", "traceId": "62c05f8cbb117f7f278975ada37025ae", "spanId": "cc1ccd09d6897812", "parentSpanId": "c8b1a6e1cde510f9", "startTimeUnixNano": "1796073687055656781", "endTimeUnixNano": "1796073687057481232", "durationMs": 1.824451, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008035}}
{"type": "effect-span", "name": "sqlite", "traceId": "62c05f8cbb117f7f278975ada37025ae", "spanId": "0e479199b0be94b7", "parentSpanId": "c8b1a6e1cde510f9", "startTimeUnixNano": "1796073687057502381", "endTimeUnixNano": "1796073687058796421", "durationMs": 1.29404, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008486}}
{"type": "effect-span", "name": "sqlite", "traceId": "62c05f8cbb117f7f278975ada37025ae", "spanId": "9312d7114cc20d9e", "parentSpanId": "c8b1a6e1cde510f9", "startTimeUnixNano": "1796073687069050222", "endTimeUnixNano": "1796073687073207414", "durationMs": 4.157192, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.018314}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "62c05f8cbb117f7f278975ada37025ae", "spanId": "c8b1a6e1cde510f9", "parentSpanId": "821aa25dc2a22e83", "startTimeUnixNano": "1796073687055290165", "endTimeUnixNano": "1796073687073650292", "durationMs": 18.360127, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "62c05f8cbb117f7f278975ada37025ae", "spanId": "bbf4f32dd277173d", "parentSpanId": "821aa25dc2a22e83", "startTimeUnixNano": "1796073687073669989", "endTimeUnixNano": "1796073687074206692", "durationMs": 0.536703, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "62c05f8cbb117f7f278975ada37025ae", "spanId": "821aa25dc2a22e83", "parentSpanId": "d1466fd1820da321", "startTimeUnixNano": "1796073687053227990", "endTimeUnixNano": "1796073687074224626", "durationMs": 20.996636, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.56743, "db.connection": "reader", "db.lock_wait_ms": 1.538}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "62c05f8cbb117f7f278975ada37025ae", "spanId": "d1466fd1820da321", "parentSpanId": "10eef15a5245ccb9", "startTimeUnixNano": "1796073687053219514", "endTimeUnixNano": "1796073687074240365", "durationMs": 21.020851, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "62c05f8cbb117f7f278975ada37025ae", "spanId": "10eef15a5245ccb9", "parentSpanId": "cfb301eee850fed9", "startTimeUnixNano": "1796073687053187294", "endTimeUnixNano": "1796073687074246026", "durationMs": 21.058732, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "62c05f8cbb117f7f278975ada37025ae", "spanId": "cfb301eee850fed9", "startTimeUnixNano": "1796073687053172376", "endTimeUnixNano": "1796073687074253861", "durationMs": 21.081485, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "545156479cf8b22eae2507a93874a572", "spanId": "2f42da9e3078aebd", "parentSpanId": "1fa93578b8044ee0", "startTimeUnixNano": "1796073688617569883", "endTimeUnixNano": "1796073688617744419", "durationMs": 0.174536, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "545156479cf8b22eae2507a93874a572", "spanId": "d8eed56b1e7dce14", "parentSpanId": "b1c02961c0a3927e", "startTimeUnixNano": "1796073688617788772", "endTimeUnixNano": "1796073688618500923", "durationMs": 0.712151, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006232}}
{"type": "effect-span", "name": "sqlite", "traceId": "545156479cf8b22eae2507a93874a572", "spanId": "c5a273bc8f576c96", "parentSpanId": "b1c02961c0a3927e", "startTimeUnixNano": "1796073688618586564", "endTimeUnixNano": "1796073688620260864", "durationMs": 1.6743, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01074}}
{"type": "effect-span", "name": "sqlite", "traceId": "545156479cf8b22eae2507a93874a572", "spanId": "51699c3fd80c7099", "parentSpanId": "b1c02961c0a3927e", "startTimeUnixNano": "1796073688620281282", "endTimeUnixNano": "1796073688625620625", "durationMs": 5.339343, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008296}}
{"type": "effect-span", "name": "sqlite", "traceId": "545156479cf8b22eae2507a93874a572", "spanId": "ccc64f7670fccece", "parentSpanId": "b1c02961c0a3927e", "startTimeUnixNano": "1796073688635498243", "endTimeUnixNano": "1796073688640246711", "durationMs": 4.748468, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013555}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "545156479cf8b22eae2507a93874a572", "spanId": "b1c02961c0a3927e", "parentSpanId": "1fa93578b8044ee0", "startTimeUnixNano": "1796073688617781027", "endTimeUnixNano": "1796073688640604520", "durationMs": 22.823493, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "545156479cf8b22eae2507a93874a572", "spanId": "48e9f3d5992d7970", "parentSpanId": "1fa93578b8044ee0", "startTimeUnixNano": "1796073688640626070", "endTimeUnixNano": "1796073688640936270", "durationMs": 0.3102, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "545156479cf8b22eae2507a93874a572", "spanId": "1fa93578b8044ee0", "parentSpanId": "ec1ccf15b7fe4ed7", "startTimeUnixNano": "1796073688615346616", "endTimeUnixNano": "1796073688640976515", "durationMs": 25.629899, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.217806, "db.connection": "reader", "db.lock_wait_ms": 2.18}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "545156479cf8b22eae2507a93874a572", "spanId": "ec1ccf15b7fe4ed7", "parentSpanId": "967f19e9e5387adb", "startTimeUnixNano": "1796073688615337779", "endTimeUnixNano": "1796073688640998647", "durationMs": 25.660868, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "545156479cf8b22eae2507a93874a572", "spanId": "967f19e9e5387adb", "parentSpanId": "b6be9954ef9f7cb9", "startTimeUnixNano": "1796073688615295200", "endTimeUnixNano": "1796073688641003796", "durationMs": 25.708596, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "545156479cf8b22eae2507a93874a572", "spanId": "b6be9954ef9f7cb9", "startTimeUnixNano": "1796073688615279330", "endTimeUnixNano": "1796073688641011941", "durationMs": 25.732611, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e3b38eaa9fd65a2017641ecaa5571b5c", "spanId": "788e6a78d728227c", "parentSpanId": "ed698c67f400dfce", "startTimeUnixNano": "1796073688843213551", "endTimeUnixNano": "1796073688845136255", "durationMs": 1.922704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e3b38eaa9fd65a2017641ecaa5571b5c", "spanId": "86c478f8d967f133", "parentSpanId": "396516f0437c62f5", "startTimeUnixNano": "1796073688845173776", "endTimeUnixNano": "1796073688845303448", "durationMs": 0.129672, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004728}}
{"type": "effect-span", "name": "sqlite", "traceId": "e3b38eaa9fd65a2017641ecaa5571b5c", "spanId": "0f9fb9a4e5c63a1e", "parentSpanId": "396516f0437c62f5", "startTimeUnixNano": "1796073688845369512", "endTimeUnixNano": "1796073688846948434", "durationMs": 1.578922, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008726}}
{"type": "effect-span", "name": "sqlite", "traceId": "e3b38eaa9fd65a2017641ecaa5571b5c", "spanId": "11bfa54407e801f9", "parentSpanId": "396516f0437c62f5", "startTimeUnixNano": "1796073688846983569", "endTimeUnixNano": "1796073688848250899", "durationMs": 1.26733, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.013956}}
{"type": "effect-span", "name": "sqlite", "traceId": "e3b38eaa9fd65a2017641ecaa5571b5c", "spanId": "2c94c3529d1c6902", "parentSpanId": "396516f0437c62f5", "startTimeUnixNano": "1796073688856779735", "endTimeUnixNano": "1796073688859170164", "durationMs": 2.390429, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015739}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e3b38eaa9fd65a2017641ecaa5571b5c", "spanId": "396516f0437c62f5", "parentSpanId": "ed698c67f400dfce", "startTimeUnixNano": "1796073688845167574", "endTimeUnixNano": "1796073688859521902", "durationMs": 14.354328, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e3b38eaa9fd65a2017641ecaa5571b5c", "spanId": "c9d3da4fdafaa08b", "parentSpanId": "ed698c67f400dfce", "startTimeUnixNano": "1796073688859543141", "endTimeUnixNano": "1796073688859946566", "durationMs": 0.403425, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e3b38eaa9fd65a2017641ecaa5571b5c", "spanId": "ed698c67f400dfce", "parentSpanId": "9c391d433e1d8c2d", "startTimeUnixNano": "1796073688842143209", "endTimeUnixNano": "1796073688859967936", "durationMs": 17.824727, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.067326, "db.connection": "reader", "db.lock_wait_ms": 1.041}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e3b38eaa9fd65a2017641ecaa5571b5c", "spanId": "9c391d433e1d8c2d", "parentSpanId": "757515c74144c5f3", "startTimeUnixNano": "1796073688842136036", "endTimeUnixNano": "1796073688859981902", "durationMs": 17.845866, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e3b38eaa9fd65a2017641ecaa5571b5c", "spanId": "757515c74144c5f3", "parentSpanId": "42ce58db53b1f105", "startTimeUnixNano": "1796073688842110027", "endTimeUnixNano": "1796073688859987082", "durationMs": 17.877055, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e3b38eaa9fd65a2017641ecaa5571b5c", "spanId": "42ce58db53b1f105", "startTimeUnixNano": "1796073688842096863", "endTimeUnixNano": "1796073688859993954", "durationMs": 17.897091, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5ccd01510b25ff35425278d73b8d81f6", "spanId": "696fad2d2fb315d7", "parentSpanId": "29348533fa24bce4", "startTimeUnixNano": "1796073690313423828", "endTimeUnixNano": "1796073690313607652", "durationMs": 0.183824, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5ccd01510b25ff35425278d73b8d81f6", "spanId": "c6e23da30ac8698c", "parentSpanId": "8e1b583185ac3071", "startTimeUnixNano": "1796073690313648959", "endTimeUnixNano": "1796073690314240685", "durationMs": 0.591726, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00561}}
{"type": "effect-span", "name": "sqlite", "traceId": "5ccd01510b25ff35425278d73b8d81f6", "spanId": "c3d3b275bb3908e2", "parentSpanId": "8e1b583185ac3071", "startTimeUnixNano": "1796073690314320865", "endTimeUnixNano": "1796073690315741612", "durationMs": 1.420747, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009177}}
{"type": "effect-span", "name": "sqlite", "traceId": "5ccd01510b25ff35425278d73b8d81f6", "spanId": "68bcedda6a37851f", "parentSpanId": "8e1b583185ac3071", "startTimeUnixNano": "1796073690315760146", "endTimeUnixNano": "1796073690316964358", "durationMs": 1.204212, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008186}}
{"type": "effect-span", "name": "sqlite", "traceId": "5ccd01510b25ff35425278d73b8d81f6", "spanId": "e5a1e994b2072485", "parentSpanId": "8e1b583185ac3071", "startTimeUnixNano": "1796073690327887090", "endTimeUnixNano": "1796073690330000221", "durationMs": 2.113131, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011452}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5ccd01510b25ff35425278d73b8d81f6", "spanId": "8e1b583185ac3071", "parentSpanId": "29348533fa24bce4", "startTimeUnixNano": "1796073690313642667", "endTimeUnixNano": "1796073690330410659", "durationMs": 16.767992, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5ccd01510b25ff35425278d73b8d81f6", "spanId": "f9cdab4b7a77710a", "parentSpanId": "29348533fa24bce4", "startTimeUnixNano": "1796073690330454060", "endTimeUnixNano": "1796073690330637252", "durationMs": 0.183192, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5ccd01510b25ff35425278d73b8d81f6", "spanId": "29348533fa24bce4", "parentSpanId": "c22f7bbb8160bfa7", "startTimeUnixNano": "1796073690310962145", "endTimeUnixNano": "1796073690330664283", "durationMs": 19.702138, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.455802, "db.connection": "reader", "db.lock_wait_ms": 2.418}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5ccd01510b25ff35425278d73b8d81f6", "spanId": "c22f7bbb8160bfa7", "parentSpanId": "70e8c423013807a9", "startTimeUnixNano": "1796073690310952798", "endTimeUnixNano": "1796073690330684310", "durationMs": 19.731512, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5ccd01510b25ff35425278d73b8d81f6", "spanId": "70e8c423013807a9", "parentSpanId": "ccc93e43f15ee376", "startTimeUnixNano": "1796073690310908655", "endTimeUnixNano": "1796073690330694269", "durationMs": 19.785614, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5ccd01510b25ff35425278d73b8d81f6", "spanId": "ccc93e43f15ee376", "startTimeUnixNano": "1796073690310892515", "endTimeUnixNano": "1796073690330702765", "durationMs": 19.81025, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d2749c9c49e08f881ce0dcddbf0c93b8", "spanId": "319f66320cb31047", "parentSpanId": "b9cce0b85969398c", "startTimeUnixNano": "1796073690520159895", "endTimeUnixNano": "1796073690520378163", "durationMs": 0.218268, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d2749c9c49e08f881ce0dcddbf0c93b8", "spanId": "cb7ec7273f533254", "parentSpanId": "69388cc8c8efde3c", "startTimeUnixNano": "1796073690520428958", "endTimeUnixNano": "1796073690520744458", "durationMs": 0.3155, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.019476}}
{"type": "effect-span", "name": "sqlite", "traceId": "d2749c9c49e08f881ce0dcddbf0c93b8", "spanId": "601bd681482820c8", "parentSpanId": "69388cc8c8efde3c", "startTimeUnixNano": "1796073690520843843", "endTimeUnixNano": "1796073690521970670", "durationMs": 1.126827, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011762}}
{"type": "effect-span", "name": "sqlite", "traceId": "d2749c9c49e08f881ce0dcddbf0c93b8", "spanId": "65a76b455bbf978d", "parentSpanId": "69388cc8c8efde3c", "startTimeUnixNano": "1796073690521994415", "endTimeUnixNano": "1796073690523127022", "durationMs": 1.132607, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009638}}
{"type": "effect-span", "name": "sqlite", "traceId": "d2749c9c49e08f881ce0dcddbf0c93b8", "spanId": "bef3405d62055654", "parentSpanId": "69388cc8c8efde3c", "startTimeUnixNano": "1796073690532905435", "endTimeUnixNano": "1796073690534823351", "durationMs": 1.917916, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016311}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d2749c9c49e08f881ce0dcddbf0c93b8", "spanId": "69388cc8c8efde3c", "parentSpanId": "b9cce0b85969398c", "startTimeUnixNano": "1796073690520420221", "endTimeUnixNano": "1796073690535142768", "durationMs": 14.722547, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d2749c9c49e08f881ce0dcddbf0c93b8", "spanId": "5382a8bccee50405", "parentSpanId": "b9cce0b85969398c", "startTimeUnixNano": "1796073690535158097", "endTimeUnixNano": "1796073690535455323", "durationMs": 0.297226, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d2749c9c49e08f881ce0dcddbf0c93b8", "spanId": "b9cce0b85969398c", "parentSpanId": "2574241c2ac3cfb0", "startTimeUnixNano": "1796073690518847671", "endTimeUnixNano": "1796073690535473988", "durationMs": 16.626317, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.306453, "db.connection": "reader", "db.lock_wait_ms": 1.278}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d2749c9c49e08f881ce0dcddbf0c93b8", "spanId": "2574241c2ac3cfb0", "parentSpanId": "cf81f3a191cc98fb", "startTimeUnixNano": "1796073690518838965", "endTimeUnixNano": "1796073690535486491", "durationMs": 16.647526, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d2749c9c49e08f881ce0dcddbf0c93b8", "spanId": "cf81f3a191cc98fb", "parentSpanId": "a3acd2ca445b6483", "startTimeUnixNano": "1796073690518798509", "endTimeUnixNano": "1796073690535496029", "durationMs": 16.69752, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d2749c9c49e08f881ce0dcddbf0c93b8", "spanId": "a3acd2ca445b6483", "startTimeUnixNano": "1796073690518785465", "endTimeUnixNano": "1796073690535503182", "durationMs": 16.717717, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e7f5ab39b5aadfb29136f97745bd02d3", "spanId": "adc95eefe02c377e", "parentSpanId": "f09d4b84b42eded5", "startTimeUnixNano": "1796073691986633760", "endTimeUnixNano": "1796073691986767820", "durationMs": 0.13406, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7f5ab39b5aadfb29136f97745bd02d3", "spanId": "0a152c0219a97cac", "parentSpanId": "3d1b1a6d49e79839", "startTimeUnixNano": "1796073691986804479", "endTimeUnixNano": "1796073691987462910", "durationMs": 0.658431, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.013094}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7f5ab39b5aadfb29136f97745bd02d3", "spanId": "c9d9235a21c041cf", "parentSpanId": "3d1b1a6d49e79839", "startTimeUnixNano": "1796073691987545935", "endTimeUnixNano": "1796073691988896380", "durationMs": 1.350445, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010229}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7f5ab39b5aadfb29136f97745bd02d3", "spanId": "4577b7996602496b", "parentSpanId": "3d1b1a6d49e79839", "startTimeUnixNano": "1796073691988915015", "endTimeUnixNano": "1796073691990093749", "durationMs": 1.178734, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009067}}
{"type": "effect-span", "name": "sqlite", "traceId": "e7f5ab39b5aadfb29136f97745bd02d3", "spanId": "75cc3dbc466336de", "parentSpanId": "3d1b1a6d49e79839", "startTimeUnixNano": "1796073692000503192", "endTimeUnixNano": "1796073692002787332", "durationMs": 2.28414, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010509}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e7f5ab39b5aadfb29136f97745bd02d3", "spanId": "3d1b1a6d49e79839", "parentSpanId": "f09d4b84b42eded5", "startTimeUnixNano": "1796073691986798758", "endTimeUnixNano": "1796073692003140272", "durationMs": 16.341514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e7f5ab39b5aadfb29136f97745bd02d3", "spanId": "6a7cbe27f383d71b", "parentSpanId": "f09d4b84b42eded5", "startTimeUnixNano": "1796073692003158697", "endTimeUnixNano": "1796073692003339936", "durationMs": 0.181239, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e7f5ab39b5aadfb29136f97745bd02d3", "spanId": "f09d4b84b42eded5", "parentSpanId": "5be0c45c112d7681", "startTimeUnixNano": "1796073691984607872", "endTimeUnixNano": "1796073692003362508", "durationMs": 18.754636, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.0217, "db.connection": "reader", "db.lock_wait_ms": 1.983}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e7f5ab39b5aadfb29136f97745bd02d3", "spanId": "5be0c45c112d7681", "parentSpanId": "9ad574124cf41f8f", "startTimeUnixNano": "1796073691984598304", "endTimeUnixNano": "1796073692003379860", "durationMs": 18.781556, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e7f5ab39b5aadfb29136f97745bd02d3", "spanId": "9ad574124cf41f8f", "parentSpanId": "f559a654495c8c67", "startTimeUnixNano": "1796073691984555975", "endTimeUnixNano": "1796073692003390220", "durationMs": 18.834245, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e7f5ab39b5aadfb29136f97745bd02d3", "spanId": "f559a654495c8c67", "startTimeUnixNano": "1796073691984535186", "endTimeUnixNano": "1796073692003398605", "durationMs": 18.863419, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a74268b3c07e0412a3297feb86991747", "spanId": "cf1c5aa62b4471f8", "parentSpanId": "95890b51980e1763", "startTimeUnixNano": "1796073692210815715", "endTimeUnixNano": "1796073692211191978", "durationMs": 0.376263, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a74268b3c07e0412a3297feb86991747", "spanId": "1c5b2f289e1b2e45", "parentSpanId": "32749436a2f8e814", "startTimeUnixNano": "1796073692211248584", "endTimeUnixNano": "1796073692212033492", "durationMs": 0.784908, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007364}}
{"type": "effect-span", "name": "sqlite", "traceId": "a74268b3c07e0412a3297feb86991747", "spanId": "5e8d1d50bd500aff", "parentSpanId": "32749436a2f8e814", "startTimeUnixNano": "1796073692212130894", "endTimeUnixNano": "1796073692214387934", "durationMs": 2.25704, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012934}}
{"type": "effect-span", "name": "sqlite", "traceId": "a74268b3c07e0412a3297feb86991747", "spanId": "e203a2fb0d271ac3", "parentSpanId": "32749436a2f8e814", "startTimeUnixNano": "1796073692214403212", "endTimeUnixNano": "1796073692217117337", "durationMs": 2.714125, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008336}}
{"type": "effect-span", "name": "sqlite", "traceId": "a74268b3c07e0412a3297feb86991747", "spanId": "657e2b4fe8e1ee51", "parentSpanId": "32749436a2f8e814", "startTimeUnixNano": "1796073692224762983", "endTimeUnixNano": "1796073692227527522", "durationMs": 2.764539, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012704}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a74268b3c07e0412a3297feb86991747", "spanId": "32749436a2f8e814", "parentSpanId": "95890b51980e1763", "startTimeUnixNano": "1796073692211238866", "endTimeUnixNano": "1796073692227844775", "durationMs": 16.605909, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a74268b3c07e0412a3297feb86991747", "spanId": "65fec881055ca5fa", "parentSpanId": "95890b51980e1763", "startTimeUnixNano": "1796073692227870984", "endTimeUnixNano": "1796073692228119459", "durationMs": 0.248475, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a74268b3c07e0412a3297feb86991747", "spanId": "95890b51980e1763", "parentSpanId": "90a47632910a255c", "startTimeUnixNano": "1796073692209771372", "endTimeUnixNano": "1796073692228135038", "durationMs": 18.363666, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.041367, "db.connection": "reader", "db.lock_wait_ms": 1.011}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a74268b3c07e0412a3297feb86991747", "spanId": "90a47632910a255c", "parentSpanId": "00ccffc67efc7bf9", "startTimeUnixNano": "1796073692209763798", "endTimeUnixNano": "1796073692228149164", "durationMs": 18.385366, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a74268b3c07e0412a3297feb86991747", "spanId": "00ccffc67efc7bf9", "parentSpanId": "d0d26bd1ee1b193a", "startTimeUnixNano": "1796073692209733602", "endTimeUnixNano": "1796073692228154404", "durationMs": 18.420802, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a74268b3c07e0412a3297feb86991747", "spanId": "d0d26bd1ee1b193a", "startTimeUnixNano": "1796073692209720417", "endTimeUnixNano": "1796073692228161708", "durationMs": 18.441291, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a8dc12eda4264cd22ee7c287f9709f26", "spanId": "c5c9c08cf9272edb", "parentSpanId": "76b137ea22957c76", "startTimeUnixNano": "1796073693746178246", "endTimeUnixNano": "1796073693746863958", "durationMs": 0.685712, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a8dc12eda4264cd22ee7c287f9709f26", "spanId": "304f4cddc6b97ecb", "parentSpanId": "23c34cf3c381774a", "startTimeUnixNano": "1796073693746904995", "endTimeUnixNano": "1796073693747520877", "durationMs": 0.615882, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004518}}
{"type": "effect-span", "name": "sqlite", "traceId": "a8dc12eda4264cd22ee7c287f9709f26", "spanId": "10558798b93c5740", "parentSpanId": "23c34cf3c381774a", "startTimeUnixNano": "1796073693747590557", "endTimeUnixNano": "1796073693749174899", "durationMs": 1.584342, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008696}}
{"type": "effect-span", "name": "sqlite", "traceId": "a8dc12eda4264cd22ee7c287f9709f26", "spanId": "56222a66e9b79ff5", "parentSpanId": "23c34cf3c381774a", "startTimeUnixNano": "1796073693749189797", "endTimeUnixNano": "1796073693754250129", "durationMs": 5.060332, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007384}}
{"type": "effect-span", "name": "sqlite", "traceId": "a8dc12eda4264cd22ee7c287f9709f26", "spanId": "8399186fc2e4f7d2", "parentSpanId": "23c34cf3c381774a", "startTimeUnixNano": "1796073693762344403", "endTimeUnixNano": "1796073693764390579", "durationMs": 2.046176, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.028524}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a8dc12eda4264cd22ee7c287f9709f26", "spanId": "23c34cf3c381774a", "parentSpanId": "76b137ea22957c76", "startTimeUnixNano": "1796073693746898844", "endTimeUnixNano": "1796073693764696721", "durationMs": 17.797877, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a8dc12eda4264cd22ee7c287f9709f26", "spanId": "4653091da3abb9e7", "parentSpanId": "76b137ea22957c76", "startTimeUnixNano": "1796073693764714084", "endTimeUnixNano": "1796073693764884803", "durationMs": 0.170719, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a8dc12eda4264cd22ee7c287f9709f26", "spanId": "76b137ea22957c76", "parentSpanId": "9dbf31d3ff0f1fb4", "startTimeUnixNano": "1796073693744891370", "endTimeUnixNano": "1796073693764905792", "durationMs": 20.014422, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.283229, "db.connection": "reader", "db.lock_wait_ms": 1.25}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a8dc12eda4264cd22ee7c287f9709f26", "spanId": "9dbf31d3ff0f1fb4", "parentSpanId": "d83a319c6aaa1b28", "startTimeUnixNano": "1796073693744882854", "endTimeUnixNano": "1796073693764921392", "durationMs": 20.038538, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a8dc12eda4264cd22ee7c287f9709f26", "spanId": "d83a319c6aaa1b28", "parentSpanId": "1711aa614978a90d", "startTimeUnixNano": "1796073693744838741", "endTimeUnixNano": "1796073693764927483", "durationMs": 20.088742, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a8dc12eda4264cd22ee7c287f9709f26", "spanId": "1711aa614978a90d", "startTimeUnixNano": "1796073693744818764", "endTimeUnixNano": "1796073693764935518", "durationMs": 20.116754, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d5fd27e350a2ac38e2e1cab090639dff", "spanId": "e654b34428602cee", "parentSpanId": "94e06062a953ad79", "startTimeUnixNano": "1796073693976861403", "endTimeUnixNano": "1796073693977070754", "durationMs": 0.209351, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d5fd27e350a2ac38e2e1cab090639dff", "spanId": "e98832b77ccc0c6d", "parentSpanId": "80b0cc97461183f5", "startTimeUnixNano": "1796073693977122050", "endTimeUnixNano": "1796073693977406141", "durationMs": 0.284091, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006232}}
{"type": "effect-span", "name": "sqlite", "traceId": "d5fd27e350a2ac38e2e1cab090639dff", "spanId": "6a3b174d66f1226c", "parentSpanId": "80b0cc97461183f5", "startTimeUnixNano": "1796073693977499606", "endTimeUnixNano": "1796073693979135915", "durationMs": 1.636309, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009027}}
{"type": "effect-span", "name": "sqlite", "traceId": "d5fd27e350a2ac38e2e1cab090639dff", "spanId": "03646d85f1cbbdd2", "parentSpanId": "80b0cc97461183f5", "startTimeUnixNano": "1796073693979153859", "endTimeUnixNano": "1796073693981055395", "durationMs": 1.901536, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015709}}
{"type": "effect-span", "name": "sqlite", "traceId": "d5fd27e350a2ac38e2e1cab090639dff", "spanId": "451e8d02982b27fd", "parentSpanId": "80b0cc97461183f5", "startTimeUnixNano": "1796073693992618425", "endTimeUnixNano": "1796073693995006690", "durationMs": 2.388265, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012243}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d5fd27e350a2ac38e2e1cab090639dff", "spanId": "80b0cc97461183f5", "parentSpanId": "94e06062a953ad79", "startTimeUnixNano": "1796073693977114817", "endTimeUnixNano": "1796073693995411047", "durationMs": 18.29623, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d5fd27e350a2ac38e2e1cab090639dff", "spanId": "fd85f116705d5d8e", "parentSpanId": "94e06062a953ad79", "startTimeUnixNano": "1796073693995430333", "endTimeUnixNano": "1796073693995880444", "durationMs": 0.450111, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d5fd27e350a2ac38e2e1cab090639dff", "spanId": "94e06062a953ad79", "parentSpanId": "6537c1f1286b3017", "startTimeUnixNano": "1796073693974408857", "endTimeUnixNano": "1796073693995905170", "durationMs": 21.496313, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.446014, "db.connection": "reader", "db.lock_wait_ms": 2.359}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d5fd27e350a2ac38e2e1cab090639dff", "spanId": "6537c1f1286b3017", "parentSpanId": "3ad294ab0d4eda36", "startTimeUnixNano": "1796073693974393458", "endTimeUnixNano": "1796073693995929145", "durationMs": 21.535687, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d5fd27e350a2ac38e2e1cab090639dff", "spanId": "3ad294ab0d4eda36", "parentSpanId": "1d02cce5a14882b8", "startTimeUnixNano": "1796073693974353934", "endTimeUnixNano": "1796073693995935447", "durationMs": 21.581513, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d5fd27e350a2ac38e2e1cab090639dff", "spanId": "1d02cce5a14882b8", "startTimeUnixNano": "1796073693974337784", "endTimeUnixNano": "1796073693995945205", "durationMs": 21.607421, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "877d90bf2b7533ebae96b5f68954d1f4", "spanId": "038cabc34018b6f8", "parentSpanId": "b90c416b58b62c8a", "startTimeUnixNano": "1796073695411235768", "endTimeUnixNano": "1796073695411402269", "durationMs": 0.166501, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "877d90bf2b7533ebae96b5f68954d1f4", "spanId": "7b9b5ecd97b68a69", "parentSpanId": "d588a2c9b6da8643", "startTimeUnixNano": "1796073695411460248", "endTimeUnixNano": "1796073695412112988", "durationMs": 0.65274, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006252}}
{"type": "effect-span", "name": "sqlite", "traceId": "877d90bf2b7533ebae96b5f68954d1f4", "spanId": "0584ffafb0ec32f1", "parentSpanId": "d588a2c9b6da8643", "startTimeUnixNano": "1796073695412190423", "endTimeUnixNano": "1796073695413320286", "durationMs": 1.129863, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009157}}
{"type": "effect-span", "name": "sqlite", "traceId": "877d90bf2b7533ebae96b5f68954d1f4", "spanId": "851d9b949b04ee67", "parentSpanId": "d588a2c9b6da8643", "startTimeUnixNano": "1796073695413345453", "endTimeUnixNano": "1796073695414600409", "durationMs": 1.254956, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009568}}
{"type": "effect-span", "name": "sqlite", "traceId": "877d90bf2b7533ebae96b5f68954d1f4", "spanId": "bb2dd41b60c33d63", "parentSpanId": "d588a2c9b6da8643", "startTimeUnixNano": "1796073695425061079", "endTimeUnixNano": "1796073695427424528", "durationMs": 2.363449, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025548}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "877d90bf2b7533ebae96b5f68954d1f4", "spanId": "d588a2c9b6da8643", "parentSpanId": "b90c416b58b62c8a", "startTimeUnixNano": "1796073695411452073", "endTimeUnixNano": "1796073695427835146", "durationMs": 16.383073, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "877d90bf2b7533ebae96b5f68954d1f4", "spanId": "1875bb7c8d9844ed", "parentSpanId": "b90c416b58b62c8a", "startTimeUnixNano": "1796073695427854913", "endTimeUnixNano": "1796073695428087919", "durationMs": 0.233006, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "877d90bf2b7533ebae96b5f68954d1f4", "spanId": "b90c416b58b62c8a", "parentSpanId": "7cb900b4a3dc36dd", "startTimeUnixNano": "1796073695408734050", "endTimeUnixNano": "1796073695428111122", "durationMs": 19.377072, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.496929, "db.connection": "reader", "db.lock_wait_ms": 2.458}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "877d90bf2b7533ebae96b5f68954d1f4", "spanId": "7cb900b4a3dc36dd", "parentSpanId": "14fa5384c8f05d74", "startTimeUnixNano": "1796073695408724773", "endTimeUnixNano": "1796073695428129877", "durationMs": 19.405104, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "877d90bf2b7533ebae96b5f68954d1f4", "spanId": "14fa5384c8f05d74", "parentSpanId": "bd5e86c76555a323", "startTimeUnixNano": "1796073695408680039", "endTimeUnixNano": "1796073695428136289", "durationMs": 19.45625, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "877d90bf2b7533ebae96b5f68954d1f4", "spanId": "bd5e86c76555a323", "startTimeUnixNano": "1796073695408663699", "endTimeUnixNano": "1796073695428145186", "durationMs": 19.481487, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "be456196875f3cd8a26b8c2a55cf4a75", "spanId": "3fc83b4a5e3569ed", "parentSpanId": "29ba0fab83b0e553", "startTimeUnixNano": "1796073695628537444", "endTimeUnixNano": "1796073695628801648", "durationMs": 0.264204, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "be456196875f3cd8a26b8c2a55cf4a75", "spanId": "51913159f0abd7fa", "parentSpanId": "9f963d6161f978cb", "startTimeUnixNano": "1796073695628840411", "endTimeUnixNano": "1796073695628934116", "durationMs": 0.093705, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004709}}
{"type": "effect-span", "name": "sqlite", "traceId": "be456196875f3cd8a26b8c2a55cf4a75", "spanId": "d2377961d0847f9d", "parentSpanId": "9f963d6161f978cb", "startTimeUnixNano": "1796073695629004458", "endTimeUnixNano": "1796073695630671034", "durationMs": 1.666576, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014968}}
{"type": "effect-span", "name": "sqlite", "traceId": "be456196875f3cd8a26b8c2a55cf4a75", "spanId": "ffe7d177e91a6b3a", "parentSpanId": "9f963d6161f978cb", "startTimeUnixNano": "1796073695630684439", "endTimeUnixNano": "1796073695632239366", "durationMs": 1.554927, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007524}}
{"type": "effect-span", "name": "sqlite", "traceId": "be456196875f3cd8a26b8c2a55cf4a75", "spanId": "81c3e0cd92bfe4f7", "parentSpanId": "9f963d6161f978cb", "startTimeUnixNano": "1796073695646700667", "endTimeUnixNano": "1796073695649843052", "durationMs": 3.142385, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017292}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "be456196875f3cd8a26b8c2a55cf4a75", "spanId": "9f963d6161f978cb", "parentSpanId": "29ba0fab83b0e553", "startTimeUnixNano": "1796073695628833618", "endTimeUnixNano": "1796073695650275992", "durationMs": 21.442374, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "be456196875f3cd8a26b8c2a55cf4a75", "spanId": "e4e7e693025878c1", "parentSpanId": "29ba0fab83b0e553", "startTimeUnixNano": "1796073695650294667", "endTimeUnixNano": "1796073695650860454", "durationMs": 0.565787, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "be456196875f3cd8a26b8c2a55cf4a75", "spanId": "29ba0fab83b0e553", "parentSpanId": "afe0de0e3063c510", "startTimeUnixNano": "1796073695626987947", "endTimeUnixNano": "1796073695650875112", "durationMs": 23.887165, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.543797, "db.connection": "reader", "db.lock_wait_ms": 1.508}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "be456196875f3cd8a26b8c2a55cf4a75", "spanId": "afe0de0e3063c510", "parentSpanId": "bc449e0d113c11b9", "startTimeUnixNano": "1796073695626979692", "endTimeUnixNano": "1796073695650892585", "durationMs": 23.912893, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "be456196875f3cd8a26b8c2a55cf4a75", "spanId": "bc449e0d113c11b9", "parentSpanId": "19ede22dcb60f6f9", "startTimeUnixNano": "1796073695626947882", "endTimeUnixNano": "1796073695650898195", "durationMs": 23.950313, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "be456196875f3cd8a26b8c2a55cf4a75", "spanId": "19ede22dcb60f6f9", "startTimeUnixNano": "1796073695626932253", "endTimeUnixNano": "1796073695650907452", "durationMs": 23.975199, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f325555abf71a868b05267479690f8ac", "spanId": "d545d08fb986a267", "parentSpanId": "bbb79fb14b4c9ad9", "startTimeUnixNano": "1796073697089951169", "endTimeUnixNano": "1796073697090673921", "durationMs": 0.722752, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f325555abf71a868b05267479690f8ac", "spanId": "9043b540df3d348d", "parentSpanId": "76f7506e676dc5e1", "startTimeUnixNano": "1796073697090714988", "endTimeUnixNano": "1796073697091391593", "durationMs": 0.676605, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004508}}
{"type": "effect-span", "name": "sqlite", "traceId": "f325555abf71a868b05267479690f8ac", "spanId": "eaf6265f0f872d4d", "parentSpanId": "76f7506e676dc5e1", "startTimeUnixNano": "1796073697091475029", "endTimeUnixNano": "1796073697093140333", "durationMs": 1.665304, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009798}}
{"type": "effect-span", "name": "sqlite", "traceId": "f325555abf71a868b05267479690f8ac", "spanId": "e510758333f50c28", "parentSpanId": "76f7506e676dc5e1", "startTimeUnixNano": "1796073697093161833", "endTimeUnixNano": "1796073697094565848", "durationMs": 1.404015, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008235}}
{"type": "effect-span", "name": "sqlite", "traceId": "f325555abf71a868b05267479690f8ac", "spanId": "43819b271fe3abf7", "parentSpanId": "76f7506e676dc5e1", "startTimeUnixNano": "1796073697106620038", "endTimeUnixNano": "1796073697108488081", "durationMs": 1.868043, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015489}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f325555abf71a868b05267479690f8ac", "spanId": "76f7506e676dc5e1", "parentSpanId": "bbb79fb14b4c9ad9", "startTimeUnixNano": "1796073697090707774", "endTimeUnixNano": "1796073697108942360", "durationMs": 18.234586, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f325555abf71a868b05267479690f8ac", "spanId": "a206ac4e7c9f43a6", "parentSpanId": "bbb79fb14b4c9ad9", "startTimeUnixNano": "1796073697108981754", "endTimeUnixNano": "1796073697113591364", "durationMs": 4.60961, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f325555abf71a868b05267479690f8ac", "spanId": "bbb79fb14b4c9ad9", "parentSpanId": "52aae94ff567f979", "startTimeUnixNano": "1796073697088408665", "endTimeUnixNano": "1796073697113678056", "durationMs": 25.269391, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.538106, "db.connection": "reader", "db.lock_wait_ms": 1.485}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f325555abf71a868b05267479690f8ac", "spanId": "52aae94ff567f979", "parentSpanId": "938851eb5b53cf41", "startTimeUnixNano": "1796073697088398636", "endTimeUnixNano": "1796073697113699396", "durationMs": 25.30076, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f325555abf71a868b05267479690f8ac", "spanId": "938851eb5b53cf41", "parentSpanId": "3fee8c9e1fd8e358", "startTimeUnixNano": "1796073697088355395", "endTimeUnixNano": "1796073697113704375", "durationMs": 25.34898, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f325555abf71a868b05267479690f8ac", "spanId": "3fee8c9e1fd8e358", "startTimeUnixNano": "1796073697088334266", "endTimeUnixNano": "1796073697113711979", "durationMs": 25.377713, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "be6e0cba0a6a287469274937581cb9ea", "spanId": "34ab0ce828304ca8", "parentSpanId": "3910d6672fdf21a7", "startTimeUnixNano": "1796073697321355355", "endTimeUnixNano": "1796073697321575016", "durationMs": 0.219661, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "be6e0cba0a6a287469274937581cb9ea", "spanId": "5e095d36db183cda", "parentSpanId": "f7401e7631d38c7f", "startTimeUnixNano": "1796073697321623747", "endTimeUnixNano": "1796073697321836695", "durationMs": 0.212948, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004889}}
{"type": "effect-span", "name": "sqlite", "traceId": "be6e0cba0a6a287469274937581cb9ea", "spanId": "6d5916bbaa0b1cf4", "parentSpanId": "f7401e7631d38c7f", "startTimeUnixNano": "1796073697321921223", "endTimeUnixNano": "1796073697323372207", "durationMs": 1.450984, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008757}}
{"type": "effect-span", "name": "sqlite", "traceId": "be6e0cba0a6a287469274937581cb9ea", "spanId": "9da16610402f4ef2", "parentSpanId": "f7401e7631d38c7f", "startTimeUnixNano": "1796073697323385051", "endTimeUnixNano": "1796073697325080020", "durationMs": 1.694969, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006101}}
{"type": "effect-span", "name": "sqlite", "traceId": "be6e0cba0a6a287469274937581cb9ea", "spanId": "f15fb35c283f0a30", "parentSpanId": "f7401e7631d38c7f", "startTimeUnixNano": "1796073697332382615", "endTimeUnixNano": "1796073697334321170", "durationMs": 1.938555, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.008115}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "be6e0cba0a6a287469274937581cb9ea", "spanId": "f7401e7631d38c7f", "parentSpanId": "3910d6672fdf21a7", "startTimeUnixNano": "1796073697321617195", "endTimeUnixNano": "1796073697334658931", "durationMs": 13.041736, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "be6e0cba0a6a287469274937581cb9ea", "spanId": "413bc3ade6a7be02", "parentSpanId": "3910d6672fdf21a7", "startTimeUnixNano": "1796073697334679630", "endTimeUnixNano": "1796073697334986524", "durationMs": 0.306894, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "be6e0cba0a6a287469274937581cb9ea", "spanId": "3910d6672fdf21a7", "parentSpanId": "d05c042bb3c0a23f", "startTimeUnixNano": "1796073697319158578", "endTimeUnixNano": "1796073697335018544", "durationMs": 15.859966, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.193872, "db.connection": "reader", "db.lock_wait_ms": 2.16}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "be6e0cba0a6a287469274937581cb9ea", "spanId": "d05c042bb3c0a23f", "parentSpanId": "7b4cd946a750b2c7", "startTimeUnixNano": "1796073697319149080", "endTimeUnixNano": "1796073697335036157", "durationMs": 15.887077, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "be6e0cba0a6a287469274937581cb9ea", "spanId": "7b4cd946a750b2c7", "parentSpanId": "16217c9bf5e36a9f", "startTimeUnixNano": "1796073697319113614", "endTimeUnixNano": "1796073697335042609", "durationMs": 15.928995, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "be6e0cba0a6a287469274937581cb9ea", "spanId": "16217c9bf5e36a9f", "startTimeUnixNano": "1796073697319094247", "endTimeUnixNano": "1796073697335051926", "durationMs": 15.957679, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a62392507c2873f7ef92bdbdb1cd2183", "spanId": "8d6f758090e05289", "parentSpanId": "47988993557ff4be", "startTimeUnixNano": "1796073698834160394", "endTimeUnixNano": "1796073698834736642", "durationMs": 0.576248, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a62392507c2873f7ef92bdbdb1cd2183", "spanId": "ee2c34cd63c69bc3", "parentSpanId": "0fc2872c6c7ebfff", "startTimeUnixNano": "1796073698834778350", "endTimeUnixNano": "1796073698835385315", "durationMs": 0.606965, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005049}}
{"type": "effect-span", "name": "sqlite", "traceId": "a62392507c2873f7ef92bdbdb1cd2183", "spanId": "6c3772e111887cfb", "parentSpanId": "0fc2872c6c7ebfff", "startTimeUnixNano": "1796073698835472949", "endTimeUnixNano": "1796073698836972392", "durationMs": 1.499443, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009898}}
{"type": "effect-span", "name": "sqlite", "traceId": "a62392507c2873f7ef92bdbdb1cd2183", "spanId": "abfc15146e316085", "parentSpanId": "0fc2872c6c7ebfff", "startTimeUnixNano": "1796073698836994644", "endTimeUnixNano": "1796073698838320092", "durationMs": 1.325448, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008125}}
{"type": "effect-span", "name": "sqlite", "traceId": "a62392507c2873f7ef92bdbdb1cd2183", "spanId": "17e99d8076ed13b6", "parentSpanId": "0fc2872c6c7ebfff", "startTimeUnixNano": "1796073698853011915", "endTimeUnixNano": "1796073698855049415", "durationMs": 2.0375, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012844}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a62392507c2873f7ef92bdbdb1cd2183", "spanId": "0fc2872c6c7ebfff", "parentSpanId": "47988993557ff4be", "startTimeUnixNano": "1796073698834771126", "endTimeUnixNano": "1796073698855420358", "durationMs": 20.649232, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a62392507c2873f7ef92bdbdb1cd2183", "spanId": "18bfcb636839abd2", "parentSpanId": "47988993557ff4be", "startTimeUnixNano": "1796073698855451336", "endTimeUnixNano": "1796073698855638236", "durationMs": 0.1869, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a62392507c2873f7ef92bdbdb1cd2183", "spanId": "47988993557ff4be", "parentSpanId": "99bafe851342c205", "startTimeUnixNano": "1796073698832960400", "endTimeUnixNano": "1796073698855662992", "durationMs": 22.702592, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.195496, "db.connection": "reader", "db.lock_wait_ms": 1.157}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a62392507c2873f7ef92bdbdb1cd2183", "spanId": "99bafe851342c205", "parentSpanId": "0922120d1497ba79", "startTimeUnixNano": "1796073698832951464", "endTimeUnixNano": "1796073698855680354", "durationMs": 22.72889, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a62392507c2873f7ef92bdbdb1cd2183", "spanId": "0922120d1497ba79", "parentSpanId": "a0ad02092e6c6184", "startTimeUnixNano": "1796073698832915166", "endTimeUnixNano": "1796073698855686125", "durationMs": 22.770959, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a62392507c2873f7ef92bdbdb1cd2183", "spanId": "a0ad02092e6c6184", "startTimeUnixNano": "1796073698832902242", "endTimeUnixNano": "1796073698855694170", "durationMs": 22.791928, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f1779614b29fe5ebeecbaa5c70f7db57", "spanId": "58846f6674bac3b8", "parentSpanId": "8491016f2a2dc3f2", "startTimeUnixNano": "1796073699039656732", "endTimeUnixNano": "1796073699041107935", "durationMs": 1.451203, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f1779614b29fe5ebeecbaa5c70f7db57", "spanId": "2194746031688f9a", "parentSpanId": "94fe1764654ed1cc", "startTimeUnixNano": "1796073699041142790", "endTimeUnixNano": "1796073699044148230", "durationMs": 3.00544, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004589}}
{"type": "effect-span", "name": "sqlite", "traceId": "f1779614b29fe5ebeecbaa5c70f7db57", "spanId": "9708b410c36baba2", "parentSpanId": "94fe1764654ed1cc", "startTimeUnixNano": "1796073699044312036", "endTimeUnixNano": "1796073699045756007", "durationMs": 1.443971, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01036}}
{"type": "effect-span", "name": "sqlite", "traceId": "f1779614b29fe5ebeecbaa5c70f7db57", "spanId": "2d199ba825d558e0", "parentSpanId": "94fe1764654ed1cc", "startTimeUnixNano": "1796073699045768189", "endTimeUnixNano": "1796073699047036010", "durationMs": 1.267821, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009779}}
{"type": "effect-span", "name": "sqlite", "traceId": "f1779614b29fe5ebeecbaa5c70f7db57", "spanId": "375c49bcca34ac11", "parentSpanId": "94fe1764654ed1cc", "startTimeUnixNano": "1796073699054957142", "endTimeUnixNano": "1796073699056524372", "durationMs": 1.56723, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009598}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f1779614b29fe5ebeecbaa5c70f7db57", "spanId": "94fe1764654ed1cc", "parentSpanId": "8491016f2a2dc3f2", "startTimeUnixNano": "1796073699041136238", "endTimeUnixNano": "1796073699056826217", "durationMs": 15.689979, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f1779614b29fe5ebeecbaa5c70f7db57", "spanId": "6db6a396aa9aae71", "parentSpanId": "8491016f2a2dc3f2", "startTimeUnixNano": "1796073699056842267", "endTimeUnixNano": "1796073699057152377", "durationMs": 0.31011, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f1779614b29fe5ebeecbaa5c70f7db57", "spanId": "8491016f2a2dc3f2", "parentSpanId": "8bbe0aa9580e4cb5", "startTimeUnixNano": "1796073699038490571", "endTimeUnixNano": "1796073699057200517", "durationMs": 18.709946, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.163035, "db.connection": "reader", "db.lock_wait_ms": 1.136}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f1779614b29fe5ebeecbaa5c70f7db57", "spanId": "8bbe0aa9580e4cb5", "parentSpanId": "eebdfad6f75020c2", "startTimeUnixNano": "1796073699038483838", "endTimeUnixNano": "1796073699057231234", "durationMs": 18.747396, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f1779614b29fe5ebeecbaa5c70f7db57", "spanId": "eebdfad6f75020c2", "parentSpanId": "4ee24d1a28ee5723", "startTimeUnixNano": "1796073699038456036", "endTimeUnixNano": "1796073699057241073", "durationMs": 18.785037, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f1779614b29fe5ebeecbaa5c70f7db57", "spanId": "4ee24d1a28ee5723", "startTimeUnixNano": "1796073699038428575", "endTimeUnixNano": "1796073699057250180", "durationMs": 18.821605, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d4b6009bc848072b3278ca7d4f0d2bc2", "spanId": "25cba51f0bad4310", "parentSpanId": "846ad8e8b0753240", "startTimeUnixNano": "1796073700474147499", "endTimeUnixNano": "1796073700474914794", "durationMs": 0.767295, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4b6009bc848072b3278ca7d4f0d2bc2", "spanId": "b9009763a53c2f6d", "parentSpanId": "6fc488e3db275cd9", "startTimeUnixNano": "1796073700474957805", "endTimeUnixNano": "1796073700476053714", "durationMs": 1.095909, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004748}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4b6009bc848072b3278ca7d4f0d2bc2", "spanId": "a91ea1333a0cb111", "parentSpanId": "6fc488e3db275cd9", "startTimeUnixNano": "1796073700476129806", "endTimeUnixNano": "1796073700477393369", "durationMs": 1.263563, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008516}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4b6009bc848072b3278ca7d4f0d2bc2", "spanId": "20abec3e5f3ee607", "parentSpanId": "6fc488e3db275cd9", "startTimeUnixNano": "1796073700477409279", "endTimeUnixNano": "1796073700478696917", "durationMs": 1.287638, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007444}}
{"type": "effect-span", "name": "sqlite", "traceId": "d4b6009bc848072b3278ca7d4f0d2bc2", "spanId": "25289084f8e26ed9", "parentSpanId": "6fc488e3db275cd9", "startTimeUnixNano": "1796073700493025851", "endTimeUnixNano": "1796073700495891249", "durationMs": 2.865398, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015589}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d4b6009bc848072b3278ca7d4f0d2bc2", "spanId": "6fc488e3db275cd9", "parentSpanId": "846ad8e8b0753240", "startTimeUnixNano": "1796073700474952234", "endTimeUnixNano": "1796073700496364554", "durationMs": 21.41232, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d4b6009bc848072b3278ca7d4f0d2bc2", "spanId": "05fc90467a2da192", "parentSpanId": "846ad8e8b0753240", "startTimeUnixNano": "1796073700496385673", "endTimeUnixNano": "1796073700496714629", "durationMs": 0.328956, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d4b6009bc848072b3278ca7d4f0d2bc2", "spanId": "846ad8e8b0753240", "parentSpanId": "64b7e9deb4720019", "startTimeUnixNano": "1796073700472616777", "endTimeUnixNano": "1796073700496799768", "durationMs": 24.182991, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.525252, "db.connection": "reader", "db.lock_wait_ms": 1.485}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d4b6009bc848072b3278ca7d4f0d2bc2", "spanId": "64b7e9deb4720019", "parentSpanId": "de4e937ccd157b7b", "startTimeUnixNano": "1796073700472606919", "endTimeUnixNano": "1796073700496819415", "durationMs": 24.212496, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d4b6009bc848072b3278ca7d4f0d2bc2", "spanId": "de4e937ccd157b7b", "parentSpanId": "f2fc20e2b271d156", "startTimeUnixNano": "1796073700472561504", "endTimeUnixNano": "1796073700496824755", "durationMs": 24.263251, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d4b6009bc848072b3278ca7d4f0d2bc2", "spanId": "f2fc20e2b271d156", "startTimeUnixNano": "1796073700472545835", "endTimeUnixNano": "1796073700496833601", "durationMs": 24.287766, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9e1f7c522cdb663ba0e4bc2377077675", "spanId": "ff967265fe791d6c", "parentSpanId": "10367755f8440227", "startTimeUnixNano": "1796073700693452767", "endTimeUnixNano": "1796073700695134782", "durationMs": 1.682015, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e1f7c522cdb663ba0e4bc2377077675", "spanId": "ae33fa65840448d1", "parentSpanId": "1c3437c194e37bfd", "startTimeUnixNano": "1796073700695173485", "endTimeUnixNano": "1796073700695448499", "durationMs": 0.275014, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004628}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e1f7c522cdb663ba0e4bc2377077675", "spanId": "0e51f212d6f15c6c", "parentSpanId": "1c3437c194e37bfd", "startTimeUnixNano": "1796073700695526384", "endTimeUnixNano": "1796073700696833459", "durationMs": 1.307075, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009458}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e1f7c522cdb663ba0e4bc2377077675", "spanId": "3bce22814bf1a4c1", "parentSpanId": "1c3437c194e37bfd", "startTimeUnixNano": "1796073700696846022", "endTimeUnixNano": "1796073700698735135", "durationMs": 1.889113, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005591}}
{"type": "effect-span", "name": "sqlite", "traceId": "9e1f7c522cdb663ba0e4bc2377077675", "spanId": "1ce061041cbce973", "parentSpanId": "1c3437c194e37bfd", "startTimeUnixNano": "1796073700707520994", "endTimeUnixNano": "1796073700709945728", "durationMs": 2.424734, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017172}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9e1f7c522cdb663ba0e4bc2377077675", "spanId": "1c3437c194e37bfd", "parentSpanId": "10367755f8440227", "startTimeUnixNano": "1796073700695167193", "endTimeUnixNano": "1796073700710381242", "durationMs": 15.214049, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9e1f7c522cdb663ba0e4bc2377077675", "spanId": "3cef28091b7fab94", "parentSpanId": "10367755f8440227", "startTimeUnixNano": "1796073700710401810", "endTimeUnixNano": "1796073700710548324", "durationMs": 0.146514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9e1f7c522cdb663ba0e4bc2377077675", "spanId": "10367755f8440227", "parentSpanId": "893357a4441e5ae3", "startTimeUnixNano": "1796073700691751235", "endTimeUnixNano": "1796073700710567230", "durationMs": 18.815995, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.696472, "db.connection": "reader", "db.lock_wait_ms": 1.668}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9e1f7c522cdb663ba0e4bc2377077675", "spanId": "893357a4441e5ae3", "parentSpanId": "f46dd7c372c18622", "startTimeUnixNano": "1796073700691741827", "endTimeUnixNano": "1796073700710585083", "durationMs": 18.843256, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9e1f7c522cdb663ba0e4bc2377077675", "spanId": "f46dd7c372c18622", "parentSpanId": "49e7f3c40f109d16", "startTimeUnixNano": "1796073700691707563", "endTimeUnixNano": "1796073700710591565", "durationMs": 18.884002, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9e1f7c522cdb663ba0e4bc2377077675", "spanId": "49e7f3c40f109d16", "startTimeUnixNano": "1796073700691692686", "endTimeUnixNano": "1796073700710599650", "durationMs": 18.906964, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9f867f2a6da6e398538606fa4332b445", "spanId": "ebb331ea60d15e91", "parentSpanId": "47a06c264822ad13", "startTimeUnixNano": "1796073702110831266", "endTimeUnixNano": "1796073702111604301", "durationMs": 0.773035, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f867f2a6da6e398538606fa4332b445", "spanId": "5f36f0781df29bfd", "parentSpanId": "20b65e1043c88cc4", "startTimeUnixNano": "1796073702111649616", "endTimeUnixNano": "1796073702112142588", "durationMs": 0.492972, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004829}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f867f2a6da6e398538606fa4332b445", "spanId": "b91d469ccc546967", "parentSpanId": "20b65e1043c88cc4", "startTimeUnixNano": "1796073702112217077", "endTimeUnixNano": "1796073702113976457", "durationMs": 1.75938, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009107}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f867f2a6da6e398538606fa4332b445", "spanId": "4bbaa04fe5859068", "parentSpanId": "20b65e1043c88cc4", "startTimeUnixNano": "1796073702113998428", "endTimeUnixNano": "1796073702117306454", "durationMs": 3.308026, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007514}}
{"type": "effect-span", "name": "sqlite", "traceId": "9f867f2a6da6e398538606fa4332b445", "spanId": "2e355a8323644da1", "parentSpanId": "20b65e1043c88cc4", "startTimeUnixNano": "1796073702129630921", "endTimeUnixNano": "1796073702137247965", "durationMs": 7.617044, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017873}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9f867f2a6da6e398538606fa4332b445", "spanId": "20b65e1043c88cc4", "parentSpanId": "47a06c264822ad13", "startTimeUnixNano": "1796073702111643254", "endTimeUnixNano": "1796073702137746236", "durationMs": 26.102982, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9f867f2a6da6e398538606fa4332b445", "spanId": "3de39925209f3064", "parentSpanId": "47a06c264822ad13", "startTimeUnixNano": "1796073702137775311", "endTimeUnixNano": "1796073702138883814", "durationMs": 1.108503, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9f867f2a6da6e398538606fa4332b445", "spanId": "47a06c264822ad13", "parentSpanId": "2e4bd2ee87351649", "startTimeUnixNano": "1796073702109240591", "endTimeUnixNano": "1796073702138935080", "durationMs": 29.694489, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.585495, "db.connection": "reader", "db.lock_wait_ms": 1.542}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9f867f2a6da6e398538606fa4332b445", "spanId": "2e4bd2ee87351649", "parentSpanId": "6bac14175eb02a24", "startTimeUnixNano": "1796073702109231324", "endTimeUnixNano": "1796073702138977118", "durationMs": 29.745794, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9f867f2a6da6e398538606fa4332b445", "spanId": "6bac14175eb02a24", "parentSpanId": "a6cca123a4a2e2fb", "startTimeUnixNano": "1796073702109186951", "endTimeUnixNano": "1796073702138986856", "durationMs": 29.799905, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9f867f2a6da6e398538606fa4332b445", "spanId": "a6cca123a4a2e2fb", "startTimeUnixNano": "1796073702109170069", "endTimeUnixNano": "1796073702139002335", "durationMs": 29.832266, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "aacc5bec5bb9f99e40d1d15fdaa18a14", "spanId": "2b9c3e7204e679fe", "parentSpanId": "44236cbcbfb1380d", "startTimeUnixNano": "1796073702349538464", "endTimeUnixNano": "1796073702349834027", "durationMs": 0.295563, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "aacc5bec5bb9f99e40d1d15fdaa18a14", "spanId": "1946a980c93cd497", "parentSpanId": "438cf1b31caf9b99", "startTimeUnixNano": "1796073702349881336", "endTimeUnixNano": "1796073702350036135", "durationMs": 0.154799, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004839}}
{"type": "effect-span", "name": "sqlite", "traceId": "aacc5bec5bb9f99e40d1d15fdaa18a14", "spanId": "ba518cfa56a36a07", "parentSpanId": "438cf1b31caf9b99", "startTimeUnixNano": "1796073702350103972", "endTimeUnixNano": "1796073702351186897", "durationMs": 1.082925, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007855}}
{"type": "effect-span", "name": "sqlite", "traceId": "aacc5bec5bb9f99e40d1d15fdaa18a14", "spanId": "7a2e021715a950db", "parentSpanId": "438cf1b31caf9b99", "startTimeUnixNano": "1796073702351216092", "endTimeUnixNano": "1796073702352332760", "durationMs": 1.116668, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007774}}
{"type": "effect-span", "name": "sqlite", "traceId": "aacc5bec5bb9f99e40d1d15fdaa18a14", "spanId": "a918c04b0be7f3bd", "parentSpanId": "438cf1b31caf9b99", "startTimeUnixNano": "1796073702361210381", "endTimeUnixNano": "1796073702363553612", "durationMs": 2.343231, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013625}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "aacc5bec5bb9f99e40d1d15fdaa18a14", "spanId": "438cf1b31caf9b99", "parentSpanId": "44236cbcbfb1380d", "startTimeUnixNano": "1796073702349875895", "endTimeUnixNano": "1796073702363973969", "durationMs": 14.098074, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "aacc5bec5bb9f99e40d1d15fdaa18a14", "spanId": "3d81546812aa800d", "parentSpanId": "44236cbcbfb1380d", "startTimeUnixNano": "1796073702363996030", "endTimeUnixNano": "1796073702364366022", "durationMs": 0.369992, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "aacc5bec5bb9f99e40d1d15fdaa18a14", "spanId": "44236cbcbfb1380d", "parentSpanId": "17c94af37d4e1c66", "startTimeUnixNano": "1796073702348327059", "endTimeUnixNano": "1796073702364385749", "durationMs": 16.05869, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.207378, "db.connection": "reader", "db.lock_wait_ms": 1.18}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "aacc5bec5bb9f99e40d1d15fdaa18a14", "spanId": "17c94af37d4e1c66", "parentSpanId": "3e00ef486cd513ed", "startTimeUnixNano": "1796073702348318653", "endTimeUnixNano": "1796073702364405826", "durationMs": 16.087173, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "aacc5bec5bb9f99e40d1d15fdaa18a14", "spanId": "3e00ef486cd513ed", "parentSpanId": "3e3aef6c1e903f88", "startTimeUnixNano": "1796073702348291362", "endTimeUnixNano": "1796073702364412218", "durationMs": 16.120856, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "aacc5bec5bb9f99e40d1d15fdaa18a14", "spanId": "3e3aef6c1e903f88", "startTimeUnixNano": "1796073702348277727", "endTimeUnixNano": "1796073702364420714", "durationMs": 16.142987, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e4ff1f61450a0117bddef254fea36f0d", "spanId": "c395e404e63d409d", "parentSpanId": "59a74ef6274b1f7f", "startTimeUnixNano": "1796073703756709118", "endTimeUnixNano": "1796073703757537577", "durationMs": 0.828459, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4ff1f61450a0117bddef254fea36f0d", "spanId": "c8510fc575cc1709", "parentSpanId": "b9a3b5d4d6ee02a6", "startTimeUnixNano": "1796073703757578844", "endTimeUnixNano": "1796073703758261791", "durationMs": 0.682947, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004689}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4ff1f61450a0117bddef254fea36f0d", "spanId": "062acb1bfe0d8088", "parentSpanId": "b9a3b5d4d6ee02a6", "startTimeUnixNano": "1796073703758330490", "endTimeUnixNano": "1796073703759599653", "durationMs": 1.269163, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008245}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4ff1f61450a0117bddef254fea36f0d", "spanId": "e0a4141fb0e9f161", "parentSpanId": "b9a3b5d4d6ee02a6", "startTimeUnixNano": "1796073703759619781", "endTimeUnixNano": "1796073703760978111", "durationMs": 1.35833, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007624}}
{"type": "effect-span", "name": "sqlite", "traceId": "e4ff1f61450a0117bddef254fea36f0d", "spanId": "4014f499b79f153e", "parentSpanId": "b9a3b5d4d6ee02a6", "startTimeUnixNano": "1796073703776635059", "endTimeUnixNano": "1796073703779523270", "durationMs": 2.888211, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01598}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e4ff1f61450a0117bddef254fea36f0d", "spanId": "b9a3b5d4d6ee02a6", "parentSpanId": "59a74ef6274b1f7f", "startTimeUnixNano": "1796073703757573094", "endTimeUnixNano": "1796073703779926304", "durationMs": 22.35321, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e4ff1f61450a0117bddef254fea36f0d", "spanId": "cdd3bee1d8e91531", "parentSpanId": "59a74ef6274b1f7f", "startTimeUnixNano": "1796073703779943015", "endTimeUnixNano": "1796073703780266220", "durationMs": 0.323205, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e4ff1f61450a0117bddef254fea36f0d", "spanId": "59a74ef6274b1f7f", "parentSpanId": "24773fbaf26e2412", "startTimeUnixNano": "1796073703755197441", "endTimeUnixNano": "1796073703780287720", "durationMs": 25.090279, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.506287, "db.connection": "reader", "db.lock_wait_ms": 1.47}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e4ff1f61450a0117bddef254fea36f0d", "spanId": "24773fbaf26e2412", "parentSpanId": "6e6953a4fa2fa4e5", "startTimeUnixNano": "1796073703755189146", "endTimeUnixNano": "1796073703780305363", "durationMs": 25.116217, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e4ff1f61450a0117bddef254fea36f0d", "spanId": "6e6953a4fa2fa4e5", "parentSpanId": "e622035d1c082aff", "startTimeUnixNano": "1796073703755146456", "endTimeUnixNano": "1796073703780329799", "durationMs": 25.183343, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e4ff1f61450a0117bddef254fea36f0d", "spanId": "e622035d1c082aff", "startTimeUnixNano": "1796073703755130486", "endTimeUnixNano": "1796073703780337223", "durationMs": 25.206737, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2caf11b1c26743d70e7901106dc3c442", "spanId": "7da72454b01f3330", "parentSpanId": "21dc65399793917f", "startTimeUnixNano": "1796073703969157758", "endTimeUnixNano": "1796073703969575369", "durationMs": 0.417611, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2caf11b1c26743d70e7901106dc3c442", "spanId": "14560ec734e5697f", "parentSpanId": "a9206c12231bb4fb", "startTimeUnixNano": "1796073703969607479", "endTimeUnixNano": "1796073703969819255", "durationMs": 0.211776, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004559}}
{"type": "effect-span", "name": "sqlite", "traceId": "2caf11b1c26743d70e7901106dc3c442", "spanId": "a1b374f11282f5b7", "parentSpanId": "a9206c12231bb4fb", "startTimeUnixNano": "1796073703969881782", "endTimeUnixNano": "1796073703971715671", "durationMs": 1.833889, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008296}}
{"type": "effect-span", "name": "sqlite", "traceId": "2caf11b1c26743d70e7901106dc3c442", "spanId": "3ac2954766f2e9d2", "parentSpanId": "a9206c12231bb4fb", "startTimeUnixNano": "1796073703971738434", "endTimeUnixNano": "1796073703973105841", "durationMs": 1.367407, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008586}}
{"type": "effect-span", "name": "sqlite", "traceId": "2caf11b1c26743d70e7901106dc3c442", "spanId": "7793299a7b197122", "parentSpanId": "a9206c12231bb4fb", "startTimeUnixNano": "1796073703981911358", "endTimeUnixNano": "1796073703984269638", "durationMs": 2.35828, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009377}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2caf11b1c26743d70e7901106dc3c442", "spanId": "a9206c12231bb4fb", "parentSpanId": "21dc65399793917f", "startTimeUnixNano": "1796073703969602159", "endTimeUnixNano": "1796073703984561844", "durationMs": 14.959685, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2caf11b1c26743d70e7901106dc3c442", "spanId": "31ad5df610cfe1bb", "parentSpanId": "21dc65399793917f", "startTimeUnixNano": "1796073703984576561", "endTimeUnixNano": "1796073703985181102", "durationMs": 0.604541, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2caf11b1c26743d70e7901106dc3c442", "spanId": "21dc65399793917f", "parentSpanId": "8b3abac14a297a4d", "startTimeUnixNano": "1796073703967887974", "endTimeUnixNano": "1796073703985198414", "durationMs": 17.31044, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.267009, "db.connection": "reader", "db.lock_wait_ms": 1.24}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2caf11b1c26743d70e7901106dc3c442", "spanId": "8b3abac14a297a4d", "parentSpanId": "7e577fb93996d78d", "startTimeUnixNano": "1796073703967880790", "endTimeUnixNano": "1796073703985209866", "durationMs": 17.329076, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2caf11b1c26743d70e7901106dc3c442", "spanId": "7e577fb93996d78d", "parentSpanId": "f83d98e946091e12", "startTimeUnixNano": "1796073703967853299", "endTimeUnixNano": "1796073703985214224", "durationMs": 17.360925, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2caf11b1c26743d70e7901106dc3c442", "spanId": "f83d98e946091e12", "startTimeUnixNano": "1796073703967840004", "endTimeUnixNano": "1796073703985219965", "durationMs": 17.379961, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "05c050ead2415ca7b38e98517caab937", "spanId": "9532d3a3c71c7cc2", "parentSpanId": "cf1fb27563a69df4", "startTimeUnixNano": "1796073705513897747", "endTimeUnixNano": "1796073705514215572", "durationMs": 0.317825, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "05c050ead2415ca7b38e98517caab937", "spanId": "523373141feca4d6", "parentSpanId": "c0b6f4ed85c8f6e6", "startTimeUnixNano": "1796073705514289750", "endTimeUnixNano": "1796073705515559074", "durationMs": 1.269324, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008787}}
{"type": "effect-span", "name": "sqlite", "traceId": "05c050ead2415ca7b38e98517caab937", "spanId": "19af7895ec92cabc", "parentSpanId": "c0b6f4ed85c8f6e6", "startTimeUnixNano": "1796073705515683396", "endTimeUnixNano": "1796073705517191246", "durationMs": 1.50785, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014948}}
{"type": "effect-span", "name": "sqlite", "traceId": "05c050ead2415ca7b38e98517caab937", "spanId": "b0bd25d0274c2cfb", "parentSpanId": "c0b6f4ed85c8f6e6", "startTimeUnixNano": "1796073705517228105", "endTimeUnixNano": "1796073705518839619", "durationMs": 1.611514, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015389}}
{"type": "effect-span", "name": "sqlite", "traceId": "05c050ead2415ca7b38e98517caab937", "spanId": "23803015e77c9442", "parentSpanId": "c0b6f4ed85c8f6e6", "startTimeUnixNano": "1796073705531976826", "endTimeUnixNano": "1796073705534449510", "durationMs": 2.472684, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01041}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "05c050ead2415ca7b38e98517caab937", "spanId": "c0b6f4ed85c8f6e6", "parentSpanId": "cf1fb27563a69df4", "startTimeUnixNano": "1796073705514275684", "endTimeUnixNano": "1796073705534878983", "durationMs": 20.603299, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "05c050ead2415ca7b38e98517caab937", "spanId": "9640a9a50fb47072", "parentSpanId": "cf1fb27563a69df4", "startTimeUnixNano": "1796073705534899091", "endTimeUnixNano": "1796073705535146604", "durationMs": 0.247513, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "05c050ead2415ca7b38e98517caab937", "spanId": "cf1fb27563a69df4", "parentSpanId": "5d1e55e77196284b", "startTimeUnixNano": "1796073705509965564", "endTimeUnixNano": "1796073705535165519", "durationMs": 25.199955, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.918187, "db.connection": "reader", "db.lock_wait_ms": 3.87}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "05c050ead2415ca7b38e98517caab937", "spanId": "5d1e55e77196284b", "parentSpanId": "9f2f3e4c260d8bfb", "startTimeUnixNano": "1796073705509952590", "endTimeUnixNano": "1796073705535182791", "durationMs": 25.230201, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "05c050ead2415ca7b38e98517caab937", "spanId": "9f2f3e4c260d8bfb", "parentSpanId": "64c9d190dd66f4c2", "startTimeUnixNano": "1796073705509889301", "endTimeUnixNano": "1796073705535188272", "durationMs": 25.298971, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "05c050ead2415ca7b38e98517caab937", "spanId": "64c9d190dd66f4c2", "startTimeUnixNano": "1796073705509867921", "endTimeUnixNano": "1796073705535195856", "durationMs": 25.327935, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "48381291dda12b654a405d6688946ee7", "spanId": "81f49b0b607955b3", "parentSpanId": "be7222cee8e2fe2e", "startTimeUnixNano": "1796073705725733251", "endTimeUnixNano": "1796073705726308927", "durationMs": 0.575676, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "48381291dda12b654a405d6688946ee7", "spanId": "8c12cca5dcaac3a0", "parentSpanId": "a60997fcdf57e7ba", "startTimeUnixNano": "1796073705726343452", "endTimeUnixNano": "1796073705726692344", "durationMs": 0.348892, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004708}}
{"type": "effect-span", "name": "sqlite", "traceId": "48381291dda12b654a405d6688946ee7", "spanId": "e6c310392ff5f3ec", "parentSpanId": "a60997fcdf57e7ba", "startTimeUnixNano": "1796073705726759910", "endTimeUnixNano": "1796073705728751545", "durationMs": 1.991635, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008967}}
{"type": "effect-span", "name": "sqlite", "traceId": "48381291dda12b654a405d6688946ee7", "spanId": "6ee67f0fda303e20", "parentSpanId": "a60997fcdf57e7ba", "startTimeUnixNano": "1796073705728766573", "endTimeUnixNano": "1796073705730063398", "durationMs": 1.296825, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007775}}
{"type": "effect-span", "name": "sqlite", "traceId": "48381291dda12b654a405d6688946ee7", "spanId": "6358c4fbd41e661e", "parentSpanId": "a60997fcdf57e7ba", "startTimeUnixNano": "1796073705737601946", "endTimeUnixNano": "1796073705739402352", "durationMs": 1.800406, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013344}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "48381291dda12b654a405d6688946ee7", "spanId": "a60997fcdf57e7ba", "parentSpanId": "be7222cee8e2fe2e", "startTimeUnixNano": "1796073705726335998", "endTimeUnixNano": "1796073705739729404", "durationMs": 13.393406, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "48381291dda12b654a405d6688946ee7", "spanId": "f51d90d5c4456d34", "parentSpanId": "be7222cee8e2fe2e", "startTimeUnixNano": "1796073705739749792", "endTimeUnixNano": "1796073705741088305", "durationMs": 1.338513, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "48381291dda12b654a405d6688946ee7", "spanId": "be7222cee8e2fe2e", "parentSpanId": "28c6bc824aa1fa00", "startTimeUnixNano": "1796073705722743229", "endTimeUnixNano": "1796073705741117059", "durationMs": 18.37383, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.986084, "db.connection": "reader", "db.lock_wait_ms": 2.96}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "48381291dda12b654a405d6688946ee7", "spanId": "28c6bc824aa1fa00", "parentSpanId": "da001ae88abb9875", "startTimeUnixNano": "1796073705722735645", "endTimeUnixNano": "1796073705741139822", "durationMs": 18.404177, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "48381291dda12b654a405d6688946ee7", "spanId": "da001ae88abb9875", "parentSpanId": "c75cb7e5c7d38b99", "startTimeUnixNano": "1796073705722706801", "endTimeUnixNano": "1796073705741149770", "durationMs": 18.442969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "48381291dda12b654a405d6688946ee7", "spanId": "c75cb7e5c7d38b99", "startTimeUnixNano": "1796073705722693025", "endTimeUnixNano": "1796073705741161963", "durationMs": 18.468938, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "56bbe0a635b262472a82e4594cfa4174", "spanId": "0983a728a88993c5", "parentSpanId": "af47afb00d343c4d", "startTimeUnixNano": "1796073707211304216", "endTimeUnixNano": "1796073707212039561", "durationMs": 0.735345, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "56bbe0a635b262472a82e4594cfa4174", "spanId": "44d1127c18b5f12e", "parentSpanId": "7aba9c1a153b5a65", "startTimeUnixNano": "1796073707212079726", "endTimeUnixNano": "1796073707212538344", "durationMs": 0.458618, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004749}}
{"type": "effect-span", "name": "sqlite", "traceId": "56bbe0a635b262472a82e4594cfa4174", "spanId": "edef41639594ad1d", "parentSpanId": "7aba9c1a153b5a65", "startTimeUnixNano": "1796073707212608215", "endTimeUnixNano": "1796073707213944614", "durationMs": 1.336399, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008826}}
{"type": "effect-span", "name": "sqlite", "traceId": "56bbe0a635b262472a82e4594cfa4174", "spanId": "cf5a62c0580aea32", "parentSpanId": "7aba9c1a153b5a65", "startTimeUnixNano": "1796073707213961385", "endTimeUnixNano": "1796073707217284510", "durationMs": 3.323125, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006773}}
{"type": "effect-span", "name": "sqlite", "traceId": "56bbe0a635b262472a82e4594cfa4174", "spanId": "03b7b2e97f7ae899", "parentSpanId": "7aba9c1a153b5a65", "startTimeUnixNano": "1796073707226597546", "endTimeUnixNano": "1796073707229245618", "durationMs": 2.648072, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01085}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "56bbe0a635b262472a82e4594cfa4174", "spanId": "7aba9c1a153b5a65", "parentSpanId": "af47afb00d343c4d", "startTimeUnixNano": "1796073707212073154", "endTimeUnixNano": "1796073707229697053", "durationMs": 17.623899, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "56bbe0a635b262472a82e4594cfa4174", "spanId": "3f23f62ad4dd6ed6", "parentSpanId": "af47afb00d343c4d", "startTimeUnixNano": "1796073707229722300", "endTimeUnixNano": "1796073707230082734", "durationMs": 0.360434, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "56bbe0a635b262472a82e4594cfa4174", "spanId": "af47afb00d343c4d", "parentSpanId": "b5901947bca50a9b", "startTimeUnixNano": "1796073707207788832", "endTimeUnixNano": "1796073707230108773", "durationMs": 22.319941, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.509032, "db.connection": "reader", "db.lock_wait_ms": 3.474}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "56bbe0a635b262472a82e4594cfa4174", "spanId": "b5901947bca50a9b", "parentSpanId": "9bb0bca174b4c423", "startTimeUnixNano": "1796073707207778493", "endTimeUnixNano": "1796073707230127838", "durationMs": 22.349345, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "56bbe0a635b262472a82e4594cfa4174", "spanId": "9bb0bca174b4c423", "parentSpanId": "925161bc3cdd34c4", "startTimeUnixNano": "1796073707207736204", "endTimeUnixNano": "1796073707230155520", "durationMs": 22.419316, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "56bbe0a635b262472a82e4594cfa4174", "spanId": "925161bc3cdd34c4", "startTimeUnixNano": "1796073707207721666", "endTimeUnixNano": "1796073707230163034", "durationMs": 22.441368, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "4eecd563bc135072582303da6d1cef9e", "spanId": "89a8ebcfd6ac1dbb", "parentSpanId": "0551f58d3cc78337", "startTimeUnixNano": "1796073707423825251", "endTimeUnixNano": "1796073707424166619", "durationMs": 0.341368, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "4eecd563bc135072582303da6d1cef9e", "spanId": "2843d6cdb2f0db72", "parentSpanId": "fc85a5ccae550e36", "startTimeUnixNano": "1796073707424198930", "endTimeUnixNano": "1796073707424351946", "durationMs": 0.153016, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004689}}
{"type": "effect-span", "name": "sqlite", "traceId": "4eecd563bc135072582303da6d1cef9e", "spanId": "81024223c18d3f8d", "parentSpanId": "fc85a5ccae550e36", "startTimeUnixNano": "1796073707424416577", "endTimeUnixNano": "1796073707426115434", "durationMs": 1.698857, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007965}}
{"type": "effect-span", "name": "sqlite", "traceId": "4eecd563bc135072582303da6d1cef9e", "spanId": "5c8979c82584febe", "parentSpanId": "fc85a5ccae550e36", "startTimeUnixNano": "1796073707426129891", "endTimeUnixNano": "1796073707427667226", "durationMs": 1.537335, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008175}}
{"type": "effect-span", "name": "sqlite", "traceId": "4eecd563bc135072582303da6d1cef9e", "spanId": "3df98b09aa8ac93b", "parentSpanId": "fc85a5ccae550e36", "startTimeUnixNano": "1796073707436278279", "endTimeUnixNano": "1796073707438426226", "durationMs": 2.147947, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.025117}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "4eecd563bc135072582303da6d1cef9e", "spanId": "fc85a5ccae550e36", "parentSpanId": "0551f58d3cc78337", "startTimeUnixNano": "1796073707424191947", "endTimeUnixNano": "1796073707438885906", "durationMs": 14.693959, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "4eecd563bc135072582303da6d1cef9e", "spanId": "13fa0ab3578ebeb9", "parentSpanId": "0551f58d3cc78337", "startTimeUnixNano": "1796073707438906554", "endTimeUnixNano": "1796073707439488443", "durationMs": 0.581889, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "4eecd563bc135072582303da6d1cef9e", "spanId": "0551f58d3cc78337", "parentSpanId": "0e032aff1dedcef1", "startTimeUnixNano": "1796073707422304106", "endTimeUnixNano": "1796073707439510734", "durationMs": 17.206628, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.51341, "db.connection": "reader", "db.lock_wait_ms": 1.484}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "4eecd563bc135072582303da6d1cef9e", "spanId": "0e032aff1dedcef1", "parentSpanId": "05a52ddee070358f", "startTimeUnixNano": "1796073707422296492", "endTimeUnixNano": "1796073707439530201", "durationMs": 17.233709, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "4eecd563bc135072582303da6d1cef9e", "spanId": "05a52ddee070358f", "parentSpanId": "63d46e81d95ce99b", "startTimeUnixNano": "1796073707422265694", "endTimeUnixNano": "1796073707439536793", "durationMs": 17.271099, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "4eecd563bc135072582303da6d1cef9e", "spanId": "63d46e81d95ce99b", "startTimeUnixNano": "1796073707422252670", "endTimeUnixNano": "1796073707439545119", "durationMs": 17.292449, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b57503bd0a01a0137f44c9d2fd4abb0f", "spanId": "1fe6dcbb11d3a3dc", "parentSpanId": "c5ebd9bcfbc8b405", "startTimeUnixNano": "1796073708864889849", "endTimeUnixNano": "1796073708865609275", "durationMs": 0.719426, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b57503bd0a01a0137f44c9d2fd4abb0f", "spanId": "3d4afec3b0078ac9", "parentSpanId": "b8aaaab7f1cbc970", "startTimeUnixNano": "1796073708865649179", "endTimeUnixNano": "1796073708866555314", "durationMs": 0.906135, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004669}}
{"type": "effect-span", "name": "sqlite", "traceId": "b57503bd0a01a0137f44c9d2fd4abb0f", "spanId": "2cd0eebe81efe987", "parentSpanId": "b8aaaab7f1cbc970", "startTimeUnixNano": "1796073708866628571", "endTimeUnixNano": "1796073708868005456", "durationMs": 1.376885, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008235}}
{"type": "effect-span", "name": "sqlite", "traceId": "b57503bd0a01a0137f44c9d2fd4abb0f", "spanId": "d2bcac5538f4eb6c", "parentSpanId": "b8aaaab7f1cbc970", "startTimeUnixNano": "1796073708868023810", "endTimeUnixNano": "1796073708869238762", "durationMs": 1.214952, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009217}}
{"type": "effect-span", "name": "sqlite", "traceId": "b57503bd0a01a0137f44c9d2fd4abb0f", "spanId": "6b4dcab9779979ad", "parentSpanId": "b8aaaab7f1cbc970", "startTimeUnixNano": "1796073708880780136", "endTimeUnixNano": "1796073708884162912", "durationMs": 3.382776, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.020819}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b57503bd0a01a0137f44c9d2fd4abb0f", "spanId": "b8aaaab7f1cbc970", "parentSpanId": "c5ebd9bcfbc8b405", "startTimeUnixNano": "1796073708865642877", "endTimeUnixNano": "1796073708884603846", "durationMs": 18.960969, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b57503bd0a01a0137f44c9d2fd4abb0f", "spanId": "c7851e916ea5a9cb", "parentSpanId": "c5ebd9bcfbc8b405", "startTimeUnixNano": "1796073708884625878", "endTimeUnixNano": "1796073708884921781", "durationMs": 0.295903, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b57503bd0a01a0137f44c9d2fd4abb0f", "spanId": "c5ebd9bcfbc8b405", "parentSpanId": "a805e3b5cbb79dbe", "startTimeUnixNano": "1796073708863215077", "endTimeUnixNano": "1796073708884945576", "durationMs": 21.730499, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.669973, "db.connection": "reader", "db.lock_wait_ms": 1.611}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b57503bd0a01a0137f44c9d2fd4abb0f", "spanId": "a805e3b5cbb79dbe", "parentSpanId": "c16d707cc67861fb", "startTimeUnixNano": "1796073708863204858", "endTimeUnixNano": "1796073708884984839", "durationMs": 21.779981, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b57503bd0a01a0137f44c9d2fd4abb0f", "spanId": "c16d707cc67861fb", "parentSpanId": "9ecc241cb70287a9", "startTimeUnixNano": "1796073708863161146", "endTimeUnixNano": "1796073708884993896", "durationMs": 21.83275, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b57503bd0a01a0137f44c9d2fd4abb0f", "spanId": "9ecc241cb70287a9", "startTimeUnixNano": "1796073708863146539", "endTimeUnixNano": "1796073708885002813", "durationMs": 21.856274, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1ada88acad3de5567ce798660179f994", "spanId": "1ed74ddbe7390dfb", "parentSpanId": "c574be782a2ec9b0", "startTimeUnixNano": "1796073709080651170", "endTimeUnixNano": "1796073709082249659", "durationMs": 1.598489, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ada88acad3de5567ce798660179f994", "spanId": "e4def9cfe196b769", "parentSpanId": "ebb117f2b8a0dfdb", "startTimeUnixNano": "1796073709082283803", "endTimeUnixNano": "1796073709082529232", "durationMs": 0.245429, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004358}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ada88acad3de5567ce798660179f994", "spanId": "56ed63fea1d1aeef", "parentSpanId": "ebb117f2b8a0dfdb", "startTimeUnixNano": "1796073709082596588", "endTimeUnixNano": "1796073709083678181", "durationMs": 1.081593, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008516}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ada88acad3de5567ce798660179f994", "spanId": "b14f0e7452575f68", "parentSpanId": "ebb117f2b8a0dfdb", "startTimeUnixNano": "1796073709083694421", "endTimeUnixNano": "1796073709085315353", "durationMs": 1.620932, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005831}}
{"type": "effect-span", "name": "sqlite", "traceId": "1ada88acad3de5567ce798660179f994", "spanId": "ec56db100aaf2d8e", "parentSpanId": "ebb117f2b8a0dfdb", "startTimeUnixNano": "1796073709092982181", "endTimeUnixNano": "1796073709094964929", "durationMs": 1.982748, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.023864}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1ada88acad3de5567ce798660179f994", "spanId": "ebb117f2b8a0dfdb", "parentSpanId": "c574be782a2ec9b0", "startTimeUnixNano": "1796073709082278093", "endTimeUnixNano": "1796073709095383822", "durationMs": 13.105729, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1ada88acad3de5567ce798660179f994", "spanId": "a72aeba8624f2582", "parentSpanId": "c574be782a2ec9b0", "startTimeUnixNano": "1796073709095407065", "endTimeUnixNano": "1796073709095751409", "durationMs": 0.344344, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1ada88acad3de5567ce798660179f994", "spanId": "c574be782a2ec9b0", "parentSpanId": "49546627c3094636", "startTimeUnixNano": "1796073709079327314", "endTimeUnixNano": "1796073709095772649", "durationMs": 16.445335, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.320179, "db.connection": "reader", "db.lock_wait_ms": 1.293}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1ada88acad3de5567ce798660179f994", "spanId": "49546627c3094636", "parentSpanId": "8bb7881121858ece", "startTimeUnixNano": "1796073709079320261", "endTimeUnixNano": "1796073709095791174", "durationMs": 16.470913, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1ada88acad3de5567ce798660179f994", "spanId": "8bb7881121858ece", "parentSpanId": "840410940922e7a7", "startTimeUnixNano": "1796073709079292078", "endTimeUnixNano": "1796073709095798818", "durationMs": 16.50674, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1ada88acad3de5567ce798660179f994", "spanId": "840410940922e7a7", "startTimeUnixNano": "1796073709079279765", "endTimeUnixNano": "1796073709095808576", "durationMs": 16.528811, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5fe9f3ee46a74d12d3783f28c8b24da0", "spanId": "8f3461bd678a5e9d", "parentSpanId": "cbc07e2c5ce519c2", "startTimeUnixNano": "1796073710538989690", "endTimeUnixNano": "1796073710539713273", "durationMs": 0.723583, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5fe9f3ee46a74d12d3783f28c8b24da0", "spanId": "01792dc1a9b572dd", "parentSpanId": "a37bcab7c6058cbb", "startTimeUnixNano": "1796073710539750312", "endTimeUnixNano": "1796073710540509873", "durationMs": 0.759561, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004439}}
{"type": "effect-span", "name": "sqlite", "traceId": "5fe9f3ee46a74d12d3783f28c8b24da0", "spanId": "44af7237d78dc368", "parentSpanId": "a37bcab7c6058cbb", "startTimeUnixNano": "1796073710540578802", "endTimeUnixNano": "1796073710542008435", "durationMs": 1.429633, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008245}}
{"type": "effect-span", "name": "sqlite", "traceId": "5fe9f3ee46a74d12d3783f28c8b24da0", "spanId": "09710ea100b18156", "parentSpanId": "a37bcab7c6058cbb", "startTimeUnixNano": "1796073710542023443", "endTimeUnixNano": "1796073710543304750", "durationMs": 1.281307, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007705}}
{"type": "effect-span", "name": "sqlite", "traceId": "5fe9f3ee46a74d12d3783f28c8b24da0", "spanId": "479f11e08440e4f9", "parentSpanId": "a37bcab7c6058cbb", "startTimeUnixNano": "1796073710555076685", "endTimeUnixNano": "1796073710556986086", "durationMs": 1.909401, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014237}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5fe9f3ee46a74d12d3783f28c8b24da0", "spanId": "a37bcab7c6058cbb", "parentSpanId": "cbc07e2c5ce519c2", "startTimeUnixNano": "1796073710539744572", "endTimeUnixNano": "1796073710557404268", "durationMs": 17.659696, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5fe9f3ee46a74d12d3783f28c8b24da0", "spanId": "8bc28ee53f678ec4", "parentSpanId": "cbc07e2c5ce519c2", "startTimeUnixNano": "1796073710557454792", "endTimeUnixNano": "1796073710557701374", "durationMs": 0.246582, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5fe9f3ee46a74d12d3783f28c8b24da0", "spanId": "cbc07e2c5ce519c2", "parentSpanId": "8fee708245a899c9", "startTimeUnixNano": "1796073710537494704", "endTimeUnixNano": "1796073710557728725", "durationMs": 20.234021, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.490016, "db.connection": "reader", "db.lock_wait_ms": 1.455}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5fe9f3ee46a74d12d3783f28c8b24da0", "spanId": "8fee708245a899c9", "parentSpanId": "a1219125d739e001", "startTimeUnixNano": "1796073710537484625", "endTimeUnixNano": "1796073710557747049", "durationMs": 20.262424, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5fe9f3ee46a74d12d3783f28c8b24da0", "spanId": "a1219125d739e001", "parentSpanId": "762000d4cebcf5c0", "startTimeUnixNano": "1796073710537425264", "endTimeUnixNano": "1796073710557753601", "durationMs": 20.328337, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5fe9f3ee46a74d12d3783f28c8b24da0", "spanId": "762000d4cebcf5c0", "startTimeUnixNano": "1796073710537409575", "endTimeUnixNano": "1796073710557762278", "durationMs": 20.352703, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b1cffbb872a6e1178aaf700b5a4a9266", "spanId": "bdf48cd6ab1e162f", "parentSpanId": "5465d1bf9a8966a3", "startTimeUnixNano": "1796073710776881686", "endTimeUnixNano": "1796073710777662627", "durationMs": 0.780941, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b1cffbb872a6e1178aaf700b5a4a9266", "spanId": "64409c50d7db233e", "parentSpanId": "5f5d5d6aebfddbc7", "startTimeUnixNano": "1796073710777745793", "endTimeUnixNano": "1796073710778250577", "durationMs": 0.504784, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005009}}
{"type": "effect-span", "name": "sqlite", "traceId": "b1cffbb872a6e1178aaf700b5a4a9266", "spanId": "cc136ba1fb3ac531", "parentSpanId": "5f5d5d6aebfddbc7", "startTimeUnixNano": "1796073710778359871", "endTimeUnixNano": "1796073710779944555", "durationMs": 1.584684, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010409}}
{"type": "effect-span", "name": "sqlite", "traceId": "b1cffbb872a6e1178aaf700b5a4a9266", "spanId": "ec8c5c2a358fbf20", "parentSpanId": "5f5d5d6aebfddbc7", "startTimeUnixNano": "1796073710779968038", "endTimeUnixNano": "1796073710783203890", "durationMs": 3.235852, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009438}}
{"type": "effect-span", "name": "sqlite", "traceId": "b1cffbb872a6e1178aaf700b5a4a9266", "spanId": "5cd4cc410b990d98", "parentSpanId": "5f5d5d6aebfddbc7", "startTimeUnixNano": "1796073710793994791", "endTimeUnixNano": "1796073710795966378", "durationMs": 1.971587, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013896}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b1cffbb872a6e1178aaf700b5a4a9266", "spanId": "5f5d5d6aebfddbc7", "parentSpanId": "5465d1bf9a8966a3", "startTimeUnixNano": "1796073710777737447", "endTimeUnixNano": "1796073710796513812", "durationMs": 18.776365, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b1cffbb872a6e1178aaf700b5a4a9266", "spanId": "ac5f40a51a5bc730", "parentSpanId": "5465d1bf9a8966a3", "startTimeUnixNano": "1796073710796540662", "endTimeUnixNano": "1796073710796874697", "durationMs": 0.334035, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b1cffbb872a6e1178aaf700b5a4a9266", "spanId": "5465d1bf9a8966a3", "parentSpanId": "d38ff38307a175d2", "startTimeUnixNano": "1796073710768928463", "endTimeUnixNano": "1796073710796912788", "durationMs": 27.984325, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 7.945058, "db.connection": "reader", "db.lock_wait_ms": 7.91}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b1cffbb872a6e1178aaf700b5a4a9266", "spanId": "d38ff38307a175d2", "parentSpanId": "ef74d94040fb1e68", "startTimeUnixNano": "1796073710768918173", "endTimeUnixNano": "1796073710796939738", "durationMs": 28.021565, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b1cffbb872a6e1178aaf700b5a4a9266", "spanId": "ef74d94040fb1e68", "parentSpanId": "c528c71a93472c09", "startTimeUnixNano": "1796073710768874311", "endTimeUnixNano": "1796073710796947202", "durationMs": 28.072891, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b1cffbb872a6e1178aaf700b5a4a9266", "spanId": "c528c71a93472c09", "startTimeUnixNano": "1796073710768859243", "endTimeUnixNano": "1796073710796958874", "durationMs": 28.099631, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "04b3c7ca32b367aa1d3b0fe0782bc2de", "spanId": "b89731c6447208f0", "parentSpanId": "ce1ed17533909723", "startTimeUnixNano": "1796073712297153247", "endTimeUnixNano": "1796073712297782353", "durationMs": 0.629106, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "04b3c7ca32b367aa1d3b0fe0782bc2de", "spanId": "026fbe5f144c97cb", "parentSpanId": "48f7deea03c85b9c", "startTimeUnixNano": "1796073712297817008", "endTimeUnixNano": "1796073712298804074", "durationMs": 0.987066, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00515}}
{"type": "effect-span", "name": "sqlite", "traceId": "04b3c7ca32b367aa1d3b0fe0782bc2de", "spanId": "1a7245650f22d3bf", "parentSpanId": "48f7deea03c85b9c", "startTimeUnixNano": "1796073712298981847", "endTimeUnixNano": "1796073712300118833", "durationMs": 1.136986, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012523}}
{"type": "effect-span", "name": "sqlite", "traceId": "04b3c7ca32b367aa1d3b0fe0782bc2de", "spanId": "7e3b68879e231353", "parentSpanId": "48f7deea03c85b9c", "startTimeUnixNano": "1796073712300139121", "endTimeUnixNano": "1796073712301398536", "durationMs": 1.259415, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009177}}
{"type": "effect-span", "name": "sqlite", "traceId": "04b3c7ca32b367aa1d3b0fe0782bc2de", "spanId": "dc7d7dc353568629", "parentSpanId": "48f7deea03c85b9c", "startTimeUnixNano": "1796073712312078119", "endTimeUnixNano": "1796073712314161736", "durationMs": 2.083617, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011552}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "04b3c7ca32b367aa1d3b0fe0782bc2de", "spanId": "48f7deea03c85b9c", "parentSpanId": "ce1ed17533909723", "startTimeUnixNano": "1796073712297811578", "endTimeUnixNano": "1796073712314569048", "durationMs": 16.75747, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "04b3c7ca32b367aa1d3b0fe0782bc2de", "spanId": "1c9c78695b520793", "parentSpanId": "ce1ed17533909723", "startTimeUnixNano": "1796073712314595668", "endTimeUnixNano": "1796073712314823714", "durationMs": 0.228046, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "04b3c7ca32b367aa1d3b0fe0782bc2de", "spanId": "ce1ed17533909723", "parentSpanId": "295889c03c5c04bc", "startTimeUnixNano": "1796073712295949976", "endTimeUnixNano": "1796073712314841327", "durationMs": 18.891351, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.199614, "db.connection": "reader", "db.lock_wait_ms": 1.159}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "04b3c7ca32b367aa1d3b0fe0782bc2de", "spanId": "295889c03c5c04bc", "parentSpanId": "b0a9b754c637e324", "startTimeUnixNano": "1796073712295941160", "endTimeUnixNano": "1796073712314859932", "durationMs": 18.918772, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "04b3c7ca32b367aa1d3b0fe0782bc2de", "spanId": "b0a9b754c637e324", "parentSpanId": "22d6123beec322c1", "startTimeUnixNano": "1796073712295895735", "endTimeUnixNano": "1796073712314866604", "durationMs": 18.970869, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "04b3c7ca32b367aa1d3b0fe0782bc2de", "spanId": "22d6123beec322c1", "startTimeUnixNano": "1796073712295870027", "endTimeUnixNano": "1796073712314874219", "durationMs": 19.004192, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fe56d8fcb317fb78123f20d32f61e51c", "spanId": "0dba8c6e24a5c6a4", "parentSpanId": "2a211513154e56e2", "startTimeUnixNano": "1796073712518850907", "endTimeUnixNano": "1796073712519030563", "durationMs": 0.179656, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fe56d8fcb317fb78123f20d32f61e51c", "spanId": "7ea5367992da15cc", "parentSpanId": "41ae55aa05afba10", "startTimeUnixNano": "1796073712519079946", "endTimeUnixNano": "1796073712519348167", "durationMs": 0.268221, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005981}}
{"type": "effect-span", "name": "sqlite", "traceId": "fe56d8fcb317fb78123f20d32f61e51c", "spanId": "793bb5a52a10bac8", "parentSpanId": "41ae55aa05afba10", "startTimeUnixNano": "1796073712519457602", "endTimeUnixNano": "1796073712520713891", "durationMs": 1.256289, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009808}}
{"type": "effect-span", "name": "sqlite", "traceId": "fe56d8fcb317fb78123f20d32f61e51c", "spanId": "d8f1fd8aa1d4dbad", "parentSpanId": "41ae55aa05afba10", "startTimeUnixNano": "1796073712520739880", "endTimeUnixNano": "1796073712523565484", "durationMs": 2.825604, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011291}}
{"type": "effect-span", "name": "sqlite", "traceId": "fe56d8fcb317fb78123f20d32f61e51c", "spanId": "01b8f4d5ac03d39b", "parentSpanId": "41ae55aa05afba10", "startTimeUnixNano": "1796073712534997304", "endTimeUnixNano": "1796073712537134581", "durationMs": 2.137277, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01035}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fe56d8fcb317fb78123f20d32f61e51c", "spanId": "41ae55aa05afba10", "parentSpanId": "2a211513154e56e2", "startTimeUnixNano": "1796073712519073113", "endTimeUnixNano": "1796073712537568283", "durationMs": 18.49517, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fe56d8fcb317fb78123f20d32f61e51c", "spanId": "52feaf9afc57e793", "parentSpanId": "2a211513154e56e2", "startTimeUnixNano": "1796073712537586937", "endTimeUnixNano": "1796073712538105898", "durationMs": 0.518961, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fe56d8fcb317fb78123f20d32f61e51c", "spanId": "2a211513154e56e2", "parentSpanId": "305cc957a41c4251", "startTimeUnixNano": "1796073712516716586", "endTimeUnixNano": "1796073712538137277", "durationMs": 21.420691, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.127969, "db.connection": "reader", "db.lock_wait_ms": 2.072}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fe56d8fcb317fb78123f20d32f61e51c", "spanId": "305cc957a41c4251", "parentSpanId": "ba24dbc1a07f5017", "startTimeUnixNano": "1796073712516705775", "endTimeUnixNano": "1796073712538156883", "durationMs": 21.451108, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fe56d8fcb317fb78123f20d32f61e51c", "spanId": "ba24dbc1a07f5017", "parentSpanId": "36289d80a6e19f7a", "startTimeUnixNano": "1796073712516667083", "endTimeUnixNano": "1796073712538162855", "durationMs": 21.495772, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fe56d8fcb317fb78123f20d32f61e51c", "spanId": "36289d80a6e19f7a", "startTimeUnixNano": "1796073712516647506", "endTimeUnixNano": "1796073712538172483", "durationMs": 21.524977, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "13506bce65ef327dd641a708ee39d2db", "spanId": "2d18784d4ff2aa98", "parentSpanId": "346f1ff85f4c905e", "startTimeUnixNano": "1796073713980648313", "endTimeUnixNano": "1796073713981345597", "durationMs": 0.697284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "13506bce65ef327dd641a708ee39d2db", "spanId": "b8ec319c85e47936", "parentSpanId": "732f99994dd25554", "startTimeUnixNano": "1796073713981389138", "endTimeUnixNano": "1796073713982090610", "durationMs": 0.701472, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004529}}
{"type": "effect-span", "name": "sqlite", "traceId": "13506bce65ef327dd641a708ee39d2db", "spanId": "dca521ef56a4d14e", "parentSpanId": "732f99994dd25554", "startTimeUnixNano": "1796073713982160410", "endTimeUnixNano": "1796073713983803013", "durationMs": 1.642603, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008617}}
{"type": "effect-span", "name": "sqlite", "traceId": "13506bce65ef327dd641a708ee39d2db", "spanId": "8ae305c4e55f8074", "parentSpanId": "732f99994dd25554", "startTimeUnixNano": "1796073713983816788", "endTimeUnixNano": "1796073713988375715", "durationMs": 4.558927, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007394}}
{"type": "effect-span", "name": "sqlite", "traceId": "13506bce65ef327dd641a708ee39d2db", "spanId": "1dc670e9db2f2abe", "parentSpanId": "732f99994dd25554", "startTimeUnixNano": "1796073713999010574", "endTimeUnixNano": "1796073714001066970", "durationMs": 2.056396, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011251}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "13506bce65ef327dd641a708ee39d2db", "spanId": "732f99994dd25554", "parentSpanId": "346f1ff85f4c905e", "startTimeUnixNano": "1796073713981383387", "endTimeUnixNano": "1796073714001479802", "durationMs": 20.096415, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "13506bce65ef327dd641a708ee39d2db", "spanId": "329db28bd82e57d0", "parentSpanId": "346f1ff85f4c905e", "startTimeUnixNano": "1796073714001497866", "endTimeUnixNano": "1796073714001736382", "durationMs": 0.238516, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "13506bce65ef327dd641a708ee39d2db", "spanId": "346f1ff85f4c905e", "parentSpanId": "0d5353b63df5689f", "startTimeUnixNano": "1796073713979161111", "endTimeUnixNano": "1796073714001758904", "durationMs": 22.597793, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.482052, "db.connection": "reader", "db.lock_wait_ms": 1.449}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "13506bce65ef327dd641a708ee39d2db", "spanId": "0d5353b63df5689f", "parentSpanId": "3533db3d0747c57f", "startTimeUnixNano": "1796073713979152204", "endTimeUnixNano": "1796073714001777649", "durationMs": 22.625445, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "13506bce65ef327dd641a708ee39d2db", "spanId": "3533db3d0747c57f", "parentSpanId": "55cb45587023eb5c", "startTimeUnixNano": "1796073713979110687", "endTimeUnixNano": "1796073714001783470", "durationMs": 22.672783, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "13506bce65ef327dd641a708ee39d2db", "spanId": "55cb45587023eb5c", "startTimeUnixNano": "1796073713979090399", "endTimeUnixNano": "1796073714001790754", "durationMs": 22.700355, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2cf59ffddc620ddc4a437039b9943b89", "spanId": "6cbb37933938f77e", "parentSpanId": "96829044c18dc389", "startTimeUnixNano": "1796073714190977470", "endTimeUnixNano": "1796073714191198644", "durationMs": 0.221174, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2cf59ffddc620ddc4a437039b9943b89", "spanId": "093af5639f9a4714", "parentSpanId": "78c0eccfd42dec04", "startTimeUnixNano": "1796073714191242787", "endTimeUnixNano": "1796073714191462598", "durationMs": 0.219811, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004638}}
{"type": "effect-span", "name": "sqlite", "traceId": "2cf59ffddc620ddc4a437039b9943b89", "spanId": "f707cee6ef692e89", "parentSpanId": "78c0eccfd42dec04", "startTimeUnixNano": "1796073714191542086", "endTimeUnixNano": "1796073714192724558", "durationMs": 1.182472, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008366}}
{"type": "effect-span", "name": "sqlite", "traceId": "2cf59ffddc620ddc4a437039b9943b89", "spanId": "9070571ca45abc20", "parentSpanId": "78c0eccfd42dec04", "startTimeUnixNano": "1796073714192747962", "endTimeUnixNano": "1796073714195209255", "durationMs": 2.461293, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006632}}
{"type": "effect-span", "name": "sqlite", "traceId": "2cf59ffddc620ddc4a437039b9943b89", "spanId": "ac720e480a3b8c2e", "parentSpanId": "78c0eccfd42dec04", "startTimeUnixNano": "1796073714205118508", "endTimeUnixNano": "1796073714207267126", "durationMs": 2.148618, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012583}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2cf59ffddc620ddc4a437039b9943b89", "spanId": "78c0eccfd42dec04", "parentSpanId": "96829044c18dc389", "startTimeUnixNano": "1796073714191226897", "endTimeUnixNano": "1796073714207719953", "durationMs": 16.493056, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2cf59ffddc620ddc4a437039b9943b89", "spanId": "2635cf6f152d106c", "parentSpanId": "96829044c18dc389", "startTimeUnixNano": "1796073714207745621", "endTimeUnixNano": "1796073714208587145", "durationMs": 0.841524, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2cf59ffddc620ddc4a437039b9943b89", "spanId": "96829044c18dc389", "parentSpanId": "9cf557bf11658e17", "startTimeUnixNano": "1796073714189588833", "endTimeUnixNano": "1796073714208622030", "durationMs": 19.033197, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.38463, "db.connection": "reader", "db.lock_wait_ms": 1.344}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2cf59ffddc620ddc4a437039b9943b89", "spanId": "9cf557bf11658e17", "parentSpanId": "4aad62364bd24175", "startTimeUnixNano": "1796073714189579947", "endTimeUnixNano": "1796073714208646746", "durationMs": 19.066799, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2cf59ffddc620ddc4a437039b9943b89", "spanId": "4aad62364bd24175", "parentSpanId": "1c024711462d9cdb", "startTimeUnixNano": "1796073714189542797", "endTimeUnixNano": "1796073714208656044", "durationMs": 19.113247, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2cf59ffddc620ddc4a437039b9943b89", "spanId": "1c024711462d9cdb", "startTimeUnixNano": "1796073714189527098", "endTimeUnixNano": "1796073714208672605", "durationMs": 19.145507, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b721a12a09c67e28437b37d17f07c261", "spanId": "70a63f20d04a8769", "parentSpanId": "d17c86b1c6fbb191", "startTimeUnixNano": "1796073715736194790", "endTimeUnixNano": "1796073715736961905", "durationMs": 0.767115, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b721a12a09c67e28437b37d17f07c261", "spanId": "c4271875b9fbe853", "parentSpanId": "594d0644580a8793", "startTimeUnixNano": "1796073715737003283", "endTimeUnixNano": "1796073715737710976", "durationMs": 0.707693, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004588}}
{"type": "effect-span", "name": "sqlite", "traceId": "b721a12a09c67e28437b37d17f07c261", "spanId": "afda222d76425a5b", "parentSpanId": "594d0644580a8793", "startTimeUnixNano": "1796073715737781238", "endTimeUnixNano": "1796073715739599308", "durationMs": 1.81807, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008425}}
{"type": "effect-span", "name": "sqlite", "traceId": "b721a12a09c67e28437b37d17f07c261", "spanId": "edc38d05ac10ba0e", "parentSpanId": "594d0644580a8793", "startTimeUnixNano": "1796073715739615859", "endTimeUnixNano": "1796073715740846009", "durationMs": 1.23015, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008526}}
{"type": "effect-span", "name": "sqlite", "traceId": "b721a12a09c67e28437b37d17f07c261", "spanId": "dd6a4a355d5a90c7", "parentSpanId": "594d0644580a8793", "startTimeUnixNano": "1796073715756277551", "endTimeUnixNano": "1796073715759093167", "durationMs": 2.815616, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014216}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b721a12a09c67e28437b37d17f07c261", "spanId": "594d0644580a8793", "parentSpanId": "d17c86b1c6fbb191", "startTimeUnixNano": "1796073715736998083", "endTimeUnixNano": "1796073715759530925", "durationMs": 22.532842, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b721a12a09c67e28437b37d17f07c261", "spanId": "3e76c6b8e3061e70", "parentSpanId": "d17c86b1c6fbb191", "startTimeUnixNano": "1796073715759550763", "endTimeUnixNano": "1796073715759902961", "durationMs": 0.352198, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b721a12a09c67e28437b37d17f07c261", "spanId": "d17c86b1c6fbb191", "parentSpanId": "16b221adbaecf8bc", "startTimeUnixNano": "1796073715734688263", "endTimeUnixNano": "1796073715759924682", "durationMs": 25.236419, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.501598, "db.connection": "reader", "db.lock_wait_ms": 1.455}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b721a12a09c67e28437b37d17f07c261", "spanId": "16b221adbaecf8bc", "parentSpanId": "a37c7f2f65e7668e", "startTimeUnixNano": "1796073715734678665", "endTimeUnixNano": "1796073715759962382", "durationMs": 25.283717, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b721a12a09c67e28437b37d17f07c261", "spanId": "a37c7f2f65e7668e", "parentSpanId": "68873b5e86ba5297", "startTimeUnixNano": "1796073715734626387", "endTimeUnixNano": "1796073715759967432", "durationMs": 25.341045, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b721a12a09c67e28437b37d17f07c261", "spanId": "68873b5e86ba5297", "startTimeUnixNano": "1796073715734609305", "endTimeUnixNano": "1796073715759978723", "durationMs": 25.369418, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fa36c455dcadc7c210e84ba532e69207", "spanId": "1ddf8a0c9b4dbfe9", "parentSpanId": "14aa5923d73e91ba", "startTimeUnixNano": "1796073715952103018", "endTimeUnixNano": "1796073715952413408", "durationMs": 0.31039, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa36c455dcadc7c210e84ba532e69207", "spanId": "60f139519498ffaf", "parentSpanId": "3a5a50b3b400aabc", "startTimeUnixNano": "1796073715952459935", "endTimeUnixNano": "1796073715952640733", "durationMs": 0.180798, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004909}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa36c455dcadc7c210e84ba532e69207", "spanId": "0d5dd29b93274eb1", "parentSpanId": "3a5a50b3b400aabc", "startTimeUnixNano": "1796073715952718148", "endTimeUnixNano": "1796073715954242339", "durationMs": 1.524191, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008666}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa36c455dcadc7c210e84ba532e69207", "spanId": "7f185cc2d1ad7e20", "parentSpanId": "3a5a50b3b400aabc", "startTimeUnixNano": "1796073715954261815", "endTimeUnixNano": "1796073715957149266", "durationMs": 2.887451, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006412}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa36c455dcadc7c210e84ba532e69207", "spanId": "081c6833bf26049c", "parentSpanId": "3a5a50b3b400aabc", "startTimeUnixNano": "1796073715966778214", "endTimeUnixNano": "1796073715968674531", "durationMs": 1.896317, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012123}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fa36c455dcadc7c210e84ba532e69207", "spanId": "3a5a50b3b400aabc", "parentSpanId": "14aa5923d73e91ba", "startTimeUnixNano": "1796073715952454144", "endTimeUnixNano": "1796073715969052388", "durationMs": 16.598244, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fa36c455dcadc7c210e84ba532e69207", "spanId": "6c79b3ef14343b5f", "parentSpanId": "14aa5923d73e91ba", "startTimeUnixNano": "1796073715969068578", "endTimeUnixNano": "1796073715969454329", "durationMs": 0.385751, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fa36c455dcadc7c210e84ba532e69207", "spanId": "14aa5923d73e91ba", "parentSpanId": "93bda4f018be055a", "startTimeUnixNano": "1796073715950824717", "endTimeUnixNano": "1796073715969473766", "durationMs": 18.649049, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.274494, "db.connection": "reader", "db.lock_wait_ms": 1.244}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fa36c455dcadc7c210e84ba532e69207", "spanId": "93bda4f018be055a", "parentSpanId": "0942cc30e9fb2de2", "startTimeUnixNano": "1796073715950815069", "endTimeUnixNano": "1796073715969491158", "durationMs": 18.676089, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fa36c455dcadc7c210e84ba532e69207", "spanId": "0942cc30e9fb2de2", "parentSpanId": "1af94abd40424033", "startTimeUnixNano": "1796073715950778430", "endTimeUnixNano": "1796073715969496388", "durationMs": 18.717958, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fa36c455dcadc7c210e84ba532e69207", "spanId": "1af94abd40424033", "startTimeUnixNano": "1796073715950764214", "endTimeUnixNano": "1796073715969503521", "durationMs": 18.739307, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3cbdf39ad104e222a926d8ca5f6e2111", "spanId": "715f85669d7afb44", "parentSpanId": "c2e5e48f51aff4fb", "startTimeUnixNano": "1796073717521947510", "endTimeUnixNano": "1796073717522088584", "durationMs": 0.141074, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3cbdf39ad104e222a926d8ca5f6e2111", "spanId": "21f5f1f2d2357f76", "parentSpanId": "91694ccb9c8d1a71", "startTimeUnixNano": "1796073717522126695", "endTimeUnixNano": "1796073717522779035", "durationMs": 0.65234, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006402}}
{"type": "effect-span", "name": "sqlite", "traceId": "3cbdf39ad104e222a926d8ca5f6e2111", "spanId": "98d49b8864943c52", "parentSpanId": "91694ccb9c8d1a71", "startTimeUnixNano": "1796073717522860117", "endTimeUnixNano": "1796073717524149258", "durationMs": 1.289141, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009377}}
{"type": "effect-span", "name": "sqlite", "traceId": "3cbdf39ad104e222a926d8ca5f6e2111", "spanId": "8c9c9c735cc4c0ee", "parentSpanId": "91694ccb9c8d1a71", "startTimeUnixNano": "1796073717524165829", "endTimeUnixNano": "1796073717525211094", "durationMs": 1.045265, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008526}}
{"type": "effect-span", "name": "sqlite", "traceId": "3cbdf39ad104e222a926d8ca5f6e2111", "spanId": "a28b6234835fb85b", "parentSpanId": "91694ccb9c8d1a71", "startTimeUnixNano": "1796073717537245732", "endTimeUnixNano": "1796073717539145405", "durationMs": 1.899673, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.02645}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3cbdf39ad104e222a926d8ca5f6e2111", "spanId": "91694ccb9c8d1a71", "parentSpanId": "c2e5e48f51aff4fb", "startTimeUnixNano": "1796073717522120904", "endTimeUnixNano": "1796073717539580599", "durationMs": 17.459695, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3cbdf39ad104e222a926d8ca5f6e2111", "spanId": "dd984fba39b29102", "parentSpanId": "c2e5e48f51aff4fb", "startTimeUnixNano": "1796073717539605736", "endTimeUnixNano": "1796073717540047793", "durationMs": 0.442057, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3cbdf39ad104e222a926d8ca5f6e2111", "spanId": "c2e5e48f51aff4fb", "parentSpanId": "64898b7defb91b5a", "startTimeUnixNano": "1796073717519880033", "endTimeUnixNano": "1796073717540073030", "durationMs": 20.192997, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.062498, "db.connection": "reader", "db.lock_wait_ms": 2.028}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3cbdf39ad104e222a926d8ca5f6e2111", "spanId": "64898b7defb91b5a", "parentSpanId": "55250c458e7ff63a", "startTimeUnixNano": "1796073717519871177", "endTimeUnixNano": "1796073717540093519", "durationMs": 20.222342, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3cbdf39ad104e222a926d8ca5f6e2111", "spanId": "55250c458e7ff63a", "parentSpanId": "84ff18175523d978", "startTimeUnixNano": "1796073717519822475", "endTimeUnixNano": "1796073717540100061", "durationMs": 20.277586, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3cbdf39ad104e222a926d8ca5f6e2111", "spanId": "84ff18175523d978", "startTimeUnixNano": "1796073717519808800", "endTimeUnixNano": "1796073717540108887", "durationMs": 20.300087, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "967cbd95f634adc3342bda285a6ca198", "spanId": "7c94a3176642dd3a", "parentSpanId": "697b8f6f0e26c821", "startTimeUnixNano": "1796073717737162801", "endTimeUnixNano": "1796073717737494742", "durationMs": 0.331941, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "967cbd95f634adc3342bda285a6ca198", "spanId": "b6eb73bcf82ecdce", "parentSpanId": "308a2ff5c9d2870c", "startTimeUnixNano": "1796073717737529607", "endTimeUnixNano": "1796073717737670741", "durationMs": 0.141134, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004408}}
{"type": "effect-span", "name": "sqlite", "traceId": "967cbd95f634adc3342bda285a6ca198", "spanId": "cbaa43fa36bac075", "parentSpanId": "308a2ff5c9d2870c", "startTimeUnixNano": "1796073717737736935", "endTimeUnixNano": "1796073717739148755", "durationMs": 1.41182, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008716}}
{"type": "effect-span", "name": "sqlite", "traceId": "967cbd95f634adc3342bda285a6ca198", "spanId": "8d81723b705d66fa", "parentSpanId": "308a2ff5c9d2870c", "startTimeUnixNano": "1796073717739170395", "endTimeUnixNano": "1796073717740759668", "durationMs": 1.589273, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009117}}
{"type": "effect-span", "name": "sqlite", "traceId": "967cbd95f634adc3342bda285a6ca198", "spanId": "5618f7e3858f90a1", "parentSpanId": "308a2ff5c9d2870c", "startTimeUnixNano": "1796073717750735486", "endTimeUnixNano": "1796073717752962241", "durationMs": 2.226755, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019376}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "967cbd95f634adc3342bda285a6ca198", "spanId": "308a2ff5c9d2870c", "parentSpanId": "697b8f6f0e26c821", "startTimeUnixNano": "1796073717737523445", "endTimeUnixNano": "1796073717753412994", "durationMs": 15.889549, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "967cbd95f634adc3342bda285a6ca198", "spanId": "038368e99cd269ea", "parentSpanId": "697b8f6f0e26c821", "startTimeUnixNano": "1796073717753452077", "endTimeUnixNano": "1796073717753767416", "durationMs": 0.315339, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "967cbd95f634adc3342bda285a6ca198", "spanId": "697b8f6f0e26c821", "parentSpanId": "486145b96a7c0fb8", "startTimeUnixNano": "1796073717735985549", "endTimeUnixNano": "1796073717753791542", "durationMs": 17.805993, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.173274, "db.connection": "reader", "db.lock_wait_ms": 1.147}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "967cbd95f634adc3342bda285a6ca198", "spanId": "486145b96a7c0fb8", "parentSpanId": "1d6dbbeff8b1098c", "startTimeUnixNano": "1796073717735978726", "endTimeUnixNano": "1796073717753809786", "durationMs": 17.83106, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "967cbd95f634adc3342bda285a6ca198", "spanId": "1d6dbbeff8b1098c", "parentSpanId": "1f5a08ac8176e420", "startTimeUnixNano": "1796073717735951335", "endTimeUnixNano": "1796073717753817811", "durationMs": 17.866476, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "967cbd95f634adc3342bda285a6ca198", "spanId": "1f5a08ac8176e420", "startTimeUnixNano": "1796073717735936687", "endTimeUnixNano": "1796073717753827298", "durationMs": 17.890611, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "6dd5b2e90ce35010ea0569b644a845d0", "spanId": "27254a57850c5505", "parentSpanId": "fe92961028043b24", "startTimeUnixNano": "1796073719179495058", "endTimeUnixNano": "1796073719180201650", "durationMs": 0.706592, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "6dd5b2e90ce35010ea0569b644a845d0", "spanId": "fb69d63fca2e0168", "parentSpanId": "9b1ad50c76030d9f", "startTimeUnixNano": "1796073719180239080", "endTimeUnixNano": "1796073719181030851", "durationMs": 0.791771, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004889}}
{"type": "effect-span", "name": "sqlite", "traceId": "6dd5b2e90ce35010ea0569b644a845d0", "spanId": "54ff1d065b16b825", "parentSpanId": "9b1ad50c76030d9f", "startTimeUnixNano": "1796073719181100211", "endTimeUnixNano": "1796073719182697358", "durationMs": 1.597147, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008395}}
{"type": "effect-span", "name": "sqlite", "traceId": "6dd5b2e90ce35010ea0569b644a845d0", "spanId": "c7e1799371507d0f", "parentSpanId": "9b1ad50c76030d9f", "startTimeUnixNano": "1796073719182716944", "endTimeUnixNano": "1796073719184373833", "durationMs": 1.656889, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007725}}
{"type": "effect-span", "name": "sqlite", "traceId": "6dd5b2e90ce35010ea0569b644a845d0", "spanId": "5aff08d007f6d79d", "parentSpanId": "9b1ad50c76030d9f", "startTimeUnixNano": "1796073719195790857", "endTimeUnixNano": "1796073719199162423", "durationMs": 3.371566, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01573}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "6dd5b2e90ce35010ea0569b644a845d0", "spanId": "9b1ad50c76030d9f", "parentSpanId": "fe92961028043b24", "startTimeUnixNano": "1796073719180233590", "endTimeUnixNano": "1796073719199540030", "durationMs": 19.30644, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "6dd5b2e90ce35010ea0569b644a845d0", "spanId": "05a057acafb16d8a", "parentSpanId": "fe92961028043b24", "startTimeUnixNano": "1796073719199561540", "endTimeUnixNano": "1796073719199888351", "durationMs": 0.326811, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "6dd5b2e90ce35010ea0569b644a845d0", "spanId": "fe92961028043b24", "parentSpanId": "321611ff48559503", "startTimeUnixNano": "1796073719178040949", "endTimeUnixNano": "1796073719199909761", "durationMs": 21.868812, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.448178, "db.connection": "reader", "db.lock_wait_ms": 1.414}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "6dd5b2e90ce35010ea0569b644a845d0", "spanId": "321611ff48559503", "parentSpanId": "27915d510f7d4304", "startTimeUnixNano": "1796073719178030910", "endTimeUnixNano": "1796073719199928516", "durationMs": 21.897606, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "6dd5b2e90ce35010ea0569b644a845d0", "spanId": "27915d510f7d4304", "parentSpanId": "769e98d158b45de4", "startTimeUnixNano": "1796073719177986397", "endTimeUnixNano": "1796073719199957681", "durationMs": 21.971284, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "6dd5b2e90ce35010ea0569b644a845d0", "spanId": "769e98d158b45de4", "startTimeUnixNano": "1796073719177965928", "endTimeUnixNano": "1796073719199965265", "durationMs": 21.999337, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "cf2f9cbf2c194063037c0c43c6119235", "spanId": "be51005c055a98b0", "parentSpanId": "33846fc8cf40d392", "startTimeUnixNano": "1796073719392633965", "endTimeUnixNano": "1796073719392821906", "durationMs": 0.187941, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "cf2f9cbf2c194063037c0c43c6119235", "spanId": "a34db81562b5f672", "parentSpanId": "a8e0403d47a6dfd7", "startTimeUnixNano": "1796073719392874294", "endTimeUnixNano": "1796073719393084167", "durationMs": 0.209873, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004599}}
{"type": "effect-span", "name": "sqlite", "traceId": "cf2f9cbf2c194063037c0c43c6119235", "spanId": "7c65f3fe8823b4b4", "parentSpanId": "a8e0403d47a6dfd7", "startTimeUnixNano": "1796073719393151282", "endTimeUnixNano": "1796073719394329025", "durationMs": 1.177743, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007555}}
{"type": "effect-span", "name": "sqlite", "traceId": "cf2f9cbf2c194063037c0c43c6119235", "spanId": "c3cd43318bc317a8", "parentSpanId": "a8e0403d47a6dfd7", "startTimeUnixNano": "1796073719394347750", "endTimeUnixNano": "1796073719395589232", "durationMs": 1.241482, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008246}}
{"type": "effect-span", "name": "sqlite", "traceId": "cf2f9cbf2c194063037c0c43c6119235", "spanId": "459e043efaf7d5df", "parentSpanId": "a8e0403d47a6dfd7", "startTimeUnixNano": "1796073719403468249", "endTimeUnixNano": "1796073719406666932", "durationMs": 3.198683, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012613}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "cf2f9cbf2c194063037c0c43c6119235", "spanId": "a8e0403d47a6dfd7", "parentSpanId": "33846fc8cf40d392", "startTimeUnixNano": "1796073719392868994", "endTimeUnixNano": "1796073719407062131", "durationMs": 14.193137, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "cf2f9cbf2c194063037c0c43c6119235", "spanId": "39153da8e81c49b3", "parentSpanId": "33846fc8cf40d392", "startTimeUnixNano": "1796073719407079864", "endTimeUnixNano": "1796073719407339560", "durationMs": 0.259696, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "cf2f9cbf2c194063037c0c43c6119235", "spanId": "33846fc8cf40d392", "parentSpanId": "5a0d3eb1722fdcaa", "startTimeUnixNano": "1796073719391369550", "endTimeUnixNano": "1796073719407363023", "durationMs": 15.993473, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.261028, "db.connection": "reader", "db.lock_wait_ms": 1.227}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "cf2f9cbf2c194063037c0c43c6119235", "spanId": "5a0d3eb1722fdcaa", "parentSpanId": "ee8595b843de7237", "startTimeUnixNano": "1796073719391358820", "endTimeUnixNano": "1796073719407379494", "durationMs": 16.020674, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "cf2f9cbf2c194063037c0c43c6119235", "spanId": "ee8595b843de7237", "parentSpanId": "c5afb837f3543821", "startTimeUnixNano": "1796073719391324886", "endTimeUnixNano": "1796073719407383973", "durationMs": 16.059087, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "cf2f9cbf2c194063037c0c43c6119235", "spanId": "c5afb837f3543821", "startTimeUnixNano": "1796073719391310990", "endTimeUnixNano": "1796073719407391036", "durationMs": 16.080046, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "db45e909149a384b1f785df430a6923a", "spanId": "6198bb5c9421903d", "parentSpanId": "c72977e127d0ea83", "startTimeUnixNano": "1796073720811609728", "endTimeUnixNano": "1796073720811742707", "durationMs": 0.132979, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "db45e909149a384b1f785df430a6923a", "spanId": "bc60c19923c6e400", "parentSpanId": "aeda9b0898248304", "startTimeUnixNano": "1796073720811777983", "endTimeUnixNano": "1796073720812322652", "durationMs": 0.544669, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005791}}
{"type": "effect-span", "name": "sqlite", "traceId": "db45e909149a384b1f785df430a6923a", "spanId": "d5ac4afab4b76351", "parentSpanId": "aeda9b0898248304", "startTimeUnixNano": "1796073720812398304", "endTimeUnixNano": "1796073720813858755", "durationMs": 1.460451, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008586}}
{"type": "effect-span", "name": "sqlite", "traceId": "db45e909149a384b1f785df430a6923a", "spanId": "d594a734f5a34619", "parentSpanId": "aeda9b0898248304", "startTimeUnixNano": "1796073720813873442", "endTimeUnixNano": "1796073720818846003", "durationMs": 4.972561, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006853}}
{"type": "effect-span", "name": "sqlite", "traceId": "db45e909149a384b1f785df430a6923a", "spanId": "148ff08d215bb9f4", "parentSpanId": "aeda9b0898248304", "startTimeUnixNano": "1796073720827162628", "endTimeUnixNano": "1796073720831393732", "durationMs": 4.231104, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019357}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "db45e909149a384b1f785df430a6923a", "spanId": "aeda9b0898248304", "parentSpanId": "c72977e127d0ea83", "startTimeUnixNano": "1796073720811772483", "endTimeUnixNano": "1796073720831740821", "durationMs": 19.968338, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "db45e909149a384b1f785df430a6923a", "spanId": "7cf6e28b0786abbe", "parentSpanId": "c72977e127d0ea83", "startTimeUnixNano": "1796073720831757913", "endTimeUnixNano": "1796073720831999806", "durationMs": 0.241893, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "db45e909149a384b1f785df430a6923a", "spanId": "c72977e127d0ea83", "parentSpanId": "7a8d6869d1668505", "startTimeUnixNano": "1796073720809526592", "endTimeUnixNano": "1796073720832030734", "durationMs": 22.504142, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.078177, "db.connection": "reader", "db.lock_wait_ms": 2.043}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "db45e909149a384b1f785df430a6923a", "spanId": "7a8d6869d1668505", "parentSpanId": "b69b97b7a52c8cbb", "startTimeUnixNano": "1796073720809517896", "endTimeUnixNano": "1796073720832050731", "durationMs": 22.532835, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "db45e909149a384b1f785df430a6923a", "spanId": "b69b97b7a52c8cbb", "parentSpanId": "931eb6e8e90fc3b0", "startTimeUnixNano": "1796073720809475276", "endTimeUnixNano": "1796073720832055891", "durationMs": 22.580615, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "db45e909149a384b1f785df430a6923a", "spanId": "931eb6e8e90fc3b0", "startTimeUnixNano": "1796073720809459877", "endTimeUnixNano": "1796073720832062733", "durationMs": 22.602856, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3b7916739600875e8a342060ce2d7993", "spanId": "aed73ff53ad2fd63", "parentSpanId": "bf261dfd1b373fcd", "startTimeUnixNano": "1796073721022121486", "endTimeUnixNano": "1796073721022687315", "durationMs": 0.565829, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3b7916739600875e8a342060ce2d7993", "spanId": "b69c4a5691c6efff", "parentSpanId": "9a1a8ac124921f91", "startTimeUnixNano": "1796073721022729313", "endTimeUnixNano": "1796073721023052949", "durationMs": 0.323636, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005651}}
{"type": "effect-span", "name": "sqlite", "traceId": "3b7916739600875e8a342060ce2d7993", "spanId": "efad62fb185eb360", "parentSpanId": "9a1a8ac124921f91", "startTimeUnixNano": "1796073721023123030", "endTimeUnixNano": "1796073721024919049", "durationMs": 1.796019, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007664}}
{"type": "effect-span", "name": "sqlite", "traceId": "3b7916739600875e8a342060ce2d7993", "spanId": "bfca35a585217fff", "parentSpanId": "9a1a8ac124921f91", "startTimeUnixNano": "1796073721024942853", "endTimeUnixNano": "1796073721027164318", "durationMs": 2.221465, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009468}}
{"type": "effect-span", "name": "sqlite", "traceId": "3b7916739600875e8a342060ce2d7993", "spanId": "b476f18a168b1c0c", "parentSpanId": "9a1a8ac124921f91", "startTimeUnixNano": "1796073721035098549", "endTimeUnixNano": "1796073721037955001", "durationMs": 2.856452, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010199}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3b7916739600875e8a342060ce2d7993", "spanId": "9a1a8ac124921f91", "parentSpanId": "bf261dfd1b373fcd", "startTimeUnixNano": "1796073721022722100", "endTimeUnixNano": "1796073721038362774", "durationMs": 15.640674, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3b7916739600875e8a342060ce2d7993", "spanId": "3d0de82a20b26bde", "parentSpanId": "bf261dfd1b373fcd", "startTimeUnixNano": "1796073721038384044", "endTimeUnixNano": "1796073721038708811", "durationMs": 0.324767, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3b7916739600875e8a342060ce2d7993", "spanId": "bf261dfd1b373fcd", "parentSpanId": "7b1598bd3b438de1", "startTimeUnixNano": "1796073721020762775", "endTimeUnixNano": "1796073721038735161", "durationMs": 17.972386, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.353732, "db.connection": "reader", "db.lock_wait_ms": 1.3}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3b7916739600875e8a342060ce2d7993", "spanId": "7b1598bd3b438de1", "parentSpanId": "1ef477c2eaa8af45", "startTimeUnixNano": "1796073721020753378", "endTimeUnixNano": "1796073721038758374", "durationMs": 18.004996, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3b7916739600875e8a342060ce2d7993", "spanId": "1ef477c2eaa8af45", "parentSpanId": "642c03aa56ed78e4", "startTimeUnixNano": "1796073721020718372", "endTimeUnixNano": "1796073721038764976", "durationMs": 18.046604, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3b7916739600875e8a342060ce2d7993", "spanId": "642c03aa56ed78e4", "startTimeUnixNano": "1796073721020703244", "endTimeUnixNano": "1796073721038774685", "durationMs": 18.071441, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "887152f8208134ac1a79aafd5355bfa3", "spanId": "88d28589afd069e2", "parentSpanId": "98f7d309ee6c7738", "startTimeUnixNano": "1796073722459203470", "endTimeUnixNano": "1796073722459826385", "durationMs": 0.622915, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "887152f8208134ac1a79aafd5355bfa3", "spanId": "8d0af0dc09b0d1e8", "parentSpanId": "78636dd497513e06", "startTimeUnixNano": "1796073722459862232", "endTimeUnixNano": "1796073722460535451", "durationMs": 0.673219, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004418}}
{"type": "effect-span", "name": "sqlite", "traceId": "887152f8208134ac1a79aafd5355bfa3", "spanId": "ac130f9c95679bc2", "parentSpanId": "78636dd497513e06", "startTimeUnixNano": "1796073722460604040", "endTimeUnixNano": "1796073722462218750", "durationMs": 1.61471, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008415}}
{"type": "effect-span", "name": "sqlite", "traceId": "887152f8208134ac1a79aafd5355bfa3", "spanId": "0f3f80c57a7642f2", "parentSpanId": "78636dd497513e06", "startTimeUnixNano": "1796073722462234509", "endTimeUnixNano": "1796073722463640880", "durationMs": 1.406371, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007474}}
{"type": "effect-span", "name": "sqlite", "traceId": "887152f8208134ac1a79aafd5355bfa3", "spanId": "639c65aff55027fb", "parentSpanId": "78636dd497513e06", "startTimeUnixNano": "1796073722477022920", "endTimeUnixNano": "1796073722479722409", "durationMs": 2.699489, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016952}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "887152f8208134ac1a79aafd5355bfa3", "spanId": "78636dd497513e06", "parentSpanId": "98f7d309ee6c7738", "startTimeUnixNano": "1796073722459857203", "endTimeUnixNano": "1796073722480071712", "durationMs": 20.214509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "887152f8208134ac1a79aafd5355bfa3", "spanId": "40cc5d4d9744373a", "parentSpanId": "98f7d309ee6c7738", "startTimeUnixNano": "1796073722480087732", "endTimeUnixNano": "1796073722480249375", "durationMs": 0.161643, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "887152f8208134ac1a79aafd5355bfa3", "spanId": "98f7d309ee6c7738", "parentSpanId": "4060a43b5e1a28a7", "startTimeUnixNano": "1796073722457966666", "endTimeUnixNano": "1796073722480272508", "durationMs": 22.305842, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.232005, "db.connection": "reader", "db.lock_wait_ms": 1.199}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "887152f8208134ac1a79aafd5355bfa3", "spanId": "4060a43b5e1a28a7", "parentSpanId": "355b63f46b961f12", "startTimeUnixNano": "1796073722457958391", "endTimeUnixNano": "1796073722480288418", "durationMs": 22.330027, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "887152f8208134ac1a79aafd5355bfa3", "spanId": "355b63f46b961f12", "parentSpanId": "fd5cf25f01a64640", "startTimeUnixNano": "1796073722457920610", "endTimeUnixNano": "1796073722480293447", "durationMs": 22.372837, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "887152f8208134ac1a79aafd5355bfa3", "spanId": "fd5cf25f01a64640", "startTimeUnixNano": "1796073722457906564", "endTimeUnixNano": "1796073722480300240", "durationMs": 22.393676, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fe2ccb1fc755af6fa5d4f9480a369f58", "spanId": "5236bd3f98fd7e53", "parentSpanId": "0acb4994f3d1fefa", "startTimeUnixNano": "1796073722668172731", "endTimeUnixNano": "1796073722670293979", "durationMs": 2.121248, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fe2ccb1fc755af6fa5d4f9480a369f58", "spanId": "b0774188b97190b1", "parentSpanId": "4b2c41873f284078", "startTimeUnixNano": "1796073722670339023", "endTimeUnixNano": "1796073722670530471", "durationMs": 0.191448, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004479}}
{"type": "effect-span", "name": "sqlite", "traceId": "fe2ccb1fc755af6fa5d4f9480a369f58", "spanId": "40756fb85f5e9e37", "parentSpanId": "4b2c41873f284078", "startTimeUnixNano": "1796073722670603067", "endTimeUnixNano": "1796073722677294924", "durationMs": 6.691857, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008857}}
{"type": "effect-span", "name": "sqlite", "traceId": "fe2ccb1fc755af6fa5d4f9480a369f58", "spanId": "40734bff1d1d54f8", "parentSpanId": "4b2c41873f284078", "startTimeUnixNano": "1796073722677316153", "endTimeUnixNano": "1796073722679853560", "durationMs": 2.537407, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009147}}
{"type": "effect-span", "name": "sqlite", "traceId": "fe2ccb1fc755af6fa5d4f9480a369f58", "spanId": "1bc691826ddbf779", "parentSpanId": "4b2c41873f284078", "startTimeUnixNano": "1796073722688860556", "endTimeUnixNano": "1796073722690828377", "durationMs": 1.967821, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013145}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fe2ccb1fc755af6fa5d4f9480a369f58", "spanId": "4b2c41873f284078", "parentSpanId": "0acb4994f3d1fefa", "startTimeUnixNano": "1796073722670333383", "endTimeUnixNano": "1796073722691182289", "durationMs": 20.848906, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fe2ccb1fc755af6fa5d4f9480a369f58", "spanId": "fa22865454180dbb", "parentSpanId": "0acb4994f3d1fefa", "startTimeUnixNano": "1796073722691203539", "endTimeUnixNano": "1796073722691364600", "durationMs": 0.161061, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fe2ccb1fc755af6fa5d4f9480a369f58", "spanId": "0acb4994f3d1fefa", "parentSpanId": "d8cbcff3953ac31f", "startTimeUnixNano": "1796073722665746904", "endTimeUnixNano": "1796073722691383505", "durationMs": 25.636601, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.421449, "db.connection": "reader", "db.lock_wait_ms": 2.394}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fe2ccb1fc755af6fa5d4f9480a369f58", "spanId": "d8cbcff3953ac31f", "parentSpanId": "d772473a09440a88", "startTimeUnixNano": "1796073722665738368", "endTimeUnixNano": "1796073722691398052", "durationMs": 25.659684, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fe2ccb1fc755af6fa5d4f9480a369f58", "spanId": "d772473a09440a88", "parentSpanId": "f01c657a7ec6a951", "startTimeUnixNano": "1796073722665708733", "endTimeUnixNano": "1796073722691404965", "durationMs": 25.696232, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fe2ccb1fc755af6fa5d4f9480a369f58", "spanId": "f01c657a7ec6a951", "startTimeUnixNano": "1796073722665695147", "endTimeUnixNano": "1796073722691412630", "durationMs": 25.717483, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "443351cc11425f46798c6667d3c80526", "spanId": "b192343f30ea5ef2", "parentSpanId": "f874fe7a0659e999", "startTimeUnixNano": "1796073724187937755", "endTimeUnixNano": "1796073724188100269", "durationMs": 0.162514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "443351cc11425f46798c6667d3c80526", "spanId": "e924e0d9770a6427", "parentSpanId": "485477919dfe32ec", "startTimeUnixNano": "1796073724188142809", "endTimeUnixNano": "1796073724188729236", "durationMs": 0.586427, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005701}}
{"type": "effect-span", "name": "sqlite", "traceId": "443351cc11425f46798c6667d3c80526", "spanId": "53e8802776486e38", "parentSpanId": "485477919dfe32ec", "startTimeUnixNano": "1796073724188820256", "endTimeUnixNano": "1796073724190467187", "durationMs": 1.646931, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01088}}
{"type": "effect-span", "name": "sqlite", "traceId": "443351cc11425f46798c6667d3c80526", "spanId": "4b46fa89efec1532", "parentSpanId": "485477919dfe32ec", "startTimeUnixNano": "1796073724190487515", "endTimeUnixNano": "1796073724193418447", "durationMs": 2.930932, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007794}}
{"type": "effect-span", "name": "sqlite", "traceId": "443351cc11425f46798c6667d3c80526", "spanId": "14b2413db5e010a0", "parentSpanId": "485477919dfe32ec", "startTimeUnixNano": "1796073724204275024", "endTimeUnixNano": "1796073724206896898", "durationMs": 2.621874, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009548}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "443351cc11425f46798c6667d3c80526", "spanId": "485477919dfe32ec", "parentSpanId": "f874fe7a0659e999", "startTimeUnixNano": "1796073724188136247", "endTimeUnixNano": "1796073724207373269", "durationMs": 19.237022, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "443351cc11425f46798c6667d3c80526", "spanId": "63e3abb41be8bbd9", "parentSpanId": "f874fe7a0659e999", "startTimeUnixNano": "1796073724207399478", "endTimeUnixNano": "1796073724207693949", "durationMs": 0.294471, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "443351cc11425f46798c6667d3c80526", "spanId": "f874fe7a0659e999", "parentSpanId": "e77e123c1e76202e", "startTimeUnixNano": "1796073724185606815", "endTimeUnixNano": "1796073724207712303", "durationMs": 22.105488, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.325741, "db.connection": "reader", "db.lock_wait_ms": 2.289}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "443351cc11425f46798c6667d3c80526", "spanId": "e77e123c1e76202e", "parentSpanId": "e46a5adb0a81ebf3", "startTimeUnixNano": "1796073724185596586", "endTimeUnixNano": "1796073724207731018", "durationMs": 22.134432, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "443351cc11425f46798c6667d3c80526", "spanId": "e46a5adb0a81ebf3", "parentSpanId": "be216bbe17a3d194", "startTimeUnixNano": "1796073724185552814", "endTimeUnixNano": "1796073724207737550", "durationMs": 22.184736, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "443351cc11425f46798c6667d3c80526", "spanId": "be216bbe17a3d194", "startTimeUnixNano": "1796073724185538387", "endTimeUnixNano": "1796073724207746277", "durationMs": 22.20789, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7edeae11a06b9c7e0123e9bf51d831e1", "spanId": "628beb2a443431d4", "parentSpanId": "0e31985039d42a01", "startTimeUnixNano": "1796073724409031937", "endTimeUnixNano": "1796073724409492298", "durationMs": 0.460361, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7edeae11a06b9c7e0123e9bf51d831e1", "spanId": "2ac1fd5b3e3134f4", "parentSpanId": "71835a08522d090a", "startTimeUnixNano": "1796073724409531181", "endTimeUnixNano": "1796073724409776720", "durationMs": 0.245539, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004909}}
{"type": "effect-span", "name": "sqlite", "traceId": "7edeae11a06b9c7e0123e9bf51d831e1", "spanId": "d883e62f55011f43", "parentSpanId": "71835a08522d090a", "startTimeUnixNano": "1796073724409902886", "endTimeUnixNano": "1796073724411720496", "durationMs": 1.81761, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014547}}
{"type": "effect-span", "name": "sqlite", "traceId": "7edeae11a06b9c7e0123e9bf51d831e1", "spanId": "1729932ad64cd71e", "parentSpanId": "71835a08522d090a", "startTimeUnixNano": "1796073724411735213", "endTimeUnixNano": "1796073724413110325", "durationMs": 1.375112, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006162}}
{"type": "effect-span", "name": "sqlite", "traceId": "7edeae11a06b9c7e0123e9bf51d831e1", "spanId": "5641751000a7c3f4", "parentSpanId": "71835a08522d090a", "startTimeUnixNano": "1796073724420163428", "endTimeUnixNano": "1796073724422647264", "durationMs": 2.483836, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012544}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7edeae11a06b9c7e0123e9bf51d831e1", "spanId": "71835a08522d090a", "parentSpanId": "0e31985039d42a01", "startTimeUnixNano": "1796073724409524989", "endTimeUnixNano": "1796073724423083189", "durationMs": 13.5582, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7edeae11a06b9c7e0123e9bf51d831e1", "spanId": "be111f08d2ceb274", "parentSpanId": "0e31985039d42a01", "startTimeUnixNano": "1796073724423110240", "endTimeUnixNano": "1796073724424582925", "durationMs": 1.472685, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7edeae11a06b9c7e0123e9bf51d831e1", "spanId": "0e31985039d42a01", "parentSpanId": "f1691665d74e0f70", "startTimeUnixNano": "1796073724407657877", "endTimeUnixNano": "1796073724424603643", "durationMs": 16.945766, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.368489, "db.connection": "reader", "db.lock_wait_ms": 1.341}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7edeae11a06b9c7e0123e9bf51d831e1", "spanId": "f1691665d74e0f70", "parentSpanId": "782da390e7e9865b", "startTimeUnixNano": "1796073724407647087", "endTimeUnixNano": "1796073724424622228", "durationMs": 16.975141, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7edeae11a06b9c7e0123e9bf51d831e1", "spanId": "782da390e7e9865b", "parentSpanId": "26e3e2bd9d7c2b93", "startTimeUnixNano": "1796073724407606661", "endTimeUnixNano": "1796073724424629251", "durationMs": 17.02259, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7edeae11a06b9c7e0123e9bf51d831e1", "spanId": "26e3e2bd9d7c2b93", "startTimeUnixNano": "1796073724407585050", "endTimeUnixNano": "1796073724424638438", "durationMs": 17.053388, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "148f3a0bcf8c2e39f0202fd313957fe5", "spanId": "275f89e4d1ffe066", "parentSpanId": "7d40ed6b2c34d5cb", "startTimeUnixNano": "1796073725918338759", "endTimeUnixNano": "1796073725918491736", "durationMs": 0.152977, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "148f3a0bcf8c2e39f0202fd313957fe5", "spanId": "f0d1b1c90b668910", "parentSpanId": "cb3cc6b65d83c548", "startTimeUnixNano": "1796073725918530528", "endTimeUnixNano": "1796073725919212504", "durationMs": 0.681976, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006242}}
{"type": "effect-span", "name": "sqlite", "traceId": "148f3a0bcf8c2e39f0202fd313957fe5", "spanId": "111621ce485db69f", "parentSpanId": "cb3cc6b65d83c548", "startTimeUnixNano": "1796073725919309004", "endTimeUnixNano": "1796073725920986612", "durationMs": 1.677608, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.012243}}
{"type": "effect-span", "name": "sqlite", "traceId": "148f3a0bcf8c2e39f0202fd313957fe5", "spanId": "e93dacb7ad9a83b8", "parentSpanId": "cb3cc6b65d83c548", "startTimeUnixNano": "1796073725921007591", "endTimeUnixNano": "1796073725926678519", "durationMs": 5.670928, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008647}}
{"type": "effect-span", "name": "sqlite", "traceId": "148f3a0bcf8c2e39f0202fd313957fe5", "spanId": "ac41b545446335de", "parentSpanId": "cb3cc6b65d83c548", "startTimeUnixNano": "1796073725937337626", "endTimeUnixNano": "1796073725939645694", "durationMs": 2.308068, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012884}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "148f3a0bcf8c2e39f0202fd313957fe5", "spanId": "cb3cc6b65d83c548", "parentSpanId": "7d40ed6b2c34d5cb", "startTimeUnixNano": "1796073725918524266", "endTimeUnixNano": "1796073725940158893", "durationMs": 21.634627, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "148f3a0bcf8c2e39f0202fd313957fe5", "spanId": "8ad461e7ad7f4b47", "parentSpanId": "7d40ed6b2c34d5cb", "startTimeUnixNano": "1796073725940186515", "endTimeUnixNano": "1796073725940526090", "durationMs": 0.339575, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "148f3a0bcf8c2e39f0202fd313957fe5", "spanId": "7d40ed6b2c34d5cb", "parentSpanId": "1c8be78563c112a7", "startTimeUnixNano": "1796073725915538922", "endTimeUnixNano": "1796073725940564743", "durationMs": 25.025821, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.793476, "db.connection": "reader", "db.lock_wait_ms": 2.759}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "148f3a0bcf8c2e39f0202fd313957fe5", "spanId": "1c8be78563c112a7", "parentSpanId": "7dca413a3bcbf843", "startTimeUnixNano": "1796073725915529655", "endTimeUnixNano": "1796073725940589930", "durationMs": 25.060275, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "148f3a0bcf8c2e39f0202fd313957fe5", "spanId": "7dca413a3bcbf843", "parentSpanId": "064df5cc1d52a513", "startTimeUnixNano": "1796073725915487246", "endTimeUnixNano": "1796073725940597544", "durationMs": 25.110298, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "148f3a0bcf8c2e39f0202fd313957fe5", "spanId": "064df5cc1d52a513", "startTimeUnixNano": "1796073725915470234", "endTimeUnixNano": "1796073725940606911", "durationMs": 25.136677, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b33df682bf0bf1f17e5995161da64f3b", "spanId": "970887d811243e57", "parentSpanId": "67e910b484bc6f34", "startTimeUnixNano": "1796073726135450477", "endTimeUnixNano": "1796073726135695816", "durationMs": 0.245339, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b33df682bf0bf1f17e5995161da64f3b", "spanId": "83485ccab31e08d3", "parentSpanId": "2b31a0f069840278", "startTimeUnixNano": "1796073726135727084", "endTimeUnixNano": "1796073726136062983", "durationMs": 0.335899, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004158}}
{"type": "effect-span", "name": "sqlite", "traceId": "b33df682bf0bf1f17e5995161da64f3b", "spanId": "5c88ae86e78fa816", "parentSpanId": "2b31a0f069840278", "startTimeUnixNano": "1796073726136124708", "endTimeUnixNano": "1796073726137470996", "durationMs": 1.346288, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009368}}
{"type": "effect-span", "name": "sqlite", "traceId": "b33df682bf0bf1f17e5995161da64f3b", "spanId": "c70aff0eab05e315", "parentSpanId": "2b31a0f069840278", "startTimeUnixNano": "1796073726137487427", "endTimeUnixNano": "1796073726138525950", "durationMs": 1.038523, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006933}}
{"type": "effect-span", "name": "sqlite", "traceId": "b33df682bf0bf1f17e5995161da64f3b", "spanId": "32cc85f183ee0acd", "parentSpanId": "2b31a0f069840278", "startTimeUnixNano": "1796073726146048431", "endTimeUnixNano": "1796073726148231123", "durationMs": 2.182692, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009638}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b33df682bf0bf1f17e5995161da64f3b", "spanId": "2b31a0f069840278", "parentSpanId": "67e910b484bc6f34", "startTimeUnixNano": "1796073726135722195", "endTimeUnixNano": "1796073726148596827", "durationMs": 12.874632, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b33df682bf0bf1f17e5995161da64f3b", "spanId": "c4aff8bd775fba64", "parentSpanId": "67e910b484bc6f34", "startTimeUnixNano": "1796073726148613759", "endTimeUnixNano": "1796073726148802673", "durationMs": 0.188914, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b33df682bf0bf1f17e5995161da64f3b", "spanId": "67e910b484bc6f34", "parentSpanId": "9deca4535913990b", "startTimeUnixNano": "1796073726134305045", "endTimeUnixNano": "1796073726148819013", "durationMs": 14.513968, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.141555, "db.connection": "reader", "db.lock_wait_ms": 1.097}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b33df682bf0bf1f17e5995161da64f3b", "spanId": "9deca4535913990b", "parentSpanId": "9794758c8e61ef94", "startTimeUnixNano": "1796073726134296669", "endTimeUnixNano": "1796073726148834652", "durationMs": 14.537983, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b33df682bf0bf1f17e5995161da64f3b", "spanId": "9794758c8e61ef94", "parentSpanId": "0896e649fcfc078a", "startTimeUnixNano": "1796073726134264809", "endTimeUnixNano": "1796073726148840423", "durationMs": 14.575614, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b33df682bf0bf1f17e5995161da64f3b", "spanId": "0896e649fcfc078a", "startTimeUnixNano": "1796073726134252596", "endTimeUnixNano": "1796073726148849019", "durationMs": 14.596423, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7d4f3a0c93f7d5e37254f4a80f45bd5d", "spanId": "8193a8be5e4b0ee2", "parentSpanId": "ac808df9eeb25d97", "startTimeUnixNano": "1796073727552785120", "endTimeUnixNano": "1796073727552934770", "durationMs": 0.14965, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d4f3a0c93f7d5e37254f4a80f45bd5d", "spanId": "a96651384ea9b4ad", "parentSpanId": "9490618fe3a834a2", "startTimeUnixNano": "1796073727552970908", "endTimeUnixNano": "1796073727553528420", "durationMs": 0.557512, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.0056}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d4f3a0c93f7d5e37254f4a80f45bd5d", "spanId": "ee2f9a4b012d2945", "parentSpanId": "9490618fe3a834a2", "startTimeUnixNano": "1796073727553603561", "endTimeUnixNano": "1796073727555281870", "durationMs": 1.678309, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008686}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d4f3a0c93f7d5e37254f4a80f45bd5d", "spanId": "89fb58e0134c7d16", "parentSpanId": "9490618fe3a834a2", "startTimeUnixNano": "1796073727555305394", "endTimeUnixNano": "1796073727556657984", "durationMs": 1.35259, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010199}}
{"type": "effect-span", "name": "sqlite", "traceId": "7d4f3a0c93f7d5e37254f4a80f45bd5d", "spanId": "de92bb69680ab7ca", "parentSpanId": "9490618fe3a834a2", "startTimeUnixNano": "1796073727571229371", "endTimeUnixNano": "1796073727574343255", "durationMs": 3.113884, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015859}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7d4f3a0c93f7d5e37254f4a80f45bd5d", "spanId": "9490618fe3a834a2", "parentSpanId": "ac808df9eeb25d97", "startTimeUnixNano": "1796073727552965578", "endTimeUnixNano": "1796073727574815669", "durationMs": 21.850091, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7d4f3a0c93f7d5e37254f4a80f45bd5d", "spanId": "73bc11f6b68b6aa6", "parentSpanId": "ac808df9eeb25d97", "startTimeUnixNano": "1796073727574837810", "endTimeUnixNano": "1796073727575303361", "durationMs": 0.465551, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7d4f3a0c93f7d5e37254f4a80f45bd5d", "spanId": "ac808df9eeb25d97", "parentSpanId": "9f1e223a5130b18b", "startTimeUnixNano": "1796073727550786081", "endTimeUnixNano": "1796073727575335010", "durationMs": 24.548929, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.992918, "db.connection": "reader", "db.lock_wait_ms": 1.957}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7d4f3a0c93f7d5e37254f4a80f45bd5d", "spanId": "9f1e223a5130b18b", "parentSpanId": "5215456ae07ada47", "startTimeUnixNano": "1796073727550766715", "endTimeUnixNano": "1796073727575355529", "durationMs": 24.588814, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7d4f3a0c93f7d5e37254f4a80f45bd5d", "spanId": "5215456ae07ada47", "parentSpanId": "8860a96bef66354a", "startTimeUnixNano": "1796073727550727060", "endTimeUnixNano": "1796073727575362231", "durationMs": 24.635171, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7d4f3a0c93f7d5e37254f4a80f45bd5d", "spanId": "8860a96bef66354a", "startTimeUnixNano": "1796073727550712343", "endTimeUnixNano": "1796073727575369365", "durationMs": 24.657022, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3b9fd14bea63647382af60bf74690e48", "spanId": "39d336614299fd79", "parentSpanId": "185d986089859d50", "startTimeUnixNano": "1796073727757083166", "endTimeUnixNano": "1796073727757299631", "durationMs": 0.216465, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3b9fd14bea63647382af60bf74690e48", "spanId": "db26f97a7b5b3772", "parentSpanId": "7eec361a948e3105", "startTimeUnixNano": "1796073727757331932", "endTimeUnixNano": "1796073727757482894", "durationMs": 0.150962, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004177}}
{"type": "effect-span", "name": "sqlite", "traceId": "3b9fd14bea63647382af60bf74690e48", "spanId": "af448666ac541369", "parentSpanId": "7eec361a948e3105", "startTimeUnixNano": "1796073727757551673", "endTimeUnixNano": "1796073727760054725", "durationMs": 2.503052, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008576}}
{"type": "effect-span", "name": "sqlite", "traceId": "3b9fd14bea63647382af60bf74690e48", "spanId": "d382555950fcd002", "parentSpanId": "7eec361a948e3105", "startTimeUnixNano": "1796073727760068120", "endTimeUnixNano": "1796073727761558818", "durationMs": 1.490698, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009467}}
{"type": "effect-span", "name": "sqlite", "traceId": "3b9fd14bea63647382af60bf74690e48", "spanId": "fcd8a4f36774e3ab", "parentSpanId": "7eec361a948e3105", "startTimeUnixNano": "1796073727767911521", "endTimeUnixNano": "1796073727769890964", "durationMs": 1.979443, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01065}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3b9fd14bea63647382af60bf74690e48", "spanId": "7eec361a948e3105", "parentSpanId": "185d986089859d50", "startTimeUnixNano": "1796073727757326692", "endTimeUnixNano": "1796073727770348489", "durationMs": 13.021797, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3b9fd14bea63647382af60bf74690e48", "spanId": "305c1b6a6dd1a689", "parentSpanId": "185d986089859d50", "startTimeUnixNano": "1796073727770375320", "endTimeUnixNano": "1796073727771059299", "durationMs": 0.683979, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3b9fd14bea63647382af60bf74690e48", "spanId": "185d986089859d50", "parentSpanId": "cd8061be360f51d2", "startTimeUnixNano": "1796073727755786531", "endTimeUnixNano": "1796073727771078355", "durationMs": 15.291824, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.293199, "db.connection": "reader", "db.lock_wait_ms": 1.265}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3b9fd14bea63647382af60bf74690e48", "spanId": "cd8061be360f51d2", "parentSpanId": "5ebb44d56596eb06", "startTimeUnixNano": "1796073727755777604", "endTimeUnixNano": "1796073727771095176", "durationMs": 15.317572, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3b9fd14bea63647382af60bf74690e48", "spanId": "5ebb44d56596eb06", "parentSpanId": "58ee8a20aec8e5f1", "startTimeUnixNano": "1796073727755738661", "endTimeUnixNano": "1796073727771100045", "durationMs": 15.361384, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3b9fd14bea63647382af60bf74690e48", "spanId": "58ee8a20aec8e5f1", "startTimeUnixNano": "1796073727755725356", "endTimeUnixNano": "1796073727771107700", "durationMs": 15.382344, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0af435aaf387502195ce4763c63811d8", "spanId": "aff49320c678727b", "parentSpanId": "b73c00cff8e385e1", "startTimeUnixNano": "1796073729206239922", "endTimeUnixNano": "1796073729206904095", "durationMs": 0.664173, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0af435aaf387502195ce4763c63811d8", "spanId": "c0e198f064d3303e", "parentSpanId": "84b27ab33d3f2d97", "startTimeUnixNano": "1796073729206945662", "endTimeUnixNano": "1796073729207547779", "durationMs": 0.602117, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.009668}}
{"type": "effect-span", "name": "sqlite", "traceId": "0af435aaf387502195ce4763c63811d8", "spanId": "18eaab55b36b2937", "parentSpanId": "84b27ab33d3f2d97", "startTimeUnixNano": "1796073729207618060", "endTimeUnixNano": "1796073729209115882", "durationMs": 1.497822, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008877}}
{"type": "effect-span", "name": "sqlite", "traceId": "0af435aaf387502195ce4763c63811d8", "spanId": "1fc50f2e9cebe781", "parentSpanId": "84b27ab33d3f2d97", "startTimeUnixNano": "1796073729209129698", "endTimeUnixNano": "1796073729212124941", "durationMs": 2.995243, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007965}}
{"type": "effect-span", "name": "sqlite", "traceId": "0af435aaf387502195ce4763c63811d8", "spanId": "e10f9d3da6ebf670", "parentSpanId": "84b27ab33d3f2d97", "startTimeUnixNano": "1796073729223883706", "endTimeUnixNano": "1796073729227116924", "durationMs": 3.233218, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014367}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0af435aaf387502195ce4763c63811d8", "spanId": "84b27ab33d3f2d97", "parentSpanId": "b73c00cff8e385e1", "startTimeUnixNano": "1796073729206936665", "endTimeUnixNano": "1796073729227553170", "durationMs": 20.616505, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0af435aaf387502195ce4763c63811d8", "spanId": "c640dafd03935af8", "parentSpanId": "b73c00cff8e385e1", "startTimeUnixNano": "1796073729227570803", "endTimeUnixNano": "1796073729227875854", "durationMs": 0.305051, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0af435aaf387502195ce4763c63811d8", "spanId": "b73c00cff8e385e1", "parentSpanId": "6fd68219cf470c7c", "startTimeUnixNano": "1796073729204973854", "endTimeUnixNano": "1796073729227915738", "durationMs": 22.941884, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.262021, "db.connection": "reader", "db.lock_wait_ms": 1.229}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0af435aaf387502195ce4763c63811d8", "spanId": "6fd68219cf470c7c", "parentSpanId": "8f2c0a3de942cf42", "startTimeUnixNano": "1796073729204964707", "endTimeUnixNano": "1796073729227933502", "durationMs": 22.968795, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0af435aaf387502195ce4763c63811d8", "spanId": "8f2c0a3de942cf42", "parentSpanId": "e702bfd4243b1e18", "startTimeUnixNano": "1796073729204922698", "endTimeUnixNano": "1796073729227939894", "durationMs": 23.017196, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0af435aaf387502195ce4763c63811d8", "spanId": "e702bfd4243b1e18", "startTimeUnixNano": "1796073729204908392", "endTimeUnixNano": "1796073729227947919", "durationMs": 23.039527, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1fd41813fdb9a7041c1dec7cd2356ce7", "spanId": "7c741140c6555212", "parentSpanId": "f950f3b2a9a20faf", "startTimeUnixNano": "1796073729418500321", "endTimeUnixNano": "1796073729418784804", "durationMs": 0.284483, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1fd41813fdb9a7041c1dec7cd2356ce7", "spanId": "1dffe6a9138eb3d8", "parentSpanId": "867cd0456d946e68", "startTimeUnixNano": "1796073729418818657", "endTimeUnixNano": "1796073729418948380", "durationMs": 0.129723, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004238}}
{"type": "effect-span", "name": "sqlite", "traceId": "1fd41813fdb9a7041c1dec7cd2356ce7", "spanId": "4507be11d0a80d46", "parentSpanId": "867cd0456d946e68", "startTimeUnixNano": "1796073729419010676", "endTimeUnixNano": "1796073729420748827", "durationMs": 1.738151, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007614}}
{"type": "effect-span", "name": "sqlite", "traceId": "1fd41813fdb9a7041c1dec7cd2356ce7", "spanId": "f5c0626e4920d491", "parentSpanId": "867cd0456d946e68", "startTimeUnixNano": "1796073729420776840", "endTimeUnixNano": "1796073729423667517", "durationMs": 2.890677, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008445}}
{"type": "effect-span", "name": "sqlite", "traceId": "1fd41813fdb9a7041c1dec7cd2356ce7", "spanId": "e709d9f5e1ce40e4", "parentSpanId": "867cd0456d946e68", "startTimeUnixNano": "1796073729430753311", "endTimeUnixNano": "1796073729432954970", "durationMs": 2.201659, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019717}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1fd41813fdb9a7041c1dec7cd2356ce7", "spanId": "867cd0456d946e68", "parentSpanId": "f950f3b2a9a20faf", "startTimeUnixNano": "1796073729418813407", "endTimeUnixNano": "1796073729433212782", "durationMs": 14.399375, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1fd41813fdb9a7041c1dec7cd2356ce7", "spanId": "87b10043991b10b7", "parentSpanId": "f950f3b2a9a20faf", "startTimeUnixNano": "1796073729433227820", "endTimeUnixNano": "1796073729434155796", "durationMs": 0.927976, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1fd41813fdb9a7041c1dec7cd2356ce7", "spanId": "f950f3b2a9a20faf", "parentSpanId": "e6894a18a6d69d9f", "startTimeUnixNano": "1796073729417477478", "endTimeUnixNano": "1796073729434178378", "durationMs": 16.7009, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.020028, "db.connection": "reader", "db.lock_wait_ms": 0.993}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1fd41813fdb9a7041c1dec7cd2356ce7", "spanId": "e6894a18a6d69d9f", "parentSpanId": "01a55a78e725fe93", "startTimeUnixNano": "1796073729417470645", "endTimeUnixNano": "1796073729434192635", "durationMs": 16.72199, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1fd41813fdb9a7041c1dec7cd2356ce7", "spanId": "01a55a78e725fe93", "parentSpanId": "f63a4935dfd1b54f", "startTimeUnixNano": "1796073729417427374", "endTimeUnixNano": "1796073729434199187", "durationMs": 16.771813, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1fd41813fdb9a7041c1dec7cd2356ce7", "spanId": "f63a4935dfd1b54f", "startTimeUnixNano": "1796073729417415893", "endTimeUnixNano": "1796073729434205259", "durationMs": 16.789366, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5fea6020d0b47ebde19e87754fa15a81", "spanId": "b9c6c70edc0aa8b7", "parentSpanId": "50f393cf0acf275c", "startTimeUnixNano": "1796073730897730062", "endTimeUnixNano": "1796073730897916160", "durationMs": 0.186098, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5fea6020d0b47ebde19e87754fa15a81", "spanId": "fdf7323ab9882f08", "parentSpanId": "cc093d23a7b8bd8f", "startTimeUnixNano": "1796073730897971774", "endTimeUnixNano": "1796073730898629805", "durationMs": 0.658031, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006292}}
{"type": "effect-span", "name": "sqlite", "traceId": "5fea6020d0b47ebde19e87754fa15a81", "spanId": "17258c47de329d09", "parentSpanId": "cc093d23a7b8bd8f", "startTimeUnixNano": "1796073730898717118", "endTimeUnixNano": "1796073730900493411", "durationMs": 1.776293, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009989}}
{"type": "effect-span", "name": "sqlite", "traceId": "5fea6020d0b47ebde19e87754fa15a81", "spanId": "6881691fd68ffaba", "parentSpanId": "cc093d23a7b8bd8f", "startTimeUnixNano": "1796073730900526383", "endTimeUnixNano": "1796073730905883373", "durationMs": 5.35699, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010129}}
{"type": "effect-span", "name": "sqlite", "traceId": "5fea6020d0b47ebde19e87754fa15a81", "spanId": "7b2c78d791625ea3", "parentSpanId": "cc093d23a7b8bd8f", "startTimeUnixNano": "1796073730916864655", "endTimeUnixNano": "1796073730919655756", "durationMs": 2.791101, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015499}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5fea6020d0b47ebde19e87754fa15a81", "spanId": "cc093d23a7b8bd8f", "parentSpanId": "50f393cf0acf275c", "startTimeUnixNano": "1796073730897963879", "endTimeUnixNano": "1796073730920101981", "durationMs": 22.138102, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5fea6020d0b47ebde19e87754fa15a81", "spanId": "edca133734b65949", "parentSpanId": "50f393cf0acf275c", "startTimeUnixNano": "1796073730920127929", "endTimeUnixNano": "1796073730920526956", "durationMs": 0.399027, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5fea6020d0b47ebde19e87754fa15a81", "spanId": "50f393cf0acf275c", "parentSpanId": "d0426b54f95cae8a", "startTimeUnixNano": "1796073730895540336", "endTimeUnixNano": "1796073730920560408", "durationMs": 25.020072, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.185528, "db.connection": "reader", "db.lock_wait_ms": 2.147}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5fea6020d0b47ebde19e87754fa15a81", "spanId": "d0426b54f95cae8a", "parentSpanId": "c1e93a97be21ee67", "startTimeUnixNano": "1796073730895531649", "endTimeUnixNano": "1796073730920584834", "durationMs": 25.053185, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5fea6020d0b47ebde19e87754fa15a81", "spanId": "c1e93a97be21ee67", "parentSpanId": "0fb3e7997ffc6f3b", "startTimeUnixNano": "1796073730895491755", "endTimeUnixNano": "1796073730920591697", "durationMs": 25.099942, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5fea6020d0b47ebde19e87754fa15a81", "spanId": "0fb3e7997ffc6f3b", "startTimeUnixNano": "1796073730895475194", "endTimeUnixNano": "1796073730920601275", "durationMs": 25.126081, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "939b7a82acc70f574832825e5a3c8b83", "spanId": "c2f33f922bd5c715", "parentSpanId": "df8031254008bef2", "startTimeUnixNano": "1796073731129320647", "endTimeUnixNano": "1796073731129471309", "durationMs": 0.150662, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "939b7a82acc70f574832825e5a3c8b83", "spanId": "bcfd24bb55a6d1c5", "parentSpanId": "619aafd07c3a4f12", "startTimeUnixNano": "1796073731129513157", "endTimeUnixNano": "1796073731129738138", "durationMs": 0.224981, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005501}}
{"type": "effect-span", "name": "sqlite", "traceId": "939b7a82acc70f574832825e5a3c8b83", "spanId": "3be03828f211140b", "parentSpanId": "619aafd07c3a4f12", "startTimeUnixNano": "1796073731129818619", "endTimeUnixNano": "1796073731131614137", "durationMs": 1.795518, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007784}}
{"type": "effect-span", "name": "sqlite", "traceId": "939b7a82acc70f574832825e5a3c8b83", "spanId": "1d4f75079814fd08", "parentSpanId": "619aafd07c3a4f12", "startTimeUnixNano": "1796073731131673378", "endTimeUnixNano": "1796073731134292608", "durationMs": 2.61923, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010239}}
{"type": "effect-span", "name": "sqlite", "traceId": "939b7a82acc70f574832825e5a3c8b83", "spanId": "0ceffdc2a1ee1cc5", "parentSpanId": "619aafd07c3a4f12", "startTimeUnixNano": "1796073731145543895", "endTimeUnixNano": "1796073731148421107", "durationMs": 2.877212, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010028}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "939b7a82acc70f574832825e5a3c8b83", "spanId": "619aafd07c3a4f12", "parentSpanId": "df8031254008bef2", "startTimeUnixNano": "1796073731129507717", "endTimeUnixNano": "1796073731148866300", "durationMs": 19.358583, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "939b7a82acc70f574832825e5a3c8b83", "spanId": "579d22aa2a0cd175", "parentSpanId": "df8031254008bef2", "startTimeUnixNano": "1796073731148884033", "endTimeUnixNano": "1796073731149257622", "durationMs": 0.373589, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "939b7a82acc70f574832825e5a3c8b83", "spanId": "df8031254008bef2", "parentSpanId": "f97c170c265c995a", "startTimeUnixNano": "1796073731127489081", "endTimeUnixNano": "1796073731149280635", "durationMs": 21.791554, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.825495, "db.connection": "reader", "db.lock_wait_ms": 1.77}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "939b7a82acc70f574832825e5a3c8b83", "spanId": "f97c170c265c995a", "parentSpanId": "d1064f79a0ee1c6b", "startTimeUnixNano": "1796073731127476407", "endTimeUnixNano": "1796073731149294150", "durationMs": 21.817743, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "939b7a82acc70f574832825e5a3c8b83", "spanId": "d1064f79a0ee1c6b", "parentSpanId": "406bbc0a931ebd3e", "startTimeUnixNano": "1796073731127407539", "endTimeUnixNano": "1796073731149298688", "durationMs": 21.891149, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "939b7a82acc70f574832825e5a3c8b83", "spanId": "406bbc0a931ebd3e", "startTimeUnixNano": "1796073731127391749", "endTimeUnixNano": "1796073731149306693", "durationMs": 21.914944, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e37f6de44e64934752e511f027dd3e45", "spanId": "ada5cef373cefc9e", "parentSpanId": "dbc1497e278a64e3", "startTimeUnixNano": "1796073732647392545", "endTimeUnixNano": "1796073732648140584", "durationMs": 0.748039, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e37f6de44e64934752e511f027dd3e45", "spanId": "ad69998103b64b5e", "parentSpanId": "6c62aaf758f59035", "startTimeUnixNano": "1796073732648195296", "endTimeUnixNano": "1796073732649193203", "durationMs": 0.997907, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.011812}}
{"type": "effect-span", "name": "sqlite", "traceId": "e37f6de44e64934752e511f027dd3e45", "spanId": "a21ace7de36eda22", "parentSpanId": "6c62aaf758f59035", "startTimeUnixNano": "1796073732649306104", "endTimeUnixNano": "1796073732650641372", "durationMs": 1.335268, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013706}}
{"type": "effect-span", "name": "sqlite", "traceId": "e37f6de44e64934752e511f027dd3e45", "spanId": "478a0ac2aee70a8f", "parentSpanId": "6c62aaf758f59035", "startTimeUnixNano": "1796073732650666819", "endTimeUnixNano": "1796073732652666911", "durationMs": 2.000092, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007595}}
{"type": "effect-span", "name": "sqlite", "traceId": "e37f6de44e64934752e511f027dd3e45", "spanId": "f400848f2fdfdf10", "parentSpanId": "6c62aaf758f59035", "startTimeUnixNano": "1796073732671726985", "endTimeUnixNano": "1796073732675538295", "durationMs": 3.81131, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022432}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e37f6de44e64934752e511f027dd3e45", "spanId": "6c62aaf758f59035", "parentSpanId": "dbc1497e278a64e3", "startTimeUnixNano": "1796073732648187511", "endTimeUnixNano": "1796073732675920560", "durationMs": 27.733049, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e37f6de44e64934752e511f027dd3e45", "spanId": "a077e77632dace05", "parentSpanId": "dbc1497e278a64e3", "startTimeUnixNano": "1796073732675940417", "endTimeUnixNano": "1796073732676332681", "durationMs": 0.392264, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e37f6de44e64934752e511f027dd3e45", "spanId": "dbc1497e278a64e3", "parentSpanId": "eee5b8998a2c74c4", "startTimeUnixNano": "1796073732646024866", "endTimeUnixNano": "1796073732676354362", "durationMs": 30.329496, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.364152, "db.connection": "reader", "db.lock_wait_ms": 1.328}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e37f6de44e64934752e511f027dd3e45", "spanId": "eee5b8998a2c74c4", "parentSpanId": "f3a35bc279164064", "startTimeUnixNano": "1796073732646013324", "endTimeUnixNano": "1796073732676384218", "durationMs": 30.370894, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e37f6de44e64934752e511f027dd3e45", "spanId": "f3a35bc279164064", "parentSpanId": "ff901271292a80f0", "startTimeUnixNano": "1796073732645968110", "endTimeUnixNano": "1796073732676390359", "durationMs": 30.422249, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e37f6de44e64934752e511f027dd3e45", "spanId": "ff901271292a80f0", "startTimeUnixNano": "1796073732645947822", "endTimeUnixNano": "1796073732676398524", "durationMs": 30.450702, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "13f24751bfff89fd0d69c43d353ca20f", "spanId": "c33b9125950f283e", "parentSpanId": "7bd35c48b38ac2d6", "startTimeUnixNano": "1796073732882657260", "endTimeUnixNano": "1796073732883002606", "durationMs": 0.345346, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "13f24751bfff89fd0d69c43d353ca20f", "spanId": "960482c7b8216714", "parentSpanId": "5dda884687c297d9", "startTimeUnixNano": "1796073732883035748", "endTimeUnixNano": "1796073732883188624", "durationMs": 0.152876, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004318}}
{"type": "effect-span", "name": "sqlite", "traceId": "13f24751bfff89fd0d69c43d353ca20f", "spanId": "7f2d81ba31923117", "parentSpanId": "5dda884687c297d9", "startTimeUnixNano": "1796073732883250329", "endTimeUnixNano": "1796073732884361799", "durationMs": 1.11147, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008657}}
{"type": "effect-span", "name": "sqlite", "traceId": "13f24751bfff89fd0d69c43d353ca20f", "spanId": "71129eabad4f1c5a", "parentSpanId": "5dda884687c297d9", "startTimeUnixNano": "1796073732884375745", "endTimeUnixNano": "1796073732885823192", "durationMs": 1.447447, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005861}}
{"type": "effect-span", "name": "sqlite", "traceId": "13f24751bfff89fd0d69c43d353ca20f", "spanId": "976c41c63a9c5752", "parentSpanId": "5dda884687c297d9", "startTimeUnixNano": "1796073732894326148", "endTimeUnixNano": "1796073732896788875", "durationMs": 2.462727, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013445}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "13f24751bfff89fd0d69c43d353ca20f", "spanId": "5dda884687c297d9", "parentSpanId": "7bd35c48b38ac2d6", "startTimeUnixNano": "1796073732883030548", "endTimeUnixNano": "1796073732897101019", "durationMs": 14.070471, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "13f24751bfff89fd0d69c43d353ca20f", "spanId": "7fde3d5bff539f7f", "parentSpanId": "7bd35c48b38ac2d6", "startTimeUnixNano": "1796073732897118983", "endTimeUnixNano": "1796073732897374691", "durationMs": 0.255708, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "13f24751bfff89fd0d69c43d353ca20f", "spanId": "7bd35c48b38ac2d6", "parentSpanId": "fcbfcfb654ac65ac", "startTimeUnixNano": "1796073732880367817", "endTimeUnixNano": "1796073732897401882", "durationMs": 17.034065, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.286507, "db.connection": "reader", "db.lock_wait_ms": 2.259}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "13f24751bfff89fd0d69c43d353ca20f", "spanId": "fcbfcfb654ac65ac", "parentSpanId": "87e5593f7b23824e", "startTimeUnixNano": "1796073732880360724", "endTimeUnixNano": "1796073732897418513", "durationMs": 17.057789, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "13f24751bfff89fd0d69c43d353ca20f", "spanId": "87e5593f7b23824e", "parentSpanId": "c5cec08e5572c1e9", "startTimeUnixNano": "1796073732880333934", "endTimeUnixNano": "1796073732897424985", "durationMs": 17.091051, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "13f24751bfff89fd0d69c43d353ca20f", "spanId": "c5cec08e5572c1e9", "startTimeUnixNano": "1796073732880322462", "endTimeUnixNano": "1796073732897463687", "durationMs": 17.141225, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7ecba2d56cef053b85c55b33a295d2f3", "spanId": "dee03ff018dd8bf8", "parentSpanId": "11a32f23112affe1", "startTimeUnixNano": "1796073734471282366", "endTimeUnixNano": "1796073734471869254", "durationMs": 0.586888, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ecba2d56cef053b85c55b33a295d2f3", "spanId": "c9ad8f145c3fe84d", "parentSpanId": "81b96810b493178a", "startTimeUnixNano": "1796073734471903528", "endTimeUnixNano": "1796073734472488403", "durationMs": 0.584875, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004329}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ecba2d56cef053b85c55b33a295d2f3", "spanId": "e0f53722261ee4fa", "parentSpanId": "81b96810b493178a", "startTimeUnixNano": "1796073734472581797", "endTimeUnixNano": "1796073734473897418", "durationMs": 1.315621, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014207}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ecba2d56cef053b85c55b33a295d2f3", "spanId": "61148bcef3125194", "parentSpanId": "81b96810b493178a", "startTimeUnixNano": "1796073734473912306", "endTimeUnixNano": "1796073734475342842", "durationMs": 1.430536, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008636}}
{"type": "effect-span", "name": "sqlite", "traceId": "7ecba2d56cef053b85c55b33a295d2f3", "spanId": "2918616180974b1c", "parentSpanId": "81b96810b493178a", "startTimeUnixNano": "1796073734487368458", "endTimeUnixNano": "1796073734490158227", "durationMs": 2.789769, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017413}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7ecba2d56cef053b85c55b33a295d2f3", "spanId": "81b96810b493178a", "parentSpanId": "11a32f23112affe1", "startTimeUnixNano": "1796073734471898339", "endTimeUnixNano": "1796073734490479608", "durationMs": 18.581269, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7ecba2d56cef053b85c55b33a295d2f3", "spanId": "b934540765af5947", "parentSpanId": "11a32f23112affe1", "startTimeUnixNano": "1796073734490506178", "endTimeUnixNano": "1796073734490751857", "durationMs": 0.245679, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7ecba2d56cef053b85c55b33a295d2f3", "spanId": "11a32f23112affe1", "parentSpanId": "2a4eff35ee8ac6a7", "startTimeUnixNano": "1796073734470107048", "endTimeUnixNano": "1796073734490777766", "durationMs": 20.670718, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.171631, "db.connection": "reader", "db.lock_wait_ms": 1.141}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7ecba2d56cef053b85c55b33a295d2f3", "spanId": "2a4eff35ee8ac6a7", "parentSpanId": "326257df33e52b37", "startTimeUnixNano": "1796073734470098822", "endTimeUnixNano": "1796073734490795279", "durationMs": 20.696457, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7ecba2d56cef053b85c55b33a295d2f3", "spanId": "326257df33e52b37", "parentSpanId": "8945237675636f83", "startTimeUnixNano": "1796073734470063787", "endTimeUnixNano": "1796073734490801971", "durationMs": 20.738184, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7ecba2d56cef053b85c55b33a295d2f3", "spanId": "8945237675636f83", "startTimeUnixNano": "1796073734470047827", "endTimeUnixNano": "1796073734490808734", "durationMs": 20.760907, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "49a9ac72a6bec526a25de38b584a2fc8", "spanId": "b8af2c0565c7e8c7", "parentSpanId": "80872c965951d379", "startTimeUnixNano": "1796073734692283820", "endTimeUnixNano": "1796073734692405287", "durationMs": 0.121467, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "49a9ac72a6bec526a25de38b584a2fc8", "spanId": "96bda17db61cb49e", "parentSpanId": "266019ea03d196ce", "startTimeUnixNano": "1796073734692463997", "endTimeUnixNano": "1796073734692675252", "durationMs": 0.211255, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008185}}
{"type": "effect-span", "name": "sqlite", "traceId": "49a9ac72a6bec526a25de38b584a2fc8", "spanId": "18d1998ca2083730", "parentSpanId": "266019ea03d196ce", "startTimeUnixNano": "1796073734692750633", "endTimeUnixNano": "1796073734694124363", "durationMs": 1.37373, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008676}}
{"type": "effect-span", "name": "sqlite", "traceId": "49a9ac72a6bec526a25de38b584a2fc8", "spanId": "717ec0d89d0c5881", "parentSpanId": "266019ea03d196ce", "startTimeUnixNano": "1796073734694147306", "endTimeUnixNano": "1796073734695302146", "durationMs": 1.15484, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008656}}
{"type": "effect-span", "name": "sqlite", "traceId": "49a9ac72a6bec526a25de38b584a2fc8", "spanId": "1ba24c72009df889", "parentSpanId": "266019ea03d196ce", "startTimeUnixNano": "1796073734705209950", "endTimeUnixNano": "1796073734707638003", "durationMs": 2.428053, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011362}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "49a9ac72a6bec526a25de38b584a2fc8", "spanId": "266019ea03d196ce", "parentSpanId": "80872c965951d379", "startTimeUnixNano": "1796073734692456773", "endTimeUnixNano": "1796073734707955396", "durationMs": 15.498623, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "49a9ac72a6bec526a25de38b584a2fc8", "spanId": "55a4685e8bd79eee", "parentSpanId": "80872c965951d379", "startTimeUnixNano": "1796073734707969934", "endTimeUnixNano": "1796073734708235070", "durationMs": 0.265136, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "49a9ac72a6bec526a25de38b584a2fc8", "spanId": "80872c965951d379", "parentSpanId": "9bc4a50b679eb517", "startTimeUnixNano": "1796073734690762133", "endTimeUnixNano": "1796073734708261940", "durationMs": 17.499807, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.518431, "db.connection": "reader", "db.lock_wait_ms": 1.49}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "49a9ac72a6bec526a25de38b584a2fc8", "spanId": "9bc4a50b679eb517", "parentSpanId": "98fd8dbea3bf0db9", "startTimeUnixNano": "1796073734690754920", "endTimeUnixNano": "1796073734708273662", "durationMs": 17.518742, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "49a9ac72a6bec526a25de38b584a2fc8", "spanId": "98fd8dbea3bf0db9", "parentSpanId": "0d8fcb691039a808", "startTimeUnixNano": "1796073734690727609", "endTimeUnixNano": "1796073734708278361", "durationMs": 17.550752, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "49a9ac72a6bec526a25de38b584a2fc8", "spanId": "0d8fcb691039a808", "startTimeUnixNano": "1796073734690708062", "endTimeUnixNano": "1796073734708284231", "durationMs": 17.576169, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "01c333e4673d5d9c9103c6487df0dcc7", "spanId": "b9d2a3163e81284e", "parentSpanId": "acae56d72ddbbbc6", "startTimeUnixNano": "1796073736095931042", "endTimeUnixNano": "1796073736096052770", "durationMs": 0.121728, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "01c333e4673d5d9c9103c6487df0dcc7", "spanId": "21b8e774497a1c8c", "parentSpanId": "dd3d39503dc72b3d", "startTimeUnixNano": "1796073736096090691", "endTimeUnixNano": "1796073736096644167", "durationMs": 0.553476, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005991}}
{"type": "effect-span", "name": "sqlite", "traceId": "01c333e4673d5d9c9103c6487df0dcc7", "spanId": "8a07fe471a78a35b", "parentSpanId": "dd3d39503dc72b3d", "startTimeUnixNano": "1796073736096729576", "endTimeUnixNano": "1796073736098054294", "durationMs": 1.324718, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011021}}
{"type": "effect-span", "name": "sqlite", "traceId": "01c333e4673d5d9c9103c6487df0dcc7", "spanId": "e22c61494a823269", "parentSpanId": "dd3d39503dc72b3d", "startTimeUnixNano": "1796073736098073430", "endTimeUnixNano": "1796073736103163352", "durationMs": 5.089922, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008125}}
{"type": "effect-span", "name": "sqlite", "traceId": "01c333e4673d5d9c9103c6487df0dcc7", "spanId": "81360697f859fe87", "parentSpanId": "dd3d39503dc72b3d", "startTimeUnixNano": "1796073736122056195", "endTimeUnixNano": "1796073736124814265", "durationMs": 2.75807, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012814}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "01c333e4673d5d9c9103c6487df0dcc7", "spanId": "dd3d39503dc72b3d", "parentSpanId": "acae56d72ddbbbc6", "startTimeUnixNano": "1796073736096084660", "endTimeUnixNano": "1796073736125119035", "durationMs": 29.034375, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "01c333e4673d5d9c9103c6487df0dcc7", "spanId": "21d61abd3f0199a8", "parentSpanId": "acae56d72ddbbbc6", "startTimeUnixNano": "1796073736125134374", "endTimeUnixNano": "1796073736125575068", "durationMs": 0.440694, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "01c333e4673d5d9c9103c6487df0dcc7", "spanId": "acae56d72ddbbbc6", "parentSpanId": "ca2396251a76f2f8", "startTimeUnixNano": "1796073736094020709", "endTimeUnixNano": "1796073736125604002", "durationMs": 31.583293, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.906927, "db.connection": "reader", "db.lock_wait_ms": 1.875}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "01c333e4673d5d9c9103c6487df0dcc7", "spanId": "ca2396251a76f2f8", "parentSpanId": "4f2692bdce4e21f9", "startTimeUnixNano": "1796073736094012584", "endTimeUnixNano": "1796073736125618700", "durationMs": 31.606116, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "01c333e4673d5d9c9103c6487df0dcc7", "spanId": "4f2692bdce4e21f9", "parentSpanId": "d5c3f835c9230c17", "startTimeUnixNano": "1796073736093975354", "endTimeUnixNano": "1796073736125623359", "durationMs": 31.648005, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "01c333e4673d5d9c9103c6487df0dcc7", "spanId": "d5c3f835c9230c17", "startTimeUnixNano": "1796073736093957490", "endTimeUnixNano": "1796073736125629099", "durationMs": 31.671609, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f57a84f2808f72fc6f5d6c3790b5d47b", "spanId": "99082fe787d83b36", "parentSpanId": "f067713984eadd6b", "startTimeUnixNano": "1796073736329389309", "endTimeUnixNano": "1796073736329894504", "durationMs": 0.505195, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f57a84f2808f72fc6f5d6c3790b5d47b", "spanId": "15319c7941452a05", "parentSpanId": "0056b27fd6a8afd3", "startTimeUnixNano": "1796073736329929549", "endTimeUnixNano": "1796073736330247624", "durationMs": 0.318075, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004769}}
{"type": "effect-span", "name": "sqlite", "traceId": "f57a84f2808f72fc6f5d6c3790b5d47b", "spanId": "5969a2b2250c0495", "parentSpanId": "0056b27fd6a8afd3", "startTimeUnixNano": "1796073736330319900", "endTimeUnixNano": "1796073736332447109", "durationMs": 2.127209, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008626}}
{"type": "effect-span", "name": "sqlite", "traceId": "f57a84f2808f72fc6f5d6c3790b5d47b", "spanId": "9c72a67be3860679", "parentSpanId": "0056b27fd6a8afd3", "startTimeUnixNano": "1796073736332464842", "endTimeUnixNano": "1796073736334323038", "durationMs": 1.858196, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007875}}
{"type": "effect-span", "name": "sqlite", "traceId": "f57a84f2808f72fc6f5d6c3790b5d47b", "spanId": "f79e0a9614ad4cac", "parentSpanId": "0056b27fd6a8afd3", "startTimeUnixNano": "1796073736343646991", "endTimeUnixNano": "1796073736346628959", "durationMs": 2.981968, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019937}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f57a84f2808f72fc6f5d6c3790b5d47b", "spanId": "0056b27fd6a8afd3", "parentSpanId": "f067713984eadd6b", "startTimeUnixNano": "1796073736329922847", "endTimeUnixNano": "1796073736347006806", "durationMs": 17.083959, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f57a84f2808f72fc6f5d6c3790b5d47b", "spanId": "11905e0a65bd6316", "parentSpanId": "f067713984eadd6b", "startTimeUnixNano": "1796073736347033867", "endTimeUnixNano": "1796073736347860523", "durationMs": 0.826656, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f57a84f2808f72fc6f5d6c3790b5d47b", "spanId": "f067713984eadd6b", "parentSpanId": "4c301ed1a164d0df", "startTimeUnixNano": "1796073736327916904", "endTimeUnixNano": "1796073736347889818", "durationMs": 19.972914, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.469129, "db.connection": "reader", "db.lock_wait_ms": 1.443}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f57a84f2808f72fc6f5d6c3790b5d47b", "spanId": "4c301ed1a164d0df", "parentSpanId": "d70a0f2ab00602ac", "startTimeUnixNano": "1796073736327910031", "endTimeUnixNano": "1796073736347919524", "durationMs": 20.009493, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f57a84f2808f72fc6f5d6c3790b5d47b", "spanId": "d70a0f2ab00602ac", "parentSpanId": "7b782944f7adabea", "startTimeUnixNano": "1796073736327880777", "endTimeUnixNano": "1796073736347935223", "durationMs": 20.054446, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f57a84f2808f72fc6f5d6c3790b5d47b", "spanId": "7b782944f7adabea", "startTimeUnixNano": "1796073736327865177", "endTimeUnixNano": "1796073736347952024", "durationMs": 20.086847, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5ab63d448df4f84db8380aed6b3be481", "spanId": "7fcd4a79e4ee4cb0", "parentSpanId": "cdbd19dd5df481d2", "startTimeUnixNano": "1796073737835968492", "endTimeUnixNano": "1796073737836119654", "durationMs": 0.151162, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5ab63d448df4f84db8380aed6b3be481", "spanId": "d38238b1be34ed7e", "parentSpanId": "59a513d6d5f23a86", "startTimeUnixNano": "1796073737836157435", "endTimeUnixNano": "1796073737836814915", "durationMs": 0.65748, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00524}}
{"type": "effect-span", "name": "sqlite", "traceId": "5ab63d448df4f84db8380aed6b3be481", "spanId": "eaaab9edf1171194", "parentSpanId": "59a513d6d5f23a86", "startTimeUnixNano": "1796073737836897379", "endTimeUnixNano": "1796073737838985035", "durationMs": 2.087656, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008486}}
{"type": "effect-span", "name": "sqlite", "traceId": "5ab63d448df4f84db8380aed6b3be481", "spanId": "93990a743e3b8c78", "parentSpanId": "59a513d6d5f23a86", "startTimeUnixNano": "1796073737839007827", "endTimeUnixNano": "1796073737846304688", "durationMs": 7.296861, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012273}}
{"type": "effect-span", "name": "sqlite", "traceId": "5ab63d448df4f84db8380aed6b3be481", "spanId": "e198611e84915ad1", "parentSpanId": "59a513d6d5f23a86", "startTimeUnixNano": "1796073737856292332", "endTimeUnixNano": "1796073737859548213", "durationMs": 3.255881, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011822}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5ab63d448df4f84db8380aed6b3be481", "spanId": "59a513d6d5f23a86", "parentSpanId": "cdbd19dd5df481d2", "startTimeUnixNano": "1796073737836151654", "endTimeUnixNano": "1796073737859987605", "durationMs": 23.835951, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5ab63d448df4f84db8380aed6b3be481", "spanId": "462965143e38451b", "parentSpanId": "cdbd19dd5df481d2", "startTimeUnixNano": "1796073737860009957", "endTimeUnixNano": "1796073737860288488", "durationMs": 0.278531, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5ab63d448df4f84db8380aed6b3be481", "spanId": "cdbd19dd5df481d2", "parentSpanId": "6482b9e2630a7839", "startTimeUnixNano": "1796073737833330096", "endTimeUnixNano": "1796073737860318684", "durationMs": 26.988588, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.632154, "db.connection": "reader", "db.lock_wait_ms": 2.583}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5ab63d448df4f84db8380aed6b3be481", "spanId": "6482b9e2630a7839", "parentSpanId": "44dd976bdf4225f3", "startTimeUnixNano": "1796073737833321149", "endTimeUnixNano": "1796073737860343871", "durationMs": 27.022722, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5ab63d448df4f84db8380aed6b3be481", "spanId": "44dd976bdf4225f3", "parentSpanId": "089bb4b0e12b90e9", "startTimeUnixNano": "1796073737833274392", "endTimeUnixNano": "1796073737860350955", "durationMs": 27.076563, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5ab63d448df4f84db8380aed6b3be481", "spanId": "089bb4b0e12b90e9", "startTimeUnixNano": "1796073737833258452", "endTimeUnixNano": "1796073737860363408", "durationMs": 27.104956, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8e12c2c2d709c06d107a43919f9437b2", "spanId": "1147752243393710", "parentSpanId": "44a4adc66c686030", "startTimeUnixNano": "1796073738080154091", "endTimeUnixNano": "1796073738080491232", "durationMs": 0.337141, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8e12c2c2d709c06d107a43919f9437b2", "spanId": "f7f8cf7247a4c203", "parentSpanId": "806d52c3ae8789a0", "startTimeUnixNano": "1796073738080558197", "endTimeUnixNano": "1796073738080969397", "durationMs": 0.4112, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007124}}
{"type": "effect-span", "name": "sqlite", "traceId": "8e12c2c2d709c06d107a43919f9437b2", "spanId": "23832e4765376df7", "parentSpanId": "806d52c3ae8789a0", "startTimeUnixNano": "1796073738081063332", "endTimeUnixNano": "1796073738082776317", "durationMs": 1.712985, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011953}}
{"type": "effect-span", "name": "sqlite", "traceId": "8e12c2c2d709c06d107a43919f9437b2", "spanId": "fcdeae458f761bbd", "parentSpanId": "806d52c3ae8789a0", "startTimeUnixNano": "1796073738082802696", "endTimeUnixNano": "1796073738085354480", "durationMs": 2.551784, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011752}}
{"type": "effect-span", "name": "sqlite", "traceId": "8e12c2c2d709c06d107a43919f9437b2", "spanId": "1e16af45706186b4", "parentSpanId": "806d52c3ae8789a0", "startTimeUnixNano": "1796073738094722235", "endTimeUnixNano": "1796073738096631306", "durationMs": 1.909071, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019496}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8e12c2c2d709c06d107a43919f9437b2", "spanId": "806d52c3ae8789a0", "parentSpanId": "44a4adc66c686030", "startTimeUnixNano": "1796073738080548519", "endTimeUnixNano": "1796073738097283196", "durationMs": 16.734677, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8e12c2c2d709c06d107a43919f9437b2", "spanId": "602faf8401371a88", "parentSpanId": "44a4adc66c686030", "startTimeUnixNano": "1796073738097306309", "endTimeUnixNano": "1796073738098211923", "durationMs": 0.905614, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8e12c2c2d709c06d107a43919f9437b2", "spanId": "44a4adc66c686030", "parentSpanId": "c93976f230545257", "startTimeUnixNano": "1796073738078266220", "endTimeUnixNano": "1796073738098235347", "durationMs": 19.969127, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.882842, "db.connection": "reader", "db.lock_wait_ms": 1.851}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8e12c2c2d709c06d107a43919f9437b2", "spanId": "c93976f230545257", "parentSpanId": "4797fc8fa17809ed", "startTimeUnixNano": "1796073738078257654", "endTimeUnixNano": "1796073738098256587", "durationMs": 19.998933, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8e12c2c2d709c06d107a43919f9437b2", "spanId": "4797fc8fa17809ed", "parentSpanId": "9283b9b981d1a313", "startTimeUnixNano": "1796073738078229771", "endTimeUnixNano": "1796073738098263650", "durationMs": 20.033879, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8e12c2c2d709c06d107a43919f9437b2", "spanId": "9283b9b981d1a313", "startTimeUnixNano": "1796073738078212930", "endTimeUnixNano": "1796073738098274881", "durationMs": 20.061951, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d671841605fa95e123fe8a261d5a0201", "spanId": "f4477ed444fd1bde", "parentSpanId": "e3eb25c79ab6907a", "startTimeUnixNano": "1796073739529088150", "endTimeUnixNano": "1796073739529832552", "durationMs": 0.744402, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d671841605fa95e123fe8a261d5a0201", "spanId": "8988af3daf108855", "parentSpanId": "0896a99db4ce1837", "startTimeUnixNano": "1796073739529869712", "endTimeUnixNano": "1796073739530460617", "durationMs": 0.590905, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004508}}
{"type": "effect-span", "name": "sqlite", "traceId": "d671841605fa95e123fe8a261d5a0201", "spanId": "ad8e447934844b04", "parentSpanId": "0896a99db4ce1837", "startTimeUnixNano": "1796073739530561396", "endTimeUnixNano": "1796073739532597325", "durationMs": 2.035929, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013235}}
{"type": "effect-span", "name": "sqlite", "traceId": "d671841605fa95e123fe8a261d5a0201", "spanId": "a43cb35da09f5e8d", "parentSpanId": "0896a99db4ce1837", "startTimeUnixNano": "1796073739532612413", "endTimeUnixNano": "1796073739537706663", "durationMs": 5.09425, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009938}}
{"type": "effect-span", "name": "sqlite", "traceId": "d671841605fa95e123fe8a261d5a0201", "spanId": "a53fcab5afe2fd92", "parentSpanId": "0896a99db4ce1837", "startTimeUnixNano": "1796073739546697944", "endTimeUnixNano": "1796073739549756576", "durationMs": 3.058632, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019306}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d671841605fa95e123fe8a261d5a0201", "spanId": "0896a99db4ce1837", "parentSpanId": "e3eb25c79ab6907a", "startTimeUnixNano": "1796073739529863821", "endTimeUnixNano": "1796073739550207319", "durationMs": 20.343498, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d671841605fa95e123fe8a261d5a0201", "spanId": "e5bf176abb0854dc", "parentSpanId": "e3eb25c79ab6907a", "startTimeUnixNano": "1796073739550229460", "endTimeUnixNano": "1796073739552261502", "durationMs": 2.032042, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d671841605fa95e123fe8a261d5a0201", "spanId": "e3eb25c79ab6907a", "parentSpanId": "69faa3fd83bfbf2a", "startTimeUnixNano": "1796073739527484389", "endTimeUnixNano": "1796073739552317637", "durationMs": 24.833248, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.598581, "db.connection": "reader", "db.lock_wait_ms": 1.565}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d671841605fa95e123fe8a261d5a0201", "spanId": "69faa3fd83bfbf2a", "parentSpanId": "ecc26a17e3f6f017", "startTimeUnixNano": "1796073739527475092", "endTimeUnixNano": "1796073739552354506", "durationMs": 24.879414, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d671841605fa95e123fe8a261d5a0201", "spanId": "ecc26a17e3f6f017", "parentSpanId": "60480dc1c3520a20", "startTimeUnixNano": "1796073739527416282", "endTimeUnixNano": "1796073739552361589", "durationMs": 24.945307, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d671841605fa95e123fe8a261d5a0201", "spanId": "60480dc1c3520a20", "startTimeUnixNano": "1796073739527403037", "endTimeUnixNano": "1796073739552368352", "durationMs": 24.965315, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "365a0157d7761d2c04158e36d3d37cb1", "spanId": "a240cd1a55d429fd", "parentSpanId": "1386695d172022b3", "startTimeUnixNano": "1796073739748036706", "endTimeUnixNano": "1796073739748168342", "durationMs": 0.131636, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "365a0157d7761d2c04158e36d3d37cb1", "spanId": "057a052679465de7", "parentSpanId": "089b81669b8027dc", "startTimeUnixNano": "1796073739748204680", "endTimeUnixNano": "1796073739749232062", "durationMs": 1.027382, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005651}}
{"type": "effect-span", "name": "sqlite", "traceId": "365a0157d7761d2c04158e36d3d37cb1", "spanId": "00de99b4f863faa1", "parentSpanId": "089b81669b8027dc", "startTimeUnixNano": "1796073739749322341", "endTimeUnixNano": "1796073739750818580", "durationMs": 1.496239, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.0109}}
{"type": "effect-span", "name": "sqlite", "traceId": "365a0157d7761d2c04158e36d3d37cb1", "spanId": "01a1222253193b1d", "parentSpanId": "089b81669b8027dc", "startTimeUnixNano": "1796073739750835612", "endTimeUnixNano": "1796073739752461764", "durationMs": 1.626152, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009057}}
{"type": "effect-span", "name": "sqlite", "traceId": "365a0157d7761d2c04158e36d3d37cb1", "spanId": "66807c98f80b4122", "parentSpanId": "089b81669b8027dc", "startTimeUnixNano": "1796073739763066553", "endTimeUnixNano": "1796073739764881248", "durationMs": 1.814695, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017333}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "365a0157d7761d2c04158e36d3d37cb1", "spanId": "089b81669b8027dc", "parentSpanId": "1386695d172022b3", "startTimeUnixNano": "1796073739748199210", "endTimeUnixNano": "1796073739765267641", "durationMs": 17.068431, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "365a0157d7761d2c04158e36d3d37cb1", "spanId": "650e7223664a0303", "parentSpanId": "1386695d172022b3", "startTimeUnixNano": "1796073739765283391", "endTimeUnixNano": "1796073739765477394", "durationMs": 0.194003, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "365a0157d7761d2c04158e36d3d37cb1", "spanId": "1386695d172022b3", "parentSpanId": "5eacf23fe1d0daf8", "startTimeUnixNano": "1796073739746657516", "endTimeUnixNano": "1796073739765500747", "durationMs": 18.843231, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.37417, "db.connection": "reader", "db.lock_wait_ms": 1.33}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "365a0157d7761d2c04158e36d3d37cb1", "spanId": "5eacf23fe1d0daf8", "parentSpanId": "b77681b12cb67011", "startTimeUnixNano": "1796073739746647928", "endTimeUnixNano": "1796073739765516908", "durationMs": 18.86898, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "365a0157d7761d2c04158e36d3d37cb1", "spanId": "b77681b12cb67011", "parentSpanId": "62e2b1e1f505b176", "startTimeUnixNano": "1796073739746613684", "endTimeUnixNano": "1796073739765525704", "durationMs": 18.91202, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "365a0157d7761d2c04158e36d3d37cb1", "spanId": "62e2b1e1f505b176", "startTimeUnixNano": "1796073739746598085", "endTimeUnixNano": "1796073739765534380", "durationMs": 18.936295, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "55e7b8a9c5e754e349c22c43d6a43da9", "spanId": "bb22a4aa92cfed85", "parentSpanId": "4f17427e50197a3e", "startTimeUnixNano": "1796073741184846821", "endTimeUnixNano": "1796073741185489222", "durationMs": 0.642401, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "55e7b8a9c5e754e349c22c43d6a43da9", "spanId": "662a240cc91ff3a7", "parentSpanId": "f9e8b54b58d02049", "startTimeUnixNano": "1796073741185527654", "endTimeUnixNano": "1796073741186138177", "durationMs": 0.610523, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004789}}
{"type": "effect-span", "name": "sqlite", "traceId": "55e7b8a9c5e754e349c22c43d6a43da9", "spanId": "88114d559a391b7e", "parentSpanId": "f9e8b54b58d02049", "startTimeUnixNano": "1796073741186231401", "endTimeUnixNano": "1796073741187363269", "durationMs": 1.131868, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013155}}
{"type": "effect-span", "name": "sqlite", "traceId": "55e7b8a9c5e754e349c22c43d6a43da9", "spanId": "5ad7745a92372759", "parentSpanId": "f9e8b54b58d02049", "startTimeUnixNano": "1796073741187378307", "endTimeUnixNano": "1796073741188851914", "durationMs": 1.473607, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007063}}
{"type": "effect-span", "name": "sqlite", "traceId": "55e7b8a9c5e754e349c22c43d6a43da9", "spanId": "202dcefe472dfe49", "parentSpanId": "f9e8b54b58d02049", "startTimeUnixNano": "1796073741200022993", "endTimeUnixNano": "1796073741202015641", "durationMs": 1.992648, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013916}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "55e7b8a9c5e754e349c22c43d6a43da9", "spanId": "f9e8b54b58d02049", "parentSpanId": "4f17427e50197a3e", "startTimeUnixNano": "1796073741185521613", "endTimeUnixNano": "1796073741202382517", "durationMs": 16.860904, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "55e7b8a9c5e754e349c22c43d6a43da9", "spanId": "fc49e235513e7d7f", "parentSpanId": "4f17427e50197a3e", "startTimeUnixNano": "1796073741202401723", "endTimeUnixNano": "1796073741202619460", "durationMs": 0.217737, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "55e7b8a9c5e754e349c22c43d6a43da9", "spanId": "4f17427e50197a3e", "parentSpanId": "4fd3cef36172f95d", "startTimeUnixNano": "1796073741183612051", "endTimeUnixNano": "1796073741202637284", "durationMs": 19.025233, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.231053, "db.connection": "reader", "db.lock_wait_ms": 1.2}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "55e7b8a9c5e754e349c22c43d6a43da9", "spanId": "4fd3cef36172f95d", "parentSpanId": "8035a63e8aa4d23e", "startTimeUnixNano": "1796073741183603104", "endTimeUnixNano": "1796073741202654947", "durationMs": 19.051843, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "55e7b8a9c5e754e349c22c43d6a43da9", "spanId": "8035a63e8aa4d23e", "parentSpanId": "56fe75eaf9a2d517", "startTimeUnixNano": "1796073741183564321", "endTimeUnixNano": "1796073741202661509", "durationMs": 19.097188, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "55e7b8a9c5e754e349c22c43d6a43da9", "spanId": "56fe75eaf9a2d517", "startTimeUnixNano": "1796073741183550345", "endTimeUnixNano": "1796073741202669263", "durationMs": 19.118918, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "615e6296c78f9baeba8f3675b97f8d8c", "spanId": "df6c1e8d4faeb1e1", "parentSpanId": "ac7f90fbe8624157", "startTimeUnixNano": "1796073741391724413", "endTimeUnixNano": "1796073741392084838", "durationMs": 0.360425, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "615e6296c78f9baeba8f3675b97f8d8c", "spanId": "c895f1f3927a13e6", "parentSpanId": "6cc9f79b33dc7475", "startTimeUnixNano": "1796073741392119242", "endTimeUnixNano": "1796073741392228917", "durationMs": 0.109675, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004498}}
{"type": "effect-span", "name": "sqlite", "traceId": "615e6296c78f9baeba8f3675b97f8d8c", "spanId": "e38a626115da3e6b", "parentSpanId": "6cc9f79b33dc7475", "startTimeUnixNano": "1796073741392293949", "endTimeUnixNano": "1796073741393772285", "durationMs": 1.478336, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007904}}
{"type": "effect-span", "name": "sqlite", "traceId": "615e6296c78f9baeba8f3675b97f8d8c", "spanId": "349dbeca2ad2e051", "parentSpanId": "6cc9f79b33dc7475", "startTimeUnixNano": "1796073741393786060", "endTimeUnixNano": "1796073741394876480", "durationMs": 1.09042, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007875}}
{"type": "effect-span", "name": "sqlite", "traceId": "615e6296c78f9baeba8f3675b97f8d8c", "spanId": "5c77f4532537f26e", "parentSpanId": "6cc9f79b33dc7475", "startTimeUnixNano": "1796073741401472731", "endTimeUnixNano": "1796073741403783704", "durationMs": 2.310973, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010289}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "615e6296c78f9baeba8f3675b97f8d8c", "spanId": "6cc9f79b33dc7475", "parentSpanId": "ac7f90fbe8624157", "startTimeUnixNano": "1796073741392111828", "endTimeUnixNano": "1796073741404177290", "durationMs": 12.065462, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "615e6296c78f9baeba8f3675b97f8d8c", "spanId": "9e03e33b7074cd7e", "parentSpanId": "ac7f90fbe8624157", "startTimeUnixNano": "1796073741404196066", "endTimeUnixNano": "1796073741405174787", "durationMs": 0.978721, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "615e6296c78f9baeba8f3675b97f8d8c", "spanId": "ac7f90fbe8624157", "parentSpanId": "3c53b6ce97647730", "startTimeUnixNano": "1796073741390355442", "endTimeUnixNano": "1796073741405195465", "durationMs": 14.840023, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.364823, "db.connection": "reader", "db.lock_wait_ms": 1.34}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "615e6296c78f9baeba8f3675b97f8d8c", "spanId": "3c53b6ce97647730", "parentSpanId": "e5d11fba6f8d1382", "startTimeUnixNano": "1796073741390348549", "endTimeUnixNano": "1796073741405215052", "durationMs": 14.866503, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "615e6296c78f9baeba8f3675b97f8d8c", "spanId": "e5d11fba6f8d1382", "parentSpanId": "bcb55c5b92bde2b8", "startTimeUnixNano": "1796073741390321849", "endTimeUnixNano": "1796073741405221494", "durationMs": 14.899645, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "615e6296c78f9baeba8f3675b97f8d8c", "spanId": "bcb55c5b92bde2b8", "startTimeUnixNano": "1796073741390308715", "endTimeUnixNano": "1796073741405230200", "durationMs": 14.921485, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "54f8d6764b09bc35d4d3bd32afadf044", "spanId": "d6ae75115f930bbf", "parentSpanId": "4258e9a5d282ff4d", "startTimeUnixNano": "1796073742879870088", "endTimeUnixNano": "1796073742880594202", "durationMs": 0.724114, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "54f8d6764b09bc35d4d3bd32afadf044", "spanId": "3e8c337eb1038aeb", "parentSpanId": "19bf736717793351", "startTimeUnixNano": "1796073742880633305", "endTimeUnixNano": "1796073742881386555", "durationMs": 0.75325, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004328}}
{"type": "effect-span", "name": "sqlite", "traceId": "54f8d6764b09bc35d4d3bd32afadf044", "spanId": "362dfeb9d95774aa", "parentSpanId": "19bf736717793351", "startTimeUnixNano": "1796073742881486732", "endTimeUnixNano": "1796073742883020371", "durationMs": 1.533639, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009949}}
{"type": "effect-span", "name": "sqlite", "traceId": "54f8d6764b09bc35d4d3bd32afadf044", "spanId": "a4c8532f377be903", "parentSpanId": "19bf736717793351", "startTimeUnixNano": "1796073742883032714", "endTimeUnixNano": "1796073742884250683", "durationMs": 1.217969, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008647}}
{"type": "effect-span", "name": "sqlite", "traceId": "54f8d6764b09bc35d4d3bd32afadf044", "spanId": "cf85d4d294c4843d", "parentSpanId": "19bf736717793351", "startTimeUnixNano": "1796073742897961163", "endTimeUnixNano": "1796073742900215030", "durationMs": 2.253867, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012273}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "54f8d6764b09bc35d4d3bd32afadf044", "spanId": "19bf736717793351", "parentSpanId": "4258e9a5d282ff4d", "startTimeUnixNano": "1796073742880627505", "endTimeUnixNano": "1796073742900635987", "durationMs": 20.008482, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "54f8d6764b09bc35d4d3bd32afadf044", "spanId": "bb6e0907b5e87b47", "parentSpanId": "4258e9a5d282ff4d", "startTimeUnixNano": "1796073742900652478", "endTimeUnixNano": "1796073742900904840", "durationMs": 0.252362, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "54f8d6764b09bc35d4d3bd32afadf044", "spanId": "4258e9a5d282ff4d", "parentSpanId": "dce2551d4c8b392e", "startTimeUnixNano": "1796073742878278851", "endTimeUnixNano": "1796073742900926982", "durationMs": 22.648131, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.586658, "db.connection": "reader", "db.lock_wait_ms": 1.542}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "54f8d6764b09bc35d4d3bd32afadf044", "spanId": "dce2551d4c8b392e", "parentSpanId": "ca6a7fdfeb6336a0", "startTimeUnixNano": "1796073742878268181", "endTimeUnixNano": "1796073742900943783", "durationMs": 22.675602, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "54f8d6764b09bc35d4d3bd32afadf044", "spanId": "ca6a7fdfeb6336a0", "parentSpanId": "6aeb6a537524a1f0", "startTimeUnixNano": "1796073742878222585", "endTimeUnixNano": "1796073742900949053", "durationMs": 22.726468, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "54f8d6764b09bc35d4d3bd32afadf044", "spanId": "6aeb6a537524a1f0", "startTimeUnixNano": "1796073742878205183", "endTimeUnixNano": "1796073742900955786", "durationMs": 22.750603, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9a48aeca6bde84a3e5f3f727739269f4", "spanId": "db66d8b1b1264bcc", "parentSpanId": "737c6f82f58c5a83", "startTimeUnixNano": "1796073743096704975", "endTimeUnixNano": "1796073743096993254", "durationMs": 0.288279, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9a48aeca6bde84a3e5f3f727739269f4", "spanId": "1a48cefcc3c7aca5", "parentSpanId": "f839d7c29027d5f8", "startTimeUnixNano": "1796073743097027318", "endTimeUnixNano": "1796073743097159155", "durationMs": 0.131837, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.003968}}
{"type": "effect-span", "name": "sqlite", "traceId": "9a48aeca6bde84a3e5f3f727739269f4", "spanId": "847f871074ce079c", "parentSpanId": "f839d7c29027d5f8", "startTimeUnixNano": "1796073743097220850", "endTimeUnixNano": "1796073743098300841", "durationMs": 1.079991, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009969}}
{"type": "effect-span", "name": "sqlite", "traceId": "9a48aeca6bde84a3e5f3f727739269f4", "spanId": "aff1508580ea8f39", "parentSpanId": "f839d7c29027d5f8", "startTimeUnixNano": "1796073743098323002", "endTimeUnixNano": "1796073743099498622", "durationMs": 1.17562, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006081}}
{"type": "effect-span", "name": "sqlite", "traceId": "9a48aeca6bde84a3e5f3f727739269f4", "spanId": "16134e76eb980b72", "parentSpanId": "f839d7c29027d5f8", "startTimeUnixNano": "1796073743108198438", "endTimeUnixNano": "1796073743110845099", "durationMs": 2.646661, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009447}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9a48aeca6bde84a3e5f3f727739269f4", "spanId": "f839d7c29027d5f8", "parentSpanId": "737c6f82f58c5a83", "startTimeUnixNano": "1796073743097022199", "endTimeUnixNano": "1796073743111149058", "durationMs": 14.126859, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9a48aeca6bde84a3e5f3f727739269f4", "spanId": "4b34dde3b9b1d310", "parentSpanId": "737c6f82f58c5a83", "startTimeUnixNano": "1796073743111166891", "endTimeUnixNano": "1796073743111502820", "durationMs": 0.335929, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9a48aeca6bde84a3e5f3f727739269f4", "spanId": "737c6f82f58c5a83", "parentSpanId": "8da22b833f4ee5dd", "startTimeUnixNano": "1796073743095619514", "endTimeUnixNano": "1796073743111527055", "durationMs": 15.907541, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.082526, "db.connection": "reader", "db.lock_wait_ms": 1.055}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9a48aeca6bde84a3e5f3f727739269f4", "spanId": "8da22b833f4ee5dd", "parentSpanId": "453386700ffca47c", "startTimeUnixNano": "1796073743095613062", "endTimeUnixNano": "1796073743111541212", "durationMs": 15.92815, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9a48aeca6bde84a3e5f3f727739269f4", "spanId": "453386700ffca47c", "parentSpanId": "586411658800d890", "startTimeUnixNano": "1796073743095588306", "endTimeUnixNano": "1796073743111546792", "durationMs": 15.958486, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9a48aeca6bde84a3e5f3f727739269f4", "spanId": "586411658800d890", "startTimeUnixNano": "1796073743095575542", "endTimeUnixNano": "1796073743111552864", "durationMs": 15.977322, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "8c695114bc6d4f6a25e76a0c7e58702e", "spanId": "f339ca3bb4b4649a", "parentSpanId": "49499119bfae17fd", "startTimeUnixNano": "1796073744579419243", "endTimeUnixNano": "1796073744580225331", "durationMs": 0.806088, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "8c695114bc6d4f6a25e76a0c7e58702e", "spanId": "61298d3dc8bafe72", "parentSpanId": "1faa97a7618565d2", "startTimeUnixNano": "1796073744580264966", "endTimeUnixNano": "1796073744580984351", "durationMs": 0.719385, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004668}}
{"type": "effect-span", "name": "sqlite", "traceId": "8c695114bc6d4f6a25e76a0c7e58702e", "spanId": "66f4dc576afba86f", "parentSpanId": "1faa97a7618565d2", "startTimeUnixNano": "1796073744581055775", "endTimeUnixNano": "1796073744582451987", "durationMs": 1.396212, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008356}}
{"type": "effect-span", "name": "sqlite", "traceId": "8c695114bc6d4f6a25e76a0c7e58702e", "spanId": "385e71cf13940e17", "parentSpanId": "1faa97a7618565d2", "startTimeUnixNano": "1796073744582467877", "endTimeUnixNano": "1796073744583973123", "durationMs": 1.505246, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007173}}
{"type": "effect-span", "name": "sqlite", "traceId": "8c695114bc6d4f6a25e76a0c7e58702e", "spanId": "6e7f6e29c389acbd", "parentSpanId": "1faa97a7618565d2", "startTimeUnixNano": "1796073744595451197", "endTimeUnixNano": "1796073744597847260", "durationMs": 2.396063, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013406}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "8c695114bc6d4f6a25e76a0c7e58702e", "spanId": "1faa97a7618565d2", "parentSpanId": "49499119bfae17fd", "startTimeUnixNano": "1796073744580259205", "endTimeUnixNano": "1796073744598368876", "durationMs": 18.109671, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "8c695114bc6d4f6a25e76a0c7e58702e", "spanId": "7ce2d652d7a2e700", "parentSpanId": "49499119bfae17fd", "startTimeUnixNano": "1796073744598391569", "endTimeUnixNano": "1796073744598607903", "durationMs": 0.216334, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "8c695114bc6d4f6a25e76a0c7e58702e", "spanId": "49499119bfae17fd", "parentSpanId": "1790f7fced39585b", "startTimeUnixNano": "1796073744577688325", "endTimeUnixNano": "1796073744598634052", "durationMs": 20.945727, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.725969, "db.connection": "reader", "db.lock_wait_ms": 1.688}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "8c695114bc6d4f6a25e76a0c7e58702e", "spanId": "1790f7fced39585b", "parentSpanId": "7b9c89ba442e9d76", "startTimeUnixNano": "1796073744577678677", "endTimeUnixNano": "1796073744598661914", "durationMs": 20.983237, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "8c695114bc6d4f6a25e76a0c7e58702e", "spanId": "7b9c89ba442e9d76", "parentSpanId": "1a860bda14d23ed3", "startTimeUnixNano": "1796073744577627461", "endTimeUnixNano": "1796073744598669509", "durationMs": 21.042048, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "8c695114bc6d4f6a25e76a0c7e58702e", "spanId": "1a860bda14d23ed3", "startTimeUnixNano": "1796073744577610620", "endTimeUnixNano": "1796073744598679016", "durationMs": 21.068396, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "1d498268cf3201ffb385a003ca74fdcd", "spanId": "ecb93aff7e072852", "parentSpanId": "4ec3ddad56883e14", "startTimeUnixNano": "1796073744828316794", "endTimeUnixNano": "1796073744828532958", "durationMs": 0.216164, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d498268cf3201ffb385a003ca74fdcd", "spanId": "f087887d0cbc7cf5", "parentSpanId": "18dc00ff4aa49899", "startTimeUnixNano": "1796073744828574285", "endTimeUnixNano": "1796073744828768519", "durationMs": 0.194234, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004419}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d498268cf3201ffb385a003ca74fdcd", "spanId": "0196fa9d1350841a", "parentSpanId": "18dc00ff4aa49899", "startTimeUnixNano": "1796073744828833811", "endTimeUnixNano": "1796073744830312257", "durationMs": 1.478446, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.006993}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d498268cf3201ffb385a003ca74fdcd", "spanId": "6f8b0f426733adf5", "parentSpanId": "18dc00ff4aa49899", "startTimeUnixNano": "1796073744830325291", "endTimeUnixNano": "1796073744832880492", "durationMs": 2.555201, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005981}}
{"type": "effect-span", "name": "sqlite", "traceId": "1d498268cf3201ffb385a003ca74fdcd", "spanId": "d25bd1d2dea9868b", "parentSpanId": "18dc00ff4aa49899", "startTimeUnixNano": "1796073744842357131", "endTimeUnixNano": "1796073744845173591", "durationMs": 2.81646, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009979}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "1d498268cf3201ffb385a003ca74fdcd", "spanId": "18dc00ff4aa49899", "parentSpanId": "4ec3ddad56883e14", "startTimeUnixNano": "1796073744828569266", "endTimeUnixNano": "1796073744845609897", "durationMs": 17.040631, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "1d498268cf3201ffb385a003ca74fdcd", "spanId": "54ee39cfd8a20518", "parentSpanId": "4ec3ddad56883e14", "startTimeUnixNano": "1796073744845627760", "endTimeUnixNano": "1796073744846104162", "durationMs": 0.476402, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "1d498268cf3201ffb385a003ca74fdcd", "spanId": "4ec3ddad56883e14", "parentSpanId": "e2916613ead270b9", "startTimeUnixNano": "1796073744827051797", "endTimeUnixNano": "1796073744846125552", "durationMs": 19.073755, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.26129, "db.connection": "reader", "db.lock_wait_ms": 1.233}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "1d498268cf3201ffb385a003ca74fdcd", "spanId": "e2916613ead270b9", "parentSpanId": "d2a2d778b60cc523", "startTimeUnixNano": "1796073744827043822", "endTimeUnixNano": "1796073744846143686", "durationMs": 19.099864, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "1d498268cf3201ffb385a003ca74fdcd", "spanId": "d2a2d778b60cc523", "parentSpanId": "67ea9f724e03f3a5", "startTimeUnixNano": "1796073744827015880", "endTimeUnixNano": "1796073744846148455", "durationMs": 19.132575, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "1d498268cf3201ffb385a003ca74fdcd", "spanId": "67ea9f724e03f3a5", "startTimeUnixNano": "1796073744827001302", "endTimeUnixNano": "1796073744846156991", "durationMs": 19.155689, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "094a7745f611f62473138d0c2ce1ee5f", "spanId": "f9745a0d37bf8ebe", "parentSpanId": "b827cd42e50a98f8", "startTimeUnixNano": "1796073746277001988", "endTimeUnixNano": "1796073746285303790", "durationMs": 8.301802, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "094a7745f611f62473138d0c2ce1ee5f", "spanId": "88c65e76216c18d9", "parentSpanId": "0e8c75dadc73a0b6", "startTimeUnixNano": "1796073746285356940", "endTimeUnixNano": "1796073746287253528", "durationMs": 1.896588, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004729}}
{"type": "effect-span", "name": "sqlite", "traceId": "094a7745f611f62473138d0c2ce1ee5f", "spanId": "35696e9b3ac59299", "parentSpanId": "0e8c75dadc73a0b6", "startTimeUnixNano": "1796073746287357823", "endTimeUnixNano": "1796073746288747694", "durationMs": 1.389871, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009829}}
{"type": "effect-span", "name": "sqlite", "traceId": "094a7745f611f62473138d0c2ce1ee5f", "spanId": "2dc2ad442f2118c7", "parentSpanId": "0e8c75dadc73a0b6", "startTimeUnixNano": "1796073746288781627", "endTimeUnixNano": "1796073746290818488", "durationMs": 2.036861, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008045}}
{"type": "effect-span", "name": "sqlite", "traceId": "094a7745f611f62473138d0c2ce1ee5f", "spanId": "5dc6232717061dfd", "parentSpanId": "0e8c75dadc73a0b6", "startTimeUnixNano": "1796073746302095006", "endTimeUnixNano": "1796073746304545250", "durationMs": 2.450244, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012623}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "094a7745f611f62473138d0c2ce1ee5f", "spanId": "0e8c75dadc73a0b6", "parentSpanId": "b827cd42e50a98f8", "startTimeUnixNano": "1796073746285350057", "endTimeUnixNano": "1796073746304941612", "durationMs": 19.591555, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "094a7745f611f62473138d0c2ce1ee5f", "spanId": "b4078c1bd6dc62c1", "parentSpanId": "b827cd42e50a98f8", "startTimeUnixNano": "1796073746304960487", "endTimeUnixNano": "1796073746305170690", "durationMs": 0.210203, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "094a7745f611f62473138d0c2ce1ee5f", "spanId": "b827cd42e50a98f8", "parentSpanId": "4446c5ee5f63e1a7", "startTimeUnixNano": "1796073746275911428", "endTimeUnixNano": "1796073746305185919", "durationMs": 29.274491, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.086172, "db.connection": "reader", "db.lock_wait_ms": 1.06}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "094a7745f611f62473138d0c2ce1ee5f", "spanId": "4446c5ee5f63e1a7", "parentSpanId": "7398735402558a78", "startTimeUnixNano": "1796073746275903162", "endTimeUnixNano": "1796073746305202700", "durationMs": 29.299538, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "094a7745f611f62473138d0c2ce1ee5f", "spanId": "7398735402558a78", "parentSpanId": "51bd8a2904e1c891", "startTimeUnixNano": "1796073746275868808", "endTimeUnixNano": "1796073746305207699", "durationMs": 29.338891, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "094a7745f611f62473138d0c2ce1ee5f", "spanId": "51bd8a2904e1c891", "startTimeUnixNano": "1796073746275855113", "endTimeUnixNano": "1796073746305214943", "durationMs": 29.35983, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "293e4afd99b2820eb80e6ecaa45a23d3", "spanId": "3a9a6fa6c1fa27d0", "parentSpanId": "95bc249e5268c945", "startTimeUnixNano": "1796073746489934871", "endTimeUnixNano": "1796073746490362171", "durationMs": 0.4273, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "293e4afd99b2820eb80e6ecaa45a23d3", "spanId": "0d422678406e80d8", "parentSpanId": "760ed90540c3ba9e", "startTimeUnixNano": "1796073746490394902", "endTimeUnixNano": "1796073746490651793", "durationMs": 0.256891, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004218}}
{"type": "effect-span", "name": "sqlite", "traceId": "293e4afd99b2820eb80e6ecaa45a23d3", "spanId": "5bb15e18b50377f0", "parentSpanId": "760ed90540c3ba9e", "startTimeUnixNano": "1796073746490719389", "endTimeUnixNano": "1796073746492504529", "durationMs": 1.78514, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007655}}
{"type": "effect-span", "name": "sqlite", "traceId": "293e4afd99b2820eb80e6ecaa45a23d3", "spanId": "30fd68c4ca6356ae", "parentSpanId": "760ed90540c3ba9e", "startTimeUnixNano": "1796073746492521451", "endTimeUnixNano": "1796073746493734881", "durationMs": 1.21343, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007183}}
{"type": "effect-span", "name": "sqlite", "traceId": "293e4afd99b2820eb80e6ecaa45a23d3", "spanId": "92e2d38b064938c6", "parentSpanId": "760ed90540c3ba9e", "startTimeUnixNano": "1796073746501360037", "endTimeUnixNano": "1796073746504142683", "durationMs": 2.782646, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.019837}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "293e4afd99b2820eb80e6ecaa45a23d3", "spanId": "760ed90540c3ba9e", "parentSpanId": "95bc249e5268c945", "startTimeUnixNano": "1796073746490389803", "endTimeUnixNano": "1796073746504546439", "durationMs": 14.156636, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "293e4afd99b2820eb80e6ecaa45a23d3", "spanId": "e0a6a6352a2d09be", "parentSpanId": "95bc249e5268c945", "startTimeUnixNano": "1796073746504567478", "endTimeUnixNano": "1796073746504870926", "durationMs": 0.303448, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "293e4afd99b2820eb80e6ecaa45a23d3", "spanId": "95bc249e5268c945", "parentSpanId": "81d9192ba8f4cda9", "startTimeUnixNano": "1796073746488591218", "endTimeUnixNano": "1796073746504887737", "durationMs": 16.296519, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.339876, "db.connection": "reader", "db.lock_wait_ms": 1.314}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "293e4afd99b2820eb80e6ecaa45a23d3", "spanId": "81d9192ba8f4cda9", "parentSpanId": "9e66d1ecfdc3ee02", "startTimeUnixNano": "1796073746488583974", "endTimeUnixNano": "1796073746504905460", "durationMs": 16.321486, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "293e4afd99b2820eb80e6ecaa45a23d3", "spanId": "9e66d1ecfdc3ee02", "parentSpanId": "edbdfe7b95ee6eff", "startTimeUnixNano": "1796073746488553667", "endTimeUnixNano": "1796073746504912554", "durationMs": 16.358887, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "293e4afd99b2820eb80e6ecaa45a23d3", "spanId": "edbdfe7b95ee6eff", "startTimeUnixNano": "1796073746488537547", "endTimeUnixNano": "1796073746504921751", "durationMs": 16.384204, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "703fe55d9e229082d28a9b47c0d2dfad", "spanId": "5a3ed9c480ad0bcb", "parentSpanId": "d6854ca04863e735", "startTimeUnixNano": "1796073748044569900", "endTimeUnixNano": "1796073748045374115", "durationMs": 0.804215, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "703fe55d9e229082d28a9b47c0d2dfad", "spanId": "fa044e2f4234a2e4", "parentSpanId": "677c968169b33ecc", "startTimeUnixNano": "1796073748045419179", "endTimeUnixNano": "1796073748046166307", "durationMs": 0.747128, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004569}}
{"type": "effect-span", "name": "sqlite", "traceId": "703fe55d9e229082d28a9b47c0d2dfad", "spanId": "d55916d9ed669bc0", "parentSpanId": "677c968169b33ecc", "startTimeUnixNano": "1796073748046238542", "endTimeUnixNano": "1796073748048068406", "durationMs": 1.829864, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008937}}
{"type": "effect-span", "name": "sqlite", "traceId": "703fe55d9e229082d28a9b47c0d2dfad", "spanId": "99bcdc5039b2d193", "parentSpanId": "677c968169b33ecc", "startTimeUnixNano": "1796073748048087802", "endTimeUnixNano": "1796073748049374569", "durationMs": 1.286767, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009287}}
{"type": "effect-span", "name": "sqlite", "traceId": "703fe55d9e229082d28a9b47c0d2dfad", "spanId": "bf6e81243ff4da8d", "parentSpanId": "677c968169b33ecc", "startTimeUnixNano": "1796073748060342771", "endTimeUnixNano": "1796073748064131469", "durationMs": 3.788698, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011591}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "703fe55d9e229082d28a9b47c0d2dfad", "spanId": "677c968169b33ecc", "parentSpanId": "d6854ca04863e735", "startTimeUnixNano": "1796073748045413058", "endTimeUnixNano": "1796073748064493777", "durationMs": 19.080719, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "703fe55d9e229082d28a9b47c0d2dfad", "spanId": "413b0a325742d9a8", "parentSpanId": "d6854ca04863e735", "startTimeUnixNano": "1796073748064510448", "endTimeUnixNano": "1796073748064701796", "durationMs": 0.191348, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "703fe55d9e229082d28a9b47c0d2dfad", "spanId": "d6854ca04863e735", "parentSpanId": "e9eed8ca708c6da9", "startTimeUnixNano": "1796073748042645199", "endTimeUnixNano": "1796073748064716404", "durationMs": 22.071205, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.917828, "db.connection": "reader", "db.lock_wait_ms": 1.875}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "703fe55d9e229082d28a9b47c0d2dfad", "spanId": "e9eed8ca708c6da9", "parentSpanId": "69a9cb1516a4c56b", "startTimeUnixNano": "1796073748042634689", "endTimeUnixNano": "1796073748064730630", "durationMs": 22.095941, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "703fe55d9e229082d28a9b47c0d2dfad", "spanId": "69a9cb1516a4c56b", "parentSpanId": "50080b229160f102", "startTimeUnixNano": "1796073748042581460", "endTimeUnixNano": "1796073748064738866", "durationMs": 22.157406, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "703fe55d9e229082d28a9b47c0d2dfad", "spanId": "50080b229160f102", "startTimeUnixNano": "1796073748042564418", "endTimeUnixNano": "1796073748064745097", "durationMs": 22.180679, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "16b714430bb2a7af72d18afb9ab843a3", "spanId": "2f5a59f934c34912", "parentSpanId": "e917de9faaf0b74a", "startTimeUnixNano": "1796073748257093446", "endTimeUnixNano": "1796073748257425367", "durationMs": 0.331921, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "16b714430bb2a7af72d18afb9ab843a3", "spanId": "75109e26ea1f1ce5", "parentSpanId": "7cc759b8fe8b28f9", "startTimeUnixNano": "1796073748257489277", "endTimeUnixNano": "1796073748257690864", "durationMs": 0.201587, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006592}}
{"type": "effect-span", "name": "sqlite", "traceId": "16b714430bb2a7af72d18afb9ab843a3", "spanId": "834705e975f7eb26", "parentSpanId": "7cc759b8fe8b28f9", "startTimeUnixNano": "1796073748257788326", "endTimeUnixNano": "1796073748259075274", "durationMs": 1.286948, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013937}}
{"type": "effect-span", "name": "sqlite", "traceId": "16b714430bb2a7af72d18afb9ab843a3", "spanId": "842221a31f5494a7", "parentSpanId": "7cc759b8fe8b28f9", "startTimeUnixNano": "1796073748259090884", "endTimeUnixNano": "1796073748260208635", "durationMs": 1.117751, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006141}}
{"type": "effect-span", "name": "sqlite", "traceId": "16b714430bb2a7af72d18afb9ab843a3", "spanId": "0d2ae2278bf8ccae", "parentSpanId": "7cc759b8fe8b28f9", "startTimeUnixNano": "1796073748271341043", "endTimeUnixNano": "1796073748273556629", "durationMs": 2.215586, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.055194}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "16b714430bb2a7af72d18afb9ab843a3", "spanId": "7cc759b8fe8b28f9", "parentSpanId": "e917de9faaf0b74a", "startTimeUnixNano": "1796073748257481532", "endTimeUnixNano": "1796073748273959953", "durationMs": 16.478421, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "16b714430bb2a7af72d18afb9ab843a3", "spanId": "723ea8ca6ebd148f", "parentSpanId": "e917de9faaf0b74a", "startTimeUnixNano": "1796073748273987715", "endTimeUnixNano": "1796073748274253352", "durationMs": 0.265637, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "16b714430bb2a7af72d18afb9ab843a3", "spanId": "e917de9faaf0b74a", "parentSpanId": "495d3964834f1576", "startTimeUnixNano": "1796073748255633044", "endTimeUnixNano": "1796073748274281054", "durationMs": 18.64801, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.454091, "db.connection": "reader", "db.lock_wait_ms": 1.415}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "16b714430bb2a7af72d18afb9ab843a3", "spanId": "495d3964834f1576", "parentSpanId": "7dfbeacbe2188ffa", "startTimeUnixNano": "1796073748255615381", "endTimeUnixNano": "1796073748274302895", "durationMs": 18.687514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "16b714430bb2a7af72d18afb9ab843a3", "spanId": "7dfbeacbe2188ffa", "parentSpanId": "2bfb2585248b736b", "startTimeUnixNano": "1796073748255580375", "endTimeUnixNano": "1796073748274309788", "durationMs": 18.729413, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "16b714430bb2a7af72d18afb9ab843a3", "spanId": "2bfb2585248b736b", "startTimeUnixNano": "1796073748255566530", "endTimeUnixNano": "1796073748274322301", "durationMs": 18.755771, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "58d40997b005807b523551caf8aa3c8d", "spanId": "d6c81326374730b8", "parentSpanId": "4de486ba2f61d1d9", "startTimeUnixNano": "1796073749789658012", "endTimeUnixNano": "1796073749789799998", "durationMs": 0.141986, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "58d40997b005807b523551caf8aa3c8d", "spanId": "3c604c1550bbbd8e", "parentSpanId": "951b0e771c942e8a", "startTimeUnixNano": "1796073749789835234", "endTimeUnixNano": "1796073749790540614", "durationMs": 0.70538, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005761}}
{"type": "effect-span", "name": "sqlite", "traceId": "58d40997b005807b523551caf8aa3c8d", "spanId": "2ae43222b883eb74", "parentSpanId": "951b0e771c942e8a", "startTimeUnixNano": "1796073749790624421", "endTimeUnixNano": "1796073749792033747", "durationMs": 1.409326, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010579}}
{"type": "effect-span", "name": "sqlite", "traceId": "58d40997b005807b523551caf8aa3c8d", "spanId": "2840f8160741fcab", "parentSpanId": "951b0e771c942e8a", "startTimeUnixNano": "1796073749792051921", "endTimeUnixNano": "1796073749793220187", "durationMs": 1.168266, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009208}}
{"type": "effect-span", "name": "sqlite", "traceId": "58d40997b005807b523551caf8aa3c8d", "spanId": "df2bd47c72838d14", "parentSpanId": "951b0e771c942e8a", "startTimeUnixNano": "1796073749804250184", "endTimeUnixNano": "1796073749806619838", "durationMs": 2.369654, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013005}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "58d40997b005807b523551caf8aa3c8d", "spanId": "951b0e771c942e8a", "parentSpanId": "4de486ba2f61d1d9", "startTimeUnixNano": "1796073749789829543", "endTimeUnixNano": "1796073749807066434", "durationMs": 17.236891, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "58d40997b005807b523551caf8aa3c8d", "spanId": "5dc85f4cdcb6fc41", "parentSpanId": "4de486ba2f61d1d9", "startTimeUnixNano": "1796073749807086141", "endTimeUnixNano": "1796073749807267680", "durationMs": 0.181539, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "58d40997b005807b523551caf8aa3c8d", "spanId": "4de486ba2f61d1d9", "parentSpanId": "a2c9cdb909d67afd", "startTimeUnixNano": "1796073749787325859", "endTimeUnixNano": "1796073749807287848", "durationMs": 19.961989, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.326282, "db.connection": "reader", "db.lock_wait_ms": 2.288}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "58d40997b005807b523551caf8aa3c8d", "spanId": "a2c9cdb909d67afd", "parentSpanId": "43be5d24a61b2a49", "startTimeUnixNano": "1796073749787316061", "endTimeUnixNano": "1796073749807306663", "durationMs": 19.990602, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "58d40997b005807b523551caf8aa3c8d", "spanId": "43be5d24a61b2a49", "parentSpanId": "d5ce80f6ea768308", "startTimeUnixNano": "1796073749787270586", "endTimeUnixNano": "1796073749807315209", "durationMs": 20.044623, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "58d40997b005807b523551caf8aa3c8d", "spanId": "d5ce80f6ea768308", "startTimeUnixNano": "1796073749787254966", "endTimeUnixNano": "1796073749807323374", "durationMs": 20.068408, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "f4c458cd2cc1bb5ad8db97c12277cef6", "spanId": "65cb7b96d3782a57", "parentSpanId": "93d75d74d1c5ac86", "startTimeUnixNano": "1796073750020111300", "endTimeUnixNano": "1796073750020327544", "durationMs": 0.216244, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "f4c458cd2cc1bb5ad8db97c12277cef6", "spanId": "b61df30d5726596d", "parentSpanId": "0b04e5f217e77dec", "startTimeUnixNano": "1796073750020371176", "endTimeUnixNano": "1796073750020591147", "durationMs": 0.219971, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007784}}
{"type": "effect-span", "name": "sqlite", "traceId": "f4c458cd2cc1bb5ad8db97c12277cef6", "spanId": "33b64d82d58a90ef", "parentSpanId": "0b04e5f217e77dec", "startTimeUnixNano": "1796073750020666208", "endTimeUnixNano": "1796073750022263467", "durationMs": 1.597259, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010299}}
{"type": "effect-span", "name": "sqlite", "traceId": "f4c458cd2cc1bb5ad8db97c12277cef6", "spanId": "e1f0772240a2ed04", "parentSpanId": "0b04e5f217e77dec", "startTimeUnixNano": "1796073750022279286", "endTimeUnixNano": "1796073750023654309", "durationMs": 1.375023, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007875}}
{"type": "effect-span", "name": "sqlite", "traceId": "f4c458cd2cc1bb5ad8db97c12277cef6", "spanId": "e6a956ba05572ccd", "parentSpanId": "0b04e5f217e77dec", "startTimeUnixNano": "1796073750032256283", "endTimeUnixNano": "1796073750034430101", "durationMs": 2.173818, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012063}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "f4c458cd2cc1bb5ad8db97c12277cef6", "spanId": "0b04e5f217e77dec", "parentSpanId": "93d75d74d1c5ac86", "startTimeUnixNano": "1796073750020354334", "endTimeUnixNano": "1796073750034908205", "durationMs": 14.553871, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "f4c458cd2cc1bb5ad8db97c12277cef6", "spanId": "8009f911c74e3d13", "parentSpanId": "93d75d74d1c5ac86", "startTimeUnixNano": "1796073750034929395", "endTimeUnixNano": "1796073750035077812", "durationMs": 0.148417, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "f4c458cd2cc1bb5ad8db97c12277cef6", "spanId": "93d75d74d1c5ac86", "parentSpanId": "2979253b871ff08f", "startTimeUnixNano": "1796073750018756395", "endTimeUnixNano": "1796073750035100234", "durationMs": 16.343839, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.349985, "db.connection": "reader", "db.lock_wait_ms": 1.323}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "f4c458cd2cc1bb5ad8db97c12277cef6", "spanId": "2979253b871ff08f", "parentSpanId": "40d0380dea2c7d67", "startTimeUnixNano": "1796073750018749211", "endTimeUnixNano": "1796073750035119911", "durationMs": 16.3707, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "f4c458cd2cc1bb5ad8db97c12277cef6", "spanId": "40d0380dea2c7d67", "parentSpanId": "6667587b126d0099", "startTimeUnixNano": "1796073750018720267", "endTimeUnixNano": "1796073750035129018", "durationMs": 16.408751, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "f4c458cd2cc1bb5ad8db97c12277cef6", "spanId": "6667587b126d0099", "startTimeUnixNano": "1796073750018706461", "endTimeUnixNano": "1796073750035139037", "durationMs": 16.432576, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "fa86ddddc65afc327a5ce68606ca2d61", "spanId": "227a9ddf98277527", "parentSpanId": "971ff871f877e31f", "startTimeUnixNano": "1796073751521869102", "endTimeUnixNano": "1796073751522027519", "durationMs": 0.158417, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa86ddddc65afc327a5ce68606ca2d61", "spanId": "ef3e0a9db4f5ff20", "parentSpanId": "f6b7191d8abeb16d", "startTimeUnixNano": "1796073751522065610", "endTimeUnixNano": "1796073751522813519", "durationMs": 0.747909, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00568}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa86ddddc65afc327a5ce68606ca2d61", "spanId": "bb31660220484609", "parentSpanId": "f6b7191d8abeb16d", "startTimeUnixNano": "1796073751522892848", "endTimeUnixNano": "1796073751524567421", "durationMs": 1.674573, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009507}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa86ddddc65afc327a5ce68606ca2d61", "spanId": "200f10b0de9ee956", "parentSpanId": "f6b7191d8abeb16d", "startTimeUnixNano": "1796073751524588490", "endTimeUnixNano": "1796073751526324669", "durationMs": 1.736179, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.016691}}
{"type": "effect-span", "name": "sqlite", "traceId": "fa86ddddc65afc327a5ce68606ca2d61", "spanId": "fe1d17ff03f3e586", "parentSpanId": "f6b7191d8abeb16d", "startTimeUnixNano": "1796073751541388864", "endTimeUnixNano": "1796073751543699768", "durationMs": 2.310904, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015589}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "fa86ddddc65afc327a5ce68606ca2d61", "spanId": "f6b7191d8abeb16d", "parentSpanId": "971ff871f877e31f", "startTimeUnixNano": "1796073751522059528", "endTimeUnixNano": "1796073751544212167", "durationMs": 22.152639, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "fa86ddddc65afc327a5ce68606ca2d61", "spanId": "98b432c78d677a31", "parentSpanId": "971ff871f877e31f", "startTimeUnixNano": "1796073751544244047", "endTimeUnixNano": "1796073751544532476", "durationMs": 0.288429, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "fa86ddddc65afc327a5ce68606ca2d61", "spanId": "971ff871f877e31f", "parentSpanId": "dc74dd554eaed766", "startTimeUnixNano": "1796073751519261684", "endTimeUnixNano": "1796073751544564175", "durationMs": 25.302491, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.600225, "db.connection": "reader", "db.lock_wait_ms": 2.562}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "fa86ddddc65afc327a5ce68606ca2d61", "spanId": "dc74dd554eaed766", "parentSpanId": "79bd44194512fca4", "startTimeUnixNano": "1796073751519252496", "endTimeUnixNano": "1796073751544585956", "durationMs": 25.33346, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "fa86ddddc65afc327a5ce68606ca2d61", "spanId": "79bd44194512fca4", "parentSpanId": "1848ba3503f4d2f5", "startTimeUnixNano": "1796073751519205809", "endTimeUnixNano": "1796073751544591937", "durationMs": 25.386128, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "fa86ddddc65afc327a5ce68606ca2d61", "spanId": "1848ba3503f4d2f5", "startTimeUnixNano": "1796073751519187555", "endTimeUnixNano": "1796073751544607406", "durationMs": 25.419851, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9c2f67a6aeb5b182da8455af951bab33", "spanId": "35ce7ccff5065d1e", "parentSpanId": "e4eb43ccbab49ad7", "startTimeUnixNano": "1796073751747637773", "endTimeUnixNano": "1796073751747911375", "durationMs": 0.273602, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9c2f67a6aeb5b182da8455af951bab33", "spanId": "d1c7fd9357c8c02e", "parentSpanId": "ea9adf8382c33fe9", "startTimeUnixNano": "1796073751747945128", "endTimeUnixNano": "1796073751748136777", "durationMs": 0.191649, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004188}}
{"type": "effect-span", "name": "sqlite", "traceId": "9c2f67a6aeb5b182da8455af951bab33", "spanId": "b7fcda2d3533aac2", "parentSpanId": "ea9adf8382c33fe9", "startTimeUnixNano": "1796073751748193022", "endTimeUnixNano": "1796073751749686336", "durationMs": 1.493314, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007995}}
{"type": "effect-span", "name": "sqlite", "traceId": "9c2f67a6aeb5b182da8455af951bab33", "spanId": "987c06ef8cd91af5", "parentSpanId": "ea9adf8382c33fe9", "startTimeUnixNano": "1796073751749702006", "endTimeUnixNano": "1796073751751053685", "durationMs": 1.351679, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006532}}
{"type": "effect-span", "name": "sqlite", "traceId": "9c2f67a6aeb5b182da8455af951bab33", "spanId": "48a1ddb9b03b69cf", "parentSpanId": "ea9adf8382c33fe9", "startTimeUnixNano": "1796073751759208523", "endTimeUnixNano": "1796073751761053455", "durationMs": 1.844932, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.015469}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9c2f67a6aeb5b182da8455af951bab33", "spanId": "ea9adf8382c33fe9", "parentSpanId": "e4eb43ccbab49ad7", "startTimeUnixNano": "1796073751747940119", "endTimeUnixNano": "1796073751761393851", "durationMs": 13.453732, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9c2f67a6aeb5b182da8455af951bab33", "spanId": "f7b0e73659885136", "parentSpanId": "e4eb43ccbab49ad7", "startTimeUnixNano": "1796073751761415312", "endTimeUnixNano": "1796073751761745640", "durationMs": 0.330328, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9c2f67a6aeb5b182da8455af951bab33", "spanId": "e4eb43ccbab49ad7", "parentSpanId": "47b9d3d906c56e55", "startTimeUnixNano": "1796073751746503391", "endTimeUnixNano": "1796073751761772710", "durationMs": 15.269319, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.131557, "db.connection": "reader", "db.lock_wait_ms": 1.104}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9c2f67a6aeb5b182da8455af951bab33", "spanId": "47b9d3d906c56e55", "parentSpanId": "4cd55d6b77d3c280", "startTimeUnixNano": "1796073751746496438", "endTimeUnixNano": "1796073751761795112", "durationMs": 15.298674, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9c2f67a6aeb5b182da8455af951bab33", "spanId": "4cd55d6b77d3c280", "parentSpanId": "dd3bad612ee727ed", "startTimeUnixNano": "1796073751746464478", "endTimeUnixNano": "1796073751761804410", "durationMs": 15.339932, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9c2f67a6aeb5b182da8455af951bab33", "spanId": "dd3bad612ee727ed", "startTimeUnixNano": "1796073751746449741", "endTimeUnixNano": "1796073751761813917", "durationMs": 15.364176, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "788effeb432ca61d1cd6de539eed5282", "spanId": "be2a4d3c6daeb944", "parentSpanId": "a9f54512bc54dd1e", "startTimeUnixNano": "1796073753176035865", "endTimeUnixNano": "1796073753176605350", "durationMs": 0.569485, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "788effeb432ca61d1cd6de539eed5282", "spanId": "5babe5f8aadca45c", "parentSpanId": "8b0e2a90e2bbf3a5", "startTimeUnixNano": "1796073753176641668", "endTimeUnixNano": "1796073753177200223", "durationMs": 0.558555, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004529}}
{"type": "effect-span", "name": "sqlite", "traceId": "788effeb432ca61d1cd6de539eed5282", "spanId": "d4ae0d4032d848e3", "parentSpanId": "8b0e2a90e2bbf3a5", "startTimeUnixNano": "1796073753177265225", "endTimeUnixNano": "1796073753178863045", "durationMs": 1.59782, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008306}}
{"type": "effect-span", "name": "sqlite", "traceId": "788effeb432ca61d1cd6de539eed5282", "spanId": "238a092b4bb96742", "parentSpanId": "8b0e2a90e2bbf3a5", "startTimeUnixNano": "1796073753178882080", "endTimeUnixNano": "1796073753184329122", "durationMs": 5.447042, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007925}}
{"type": "effect-span", "name": "sqlite", "traceId": "788effeb432ca61d1cd6de539eed5282", "spanId": "5aaea8b99df914c9", "parentSpanId": "8b0e2a90e2bbf3a5", "startTimeUnixNano": "1796073753194319134", "endTimeUnixNano": "1796073753196482492", "durationMs": 2.163358, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009698}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "788effeb432ca61d1cd6de539eed5282", "spanId": "8b0e2a90e2bbf3a5", "parentSpanId": "a9f54512bc54dd1e", "startTimeUnixNano": "1796073753176636469", "endTimeUnixNano": "1796073753196825053", "durationMs": 20.188584, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "788effeb432ca61d1cd6de539eed5282", "spanId": "4048bda129f57bf0", "parentSpanId": "a9f54512bc54dd1e", "startTimeUnixNano": "1796073753196841053", "endTimeUnixNano": "1796073753197066855", "durationMs": 0.225802, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "788effeb432ca61d1cd6de539eed5282", "spanId": "a9f54512bc54dd1e", "parentSpanId": "be44a092fe068bf5", "startTimeUnixNano": "1796073753174959180", "endTimeUnixNano": "1796073753197092654", "durationMs": 22.133474, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.073318, "db.connection": "reader", "db.lock_wait_ms": 1.042}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "788effeb432ca61d1cd6de539eed5282", "spanId": "be44a092fe068bf5", "parentSpanId": "23dbdb40dc0c63d2", "startTimeUnixNano": "1796073753174950774", "endTimeUnixNano": "1796073753197107742", "durationMs": 22.156968, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "788effeb432ca61d1cd6de539eed5282", "spanId": "23dbdb40dc0c63d2", "parentSpanId": "aa077f6828cdf698", "startTimeUnixNano": "1796073753174913715", "endTimeUnixNano": "1796073753197112761", "durationMs": 22.199046, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "788effeb432ca61d1cd6de539eed5282", "spanId": "aa077f6828cdf698", "startTimeUnixNano": "1796073753174899829", "endTimeUnixNano": "1796073753197118722", "durationMs": 22.218893, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "2cc9366927b6ae55f83fbbe4af2d7621", "spanId": "d8512f74ccb28959", "parentSpanId": "398f57306f0b38d4", "startTimeUnixNano": "1796073753386615515", "endTimeUnixNano": "1796073753386943940", "durationMs": 0.328425, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "2cc9366927b6ae55f83fbbe4af2d7621", "spanId": "ba38ca796117cb85", "parentSpanId": "231342741de5b0d8", "startTimeUnixNano": "1796073753386977743", "endTimeUnixNano": "1796073753387065387", "durationMs": 0.087644, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004378}}
{"type": "effect-span", "name": "sqlite", "traceId": "2cc9366927b6ae55f83fbbe4af2d7621", "spanId": "cd197e62dc35ab00", "parentSpanId": "231342741de5b0d8", "startTimeUnixNano": "1796073753387125329", "endTimeUnixNano": "1796073753388536419", "durationMs": 1.41109, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007825}}
{"type": "effect-span", "name": "sqlite", "traceId": "2cc9366927b6ae55f83fbbe4af2d7621", "spanId": "06b4931bf1058534", "parentSpanId": "231342741de5b0d8", "startTimeUnixNano": "1796073753388553431", "endTimeUnixNano": "1796073753389763936", "durationMs": 1.210505, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010841}}
{"type": "effect-span", "name": "sqlite", "traceId": "2cc9366927b6ae55f83fbbe4af2d7621", "spanId": "04afb3a93ce69d07", "parentSpanId": "231342741de5b0d8", "startTimeUnixNano": "1796073753397218384", "endTimeUnixNano": "1796073753399853424", "durationMs": 2.63504, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009288}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "2cc9366927b6ae55f83fbbe4af2d7621", "spanId": "231342741de5b0d8", "parentSpanId": "398f57306f0b38d4", "startTimeUnixNano": "1796073753386972844", "endTimeUnixNano": "1796073753400162292", "durationMs": 13.189448, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "2cc9366927b6ae55f83fbbe4af2d7621", "spanId": "a37d2bb605d8b7cd", "parentSpanId": "398f57306f0b38d4", "startTimeUnixNano": "1796073753400177861", "endTimeUnixNano": "1796073753400614889", "durationMs": 0.437028, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "2cc9366927b6ae55f83fbbe4af2d7621", "spanId": "398f57306f0b38d4", "parentSpanId": "42dc1167e4dc7393", "startTimeUnixNano": "1796073753385274606", "endTimeUnixNano": "1796073753400635368", "durationMs": 15.360762, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.337403, "db.connection": "reader", "db.lock_wait_ms": 1.309}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "2cc9366927b6ae55f83fbbe4af2d7621", "spanId": "42dc1167e4dc7393", "parentSpanId": "2e02feeeaec1185f", "startTimeUnixNano": "1796073753385268104", "endTimeUnixNano": "1796073753400649254", "durationMs": 15.38115, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "2cc9366927b6ae55f83fbbe4af2d7621", "spanId": "2e02feeeaec1185f", "parentSpanId": "2e85ac6f2fe4260b", "startTimeUnixNano": "1796073753385243739", "endTimeUnixNano": "1796073753400655155", "durationMs": 15.411416, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "2cc9366927b6ae55f83fbbe4af2d7621", "spanId": "2e85ac6f2fe4260b", "startTimeUnixNano": "1796073753385232688", "endTimeUnixNano": "1796073753400663380", "durationMs": 15.430692, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "69a3c187f5a34ae2957647b33cd06556", "spanId": "3a55f236fd09e8ea", "parentSpanId": "2ab192f3b69eb427", "startTimeUnixNano": "1796073754849932941", "endTimeUnixNano": "1796073754850081389", "durationMs": 0.148448, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "69a3c187f5a34ae2957647b33cd06556", "spanId": "d4ff3519845421e1", "parentSpanId": "fde6ed995fe6194a", "startTimeUnixNano": "1796073754850117266", "endTimeUnixNano": "1796073754850757344", "durationMs": 0.640078, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005501}}
{"type": "effect-span", "name": "sqlite", "traceId": "69a3c187f5a34ae2957647b33cd06556", "spanId": "e43d1c456ffaa179", "parentSpanId": "fde6ed995fe6194a", "startTimeUnixNano": "1796073754850826834", "endTimeUnixNano": "1796073754852778215", "durationMs": 1.951381, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008756}}
{"type": "effect-span", "name": "sqlite", "traceId": "69a3c187f5a34ae2957647b33cd06556", "spanId": "eb7fe6c8d1bca87d", "parentSpanId": "fde6ed995fe6194a", "startTimeUnixNano": "1796073754852826395", "endTimeUnixNano": "1796073754857239663", "durationMs": 4.413268, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007204}}
{"type": "effect-span", "name": "sqlite", "traceId": "69a3c187f5a34ae2957647b33cd06556", "spanId": "b8142731bad095d4", "parentSpanId": "fde6ed995fe6194a", "startTimeUnixNano": "1796073754866827623", "endTimeUnixNano": "1796073754870377866", "durationMs": 3.550243, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013155}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "69a3c187f5a34ae2957647b33cd06556", "spanId": "fde6ed995fe6194a", "parentSpanId": "2ab192f3b69eb427", "startTimeUnixNano": "1796073754850111456", "endTimeUnixNano": "1796073754870769970", "durationMs": 20.658514, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "69a3c187f5a34ae2957647b33cd06556", "spanId": "d6c476b93e518107", "parentSpanId": "2ab192f3b69eb427", "startTimeUnixNano": "1796073754870786751", "endTimeUnixNano": "1796073754871016731", "durationMs": 0.22998, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "69a3c187f5a34ae2957647b33cd06556", "spanId": "2ab192f3b69eb427", "parentSpanId": "eaf6e42f8f9d0a26", "startTimeUnixNano": "1796073754847913954", "endTimeUnixNano": "1796073754871044614", "durationMs": 23.13066, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.014199, "db.connection": "reader", "db.lock_wait_ms": 1.979}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "69a3c187f5a34ae2957647b33cd06556", "spanId": "eaf6e42f8f9d0a26", "parentSpanId": "5923ed9bfd0cbf6f", "startTimeUnixNano": "1796073754847905338", "endTimeUnixNano": "1796073754871082484", "durationMs": 23.177146, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "69a3c187f5a34ae2957647b33cd06556", "spanId": "5923ed9bfd0cbf6f", "parentSpanId": "bfb49d2ae560597a", "startTimeUnixNano": "1796073754847862197", "endTimeUnixNano": "1796073754871088015", "durationMs": 23.225818, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "69a3c187f5a34ae2957647b33cd06556", "spanId": "bfb49d2ae560597a", "startTimeUnixNano": "1796073754847845977", "endTimeUnixNano": "1796073754871094787", "durationMs": 23.24881, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a1aa68199b68e74e2b5c35607d850fcb", "spanId": "43118e441a1ddbbb", "parentSpanId": "15607f2f9c6bb8b1", "startTimeUnixNano": "1796073755067380218", "endTimeUnixNano": "1796073755067685639", "durationMs": 0.305421, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a1aa68199b68e74e2b5c35607d850fcb", "spanId": "f0a211fa75d641d6", "parentSpanId": "829162c18dd26007", "startTimeUnixNano": "1796073755067716597", "endTimeUnixNano": "1796073755067850538", "durationMs": 0.133941, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004278}}
{"type": "effect-span", "name": "sqlite", "traceId": "a1aa68199b68e74e2b5c35607d850fcb", "spanId": "d90838de2d06af72", "parentSpanId": "829162c18dd26007", "startTimeUnixNano": "1796073755067910750", "endTimeUnixNano": "1796073755070399066", "durationMs": 2.488316, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007084}}
{"type": "effect-span", "name": "sqlite", "traceId": "a1aa68199b68e74e2b5c35607d850fcb", "spanId": "a959c3b861b36e95", "parentSpanId": "829162c18dd26007", "startTimeUnixNano": "1796073755070413343", "endTimeUnixNano": "1796073755072321073", "durationMs": 1.90773, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010169}}
{"type": "effect-span", "name": "sqlite", "traceId": "a1aa68199b68e74e2b5c35607d850fcb", "spanId": "b4b46d9c65a6d214", "parentSpanId": "829162c18dd26007", "startTimeUnixNano": "1796073755082232298", "endTimeUnixNano": "1796073755088164948", "durationMs": 5.93265, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012303}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a1aa68199b68e74e2b5c35607d850fcb", "spanId": "829162c18dd26007", "parentSpanId": "15607f2f9c6bb8b1", "startTimeUnixNano": "1796073755067711778", "endTimeUnixNano": "1796073755088544238", "durationMs": 20.83246, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a1aa68199b68e74e2b5c35607d850fcb", "spanId": "853908b7c63fe102", "parentSpanId": "15607f2f9c6bb8b1", "startTimeUnixNano": "1796073755088562232", "endTimeUnixNano": "1796073755089665727", "durationMs": 1.103495, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a1aa68199b68e74e2b5c35607d850fcb", "spanId": "15607f2f9c6bb8b1", "parentSpanId": "931414883fc869ff", "startTimeUnixNano": "1796073755066246937", "endTimeUnixNano": "1796073755089689832", "durationMs": 23.442895, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.129834, "db.connection": "reader", "db.lock_wait_ms": 1.104}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a1aa68199b68e74e2b5c35607d850fcb", "spanId": "931414883fc869ff", "parentSpanId": "1b70f24d29396cc9", "startTimeUnixNano": "1796073755066240505", "endTimeUnixNano": "1796073755089708076", "durationMs": 23.467571, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a1aa68199b68e74e2b5c35607d850fcb", "spanId": "1b70f24d29396cc9", "parentSpanId": "2d824ceae3b3ec9b", "startTimeUnixNano": "1796073755066215508", "endTimeUnixNano": "1796073755089714878", "durationMs": 23.49937, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a1aa68199b68e74e2b5c35607d850fcb", "spanId": "2d824ceae3b3ec9b", "startTimeUnixNano": "1796073755066199719", "endTimeUnixNano": "1796073755089724737", "durationMs": 23.525018, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a775125f3ee3dffdc50f7ea1dcee162e", "spanId": "ddb9a1958e0bb951", "parentSpanId": "a99e76b8222d50ba", "startTimeUnixNano": "1796073756625931582", "endTimeUnixNano": "1796073756626620962", "durationMs": 0.68938, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a775125f3ee3dffdc50f7ea1dcee162e", "spanId": "3d625ca98030d657", "parentSpanId": "338b4adf18a91433", "startTimeUnixNano": "1796073756626657621", "endTimeUnixNano": "1796073756627075252", "durationMs": 0.417631, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004719}}
{"type": "effect-span", "name": "sqlite", "traceId": "a775125f3ee3dffdc50f7ea1dcee162e", "spanId": "236264815e018040", "parentSpanId": "338b4adf18a91433", "startTimeUnixNano": "1796073756627145143", "endTimeUnixNano": "1796073756628866554", "durationMs": 1.721411, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008927}}
{"type": "effect-span", "name": "sqlite", "traceId": "a775125f3ee3dffdc50f7ea1dcee162e", "spanId": "6303f4e4f30d81ee", "parentSpanId": "338b4adf18a91433", "startTimeUnixNano": "1796073756628881753", "endTimeUnixNano": "1796073756631603115", "durationMs": 2.721362, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008826}}
{"type": "effect-span", "name": "sqlite", "traceId": "a775125f3ee3dffdc50f7ea1dcee162e", "spanId": "74a2cc0aca12a2b4", "parentSpanId": "338b4adf18a91433", "startTimeUnixNano": "1796073756640492949", "endTimeUnixNano": "1796073756642479546", "durationMs": 1.986597, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014747}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a775125f3ee3dffdc50f7ea1dcee162e", "spanId": "338b4adf18a91433", "parentSpanId": "a99e76b8222d50ba", "startTimeUnixNano": "1796073756626651830", "endTimeUnixNano": "1796073756642868945", "durationMs": 16.217115, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a775125f3ee3dffdc50f7ea1dcee162e", "spanId": "aeb493fe2981e0fb", "parentSpanId": "a99e76b8222d50ba", "startTimeUnixNano": "1796073756642890605", "endTimeUnixNano": "1796073756643100828", "durationMs": 0.210223, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a775125f3ee3dffdc50f7ea1dcee162e", "spanId": "a99e76b8222d50ba", "parentSpanId": "234f2abea8baf21f", "startTimeUnixNano": "1796073756624613596", "endTimeUnixNano": "1796073756643121968", "durationMs": 18.508372, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.314059, "db.connection": "reader", "db.lock_wait_ms": 1.28}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a775125f3ee3dffdc50f7ea1dcee162e", "spanId": "234f2abea8baf21f", "parentSpanId": "b46a673be0c4de12", "startTimeUnixNano": "1796073756624604740", "endTimeUnixNano": "1796073756643139351", "durationMs": 18.534611, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a775125f3ee3dffdc50f7ea1dcee162e", "spanId": "b46a673be0c4de12", "parentSpanId": "6ffe68b167d79e52", "startTimeUnixNano": "1796073756624554646", "endTimeUnixNano": "1796073756643145863", "durationMs": 18.591217, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a775125f3ee3dffdc50f7ea1dcee162e", "spanId": "6ffe68b167d79e52", "startTimeUnixNano": "1796073756624539137", "endTimeUnixNano": "1796073756643155100", "durationMs": 18.615963, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5e7bdbda5b23c7127e83b95d9116f71c", "spanId": "645978023b2c52fe", "parentSpanId": "86e1246d9e2be4e6", "startTimeUnixNano": "1796073756850736634", "endTimeUnixNano": "1796073756851097960", "durationMs": 0.361326, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5e7bdbda5b23c7127e83b95d9116f71c", "spanId": "99e04babe37896ae", "parentSpanId": "6b0be1691f6fb561", "startTimeUnixNano": "1796073756851134428", "endTimeUnixNano": "1796073756851220920", "durationMs": 0.086492, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004408}}
{"type": "effect-span", "name": "sqlite", "traceId": "5e7bdbda5b23c7127e83b95d9116f71c", "spanId": "3358c004463c2e2b", "parentSpanId": "6b0be1691f6fb561", "startTimeUnixNano": "1796073756851282966", "endTimeUnixNano": "1796073756853136735", "durationMs": 1.853769, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009167}}
{"type": "effect-span", "name": "sqlite", "traceId": "5e7bdbda5b23c7127e83b95d9116f71c", "spanId": "b784ad2b02e6078b", "parentSpanId": "6b0be1691f6fb561", "startTimeUnixNano": "1796073756853158415", "endTimeUnixNano": "1796073756854763458", "durationMs": 1.605043, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008196}}
{"type": "effect-span", "name": "sqlite", "traceId": "5e7bdbda5b23c7127e83b95d9116f71c", "spanId": "a6abe9b305567e83", "parentSpanId": "6b0be1691f6fb561", "startTimeUnixNano": "1796073756863391142", "endTimeUnixNano": "1796073756866748454", "durationMs": 3.357312, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011321}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5e7bdbda5b23c7127e83b95d9116f71c", "spanId": "6b0be1691f6fb561", "parentSpanId": "86e1246d9e2be4e6", "startTimeUnixNano": "1796073756851127615", "endTimeUnixNano": "1796073756867073332", "durationMs": 15.945717, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5e7bdbda5b23c7127e83b95d9116f71c", "spanId": "d34bfb6e2130a3a2", "parentSpanId": "86e1246d9e2be4e6", "startTimeUnixNano": "1796073756867092408", "endTimeUnixNano": "1796073756867345080", "durationMs": 0.252672, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5e7bdbda5b23c7127e83b95d9116f71c", "spanId": "86e1246d9e2be4e6", "parentSpanId": "9e0dd2255bf1e103", "startTimeUnixNano": "1796073756849291720", "endTimeUnixNano": "1796073756867363655", "durationMs": 18.071935, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.441788, "db.connection": "reader", "db.lock_wait_ms": 1.415}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5e7bdbda5b23c7127e83b95d9116f71c", "spanId": "9e0dd2255bf1e103", "parentSpanId": "d01fc0859bb2d847", "startTimeUnixNano": "1796073756849282042", "endTimeUnixNano": "1796073756867378533", "durationMs": 18.096491, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5e7bdbda5b23c7127e83b95d9116f71c", "spanId": "d01fc0859bb2d847", "parentSpanId": "3367248981022ad6", "startTimeUnixNano": "1796073756849255703", "endTimeUnixNano": "1796073756867386027", "durationMs": 18.130324, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5e7bdbda5b23c7127e83b95d9116f71c", "spanId": "3367248981022ad6", "startTimeUnixNano": "1796073756849242568", "endTimeUnixNano": "1796073756867394002", "durationMs": 18.151434, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e74864437d2700fcac7585ce1c7b61da", "spanId": "7d0856ba7d55bd12", "parentSpanId": "60b3a14c628e9651", "startTimeUnixNano": "1796073758440854510", "endTimeUnixNano": "1796073758440981708", "durationMs": 0.127198, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e74864437d2700fcac7585ce1c7b61da", "spanId": "90b6a4ed7ca82d4a", "parentSpanId": "b611aaabcf35ac2b", "startTimeUnixNano": "1796073758441017064", "endTimeUnixNano": "1796073758441546956", "durationMs": 0.529892, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005631}}
{"type": "effect-span", "name": "sqlite", "traceId": "e74864437d2700fcac7585ce1c7b61da", "spanId": "0871ae2a28323aed", "parentSpanId": "b611aaabcf35ac2b", "startTimeUnixNano": "1796073758441628679", "endTimeUnixNano": "1796073758443826121", "durationMs": 2.197442, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008766}}
{"type": "effect-span", "name": "sqlite", "traceId": "e74864437d2700fcac7585ce1c7b61da", "spanId": "a29f8a446bc4f344", "parentSpanId": "b611aaabcf35ac2b", "startTimeUnixNano": "1796073758443846819", "endTimeUnixNano": "1796073758450247687", "durationMs": 6.400868, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008637}}
{"type": "effect-span", "name": "sqlite", "traceId": "e74864437d2700fcac7585ce1c7b61da", "spanId": "57a6e342885162e1", "parentSpanId": "b611aaabcf35ac2b", "startTimeUnixNano": "1796073758459088379", "endTimeUnixNano": "1796073758461458043", "durationMs": 2.369664, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012944}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e74864437d2700fcac7585ce1c7b61da", "spanId": "b611aaabcf35ac2b", "parentSpanId": "60b3a14c628e9651", "startTimeUnixNano": "1796073758441011414", "endTimeUnixNano": "1796073758461893338", "durationMs": 20.881924, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e74864437d2700fcac7585ce1c7b61da", "spanId": "e64186bab0af9ec7", "parentSpanId": "60b3a14c628e9651", "startTimeUnixNano": "1796073758461911622", "endTimeUnixNano": "1796073758462499532", "durationMs": 0.58791, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e74864437d2700fcac7585ce1c7b61da", "spanId": "60b3a14c628e9651", "parentSpanId": "4c1e9d5617619917", "startTimeUnixNano": "1796073758439076734", "endTimeUnixNano": "1796073758462547712", "durationMs": 23.470978, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.774009, "db.connection": "reader", "db.lock_wait_ms": 1.741}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e74864437d2700fcac7585ce1c7b61da", "spanId": "4c1e9d5617619917", "parentSpanId": "22e589162b524032", "startTimeUnixNano": "1796073758439068579", "endTimeUnixNano": "1796073758462579702", "durationMs": 23.511123, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e74864437d2700fcac7585ce1c7b61da", "spanId": "22e589162b524032", "parentSpanId": "e2737ccfebbdc042", "startTimeUnixNano": "1796073758439031329", "endTimeUnixNano": "1796073758462586505", "durationMs": 23.555176, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e74864437d2700fcac7585ce1c7b61da", "spanId": "e2737ccfebbdc042", "startTimeUnixNano": "1796073758439017583", "endTimeUnixNano": "1796073758462594279", "durationMs": 23.576696, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "92dcd71ab377161613c12de561917a02", "spanId": "b74b177199bab6cf", "parentSpanId": "80f43a0794c1982b", "startTimeUnixNano": "1796073758666238494", "endTimeUnixNano": "1796073758666602966", "durationMs": 0.364472, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "92dcd71ab377161613c12de561917a02", "spanId": "047a9d2c5d434307", "parentSpanId": "bdfb52062b611857", "startTimeUnixNano": "1796073758666648491", "endTimeUnixNano": "1796073758666798361", "durationMs": 0.14987, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004438}}
{"type": "effect-span", "name": "sqlite", "traceId": "92dcd71ab377161613c12de561917a02", "spanId": "c3a0a63aa9269027", "parentSpanId": "bdfb52062b611857", "startTimeUnixNano": "1796073758666868072", "endTimeUnixNano": "1796073758668026720", "durationMs": 1.158648, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.010009}}
{"type": "effect-span", "name": "sqlite", "traceId": "92dcd71ab377161613c12de561917a02", "spanId": "bb5f5d46e847c57c", "parentSpanId": "bdfb52062b611857", "startTimeUnixNano": "1796073758668041437", "endTimeUnixNano": "1796073758669582321", "durationMs": 1.540884, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006422}}
{"type": "effect-span", "name": "sqlite", "traceId": "92dcd71ab377161613c12de561917a02", "spanId": "e3e0f115b1165347", "parentSpanId": "bdfb52062b611857", "startTimeUnixNano": "1796073758677929830", "endTimeUnixNano": "1796073758679890770", "durationMs": 1.96094, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009608}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "92dcd71ab377161613c12de561917a02", "spanId": "bdfb52062b611857", "parentSpanId": "80f43a0794c1982b", "startTimeUnixNano": "1796073758666643151", "endTimeUnixNano": "1796073758680195961", "durationMs": 13.55281, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "92dcd71ab377161613c12de561917a02", "spanId": "e1389699f4ee6e28", "parentSpanId": "80f43a0794c1982b", "startTimeUnixNano": "1796073758680209947", "endTimeUnixNano": "1796073758680384874", "durationMs": 0.174927, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "92dcd71ab377161613c12de561917a02", "spanId": "80f43a0794c1982b", "parentSpanId": "457df737c1fe96c6", "startTimeUnixNano": "1796073758663884489", "endTimeUnixNano": "1796073758680402146", "durationMs": 16.517657, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.35127, "db.connection": "reader", "db.lock_wait_ms": 2.322}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "92dcd71ab377161613c12de561917a02", "spanId": "457df737c1fe96c6", "parentSpanId": "bc47d4a466b76218", "startTimeUnixNano": "1796073758663873348", "endTimeUnixNano": "1796073758680414670", "durationMs": 16.541322, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "92dcd71ab377161613c12de561917a02", "spanId": "bc47d4a466b76218", "parentSpanId": "437b05d48be47c3f", "startTimeUnixNano": "1796073758663838032", "endTimeUnixNano": "1796073758680420361", "durationMs": 16.582329, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "92dcd71ab377161613c12de561917a02", "spanId": "437b05d48be47c3f", "startTimeUnixNano": "1796073758663822543", "endTimeUnixNano": "1796073758680426452", "durationMs": 16.603909, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "47d5428e2ceb4d160a66544938bb25cb", "spanId": "496092fbaba072f0", "parentSpanId": "8d7178f3d9463031", "startTimeUnixNano": "1796073760161061209", "endTimeUnixNano": "1796073760161847290", "durationMs": 0.786081, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "47d5428e2ceb4d160a66544938bb25cb", "spanId": "478fd6cc9bc48211", "parentSpanId": "c0ba10cf90d6ff00", "startTimeUnixNano": "1796073760161887295", "endTimeUnixNano": "1796073760162571856", "durationMs": 0.684561, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00508}}
{"type": "effect-span", "name": "sqlite", "traceId": "47d5428e2ceb4d160a66544938bb25cb", "spanId": "b8f8789036d49610", "parentSpanId": "c0ba10cf90d6ff00", "startTimeUnixNano": "1796073760162642819", "endTimeUnixNano": "1796073760164621231", "durationMs": 1.978412, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008887}}
{"type": "effect-span", "name": "sqlite", "traceId": "47d5428e2ceb4d160a66544938bb25cb", "spanId": "68943d289068b037", "parentSpanId": "c0ba10cf90d6ff00", "startTimeUnixNano": "1796073760164636470", "endTimeUnixNano": "1796073760169476386", "durationMs": 4.839916, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008075}}
{"type": "effect-span", "name": "sqlite", "traceId": "47d5428e2ceb4d160a66544938bb25cb", "spanId": "3617bec88ca58aae", "parentSpanId": "c0ba10cf90d6ff00", "startTimeUnixNano": "1796073760181390951", "endTimeUnixNano": "1796073760184510328", "durationMs": 3.119377, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017963}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "47d5428e2ceb4d160a66544938bb25cb", "spanId": "c0ba10cf90d6ff00", "parentSpanId": "8d7178f3d9463031", "startTimeUnixNano": "1796073760161881094", "endTimeUnixNano": "1796073760184991558", "durationMs": 23.110464, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "47d5428e2ceb4d160a66544938bb25cb", "spanId": "2c4d59484b9e65e9", "parentSpanId": "8d7178f3d9463031", "startTimeUnixNano": "1796073760185014752", "endTimeUnixNano": "1796073760185262064", "durationMs": 0.247312, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "47d5428e2ceb4d160a66544938bb25cb", "spanId": "8d7178f3d9463031", "parentSpanId": "6e0569a47d0a775b", "startTimeUnixNano": "1796073760159582242", "endTimeUnixNano": "1796073760185294746", "durationMs": 25.712504, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.473938, "db.connection": "reader", "db.lock_wait_ms": 1.438}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "47d5428e2ceb4d160a66544938bb25cb", "spanId": "6e0569a47d0a775b", "parentSpanId": "c89f1e982fb34740", "startTimeUnixNano": "1796073760159570009", "endTimeUnixNano": "1796073760185318139", "durationMs": 25.74813, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "47d5428e2ceb4d160a66544938bb25cb", "spanId": "c89f1e982fb34740", "parentSpanId": "e95d612295f102fb", "startTimeUnixNano": "1796073760159521368", "endTimeUnixNano": "1796073760185324231", "durationMs": 25.802863, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "47d5428e2ceb4d160a66544938bb25cb", "spanId": "e95d612295f102fb", "startTimeUnixNano": "1796073760159504056", "endTimeUnixNano": "1796073760185332957", "durationMs": 25.828901, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "89a79cc83777c41061e24ad837f08e54", "spanId": "51dba203f780fb1d", "parentSpanId": "dacfd7402c4d0612", "startTimeUnixNano": "1796073760394799825", "endTimeUnixNano": "1796073760395092713", "durationMs": 0.292888, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "89a79cc83777c41061e24ad837f08e54", "spanId": "bd64711506d9465f", "parentSpanId": "b6100a5206a5c3ea", "startTimeUnixNano": "1796073760395125144", "endTimeUnixNano": "1796073760395265216", "durationMs": 0.140072, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004488}}
{"type": "effect-span", "name": "sqlite", "traceId": "89a79cc83777c41061e24ad837f08e54", "spanId": "93357e7db2e11b66", "parentSpanId": "b6100a5206a5c3ea", "startTimeUnixNano": "1796073760395331320", "endTimeUnixNano": "1796073760397003880", "durationMs": 1.67256, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007654}}
{"type": "effect-span", "name": "sqlite", "traceId": "89a79cc83777c41061e24ad837f08e54", "spanId": "3c537ade0dc3a2dc", "parentSpanId": "b6100a5206a5c3ea", "startTimeUnixNano": "1796073760397020571", "endTimeUnixNano": "1796073760399496905", "durationMs": 2.476334, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008706}}
{"type": "effect-span", "name": "sqlite", "traceId": "89a79cc83777c41061e24ad837f08e54", "spanId": "ab7a46fd496461b9", "parentSpanId": "b6100a5206a5c3ea", "startTimeUnixNano": "1796073760408487829", "endTimeUnixNano": "1796073760411724565", "durationMs": 3.236736, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017733}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "89a79cc83777c41061e24ad837f08e54", "spanId": "b6100a5206a5c3ea", "parentSpanId": "dacfd7402c4d0612", "startTimeUnixNano": "1796073760395120155", "endTimeUnixNano": "1796073760412187682", "durationMs": 17.067527, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "89a79cc83777c41061e24ad837f08e54", "spanId": "b6cc622f354cc9ec", "parentSpanId": "dacfd7402c4d0612", "startTimeUnixNano": "1796073760412205736", "endTimeUnixNano": "1796073760412609691", "durationMs": 0.403955, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "89a79cc83777c41061e24ad837f08e54", "spanId": "dacfd7402c4d0612", "parentSpanId": "9f49a8e7d9c8ba54", "startTimeUnixNano": "1796073760393574743", "endTimeUnixNano": "1796073760412632063", "durationMs": 19.05732, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.221445, "db.connection": "reader", "db.lock_wait_ms": 1.19}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "89a79cc83777c41061e24ad837f08e54", "spanId": "9f49a8e7d9c8ba54", "parentSpanId": "2acdc2557fa11919", "startTimeUnixNano": "1796073760393567239", "endTimeUnixNano": "1796073760412652341", "durationMs": 19.085102, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "89a79cc83777c41061e24ad837f08e54", "spanId": "2acdc2557fa11919", "parentSpanId": "ecb052c95a1f878f", "startTimeUnixNano": "1796073760393532213", "endTimeUnixNano": "1796073760412657391", "durationMs": 19.125178, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "89a79cc83777c41061e24ad837f08e54", "spanId": "ecb052c95a1f878f", "startTimeUnixNano": "1796073760393514350", "endTimeUnixNano": "1796073760412665616", "durationMs": 19.151266, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7f5500e4f48e5d5f2f4718b3faa6bd7f", "spanId": "62ed5cb2c7552937", "parentSpanId": "bb97c723918e579e", "startTimeUnixNano": "1796073761905177972", "endTimeUnixNano": "1796073761905342129", "durationMs": 0.164157, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f5500e4f48e5d5f2f4718b3faa6bd7f", "spanId": "7802ac45a193193c", "parentSpanId": "2d20af8d37fa7de4", "startTimeUnixNano": "1796073761905386031", "endTimeUnixNano": "1796073761906018294", "durationMs": 0.632263, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005921}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f5500e4f48e5d5f2f4718b3faa6bd7f", "spanId": "7c86b026fe77294f", "parentSpanId": "2d20af8d37fa7de4", "startTimeUnixNano": "1796073761906097332", "endTimeUnixNano": "1796073761907626614", "durationMs": 1.529282, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008807}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f5500e4f48e5d5f2f4718b3faa6bd7f", "spanId": "053572e79095dee2", "parentSpanId": "2d20af8d37fa7de4", "startTimeUnixNano": "1796073761907648555", "endTimeUnixNano": "1796073761909015934", "durationMs": 1.367379, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f5500e4f48e5d5f2f4718b3faa6bd7f", "spanId": "235e5c4546cd48cc", "parentSpanId": "2d20af8d37fa7de4", "startTimeUnixNano": "1796073761920176628", "endTimeUnixNano": "1796073761924035398", "durationMs": 3.85877, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01102}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7f5500e4f48e5d5f2f4718b3faa6bd7f", "spanId": "2d20af8d37fa7de4", "parentSpanId": "bb97c723918e579e", "startTimeUnixNano": "1796073761905379078", "endTimeUnixNano": "1796073761924364815", "durationMs": 18.985737, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7f5500e4f48e5d5f2f4718b3faa6bd7f", "spanId": "5896927f9e113141", "parentSpanId": "bb97c723918e579e", "startTimeUnixNano": "1796073761924378791", "endTimeUnixNano": "1796073761924990626", "durationMs": 0.611835, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7f5500e4f48e5d5f2f4718b3faa6bd7f", "spanId": "bb97c723918e579e", "parentSpanId": "900290c5db4b9f39", "startTimeUnixNano": "1796073761903102949", "endTimeUnixNano": "1796073761925014631", "durationMs": 21.911682, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.070474, "db.connection": "reader", "db.lock_wait_ms": 2.034}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7f5500e4f48e5d5f2f4718b3faa6bd7f", "spanId": "900290c5db4b9f39", "parentSpanId": "9d01de32c155e43e", "startTimeUnixNano": "1796073761903094353", "endTimeUnixNano": "1796073761925028937", "durationMs": 21.934584, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7f5500e4f48e5d5f2f4718b3faa6bd7f", "spanId": "9d01de32c155e43e", "parentSpanId": "d5d69756da849fb8", "startTimeUnixNano": "1796073761903055270", "endTimeUnixNano": "1796073761925033696", "durationMs": 21.978426, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7f5500e4f48e5d5f2f4718b3faa6bd7f", "spanId": "d5d69756da849fb8", "startTimeUnixNano": "1796073761903040823", "endTimeUnixNano": "1796073761925040920", "durationMs": 22.000097, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d20c4b5ba649ef32770586513e6deb5c", "spanId": "4ecfeaa07a4c2017", "parentSpanId": "e5d429f86227d430", "startTimeUnixNano": "1796073762114654213", "endTimeUnixNano": "1796073762115086542", "durationMs": 0.432329, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d20c4b5ba649ef32770586513e6deb5c", "spanId": "5f11dc9f5743c667", "parentSpanId": "644b7d3f53bc4cd9", "startTimeUnixNano": "1796073762115130254", "endTimeUnixNano": "1796073762115313797", "durationMs": 0.183543, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004117}}
{"type": "effect-span", "name": "sqlite", "traceId": "d20c4b5ba649ef32770586513e6deb5c", "spanId": "4dec4d48a5a5d61f", "parentSpanId": "644b7d3f53bc4cd9", "startTimeUnixNano": "1796073762115379550", "endTimeUnixNano": "1796073762116688219", "durationMs": 1.308669, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013305}}
{"type": "effect-span", "name": "sqlite", "traceId": "d20c4b5ba649ef32770586513e6deb5c", "spanId": "1e161849516883c2", "parentSpanId": "644b7d3f53bc4cd9", "startTimeUnixNano": "1796073762116704189", "endTimeUnixNano": "1796073762118332296", "durationMs": 1.628107, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005821}}
{"type": "effect-span", "name": "sqlite", "traceId": "d20c4b5ba649ef32770586513e6deb5c", "spanId": "adc1af70850b6211", "parentSpanId": "644b7d3f53bc4cd9", "startTimeUnixNano": "1796073762125848901", "endTimeUnixNano": "1796073762128655623", "durationMs": 2.806722, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012924}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d20c4b5ba649ef32770586513e6deb5c", "spanId": "644b7d3f53bc4cd9", "parentSpanId": "e5d429f86227d430", "startTimeUnixNano": "1796073762115123742", "endTimeUnixNano": "1796073762129016859", "durationMs": 13.893117, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d20c4b5ba649ef32770586513e6deb5c", "spanId": "7f2c9dec38341239", "parentSpanId": "e5d429f86227d430", "startTimeUnixNano": "1796073762129035855", "endTimeUnixNano": "1796073762129243092", "durationMs": 0.207237, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d20c4b5ba649ef32770586513e6deb5c", "spanId": "e5d429f86227d430", "parentSpanId": "ca40bbd0abf0fb63", "startTimeUnixNano": "1796073762111923804", "endTimeUnixNano": "1796073762129264032", "durationMs": 17.340228, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.726722, "db.connection": "reader", "db.lock_wait_ms": 2.699}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d20c4b5ba649ef32770586513e6deb5c", "spanId": "ca40bbd0abf0fb63", "parentSpanId": "50199cf0fef21de4", "startTimeUnixNano": "1796073762111916911", "endTimeUnixNano": "1796073762129282987", "durationMs": 17.366076, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d20c4b5ba649ef32770586513e6deb5c", "spanId": "50199cf0fef21de4", "parentSpanId": "822bcb03063a6bc7", "startTimeUnixNano": "1796073762111890471", "endTimeUnixNano": "1796073762129287916", "durationMs": 17.397445, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d20c4b5ba649ef32770586513e6deb5c", "spanId": "822bcb03063a6bc7", "startTimeUnixNano": "1796073762111877036", "endTimeUnixNano": "1796073762129294859", "durationMs": 17.417823, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "24ea8a5adb0b900dc72b42226617e334", "spanId": "8c00ef2716aeffc4", "parentSpanId": "2e665a512f091952", "startTimeUnixNano": "1796073763558110844", "endTimeUnixNano": "1796073763558249443", "durationMs": 0.138599, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "24ea8a5adb0b900dc72b42226617e334", "spanId": "4ac1582c2fdc5208", "parentSpanId": "bf88bb552015870f", "startTimeUnixNano": "1796073763558286733", "endTimeUnixNano": "1796073763559372846", "durationMs": 1.086113, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.005671}}
{"type": "effect-span", "name": "sqlite", "traceId": "24ea8a5adb0b900dc72b42226617e334", "spanId": "a2e15ba417fd756c", "parentSpanId": "bf88bb552015870f", "startTimeUnixNano": "1796073763559536632", "endTimeUnixNano": "1796073763561126668", "durationMs": 1.590036, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013315}}
{"type": "effect-span", "name": "sqlite", "traceId": "24ea8a5adb0b900dc72b42226617e334", "spanId": "2b41a4ec1746f06b", "parentSpanId": "bf88bb552015870f", "startTimeUnixNano": "1796073763561148138", "endTimeUnixNano": "1796073763562549520", "durationMs": 1.401382, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009247}}
{"type": "effect-span", "name": "sqlite", "traceId": "24ea8a5adb0b900dc72b42226617e334", "spanId": "eb28609e9fbb5930", "parentSpanId": "bf88bb552015870f", "startTimeUnixNano": "1796073763573683776", "endTimeUnixNano": "1796073763576296575", "durationMs": 2.612799, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.009708}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "24ea8a5adb0b900dc72b42226617e334", "spanId": "bf88bb552015870f", "parentSpanId": "2e665a512f091952", "startTimeUnixNano": "1796073763558281193", "endTimeUnixNano": "1796073763576787624", "durationMs": 18.506431, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "24ea8a5adb0b900dc72b42226617e334", "spanId": "91ec6663b37f82a1", "parentSpanId": "2e665a512f091952", "startTimeUnixNano": "1796073763576821206", "endTimeUnixNano": "1796073763577212378", "durationMs": 0.391172, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "24ea8a5adb0b900dc72b42226617e334", "spanId": "2e665a512f091952", "parentSpanId": "b2425947b82a913f", "startTimeUnixNano": "1796073763555974967", "endTimeUnixNano": "1796073763577236363", "durationMs": 21.261396, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.13227, "db.connection": "reader", "db.lock_wait_ms": 2.097}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "24ea8a5adb0b900dc72b42226617e334", "spanId": "b2425947b82a913f", "parentSpanId": "a069b1fd176e32c6", "startTimeUnixNano": "1796073763555966011", "endTimeUnixNano": "1796073763577259947", "durationMs": 21.293936, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "24ea8a5adb0b900dc72b42226617e334", "spanId": "a069b1fd176e32c6", "parentSpanId": "f25212b9452a6fdc", "startTimeUnixNano": "1796073763555920916", "endTimeUnixNano": "1796073763577283161", "durationMs": 21.362245, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "24ea8a5adb0b900dc72b42226617e334", "spanId": "f25212b9452a6fdc", "startTimeUnixNano": "1796073763555900258", "endTimeUnixNano": "1796073763577293069", "durationMs": 21.392811, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "a944cafa3ffef54049a1bf9ae7a423bb", "spanId": "999f3b2d2d28b908", "parentSpanId": "93313e9d2512f0bd", "startTimeUnixNano": "1796073763771919369", "endTimeUnixNano": "1796073763772251421", "durationMs": 0.332052, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "a944cafa3ffef54049a1bf9ae7a423bb", "spanId": "bcd168cf90a66a56", "parentSpanId": "d95e6898ff64d75e", "startTimeUnixNano": "1796073763772283611", "endTimeUnixNano": "1796073763772712243", "durationMs": 0.428632, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004689}}
{"type": "effect-span", "name": "sqlite", "traceId": "a944cafa3ffef54049a1bf9ae7a423bb", "spanId": "f9272546da45c4f9", "parentSpanId": "d95e6898ff64d75e", "startTimeUnixNano": "1796073763772785430", "endTimeUnixNano": "1796073763774766147", "durationMs": 1.980717, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011732}}
{"type": "effect-span", "name": "sqlite", "traceId": "a944cafa3ffef54049a1bf9ae7a423bb", "spanId": "8131995b4b2a3691", "parentSpanId": "d95e6898ff64d75e", "startTimeUnixNano": "1796073763774788549", "endTimeUnixNano": "1796073763776214276", "durationMs": 1.425727, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009527}}
{"type": "effect-span", "name": "sqlite", "traceId": "a944cafa3ffef54049a1bf9ae7a423bb", "spanId": "9bcf546d75783edd", "parentSpanId": "d95e6898ff64d75e", "startTimeUnixNano": "1796073763787107531", "endTimeUnixNano": "1796073763794189623", "durationMs": 7.082092, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013555}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "a944cafa3ffef54049a1bf9ae7a423bb", "spanId": "d95e6898ff64d75e", "parentSpanId": "93313e9d2512f0bd", "startTimeUnixNano": "1796073763772278311", "endTimeUnixNano": "1796073763794635768", "durationMs": 22.357457, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "a944cafa3ffef54049a1bf9ae7a423bb", "spanId": "fd59740faa4f9773", "parentSpanId": "93313e9d2512f0bd", "startTimeUnixNano": "1796073763794654734", "endTimeUnixNano": "1796073763796538679", "durationMs": 1.883945, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "a944cafa3ffef54049a1bf9ae7a423bb", "spanId": "93313e9d2512f0bd", "parentSpanId": "68e50549cd2f20fd", "startTimeUnixNano": "1796073763770579112", "endTimeUnixNano": "1796073763796567313", "durationMs": 25.988201, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.337092, "db.connection": "reader", "db.lock_wait_ms": 1.307}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "a944cafa3ffef54049a1bf9ae7a423bb", "spanId": "68e50549cd2f20fd", "parentSpanId": "e198b377366c417e", "startTimeUnixNano": "1796073763770571006", "endTimeUnixNano": "1796073763796586348", "durationMs": 26.015342, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "a944cafa3ffef54049a1bf9ae7a423bb", "spanId": "e198b377366c417e", "parentSpanId": "dd588bdd0930ef58", "startTimeUnixNano": "1796073763770537484", "endTimeUnixNano": "1796073763796591668", "durationMs": 26.054184, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "a944cafa3ffef54049a1bf9ae7a423bb", "spanId": "dd588bdd0930ef58", "startTimeUnixNano": "1796073763770515733", "endTimeUnixNano": "1796073763796599954", "durationMs": 26.084221, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7e0514b55b7c42a3bfca72bd83775ac1", "spanId": "65f765d5c5f3d655", "parentSpanId": "54c1fca3afb45a54", "startTimeUnixNano": "1796073765287735735", "endTimeUnixNano": "1796073765287926782", "durationMs": 0.191047, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e0514b55b7c42a3bfca72bd83775ac1", "spanId": "7fc483a7d14ee122", "parentSpanId": "49282fc51d64c032", "startTimeUnixNano": "1796073765287977868", "endTimeUnixNano": "1796073765288618527", "durationMs": 0.640659, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.010259}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e0514b55b7c42a3bfca72bd83775ac1", "spanId": "40fdc264ee9b0aa6", "parentSpanId": "49282fc51d64c032", "startTimeUnixNano": "1796073765288697224", "endTimeUnixNano": "1796073765290212810", "durationMs": 1.515586, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009217}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e0514b55b7c42a3bfca72bd83775ac1", "spanId": "fa713d4f24dc927a", "parentSpanId": "49282fc51d64c032", "startTimeUnixNano": "1796073765290239270", "endTimeUnixNano": "1796073765291735320", "durationMs": 1.49605, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.015068}}
{"type": "effect-span", "name": "sqlite", "traceId": "7e0514b55b7c42a3bfca72bd83775ac1", "spanId": "ed1952f3e3236ccc", "parentSpanId": "49282fc51d64c032", "startTimeUnixNano": "1796073765303350876", "endTimeUnixNano": "1796073765306170192", "durationMs": 2.819316, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014647}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7e0514b55b7c42a3bfca72bd83775ac1", "spanId": "49282fc51d64c032", "parentSpanId": "54c1fca3afb45a54", "startTimeUnixNano": "1796073765287970865", "endTimeUnixNano": "1796073765306625043", "durationMs": 18.654178, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7e0514b55b7c42a3bfca72bd83775ac1", "spanId": "bfbd6ef43c1417f1", "parentSpanId": "54c1fca3afb45a54", "startTimeUnixNano": "1796073765306650440", "endTimeUnixNano": "1796073765306902081", "durationMs": 0.251641, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7e0514b55b7c42a3bfca72bd83775ac1", "spanId": "54c1fca3afb45a54", "parentSpanId": "69bc2ce8105999ba", "startTimeUnixNano": "1796073765284806313", "endTimeUnixNano": "1796073765306930775", "durationMs": 22.124462, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.921788, "db.connection": "reader", "db.lock_wait_ms": 2.882}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7e0514b55b7c42a3bfca72bd83775ac1", "spanId": "69bc2ce8105999ba", "parentSpanId": "8b11646e4d4393c1", "startTimeUnixNano": "1796073765284797226", "endTimeUnixNano": "1796073765306958236", "durationMs": 22.16101, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7e0514b55b7c42a3bfca72bd83775ac1", "spanId": "8b11646e4d4393c1", "parentSpanId": "63a80b66c48107be", "startTimeUnixNano": "1796073765284752753", "endTimeUnixNano": "1796073765306965019", "durationMs": 22.212266, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7e0514b55b7c42a3bfca72bd83775ac1", "spanId": "63a80b66c48107be", "startTimeUnixNano": "1796073765284736693", "endTimeUnixNano": "1796073765306974998", "durationMs": 22.238305, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "d47d07e1309f02eb9106f26797aa3b6d", "spanId": "1c5fa699991c7c56", "parentSpanId": "f3c75da42b40c13a", "startTimeUnixNano": "1796073765510723316", "endTimeUnixNano": "1796073765510959037", "durationMs": 0.235721, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "d47d07e1309f02eb9106f26797aa3b6d", "spanId": "79811214daae585a", "parentSpanId": "590e8234cc505851", "startTimeUnixNano": "1796073765510993070", "endTimeUnixNano": "1796073765511204927", "durationMs": 0.211857, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004248}}
{"type": "effect-span", "name": "sqlite", "traceId": "d47d07e1309f02eb9106f26797aa3b6d", "spanId": "64ddae448ae4d749", "parentSpanId": "590e8234cc505851", "startTimeUnixNano": "1796073765511277974", "endTimeUnixNano": "1796073765513118838", "durationMs": 1.840864, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007674}}
{"type": "effect-span", "name": "sqlite", "traceId": "d47d07e1309f02eb9106f26797aa3b6d", "spanId": "99dabad66f7e643c", "parentSpanId": "590e8234cc505851", "startTimeUnixNano": "1796073765513139818", "endTimeUnixNano": "1796073765514784235", "durationMs": 1.644417, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007033}}
{"type": "effect-span", "name": "sqlite", "traceId": "d47d07e1309f02eb9106f26797aa3b6d", "spanId": "a2f210166f5e1256", "parentSpanId": "590e8234cc505851", "startTimeUnixNano": "1796073765524156534", "endTimeUnixNano": "1796073765527004353", "durationMs": 2.847819, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011271}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "d47d07e1309f02eb9106f26797aa3b6d", "spanId": "590e8234cc505851", "parentSpanId": "f3c75da42b40c13a", "startTimeUnixNano": "1796073765510987390", "endTimeUnixNano": "1796073765527406826", "durationMs": 16.419436, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "d47d07e1309f02eb9106f26797aa3b6d", "spanId": "3a8572cd5271c2d8", "parentSpanId": "f3c75da42b40c13a", "startTimeUnixNano": "1796073765527425982", "endTimeUnixNano": "1796073765527567326", "durationMs": 0.141344, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "d47d07e1309f02eb9106f26797aa3b6d", "spanId": "f3c75da42b40c13a", "parentSpanId": "ec8312462bb93164", "startTimeUnixNano": "1796073765508915553", "endTimeUnixNano": "1796073765527583647", "durationMs": 18.668094, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.802673, "db.connection": "reader", "db.lock_wait_ms": 1.769}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "d47d07e1309f02eb9106f26797aa3b6d", "spanId": "ec8312462bb93164", "parentSpanId": "278a239904df6ef1", "startTimeUnixNano": "1796073765508906416", "endTimeUnixNano": "1796073765527606269", "durationMs": 18.699853, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "d47d07e1309f02eb9106f26797aa3b6d", "spanId": "278a239904df6ef1", "parentSpanId": "4dbe78b91537a135", "startTimeUnixNano": "1796073765508871019", "endTimeUnixNano": "1796073765527613082", "durationMs": 18.742063, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "d47d07e1309f02eb9106f26797aa3b6d", "spanId": "4dbe78b91537a135", "startTimeUnixNano": "1796073765508855901", "endTimeUnixNano": "1796073765527622710", "durationMs": 18.766809, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c3e1979148df1a7b403f978a42674269", "spanId": "a34145cfc4554bdd", "parentSpanId": "b92e5128e17aeef5", "startTimeUnixNano": "1796073767113464669", "endTimeUnixNano": "1796073767113620330", "durationMs": 0.155661, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c3e1979148df1a7b403f978a42674269", "spanId": "1f468a923a658839", "parentSpanId": "afea2ed1096ae944", "startTimeUnixNano": "1796073767113678238", "endTimeUnixNano": "1796073767114320821", "durationMs": 0.642583, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006282}}
{"type": "effect-span", "name": "sqlite", "traceId": "c3e1979148df1a7b403f978a42674269", "spanId": "d1ee99c241bb9e8c", "parentSpanId": "afea2ed1096ae944", "startTimeUnixNano": "1796073767114405169", "endTimeUnixNano": "1796073767116125979", "durationMs": 1.72081, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009417}}
{"type": "effect-span", "name": "sqlite", "traceId": "c3e1979148df1a7b403f978a42674269", "spanId": "df7dda97270735f2", "parentSpanId": "afea2ed1096ae944", "startTimeUnixNano": "1796073767116158009", "endTimeUnixNano": "1796073767119191065", "durationMs": 3.033056, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011632}}
{"type": "effect-span", "name": "sqlite", "traceId": "c3e1979148df1a7b403f978a42674269", "spanId": "ced06a2b348119b7", "parentSpanId": "afea2ed1096ae944", "startTimeUnixNano": "1796073767131600618", "endTimeUnixNano": "1796073767134540589", "durationMs": 2.939971, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016541}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c3e1979148df1a7b403f978a42674269", "spanId": "afea2ed1096ae944", "parentSpanId": "b92e5128e17aeef5", "startTimeUnixNano": "1796073767113668390", "endTimeUnixNano": "1796073767134998596", "durationMs": 21.330206, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c3e1979148df1a7b403f978a42674269", "spanId": "f59fc7ac85606328", "parentSpanId": "b92e5128e17aeef5", "startTimeUnixNano": "1796073767135021940", "endTimeUnixNano": "1796073767135284141", "durationMs": 0.262201, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c3e1979148df1a7b403f978a42674269", "spanId": "b92e5128e17aeef5", "parentSpanId": "2bf74e0552a95a64", "startTimeUnixNano": "1796073767110573368", "endTimeUnixNano": "1796073767135313516", "durationMs": 24.740148, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.884248, "db.connection": "reader", "db.lock_wait_ms": 2.843}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c3e1979148df1a7b403f978a42674269", "spanId": "2bf74e0552a95a64", "parentSpanId": "80ea6efc94e6c756", "startTimeUnixNano": "1796073767110563540", "endTimeUnixNano": "1796073767135344414", "durationMs": 24.780874, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c3e1979148df1a7b403f978a42674269", "spanId": "80ea6efc94e6c756", "parentSpanId": "dd84fa29d8e8307c", "startTimeUnixNano": "1796073767110516161", "endTimeUnixNano": "1796073767135352108", "durationMs": 24.835947, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c3e1979148df1a7b403f978a42674269", "spanId": "dd84fa29d8e8307c", "startTimeUnixNano": "1796073767110483450", "endTimeUnixNano": "1796073767135363259", "durationMs": 24.879809, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7f3bc08f1b55813dfe0784bc4801172c", "spanId": "bec534d51caebae1", "parentSpanId": "97504ef809b0a9a8", "startTimeUnixNano": "1796073767347209008", "endTimeUnixNano": "1796073767347556047", "durationMs": 0.347039, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f3bc08f1b55813dfe0784bc4801172c", "spanId": "01120209414bea8a", "parentSpanId": "814256337f0f37f2", "startTimeUnixNano": "1796073767347592385", "endTimeUnixNano": "1796073767347730704", "durationMs": 0.138319, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004309}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f3bc08f1b55813dfe0784bc4801172c", "spanId": "21a971a52b2cf64e", "parentSpanId": "814256337f0f37f2", "startTimeUnixNano": "1796073767347797429", "endTimeUnixNano": "1796073767350106600", "durationMs": 2.309171, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007905}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f3bc08f1b55813dfe0784bc4801172c", "spanId": "45cfc9e5e508d6c7", "parentSpanId": "814256337f0f37f2", "startTimeUnixNano": "1796073767350128972", "endTimeUnixNano": "1796073767353916891", "durationMs": 3.787919, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.011161}}
{"type": "effect-span", "name": "sqlite", "traceId": "7f3bc08f1b55813dfe0784bc4801172c", "spanId": "e7ff2db379e28ebe", "parentSpanId": "814256337f0f37f2", "startTimeUnixNano": "1796073767362112037", "endTimeUnixNano": "1796073767365021862", "durationMs": 2.909825, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011682}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7f3bc08f1b55813dfe0784bc4801172c", "spanId": "814256337f0f37f2", "parentSpanId": "97504ef809b0a9a8", "startTimeUnixNano": "1796073767347587486", "endTimeUnixNano": "1796073767365401923", "durationMs": 17.814437, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7f3bc08f1b55813dfe0784bc4801172c", "spanId": "fa2c1ca4c6db9436", "parentSpanId": "97504ef809b0a9a8", "startTimeUnixNano": "1796073767365424696", "endTimeUnixNano": "1796073767366827020", "durationMs": 1.402324, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7f3bc08f1b55813dfe0784bc4801172c", "spanId": "97504ef809b0a9a8", "parentSpanId": "56f349616a7db801", "startTimeUnixNano": "1796073767345756851", "endTimeUnixNano": "1796073767366851717", "durationMs": 21.094866, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.446436, "db.connection": "reader", "db.lock_wait_ms": 1.418}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7f3bc08f1b55813dfe0784bc4801172c", "spanId": "56f349616a7db801", "parentSpanId": "cb54dcfd8a85b602", "startTimeUnixNano": "1796073767345747343", "endTimeUnixNano": "1796073767366882294", "durationMs": 21.134951, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7f3bc08f1b55813dfe0784bc4801172c", "spanId": "cb54dcfd8a85b602", "parentSpanId": "fd3673ccc4946dd2", "startTimeUnixNano": "1796073767345713690", "endTimeUnixNano": "1796073767366891481", "durationMs": 21.177791, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7f3bc08f1b55813dfe0784bc4801172c", "spanId": "fd3673ccc4946dd2", "startTimeUnixNano": "1796073767345694183", "endTimeUnixNano": "1796073767366903423", "durationMs": 21.20924, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "3f57f0e7fb39d82050090ed8c376a0e3", "spanId": "50e3379be7b8e20c", "parentSpanId": "1355ecc200251929", "startTimeUnixNano": "1796073768894515540", "endTimeUnixNano": "1796073768895210170", "durationMs": 0.69463, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "3f57f0e7fb39d82050090ed8c376a0e3", "spanId": "a2dd4844f6f73707", "parentSpanId": "ab799e6130372de8", "startTimeUnixNano": "1796073768895246628", "endTimeUnixNano": "1796073768895942440", "durationMs": 0.695812, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004949}}
{"type": "effect-span", "name": "sqlite", "traceId": "3f57f0e7fb39d82050090ed8c376a0e3", "spanId": "ca8b7cfcf72d63de", "parentSpanId": "ab799e6130372de8", "startTimeUnixNano": "1796073768896009355", "endTimeUnixNano": "1796073768897666907", "durationMs": 1.657552, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008236}}
{"type": "effect-span", "name": "sqlite", "traceId": "3f57f0e7fb39d82050090ed8c376a0e3", "spanId": "24879d7062a7f514", "parentSpanId": "ab799e6130372de8", "startTimeUnixNano": "1796073768897689059", "endTimeUnixNano": "1796073768900160163", "durationMs": 2.471104, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008455}}
{"type": "effect-span", "name": "sqlite", "traceId": "3f57f0e7fb39d82050090ed8c376a0e3", "spanId": "e6cf7c8ca136632f", "parentSpanId": "ab799e6130372de8", "startTimeUnixNano": "1796073768913405330", "endTimeUnixNano": "1796073768916368294", "durationMs": 2.962964, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.017352}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "3f57f0e7fb39d82050090ed8c376a0e3", "spanId": "ab799e6130372de8", "parentSpanId": "1355ecc200251929", "startTimeUnixNano": "1796073768895241368", "endTimeUnixNano": "1796073768916922993", "durationMs": 21.681625, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "3f57f0e7fb39d82050090ed8c376a0e3", "spanId": "5d1c7ecc5555cbcd", "parentSpanId": "1355ecc200251929", "startTimeUnixNano": "1796073768916951225", "endTimeUnixNano": "1796073768917037797", "durationMs": 0.086572, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "3f57f0e7fb39d82050090ed8c376a0e3", "spanId": "1355ecc200251929", "parentSpanId": "f38b1800a7fc2554", "startTimeUnixNano": "1796073768893128764", "endTimeUnixNano": "1796073768917057434", "durationMs": 23.92867, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.380434, "db.connection": "reader", "db.lock_wait_ms": 1.348}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "3f57f0e7fb39d82050090ed8c376a0e3", "spanId": "f38b1800a7fc2554", "parentSpanId": "d689b93d2fe39a3e", "startTimeUnixNano": "1796073768893120058", "endTimeUnixNano": "1796073768917076650", "durationMs": 23.956592, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "3f57f0e7fb39d82050090ed8c376a0e3", "spanId": "d689b93d2fe39a3e", "parentSpanId": "69bcf5523446bcd8", "startTimeUnixNano": "1796073768893080374", "endTimeUnixNano": "1796073768917081319", "durationMs": 24.000945, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "3f57f0e7fb39d82050090ed8c376a0e3", "spanId": "69bcf5523446bcd8", "startTimeUnixNano": "1796073768893061528", "endTimeUnixNano": "1796073768917096938", "durationMs": 24.03541, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b4bcd1154a95a4f20cc0cced01022e9d", "spanId": "7b0fcb756b825b05", "parentSpanId": "31d8490f1cde155b", "startTimeUnixNano": "1796073769137045508", "endTimeUnixNano": "1796073769137238038", "durationMs": 0.19253, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b4bcd1154a95a4f20cc0cced01022e9d", "spanId": "d932fbdf4f09ab2f", "parentSpanId": "48f37e22323e8b99", "startTimeUnixNano": "1796073769137279315", "endTimeUnixNano": "1796073769137502753", "durationMs": 0.223438, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004669}}
{"type": "effect-span", "name": "sqlite", "traceId": "b4bcd1154a95a4f20cc0cced01022e9d", "spanId": "fad5bf6511a0e9c1", "parentSpanId": "48f37e22323e8b99", "startTimeUnixNano": "1796073769137576101", "endTimeUnixNano": "1796073769139176375", "durationMs": 1.600274, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008085}}
{"type": "effect-span", "name": "sqlite", "traceId": "b4bcd1154a95a4f20cc0cced01022e9d", "spanId": "2ae1c9ad290a55c0", "parentSpanId": "48f37e22323e8b99", "startTimeUnixNano": "1796073769139191333", "endTimeUnixNano": "1796073769140899891", "durationMs": 1.708558, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006713}}
{"type": "effect-span", "name": "sqlite", "traceId": "b4bcd1154a95a4f20cc0cced01022e9d", "spanId": "5ed214786ca075f6", "parentSpanId": "48f37e22323e8b99", "startTimeUnixNano": "1796073769150143629", "endTimeUnixNano": "1796073769153227110", "durationMs": 3.083481, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.014598}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b4bcd1154a95a4f20cc0cced01022e9d", "spanId": "48f37e22323e8b99", "parentSpanId": "31d8490f1cde155b", "startTimeUnixNano": "1796073769137273895", "endTimeUnixNano": "1796073769153784433", "durationMs": 16.510538, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b4bcd1154a95a4f20cc0cced01022e9d", "spanId": "babc34a7750c64cc", "parentSpanId": "31d8490f1cde155b", "startTimeUnixNano": "1796073769153822985", "endTimeUnixNano": "1796073769154036314", "durationMs": 0.213329, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b4bcd1154a95a4f20cc0cced01022e9d", "spanId": "31d8490f1cde155b", "parentSpanId": "40fe36580acae576", "startTimeUnixNano": "1796073769135695782", "endTimeUnixNano": "1796073769154064717", "durationMs": 18.368935, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.346049, "db.connection": "reader", "db.lock_wait_ms": 1.305}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b4bcd1154a95a4f20cc0cced01022e9d", "spanId": "40fe36580acae576", "parentSpanId": "8ff6ce852c3be8c5", "startTimeUnixNano": "1796073769135685943", "endTimeUnixNano": "1796073769154093722", "durationMs": 18.407779, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b4bcd1154a95a4f20cc0cced01022e9d", "spanId": "8ff6ce852c3be8c5", "parentSpanId": "b37b0f5ee3b8f446", "startTimeUnixNano": "1796073769135650206", "endTimeUnixNano": "1796073769154103680", "durationMs": 18.453474, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b4bcd1154a95a4f20cc0cced01022e9d", "spanId": "b37b0f5ee3b8f446", "startTimeUnixNano": "1796073769135634166", "endTimeUnixNano": "1796073769154119059", "durationMs": 18.484893, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "10477cf5697d1c152ac0e1c3ae21fbda", "spanId": "872c1900ca9e4da7", "parentSpanId": "e6871d533104bfc7", "startTimeUnixNano": "1796073770752446900", "endTimeUnixNano": "1796073770752635403", "durationMs": 0.188503, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "10477cf5697d1c152ac0e1c3ae21fbda", "spanId": "474d1b0e8f4d0bfe", "parentSpanId": "f6bf18a6b6728504", "startTimeUnixNano": "1796073770752687841", "endTimeUnixNano": "1796073770753597323", "durationMs": 0.909482, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006993}}
{"type": "effect-span", "name": "sqlite", "traceId": "10477cf5697d1c152ac0e1c3ae21fbda", "spanId": "dbaa093d6c847fa8", "parentSpanId": "f6bf18a6b6728504", "startTimeUnixNano": "1796073770753696799", "endTimeUnixNano": "1796073770755184493", "durationMs": 1.487694, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011381}}
{"type": "effect-span", "name": "sqlite", "traceId": "10477cf5697d1c152ac0e1c3ae21fbda", "spanId": "b4fcc5c08c8313a1", "parentSpanId": "f6bf18a6b6728504", "startTimeUnixNano": "1796073770755206144", "endTimeUnixNano": "1796073770756683629", "durationMs": 1.477485, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.010339}}
{"type": "effect-span", "name": "sqlite", "traceId": "10477cf5697d1c152ac0e1c3ae21fbda", "spanId": "156d72699e8be4a5", "parentSpanId": "f6bf18a6b6728504", "startTimeUnixNano": "1796073770769093533", "endTimeUnixNano": "1796073770771976578", "durationMs": 2.883045, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016922}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "10477cf5697d1c152ac0e1c3ae21fbda", "spanId": "f6bf18a6b6728504", "parentSpanId": "e6871d533104bfc7", "startTimeUnixNano": "1796073770752678143", "endTimeUnixNano": "1796073770772486072", "durationMs": 19.807929, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "10477cf5697d1c152ac0e1c3ae21fbda", "spanId": "145a77fb5bf615b5", "parentSpanId": "e6871d533104bfc7", "startTimeUnixNano": "1796073770772512611", "endTimeUnixNano": "1796073770772714128", "durationMs": 0.201517, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "10477cf5697d1c152ac0e1c3ae21fbda", "spanId": "e6871d533104bfc7", "parentSpanId": "18cb9e7598d7acfd", "startTimeUnixNano": "1796073770750006874", "endTimeUnixNano": "1796073770772736921", "durationMs": 22.730047, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.4209, "db.connection": "reader", "db.lock_wait_ms": 2.385}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "10477cf5697d1c152ac0e1c3ae21fbda", "spanId": "18cb9e7598d7acfd", "parentSpanId": "265ca131ef7e00e9", "startTimeUnixNano": "1796073770749997316", "endTimeUnixNano": "1796073770772755496", "durationMs": 22.75818, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "10477cf5697d1c152ac0e1c3ae21fbda", "spanId": "265ca131ef7e00e9", "parentSpanId": "39620159d1861166", "startTimeUnixNano": "1796073770749954516", "endTimeUnixNano": "1796073770772761858", "durationMs": 22.807342, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "10477cf5697d1c152ac0e1c3ae21fbda", "spanId": "39620159d1861166", "startTimeUnixNano": "1796073770749939037", "endTimeUnixNano": "1796073770772773910", "durationMs": 22.834873, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "776c17248075699b77f92523d9e7ec3c", "spanId": "8535ecc42abaaeb0", "parentSpanId": "6816be2d5c6ad5af", "startTimeUnixNano": "1796073770989211806", "endTimeUnixNano": "1796073770989794005", "durationMs": 0.582199, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "776c17248075699b77f92523d9e7ec3c", "spanId": "2358fd279c47f00f", "parentSpanId": "c80eb6567da9c54b", "startTimeUnixNano": "1796073770989857144", "endTimeUnixNano": "1796073770990259436", "durationMs": 0.402292, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.008305}}
{"type": "effect-span", "name": "sqlite", "traceId": "776c17248075699b77f92523d9e7ec3c", "spanId": "1caa40acfa168e41", "parentSpanId": "c80eb6567da9c54b", "startTimeUnixNano": "1796073770990367509", "endTimeUnixNano": "1796073770991886041", "durationMs": 1.518532, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.014347}}
{"type": "effect-span", "name": "sqlite", "traceId": "776c17248075699b77f92523d9e7ec3c", "spanId": "1a52a1c781df92f5", "parentSpanId": "c80eb6567da9c54b", "startTimeUnixNano": "1796073770991901319", "endTimeUnixNano": "1796073770994981333", "durationMs": 3.080014, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006262}}
{"type": "effect-span", "name": "sqlite", "traceId": "776c17248075699b77f92523d9e7ec3c", "spanId": "0a3e9b85a18c3d81", "parentSpanId": "c80eb6567da9c54b", "startTimeUnixNano": "1796073771004529842", "endTimeUnixNano": "1796073771007705916", "durationMs": 3.176074, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.024987}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "776c17248075699b77f92523d9e7ec3c", "spanId": "c80eb6567da9c54b", "parentSpanId": "6816be2d5c6ad5af", "startTimeUnixNano": "1796073770989846023", "endTimeUnixNano": "1796073771008223405", "durationMs": 18.377382, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "776c17248075699b77f92523d9e7ec3c", "spanId": "72168eadb48e1cac", "parentSpanId": "6816be2d5c6ad5af", "startTimeUnixNano": "1796073771008242901", "endTimeUnixNano": "1796073771008520961", "durationMs": 0.27806, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "776c17248075699b77f92523d9e7ec3c", "spanId": "6816be2d5c6ad5af", "parentSpanId": "24e3d18ae3e5506c", "startTimeUnixNano": "1796073770987044139", "endTimeUnixNano": "1796073771008550186", "durationMs": 21.506047, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.160483, "db.connection": "reader", "db.lock_wait_ms": 2.132}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "776c17248075699b77f92523d9e7ec3c", "spanId": "24e3d18ae3e5506c", "parentSpanId": "7f364e369f62de04", "startTimeUnixNano": "1796073770987037306", "endTimeUnixNano": "1796073771008569142", "durationMs": 21.531836, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "776c17248075699b77f92523d9e7ec3c", "spanId": "7f364e369f62de04", "parentSpanId": "32a803643bcf23ad", "startTimeUnixNano": "1796073770987010817", "endTimeUnixNano": "1796073771008574622", "durationMs": 21.563805, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "776c17248075699b77f92523d9e7ec3c", "spanId": "32a803643bcf23ad", "startTimeUnixNano": "1796073770986997332", "endTimeUnixNano": "1796073771008583198", "durationMs": 21.585866, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "b8b08187f2ccce22d3921eb5f649f427", "spanId": "75e00e9f08802d3d", "parentSpanId": "1296e05ca35bae70", "startTimeUnixNano": "1796073772516252846", "endTimeUnixNano": "1796073772516964578", "durationMs": 0.711732, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "b8b08187f2ccce22d3921eb5f649f427", "spanId": "08d6afe94da17b2f", "parentSpanId": "6e2709ad5341aeef", "startTimeUnixNano": "1796073772517003391", "endTimeUnixNano": "1796073772517672383", "durationMs": 0.668992, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004929}}
{"type": "effect-span", "name": "sqlite", "traceId": "b8b08187f2ccce22d3921eb5f649f427", "spanId": "2438faef1acb4d47", "parentSpanId": "6e2709ad5341aeef", "startTimeUnixNano": "1796073772517740100", "endTimeUnixNano": "1796073772519163534", "durationMs": 1.423434, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009287}}
{"type": "effect-span", "name": "sqlite", "traceId": "b8b08187f2ccce22d3921eb5f649f427", "spanId": "01fa771d7744e178", "parentSpanId": "6e2709ad5341aeef", "startTimeUnixNano": "1796073772519177941", "endTimeUnixNano": "1796073772520490026", "durationMs": 1.312085, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006762}}
{"type": "effect-span", "name": "sqlite", "traceId": "b8b08187f2ccce22d3921eb5f649f427", "spanId": "2df46b9b2305031e", "parentSpanId": "6e2709ad5341aeef", "startTimeUnixNano": "1796073772532357395", "endTimeUnixNano": "1796073772536905687", "durationMs": 4.548292, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.0158}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "b8b08187f2ccce22d3921eb5f649f427", "spanId": "6e2709ad5341aeef", "parentSpanId": "1296e05ca35bae70", "startTimeUnixNano": "1796073772516997861", "endTimeUnixNano": "1796073772537291309", "durationMs": 20.293448, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "b8b08187f2ccce22d3921eb5f649f427", "spanId": "8b530a3a1efbe292", "parentSpanId": "1296e05ca35bae70", "startTimeUnixNano": "1796073772537310455", "endTimeUnixNano": "1796073772537601690", "durationMs": 0.291235, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "b8b08187f2ccce22d3921eb5f649f427", "spanId": "1296e05ca35bae70", "parentSpanId": "51242801168861b2", "startTimeUnixNano": "1796073772514874657", "endTimeUnixNano": "1796073772537629382", "durationMs": 22.754725, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.374092, "db.connection": "reader", "db.lock_wait_ms": 1.34}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "b8b08187f2ccce22d3921eb5f649f427", "spanId": "51242801168861b2", "parentSpanId": "5826576ca5fc3a97", "startTimeUnixNano": "1796073772514865881", "endTimeUnixNano": "1796073772537650111", "durationMs": 22.78423, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "b8b08187f2ccce22d3921eb5f649f427", "spanId": "5826576ca5fc3a97", "parentSpanId": "b26a07a696f8e51d", "startTimeUnixNano": "1796073772514825435", "endTimeUnixNano": "1796073772537656012", "durationMs": 22.830577, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "b8b08187f2ccce22d3921eb5f649f427", "spanId": "b26a07a696f8e51d", "startTimeUnixNano": "1796073772514807972", "endTimeUnixNano": "1796073772537664938", "durationMs": 22.856966, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "e66ba6ea22e62eb5ba47831360ac938a", "spanId": "a8be517ac3830020", "parentSpanId": "5733ca7999245e6a", "startTimeUnixNano": "1796073772731420032", "endTimeUnixNano": "1796073772731769917", "durationMs": 0.349885, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "e66ba6ea22e62eb5ba47831360ac938a", "spanId": "8cc8a159c1e2cdd4", "parentSpanId": "024f18c4f13646e0", "startTimeUnixNano": "1796073772731824690", "endTimeUnixNano": "1796073772732019104", "durationMs": 0.194414, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.007524}}
{"type": "effect-span", "name": "sqlite", "traceId": "e66ba6ea22e62eb5ba47831360ac938a", "spanId": "25cb7f265096f3ff", "parentSpanId": "024f18c4f13646e0", "startTimeUnixNano": "1796073772732104373", "endTimeUnixNano": "1796073772734033323", "durationMs": 1.92895, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.011632}}
{"type": "effect-span", "name": "sqlite", "traceId": "e66ba6ea22e62eb5ba47831360ac938a", "spanId": "b05cda76558e5688", "parentSpanId": "024f18c4f13646e0", "startTimeUnixNano": "1796073772734049744", "endTimeUnixNano": "1796073772735639709", "durationMs": 1.589965, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009718}}
{"type": "effect-span", "name": "sqlite", "traceId": "e66ba6ea22e62eb5ba47831360ac938a", "spanId": "3c474bf9c26c571f", "parentSpanId": "024f18c4f13646e0", "startTimeUnixNano": "1796073772746863013", "endTimeUnixNano": "1796073772749340740", "durationMs": 2.477727, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.01026}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "e66ba6ea22e62eb5ba47831360ac938a", "spanId": "024f18c4f13646e0", "parentSpanId": "5733ca7999245e6a", "startTimeUnixNano": "1796073772731815312", "endTimeUnixNano": "1796073772749767499", "durationMs": 17.952187, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "e66ba6ea22e62eb5ba47831360ac938a", "spanId": "586cbba2dfb2a9e6", "parentSpanId": "5733ca7999245e6a", "startTimeUnixNano": "1796073772749785443", "endTimeUnixNano": "1796073772750279146", "durationMs": 0.493703, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "e66ba6ea22e62eb5ba47831360ac938a", "spanId": "5733ca7999245e6a", "parentSpanId": "e484aeca875a4475", "startTimeUnixNano": "1796073772730171746", "endTimeUnixNano": "1796073772750299665", "durationMs": 20.127919, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.245111, "db.connection": "reader", "db.lock_wait_ms": 1.218}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "e66ba6ea22e62eb5ba47831360ac938a", "spanId": "e484aeca875a4475", "parentSpanId": "9763389112a7c227", "startTimeUnixNano": "1796073772730163160", "endTimeUnixNano": "1796073772750315154", "durationMs": 20.151994, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "e66ba6ea22e62eb5ba47831360ac938a", "spanId": "9763389112a7c227", "parentSpanId": "b9a29bf52ca6c739", "startTimeUnixNano": "1796073772730136971", "endTimeUnixNano": "1796073772750320674", "durationMs": 20.183703, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "e66ba6ea22e62eb5ba47831360ac938a", "spanId": "b9a29bf52ca6c739", "startTimeUnixNano": "1796073772730124989", "endTimeUnixNano": "1796073772750328559", "durationMs": 20.20357, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "7dec87df3f05697f648b81bd0f9d121b", "spanId": "559b77ba8d6e7a76", "parentSpanId": "a0c9a644204dfa55", "startTimeUnixNano": "1796073774302601862", "endTimeUnixNano": "1796073774302767853", "durationMs": 0.165991, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "7dec87df3f05697f648b81bd0f9d121b", "spanId": "51c5398d2e319326", "parentSpanId": "151aa3b9af14e044", "startTimeUnixNano": "1796073774302818778", "endTimeUnixNano": "1796073774303465349", "durationMs": 0.646571, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006402}}
{"type": "effect-span", "name": "sqlite", "traceId": "7dec87df3f05697f648b81bd0f9d121b", "spanId": "f7f6602f0b56e8c8", "parentSpanId": "151aa3b9af14e044", "startTimeUnixNano": "1796073774303558653", "endTimeUnixNano": "1796073774305464841", "durationMs": 1.906188, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.013045}}
{"type": "effect-span", "name": "sqlite", "traceId": "7dec87df3f05697f648b81bd0f9d121b", "spanId": "157cd4001c01628a", "parentSpanId": "151aa3b9af14e044", "startTimeUnixNano": "1796073774305492122", "endTimeUnixNano": "1796073774310953863", "durationMs": 5.461741, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.012102}}
{"type": "effect-span", "name": "sqlite", "traceId": "7dec87df3f05697f648b81bd0f9d121b", "spanId": "d6011a4e2d24a927", "parentSpanId": "151aa3b9af14e044", "startTimeUnixNano": "1796073774320492755", "endTimeUnixNano": "1796073774324682356", "durationMs": 4.189601, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016862}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "7dec87df3f05697f648b81bd0f9d121b", "spanId": "151aa3b9af14e044", "parentSpanId": "a0c9a644204dfa55", "startTimeUnixNano": "1796073774302810934", "endTimeUnixNano": "1796073774325009638", "durationMs": 22.198704, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "7dec87df3f05697f648b81bd0f9d121b", "spanId": "0c8ade5a0af738c4", "parentSpanId": "a0c9a644204dfa55", "startTimeUnixNano": "1796073774325026550", "endTimeUnixNano": "1796073774325345767", "durationMs": 0.319217, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "7dec87df3f05697f648b81bd0f9d121b", "spanId": "a0c9a644204dfa55", "parentSpanId": "1afc4a24d9db4221", "startTimeUnixNano": "1796073774300687069", "endTimeUnixNano": "1796073774325373710", "durationMs": 24.686641, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.911147, "db.connection": "reader", "db.lock_wait_ms": 1.879}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "7dec87df3f05697f648b81bd0f9d121b", "spanId": "1afc4a24d9db4221", "parentSpanId": "0f1882b8c35c7174", "startTimeUnixNano": "1796073774300676750", "endTimeUnixNano": "1796073774325398576", "durationMs": 24.721826, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "7dec87df3f05697f648b81bd0f9d121b", "spanId": "0f1882b8c35c7174", "parentSpanId": "10ff81bd7eb95ba6", "startTimeUnixNano": "1796073774300635122", "endTimeUnixNano": "1796073774325403676", "durationMs": 24.768554, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "7dec87df3f05697f648b81bd0f9d121b", "spanId": "10ff81bd7eb95ba6", "startTimeUnixNano": "1796073774300621907", "endTimeUnixNano": "1796073774325409857", "durationMs": 24.78795, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c9fa07031dd7e87387e98aa83b435dae", "spanId": "a183272ad1dadd29", "parentSpanId": "b2ab8d54a3914c94", "startTimeUnixNano": "1796073774519051808", "endTimeUnixNano": "1796073774519359543", "durationMs": 0.307735, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c9fa07031dd7e87387e98aa83b435dae", "spanId": "35f2fd277e53f173", "parentSpanId": "97aa9d0279e4ba11", "startTimeUnixNano": "1796073774519393026", "endTimeUnixNano": "1796073774519552034", "durationMs": 0.159008, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004068}}
{"type": "effect-span", "name": "sqlite", "traceId": "c9fa07031dd7e87387e98aa83b435dae", "spanId": "ac09565dd3a1befa", "parentSpanId": "97aa9d0279e4ba11", "startTimeUnixNano": "1796073774519617777", "endTimeUnixNano": "1796073774521684845", "durationMs": 2.067068, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007774}}
{"type": "effect-span", "name": "sqlite", "traceId": "c9fa07031dd7e87387e98aa83b435dae", "spanId": "9dd02c1063dc4799", "parentSpanId": "97aa9d0279e4ba11", "startTimeUnixNano": "1796073774521698691", "endTimeUnixNano": "1796073774525207909", "durationMs": 3.509218, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006092}}
{"type": "effect-span", "name": "sqlite", "traceId": "c9fa07031dd7e87387e98aa83b435dae", "spanId": "3719be4abcebe257", "parentSpanId": "97aa9d0279e4ba11", "startTimeUnixNano": "1796073774532828400", "endTimeUnixNano": "1796073774536489262", "durationMs": 3.660862, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011402}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c9fa07031dd7e87387e98aa83b435dae", "spanId": "97aa9d0279e4ba11", "parentSpanId": "b2ab8d54a3914c94", "startTimeUnixNano": "1796073774519386564", "endTimeUnixNano": "1796073774536897486", "durationMs": 17.510922, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c9fa07031dd7e87387e98aa83b435dae", "spanId": "3516f27fef30b1d0", "parentSpanId": "b2ab8d54a3914c94", "startTimeUnixNano": "1796073774536920869", "endTimeUnixNano": "1796073774537337810", "durationMs": 0.416941, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c9fa07031dd7e87387e98aa83b435dae", "spanId": "b2ab8d54a3914c94", "parentSpanId": "418bbe32698bbc2b", "startTimeUnixNano": "1796073774515603915", "endTimeUnixNano": "1796073774537357677", "durationMs": 21.753762, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 3.443043, "db.connection": "reader", "db.lock_wait_ms": 3.415}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c9fa07031dd7e87387e98aa83b435dae", "spanId": "418bbe32698bbc2b", "parentSpanId": "86eb9076bf7532f8", "startTimeUnixNano": "1796073774515596431", "endTimeUnixNano": "1796073774537371332", "durationMs": 21.774901, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c9fa07031dd7e87387e98aa83b435dae", "spanId": "86eb9076bf7532f8", "parentSpanId": "1dbc653b663faa16", "startTimeUnixNano": "1796073774515569591", "endTimeUnixNano": "1796073774537376793", "durationMs": 21.807202, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c9fa07031dd7e87387e98aa83b435dae", "spanId": "1dbc653b663faa16", "startTimeUnixNano": "1796073774515553440", "endTimeUnixNano": "1796073774537384457", "durationMs": 21.831017, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "227f068caf6de9438978e048ccb06016", "spanId": "6f51d4ff4e6dbb34", "parentSpanId": "4e09329eafc74007", "startTimeUnixNano": "1796073775966491052", "endTimeUnixNano": "1796073775967108768", "durationMs": 0.617716, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "227f068caf6de9438978e048ccb06016", "spanId": "00227f4d700f15a5", "parentSpanId": "940dcbfdbdbd8779", "startTimeUnixNano": "1796073775967160525", "endTimeUnixNano": "1796073775967796195", "durationMs": 0.63567, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006593}}
{"type": "effect-span", "name": "sqlite", "traceId": "227f068caf6de9438978e048ccb06016", "spanId": "3a08f6a090649b38", "parentSpanId": "940dcbfdbdbd8779", "startTimeUnixNano": "1796073775967867569", "endTimeUnixNano": "1796073775969338281", "durationMs": 1.470712, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.01094}}
{"type": "effect-span", "name": "sqlite", "traceId": "227f068caf6de9438978e048ccb06016", "spanId": "ad95078fa4fcfb3a", "parentSpanId": "940dcbfdbdbd8779", "startTimeUnixNano": "1796073775969351947", "endTimeUnixNano": "1796073775970916304", "durationMs": 1.564357, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007163}}
{"type": "effect-span", "name": "sqlite", "traceId": "227f068caf6de9438978e048ccb06016", "spanId": "59b3c788f24fa142", "parentSpanId": "940dcbfdbdbd8779", "startTimeUnixNano": "1796073775984266970", "endTimeUnixNano": "1796073775987110953", "durationMs": 2.843983, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.022452}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "227f068caf6de9438978e048ccb06016", "spanId": "940dcbfdbdbd8779", "parentSpanId": "4e09329eafc74007", "startTimeUnixNano": "1796073775967150416", "endTimeUnixNano": "1796073775987470436", "durationMs": 20.32002, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "227f068caf6de9438978e048ccb06016", "spanId": "2672311a46711fd0", "parentSpanId": "4e09329eafc74007", "startTimeUnixNano": "1796073775987490734", "endTimeUnixNano": "1796073775989067685", "durationMs": 1.576951, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "227f068caf6de9438978e048ccb06016", "spanId": "4e09329eafc74007", "parentSpanId": "e9503f598243c043", "startTimeUnixNano": "1796073775965302808", "endTimeUnixNano": "1796073775989093593", "durationMs": 23.790785, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.184167, "db.connection": "reader", "db.lock_wait_ms": 1.153}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "227f068caf6de9438978e048ccb06016", "spanId": "e9503f598243c043", "parentSpanId": "b93d6d2b5cb11360", "startTimeUnixNano": "1796073775965294202", "endTimeUnixNano": "1796073775989111447", "durationMs": 23.817245, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "227f068caf6de9438978e048ccb06016", "spanId": "b93d6d2b5cb11360", "parentSpanId": "b49cd6361555ae90", "startTimeUnixNano": "1796073775965254077", "endTimeUnixNano": "1796073775989116516", "durationMs": 23.862439, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "227f068caf6de9438978e048ccb06016", "spanId": "b49cd6361555ae90", "startTimeUnixNano": "1796073775965241233", "endTimeUnixNano": "1796073775989124812", "durationMs": 23.883579, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "5bf2772ed4ed4a60e0734cd1b3f76c31", "spanId": "0b6a82b9005088d5", "parentSpanId": "0142c4ff2d13cff2", "startTimeUnixNano": "1796073776190382382", "endTimeUnixNano": "1796073776190815112", "durationMs": 0.43273, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "5bf2772ed4ed4a60e0734cd1b3f76c31", "spanId": "035794a2cda0a325", "parentSpanId": "1476d069c933491e", "startTimeUnixNano": "1796073776190853504", "endTimeUnixNano": "1796073776191087221", "durationMs": 0.233717, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004298}}
{"type": "effect-span", "name": "sqlite", "traceId": "5bf2772ed4ed4a60e0734cd1b3f76c31", "spanId": "2ba98b7e8d5827f4", "parentSpanId": "1476d069c933491e", "startTimeUnixNano": "1796073776191153195", "endTimeUnixNano": "1796073776192888943", "durationMs": 1.735748, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008105}}
{"type": "effect-span", "name": "sqlite", "traceId": "5bf2772ed4ed4a60e0734cd1b3f76c31", "spanId": "95b9892974f73244", "parentSpanId": "1476d069c933491e", "startTimeUnixNano": "1796073776192901276", "endTimeUnixNano": "1796073776194363042", "durationMs": 1.461766, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.005901}}
{"type": "effect-span", "name": "sqlite", "traceId": "5bf2772ed4ed4a60e0734cd1b3f76c31", "spanId": "15fb944cbef2fb99", "parentSpanId": "1476d069c933491e", "startTimeUnixNano": "1796073776202873209", "endTimeUnixNano": "1796073776205319447", "durationMs": 2.446238, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013676}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "5bf2772ed4ed4a60e0734cd1b3f76c31", "spanId": "1476d069c933491e", "parentSpanId": "0142c4ff2d13cff2", "startTimeUnixNano": "1796073776190848534", "endTimeUnixNano": "1796073776205686975", "durationMs": 14.838441, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "5bf2772ed4ed4a60e0734cd1b3f76c31", "spanId": "f6f0674eb54f5222", "parentSpanId": "0142c4ff2d13cff2", "startTimeUnixNano": "1796073776205706993", "endTimeUnixNano": "1796073776206011803", "durationMs": 0.30481, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "5bf2772ed4ed4a60e0734cd1b3f76c31", "spanId": "0142c4ff2d13cff2", "parentSpanId": "5ce0e1f8dd515413", "startTimeUnixNano": "1796073776187681327", "endTimeUnixNano": "1796073776206033934", "durationMs": 18.352607, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.69828, "db.connection": "reader", "db.lock_wait_ms": 2.674}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "5bf2772ed4ed4a60e0734cd1b3f76c31", "spanId": "5ce0e1f8dd515413", "parentSpanId": "69d7ef13951963c2", "startTimeUnixNano": "1796073776187675135", "endTimeUnixNano": "1796073776206047560", "durationMs": 18.372425, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "5bf2772ed4ed4a60e0734cd1b3f76c31", "spanId": "69d7ef13951963c2", "parentSpanId": "32052fe016aeaac8", "startTimeUnixNano": "1796073776187648195", "endTimeUnixNano": "1796073776206052920", "durationMs": 18.404725, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "5bf2772ed4ed4a60e0734cd1b3f76c31", "spanId": "32052fe016aeaac8", "startTimeUnixNano": "1796073776187633487", "endTimeUnixNano": "1796073776206060795", "durationMs": 18.427308, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "23f6fb392dd84b9e3d2da599d0fda577", "spanId": "c6cad1c1580848bd", "parentSpanId": "5358b5a7da64d7d2", "startTimeUnixNano": "1796073777631829222", "endTimeUnixNano": "1796073777631967401", "durationMs": 0.138179, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "23f6fb392dd84b9e3d2da599d0fda577", "spanId": "484ccb5669649bd5", "parentSpanId": "b85c6231d3fb2cd7", "startTimeUnixNano": "1796073777632003358", "endTimeUnixNano": "1796073777632678451", "durationMs": 0.675093, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00566}}
{"type": "effect-span", "name": "sqlite", "traceId": "23f6fb392dd84b9e3d2da599d0fda577", "spanId": "2b79eacf33806231", "parentSpanId": "b85c6231d3fb2cd7", "startTimeUnixNano": "1796073777632751197", "endTimeUnixNano": "1796073777634001497", "durationMs": 1.2503, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008476}}
{"type": "effect-span", "name": "sqlite", "traceId": "23f6fb392dd84b9e3d2da599d0fda577", "spanId": "ecb2a5b2b6c81701", "parentSpanId": "b85c6231d3fb2cd7", "startTimeUnixNano": "1796073777634018860", "endTimeUnixNano": "1796073777635289558", "durationMs": 1.270698, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.008586}}
{"type": "effect-span", "name": "sqlite", "traceId": "23f6fb392dd84b9e3d2da599d0fda577", "spanId": "657e3a7be9603313", "parentSpanId": "b85c6231d3fb2cd7", "startTimeUnixNano": "1796073777646739167", "endTimeUnixNano": "1796073777651009168", "durationMs": 4.270001, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.030497}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "23f6fb392dd84b9e3d2da599d0fda577", "spanId": "b85c6231d3fb2cd7", "parentSpanId": "5358b5a7da64d7d2", "startTimeUnixNano": "1796073777631997437", "endTimeUnixNano": "1796073777651480039", "durationMs": 19.482602, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "23f6fb392dd84b9e3d2da599d0fda577", "spanId": "d9e3534c83bb134f", "parentSpanId": "5358b5a7da64d7d2", "startTimeUnixNano": "1796073777651505287", "endTimeUnixNano": "1796073777652289064", "durationMs": 0.783777, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "23f6fb392dd84b9e3d2da599d0fda577", "spanId": "5358b5a7da64d7d2", "parentSpanId": "40496181625dd5dd", "startTimeUnixNano": "1796073777629713051", "endTimeUnixNano": "1796073777652326594", "durationMs": 22.613543, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 2.11029, "db.connection": "reader", "db.lock_wait_ms": 2.075}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "23f6fb392dd84b9e3d2da599d0fda577", "spanId": "40496181625dd5dd", "parentSpanId": "a73499e9fd32d04e", "startTimeUnixNano": "1796073777629704044", "endTimeUnixNano": "1796073777652350659", "durationMs": 22.646615, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "23f6fb392dd84b9e3d2da599d0fda577", "spanId": "a73499e9fd32d04e", "parentSpanId": "ffc7216346a4ebff", "startTimeUnixNano": "1796073777629652348", "endTimeUnixNano": "1796073777652356760", "durationMs": 22.704412, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "23f6fb392dd84b9e3d2da599d0fda577", "spanId": "ffc7216346a4ebff", "startTimeUnixNano": "1796073777629635336", "endTimeUnixNano": "1796073777652364174", "durationMs": 22.728838, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c244bbdd36989df34f2c572d24be7228", "spanId": "f3876d4caa3e05c5", "parentSpanId": "5b78f9713a784c17", "startTimeUnixNano": "1796073777844644177", "endTimeUnixNano": "1796073777844821919", "durationMs": 0.177742, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c244bbdd36989df34f2c572d24be7228", "spanId": "70f70e6f46bf885a", "parentSpanId": "3c38678b16ed4596", "startTimeUnixNano": "1796073777844852506", "endTimeUnixNano": "1796073777845040428", "durationMs": 0.187922, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00484}}
{"type": "effect-span", "name": "sqlite", "traceId": "c244bbdd36989df34f2c572d24be7228", "spanId": "53773f25777a83b7", "parentSpanId": "3c38678b16ed4596", "startTimeUnixNano": "1796073777845103156", "endTimeUnixNano": "1796073777846112284", "durationMs": 1.009128, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007924}}
{"type": "effect-span", "name": "sqlite", "traceId": "c244bbdd36989df34f2c572d24be7228", "spanId": "f328783c19760903", "parentSpanId": "3c38678b16ed4596", "startTimeUnixNano": "1796073777846127483", "endTimeUnixNano": "1796073777847700597", "durationMs": 1.573114, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006352}}
{"type": "effect-span", "name": "sqlite", "traceId": "c244bbdd36989df34f2c572d24be7228", "spanId": "8c75a26119849193", "parentSpanId": "3c38678b16ed4596", "startTimeUnixNano": "1796073777859357213", "endTimeUnixNano": "1796073777861847153", "durationMs": 2.48994, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.016731}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c244bbdd36989df34f2c572d24be7228", "spanId": "3c38678b16ed4596", "parentSpanId": "5b78f9713a784c17", "startTimeUnixNano": "1796073777844847607", "endTimeUnixNano": "1796073777862142145", "durationMs": 17.294538, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c244bbdd36989df34f2c572d24be7228", "spanId": "da19898a8d8f354c", "parentSpanId": "5b78f9713a784c17", "startTimeUnixNano": "1796073777862155500", "endTimeUnixNano": "1796073777862943074", "durationMs": 0.787574, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c244bbdd36989df34f2c572d24be7228", "spanId": "5b78f9713a784c17", "parentSpanId": "65439e900c6a375f", "startTimeUnixNano": "1796073777843515114", "endTimeUnixNano": "1796073777862966197", "durationMs": 19.451083, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.126157, "db.connection": "reader", "db.lock_wait_ms": 1.099}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c244bbdd36989df34f2c572d24be7228", "spanId": "65439e900c6a375f", "parentSpanId": "e78aa5ac58e112bc", "startTimeUnixNano": "1796073777843508100", "endTimeUnixNano": "1796073777862979542", "durationMs": 19.471442, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c244bbdd36989df34f2c572d24be7228", "spanId": "e78aa5ac58e112bc", "parentSpanId": "b9fadf9d8cf72060", "startTimeUnixNano": "1796073777843480008", "endTimeUnixNano": "1796073777862983840", "durationMs": 19.503832, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c244bbdd36989df34f2c572d24be7228", "spanId": "b9fadf9d8cf72060", "startTimeUnixNano": "1796073777843462215", "endTimeUnixNano": "1796073777862988870", "durationMs": 19.526655, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "0aff2e6981bd1c1244f6946c9677ca49", "spanId": "fc035cc8985c607b", "parentSpanId": "de25329cee2db328", "startTimeUnixNano": "1796073779294006838", "endTimeUnixNano": "1796073779294799992", "durationMs": 0.793154, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "0aff2e6981bd1c1244f6946c9677ca49", "spanId": "e15171913b30d00c", "parentSpanId": "3146a33cab8fd22a", "startTimeUnixNano": "1796073779294836320", "endTimeUnixNano": "1796073779295456080", "durationMs": 0.61976, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006953}}
{"type": "effect-span", "name": "sqlite", "traceId": "0aff2e6981bd1c1244f6946c9677ca49", "spanId": "f8b5f1aab4d31c9b", "parentSpanId": "3146a33cab8fd22a", "startTimeUnixNano": "1796073779295536371", "endTimeUnixNano": "1796073779296627302", "durationMs": 1.090931, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.009227}}
{"type": "effect-span", "name": "sqlite", "traceId": "0aff2e6981bd1c1244f6946c9677ca49", "spanId": "844ca9063965cadb", "parentSpanId": "3146a33cab8fd22a", "startTimeUnixNano": "1796073779296645717", "endTimeUnixNano": "1796073779297936503", "durationMs": 1.290786, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007353}}
{"type": "effect-span", "name": "sqlite", "traceId": "0aff2e6981bd1c1244f6946c9677ca49", "spanId": "54b0926dfb1946f5", "parentSpanId": "3146a33cab8fd22a", "startTimeUnixNano": "1796073779309855109", "endTimeUnixNano": "1796073779312807575", "durationMs": 2.952466, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.013185}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "0aff2e6981bd1c1244f6946c9677ca49", "spanId": "3146a33cab8fd22a", "parentSpanId": "de25329cee2db328", "startTimeUnixNano": "1796073779294830559", "endTimeUnixNano": "1796073779313132112", "durationMs": 18.301553, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "0aff2e6981bd1c1244f6946c9677ca49", "spanId": "bef52a0396996289", "parentSpanId": "de25329cee2db328", "startTimeUnixNano": "1796073779313148303", "endTimeUnixNano": "1796073779313407237", "durationMs": 0.258934, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "0aff2e6981bd1c1244f6946c9677ca49", "spanId": "de25329cee2db328", "parentSpanId": "b83376035c3591ac", "startTimeUnixNano": "1796073779292734887", "endTimeUnixNano": "1796073779313442814", "durationMs": 20.707927, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.268374, "db.connection": "reader", "db.lock_wait_ms": 1.236}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "0aff2e6981bd1c1244f6946c9677ca49", "spanId": "b83376035c3591ac", "parentSpanId": "219db7e17fd77e6f", "startTimeUnixNano": "1796073779292726632", "endTimeUnixNano": "1796073779313463974", "durationMs": 20.737342, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "0aff2e6981bd1c1244f6946c9677ca49", "spanId": "219db7e17fd77e6f", "parentSpanId": "7218b62991dcbf02", "startTimeUnixNano": "1796073779292688711", "endTimeUnixNano": "1796073779313469885", "durationMs": 20.781174, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "0aff2e6981bd1c1244f6946c9677ca49", "spanId": "7218b62991dcbf02", "startTimeUnixNano": "1796073779292673663", "endTimeUnixNano": "1796073779313478010", "durationMs": 20.804347, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "9fae5ebec202bc89f8955d6b933074c4", "spanId": "70462dc6b7e3c8ce", "parentSpanId": "9d102183a06e95ef", "startTimeUnixNano": "1796073779507036022", "endTimeUnixNano": "1796073779507398350", "durationMs": 0.362328, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "9fae5ebec202bc89f8955d6b933074c4", "spanId": "87129239dd7deac5", "parentSpanId": "a89cd8df4cadd286", "startTimeUnixNano": "1796073779507457120", "endTimeUnixNano": "1796073779507600188", "durationMs": 0.143068, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.004879}}
{"type": "effect-span", "name": "sqlite", "traceId": "9fae5ebec202bc89f8955d6b933074c4", "spanId": "ff66fe5f347162eb", "parentSpanId": "a89cd8df4cadd286", "startTimeUnixNano": "1796073779507667313", "endTimeUnixNano": "1796073779508807117", "durationMs": 1.139804, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.007564}}
{"type": "effect-span", "name": "sqlite", "traceId": "9fae5ebec202bc89f8955d6b933074c4", "spanId": "ffde58d5328a69ad", "parentSpanId": "a89cd8df4cadd286", "startTimeUnixNano": "1796073779508821844", "endTimeUnixNano": "1796073779514630976", "durationMs": 5.809132, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.006703}}
{"type": "effect-span", "name": "sqlite", "traceId": "9fae5ebec202bc89f8955d6b933074c4", "spanId": "e4fdeeeac95f5971", "parentSpanId": "a89cd8df4cadd286", "startTimeUnixNano": "1796073779526643198", "endTimeUnixNano": "1796073779529754471", "durationMs": 3.111273, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.011071}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "9fae5ebec202bc89f8955d6b933074c4", "spanId": "a89cd8df4cadd286", "parentSpanId": "9d102183a06e95ef", "startTimeUnixNano": "1796073779507451109", "endTimeUnixNano": "1796073779530127971", "durationMs": 22.676862, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "9fae5ebec202bc89f8955d6b933074c4", "spanId": "ec1bdaf7b57efb03", "parentSpanId": "9d102183a06e95ef", "startTimeUnixNano": "1796073779530143500", "endTimeUnixNano": "1796073779530899735", "durationMs": 0.756235, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "9fae5ebec202bc89f8955d6b933074c4", "spanId": "9d102183a06e95ef", "parentSpanId": "a62b744304d376d6", "startTimeUnixNano": "1796073779505579957", "endTimeUnixNano": "1796073779530918650", "durationMs": 25.338693, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.451226, "db.connection": "reader", "db.lock_wait_ms": 1.419}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "9fae5ebec202bc89f8955d6b933074c4", "spanId": "a62b744304d376d6", "parentSpanId": "1f7da6e9b3e6c25f", "startTimeUnixNano": "1796073779505570409", "endTimeUnixNano": "1796073779530936313", "durationMs": 25.365904, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "9fae5ebec202bc89f8955d6b933074c4", "spanId": "1f7da6e9b3e6c25f", "parentSpanId": "d91325b1194734ed", "startTimeUnixNano": "1796073779505535343", "endTimeUnixNano": "1796073779530941012", "durationMs": 25.405669, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "9fae5ebec202bc89f8955d6b933074c4", "spanId": "d91325b1194734ed", "startTimeUnixNano": "1796073779505509906", "endTimeUnixNano": "1796073779530947775", "durationMs": 25.437869, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "125fc7aa342a9416a2a8d4fe001a3663", "spanId": "8823ab6ea2e95d9c", "parentSpanId": "a4c8d391cfa1e263", "startTimeUnixNano": "1796073781068540124", "endTimeUnixNano": "1796073781069194148", "durationMs": 0.654024, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "125fc7aa342a9416a2a8d4fe001a3663", "spanId": "073071472cb3d400", "parentSpanId": "8002c00edb0972ae", "startTimeUnixNano": "1796073781069231217", "endTimeUnixNano": "1796073781069808297", "durationMs": 0.57708, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.00499}}
{"type": "effect-span", "name": "sqlite", "traceId": "125fc7aa342a9416a2a8d4fe001a3663", "spanId": "026b43f2a55613ce", "parentSpanId": "8002c00edb0972ae", "startTimeUnixNano": "1796073781069876625", "endTimeUnixNano": "1796073781071393114", "durationMs": 1.516489, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008727}}
{"type": "effect-span", "name": "sqlite", "traceId": "125fc7aa342a9416a2a8d4fe001a3663", "spanId": "5fb3ec3d7a3b217a", "parentSpanId": "8002c00edb0972ae", "startTimeUnixNano": "1796073781071414193", "endTimeUnixNano": "1796073781076804862", "durationMs": 5.390669, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.009859}}
{"type": "effect-span", "name": "sqlite", "traceId": "125fc7aa342a9416a2a8d4fe001a3663", "spanId": "c62bb48d4570150c", "parentSpanId": "8002c00edb0972ae", "startTimeUnixNano": "1796073781086027163", "endTimeUnixNano": "1796073781088734500", "durationMs": 2.707337, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.012273}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "125fc7aa342a9416a2a8d4fe001a3663", "spanId": "8002c00edb0972ae", "parentSpanId": "a4c8d391cfa1e263", "startTimeUnixNano": "1796073781069225567", "endTimeUnixNano": "1796073781089117968", "durationMs": 19.892401, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "125fc7aa342a9416a2a8d4fe001a3663", "spanId": "5f34fbfbced89c22", "parentSpanId": "a4c8d391cfa1e263", "startTimeUnixNano": "1796073781089134249", "endTimeUnixNano": "1796073781090053689", "durationMs": 0.91944, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "125fc7aa342a9416a2a8d4fe001a3663", "spanId": "a4c8d391cfa1e263", "parentSpanId": "27249e80872d0701", "startTimeUnixNano": "1796073781067117131", "endTimeUnixNano": "1796073781090077394", "durationMs": 22.960263, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.418094, "db.connection": "reader", "db.lock_wait_ms": 1.383}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "125fc7aa342a9416a2a8d4fe001a3663", "spanId": "27249e80872d0701", "parentSpanId": "4d870a1fafa431bb", "startTimeUnixNano": "1796073781067107663", "endTimeUnixNano": "1796073781090100257", "durationMs": 22.992594, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "125fc7aa342a9416a2a8d4fe001a3663", "spanId": "4d870a1fafa431bb", "parentSpanId": "e9f1b0abee870758", "startTimeUnixNano": "1796073781067063831", "endTimeUnixNano": "1796073781090107340", "durationMs": 23.043509, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "125fc7aa342a9416a2a8d4fe001a3663", "spanId": "e9f1b0abee870758", "startTimeUnixNano": "1796073781067046709", "endTimeUnixNano": "1796073781090117359", "durationMs": 23.07065, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "BEGIN", "traceId": "c88baff79681514790e86b9688ecc91f", "spanId": "7c8077508d464f7d", "parentSpanId": "56fffb4c143d537d", "startTimeUnixNano": "1796073781295734197", "endTimeUnixNano": "1796073781295872917", "durationMs": 0.13872, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sqlite", "traceId": "c88baff79681514790e86b9688ecc91f", "spanId": "67a2afcea8b1123d", "parentSpanId": "26784cbd601b4ede", "startTimeUnixNano": "1796073781295917170", "endTimeUnixNano": "1796073781296158852", "durationMs": 0.241682, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n          SELECT payload_json\n          FROM orchestration_v2_projection_threads\n          WHERE thread_id = ?\n          LIMIT 1\n        ", "db.client.connection.wait_time_ms": 0.006061}}
{"type": "effect-span", "name": "sqlite", "traceId": "c88baff79681514790e86b9688ecc91f", "spanId": "c8853fccf429e1d4", "parentSpanId": "26784cbd601b4ede", "startTimeUnixNano": "1796073781296229945", "endTimeUnixNano": "1796073781297580824", "durationMs": 1.350879, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT payload_json\n            FROM orchestration_v2_projection_runs\n            WHERE thread_id = ?\n              \n              ORDER BY ordinal ASC\n          ", "db.client.connection.wait_time_ms": 0.008336}}
{"type": "effect-span", "name": "sqlite", "traceId": "c88baff79681514790e86b9688ecc91f", "spanId": "116af34d75eb319c", "parentSpanId": "26784cbd601b4ede", "startTimeUnixNano": "1796073781297604648", "endTimeUnixNano": "1796073781299173915", "durationMs": 1.569267, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n                SELECT payload_json FROM orchestration_v2_projection_messages\n                \n                WHERE thread_id = ?\n                  \n                  \n                  AND role IN \u2026[truncated]", "db.client.connection.wait_time_ms": 0.007915}}
{"type": "effect-span", "name": "sqlite", "traceId": "c88baff79681514790e86b9688ecc91f", "spanId": "36805a4b27190be3", "parentSpanId": "26784cbd601b4ede", "startTimeUnixNano": "1796073781310116726", "endTimeUnixNano": "1796073781312928359", "durationMs": 2.811633, "exit": {"_tag": "Success"}, "attributes": {"db.query.text": "\n            SELECT json_extract(payload_json, '$.messageId') AS message_id, MIN(ordinal) AS ordinal\n            FROM orchestration_v2_projection_turn_items\n            WHERE thread_id = ? AND type IN\u2026[truncated]", "db.client.connection.wait_time_ms": 0.010871}}
{"type": "effect-span", "name": "ProjectionStore.readCanonicalProjection", "traceId": "c88baff79681514790e86b9688ecc91f", "spanId": "26784cbd601b4ede", "parentSpanId": "56fffb4c143d537d", "startTimeUnixNano": "1796073781295910417", "endTimeUnixNano": "1796073781313353564", "durationMs": 17.443147, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "COMMIT", "traceId": "c88baff79681514790e86b9688ecc91f", "spanId": "665213abe3810bf8", "parentSpanId": "56fffb4c143d537d", "startTimeUnixNano": "1796073781313370837", "endTimeUnixNano": "1796073781313643557", "durationMs": 0.27272, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "sql.transaction", "traceId": "c88baff79681514790e86b9688ecc91f", "spanId": "56fffb4c143d537d", "parentSpanId": "643b2ff1b838e427", "startTimeUnixNano": "1796073781294006925", "endTimeUnixNano": "1796073781313672822", "durationMs": 19.665897, "exit": {"_tag": "Success"}, "attributes": {"db.client.connection.wait_time_ms": 1.723015, "db.connection": "reader", "db.lock_wait_ms": 1.683}}
{"type": "effect-span", "name": "OrchestratorV2.getThreadRecords", "traceId": "c88baff79681514790e86b9688ecc91f", "spanId": "643b2ff1b838e427", "parentSpanId": "14541c2b5db93da3", "startTimeUnixNano": "1796073781293994221", "endTimeUnixNano": "1796073781313694693", "durationMs": 19.700472, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadManagementService.getThreadRecords", "traceId": "c88baff79681514790e86b9688ecc91f", "spanId": "14541c2b5db93da3", "parentSpanId": "60e3034a5553faf4", "startTimeUnixNano": "1796073781293952863", "endTimeUnixNano": "1796073781313701776", "durationMs": 19.748913, "exit": {"_tag": "Success"}, "attributes": {}}
{"type": "effect-span", "name": "ThreadHandoff.settle", "traceId": "c88baff79681514790e86b9688ecc91f", "spanId": "60e3034a5553faf4", "startTimeUnixNano": "1796073781293928608", "endTimeUnixNano": "1796073781313711394", "durationMs": 19.782786, "exit": {"_tag": "Success"}, "attributes": {}}
