Changed RetirementCheckInterval from 1 hour to 24 hours to align with the 7-day low-rating rule specified in §10.8. The retirement automation is already fully implemented: - startRetirementTicker: runs periodic checks (now daily) - EnforcePolicy: retires bots below rating threshold (800) for 7 consecutive days, enforces 50-bot population cap - queryConsecutiveLowRating: uses rating_history table to track consecutive days below threshold - RetireBot: handles K8s manifest deletion via declarative-config - TestEnforcePolicy_CapEnforcement: integration test for cap enforcement Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| internal | ||
| Dockerfile | ||
| main.go | ||
| run.go | ||