--- description: 历史追溯规则:优先使用精简索引、审计记录和当前代码。 globs: docs/** alwaysApply: false --- # 历史追溯规则 - 日常追溯先查 `docs/ai-env-history/README.md`、`docs/claude-history/`、`docs/audit/changes/`。 - 历史摘要只解释来龙去脉,编码前仍以当前文件、当前 diff、当前测试为准。 - 原始 JSONL 可用于追查细节,但不要把密钥、DSN、token 原文写入仓库文档。