Dashboardopencode-lore/lore:curate JSONL parsing

/lore:curate JSONL parsing

Category: gotcha
Confidence: 1.00
ID: 01a0a06d-0637-75d0-a1a0-bfb990bef1f3
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 0IxrNA1DXwHaouNJs
Created: 2026-09-14 14:58:14
Updated: 2026-09-14 14:58:14

Content

Trap: whole-output JSON.parse() looks correct for /lore:curate, but the command emits JSONL, so multiline output fails and can silently hide reported errors. Fix: parse each non-empty line independently, ignore malformed lines, surface the first type:"error", and contain outer parsing failures. Determine score validity from primary result.json and session traces, never the auxiliary curate log.

Move to: