Files
nexus/wiki/sources/养龙虾记忆调试.md
weishen f9ac3145ab feat(wiki): ingest remaining subdirectories batch (51 files)
- Others: ChinaTextbook, Obsidian笔记系列, YouTube Channel ID, TikTok PM Django
- Skills: GOG CLI, Last30Days, baoyu-skills
- Vibe Coding: Cursor 2.0, Trae远程开发, Vibe-Kanban+OpenCode, vibe coding经验
- 微信公众号: 养虾日记1-5, AI时代赚钱
- 跨境电商: TikTok数据抓取, 选品策略, Superset Dashboard
- AI目录补充: 20个文件

Source pages: 51
Entities: TapXWorld, VibeKanban, OpenCode, Trae, SourceGrounding等
Concepts: 自举Meta生成, 5大设计原则, MD5去重, 混合搜索等
2026-04-14 20:48:34 +08:00

42 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "养龙虾记忆调试"
type: source
tags: []
date: 2026-04-02
---
## Source File
- [[raw/微信公众号/养龙虾5天血泪史我的AI Agent为什么总失忆OpenClaw 记忆调试全记录.md]]
## Summary
- 核心主题OpenClaw Agent记忆问题5天调试血泪史
- 问题域:对话压缩丢失、搜索失效、系统臃肿、模型切换失忆
- 方法/机制10条内存管理黄金法则包含内存刷新、混合搜索、交接协议等
- 结论/价值系统提示词精简28%后相同模型表现更好——真正的修复是移除什么都不做的文件
## Key Claims
- 只有AGENTS.md/SOUL.md/TOOLS.md等7个文件自动加载其他需要明确读取指令
- 启动序列必须放在AGENTS.md顶部否则不会被执行
- 写入纪律比读取纪律更重要——写回是临时上下文变成永久记忆的方式
- 交接协议:模型切换前将当前上下文写入每日日志
- 混合搜索(BM25+向量+重排序)比纯语义搜索效果好
- 定期运行/context detail发现未使用技能和臃肿文件
## Key Quotes
> "系统提示词中的每个令牌都是代理在每个消息上携带的开销"
## Key Concepts
- [[内存刷新]]:压缩前将重要上下文写入磁盘
- [[混合搜索]]:关键词+向量+重排序
- [[交接协议]]:模型切换前上下文写回
- [[令牌开销]]:每个自动加载文件都是持续消耗
## Key Entities
- [[QMD]]:精准搜索工具
## Connections
- [[OpenClaw]] ← tuned_by ← [[内存刷新]] + [[混合搜索]] + [[交接协议]]
## Contradictions
- 无冲突