Integrate BACKBEAT SDK and resolve KACHING license validation

Major integrations and fixes:
- Added BACKBEAT SDK integration for P2P operation timing
- Implemented beat-aware status tracking for distributed operations
- Added Docker secrets support for secure license management
- Resolved KACHING license validation via HTTPS/TLS
- Updated docker-compose configuration for clean stack deployment
- Disabled rollback policies to prevent deployment failures
- Added license credential storage (CHORUS-DEV-MULTI-001)

Technical improvements:
- BACKBEAT P2P operation tracking with phase management
- Enhanced configuration system with file-based secrets
- Improved error handling for license validation
- Clean separation of KACHING and CHORUS deployment stacks

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-09-06 07:56:26 +10:00
parent 543ab216f9
commit 9bdcbe0447
4730 changed files with 1480093 additions and 1916 deletions

View File

@@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"time"
"chorus.services/bzzz/pkg/config"
"chorus/pkg/config"
)
// SLURPLeaderConfig represents comprehensive configuration for SLURP-enabled leader election
@@ -280,7 +280,7 @@ func DefaultSLURPLeaderConfig() *SLURPLeaderConfig {
return &SLURPLeaderConfig{
Core: &CoreConfig{
NodeID: "", // Will be auto-generated
ClusterID: "bzzz-cluster",
ClusterID: "CHORUS-cluster",
DataDirectory: "./data",
Capabilities: []string{"admin_election", "context_curation", "project_manager"},
ProjectManagerEnabled: true,
@@ -579,11 +579,11 @@ func (cfg *SLURPLeaderConfig) GetEffectiveConfig() *SLURPLeaderConfig {
return &effective
}
// ToBaseBZZZConfig converts SLURP leader config to base BZZZ config format
// ToBaseBZZZConfig converts SLURP leader config to base CHORUS config format
func (cfg *SLURPLeaderConfig) ToBaseBZZZConfig() *config.Config {
// TODO: Convert to base BZZZ config structure
// TODO: Convert to base CHORUS config structure
// This would map SLURP-specific configuration to the existing
// BZZZ configuration structure for compatibility
// CHORUS configuration structure for compatibility
bzzzConfig := &config.Config{
// Map core settings