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.219 Home All releases olderv2.1.218 v2.1.220newer
Claude Code v2.1.219

Pinned memory files

Not switched on
Useful3 Signal4
Memory Notable

Memory files marked pinned would be injected into every conversation instead of waiting to be recalled.

Pinned-memory parsing and injection exist behind the memory index gate and are skipped when CLAUDE_COWORK_MEMORY_INDEX_CONTENT is set.

pinnedCLAUDE_COWORK_MEMORY_INDEX_CONTENT
What

Memory files can mark themselves pinned in frontmatter and are then injected as their own prompt section on every conversation rather than listed with ordinary memory files.

Details
  • metadata.pinned is parsed into a pinnedState of true, false or malformed; the most recently modified pinned files are selected up to a cap and read as a new AutoMemPinned entry type.
  • Rendered as a dedicated section of <pinned-memory path="…"> blocks with control characters stripped from the path, and excluded from the ordinary memory-file editor list.
  • Telemetry: memory_pinned_inject records injected counts, truncation, malformed pins and cap drops; tengu_memdir_pinned_injected records counts plus truncated/malformed; tengu_memdir_pin_write fires on writes to memory files.
  • Lives in the cowork memory path, running only when the surrounding index gate passes and the CLAUDE_COWORK_MEMORY_INDEX_CONTENT env var is unset.
Evidence

# Pinned memories (apply to every conversation), AutoMemPinned

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.219 →