Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
8d57f46
docs: Auto-update and format models.md
github-actions[bot] May 28, 2025
1200f83
Merge PRs 13-17: Comprehensive AI-Driven CI/CD Development Flow System
codegen-sh[bot] May 28, 2025
e832198
Add comprehensive system analysis and testing suite
codegen-sh[bot] May 28, 2025
9bbb59d
Update src/ai_cicd_system/core/codegen_integrator.js
Zeeeepa May 28, 2025
f4b95e0
Update src/ai_cicd_system/core/task_storage_manager.js
Zeeeepa May 28, 2025
7befcff
Update tests/codegen_integration_test.js
Zeeeepa May 28, 2025
9acbae7
Merge pull request #19 from Zeeeepa/codegen/merge-comprehensive-ai-ci…
Zeeeepa May 28, 2025
b2a473c
feat: Implement real Codegen SDK integration with production-grade fe…
codegen-sh[bot] May 28, 2025
2e904ea
feat: Implement production PostgreSQL database for TaskStorageManager
codegen-sh[bot] May 28, 2025
493726f
feat: Add unified AI CI/CD system scaffolding structure
codegen-sh[bot] May 28, 2025
c928368
feat: Implement comprehensive Component Integration Framework
codegen-sh[bot] May 28, 2025
ab3b6ce
feat: Implement comprehensive Claude Code integration
codegen-sh[bot] May 28, 2025
4319a56
feat: implement AgentAPI middleware for System Orchestrator and Claud…
codegen-sh[bot] May 28, 2025
728c118
🚨 CRITICAL FIX: Remove duplicate TaskStorageManager class definitions
codegen-sh[bot] May 28, 2025
b3a92a7
fix: Update package-lock.json for new dependencies
codegen-sh[bot] May 28, 2025
dc4dfe8
Merge PR #31: Claude Code Integration Implementation
codegen-sh[bot] May 28, 2025
e31df76
fix: restore critical dependencies to prevent system failure
codegen-sh[bot] May 28, 2025
07c8158
Merge PR #29: Component Integration Framework Implementation
codegen-sh[bot] May 28, 2025
f9cb0ae
Merge PR #38: CRITICAL FIX - Remove duplicate TaskStorageManager clas…
codegen-sh[bot] May 28, 2025
e135892
fix: remove non-existent @perplexity-ai/sdk package
codegen-sh[bot] May 28, 2025
9e2843d
Merge PR #28: Production PostgreSQL Database Implementation
codegen-sh[bot] May 28, 2025
64fa8a9
fix: remove non-existent @xai-sdk/sdk package
codegen-sh[bot] May 28, 2025
6c521ca
Merge PR #34: AgentAPI Middleware Implementation
codegen-sh[bot] May 28, 2025
9ee16d0
fix: Remove duplicate TaskStorageManager class definition
codegen-sh[bot] May 28, 2025
dc717a6
resolve: merge conflict in package.json
codegen-sh[bot] May 28, 2025
f54a44e
Merge: Real Codegen SDK Integration Implementation
codegen-sh[bot] May 28, 2025
b632078
feat: Implement comprehensive AgentAPI middleware integration
codegen-sh[bot] May 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 102 additions & 9 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,9 +1,102 @@
# API Keys (Required for using in any role i.e. main/research/fallback -- see `task-master models`)
ANTHROPIC_API_KEY=YOUR_ANTHROPIC_KEY_HERE
PERPLEXITY_API_KEY=YOUR_PERPLEXITY_KEY_HERE
OPENAI_API_KEY=YOUR_OPENAI_KEY_HERE
GOOGLE_API_KEY=YOUR_GOOGLE_KEY_HERE
MISTRAL_API_KEY=YOUR_MISTRAL_KEY_HERE
OPENROUTER_API_KEY=YOUR_OPENROUTER_KEY_HERE
XAI_API_KEY=YOUR_XAI_KEY_HERE
AZURE_OPENAI_API_KEY=YOUR_AZURE_KEY_HERE
# Claude Task Master Configuration
OPENAI_API_KEY=your_openai_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
GOOGLE_API_KEY=your_google_api_key_here
XAI_API_KEY=your_xai_api_key_here
PERPLEXITY_API_KEY=your_perplexity_api_key_here

# Database Configuration
DATABASE_URL=postgresql://username:password@localhost:5432/claude_task_master
DB_HOST=localhost
DB_PORT=5432
DB_NAME=claude_task_master
DB_USERNAME=postgres
DB_PASSWORD=your_password_here
DB_SSL=false
DB_POOL_SIZE=10
DB_CONNECTION_TIMEOUT=30000

# AgentAPI Middleware Configuration
AGENTAPI_URL=http://localhost:3284
AGENTAPI_TIMEOUT=30000
AGENTAPI_RETRY_ATTEMPTS=3
AGENTAPI_RETRY_DELAY=1000
AGENTAPI_HEALTH_CHECK_INTERVAL=30000
AGENTAPI_RECONNECT_DELAY=5000
AGENTAPI_MAX_RECONNECT_ATTEMPTS=10
AGENTAPI_ENABLE_EVENT_STREAM=true

