观点
v2Rewrite as a self-contained knowledge unit: plain-language conclusion, problem context, mechanism, example and limits; retain existing citations.
Carl Zhu
与 v1 相比
标题
修改前
A small injected memory index should point to deeper searchable memory rather than load everything
修改后
AI agents should load a short memory index at the start of each session and retrieve detailed knowledge only when needed.
详细描述
修改前
Use four layers: session event logs, experience notes, linked knowledge representations and an automatically loaded index. Promote only stable, frequently useful guidance, demote details to linked pages, and retain source provenance. Claude Code illustrates a bounded entry point with the first 200 lines or 25 KB of MEMORY.md.
修改后
An AI agent with a long history cannot fit every past experience into each new conversation. Anthropic describes four layers of persistent memory: searchable session records, notes about useful experiences, linked knowledge such as wikis, and a small amount of context loaded at startup. A short startup index tells the agent what knowledge exists and where to find it, while detailed notes stay available for on-demand retrieval. Claude Code illustrates this approach by loading only the first 200 lines or 25 KB of its MEMORY.md index.
适用条件
修改前
An architectural pattern, not a validated universal size limit. Injection consumes context and can amplify wrong or outdated memories; loaded notes may still be ignored. The limit is specific to the cited Claude Code behavior.
修改后
Use automatic loading for stable, frequently needed guidance or pointers. Long or inaccurate startup instructions can consume context and repeat mistakes across sessions; even loaded instructions may be ignored. The Claude Code size limit is an implementation example, not a general optimum.
