Commit Graph

152 Commits

Author SHA1 Message Date
vinland100 136e2d14da fix: Add `sanitize_for_db` helper to remove NULL bytes from strings and apply it to `code_snippet`, `title`, `message`, `suggestion`, and `ai_explanation` fields before saving to the database. 2026-01-30 15:23:38 +08:00
vinland100 18613d533f fix: Enhance robustness of issue and quality score processing in the scanner service by adding defensive checks and error handling. 2026-01-30 15:16:51 +08:00
vinland100 0f9c1e2bc9 feat: Implement robust task cancellation and cleanup for file analysis tasks. 2026-01-30 14:49:12 +08:00
vinland100 05db656fd1 feat: Add specific rate limit error messages for ZIP task analysis, instant analysis, and repository scanning.
Build and Push CodeReview / build (push) Has been cancelled Details
2026-01-16 10:21:30 +08:00
vinland100 76f731cb22 refactor: streamline JSON output requirements and enhance clarity in code analysis instructions
Build and Push CodeReview / build (push) Waiting to run Details
2026-01-12 16:27:41 +08:00
vinland100 7f951d5451 Refine security score calculation logic and enforce mandatory fields for findings in JSON format
Build and Push CodeReview / build (push) Waiting to run Details
2026-01-12 14:22:06 +08:00
vinland100 b373692577 Fix capitalization issues and handle cases where the answer is "none".
Build and Push CodeReview / build (push) Waiting to run Details
2026-01-12 14:04:12 +08:00
vinland100 a98e3e531b Fixed the issue of infinite loop outputting the same content in the Agent audit mode, and resolved the problem of incomplete display of the frontend Activity log in Agent audit mode.
Build and Push CodeReview / build (push) Waiting to run Details
2026-01-12 13:39:48 +08:00
vinland100 6c2a15ad90 Optimize parallel LLM calls while addressing the circular issue in Agent auditing.
Build and Push CodeReview / build (push) Has been cancelled Details
2026-01-09 17:30:18 +08:00
vinland100 de88b69f86 The fast scan mode follows the file exclusion pattern used during RAG embedding.
Build and Push CodeReview / build (push) Waiting to run Details
2026-01-09 16:41:40 +08:00
vinland100 a11542c4bf Configure unified file extensions, exclude directories, and exclude files.
Build and Push CodeReview / build (push) Waiting to run Details
2026-01-09 16:28:27 +08:00
vinland100 cd8fb49a56 resolve indexing hangs and optimize code splitting performance
Build and Push CodeReview / build (push) Waiting to run Details
2026-01-09 16:12:55 +08:00
vinland100 f86e556d0d detailed logs.
Build and Push CodeReview / build (push) Waiting to run Details
2026-01-09 15:39:03 +08:00
vinland100 dfefdfe432 Time zone handling
Build and Push CodeReview / build (push) Waiting to run Details
2026-01-09 13:36:12 +08:00
vinland100 3ce3767938 Change the log time to China
Build and Push CodeReview / build (push) Waiting to run Details
2026-01-09 13:23:49 +08:00
vinland100 83a9a85382 Restore the CI history deletion feature
Build and Push CodeReview / build (push) Waiting to run Details
2026-01-08 16:15:19 +08:00
vinland100 0e2a7dfa87 Modify the Agent audit logic to prevent infinite loops until the loop limit is triggered.
Build and Push CodeReview / build (push) Waiting to run Details
2026-01-08 14:53:34 +08:00
vinland100 6b37b8a7f9 feat: Add markdown language support, ensure file-level chunks for non-empty but un-splittable files, and improve robustness of embedding service and API key initialization. 2026-01-06 17:23:34 +08:00
vinland100 1876649ed3 feat: Enhance indexing progress logging with current file details and add new Docker volumes for CI data persistence. 2026-01-06 17:05:05 +08:00
vinland100 99a73c7706 chore: Add quiet flag to git commands and exclude data directory from uvicorn hot reload. 2026-01-06 16:45:12 +08:00
vinland100 fcb40db556 feat: Add Gitea as a default repository type, refine ChromaDB metadata updates, and enhance indexer logging and file deletion logic. 2026-01-06 16:21:21 +08:00
vinland100 0656062a4f feat: Add Rust, Swift, Kotlin, and SQL patterns to the RAG splitter and enhance frontend access token retrieval by checking sessionStorage. 2026-01-06 15:32:17 +08:00
vinland100 f743357bd7 feat: Add extensive language support for code splitting, scanning, and vulnerability detection by expanding file extensions, Tree-sitter node types, vulnerability patterns, and exclusion rules. 2026-01-06 15:18:38 +08:00
vinland100 969d899476 feat: Enhance embedding service with concurrency control, dynamic batching, and retry logic, and improve indexer with concurrent, incremental file processing. 2026-01-06 14:50:30 +08:00
vinland100 b8e5c96541 feat: Enhance indexer smart mode to always full-index new collections and fix ChromaDB query limits, adding comprehensive tests for indexer logic. 2026-01-06 13:48:14 +08:00
vinland100 c307609eaa feat: Implement API retry logic for GitHub, Gitea, and GitLab on 401/403 errors and enhance scan task error reporting. 2026-01-06 10:53:49 +08:00
vinland100 9ec07a6594 feat: Centralize Git tokens to system environment variables and add Gitea branch verification. 2026-01-05 17:12:47 +08:00
vinland100 2b0c7f5c2a feat: Lock LLM and embedding configurations to system environment variables, mask API keys, and refactor frontend logout. 2026-01-05 14:45:00 +08:00
vinland100 4d3761e0e0 feat: Add Gitea username integration, refactor password hashing with direct bcrypt, and remove frontend version displays. 2026-01-05 13:47:48 +08:00
vinland100 bc1597a41d refactor: update CI prompts for enhanced instruction and clarity 2026-01-05 10:50:47 +08:00
vinland100 7a3bb08d48 feat: Introduce reusable AppLogo component and update project activity timestamp to UTC. 2026-01-05 09:50:51 +08:00
vinland100 a29f57d119 I need the actual code changes (diff) to generate an accurate commit message. 2026-01-04 17:16:44 +08:00
vinland100 783093f0fd feat: Improve CI service context retrieval by prioritizing sync diff and adjusting prompt generation for different PR actions. 2026-01-04 17:13:01 +08:00
vinland100 70bf6ccac2 refactor: refine CI prompt definitions 2026-01-04 16:49:10 +08:00
vinland100 37fafe655a feat: Improve incremental diff detection and messaging for empty diffs, and add success logging for PR reviews and chat responses. 2026-01-04 16:40:35 +08:00
vinland100 3f4bd2f6c5 feat: Improve sync diff retrieval by using local git commands and robustly handling `before_sha` validity and fallbacks. 2026-01-04 16:13:47 +08:00
vinland100 e23af55e53 feat: Improve PR sync diff calculation by fetching previous review SHA from the database and refining diff messaging. 2026-01-04 15:46:31 +08:00
vinland100 2c8c711cde docs: update CI prompt definitions. 2026-01-04 15:22:41 +08:00
vinland100 7fa9bb5c26 feat: Add referenced file footers to AI comments and correct Gitea PR 'synchronize' action to 'synchronized'. 2026-01-04 15:07:37 +08:00
vinland100 d01d3850df feat: add PR synchronization prompt and incorporate commit diffs and conversation history into PR review and chat. 2026-01-04 14:34:29 +08:00
vinland100 23ac263d76 feat: Enhance RAG embedding dimension handling, add Qwen3 support, and improve index rebuild logic 2026-01-04 11:28:58 +08:00
vinland100 6abede99f4 feat: enhance embedding dimension detection with Qwen support and expand RAG index rebuild triggers. 2025-12-31 17:14:08 +08:00
vinland100 4aea8ee7a9 feat: Enhance embedding service configuration and add CI pipeline retry logic for dimension mismatches with optional index rebuild. 2025-12-31 17:11:27 +08:00
vinland100 df8796e6e3 feat: Centralize repository synchronization and indexing into `_ensure_indexed` for PR and chat events, add empty chat query handling, and improve Gitea URL rewriting. 2025-12-31 16:57:42 +08:00
vinland100 b401a26b10 feat: Add CI/CD integration with Gitea webhooks and pull request review functionality. 2025-12-31 16:40:33 +08:00
ArcueId e06126482c perf(rag): 优化嵌入服务性能并改进批处理大小配置
- 优化本地嵌入服务(Ollama)性能,移除不必要的延迟
- 改进批处理大小配置,使用动态获取替代硬编码
- 保持云端服务的限流逻辑不变
2025-12-28 10:15:58 +08:00
lintsinghua b030381ad2 feat(ssh): 增加SSH超时配置并改进错误处理
- 在配置中添加SSH_CLONE_TIMEOUT、SSH_TEST_TIMEOUT和SSH_CONNECT_TIMEOUT
- 替换print为logging记录关键操作和错误
- 改进SSH命令构建方式防止注入
- 添加分支名验证逻辑
- 优化错误消息显示,避免暴露敏感信息
2025-12-26 20:34:47 +08:00
Image 869513e0c5 Merge branch 'v3.0.0' of github.com:lintsinghua/DeepAudit into feature/git_ssh
# Conflicts:
#	backend/app/api/v1/endpoints/agent_tasks.py
2025-12-26 09:39:25 +08:00
Image f1243245a8 feat(SSH):添加known_hosts持久化与清理功能
- 新增SSH配置目录设置,支持持久化存储known_hosts文件
- 实现known_hosts文件清理API端点,解决主机密钥变更导致的连接问题
- 优化SSH连接策略,使用StrictHostKeyChecking=accept-new自动接受新主机密钥
- 前端添加known_hosts清理按钮,提升SSH密钥管理体验
- 改进SSH测试逻辑,正确处理部署密钥的Anonymous响应
2025-12-26 09:33:55 +08:00
lintsinghua 15605fea16 refactor(agent): 移除LangGraph工作流并迁移到动态Agent树架构
重构Agent服务架构,从基于LangGraph的状态图迁移到动态Agent树结构。主要变更包括:
- 删除graph模块及相关测试
- 更新agent/__init__.py导入和文档
- 在projects端点添加对新AgentTask模型的统计支持
- 简化工作流描述为START→Orchestrator→[Recon/Analysis/Verification]→Report→END

新架构使用OrchestratorAgent作为编排层,动态调度子Agent完成任务,提高灵活性和可扩展性。
2025-12-25 17:58:14 +08:00