MCPcopy Index your code
hub / github.com/codeaashu/claude-code / formatMemoryManifest

Function formatMemoryManifest

src/memdir/memoryScan.ts:84–94  ·  view source on GitHub ↗
(memories: MemoryHeader[])

Source from the content-addressed store, hash-verified

82 * selector prompt and the extraction-agent prompt.
83 */
84export function formatMemoryManifest(memories: MemoryHeader[]): string {
85 return memories
86 .map(m => {
87 const tag = m.type ? `[${m.type}] ` : ''
88 const ts = new Date(m.mtimeMs).toISOString()
89 return m.description
90 ? `- ${tag}${m.filename} (${ts}): ${m.description}`
91 : `- ${tag}${m.filename} (${ts})`
92 })
93 .join('\n')
94}
95

Callers 2

runExtractionFunction · 0.85
selectRelevantMemoriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected