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:
15
pubsub/pubsub_test.go
Normal file
15
pubsub/pubsub_test.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package pubsub
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// Note: This is a light test around name routing; full pubsub requires network.
|
||||
func TestPublishRaw_NameRouting_NoSubscription(t *testing.T) {
|
||||
// Build a minimal PubSub with names set but no subscriptions.
|
||||
p := &PubSub{ bzzzTopicName: "bzzz/coordination/v1", hmmmTopicName: "hmmm/meta-discussion/v1", contextTopicName: "bzzz/context-feedback/v1" }
|
||||
if err := p.PublishRaw("nonexistent/topic", []byte("{}")); err == nil {
|
||||
t.Fatalf("expected error for unknown topic")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user