Dashboard › opencode-lore › Distillation
Distillation
ID: 981319a6-9419-4631-bdb1-5c8a32f93895
Generation: 0
Tokens: 268
R_compression: 2.306
C_norm: 0.000
Archived: No
Created: 2026-09-17 01:55:13
Source IDs:
["lore_tm_v1_H5PivHzkopHwh730-fzg33htjtMQVG32Aol9FdCI95g","lore_tm_v1_iAuTKSnCHYgflNluq-nfu0VNSywReOMX1Ou9iRfTqzY"]
Observations
Date: Sep 16, 2026
- 🔴 (22:53) User established that failed usage/accounting never depends on client demand; on
response.failed, finish(false, finalizeUnsuccessfulResponsesAcc(state)) runs before await waitForDemand().
- 🔴 (22:54) User reaffirmed the logging invariant in code: “Logging is best-effort. Never recurse with a sink-controlled error.”
- 🔴 (22:54) User established the response-text reconciliation rule: “Replace accumulated text with the final version (more reliable).”
- 🔴 (22:54) User reaffirmed the failed-output invariant in code: “Failed output is never authoritative and must not reach accounting hooks.”
- 🟡 (22:54) Responses passthrough completion was changed from
finish(successful: boolean) to finish(successful: boolean, response?: GatewayResponse); onComplete now receives response ?? finalizeResponsesAcc(state).
- 🟡 (22:54) Upstream stream failures now emit a fixed gateway failure using
PUBLIC_GATEWAY_ERROR, preserve created_at as state.createdAt ?? 0, and complete local accounting with finish(false, finalizeUnsuccessfulResponsesAcc(state)) rather than treating accumulated failed output as authoritative.