supervisor: stop sending inbox messages to bots
BeadReady events are already fired when a bead becomes ready; bots listen for those directly. Sending inbox messages was redundant and caused duplicate/unexpected prompts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0ced30825d
commit
b4e84f57ee
|
|
@ -108,13 +108,9 @@ func (s *Supervisor) assignWork() {
|
|||
}
|
||||
|
||||
beadID, _ := bead["id"].(string)
|
||||
mountName, _ := bead["mount"].(string)
|
||||
if beadID == "" {
|
||||
continue
|
||||
}
|
||||
|
||||
msg := mailbox.NewMessage("supervisor", botID, mailbox.MessageTypePromptRequest, "work", "Work on bead "+beadID+", mount="+mountName+".")
|
||||
s.mailbox.DeliverToInbox(botID, msg)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in New Issue