Commit Graph

9 Commits

Author SHA1 Message Date
anthonyrawlins
ee71f208fd Fix Hive deployment: add placement constraints to walnut node
- Force backend and frontend services to run on walnut where images are built
- Fixes 'No such image' errors on other nodes
- Both services now running successfully (1/1 replicas)
- Frontend accessible at https://hive.home.deepblack.cloud
- Backend API responding on /api/ endpoints

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 02:15:47 +10:00
anthonyrawlins
3f3eec7f5d Integrate Bzzz P2P task coordination and enhance project management
🔗 Bzzz Integration:
- Added comprehensive Bzzz integration documentation and todos
- Implemented N8N chat workflow architecture for task coordination
- Enhanced project management with Bzzz-specific features
- Added GitHub service for seamless issue synchronization
- Created BzzzIntegration component for frontend management

🎯 Project Management Enhancements:
- Improved project listing and filtering capabilities
- Enhanced authentication and authorization flows
- Added unified coordinator for better task orchestration
- Streamlined project activation and configuration
- Updated API endpoints for Bzzz compatibility

📊 Technical Improvements:
- Updated Docker Swarm configuration for local registry
- Enhanced frontend build with updated assets
- Improved WebSocket connections for real-time updates
- Added comprehensive error handling and logging
- Updated environment configurations for production

 System Integration:
- Successfully tested with Bzzz v1.2 task execution workflow
- Validated GitHub issue discovery and claiming functionality
- Confirmed sandbox-based task execution compatibility
- Verified Docker registry integration

This release enables seamless integration between Hive project management and Bzzz P2P task coordination, creating a complete distributed development ecosystem.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 20:56:01 +10:00
anthonyrawlins
e89f2f4b7b Add comprehensive development roadmap via GitHub Issues
Created 10 detailed GitHub issues covering:
- Project activation and management UI (#1-2)
- Worker node coordination and visualization (#3-4)
- Automated GitHub repository scanning (#5)
- Intelligent model-to-issue matching (#6)
- Multi-model task execution system (#7)
- N8N workflow integration (#8)
- Hive-Bzzz P2P bridge (#9)
- Peer assistance protocol (#10)

Each issue includes detailed specifications, acceptance criteria,
technical implementation notes, and dependency mapping.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 19:41:01 +10:00
anthonyrawlins
cd28f94e8f 🚀 Release Hive Platform v1.1 - Complete Authentication & Architecture Overhaul
Major Features:
 JWT Bearer Token authentication system with secure token management
 API key generation and management with scoped permissions
 Complete user management (registration, login, logout, password change)
 Frontend authentication components and context integration

Backend Architecture Improvements:
 CORS configuration via environment variables (CORS_ORIGINS)
 Dependency injection pattern for unified coordinator
 Database schema fixes with UUID support and SQLAlchemy compliance
 Task persistence replaced in-memory storage with database-backed system
 Service separation following Single Responsibility Principle
 Fixed SQLAlchemy metadata column naming conflicts

Infrastructure & Testing:
 Comprehensive Jest unit testing and Playwright e2e testing infrastructure
 GitHub Actions CI/CD pipeline integration
 Enhanced API clients matching PROJECT_PLAN.md specifications
 Docker Swarm deployment with proper networking and service connectivity

Database & Security:
 UUID-based user models with proper validation
 Unified database schema with authentication tables
 Token blacklisting and refresh token management
 Secure password hashing with bcrypt
 API key scoping and permissions system

API Enhancements:
 Authentication endpoints (/api/auth/*)
 Task management with database persistence
 Enhanced monitoring and health check endpoints
 Comprehensive error handling and validation

Deployment:
 Successfully deployed to Docker Swarm at https://hive.home.deepblack.cloud
 All services operational with proper networking
 Environment-based configuration support

🛠️ Technical Debt Resolved:
- Fixed global coordinator instances with proper dependency injection
- Replaced hardcoded CORS origins with environment variables
- Unified User model schema conflicts across authentication system
- Implemented database persistence for critical task storage
- Created comprehensive testing infrastructure

This release transforms Hive from a development prototype into a production-ready
distributed AI orchestration platform with enterprise-grade authentication,
proper architectural patterns, and robust deployment infrastructure.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 22:00:42 +10:00
anthonyrawlins
2547a5c2b3 Complete authentication system deployment with full dependency resolution
- Fixed PyJWT dependency issue in requirements.txt
- Added email-validator for pydantic email field validation
- Successfully deployed complete authentication stack
- All services now running (6/6) with authentication system active

Final deployment status:
 Backend: anthonyrawlins/hive-backend:auth-system-final (1/1)
 Frontend: anthonyrawlins/hive-frontend:auth-system (1/1)
 Database: postgres:15 (1/1)
 Redis: redis:7-alpine (1/1)
 Prometheus: prom/prometheus:latest (1/1)
 Grafana: grafana/grafana:latest (1/1)

Authentication features ready:
- JWT Bearer Token system
- API key generation with scopes
- User management with secure authentication
- Complete UI for auth management
- Database initialization with admin user

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 21:39:28 +10:00
anthonyrawlins
bb4d036274 Complete Bearer Token and API key authentication system deployment
- Successfully implemented comprehensive authentication for both UI and API
- Backend: JWT tokens, API keys with scopes, user management, secure endpoints
- Frontend: Login form, API key manager, authentication dashboard
- Database: User models, token blacklisting, API key storage with hashing
- UI Components: Complete authentication flow with token refresh
- Deployment: Tagged and pushed images to registry, deployed to swarm
- Status: Frontend running, backend needs PyJWT dependency added

Features delivered:
 Bearer Token authentication with JWT
 API key generation with granular scopes
 Complete UI for authentication management
 Token refresh and security validation
 Database initialization with admin user
 Production deployment configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 21:25:30 +10:00
anthonyrawlins
f3cbb5c6f7 Add environment configuration and local development documentation
- Parameterize CORS_ORIGINS in docker-compose.swarm.yml
- Add .env.example with configuration options
- Create comprehensive LOCAL_DEVELOPMENT.md guide
- Update README.md with environment variable documentation
- Provide alternatives for local development without production domain

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 18:20:52 +10:00
anthonyrawlins
8c3adf6d8f Implement single domain architecture for Hive platform
- Replace separate hive-api.home.deepblack.cloud subdomain with unified hive.home.deepblack.cloud
- Update Traefik routing: /api/* → backend, /* → frontend with proper priorities
- Add /api/health endpoint while maintaining /health for Docker health checks
- Update Socket.IO configuration to use single domain
- Fix CORS settings for consolidated domain
- Update MCP server endpoint to use /api path prefix
- Update all documentation to reflect single domain architecture

System now fully operational with simplified routing and proper SSL certificates.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 21:52:03 +10:00
anthonyrawlins
39539ded40 Deploy Hive to Docker Swarm with Docker Hub images
- Created swarm-compatible docker-compose.swarm.yml
- Pushed images to Docker Hub (anthonyrawlins/hive-backend, anthonyrawlins/hive-frontend)
- Configured Traefik labels for SSL and routing
- Removed local volume mounts for swarm compatibility
- Added deployment scripts for automation

Infrastructure status:
-  PostgreSQL database running (1/1)
-  Redis cache running (1/1)
-  Prometheus metrics running (1/1)
-  Grafana dashboard running (1/1)
- 🔄 Backend/Frontend services deploying

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 22:04:01 +10:00