feat(boss): Chief of Staff Boss + spun-crow registry with cap (#42)

This commit is contained in:
Smokey committed 2026-10-28 09:01:26 -06:00
1 parent ccb0e503c5
commit 663c8a19d8
10 files changed
+329 -20

No files matched your search

+3 -1
View File
@@ -39,7 +39,7 @@ Then, on the next line, your message text.`
// serviceRoles are addressable in a nest but never members: they only act when
// a crow's or the owner's message asks them to.
var serviceRoles = []string{"Elder", "Quill"}
var serviceRoles = []string{"Elder", "Quill", "Boss"}
// nestMembers lists who may be addressed in a nest: its crows, the owner, and
// the service roles.
@@ -270,6 +270,8 @@ func (s *Server) triggerResponse(nest Nest, record Message) {
go s.respondElder(nest, record)
case record.To == "Quill":
go s.respondQuill(nest, record)
case record.To == "Boss":
go s.respondBoss(nest, record)
case slices.Contains(nest.Crows, record.To):
go s.respondToRequest(nest, record)
default: