Jcode memory recall
Select relevant coding-agent memories with independent Jev judgments instead of embeddings.
Select relevant coding-agent memories with independent Jev judgments instead of embeddings.
jcode sends the user's memory-recall query and batches of active memories to Jev. Each candidate contains only its content, category, and tags, and gets an independent Noul judgment about whether it directly helps answer or act on the query. jcode keeps candidates whose returned probability meets the configured relevance threshold, then ranks them and applies the requested result limit before using the selected memories for recall.
Judge this candidate independently: is it directly relevant and useful for answering the query? Broad overlap is insufficient; prefer false when relevance is uncertain or incidental.
For each bounded batch of active memories, state contains the user's query and a candidates map. Each candidate has content, category, and tags; candidate_0 is a representative positional reference, and its memory content and metadata vary with the stored entry. The example describes request shape, not a captured Jev answer.
Load the requested project and/or global memory scopes and collect active entries; storage errors propagate instead of becoming an empty result.
Sort entries into a canonical order, then batch up to 24 candidates. Include only each candidate's content, category, and tags; skip an individually oversized entry rather than truncating it.
For each candidate, send a Noul question that asks whether it directly helps with the query. Process batches sequentially under a total deadline and validate the complete answer set.
Keep scores at or above the configured threshold, sort by relevance while preserving canonical tie order, and truncate to the requested result limit.
The recall path replaces embedding search and generative recall with typed relevance judgments over every active memory. It keeps provenance and other internal fields local, uses stable ordering for ties, and fails the selection as a whole when a request or response is invalid.