Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.224 Home All releases olderv2.1.223 v2.1.225newer

Memory index built by scanning files rather than read from disk

Not switched on
Useful2 Signal4
Memory

A memory index can be generated by scanning recent files rather than read from a stored index.

The scan-built index only runs for stores that request a generated index; others keep the on-disk file.

What

New code builds a memory index at load time by walking the memory directory, taking the most recently modified files and reading each one's name and description header fields, falling back to the filename and first heading. The result is rendered as markdown and truncated at a byte budget. It runs only for stores that ask for a generated index; stores without that keep using an index file on disk.

Details
  • The walk skips dotfiles and is capped on depth, number of files and per-file size.
  • Emits tengu_memdir_index_assembled with scan counts, how many files needed the filename fallback, whether output was truncated, and whether a disk index was superseded.
  • The consolidation prompt has a matching variant that drops the "update the index file" step in favour of keeping each file's header fields accurate.
Evidence

tengu_memdir_index_assembled

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.224 →