You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e6629ee
Browse filesBrowse the repository at this point in the historyBrowse files
| C7 | 安全路径静默放行补日志 | prompt_guard.py:96 / input_validation.py:89 / base_provider.py:77/132 静默 pass 处补 `logger.warning`(安全检测被绕过需可观测) | S | M |
113
113
114
114
## 五、P1:开发者体验(首要目标)
@@ -121,7 +121,7 @@ docs/ # 工程化 + 个人开发化平衡(按需裁
121
121
| D10 | 环境变量一致性 | ① .env.example(根 + server)补 12 个缺失变量(PAYMENT_* ×7、SUPABASE_SERVICE_KEY、BUDGET_* ×2、GATEWAY_ALLOW_DEV_AUTH、OTEL_EXPORTER_OTLP_ENDPOINT);② docker-compose.prod.yml 转发 PAYMENT_*;③ 根/server 模板 JWT_SECRET 说法矛盾修复 | S | L |
122
122
| D11 | store 订阅收尾 | 5 处整 store `useShallow(s => s)`(SoundSettings/TagEditPopover/InspirationCard/AISortPanel/useNoteAI)拆字段级;NoteTagFilter selector 内调用 action 反模式修复(订阅 notes + useMemo 派生) | S | L |
123
123
| D12 | 工具函数收敛 | ① `lib/utils/time.ts`:formatDate/formatDuration/formatRelativeTime/formatTimeAgo/formatTime/stripHtml(12+ 处统一,注意 UnifiedTimeline vs SmartCapturePanel 已分叉行为);② `lib/utils/stringHash.ts`:3 实现收敛;③ ID 生成统一到 uuid.ts(包装 crypto.randomUUID,40+ 处调用点) | S | L |
124
-
| D13 | 依赖治理 | ① npm audit 可用化:CI/文档改用官方 registry 跑 audit;② 27 个 dependabot 分支分批合并(electron 35→43、better-sqlite3 11→13 大版本单独验证) | M | M |
124
+
| D13 | 依赖治理 | ① npm audit 可用化:✅ CI 已加 `npm audit --registry=https://registry.npmjs.org --audit-level=high`(pr-check.yml),标准文档已注明镜像限制;② 28 个 dependabot 分支**需人工分批合并**(涉及 electron 35→43、better-sqlite3 等大版本,逐批验证构建;本次不自动执行) | M | M |
125
125
| D14 | 测试噪音清理 | postcss.config.js 声明 `"type": "module"`;tiptap underline 重复注册修复;act() 警告清理;覆盖率快照入库或 CI 上传 | S | L |
126
126
127
127
## 六、P2:结构性重构(激进,分批)
@@ -132,7 +132,7 @@ docs/ # 工程化 + 个人开发化平衡(按需裁
132
132
| R2 | NotesPage 1320 行拆分 | NoteCard.tsx(L558-1121)+ noteCardFx.ts(视觉工具 L88-140)+ DeleteFolderDialog/ClipImportDialog + formatDate/stripHtml 移 lib | M | M |
| R4 | sync-service 拆分 | rooms.go 519 行(room_manager/rooms_handlers/rooms_ws)、relay.go 380 行(relay_manager/relay_handlers);rooms_test.go 355 行作回归网 | M | M |
135
-
| R5 | server 卫生 | ① requirements.txt 版本锁定(`==`);② go.mod 与 CI go 版本统一;③ dead proto 清理(server/shared/proto 零引用,go_package 指向 github.com/keban/...);④ conftest.py 补 @ai-context| S | L |
135
+
| R5 | server 卫生 | ① requirements.txt 版本锁定 ✅(实测版本 == 锁定,google-genai 未安装保持 >=);② go.mod(1.25) 与 CI(1.24) 统一 ✅(CI 升至 1.25);③ dead proto 清理 ✅(3 个 .proto 零引用已删,go_package 指向已废弃的 github.com/keban/...);④ conftest.py 补 @ai-context(待办)| S | L |
136
136
| R6 | flashcards 补测试 | 33 文件零测试的核心功能:store(useFlashcardStore/useStudySessionStore)+ 会话数学纯函数(SM2/FSRS/间隔)优先 | M | M |
137
137
| R7 | 门禁收紧 | oxlint 扩展规则(no-explicit-any/no-unused-vars/exhaustive-deps/no-unused-imports);tsconfig 开启 noUnusedLocals/noUnusedParameters;覆盖率阈值与现状对齐决策(降阈或补测) | S | L |
138
138
| R8 | 工作区卫生 | 根目录 scratch 文件清理;MCP 脚本(modelcontextprotocol/fs/seq/memory)从 package.json 移出或标注;git 死分支清理(origin/master 落后 350) | S | L |
0 commit comments