Profa
c42c88b9d6
feat(release): v2.6.0 - Code Intelligence System & MCP Configuration
...
## Major Features
### Code Intelligence System v2.0
- Tree-sitter multi-language parser (TypeScript, Python, Go, Rust, JavaScript)
- Hybrid search engine (BM25 + semantic vector search with RRF fusion)
- Knowledge graph with relationship extraction
- RAG context builder with 70-80% token reduction
- CodeIntelligenceAgent for intelligent code queries
- Auto-injection into all QE agents via FleetManager
### MCP Configuration Fix
- Added `generateMcpJson()` to create `.claude/mcp.json` during `aqe init`
- Fixed learning persistence via `capture-task-learning.js` hook
- Added `agentic-qe` to `enabledMcpjsonServers`
## CLI Commands
- `aqe kg index <directory>` - Index codebase
- `aqe kg search <query>` - Semantic code search
- `aqe kg visualize <entity>` - Generate Mermaid diagrams
- `aqe code-intel setup/enable/status` - Configuration commands
## Bug Fixes
- Fixed TypeScript build errors in Code Intelligence files
- Fixed FormattedContext type mismatch in CodeIntelligenceAgent
- Fixed Mermaid direction type (TD → TB)
- Fixed autoIndex property type in code-intelligence-init
## Issues Closed
- #158 Code Intelligence System v2.0 (Epic)
- #161 Wave 3: AST-Based Chunking & Embeddings
- #162 Wave 4: Incremental Indexing Pipeline
- #163 Wave 5: Hybrid Search & LlamaIndex RAG
- #164 Wave 6: Agent Integration & CLI Commands
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2025-12-22 15:06:25 +00:00
Profa
ab86895b33
feat(agents): add CodeIntelligenceAgent for knowledge graph code understanding
...
Wave 6 completion - Code Intelligence agent integration:
New Files:
- src/agents/CodeIntelligenceAgent.ts: Full TypeScript implementation
- Extends BaseAgent with code intelligence capabilities
- Task types: index, search, context, graph, stats, incremental-update
- Public API: quickSearch(), getFormattedFileContext(), getFormattedQueryContext()
- Factory registration for QEAgentFactory
- .claude/agents/qe-code-intelligence.md: Agent definition for Claude Code
- Learning protocol with MCP tools
- Memory namespace configuration
- Usage patterns and examples
- docs/guides/code-intelligence-quickstart.md: User documentation
- Prerequisites (Ollama, RuVector PostgreSQL)
- Usage options (CLI, Task tool, programmatic API)
- Configuration and troubleshooting
Updates:
- src/types/index.ts: Added CODE_INTELLIGENCE to QEAgentType enum
- src/agents/index.ts: Export and factory case for CodeIntelligenceAgent
- docs/reference/agents.md: Added agent reference (now 21 QE agents)
- CLAUDE.md: Updated agent count and added guide link
Capabilities:
- Tree-sitter multi-language parsing (TypeScript, Python, Go, Rust, JS)
- Ollama nomic-embed-text embeddings (768 dimensions)
- Hybrid search (BM25 + Vector with RRF fusion)
- Knowledge graph with entity relationships
- 80% token reduction through intelligent context building
- Mermaid diagram generation
- Incremental indexing with git change detection
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2025-12-22 11:45:45 +00:00