同步完整源码至远程:扁平化重构现状 + 未入库源文件

- 补入库:server/internal/db/dump.go、redis 分页/扫描预算测试、opsxdb-mcp main_test、
  packages/opsxdb-mcp package-lock、docs 审计与对比文档等 37 个新文件
- 含结构扁平化进行中的 80 处修改与 155 处旧结构删除(server/ src/ src-tauri/ 为当前有效源)
- 构建产物(bin/target/dist)与签名私钥仍按规则排除
This commit is contained in:
logan committed 2026-10-16 03:47:33 +08:00
1 parent 5c0be49217
commit 2c0bfafd8d
269 files changed
+10372 -16435

No files matched your search

+5 -5
View File
@@ -244,11 +244,11 @@ confirm_bind = sha256(connection_id + "\n" + normalize(sql_or_command))
## 9. 验收(会话层)
- [ ] `go test ./internal/ai/ ./internal/aitools/` 通过(含 outcome / trim / redact / bind)
- [ ] 触顶轮次:响应 `run_outcome=incomplete`,`incomplete_reason=max_steps`
- [ ] 审计行含 `run_id`(Agent 路径)
- [ ] confirm:改 SQL 后旧 bind 拒绝
- [ ] (P1)关窗再开:同 session 注入 prior 能继续调工具
- [x] `go test ./internal/ai/ ./internal/aitools/ ./internal/server/ -count=1` 通过(含 outcome / trim / redact / bind)
- [x] 触顶轮次:单测响应 `run_outcome=incomplete`,`incomplete_reason=max_steps`
- [x] 单测 Agent 审计行含 `run_id`;真库审计仍待复验
- [x] confirm:单测修改 SQL、连接或数据库后旧 bind 拒绝
- [ ] (P1)桌面关窗再开:同 session 注入 prior 能继续调工具(会话层单测已覆盖,桌面操作待验)
---