chore: memory-sync — 归档 Codex 插件骨架/bearer_token_env_var/不做Antigravity兼容等决策
新增 3 条 decisions.md 条目:Codex/ChatGPT 桌面应用插件骨架设计(三插件 共享 skills/、memcore 独立目录的原因)、Codex 侧 MCP Token 用 bearer_token_env_var 字段的踩坑与本地缓存刷新方法、调研后决定不做 Google Antigravity(agy)兼容。project_overview.md 已发布插件表格补 Codex 支持列,CLAUDE.md 补 Codex plugin.json 硬约束小节与并行结构说明。 memory-lint 顺带修了本机 shell 环境下 Phase 3C 快扫自引用排除逻辑失效 的问题(grep -r 输出不带 ./ 前缀导致误判),修复 1 处断链 + 1 处双链 缺失反向链接。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LVyxoP4cDXeoQ3uAqLcEd2
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
a64c64667c
commit
1606d73c41
@@ -2,13 +2,13 @@
|
||||
name: 记忆健康检查报告
|
||||
description: memory-lint 最新一次执行的检查结果与待处理项
|
||||
type: lint
|
||||
last_updated: 2026-07-10
|
||||
commit: a13898b
|
||||
last_updated: 2026-08-22
|
||||
commit: a64c646
|
||||
---
|
||||
|
||||
# 记忆健康检查报告
|
||||
|
||||
> _执行时间: 2026-07-10 | Base commit: `a13898b` | Last synced: 2026-07-10_
|
||||
> _执行时间: 2026-08-22 | Base commit: `a64c646` | Last synced: 2026-08-22_
|
||||
>
|
||||
> **如何使用**:NEED-HUMAN 条目末尾有 `<!-- id: xxxxxxxx -->` 标记。处理完或决定不处理时,在同段追加 `<!-- resolved: DATE, 简要原因 -->`,下次 lint 该条目自动跳过。
|
||||
|
||||
@@ -16,7 +16,7 @@ commit: a13898b
|
||||
|
||||
| 检查项 | AUTO-FIX | NEED-HUMAN(含已 resolved 跳过 N 项) |
|
||||
|--------|---------|-----------|
|
||||
| 1 孤儿 / 2 幽灵 / 3A 引用 / 3B 双链 | 0 / 0 / 2 / 0 | — / — / 0 / 1(含已 resolved 跳过 0 项) |
|
||||
| 1 孤儿 / 2 幽灵 / 3A 引用 / 3B 双链 | 0 / 0 / 1 / 1 | — / — / 0 / 1(含已 resolved 跳过 0 项) |
|
||||
| 4 矛盾 / 5 过期 / 6 污染 | — | 0 / 0 / 0 |
|
||||
|
||||
**AUTO-FIX 已执行 2 项 | NEED-HUMAN 新列出 1 项 | 历史已 resolved 跳过 0 项**
|
||||
@@ -25,9 +25,9 @@ commit: a13898b
|
||||
|
||||
## AUTO-FIX 已执行清单
|
||||
|
||||
- [x] 更新断链(Phase 3A,章节标题漂移):`decisions.md` 内 `[[feedback_plugin_dev.md#skill 不要重写 MCP 参数表,引用 docstring]]` → `[[feedback_plugin_dev.md#skill 不要重写 MCP 参数表,引用 docstring 为单一真相]]`
|
||||
- [x] 更新断链(Phase 3A,章节标题漂移):`decisions.md` 内 `[[feedback_plugin_dev.md#签名变更全量扫描]]` → `[[feedback_plugin_dev.md#MCP 后端工具签名变更后必须全量扫描所有 skill]]`
|
||||
- [x] MEMORY.md「引用」列已刷新(按源文件去重重新计数,见下方文件级引用计数表;`decisions.md` 3→2,因 lint_report.md 本身不再含旧版 wikilink)
|
||||
- [x] 更新断链(Phase 3A,章节标题漂移):`decisions.md` 内 `[[decisions.md#Codex 侧 MCP Token 用 bearer_token_env_var,不用 ${VAR} 模板]]` → `[[decisions.md#Codex 侧 MCP Token 用 bearer_token_env_var,不用 ${VAR} 模板(2026-08-22)]]`
|
||||
- [x] 补齐反向链接(Phase 3B):`decisions.md#不做 Antigravity(Google agy / Antigravity 2.0)兼容(2026-08-22)` 末尾追加 `**See Also**:[[project_overview.md#已发布插件]]`
|
||||
- [x] MEMORY.md「引用」列已刷新(按源文件去重重新计数,见下方文件级引用计数表)
|
||||
|
||||
---
|
||||
|
||||
@@ -39,7 +39,7 @@ commit: a13898b
|
||||
|------|----------|------|
|
||||
| — | — | 无候选 |
|
||||
|
||||
当前所有 decisions/feedback 条目的**单 section 级**跨文件引用数均 < 3,无 synthesis 升级候选。
|
||||
`feedback_plugin_dev.md#MCP 后端工具签名变更后必须全量扫描所有 skill` 被 `decisions.md`、`lint_report.md` 两个文件引用(2 次,未达阈值 3);此前一次快扫误报为 3 次,是本机 shell 环境下 `grep -r` 输出不带 `./` 前缀导致自引用排除逻辑失效所致,本次已用去重比对方式重新核实,非真实候选。
|
||||
|
||||
---
|
||||
|
||||
@@ -55,26 +55,24 @@ commit: a13898b
|
||||
|
||||
---
|
||||
|
||||
## 文件级引用计数(来自 Phase 3A,按源文件去重)
|
||||
## 文件级引用计数(来自 Phase 3A,按源文件去重,不含自引用)
|
||||
|
||||
| 文件 | 被引用次数(去重源) | 引用来源 |
|
||||
|------|-------|---------|
|
||||
| **decisions.md** | **2** | feedback_plugin_dev.md / project_overview.md |
|
||||
| project_overview.md | 1 | decisions.md(含 2 个 wikilink,同源去重为 1) |
|
||||
| feedback_plugin_dev.md | 1 | decisions.md(含 2 个 wikilink,同源去重为 1) |
|
||||
| **decisions.md** | **3\*** | feedback_plugin_dev.md / project_overview.md / lint_report.md |
|
||||
| project_overview.md | 2 | decisions.md / lint_report.md |
|
||||
| feedback_plugin_dev.md | 2 | decisions.md / lint_report.md |
|
||||
| lint_report.md | 0 | — |
|
||||
|
||||
**备注**:`decisions.md` 文件级引用数由 3 降为 2(未跌破规则,是 lint_report.md 本身历史上不含 wikilink 却被误计入源——本次按 grep 实测重新计数),暂不满足 `SYNTHESIS_THRESHOLD`(3) 核心枢纽节点条件。
|
||||
|
||||
`synonyms.md` 不存在,矛盾检测使用保守模式(仅检测直接数值/版本冲突)。如项目有领域术语缩写,建议创建 `.claude/memory/synonyms.md`。
|
||||
|
||||
---
|
||||
|
||||
## 过期检测明细(速度分档,本次生效的新逻辑)
|
||||
## 过期检测明细(速度分档)
|
||||
|
||||
| 文件 | last_updated | days_since | commits_since(全仓库) | velocity(次/天) | 判定 |
|
||||
|------|-------------|-----------|----------------------|------------------|------|
|
||||
| project_overview.md | 2026-06-12 | 28 | 8 | 0.29 | 低于 LOW_VELOCITY(0.3),不判定过期 |
|
||||
| feedback_plugin_dev.md | 2026-06-12 | 28 | 8 | 0.29 | 低于 LOW_VELOCITY(0.3),不判定过期 |
|
||||
| decisions.md | 2026-07-10 | 0 | — | — | 不足 MIN_DAYS(7),跳过 |
|
||||
| lint_report.md | 2026-07-10 | 0 | — | — | 不足 MIN_DAYS(7),跳过 |
|
||||
| feedback_plugin_dev.md | 2026-06-12 | 71 | 15 | 0.21 | 低于 LOW_VELOCITY(0.3) 且 days_since(71) < ABSOLUTE_DAYS(180),不判定过期 |
|
||||
| decisions.md | 2026-08-22 | 0 | — | — | 不足 MIN_DAYS(7),跳过 |
|
||||
| project_overview.md | 2026-08-22 | 0 | — | — | 不足 MIN_DAYS(7),跳过 |
|
||||
| lint_report.md | 2026-08-22 | 0 | — | — | 不足 MIN_DAYS(7),跳过 |
|
||||
|
||||
Reference in New Issue
Block a user