chore: memory-sync — 归档 memory-lint 速度分档决策 + 修复 2 处断链 + CLAUDE.md 常量同步

decisions.md 新增 memory-lint 过期检测速度分档决策记录;修正 2 处因章节标题漂移导致的断链引用;MEMORY.md 引用计数按实测刷新;lint_report.md 归档本次健康检查结果(含 1 项 3B 双链非对称 WARN 待人工确认);CLAUDE.md 常量表与决策条目计数同步更新。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019z1dhAgV1vqz7SiniXw96C
This commit is contained in:
SkyJourney
2026-07-10 11:07:05 +08:00
co-authored by Claude Sonnet 5
parent a13898b55e
commit d7aaaf8224
4 changed files with 57 additions and 31 deletions
+5 -3
View File
@@ -1,4 +1,4 @@
<!-- Last updated: 2026-06-12 | Commit: fad7335 -->
<!-- Last updated: 2026-07-10 | Commit: a13898b -->
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
@@ -93,7 +93,9 @@ description: 一句话说明该技能的用途(Claude 用此判断何时触发
**关键常量统一来源**(修改 memcore-shared 一处即可全局生效):
- `SYNTHESIS_THRESHOLD` = 3synthesis 升级跨文件引用阈值)
- `LINT_STALE_WARN_DAYS` = 30 / `LINT_STALE_ERROR_DAYS` = 90(过期阈值
- `LINT_STALE_MIN_DAYS` = 7(过期检测最低观察窗口,不足则跳过
- `LINT_HIGH_VELOCITY` = 1.0 次/天 / `LINT_LOW_VELOCITY` = 0.3 次/天(过期检测速度分档:全仓库提交速度 ≥ 高值 ERROR,≥ 低值 WARN
- `LINT_STALE_ABSOLUTE_DAYS` = 180(低速仓库的过期绝对兜底天数)
- `MULTI_HOST_WARN_DAYS` = 7(多机不同步预警阈值)
## 记忆体系(会话启动必读)
@@ -111,7 +113,7 @@ description: 一句话说明该技能的用途(Claude 用此判断何时触发
```
.claude/memory/
├── MEMORY.md # 索引(入口)
├── decisions.md # 关键架构决策(含 memcore-shared/lint_report 保活/Base commit 兜底/obsidian 社区对标审查等 12 项)
├── decisions.md # 关键架构决策(含 memcore-shared/lint_report 保活/Base commit 兜底/obsidian 社区对标审查/memory-lint 速度分档过期检测等 13 项)
├── project_overview.md # 项目定位与结构(huanxi/memcore/obsidian 10 技能 已发布插件)
├── feedback_plugin_dev.md # 插件开发协作规范(含 MCP docstring 单一真相、签名变更全量扫描)
└── lint_report.md # 记忆健康检查报告(按需)