# Claude Code Configuration
CLAUDE_CODE_MAX_INSTANCES=5
CLAUDE_CODE_INSTANCE_TIMEOUT=300000
CLAUDE_CODE_HEALTH_CHECK_INTERVAL=30000
CLAUDE_CODE_DEFAULT_TOOLS=Bash(git*),Edit,Replace
CLAUDE_CODE_WORKING_DIRECTORY=/workspace
CLAUDE_CODE_AUTO_START=false
CLAUDE_CODE_AUTO_RESTART=false

# Task Queue Configuration
TASK_QUEUE_MAX_CONCURRENT=3
TASK_QUEUE_DEFAULT_PRIORITY=5
TASK_QUEUE_TASK_TIMEOUT=300000
TASK_QUEUE_RETRY_ATTEMPTS=3
TASK_QUEUE_RETRY_DELAY=5000
TASK_QUEUE_PROCESS_INTERVAL=1000
TASK_QUEUE_MAX_SIZE=1000
TASK_QUEUE_ENABLE_PERSISTENCE=false

# Event Processor Configuration
EVENT_PROCESSOR_RECONNECT_DELAY=5000
EVENT_PROCESSOR_MAX_RECONNECT_ATTEMPTS=10
EVENT_PROCESSOR_HEARTBEAT_INTERVAL=30000
EVENT_PROCESSOR_BUFFER_SIZE=1000
EVENT_PROCESSOR_ENABLE_PERSISTENCE=false
EVENT_PROCESSOR_FILTERS=message,status,error

# Logging Configuration
LOG_LEVEL=info
ENABLE_FILE_LOGGING=false
LOG_DIRECTORY=./logs
MAX_LOG_FILES=10
MAX_LOG_SIZE=10MB
ENABLE_STRUCTURED_LOGGING=false

# Monitoring Configuration
MONITORING_ENABLED=false
METRICS_PORT=9090
HEALTH_CHECK_PORT=8080
ENABLE_PROMETHEUS=false
ENABLE_TRACING=false
TRACING_ENDPOINT=

# Security Configuration
ENABLE_AUTH=false
API_KEY=
JWT_SECRET=
JWT_EXPIRES_IN=1h
ENABLE_RATE_LIMIT=false
RATE_LIMIT_WINDOW=900000
RATE_LIMIT_MAX=100

# Integration Configuration
LINEAR_ENABLED=false
LINEAR_API_KEY=
LINEAR_WEBHOOK_SECRET=
LINEAR_TEAM_ID=

GITHUB_ENABLED=false
GITHUB_TOKEN=
GITHUB_WEBHOOK_SECRET=
GITHUB_REPOSITORY=

SLACK_ENABLED=false
SLACK_BOT_TOKEN=
SLACK_SIGNING_SECRET=
SLACK_CHANNEL=

# Performance Configuration
ENABLE_CACHING=false
CACHE_SIZE=1000
CACHE_TTL=3600000
ENABLE_COMPRESSION=false
MAX_PAYLOAD_SIZE=10MB
54 changes: 54 additions & 0 deletions UNIFIED_SYSTEM_ARCHITECTURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Unified AI CI/CD Development Flow System Architecture

## Overview
This document outlines the architecture for the unified AI CI/CD development flow system that integrates all existing components with new components to provide a complete software development workflow.

## System Components

### 1. System Orchestrator (`src/orchestrator/`)
- Central coordination hub managing all workflows
- Workflow state management
- Component communication
- Task scheduling and prioritization

### 2. Database Management (`src/database/`)
- PostgreSQL as central state store
- Task and workflow persistence
- Performance optimization
- Migration management

### 3. External Integrations (`src/integrations/`)
- **Claude Code**: PR validation and debugging
- **AgentAPI Middleware**: Communication bridge
- **Linear Integration**: Issue management and status updates
- **Codegen SDK**: Real API integration for PR creation

### 4. Deployment Pipeline (`src/deployment/`)
- WSL2 deployment automation
- PR validation environment
- Automated testing and validation

### 5. Natural Language Processing (`src/nlp/`)
- Task-to-PR conversion
- Requirements analysis
- Context understanding

### 6. Monitoring & Performance (`src/monitoring/`)
- Real-time system health tracking
- Performance metrics
- Alerting and notifications

### 7. Security & Compliance (`src/security/`)
- Authentication management
- Security auditing
- Compliance validation

## Workflow Flow
```
Linear Issue β†’ Database Task β†’ NLP Processing β†’ Codegen PR Creation β†’
Claude Code Validation β†’ WSL2 Deployment β†’ Status Updates β†’ Monitoring
```

## Implementation Strategy
Each component will be implemented as a separate sub-issue with comprehensive requirements and validation cycles.

Loading
Loading