<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Persistence - 标签 -</title><link>https://tornado404.github.io/tags/persistence/</link><description>Persistence - 标签 -</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Tue, 07 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tornado404.github.io/tags/persistence/" rel="self" type="application/rss+xml"/><item><title>Claude Code 记忆系统：索引与按需检索的架构设计</title><link>https://tornado404.github.io/posts/cc-arch-read/02_memory-system/</link><pubDate>Tue, 07 Apr 2026 00:00:00 +0000</pubDate><author>xxxx</author><guid>https://tornado404.github.io/posts/cc-arch-read/02_memory-system/</guid><description><![CDATA[<h2 id="概述">概述</h2>
<p>Claude Code 的记忆系统（memdir）是一套精心设计的持久化知识管理机制，其核心思想是：<strong>MEMORY.md 只作为索引，内容分散在独立文件中，通过 Sonnet Selector 在每个查询循环结束时按需检索相关条目</strong>，防止上下文溢出。</p>]]></description></item></channel></rss>