From 98a9f645c407a55ae1059cb07107cecbe4ecc0cf Mon Sep 17 00:00:00 2001 From: jedarden Date: Wed, 22 Apr 2026 18:23:03 -0400 Subject: [PATCH] =?UTF-8?q?feat(evolver):=20update=20retirement=20ticker?= =?UTF-8?q?=20interval=20to=20daily=20(=C2=A710.8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- cmd/acb-evolver/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/acb-evolver/run.go b/cmd/acb-evolver/run.go index 59bdb7d..99162de 100644 --- a/cmd/acb-evolver/run.go +++ b/cmd/acb-evolver/run.go @@ -96,7 +96,7 @@ func DefaultRunConfig() RunConfig { RatingThreshold: 800.0, PopCap: 50, CycleInterval: 5 * time.Minute, - RetirementCheckInterval: 1 * time.Hour, + RetirementCheckInterval: 24 * time.Hour, IslandCooldown: 2 * time.Minute, LLMURL: envOrDefault("ACB_LLM_URL", "http://zai-proxy-apexalgo.tail1b1987.ts.net:8080"), RepoDir: envOrDefault("ACB_REPO_DIR", "."),