Add chorus-entrypoint label to standardized label set
**Problem**: The standardized label set was missing the `chorus-entrypoint` label, which is present in CHORUS repository and required for triggering council formation for project kickoffs. **Changes**: - Added `chorus-entrypoint` label (#ff6b6b) to `EnsureRequiredLabels()` in `internal/gitea/client.go` - Now creates 9 standard labels (was 8): 1. bug 2. bzzz-task 3. chorus-entrypoint (NEW) 4. duplicate 5. enhancement 6. help wanted 7. invalid 8. question 9. wontfix **Testing**: - Rebuilt and deployed WHOOSH with updated label configuration - Synced labels to all 5 monitored repositories (whoosh-ui, SequentialThinkingForCHORUS, TEST, WHOOSH, CHORUS) - Verified all repositories now have complete 9-label set **Impact**: All CHORUS ecosystem repositories now have consistent labeling matching the CHORUS repository standard, enabling proper council formation triggers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -33,6 +33,7 @@ type Agent struct {
|
||||
TasksCompleted int `json:"tasks_completed"` // Performance metric for load balancing
|
||||
CurrentTeam string `json:"current_team,omitempty"` // Active team assignment (optional)
|
||||
P2PAddr string `json:"p2p_addr"` // Peer-to-peer communication address
|
||||
PeerID string `json:"peer_id"` // libp2p peer ID for bootstrap coordination
|
||||
ClusterID string `json:"cluster_id"` // Docker Swarm cluster identifier
|
||||
}
|
||||
|
||||
@@ -482,6 +483,7 @@ func (d *Discovery) processServiceResponse(endpoint string, resp *http.Response)
|
||||
Status string `json:"status"`
|
||||
Capabilities []string `json:"capabilities"`
|
||||
Model string `json:"model"`
|
||||
PeerID string `json:"peer_id"`
|
||||
Metadata map[string]interface{} `json:"metadata"`
|
||||
}
|
||||
|
||||
@@ -497,6 +499,11 @@ func (d *Discovery) processServiceResponse(endpoint string, resp *http.Response)
|
||||
p2pAddr = fmt.Sprintf("%s:%d", host, 9000)
|
||||
}
|
||||
|
||||
// Build multiaddr from peer_id if available
|
||||
if agentInfo.PeerID != "" && host != "" {
|
||||
p2pAddr = fmt.Sprintf("/ip4/%s/tcp/9000/p2p/%s", host, agentInfo.PeerID)
|
||||
}
|
||||
|
||||
// Create detailed agent from parsed info
|
||||
agent := &Agent{
|
||||
ID: agentInfo.ID,
|
||||
@@ -504,6 +511,7 @@ func (d *Discovery) processServiceResponse(endpoint string, resp *http.Response)
|
||||
Status: agentInfo.Status,
|
||||
Capabilities: agentInfo.Capabilities,
|
||||
Model: agentInfo.Model,
|
||||
PeerID: agentInfo.PeerID,
|
||||
Endpoint: apiEndpoint,
|
||||
LastSeen: time.Now(),
|
||||
P2PAddr: p2pAddr,
|
||||
@@ -537,6 +545,7 @@ func (d *Discovery) processServiceResponse(endpoint string, resp *http.Response)
|
||||
|
||||
log.Info().
|
||||
Str("agent_id", agent.ID).
|
||||
Str("peer_id", agent.PeerID).
|
||||
Str("endpoint", endpoint).
|
||||
Msg("🤖 Discovered CHORUS agent with metadata")
|
||||
}
|
||||
@@ -583,6 +592,7 @@ type AgentHealthResponse struct {
|
||||
Status string `json:"status"`
|
||||
Capabilities []string `json:"capabilities"`
|
||||
Model string `json:"model"`
|
||||
PeerID string `json:"peer_id"`
|
||||
LastSeen time.Time `json:"last_seen"`
|
||||
TasksCompleted int `json:"tasks_completed"`
|
||||
Metadata map[string]interface{} `json:"metadata"`
|
||||
|
||||
Reference in New Issue
Block a user