Dashboard › opencode-lore › Distillation
Distillation
ID: 0a5ebc88-57a1-4572-a70b-0fb9b4d0e94d
Generation: 0
Tokens: 273
R_compression: 1.752
C_norm: 0.000
Archived: No
Created: 2026-09-16 20:13:23
Source IDs:
["lore_tm_v1_ckbgIqAKSeaAdMWaVHMXuv-bmltcpTfl-k5Mi0cFKrE"]
Observations
Date: Sep 16, 2026
- 🔴 (13:48) User asserted sparse numeric identities “never need more address space than the number of frames we are willing to process.”
accumulateResponsesSSEStream() in /home/byk/Code/opencode-lore/packages/gateway/src/stream/openai-responses.ts caps even caller-supplied frame overrides at the production ceiling.
- 🔴 (13:48) User asserted: “Never log arbitrary upstream error content.” Error messages from parsers, fetches, and upstream responses must be treated as untrusted because they may embed response bodies or sensitive content. Request and streaming failures must use fixed, sanitized log messages; details may be exposed only for a small explicit allowlist of known internal error strings. Logs must not interpolate arbitrary
error.message, response text, or captured upstream payloads, and client-facing failure responses must remain generic.
- 🔴 (13:48) User asserted: “Replace accumulated text with the final version (more reliable).” In
applyResponsesEvent() at /home/byk/Code/opencode-lore/packages/gateway/src/stream/openai-responses.ts lines 652–661, response.output_text.done assigns parsed.text directly to item.text, replacing text accumulated from response.output_text.delta.