Engram::MemoryHit
One ranked or recent memory, as returned across the search/recent seam.
search.cr is built in a parallel stage; rather than depend on its
concrete type, McpServer is constructed with plain Procs (see
McpServer::SearchProc / McpServer::RecentProc) that must return
Array(MemoryHit). This struct IS the seam contract.
Constructors
Instance methods
clone
Sourcecopy_with(id _id = @id, title _title = @title, topics _topics = @topics, snippet _snippet = @snippet, score _score = @score)
Sourceid
score
snippet
title
topics