Commit Graph

14 Commits

Author SHA1 Message Date
AskaEth 9e7ada1ec3 docs: 最终汇总报告 - Cyrene系统修复完成 (三轮修复共47文件, E2E 24/24全绿) 2026-05-22 12:19:14 +08:00
AskaEth b15e1c9541 fix: 第二轮深度调试修复 - useSpeechSynthesis守卫+NPE防护+E2E测试完善
- P0: useSpeechSynthesis.ts cancel()增加isSupported守卫
- P0: iot_provider.go 添加loader nil检查防止NPE panic
- 新增CDP E2E v4测试脚本 14项全绿通过
- 生成第二轮修复报告 docs/debug/2026-05-21-round2-fixes.md
2026-05-22 00:10:37 +08:00
AskaEth 8b7d4ec19a fix(frontend): 修复 speechSynthesis.cancel() 未守卫导致的页面崩溃 2026-05-21 19:06:40 +08:00
AskaEth 702d4ee1fe chore: 重新编译 gateway + 添加第11轮 API 契约测试报告
第11轮诊断发现运行中 gateway 二进制严重过时(5月17日编译),
导致面板API路由缺失、认证逻辑不完整等问题。
重新编译并重启后问题解决。

修复过程:
- 重新编译 gateway (go build)
- 启动 SSH 数据库隧道
- 重启 gateway 连接 PostgreSQL
- 管理员登录正常,user_id 返回 'admin'
- 所有面板 API (files/knowledge/automation/sessions/briefings) 均 200

报告: docs/debug/2026-05-21-round11-api-contract.md (10个问题, 25/56通过)
2026-05-21 14:44:05 +08:00
AskaEth 20cdcc748e fix: round 10 critical fixes - WebSocket race, rate limiting, XSS protection, Caddyfile, and input validation 2026-05-20 17:59:22 +08:00
AskaEth a5b5713b29 docs: add round 9 debug report - config audit and comprehensive summary 2026-05-20 15:42:28 +08:00
AskaEth 9c9f54ab9a docs: add round 8 debug report - Docker, PWA, and WebSocket deep audit 2026-05-20 15:31:13 +08:00
AskaEth d71e7b4c83 docs: add round 7 debug report - E2E scenarios and cross-service data flow 2026-05-20 15:22:00 +08:00
AskaEth 692c1844bc docs: add round 6 debug report - performance benchmarks and code quality audit 2026-05-20 15:04:22 +08:00
AskaEth 7daa8a9b23 docs: add round 5 debug report - security audit and boundary testing 2026-05-20 14:53:57 +08:00
AskaEth d239b958df docs: add round 4 debug report - sub-services and database integrity 2026-05-20 14:37:40 +08:00
AskaEth 3adf0137cc fix: 第3轮调试Bug修复 (P1: 弱随机+crypto/rand, Knowledge键对齐; P2: 简报created_at, CORS+安全头) 2026-05-20 14:20:47 +08:00
AskaEth 25d6eff7c3 fix: 种子用户日志和密码配置化 + 第2轮调试文档 2026-05-20 14:02:09 +08:00
AskaEth 9dd1582987 fix: 创建users表 + 用户认证系统 (REG1) — 第1轮调试修复
新增 user_store.go 实现 users 表自动建表和 CRUD
注册使用 bcrypt 哈希密码存入 users 表
登录从 users 表查询用户并验证密码
启动时自动种子 admin/admin123 用户
调试文档: docs/debug/2026-05-20-round1-regression-verification.md
2026-05-20 13:52:12 +08:00