Fix council formation broadcast and reduce core roles
Two critical fixes for E2E council workflow: 1. Reduced core council roles from 8 to 2 (tpm + senior-software-architect) - Faster council formation - Easier debugging - Sufficient for initial project planning 2. Added broadcast to monitor path - Monitor now broadcasts council opportunities to CHORUS agents - Previously only webhook path had broadcast, monitor path missed it - Added broadcaster parameter to NewMonitor() - Broadcast sent after council formation with 30s timeout Verified working: - Council formation successful - Broadcast to CHORUS agents confirmed - Role claims received (TPM claimed and loaded) - Persona status "loaded" acknowledged Image: anthonyrawlins/whoosh:broadcast-fix Council: 2dad2070-292a-4dbd-9195-89795f84da19 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -179,8 +179,8 @@ func NewServer(cfg *config.Config, db *database.DB) (*Server, error) {
|
||||
log.Warn().Msg("🐳 Docker integration disabled - scaling system and council agent deployment unavailable")
|
||||
}
|
||||
|
||||
// Initialize repository monitor with team composer, council composer, and agent deployer
|
||||
repoMonitor := monitor.NewMonitor(db.Pool, cfg.GITEA, teamComposer, councilComposer, agentDeployer)
|
||||
// Initialize repository monitor with team composer, council composer, agent deployer, and broadcaster
|
||||
repoMonitor := monitor.NewMonitor(db.Pool, cfg.GITEA, teamComposer, councilComposer, agentDeployer, p2pBroadcaster)
|
||||
|
||||
s := &Server{
|
||||
config: cfg,
|
||||
|
||||
Reference in New Issue
Block a user