diff --git a/CLAUDE.md b/CLAUDE.md index 033a4e5c..b7207b96 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1176,3 +1176,9 @@ other-format exports retain their independent output. - `pnpm run tsc` rebuilds workspace declarations before checking the app; `lint:ts` calls it. Do not rely on an earlier production build to refresh package contracts. - History v3 uses key-only revision/size indexing for retention; latest snapshot reads only one value. Conversation storage keeps explicit opt-in and atomic revision conflicts while updating individual sessions. - Panel context synchronization is lifecycle-owned: no periodic reads while closed, disabled or hidden, and BFCache restoration reinstalls observers. Keep extracted settings/context owners rather than adding them back to `panel.ts`. + +## 过程日志与 Changelog 规范 + +- 每次功能开发、重要缺陷修复、性能优化或 CI/依赖加固落地后,均须按 [`docs/changelogs/README.md`](docs/changelogs/README.md) 规范在 `docs/changelogs/` 新增 `YYYY-MM-DD-.md` 过程日志,并更新 `docs/changelogs/README.md` 索引表。 +- 每篇过程日志必须包含完整 6 个章节(**Context / Thinking and evaluation 方案对比表 / Approach / Problems and fixes / Verification / Leftovers**),严禁只写一行摘要,严禁写入任何 token、密钥、个人邮箱、账号 ID 或原始 Cookie。 +- 若改动对用户可见,同步在根目录 `CHANGELOG.md` 的 `## [Unreleased]` 补充简洁条目。