RSI-BOOT Gives Coding Agents Shared Repository Memory
RSI-BOOT is a repository-scoped procedural memory layer that stores conventions, prohibitions, and learned fixes in a repository’s .rsi/ directory. Its author says Cursor, Claude Code, Codex, Qoder, and DeepSeek Harness can connect to the same local MCP service, while the main recall and approval path requires no model call, network access, or API key; new entries must be approved before they are retained.
If implemented as described, RSI-BOOT could let teams carry version-controlled engineering rules across multiple coding-agent tools instead of maintaining separate machine- or account-bound memories.
系列:《AI 共享记忆:RSI-BOOT 让跨工具、多人协同实现共用一份记忆库》第 1 篇 配套系列深潜:RSI 到底是什么见第 2 篇、装上跑通见第 3 篇、接进五大宿主见第 4 篇、召回链路机制见第 5 篇、基准公信力见第 23/24/25 篇、与 Mem0 选型对比见第 26 篇。
你在这个项目里教过 Agent 三件事:函数名用蛇形、支付日志里不能打卡号、上次那个空指针是先判空再取字段。这三件是这个仓库的规矩,不是某一次聊天的废话。
它们现在常常不跟着仓库走:宿主的记忆功能可能哪天就被删掉,本机记忆不进 git,云记忆跟的是账号而不是仓库。
三种丢法,代价各不相同,正好下一节逐个说。
RSI-BOOT 把约定、禁止项和修过的教训放进仓库自己的 .rsi/。目录跟着仓库走,打开另一个仓库就是另一份,不会串。Cursor、Claude Code、Codex、Qoder、DeepSeek Harness 接的是同一份。主链路不调用模型,也不要 API Key。
一、三类痛点:规矩为什么总在丢
把"项目规矩记不住"这件事拆开看,其实是三种不同的丢失方式,每一种对应的代价都不一样,解决办法也完全不同。