Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.269 ·

New post-turn memory feature with configurable extraction

A new post-turn memory feature can extract memories via an MCP server instead of writing files, controlled by new env vars

TierUse it nowhow much it should matter to you
Useful5my rating, 1 to 5
Signal4worth watching, 1 to 5
AreaMemorywhat it touches
KindNew Featuresin v2.1.269,
Group of 2 Use it now Notable

A new post-turn memory feature can extract memories via an MCP server instead of writing files, controlled by new env vars

What

  • Three new environment variables control a new "post-turn memory" feature: CLAUDE_CODE_POST_TURN_MEMORY turns it on, CLAUDE_CODE_POST_TURN_MEMORY_CONFIG carries a JSON config (instruction, every_n_turns from 1-100 default 5, max_turns from 1-8 default 4, idle_flush_s from 0-86400 default 120), and CLAUDE_CODE_POST_TURN_MEMORY_SYNC forces synchronous flushing (everyNTurns=1, idleFlushSeconds=0).
  • The background memory-extraction task now supports a second mode, mcp, driven by these same env vars: instead of writing memory files, it calls a query using the configured instruction and supports idle-flush timers.
  • Extraction activity is now logged to a new ccr_memory_extract event set that records the mode (mcp vs file), instead of only the previous memory_extract event.

Why This lets memory extraction run through an MCP-based memory server rather than always writing local memory files, with configurable frequency, turn limits, and idle-flush timing, and gives clearer telemetry on which mode was used.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat post-turn memory actually does when triggered (what it writes or where) is not described in the finding.

See this entry in the whole of v2.1.269 →

Feedback