- Implement multi-agent orchestration system for parallel AI tasks - Add role-based AI assignment (coder, reviewer, critic, architect, etc) - Create predefined workflows (code-review, implement-feature, optimize, debug) - Add local LLM support with auto-detection (Ollama, LocalAI, etc) - Implement async job management with idle timeout - Add authentication system with OAuth2 PKCE flow - Create comprehensive test suite with integration tests - Add headless Chrome testing for auth flows - Create mock AI server for testing all endpoints - Add visual test runners and demo scripts - Update CI/CD pipeline for all services - Rename CLI from 'hanzo-dev' to 'dev' for simplicity - Update repository references to github.com/hanzoai/dev Key features: - Parallel execution of multiple AI agents - Git worktree support for isolated development - Universal context sync across tools - Secure API key management - Comprehensive workflow system
72 lines
2.3 KiB
JSON
72 lines
2.3 KiB
JSON
{
|
|
"name": "custom-review",
|
|
"description": "Custom code review workflow with security focus",
|
|
"steps": [
|
|
{
|
|
"name": "security-scan",
|
|
"agents": [
|
|
{
|
|
"role": "critic",
|
|
"tool": "claude",
|
|
"model": "claude-3-opus",
|
|
"temperature": 0.2,
|
|
"systemPrompt": "You are a security expert. Identify potential security vulnerabilities, including: SQL injection, XSS, CSRF, authentication bypasses, data exposure, and insecure dependencies."
|
|
},
|
|
{
|
|
"role": "critic",
|
|
"tool": "local-llm",
|
|
"model": "codellama",
|
|
"temperature": 0.1,
|
|
"systemPrompt": "Focus on code quality issues: race conditions, memory leaks, null pointer exceptions, and error handling."
|
|
}
|
|
],
|
|
"parallel": true,
|
|
"combineStrategy": "merge"
|
|
},
|
|
{
|
|
"name": "performance-review",
|
|
"agents": [
|
|
{
|
|
"role": "optimizer",
|
|
"tool": "gemini",
|
|
"model": "gemini-pro",
|
|
"temperature": 0.3,
|
|
"systemPrompt": "Analyze performance bottlenecks and suggest optimizations for: time complexity, space complexity, database queries, and caching strategies."
|
|
}
|
|
],
|
|
"parallel": false
|
|
},
|
|
{
|
|
"name": "best-practices",
|
|
"agents": [
|
|
{
|
|
"role": "reviewer",
|
|
"tool": "codex",
|
|
"temperature": 0.4,
|
|
"systemPrompt": "Review against best practices: SOLID principles, design patterns, code maintainability, and testing coverage."
|
|
},
|
|
{
|
|
"role": "documenter",
|
|
"tool": "gemini",
|
|
"temperature": 0.5,
|
|
"systemPrompt": "Identify missing or inadequate documentation. Suggest improvements for: API docs, inline comments, README updates, and architectural decisions."
|
|
}
|
|
],
|
|
"parallel": true,
|
|
"combineStrategy": "sequential"
|
|
},
|
|
{
|
|
"name": "synthesis",
|
|
"agents": [
|
|
{
|
|
"role": "reviewer",
|
|
"tool": "claude",
|
|
"model": "claude-3-opus",
|
|
"temperature": 0.3,
|
|
"systemPrompt": "Synthesize all review feedback into a prioritized action plan. Group issues by: Critical (security/bugs), Important (performance/quality), and Nice-to-have (style/docs)."
|
|
}
|
|
],
|
|
"parallel": false
|
|
}
|
|
]
|
|
} |