Dashboard › opencode-lore › Distillation
196b9443-a514-4217-89d4-97c164f92853["lore_tm_v1_D78uA0_4dbESyzswkFFAlMWIF5XvATSz9MXn71fs0b0","lore_tm_v1_ujlHlMmatJsVzb7BT-k_M-Ini-PrFfcKb7CtVXQF3oc","lore_tm_v1_4eM5w3dUNRpJivoZpogWbxOtQ1qt33foRpWaLujL9lk","lore_tm_v1_a1uv1ZNpOTD9AgQzY2i-SvGmAWyMw4agQMJ8zJYyXgs","lore_tm_v1_i0aeYu0ZuSyQuDqjI57KgMCH5Dy_646XJJZO-WfqA6o","lore_tm_v1_hRYx2G1laNGHGMtRlU5WQRktY02PgPMYPNiScl8yQp4","lore_tm_v1_K_u5T2Yo6CBzZ_I2nF1X3Uf9QG5RPT96hEPK31kr1nM","lore_tm_v1_dTgts8elm6jjeY2TjnVMxif10yhvXK9h3HJ-69my2dg","lore_tm_v1_Vi4c94QxcFH2XaSIZkS3x2NxX0SVM8apUABJG0sPx1I","lore_tm_v1_mQPTrpM64SkTHBtDjPl_cqCTuGO8_mzaq48wnkmMsKU","lore_tm_v1_V3UCVFl3nklbVulavGkO1Krctmrk7NM2nnWCAzmq6jQ","lore_tm_v1_-5CMwCqpXkCqCmLCZsMdQh-B1HGkTaSqoNEH7XcjqAA","lore_tm_v1_zR0hwlhrLBRN85WnJ6IQ5e2musdT5m6ic4hDxpGvi2E","lore_tm_v1_791SoA6y_Ntoz9AvVKougVemYWMwiXJEPd9mfNXXqXg","lore_tm_v1_TWwbGNJaubqcD_ql15_MpwaQGNDS3CngpvAF-5l4XpI","lore_tm_v1_dsTXkl_6PtRce54jZR__y9lnbF319Ypft3vQcVhHRfU","lore_tm_v1_a9i_y1eMUNfplvfpFVsoqlSitFNFfhcuZvUtGlfu8WM","lore_tm_v1_QZnGKLfo2L65h5tW3JKDRwUoeMwwzL6E5gkNFUvEI9E","lore_tm_v1_xDM8qhnNMPgWTGaJzwerk9qItW9XTzyrAb62teKslPQ","lore_tm_v1_4PrefeIwSTn5bDGzAEckldS7hztfR7apqcbfie5oHSw","lore_tm_v1_vfDE1e0V94RDA1N-QuKz79PHAv2ls75FocGYZooFUM8","lore_tm_v1_tAz7LJnXZxBcT13KClz0g7QX539gn1w0kD7MHMRucUM","lore_tm_v1_cZMywyGQYpsogqm0D2pFIZVMYu117LFOV7bydR926ZQ","lore_tm_v1_2xTRymbscDFR0MfeOp_ji6sSF3xGEeruW7YVaolDa5s","lore_tm_v1_j1AF3c47B2fbksPJdSC7E0WSdKOIxfdiUCaWZDM5MOI","lore_tm_v1_o_-7aanvQaccXAa8uBQu1l1J0GLPhRSRr3UW3TM7X_0","lore_tm_v1_9RKsWPIXYrBIT-xLV5pnvPfaw4P2YslT7WnQDN5xPXM","lore_tm_v1_wEjJ3dlDGRX4-O6merZxkpRlCQ61D0qMdejRxK_CfmE","lore_tm_v1_A9OmDY6IGL0e4Kt18dhsnFFiztBJR2YFbM1YL55eAUA","lore_tm_v1_8Y6i89hCmO8CGB11lU4p5ePviJ0aio3p5VQzDJUTrVM","lore_tm_v1_cmMCCS2L5ywMHTxOkJ5V-wtmhU8U4gJK9qOHQV3axuA","lore_tm_v1_KGsKSUUJQsYQTilVdh6C69A-iehB6OJewmHoa0iaAAA","lore_tm_v1_yyPjI2eabL5FQbXZdrEQUbAG7-eK77q5BjsnwRpq1Ew","lore_tm_v1_Q2BNHKGW8CPg3dsWYJEldlE1L8ytYsFugo8DRQcGHkI","lore_tm_v1_atHqvqfrJS_PyRhYQeHRPHLlPEq_FwF5h0-25pI3Mx8","lore_tm_v1_J3yhyb-kjsUawHMtO1rOpADqNo9v5XuxgMqjcVrlQ88","lore_tm_v1_H92Wlzv1ummZzZwjvfsPYKgHArWCd5zeo7hbgxfeOlw","lore_tm_v1_Fsit6oeuUjoGM1i_q-4mp8yGyXV6MEU2tCZ3ield5wg","lore_tm_v1_JGvq0SR2RHBqQIdIuiyYKcfKbCwPcpObugu8SicIU_4","lore_tm_v1_SoAJ1M7i5Z9pNwnwp1pKY3tcM6PVuPHdynIDjk8y2P8","lore_tm_v1_DuEVWHzXk-EicgoVoDqjzBiEZpyKZi00njj17VjeqXY","lore_tm_v1_8IglfqTko-8JdcKFlvAvwZTKGyZl3ek3tHtc_ZDPkKU","lore_tm_v1_sNQpaBgyBK_7eH31xhjNDXysxx5Hz3wFG9aok3QSVQU","lore_tm_v1_V0PGb5O2W147bNyY8WGkFbLclA0I7r6R3dZmk4StkMo","lore_tm_v1_01DY4aVebOBVrTBHAUz_E2J858vKP6Tzxm4hm-oHjEs","lore_tm_v1_B2ndaTFNPU50LHwvV6xeniQCDnYcG2ZwAdKCAC8nJ8M","lore_tm_v1_pzH-UxeRYv_7WIyKk3qHulD8U9t1mwK1CooGhYDohD8","lore_tm_v1_Xnxbl6I2Q6Dnj2rM1wmyQCQj-RlQAzsoGPMvSHCmYj0","lore_tm_v1_YuPlyEa4WnPdOSCYyPQk_kGm4znmLhXMVM5OqHqtVog","lore_tm_v1_I_gmtsEfO4ZFGwJw6uE1HmofiIgjtPo_TjVfgmAb9ks","lore_tm_v1_Z-HphYl6nuNQTlUqbqO5Z5IQhFxtXg9ZUfiTtCEw0o8","lore_tm_v1_PbZVKTqM_hcjH4yEjqeDovnW8ymxqMpSpoyO8kBjJJI","lore_tm_v1_63o869BYPW9YcRLjdJTg5nKFWUw8t55ak2PbjbXbclQ"]
Date: Sep 16, 2026
packages/gateway/test/openai-responses-recall-aware-stream.test.ts was updated so pre-recall reference identity violations expect PUBLIC_GATEWAY_ERROR and reject PUBLIC_RECALL_ERROR; affected scenarios included reuse of a reference identity by a later output item, collision with synthetic marker msg_resp_reference_marker_1, and continuation references colliding with principal identities.packages/gateway/test/openai-responses-recall-aware-stream.test.ts passed all 218 tests in 18.63s.tsc --noEmit for @loreai/gateway@0.40.0 with no reported errors.packages/gateway/test/worker-copilot-responses.test.ts, packages/gateway/test/openai-responses-recall-aware-stream.test.ts, packages/gateway/test/responses-upstream-error-relay.test.ts, packages/gateway/test/responses-compact-routing.test.ts, packages/gateway/test/openai-responses.test.ts, and packages/gateway/test/openai-responses-stream.test.ts.packages/gateway/src/pipeline.ts and packages/gateway/test/openai-responses-recall-aware-stream.test.ts.packages/gateway/src/pipeline.ts collapsed multiline expressions around indexedGet(identityIndexFor(referenceIdentityIndices, acc), identity) and item?.type === "item_reference", and corrected indentation around mergeUsage(state.usage, contState.usage). Formatter changes in packages/gateway/test/openai-responses-recall-aware-stream.test.ts collapsed the "public continuation" content array and terminal item_reference output array to single lines.packages/gateway/src/pipeline.ts and test edits, targeted execution regressed 2 tests: "privately accumulates a done-only sparse Codex item_reference" exposed response.output_item.done containing private identity msg_done_only_private, and "keeps done-only continuation references private" returned response.failed instead of "public continuation". Both failures were classified as protocol errors (principal_protocol and follow_up_protocol).packages/gateway/src/pipeline.ts made a targeted set of 4 tests pass, with 214 of 218 skipped, in 12.72s.item_reference replacement of completed visible message, function_call, and reasoning items did not produce a parseable response.failed; continuation terminal reference replacement yielded a failure payload without response.output: []."preflights a reference-driven continuation offset before recall side effects" test still classified the error as follow_up_setup and returned PUBLIC_RECALL_ERROR ("Lore could not continue the response after recall") rather than required PUBLIC_GATEWAY_ERROR ("Gateway request failed"), while the contract required an empty output and no leaked private identity or side effects."preflights a reference-driven continuation offset before recall side effects" pass alone: 1 passed and 217 skipped out of 218."bounds reference indices before recall and continuation side effects" failed because the emitted failure payload lacked response.output: []; additional changes were applied to packages/gateway/src/pipeline.ts.principal_protocol, but their public response.failed.output still retained the previously visible item: a message containing "visible message", a read function call with {"path":"visible"}, or reasoning item rs_visible_reference_replacement, instead of being cleared to [].{ type: "text", text: "visible message" }, function-call completion contained { type: "tool_use", id: "call_visible_reference_replacement", name: "read", input: { path: "visible" } }, and reasoning completion retained rs_visible_reference_replacement; the contract required both completion.response.content and completion.response.rawOutputItems to be empty."does not classify a later-resolved sparse ordinary tool as private beside a reference" failed with principal_protocol: output omitted the visible ordinary tool name "read" and identity, returning only response.created followed by a gateway response.failed."counts private references against retained-state limits before suppression" failed because the generated failure payload had no response.output, rather than required response.output: []."never forwards response-side item_reference lifecycle events"; the corresponding test took 95ms."never forwards response-side item_reference lifecycle events" emitted an unexpected gateway response.failed, 2. "privately accumulates a done-only sparse Codex item_reference" also emitted an unexpected response.failed, and 3. "preflights a reference-driven continuation offset before recall side effects" again returned PUBLIC_RECALL_ERROR instead of PUBLIC_GATEWAY_ERROR."indexes high-cardinality reference matching with linear operations" kept output private and avoided response.failed, but its operation-count assertion failed: actual operations.count was 768 while the test required greater than cardinality * 4 (1024) and at most cardinality * 8 + 16; the implied cardinality was 256.packages/gateway/src/pipeline.ts received 2 further updates after the high-cardinality operation-count failure; no subsequent test result was shown.