diff --git a/docs/configuration.html b/docs/configuration.html index 81cf605..3a23550 100644 --- a/docs/configuration.html +++ b/docs/configuration.html @@ -441,7 +441,8 @@
CARBON.md, which lives in the repo.
+ Distinct from committable AGENTS.md / CARBON.md
+ project rules, which live in the repo.
CARBON.md, which lives in the repo.",
+ "Memory is user-private knowledge pinned into the immutable prefix — so the agent reads it on every turn without re-priming. Two scopes: global (cross-project facts about you) and project (per-workspace context). Distinct from committable AGENTS.md / CARBON.md project rules, which live in the repo.",
"mem.h.layout": "Layout",
"mem.idx": "index — pinned into the prefix",
"mem.proj": "sha1(absRoot)[0..16]",
@@ -272,7 +272,7 @@
"mem.title": "Memory",
"mem.body1":
- "Memory 是用户私有的知识,钉进不可变前缀——所以 agent 每回合都自动读到,不用再重新 prime。两个 scope:global(关于你的、跨项目事实)与 project(按工作区的上下文)。和提交进仓库的 CARBON.md 不是一回事。",
+ "Memory 是用户私有的知识,钉进不可变前缀——所以 agent 每回合都自动读到,不用再重新 prime。两个 scope:global(关于你的、跨项目事实)与 project(按工作区的上下文)。和提交进仓库的 AGENTS.md / CARBON.md 项目规则不是一回事。",
"mem.h.layout": "目录布局",
"mem.idx": "索引——会被钉进前缀",
"mem.proj": "sha1(absRoot)[0..16]",
diff --git a/docs/src/config.jsx b/docs/src/config.jsx
index 4c51a55..a4cab3b 100644
--- a/docs/src/config.jsx
+++ b/docs/src/config.jsx
@@ -103,20 +103,20 @@ Only focus on the code touched by this diff — don't go off-topic.`,
title: 'Memory',
cn: { zh: '项目级与全局记忆', en: 'Project + global memory' },
desc: {
- zh: 'Carbon Code 把"应当记住"的内容拆成两层:仓库级的 CARBON.md(提交进 git,团队共享)与用户级的 ~/.carboncode/memory.md(个人偏好,不入库)。每次会话启动时自动注入到 prompt 头部。',
- en: 'Carbon Code splits "what to remember" into two layers: repo-level `CARBON.md` (checked into git, shared with the team) and user-level `~/.carboncode/memory.md` (personal preferences, kept private). Both are injected at the top of the prompt on every session.',
+ zh: 'Carbon Code 把"应当记住"的内容拆成两层:仓库级的 AGENTS.md / CARBON.md(提交进 git,团队共享)与用户级的 ~/.carboncode/memory/(个人偏好,不入库)。每次会话启动时自动注入到 prompt 头部。',
+ en: 'Carbon Code splits "what to remember" into two layers: repo-level `AGENTS.md` / `CARBON.md` files (checked into git, shared with the team) and user-level `~/.carboncode/memory/` entries (personal preferences, kept private). Both are injected at the top of the prompt on every session.',
},
bullets: [
- { zh: '