Dashboard › Code › recall.ts: unescaped quotes/ellipsis inβ¦
019e6950-8200-7473-87a5-45a861bb84af| Project | Hits | Last recalled |
|---|---|---|
| opencode-lore | 8 | 2h ago |
| opencode | 1 | 9d ago |
Trap: buildRecallMarker() embeds raw query between double-quotes and raw id before β¦ β looks safe because queries are usually plain text. But if query contains ", MARKER_REGEX (/π Searching (.+?) for "(.+?)"β¦/) truncates the captured group at the first inner quote; recallStoreKey() produces a mismatched key; store.get(key) returns undefined; the marker is left as raw text in the conversation visible to the upstream LLM. Same issue for id containing β¦. Fix: escape " β \" in buildRecallMarker() and unescape in parseRecallMarker(); for IDs, percent-encode or strip β¦ before embedding.