Complete BZZZ functionality port to CHORUS

🎭 CHORUS now contains full BZZZ functionality adapted for containers

Core systems ported:
- P2P networking (libp2p with DHT and PubSub)
- Task coordination (COOEE protocol)
- HMMM collaborative reasoning
- SHHH encryption and security
- SLURP admin election system
- UCXL content addressing
- UCXI server integration
- Hypercore logging system
- Health monitoring and graceful shutdown
- License validation with KACHING

Container adaptations:
- Environment variable configuration (no YAML files)
- Container-optimized logging to stdout/stderr
- Auto-generated agent IDs for container deployments
- Docker-first architecture

All proven BZZZ P2P protocols, AI integration, and collaboration
features are now available in containerized form.

Next: Build and test container deployment.

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-09-02 20:02:37 +10:00
parent 7c6cbd562a
commit 543ab216f9
224 changed files with 86331 additions and 186 deletions

10
pkg/types/repository.go Normal file
View File

@@ -0,0 +1,10 @@
package types
// Repository represents a Git repository configuration from WHOOSH
type Repository struct {
ProjectID int `json:"project_id"`
Owner string `json:"owner"`
Repository string `json:"repository"`
Branch string `json:"branch"`
GitURL string `json:"git_url"`
}

33
pkg/types/task.go Normal file
View File

@@ -0,0 +1,33 @@
package types
import (
"time"
)
// EnhancedTask extends a basic Task with project-specific context.
// It's the primary data structure passed between the github, executor,
// and reasoning components.
type EnhancedTask struct {
// Core task details, originally from the GitHub issue.
ID int64
Number int
Title string
Description string
State string
Labels []string
Assignee string
CreatedAt time.Time
UpdatedAt time.Time
// Bzzz-specific fields parsed from the issue body or labels.
TaskType string
Priority int
Requirements []string
Deliverables []string
Context map[string]interface{}
// WHOOSH-integration fields providing repository context.
ProjectID int
GitURL string
Repository Repository
}