Repositories / OpenClaw
Focused tour of agent execution, memory search, and tool orchestration; not a whole-project map.
Runs built-in memory retrieval across vector and keyword indexes before combining ranked results.
Stored evidence from this immutable analysis snapshot
const hasVector = queryVec.some((v) => v !== 0);const vectorResults = hasVector? await this.searchVector(queryVec, candidates, sourceFilterList).catch((err: unknown) => {log.warn(`memory search: vector query failed: ${formatErrorMessage(err)}`);return [];}): [];
if (!hybrid.enabled || !this.fts.enabled || !this.fts.available) { return vectorResults.filter((entry) => entry.score >= minScore).slice(0, maxResults);