- NotesController#contentAt:去掉 coalesce 到 notes.version-1 的兜底;旧口径锚点仅在 N <= notes.version 时解析,越界一律 404(B1)
- LibraryController#/{kind}/trash:接受 TrashService 全部 kind,planner 三类按 kind 过滤
- 测试:ApiIntegrationTest 新增回收站 kind 等价、旧库历史、缺失版本、列表 kind 用例;UpgradePathTest 覆盖 V17→V18 读取/恢复与三条旧行