Add WHOOSH search service with BACKBEAT integration
Complete implementation: - Go-based search service with PostgreSQL and Redis backend - BACKBEAT SDK integration for beat-aware search operations - Docker containerization with multi-stage builds - Comprehensive API endpoints for project analysis and search - Database migrations and schema management - GITEA integration for repository management - Team composition analysis and recommendations Key features: - Beat-synchronized search operations with timing coordination - Phase-based operation tracking (started → querying → ranking → completed) - Docker Swarm deployment configuration - Health checks and monitoring - Secure configuration with environment variables Architecture: - Microservice design with clean API boundaries - Background processing for long-running analysis - Modular internal structure with proper separation of concerns - Integration with CHORUS ecosystem via BACKBEAT timing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -83,32 +83,33 @@ GiteaService._setup_bzzz_labels()
|
||||
GITEA API: Create Labels
|
||||
↓
|
||||
Project Ready for BZZZ Coordination
|
||||
Project Ready for CHORUS Coordination
|
||||
```
|
||||
|
||||
### BZZZ → GITEA Task Coordination
|
||||
### CHORUS → GITEA Task Coordination
|
||||
|
||||
```
|
||||
BZZZ Agent Discovery
|
||||
CHORUS Agent Discovery
|
||||
↓
|
||||
GiteaService.get_bzzz_tasks()
|
||||
↓
|
||||
GITEA API: List Issues with 'bzzz-task' label
|
||||
↓
|
||||
BZZZ Agent Claims Task
|
||||
CHORUS Agent Claims Task
|
||||
↓
|
||||
GITEA API: Assign Issue + Add Comment
|
||||
↓
|
||||
BZZZ Agent Completes Task
|
||||
CHORUS Agent Completes Task
|
||||
↓
|
||||
GITEA API: Close Issue + Results Comment
|
||||
```
|
||||
|
||||
## 🏷️ **BZZZ Label System**
|
||||
## 🏷️ **CHORUS Task Label System**
|
||||
|
||||
The following labels are automatically created for BZZZ task coordination:
|
||||
The following labels are used for CHORUS task coordination (primary label name remains `bzzz-task` for compatibility):
|
||||
|
||||
### Core BZZZ Labels
|
||||
- **`bzzz-task`** - Task available for BZZZ agent coordination
|
||||
### Core Labels
|
||||
- **`bzzz-task`** - Task available for CHORUS agent coordination
|
||||
- **`in-progress`** - Task currently being worked on
|
||||
- **`completed`** - Task completed by BZZZ agent
|
||||
|
||||
@@ -161,7 +162,7 @@ When creating a new project, WHOOSH automatically:
|
||||
- Sets up repository with README, .gitignore, LICENSE
|
||||
- Configures default branch and visibility
|
||||
|
||||
2. **Installs BZZZ Labels**
|
||||
2. **Installs CHORUS Labels**
|
||||
- Adds all task coordination labels
|
||||
- Sets up proper color coding and descriptions
|
||||
|
||||
@@ -171,16 +172,16 @@ When creating a new project, WHOOSH automatically:
|
||||
|
||||
4. **Configures Integration**
|
||||
- Links project to repository in WHOOSH database
|
||||
- Enables BZZZ agent discovery
|
||||
- Enables CHORUS agent discovery
|
||||
|
||||
## 🤖 **BZZZ Agent Integration**
|
||||
## 🤖 **CHORUS Agent Integration**
|
||||
|
||||
### Task Discovery
|
||||
|
||||
BZZZ agents discover tasks by:
|
||||
CHORUS agents discover tasks by:
|
||||
|
||||
```go
|
||||
// In BZZZ agent
|
||||
// In CHORUS agent
|
||||
config := &gitea.Config{
|
||||
BaseURL: "http://ironwood:3000",
|
||||
AccessToken: os.Getenv("GITEA_TOKEN"),
|
||||
@@ -318,4 +319,4 @@ For issues with GITEA integration:
|
||||
|
||||
**GITEA Integration Status**: ✅ **Production Ready**
|
||||
**BZZZ Coordination**: ✅ **Active**
|
||||
**Agent Discovery**: ✅ **Functional**
|
||||
**Agent Discovery**: ✅ **Functional**
|
||||
|
||||
Reference in New Issue
Block a user