Loading...
Loading...
Compare original and translation side by side
Step 1: nmem_stats → neuron count, synapse count, memory types, age distribution
Step 2: nmem_health → purity score, component scores, warnings, recommendations
Step 3: nmem_context → recent memories, freshness indicators
Step 4: nmem_conflicts(action="list") → active contradictionsStep 1: nmem_stats → 神经元数量、突触数量、内存类型、年龄分布
Step 2: nmem_health → 纯净度得分、组件得分、警告、建议
Step 3: nmem_context → 近期内存、新鲜度指标
Step 4: nmem_conflicts(action="list") → 活跃的矛盾内容| Check | Method | Severity |
|---|---|---|
| Active contradictions | | CRITICAL if >0 |
| Near-duplicates | Recall common topics, check for paraphrases | HIGH |
| Outdated facts | Check facts older than 90 days with version-sensitive content | MEDIUM |
| Unverified claims | Look for memories without source attribution | LOW |
| 检查项 | 方法 | 严重程度 |
|---|---|---|
| 活跃矛盾 | | 若>0则为CRITICAL(致命) |
| 近似重复 | 回忆常见主题,检查是否存在意译内容 | HIGH(高) |
| 过时事实 | 检查超过90天且内容对版本敏感的事实 | MEDIUM(中) |
| 未验证声明 | 查找无来源归因的内存 | LOW(低) |
| Check | Method | Severity |
|---|---|---|
| Stale ratio | % of memories >90 days old with no recent access | HIGH if >40% |
| Expired TODOs | TODOs past their expiry still active | MEDIUM |
| Zombie memories | Memories never recalled since creation (>30 days) | LOW |
| Freshness distribution | Healthy = bell curve; unhealthy = bimodal (all new or all old) | INFO |
| 检查项 | 方法 | 严重程度 |
|---|---|---|
| 陈旧率 | 超过90天且近期未被访问的内存占比 | 若>40%则为HIGH(高) |
| 过期待办事项 | 已过期但仍处于活跃状态的TODO | MEDIUM(中) |
| 僵尸内存 | 创建后从未被回忆的内存(超过30天) | LOW(低) |
| 新鲜度分布 | 健康状态为钟形曲线;不健康状态为双峰分布(全为新内容或全为旧内容) | INFO(信息) |
| Check | Method | Severity |
|---|---|---|
| Topic balance | Recall key project topics, check memory count per topic | HIGH if topic has <2 memories |
| Decision coverage | Every major decision should have reasoning stored | HIGH |
| Error patterns | Recurring errors should have resolution memories | MEDIUM |
| Workflow completeness | Workflows should have all steps documented | LOW |
| 检查项 | 方法 | 严重程度 |
|---|---|---|
| 主题平衡 | 回忆关键项目主题,检查每个主题的内存数量 | 若某主题内存<2条则为HIGH(高) |
| 决策覆盖 | 每个重大决策都应存储推理过程 | HIGH(高) |
| 错误模式 | 重复出现的错误应有解决方法的内存 | MEDIUM(中) |
| 工作流完整性 | 工作流应记录所有步骤 | LOW(低) |
| Check | Method | Severity |
|---|---|---|
| Vague memories | Content like "fixed the thing", "updated config" | HIGH |
| Missing context | Decisions without reasoning, errors without resolution | MEDIUM |
| Overstuffed memories | Single memory covering 3+ distinct concepts | MEDIUM |
| Acronym soup | Unexpanded abbreviations without context | LOW |
decision| 检查项 | 方法 | 严重程度 |
|---|---|---|
| 模糊内存 | 内容如“修复了那个问题”、“更新了配置” | HIGH(高) |
| 缺失上下文 | 无推理的决策、无解决方法的错误 | MEDIUM(中) |
| 内容过载内存 | 单个内存涵盖3个以上不同概念 | MEDIUM(中) |
| 缩写堆砌 | 未在上下文中展开的缩写 | LOW(低) |
decision| Check | Method | Severity |
|---|---|---|
| Orphaned project refs | Memories about projects no longer active | MEDIUM |
| Technology drift | Memories about deprecated tech still active | MEDIUM |
| Context mismatch | Memories tagged for wrong project/domain | LOW |
nmem_context| 检查项 | 方法 | 严重程度 |
|---|---|---|
| 孤立项目引用 | 关于已停止活跃项目的内存 | MEDIUM(中) |
| 技术漂移 | 仍处于活跃状态的、关于已弃用技术的内存 | MEDIUM(中) |
| 上下文不匹配 | 标记给错误项目/领域的内存 | LOW(低) |
nmem_context| Check | Method | Severity |
|---|---|---|
| Low connectivity | Neurons with 0-1 synapses (orphans) | HIGH if >20% |
| Synapse monoculture | Only RELATED_TO synapses, no causal/temporal | MEDIUM |
| Fiber conductivity | % of fibers with conductivity <0.1 (nearly dead) | LOW |
| Tag drift | Same concept stored under different tags | MEDIUM |
nmem_health| 检查项 | 方法 | 严重程度 |
|---|---|---|
| 低连通性 | 拥有0-1个突触的神经元(孤立神经元) | 若>20%则为HIGH(高) |
| 突触单一化 | 仅存在RELATED_TO类型的突触,无因果/时间类型 | MEDIUM(中) |
| 纤维传导性 | 传导性<0.1的纤维占比(近乎失效) | LOW(低) |
| 标签漂移 | 同一概念存储在不同标签下 | MEDIUM(中) |
nmem_health| Severity | Criteria | Action |
|---|---|---|
| CRITICAL | Active contradictions, security-sensitive errors | Fix immediately |
| HIGH | Significant gaps, widespread staleness, vague decisions | Fix this session |
| MEDIUM | Moderate quality issues, some duplicates | Fix within 1 week |
| LOW | Cosmetic, minor optimization opportunities | Fix when convenient |
| INFO | Observations, patterns, no action needed | Note for awareness |
| 严重程度 | 判定标准 | 行动 |
|---|---|---|
| CRITICAL(致命) | 活跃矛盾、安全敏感错误 | 立即修复 |
| HIGH(高) | 重大缺口、广泛陈旧内容、模糊决策 | 本次会话内修复 |
| MEDIUM(中) | 中等质量问题、部分重复 | 1周内修复 |
| LOW(低) | 外观性问题、微小优化机会 | 方便时修复 |
| INFO(信息) | 观察结果、模式、无需行动 | 仅作记录 |
Finding: [CRITICAL] 3 active contradictions about API endpoint URLs
Memory A: "API endpoint is /v2/users" (2026-01-15)
Memory B: "Migrated API to /v3/users" (2026-02-01)
Memory C: "API uses /api/v2/users prefix" (2026-01-20)
Recommendation: Resolve via nmem_conflicts
1. Keep Memory B (most recent, explicit migration note)
2. Mark A and C as superseded
3. Store clarification: "API migrated from /v2 to /v3 on 2026-02-01"
Impact: Eliminates recall confusion for API-related queries
Effort: 2 minutes发现结果: [CRITICAL] 关于API端点URL存在3个活跃矛盾
内存A: "API endpoint is /v2/users" (2026-01-15)
内存B: "Migrated API to /v3/users" (2026-02-01)
内存C: "API uses /api/v2/users prefix" (2026-01-20)
建议: 通过nmem_conflicts工具解决
1. 保留内存B(最新版本,包含明确的迁移说明)
2. 将A和C标记为已被取代
3. 存储说明内容:"API于2026-02-01从/v2迁移至/v3"
影响:消除API相关查询时的回忆混淆
工作量:2分钟Memory Audit Report
Brain: default | Date: 2026-02-10
Overall Grade: B (82/100)
Dimension Scores:
Purity: ████████░░ 85/100 (0 conflicts, 2 near-duplicates)
Freshness: ███████░░░ 72/100 (18% stale, 1 expired TODO)
Coverage: █████████░ 90/100 (all major topics covered)
Clarity: ████████░░ 80/100 (3 vague memories found)
Relevance: █████████░ 88/100 (1 orphaned project reference)
Structure: ███████░░░ 75/100 (low synapse diversity)
Findings: 8 total
CRITICAL: 0
HIGH: 2 (staleness, vague decisions)
MEDIUM: 4 (duplicates, tag drift, low diversity, expired TODO)
LOW: 2 (acronyms, orphaned ref)
Top 3 Recommendations:
1. [HIGH] Clarify 3 vague decision memories — add reasoning
2. [MEDIUM] Resolve 2 near-duplicate memories about auth config
3. [MEDIUM] Run consolidation to improve synapse diversity
Projected grade after fixes: A- (91/100)内存审计报告
大脑:默认 | 日期:2026-02-10
总体评级:B(82/100)
各维度得分:
纯净度: ████████░░ 85/100 (0矛盾,2条近似重复)
新鲜度: ███████░░░ 72/100 (18%陈旧,1条过期待办)
覆盖范围: █████████░ 90/100 (所有主要主题均已覆盖)
清晰度: ████████░░ 80/100 (发现3条模糊内存)
相关性: █████████░ 88/100 (1条孤立项目引用)
结构: ███████░░░ 75/100 (突触多样性低)
发现结果总计:8项
致命:0
高:2(陈旧内容、模糊决策)
中:4(重复内容、标签漂移、多样性低、过期待办)
低:2(缩写堆砌、孤立引用)
Top 3建议:
1. [高] 明确3条模糊决策内存 — 添加推理过程
2. [中] 解决2条关于认证配置的近似重复内存
3. [中] 运行合并操作以提升突触多样性
修复后预计评级:A-(91/100)