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

+2
View File
@@ -18,6 +18,7 @@ type Guardrails struct {
MaxRequestsPerMin int // requester rate cap
BaseCooldown time.Duration // first offense cooldown; doubles per strike
MaxCooldown time.Duration
MaxSpunCrows int // crow registry cap: crows the Boss may spin up
}
func DefaultGuardrails() Guardrails {
@@ -34,5 +35,6 @@ func DefaultGuardrails() Guardrails {
MaxRequestsPerMin: 5,
BaseCooldown: 30 * time.Second,
MaxCooldown: time.Hour,
MaxSpunCrows: 8,
}
}